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

Method and device for processing distributed transactions

A distributed transaction, the only technology, applied in the computer field, can solve the problems that system managers cannot view and monitor the distributed transaction process, cannot accurately locate the abnormal position, cannot accurately locate the system scene, etc., to facilitate daily monitoring and maintenance , reduce operation and maintenance costs and labor costs, and standardize the processing process

Pending Publication Date: 2021-03-05
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The existing distributed transaction processing system develops corresponding methods according to the needs of business scenarios. The transaction processing logic of different interfaces is implemented separately, which is not conducive to the reconstruction of later codes and cannot accurately locate the system scenarios;
[0008] 2. Once an execution exception occurs in the existing distributed transaction processing method, the location of the exception cannot be accurately located, which is not conducive to troubleshooting;
[0009] 3. With the existing distributed transaction processing method, system managers cannot view and monitor the distributed transaction processing process;
[0010] 4. In the existing distributed transaction processing method, once an exception occurs in the execution process, the data rollback operation will be performed, which greatly wastes system resources

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 processing distributed transactions
  • Method and device for processing distributed transactions
  • Method and device for processing distributed transactions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0036] In the existing distributed transaction processing method, the transaction processing logic and the business verification logic code are written together. Although the development is relatively simple, it is not conducive to the later maintenance. The main manifestations are as follows:

[0037] 1. The existing distributed transaction processing system develops cor...

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 and device for processing distributed transactions, and relates to the technical field of computers. One specific embodiment of the method comprises the steps of developing a service logic interface according to a preset interface specification, enabling the service logic interface to achieve a logic verification function, a synchronous execution function and an asynchronous compensation function, wherein the interface specification comprises an input parameter specification; when the service logic interface is called, verifying an input parameter of the service logic interface by using a logic verification function according to the input parameter specification; when the verification is passed, processing the distributed transaction by using a synchronousexecution function; and processing the distributed transaction by using an asynchronous compensation function after the synchronous execution function is executed abnormally and a specified number oftimes of retry is carried out. According to the implementation mode, the distributed transaction processing process can be more standardized, later code reconstruction is facilitated, the abnormal position can be conveniently and accurately positioned, the problem troubleshooting efficiency is improved, the operation and maintenance cost and the labor cost are reduced, and meanwhile system resources can be saved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for processing distributed transactions. Background technique [0002] Now, an era of large-scale production, application and sharing of data has begun. The traditional architecture of deploying all business system modules to one or more servers obviously cannot meet the requirements. This requires us to separate the business system modules, and deploy these systems separately on multiple servers by category. They communicate with each other through agreed protocols, and distributed systems emerge as the times require. [0003] Distributed systems can improve response speed and processing efficiency, but at the same time, a series of distributed problems also arise. The most typical problem is the distributed transaction problem, because multiple systems are stateless and independent of each other. This increases the difficulty of daily system monitoring ...

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): G06F16/27G06F11/14
CPCG06F16/273G06F11/1464
Inventor 郝飞虎
Owner BEIJING JINGDONG ZHENSHI INFORMATION TECH 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