Transaction reversal method and device, service system, equipment and storage medium

A technology of flushing and transaction flow, applied in the field of data processing, can solve the problems of poor real-time performance, excessive consumption of system resources, and low success rate of asynchronous flushing, so as to reduce resource consumption and performance consumption, improve the success rate, and ensure the final The effect of consistency

Pending Publication Date: 2022-01-21
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Among them, the post-processing is to send the abnormal transaction to the record table of the failed transaction through the message queue, and roll back the transaction through manual processing after the event. This method usually takes several hours or the next day to complete, and the real-time performance is poor.
Asynchronous flushing failures are sometimes caused by special reasons within a certain period of time. In this way, even if retries are repeated many times, it will fail. As the number of flushing failures increases, polling and judgment will consume too much system resources. Therefore, in order To ensure the normal operation of the system, usually no more retries will be made after asynchronous flushing reaches a certain number of times, so that the success rate of asynchronous flushing is not high, and it is difficult to meet the needs of financial distributed service systems

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
  • Transaction reversal method and device, service system, equipment and storage medium
  • Transaction reversal method and device, service system, equipment and storage medium
  • Transaction reversal method and device, service system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Reference manual attached figure 2 , which shows the flow of a transaction reversal method provided by an embodiment of the present invention, which can be applied to figure 1 In the transaction management platform in , the transaction management platform is communicatively connected to at least one service node cluster. Specifically as figure 2 As shown, the method may include the following steps:

[0073] S210: Determine the first transaction logbook to be processed.

[0074] In finance and other fields, transactions can be divided into forward transactions and reverse transactions. Forward transactions can be carried out according to the normal process. The transaction is restored to the state before the forward transaction operation.

[0075] In the embodiment of the present invention, the first reversed transaction flow may be the reversed transaction flow of a combined transaction, and for a combined transaction including multiple transactions, it may be in ...

Embodiment 2

[0114] Reference manual attached Figure 5 , which shows the flow of a transaction reversal method provided by an embodiment of the present invention, which can be applied to figure 1 In the service system in , the service system includes a transaction management platform and at least one service node cluster communicatively connected thereto. Specifically as Figure 5 As shown, the method may include the following steps:

[0115] S510: The transaction management platform determines the first offset transaction flow to be processed;

[0116] S520: The transaction management platform acquires the service identifier and the transaction identifier corresponding to the first reversal transaction flow, the service identifier is used to identify the service node cluster that generated the first reversal transaction flow, the flow The identification is used to identify the first offset transaction flow;

[0117] S530: The transaction management platform sends a reversal request to ...

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 the technical field of data processing, in particular to a transaction reversal method and device, a service system, equipment and a storage medium, the method is applied to a transaction management platform, the transaction management platform is in communication connection with at least one service node cluster, and the method comprises the following steps: determining a to-be-processed first reversal transaction flow; obtaining a service identifier and a flow identifier corresponding to the first reversal transaction flow, the service identifier being used for identifying a service node cluster generating the first reversal transaction flow, and the flow identifier being used for identifying the first reversal transaction flow; and sending a reversal request to a service node cluster corresponding to the service identifier, wherein the reversal request comprises the flow identifier, and the reversal request is used for indicating the service node cluster to carry out reversal processing on the first reversal transaction flow. According to the transaction reversal method provided by the embodiment of the invention, the success rate of transaction reversal is improved, and the timeliness of transaction reversal is also considered.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a transaction redaction method, device, service system, equipment and storage medium. Background technique [0002] In the face of the new development trend of Internet finance, the traditional single IT architecture is increasingly exposed to the shortcomings of inefficiency, which has given birth to the development of distributed technology. By transforming the single application service into a distributed service model, the pressure on the service system due to rapid business growth can be reduced. [0003] According to the CAP theory, distributed systems have three characteristics, namely Consistency (C for short), Availability (A for short) and Partition Tolerance (P for short). Any distributed system can only Satisfy two of the three characteristics of data consistency, availability, and partition tolerance. Usually, in the process of designing a distribut...

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): G06Q40/04G06F11/30
CPCG06Q40/04G06F11/302
Inventor 丁陈飞唐成山
Owner CHINA CONSTRUCTION BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products