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

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 avoiding use, ensuring consistency, and improving concurrency efficiency

Active Publication Date: 2018-08-24
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 2 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
  • Distributed transaction processing method and system
  • Distributed transaction processing method and system
  • 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 comprises the steps of starting an outermost layer transaction, and allocating a unique outermost layer transaction ID; calling an RPC interface of a multi-business configuration service to allocate resources for different services, and transmitting the outermost layer transaction ID to the multi-business configuration service; nesting multiple layers of new transaction IDs in sequence by taking the outermost layer transaction ID as a main transaction, wherein each layer of the new transaction ID is a sub-transaction of a previous layer; in a direction from the main transaction to the sub-transactions, performing resource allocation for the multi-business configuration service, a network element service and a basic service at the layers of the new transaction IDs in sequence, and uploading corresponding service names and a main transaction ID; and when resource allocation operations in all the transactions are all successful, clicking configuration submitting on a GUI by a user, and calling Commit of a transaction manager to store the whole transaction. The final consistency of data is ensured; the use of a global lock is avoided; and the concurrent efficiency of user operation is greatly improved.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products