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

Smart contract security detection method based on blockchain and related equipment

A smart contract and security technology, applied in the computer field, can solve the problems that the deployment cannot be tampered with, attacked, discovered by others, etc.

Active Publication Date: 2020-12-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, since the smart contract on the blockchain is visible to all users and cannot be tampered with once deployed, if there are loopholes in the smart contract itself, it may be discovered and attacked

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
  • Smart contract security detection method based on blockchain and related equipment
  • Smart contract security detection method based on blockchain and related equipment
  • Smart contract security detection method based on blockchain and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus their repeated descriptions will be omitted.

[0027] The features, structures, or characteristics described in this disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one...

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 provides a smart contract security detection method and device based on a blockchain, a computer readable storage medium and electronic equipment. The method comprises the steps of obtaining a target smart contract and a file size thereof; obtaining each function from the target smart contract; obtaining and recording an initial-order parameter change relationship of each function; generating a first-order parameter change chain according to a change relationship between at least two parameters in the first-order parameter change relationship of each function; obtaining a targetparameter name in the target smart contract according to the file size; and traversing the target parameter name in a primary parameter change chain, and determining the tracking correctness of the primary parameter change chain according to the target parameter name to obtain a security detection result of the target smart contract. According to the technical scheme provided by the embodiment ofthe invention, the parameter change process of the target smart contract to be uploaded to the target blockchain can be correctly tracked, and the security of the target smart contract finally uploaded to the target blockchain is ensured.

Description

technical field [0001] The present disclosure relates to the field of computer technology, in particular, to a blockchain-based smart contract security detection method and device, a computer-readable storage medium, and electronic equipment. Background technique [0002] With the development of blockchain technology, blockchain technology is applied to more and more fields. For example, it has been widely used in the fields of finance, information security, computing resource sharing, entertainment, social networking, supply chain management or medical treatment. [0003] Among them, blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. As a programmable blockchain, its main feature is to allow users to write sophisticated and intelligent agreements, also known as smart contracts. [0004] A smart contract is a contract program that is automatically execut...

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 Applications(China)
IPC IPC(8): G06F16/27G06F16/23G06F21/64G06Q40/04
CPCG06F21/64G06Q40/04G06F16/2365G06F16/27
Inventor 梁广鹏
Owner TENCENT TECH (SHENZHEN) CO LTD
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