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

Distributed transaction processing method and device and computer readable storage medium

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

Active Publication Date: 2020-02-07
JINGDONG TECH HLDG CO LTD
View PDF7 Cites 4 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 and computer readable storage medium
  • Distributed transaction processing method and device and computer readable storage medium
  • Distributed transaction processing method and device and computer readable 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 invention relates to a distributed transaction processing method and device and a computer readable storage medium. The distributed transaction processing method comprises the following steps: receiving a service request initiated by a user, wherein the service request comprises a plurality of write operation requests; creating a global transaction according to the service request, and allocating a first identifier to the global transaction; packaging each write operation request into a branch transaction, and allocating a second identifier to each branch transaction; for each branch transaction, querying original data before each branch transaction is executed from a database corresponding to each branch transaction, and generating first snapshot data corresponding to the original data in a memory; for each branch transaction, executing each branch transaction on the first snapshot data in a memory to generate second snapshot data; and writing the second snapshot data of each branch transaction into a database corresponding to each branch transaction in response to a request initiated by the user for submitting the global 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 Applications(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