A block chain transaction out-block method based on user level

A user-level, blockchain technology, applied in the Internet field, can solve problems such as slow processing, chaotic transactions, and no prioritization, and achieve the effect of writing blocks first

CN109544332AActive Publication Date: 2019-03-29贵阳信息技术研究院 +1
3 Cites 17 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2019-03-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a block chain transaction out-block method based on a user level, and belongs to the field of Internet. The method comprises the following steps: S1, creating grade informationof user transaction; S2: constructing and submitting the transaction; S3: putting the transaction submitted in a period of time into the transaction pool and waiting for triggering the out-of-block condition; S4: After the block-out condition is triggered, the transaction grade is dynamically adjusted and sorted; S5: acquiring a high-level transaction encapsulation block in the transaction pool;S6: Transaction consensus is uplinked. The invention utilizes the transaction pool in each node of the block chain network and the transaction level submitted by the user to ensure the priority levelof the transaction of the user, and has the characteristic of writing the block first.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a method for producing block chain transactions based on user levels, which belongs to the field of the Internet. Background technique

[0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The so-called consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system.

[0003] Blockchain (Block chain) is an important concept of Bitcoin. It is essentially a disintermediated database and serves as the underlying technology of Bitcoin. Blockchain is a series of data blocks associated with each other using cryptographic methods. Each data block contains the information of a Bitcoin network transaction, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. However, the cu...

Examples

Embodiment Construction

[0036] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be understood that the preferred embodiments are only for illustrating the present invention, but not for limiting the protection scope of the present invention.

[0037] The blockchain transaction process is as follows:

[0038] 1) The App / CLI end sends an Instantiate / invoke request to the specified endorser node;

[0039] 2) After the endorser receives the request, if the relevant chaincode exists, it will send the request to the chaincode side and execute the relevant function (due to the execution process, it may involve multiple state reads and writes, and each read and write will involve The operation of the underlying DB, so this process will involve multiple communications with the endorser node);

[0040] 3) After the chaincode is executed, a message will be sent to the endorser node. If the execution is successful, th...