Blockchain operation information analysis method, device, equipment and computer storage medium

By obtaining the contract parameter information during blockchain transactions and generating a state comparator, we can detect whether the stack data of the blockchain transaction meets the conditions of the target state comparator, and solve the problem that the internal execution of smart contracts in blockchain transactions cannot be effectively tested in the existing technology, and improve the test accuracy.

CN112306496BActive Publication Date: 2025-03-25WEBANK (CHINA)
1 Cites 0 Cited by

Patent Information

Application Number
CN202011200407.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-30
Publication Date
2025-03-25
Estimated Expiration
2040-10-30

AI Technical Summary

Technical Problem

The existing technology cannot effectively test the internal execution of smart contracts in blockchain transactions, resulting in low test accuracy.

Method used

By obtaining the parameter information of all call contracts during blockchain transactions, it is sent to the stack generator for stack pressing and obtaining stack data; generating a state comparator based on the call contract and contract compiler, traversing the stack data, and detecting whether the detection conditions of the target state comparator are met. If not, it is determined that there is an exception in the transaction operation information.

Benefits of technology

It improves the accuracy of testing blockchain transaction operation information, avoids the problem of only judging the input and output of functions in the existing technology, and can effectively test the internal execution of the blockchain.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present invention relates to the technical field of financial technology (Fintech), and discloses a method for analyzing blockchain operation information, the method comprising: obtaining parameter information corresponding to all call contracts during blockchain transactions, sending each parameter information to a preset stack generator for stacking processing, so as to obtain stack data corresponding to each parameter information; generating multiple state comparators according to each call contract and the contract compiler in the blockchain; traversing each of the stack data, determining the target state comparator corresponding to the traversed stack data based on each of the state comparators, and detecting whether the traversed stack data meets the detection condition in the target state comparator; if not, determining that the operation information of the blockchain transaction is abnormal. The present invention also discloses a blockchain operation information analysis device, equipment and a computer storage medium. The present invention improves the test accuracy of operation information during blockchain transactions.
Need to check novelty before this filing date? Find Prior Art