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

Distributed transaction processing method and device and electronic equipment

A distributed transaction and processing method technology, applied in the field of distributed transaction processing methods, devices and electronic equipment, can solve problems such as inability to automatically recover data, data inconsistency, etc., and achieve the effect of avoiding a large number of manual data recovery and saving labor costs

Pending Publication Date: 2021-12-31
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a distributed transaction processing method, device, and electronic equipment to at least solve the problem of data inconsistency caused by the inability to automatically restore data after the code is migrated from the host to the distributed platform in the prior art

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 electronic equipment
  • Distributed transaction processing method and device and electronic equipment
  • Distributed transaction processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] According to an embodiment of the present invention, an embodiment of a distributed transaction processing method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0029] It should be noted that, in this embodiment, the processor in the computer device may serve as the execution subject of the distributed transaction processing method in this embodiment. Among them, computer equipment includes but is not limited to: notebook computers, desktop computers, smart tablet computers, smart phones and other equipment.

[0030] figure 2 is a flow chart of an optional distributed transaction processing method according to an embodiment of the present invention, suc...

Embodiment 2

[0076] According to an embodiment of the present invention, an embodiment of a distributed transaction processing device is also provided, wherein, Figure 5 is a schematic diagram of an optional distributed transaction processing device according to an embodiment of the present invention, such as Figure 5 As shown, the processing device includes: a generation module 501 , a determination module 503 , an acquisition module 505 and a restoration module 507 .

[0077] Among them, the generation module 501 is used to generate a rollback instruction when an exception is detected in the main transaction; the determination module 503 is used to determine at least one proxy sub-transaction corresponding to the main transaction according to the rollback instruction, wherein at least one proxy sub-transaction The transaction corresponds to the transaction branch corresponding to the main transaction; the obtaining module 505 is configured to obtain at least one piece of log data corre...

Embodiment 3

[0087] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, which is characterized in that a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute the above-mentioned distributed The transaction processing method.

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 discloses a distributed transaction processing method and device and electronic equipment, and relates to the field of financial science and technology. The method comprises the steps: when it is detected that a main transaction is abnormal, generating a rollback instruction, and determining at least one proxy sub-transaction corresponding to the main transaction according to the rollback instruction, wherein at least one proxy sub-transaction corresponds to a transaction branch corresponding to the main transaction; acquiring at least one piece of log data corresponding to at least one proxy sub-transaction, wherein at least one piece of log data stores database operation information for operating the data in the database, so the recovery operation is performed on the data in the database corresponding to the main transaction according to the at least one piece of log data. According to the method and the device, the technical problem of data inconsistency caused by the fact that data cannot be automatically recovered after codes are migrated from a host to a distributed platform in the prior art is at least solved.

Description

technical field [0001] The present invention relates to the field of financial science and technology, in particular, to a distributed transaction processing method, device and electronic equipment. Background technique [0002] With the development of big data technology, data storage and processing have become more and more important. Compared with other industries, the financial industry generates more data every day. Therefore, the financial industry generally uses distributed platforms to store data, and uses distributed transaction transaction processing modes to process transactions. [0003] Among them, the transaction processing mode of the distributed transaction requires that when the main transaction is abnormal, the corresponding data recovery operation can be performed to ensure the data consistency in the database. However, in the financial industry, there are many scenarios where codes are written on the host, and after the writing is completed, the code on ...

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/27G06F16/21G06F16/23G06F11/14
CPCG06F16/27G06F16/21G06F16/2358G06F11/1448
Inventor 李英灯林德坤祁有盛
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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