Parallel processing transaction asynchronous method

A parallel processing and transaction technology, applied in the field of data communication, can solve problems such as mutual interference, and achieve the effect of improving efficiency and simplifying development

Inactive Publication Date: 2008-06-04
ZTE CORP
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The above methods have great defects. In practical applications, a method that can solve the problem of mutual interference when multiple transactions are executed in parallel and make design and development easier

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
  • Parallel processing transaction asynchronous method
  • Parallel processing transaction asynchronous method
  • Parallel processing transaction asynchronous method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Hereinafter, the present invention will be explained in detail with reference to the drawings.

[0031] Refer to figure 1 , The asynchronous method for processing transactions in parallel according to the present invention includes the following steps:

[0032] Step S102, receiving a transaction request message from the application layer, creating a transaction object, and the transaction object is uniquely identified by the transaction object identifier.

[0033] Step S104, the transaction object enters the start state, and based on the transaction object identifier, transaction processing is performed between the application layer and the asynchronous mechanism layer.

[0034] Further, the asynchronous message from the asynchronous mechanism layer is converted into the event of the transaction object, and the event of the transaction object is converted into the asynchronous message required by the asynchronous mechanism layer.

[0035] Step S106: After the transaction p...

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 an asynchronous method for parallel processing of transaction, wherein, the method includes step S102: a transaction request message from an application layer is received and a transaction object which is marked by transaction object identification is created; step S104: the transaction object enters into an initial state and base on the transaction object identification, transaction processing is executed between the application layer and an asynchronous mechanism layer; step S106: after transaction processing is finished, the transaction object is released and the transaction object identification is recycled. The invention not only can solve the problem of mutual interference inside an asynchronous system during parallel execution of a plurality of transactions to increase system efficiency, but also can simplify the development of the asynchronous system.

Description

Technical field [0001] The present invention relates to the field of data communication, in particular to an asynchronous method for parallel processing of transactions. Background technique [0002] At present, in software systems involving socket (socket) communication and database access, in order to improve efficiency and response speed, asynchronous methods are generally adopted. such as: [0003] 1) A group of threads is dedicated to socket communication. When a message arrives, the application thread is notified by the message, and the application thread performs subsequent processing. [0004] 2) A group of threads is dedicated to accessing the database. When the database operation (query, modification, etc.) is completed, the operation results are sent to the application threads in batches with messages. [0005] In many cases, a complete function requires multiple message operations. For example, in data synchronization applications (see image 3 ), a complete data sync...

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/46
Inventor 付强
Owner ZTE CORP
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