A smart contract classification method and device
A technology of smart contracts and classification methods, applied in semantic analysis, data processing applications, finance, etc., can solve the problems of low accuracy of smart contract classification results, inability to effectively understand the logical behavior of smart contracts, etc., to achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] For ease of understanding, see figure 1 , Embodiment 1 of a smart contract classification method provided by this application, including:
[0046] Step 101. Obtain user-defined data and transaction characteristic data of target transaction data respectively.
[0047] Due to the high repetition of key codes of smart contracts, only extracting key features from smart contract codes cannot accurately reflect the actual logical behavior of smart contracts, and cannot achieve a more complete and comprehensive analysis. In addition, the embedded text in the smart contract contains many user-defined key information, which can directly reflect the design concept of the smart contract. Therefore, in the embodiment of the present application, data expression methods at different levels are used to understand and analyze the semantics of the target transaction data, which can effectively enhance the logical behavior expression ability of the smart contract.
[0048] The target t...
Embodiment 2
[0059] For ease of understanding, see figure 2 , the present application provides a second embodiment of a smart contract classification method, including:
[0060] Step 201. Obtain the target transaction data corresponding to the target contract on Ethereum by matching the blockchain information of the smart contract.
[0061] Step 202. Obtain user-defined data and transaction feature data of the target transaction data respectively.
[0062] The blockchain information includes information such as the blockchain number and the hash code of the blockchain. By matching the relevant data information on the Ethereum according to the blockchain information, the target transaction data corresponding to different smart contracts can be obtained. The target transaction data Contains user-defined data and transaction characteristic data.
[0063] User-defined data is the user-input data stored on Ethereum, which is the note text information entered by the user when writing the cont...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


