Method and device for controlling calls between smart contracts

A smart contract and caller technology, applied in the information field, can solve problems such as smart contract deployment, testing, regulation content inconsistency, impact, etc., to achieve the effect of avoiding malicious operations and tampering

Active Publication Date: 2021-07-09
TAIKANG LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if there are technical factors such as smart contract loopholes and faults interfering in this process, resulting in the deployment, testing, regulation and other steps of the smart contract being inconsistent with the established contract content, it will have a great impact

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
  • Method and device for controlling calls between smart contracts
  • Method and device for controlling calls between smart contracts
  • Method and device for controlling calls between smart contracts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in this application. Obviously, the described embodiments are part of the embodiments of this application , but not all examples. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0055] The emergence of blockchain technology solves the problem of mutual trust in multi-party transactions, and the distributed ledger is an important part of it. How to quickly and safely obtain data from the ledger is a problem that blockchain technology is committed to solving. However, in the existing technology, there is a gap in the control of calls between smart contracts, allowing blockchain attackers t...

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 present application provides a method and device for managing calls between smart contracts. The method includes: when detecting that the first smart contract initiates a call request to the second smart contract, parsing the call request, the call request includes the caller, the called party, the first credential and a time stamp; according to the caller and the called party in the call request The caller, look up the corresponding caller’s operation factor in the blockchain registry, and obtain the second certificate according to the caller’s operation factor and timestamp; judge whether the second certificate matches the first certificate; if the second certificate Match the first credential, execute the first smart contract and call the second smart contract. Thus, the management of calls between smart contracts can be realized to ensure the reliability and safety of calls between smart contracts.

Description

technical field [0001] The present application relates to the field of information technology, in particular to a method and device for managing calls between smart contracts. Background technique [0002] Blockchain is a decentralized distributed accounting technology derived from Bitcoin, which generates persistent unmodifiable records by superimposing encrypted block data in chronological order, and stores the records in the blockchain network In each node, each node participating in the blockchain jointly maintains its own database. As a result, the blockchain has technical advantages such as decentralization, anti-tampering, consistent data storage, and transparent and traceable processes. Wide application prospects. [0003] Smart contracts are computer programs that can run exactly on the blockchain. Users use smart contracts to conduct transactions, share data, and establish trust, and the characteristics of blockchain technology ensure that the entire process of ...

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): G06F21/64G06Q20/38G06Q40/04
CPCG06F21/64G06Q20/3821G06Q40/04
Inventor 王寰
Owner TAIKANG LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products