Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DATA PROCESSING METHOD, APPARATUS, DEVICE, AND MEDIUM
Document Type and Number:
WIPO Patent Application WO/2021/082665
Kind Code:
A1
Abstract:
Disclosed by the embodiments of the present description are a data processing method, apparatus, device, and medium, the data processing methods comprising: upon receiving a lock request of a thread to be locked, performing interaction between lock data and the thread data of the thread to be locked by means of a shared cache of a processor, and determining according to the lock data whether the lock is occupied; if not, then causing the thread to be locked to be locked; if so, then if the target thread data of the lock thread satisfies a preset condition, enabling the thread to be locked to be locked; and/or, upon receiving an unlock request from the thread occupying the lock, determining, when the thread occupying the lock performs data interaction with the lock by means of the shared cache of the processor before occupying the lock, whether the thread data written in said shared cache has changed; if it has changed, then changing the thread data of the thread that occupies the lock, causing the lock occupying the thread to be unlocked.

Inventors:
MA LING (CN)
HE CHANGHUA (CN)
Application Number:
PCT/CN2020/110753
Publication Date:
May 06, 2021
Filing Date:
August 24, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ALIPAY HANGZHOU INF TECH CO LTD (CN)
International Classes:
G06F9/54
Foreign References:
CN110781016A2020-02-11
CN110096475A2019-08-06
CN104267929A2015-01-07
US20180246773A12018-08-30
Other References:
FU ZHIJIE , ZHOU QUNBIAO: "Realization of the MCS Spinlock As the Linux Kernel Module", MICROCOMPUTER APPLICATIONS, vol. 30, no. 7, 15 July 2009 (2009-07-15), pages 55 - 59, XP055808576, ISSN: 2095-347X
Attorney, Agent or Firm:
BEIJING BESTIPR INTELLECTUAL PROPERTY LAW CORPORATION (CN)
Download PDF: