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

Data processing method and device based on blockchain oracle machine and electronic equipment

A data processing and oracle technology, applied in the field of blockchain, can solve the problems of destroying the deterministic environment of the blockchain network, chaotic blockchain data, inconsistent external data, etc., to reduce data chaos, improve consistency, Reduce the effect of damage

Pending Publication Date: 2020-11-17
北京欧链科技有限公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large number of nodes on the blockchain, and for the same data acquisition requirement, each node on the blockchain is independently implemented, but the way, source and time of each blockchain node obtaining external data may be different. The method is easy to cause the problem of inconsistency in the obtained external data, which will cause data confusion in the blockchain and destroy the deterministic environment inside the blockchain network.

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
  • Data processing method and device based on blockchain oracle machine and electronic equipment
  • Data processing method and device based on blockchain oracle machine and electronic equipment
  • Data processing method and device based on blockchain oracle machine and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 2 As shown, it is a schematic flow chart of a data processing method based on a blockchain oracle according to an embodiment of the present invention, and the method includes:

[0034]S101: The contract caller sends the acquisition requirement of the first external data and the event content information of the first smart contract event that needs to be triggered after the acquisition of the first external data to the trusted node that provides the oracle service. Different from existing technologies, for smart contract calls that need to use external data, the contract caller will not use the oracle to obtain external data, but will obtain the external data and the event information of the subsequent smart contract to be called. Sent to trusted nodes in the blockchain network. In order to distinguish it from the smart contract events and external data mentioned later, the expression "first" is used here. The acquisition requirement mentioned here may ...

Embodiment 2

[0044] Such as image 3 As shown, it is a schematic structural diagram of a data processing device based on a blockchain oracle according to an embodiment of the present invention. The device can be set in the above-mentioned trusted node, which includes:

[0045] The call information acquisition module 11 is used to acquire the first external data acquisition requirement from the contract caller and the event content information of the first smart contract event that needs to be triggered after the first external data is acquired. For the contract caller and the trusted node, the communication method based on the blockchain network described above can also be used as a direct communication method based on the Internet protocol.

[0046] The oracle calling module 12 is configured to execute the oracle calling to obtain the first external data. As mentioned above, there can be multiple trusted nodes, and the oracle call module 12 can not only obtain external data by calling th...

Embodiment 3

[0050] The preceding embodiments describe the flow processing and device structure of the data processing method based on the blockchain oracle. The functions of the above-mentioned method and device can be completed by means of an electronic device, such as Figure 4 As shown in , it is a schematic structural diagram of an electronic device according to an embodiment of the present invention, specifically including: a memory 110 and a processor 120 .

[0051] The memory 110 is used for storing programs.

[0052] In addition to the above programs, the memory 110 may also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, etc.

[0053] The memory 110 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access m...

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 provides a data processing method and device based on a blockchain oracle machine, and electronic equipment, and the method comprises the steps that a contract caller obtains the obtaining demand of first external data and the event content information of a first intelligent contract event which needs to be triggered after the first external data is obtained, sending to a trusted node for providing an oracle machine service; the trusted node executes an oracle machine call to obtain the first external data; and the trusted node generates the first smart contractevent based on the first external data and the event content information, and publishes the first smart contract event to the blockchain network. According to the embodiment of the invention, the external data is uniformly acquired by the trusted node, so that the acquisition consistency of the external data by the blockchain network is improved, the phenomenon of data chaos in the blockchain isreduced, and the damage to a deterministic environment in the blockchain network is reduced.

Description

technical field [0001] The embodiment of the present invention provides a data processing method, device and electronic equipment based on a blockchain oracle, which belong to the technical field of blockchain. Background technique [0002] The traditional blockchain is a deterministic and closed system environment. Traditional blockchain nodes can only obtain data within the blockchain, but not data outside the blockchain. The traditional blockchain records the operations within the blockchain in the form of ledgers, and with the widespread application of the blockchain, its application scenarios are becoming more and more extensive. [0003] With the introduction of smart contracts, various interactions, decisions, information storage, etc. are allowed to be performed in the blockchain in the form of program codes, making the blockchain more widely used. The execution of a general smart contract requires a trigger condition. When the trigger condition of a smart contract ...

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
IPC IPC(8): H04L29/06H04L29/08H04L9/32
CPCH04L67/02H04L9/3247H04L9/3297H04L67/133
Inventor 宋承根谭智勇赵微
Owner 北京欧链科技有限公司
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