Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed transaction processing method and device, computer storage medium

A distributed transaction and processing method technology, applied to the distributed transaction processing method and device, and the field of computer storage media, can solve problems such as system performance shackles

Active Publication Date: 2021-03-05
JINGDONG TECH HLDG CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in a distributed scenario, this native support has become a shackle of system performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed transaction processing method and device, computer storage medium
  • Distributed transaction processing method and device, computer storage medium
  • Distributed transaction processing method and device, computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0030] At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0031] The following description of at least one exemplary embodiment is merely illustrative in nature and in no way intended as any limitation of the disclosure, its application or uses.

[0032] Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present disclosure relates to a distributed transaction processing method and device, and a computer storage medium. The processing method of the distributed transaction includes: receiving a business request initiated by a user, and the business request includes multiple write operation requests; creating a global transaction according to the business request, and assigning a first identifier to the global transaction; encapsulating each write operation request into a branch transaction, and assign a second identifier to each branch transaction; for each branch transaction, from the database corresponding to each branch transaction, query the original data before executing each branch transaction, and generate the corresponding original data in memory of the first snapshot data; for each branch transaction, in memory, execute each branch transaction on the first snapshot data to generate the second snapshot data; in response to the request initiated by the user to submit the global transaction, the The second snapshot data is written into a database corresponding to each branch transaction.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a distributed transaction processing method and device, and a computer storage medium. Background technique [0002] Database transactions need to meet the ACID properties. A characteristic is atomicity (Atomicity). Atomicity means that the transaction is executed as a whole, either all or none. The C feature is Consistency. Consistency means that transactions should ensure that data transitions from one consistent state to another. The I characteristic is isolation (Isolation). Isolation means that when multiple transactions are executed concurrently, the execution of one transaction should not affect the execution of other transactions. The D feature is Durability. Persistence means that the submitted transaction modification data will be persisted. [0003] In a single data node, a transaction is limited to access control of a single database resource, wh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/2458
CPCG06F16/2471
Inventor 赵俊张亮
Owner JINGDONG TECH HLDG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products