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

Final consistency distributed transaction processing method and equipment

A distributed transaction and processing method technology, applied in the field of eventual consistency distributed transaction processing methods and equipment, can solve the problems of long delay of maximum notification scheme and poor performance of strong consistency distributed transaction scheme.

Pending Publication Date: 2022-02-11
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the performance of the strongly consistent distributed transaction scheme is too poor, the maximum notification scheme is delayed for too long, and the distributed transaction schemes designed by major companies also have more or less performance shortcomings

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
  • Final consistency distributed transaction processing method and equipment
  • Final consistency distributed transaction processing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The application will be described in further detail below in conjunction with the accompanying drawings.

[0027] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0028] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0029] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 aims to provide a final consistency distributed transaction processing method and device. The method comprises steps that a delay task related to a current order is generated in response to the detection of order payment success; an order payment result about the current order from the user equipment and a payment service result about the current order from the third-party payment platform are obtained based on the delay task; if the order payment result is inconsistent with the payment service result, service logic corresponding to the current order in the user equipment is recalled and modified, and after the number of retry times reaches a preset number of retry times threshold value, if the number of retry times is still inconsistent, a third-party payment platform is called to modify payment operation corresponding to the current order till data between the user equipment and the third-party payment platform is consistent; a data consistency compensation mode of the third-party payment platform is realized, and final consistency and low delay of the data between the third-party payment platform and the user equipment are ensured.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to an eventual consistency distributed transaction processing method and device. Background technique [0002] In an intricate distributed system, distributed transactions have always been a headache. Local transactions cannot be used to control data consistency between multiple services. Currently, there are two-phase commits, three-phase commits, and local message tables on the market. Efforts to inform and the solutions designed by major companies to solve distributed transactions, etc. In the existing technology, the performance of the strongly consistent distributed transaction scheme is too poor, the maximum notification scheme is delayed for too long, and the distributed transaction schemes designed by major companies also have more or less performance shortcomings. Contents of the invention [0003] An object of the present application is to provide an eve...

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
IPC IPC(8): G06Q20/08G06F16/23G06F9/46
CPCG06Q20/0855G06F16/2365G06F9/466
Inventor 王赫彬王孟杰吴义良
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP 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