A distributed transaction processing method and system

A technology of distributed transactions and processing methods, applied in the field of distributed transaction processing methods and systems, to achieve the effects of ensuring consistency, improving concurrency efficiency, and avoiding the use of

Active Publication Date: 2020-11-06
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is how to ensure the data consistency of each subsystem and improve the concurrency efficiency of multi-user configuration services in the distributed architecture telecom transmission network management system

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
  • A distributed transaction processing method and system
  • A distributed transaction processing method and system
  • A distributed transaction processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0059] Such as figure 1 , figure 2 and image 3 As shown, a distributed transaction processing method provided by the present invention includes the following steps:

[0060] Step S1, the user starts the business creation process through the GUI (graphical user interface), the GUI starts the outermost transaction, and calls the transaction manager to assign a unique outermost transaction ID. The purpose of this step is to start an outermost transaction. All subsequent subtransactions are nested in this outermost transaction.

[0061] Step S2, during the creation process of the user, the GUI calls the RPC (Remote Procedure Call Protocol) interface of the multi-service configuration service multiple times to allocate resources for different resource services, and when calling the RPC interface of the multi-service configuration service reso...

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 distributed transaction processing method and system. The method includes: starting the outermost transaction, and assigning a unique outermost transaction ID; calling the RPC interface of the multi-service configuration service to allocate resources for different services, and The outer transaction ID is passed to the multi-service configuration service; the outer transaction ID is used as the parent transaction to nest multiple layers of new transaction IDs in turn, and the new transaction ID of each layer is the child transaction of the previous layer; from the parent transaction to the child transaction direction, in turn Perform resource allocation for multi-service configuration services, network element services, and basic services on each new transaction ID, and upload the corresponding service name and parent transaction ID; when all resource allocation operations in all transactions are successful, the user clicks on the GUI to submit the configuration , call Commit of the transaction manager to save the entire transaction. The invention ensures the final consistency of data, avoids the use of global locks, and greatly improves the concurrency efficiency of user operations.

Description

technical field [0001] The invention relates to a service configuration data technology in a telecommunication transmission network management, in particular to a distributed transaction processing method and system. Background technique [0002] In the telecom transmission network management, the locking, occupation, release and unlocking of various resources will be involved when configuring services. For example, when creating the TMP layer (Tunnel layer) channel of PTN (Packet Transport Network, packet transport network), it will involve Assignment to labels; when creating E-Line and E-Tree services, bandwidth allocation, etc. will be involved. During the creation process, the resource will be set to be locked first, and only when all steps are successful, the resource will be set to be occupied. If any step in the creation process fails, the locked resource needs to be set to be unlocked. Visible , the resource state control scheme is very complex, and it is particular...

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 Patents(China)
IPC IPC(8): G06F9/46G06F9/54
CPCG06F9/466G06F9/547
Inventor 吴平张勇
Owner FENGHUO COMM SCI & TECH 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