Unlock instant, AI-driven research and patent intelligence for your innovation.

Transaction request processing method, device, equipment and storage medium

A processing method and transaction technology, applied in secure communication devices, digital transmission systems, user identity/authority verification, etc., can solve problems such as poor versatility, inconvenient permission configuration and upgrade, poor universality of permission control, etc., to achieve enhanced systemicity Effect

Active Publication Date: 2021-11-30
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the permission management schemes in the above-mentioned different blockchain systems have poor versatility. In the blockchain system characterized by decentralization, the configuration and upgrade of permissions are inconvenient.
As a result, the permission control in the process of transaction request processing is poor in versatility

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
  • Transaction request processing method, device, equipment and storage medium
  • Transaction request processing method, device, equipment and storage medium
  • Transaction request processing method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 2 It is a flowchart of a transaction request processing method in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the case where a block chain node processes a transaction request. The method is executed by a transaction request processing device, which is implemented by software and / or hardware, and is specifically configured on an electronic device carrying a block chain node. in the device.

[0041] like figure 2 A transaction request processing method shown is applied to blockchain nodes, including:

[0042] S110. Obtain a transaction request initiated based on the application smart contract, and a pre-execution result of the transaction request.

[0043] Among them, the application smart contract includes at least one subroutine, which is used to implement corresponding application functions by calling the subroutine of the application smart contract, such as transfer transactions, data analysis and any ot...

Embodiment 2

[0065] image 3 It is a flow chart of a transaction request processing method in Embodiment 2 of the present invention. This embodiment of the present invention is optimized and improved on the basis of the technical solutions of the foregoing embodiments.

[0066] Further, the operation "verify the execution process of the transaction request at the system level according to the pre-execution result of the transaction request" is refined into "determine the system used to obtain the pre-execution result of the transaction request" interface; verify whether the application smart contract has permission to call the system interface according to the system interface calling authority table configured for the application smart contract, so as to verify the system-level processing authority, so as to improve the execution process of the transaction request An authentication mechanism for verifying system-level processing permissions.

[0067] like image 3 A processing method of...

Embodiment 3

[0083] Figure 4 It is a flow chart of a transaction request processing method in Embodiment 3 of the present invention, which is optimized and improved on the basis of the technical solutions of the foregoing embodiments.

[0084] Further, the operation "verify the execution process of the transaction request based on the pre-execution result of the transaction request and based on the authority control table of the application smart contract" is refined into "according to the The pre-execution result of the transaction request determines the subroutine of the application smart contract called; according to the authority control table of the application smart contract, it is determined whether the user who initiated the transaction request has permission to call the subroutine to perform Verification of contract-level processing authority, wherein, the authority control table includes the subroutine call authority policy in the smart contract of the application, so as to impr...

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 embodiment of the invention discloses a transaction request processing method, device, equipment and storage medium. This method is applied to blockchain nodes, including: obtaining the transaction request initiated based on the application smart contract, and the pre-execution result of the transaction request; according to the pre-execution result and the permission control table of the application smart contract, respectively carry out the execution process of the transaction request System-level and contract-level verification of processing permissions; if the verification of each permission is passed, the application smart contract is invoked to execute the transaction request to obtain the verification execution result, and the matching verification is performed with the pre-execution result; after the result matching verification is passed, the transaction is confirmed Request the validity of pre-execution results. The technical solution of the embodiment of the present invention realizes the synchronous execution of transaction request processing and authority management by embedding the authority management mechanism in the process of transaction request processing, thereby strengthening the system, universality and Ease of execution.

Description

technical field [0001] Embodiments of the present invention relate to block chain rights management technology, and in particular to a transaction request processing method, device, device and storage medium. Background technique [0002] Existing blockchains can be roughly divided into public chains, consortium chains, and private chains. The public chain systems mainly include Bitcoin, Ethereum and EOS (Enterprise Operation System, commercial operating system). In terms of authority management in blockchain systems, generally different systems have different authority management methods. [0003] There is no authority management system designed in the Bitcoin system. Smart contracts are introduced into the Ethereum system. The Ethereum system does not have means to control permissions for smart contracts. It needs to determine the permission control scheme by hardcoding in the smart contract. The EOS system provides an RBAC (Role-Based Access Control) access control sch...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/08H04L9/32
CPCH04L63/101H04L67/104H04L9/3247H04L67/60
Inventor 郑旗肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD