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

Fabric-based transaction concurrency control method and system

A control method and transaction technology, applied in payment systems, payment architectures, instruments, etc., can solve problems such as waste of system resources, users cannot correct transaction information errors in the first time, and affect the efficiency of transaction processing on the chain, so as to save the system. The effect of resources

Pending Publication Date: 2022-03-25
CHINA CITIC BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, because Fabric puts the conflict check completely in the verification step, the invalid transactions found in the simulation and sorting stages that cannot be packaged into the block can only be confirmed and fed back in the verification stage, which causes a lot of system resources to be wasted in invalid transactions. In terms of processing, it affects the efficiency of transaction on-chain processing, and cannot feedback invalid transactions to users in a timely manner, so that users cannot correct transaction information errors in the first place

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
  • Fabric-based transaction concurrency control method and system
  • Fabric-based transaction concurrency control method and system
  • Fabric-based transaction concurrency control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to understand the content of the present invention more clearly, it will be described in detail with reference to the drawings and embodiments.

[0052] Such as figure 1 Shown is a schematic flow chart of the transaction concurrency control method based on Fabric of the present invention, including:

[0053] S1. Establish a set of verification keys involved in the transaction process, the verification keys include key values ​​and version number information, and the version number information includes the current version number, the transaction ID performing the update, and the block ID storing the transaction;

[0054] S2. In the simulation phase, use the verification key to verify whether the currently simulated transaction is in conflict with any transaction that has entered the verification phase, and stop simulating the conflicting transaction;

[0055] S3. In the sorting phase, use the verification key to verify whether there are conflicts between multip...

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 relates to a Fabric-based transaction concurrency control method and system, and the method comprises the steps: determining whether a current transaction is an invalid transaction or not through checking a key value of a verification key and a block to which the verification key belongs in a simulation stage; and whether the current transaction is an invalid transaction is determined by additionally checking whether different transactions in the same block use verification keys of the same version in the sorting stage, so that the invalid transaction can be determined and fed back in the simulation and sorting stage before verification, and the invalid transaction is ended in advance; system resources are effectively saved, and real concurrent transaction control is realized in three stages of simulation, sorting and verification.

Description

technical field [0001] The present invention relates to the technical field of block chain data processing, in particular to a transaction concurrency control method and system based on Fabric. Background technique [0002] Hyperledger is an important architecture in the use of blockchain, in which Fabric uses a transaction processing model based on simulation-sort-verify-commit to complete the whole process of transactions from being initiated to being finally written into the ledger. Although based on Fabric, it can ensure the accurate execution of smart contracts and meet the requirements of deterministic results, and at the same time, it can make full use of the parallel computing capabilities of current high-performance processing chips through parallel processing. [0003] However, because Fabric puts the conflict check completely in the verification step, the invalid transactions found in the simulation and sorting stages that cannot be packaged into the block can onl...

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
IPC IPC(8): G06Q20/38G06Q20/40
CPCG06Q20/382G06Q20/407
Inventor 陈晨姜鹏陈志明
Owner CHINA CITIC BANK
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