Title:
TRANSACTION PROCESSING METHOD AND APPARATUS
Document Type and Number:
WIPO Patent Application WO/2017/128028
Kind Code:
A1
Abstract:
A transaction processing method and apparatus, which are used for improving the concurrency performance of a transaction. The transaction processing method comprises: allocating a first version number to a first transaction (101); when it is determined that a second transaction has a conflict with the first transaction, determining whether the second transaction has been submitted (102); if the second transaction has not been submitted, determining that a priority level of the first transaction is higher than a priority level of the second transaction according to the sizes of the first version number and a second version number, and executing the first transaction, wherein the second version number is a version number allocated to the second transaction (103); if the second transaction has been submitted, determining whether the first version number is less than the second version number (104); if less, executing a transaction failure processing flow on the first transaction (105); and if greater, executing the first transaction (106).
Inventors:
LIANG XIAOHAO (CN)
ZHANG JUN (CN)
LIU ZHE (CN)
ZHANG JUN (CN)
LIU ZHE (CN)
Application Number:
PCT/CN2016/072091
Publication Date:
August 03, 2017
Filing Date:
January 26, 2016
Export Citation:
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F9/46
Foreign References:
CN102272744A | 2011-12-07 | |||
CN101216783A | 2008-07-09 | |||
CN105045563A | 2015-11-11 | |||
CN104714836A | 2015-06-17 | |||
US20150212851A1 | 2015-07-30 |
Attorney, Agent or Firm:
SHENPAT INTELLECTUAL PROPERTY AGENCY (CN)
Download PDF:
Previous Patent: DYEING MACHINE ENTANGLEMENT ELIMINATING DEVICE
Next Patent: ROBOT CONTROL METHOD, CONTROL DEVICE AND SYSTEM
Next Patent: ROBOT CONTROL METHOD, CONTROL DEVICE AND SYSTEM