Unlock instant, AI-driven research and patent intelligence for your innovation.

Distributed Transaction Processing Method and Distributed System

A distributed transaction and distributed system technology, applied in the field of distributed transaction processing methods and distributed systems, can solve problems such as failure to achieve the final effect of the plan, failure to confirm, and inability to cope with the impact of forced shutdown of the system.

Active Publication Date: 2022-03-22
万惠投资管理有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The "commit / rollback" phase is executed at the end of the entire transaction. Its disadvantage is that if the system is forced to shut down due to downtime or restarting at this stage, the final effect of the scheme cannot be achieved, and it is not executed. In the "commit / rollback" phase, the modified data is not confirmed and may be used by other business operations. If the data is wrong but not "rolled back", it will cause system errors
The reason for the above problem is that the "commit / rollback" phase is active
This proactive approach cannot deal with the impact of forced shutdown of the system due to downtime or restart

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 Distributed System
  • Distributed Transaction Processing Method and Distributed System
  • Distributed Transaction Processing Method and Distributed System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0027] It should be noted that like numerals and let...

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

Embodiments of the present invention provide a distributed transaction processing method and a distributed system. The distributed transaction processing method includes: the coordination subsystem sends a transaction identification application to the management subsystem to obtain the transaction identification, and sends an execution request with the target transaction identification to the execution subsystem; the execution subsystem receives After the execution request, modify the data corresponding to the execution request, and cache the modified data to obtain cached data; the execution subsystem returns the execution result to the coordination subsystem; the coordination subsystem According to the execution result of each execution subsystem, a request for changing the transaction state corresponding to the target transaction identifier is sent to the management subsystem, so as to change the transaction state to a result state; The system acquires the transaction state, and performs a commit or rollback operation on the cached data corresponding to the transaction identifier according to the transaction state.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a distributed transaction processing method and a distributed system. Background technique [0002] In order to alleviate the performance pressure of the stand-alone system and reduce the system size, an effective way is to split the system into multiple subsystems. The large system composed of these subsystems is a form of distributed system. The purpose of distributed transactions is that the execution results of multiple subsystems can succeed or fail in a business operation of a large system. The most basic solution to distributed transactions is the "two-phase commit protocol". The "two-phase commit protocol" has two phases: the "prepare" phase and the "commit / rollback" phase. The "commit / rollback" phase is executed at the end of the entire transaction. Its disadvantage is that if the system is forced to shut down due to downtime or restarting at this stage, the ...

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): G06F9/46
CPCG06F9/466
Inventor 纪少聪
Owner 万惠投资管理有限公司