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

Network transaction method and device

A network transaction and transaction technology, applied in the Internet field, can solve problems such as prolonging transaction processing time, achieve the effects of shortening transaction processing time, ensuring the consistency of transaction status, and improving accuracy

Active Publication Date: 2019-10-01
联动优势电子商务有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of a node system in the cluster where the transaction request message is lost, the final status must be determined after the reconciliation is completed, which greatly prolongs the transaction processing time

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
  • Network transaction method and device
  • Network transaction method and device
  • Network transaction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0037] Such as Figure 5 As shown, according to an embodiment of the present invention, a network transaction method is provided, and the network transaction method includes the following steps:

[0038] S52. The first application sequentially sends a transaction request message and a query request message to the second application.

[0039] S54. When the transaction request message and the query request message arrive at the second application, respectively perform lock grabbing operations, w...

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 network transaction method and device. The network transaction method comprises: a first application sending a transaction request message and a query request message to a second application in sequence; when the transaction request message and the query request message arrive at a second application, performing lock grabbing operation respectively, and one of the transaction request message and the query request message arriving at the second application failing in lock grabbing; wherein under the condition that the transaction request message is successfully locked,the second application accepts a transaction request of the first application; and under the condition that the lock grabbing of the transaction request message fails, the second application returning a transaction failure to the first application. Through the technical scheme of the invention, the transaction state consistency of the same transaction flow in a network delay or system applicationfault scene can be ensured.

Description

technical field [0001] The present invention relates to the technical field of the Internet, specifically, to a network transaction method and device, and more specifically, to a method for ensuring consistency of transaction status in the same transaction flow under network delay or system application failure scenarios. Background technique [0002] Usually, in a transaction system, the transaction initiator initiates a transaction, and if the transaction is returned as being accepted, unknown or timed out, the transaction initiator will initiate a query operation on the transaction. And each transaction will go through multiple applications, here, application A and application B are used instead of applications; the order of each transaction request message is from application A to application B. In a distributed cluster environment, due to network delay or a certain application failure scenario, the query request message may arrive at the B application before the transact...

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/52G06Q40/04
CPCG06F9/524G06Q40/04
Inventor 欧阳平周咏来吴丽
Owner 联动优势电子商务有限公司
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