Distributed transaction processing method and device based on service-free architecture

A distributed transaction and processing method technology, applied in the field of distributed transaction processing methods and devices, can solve the problems that distributed transaction processing methods cannot meet transaction management requirements, and achieve the effect of solving data consistency problems and low implementation costs

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

AI Technical Summary

Problems solved by technology

[0004] Therefore, based on the characteristics of the above-mentioned serverless architecture, the types of data sources used by different functions between transactions under the serverless architecture may be completely different. The traditional distributed transaction processing method can no longer meet the transaction management requirements under this architecture. Transaction management requires a new method to solve the consistency problem of step-by-step transaction data

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 based on service-free architecture
  • Distributed transaction processing method and device based on service-free architecture
  • Distributed transaction processing method and device based on service-free architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0091] 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. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0092] Terminology Explanation

[0093] ACID transaction: atomicity (Atomicity), atomicity means that a transaction is an indivisible unit of work, and the operations in the transaction either happen or not happen; Consistency (Consistency), the integrity of the data before and after the transaction must be consistent ;Isolation, transaction isolation means that when multiple users access the database concurrently, the transaction opened by the database for ...

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 provides a distributed transaction processing method and device based on a service-free architecture. The method comprises the following steps: receiving an event processing request sent by a platform end, wherein the event processing request is generated by the platform end based on a trigger event request sent by a user end; responding to the event processing request, and sending a query state request to a platform end to query a main transaction execution state; receiving first feedback information sent by the platform end according to the query state request, wherein the first feedback information comprises main transaction identification information and a main transaction execution state; and when the execution state of the main transaction in the first feedback information is a successful state, executing the sub-transaction, wherein the sub-transaction is subordinate to the main transaction. According to the method disclosed by the embodiment of the invention, the subordinate differentiation is carried out on the transactions in the event according to the logic, and the orderly processing of the data in the event is ensured through a sequential execution transmission method, so that the method is low in implementation cost, and the problem of data consistency can be effectively solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a distributed transaction processing method and device based on a serverless architecture. Background technique [0002] With the update and iteration of IT technology, cloud computing technology is also developing gradually and rapidly. In the field of cloud computing, the concept of serverless has emerged. The serverless architecture provides a more "code fragmentation" software architecture specification, that is, FaaS (Function as a Services), which provides smaller program units than microservices, and advocates a method that allows users to only pay attention to The business and the required resources do not need to pay attention to the CPU, memory, and network conditions required for business operation. [0003] The characteristics of transaction management under the serverless architecture: 1. Data access cannot be performed between nodes under the serverless ...

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): G06F9/46G06F16/23
CPCG06F9/466G06F16/2365
Inventor 谢俊滕达张丹枫程冲
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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