Method and device for ensuring final data consistency of distributed transaction and medium

A distributed transaction and final data technology, applied in distributed object-oriented systems, transaction processing, database updates, etc., can solve problems such as inability to provide low time lag, and achieve the effect of increasing viscosity, reducing time, and reducing time lag

Pending Publication Date: 2020-01-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the technical problem that the prior art cannot provide a solution with low time lag and high success rate to ensure the final data consistency of distributed transactions, the embodiment of the present invention provides a method, device and method for ensuring the final data consistency of distributed transactions. medium

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
  • Method and device for ensuring final data consistency of distributed transaction and medium
  • Method and device for ensuring final data consistency of distributed transaction and medium
  • Method and device for ensuring final data consistency of distributed transaction and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] 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.

[0034] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrate...

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 method, a device and a medium for ensuring final data consistency of distributed transactions, the method comprises the following steps: acquiring a business request, acquiring a service set formed by each service associated with the business request, wherein the server set at least comprises two services; obtaining a parameter of each service related to the business request to obtain a parameter subset corresponding to the service, and obtaining a parameter set corresponding to the service set based on the parameter subset corresponding to each service in the serviceset; generating an idempotent task according to the parameter set, wherein the idempotent task is used for performing idempotent operation on each parameter in the parameter set; and executing the idempotent task, and returning an execution result of the idempotent task. According to the method, the time required for achieving the final data consistency state is remarkably shortened, and the timedelay is reduced while it is ensured that the distributed transaction is executed at a high success rate.

Description

technical field [0001] The invention relates to the field of distributed transactions, in particular to a method, device and medium for ensuring final data consistency of distributed transactions. Background technique [0002] With the increase of business complexity, more and more businesses need to rely on the interactive realization of different nodes in the distributed system, and different nodes can provide different services. In a distributed system, each node is physically independent from each other and communicates and coordinates through the network. However, independent nodes cannot accurately know the transaction execution status of other nodes, so it is difficult to guarantee the final data consistency between each node. The final data consistency means that with the migration of time, the The corresponding data is always changing in the direction of convergence, so as to reach the final consistent state. In the prior art, the schemes to ensure the final data ...

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/465G06F9/466G06F16/2365
Inventor 卓达城
Owner TENCENT TECH (SHENZHEN) CO LTD
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