A data verification and data updating method and system

By deploying air nodes and APIs in the data verification system, a first-party oracle is formed to directly provide off-chain data to smart contracts, solving the problem of fragile data trust caused by smart contracts relying on third-party oracles, and improving the security of off-chain data. Reliability and execution accuracy.

CN114781003BActive Publication Date: 2024-09-24MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210545542.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2024-09-24
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

The off-chain data required for the execution of smart contracts on the blockchain relies on third-party oracles, resulting in fragile data trust and problems with data tampering and errors.

Method used

By deploying air nodes in the data verification system and combining it with APIs to form a first-party oracle, the off-chain data is directly provided to the smart contract, avoiding the use of third-party oracles.

Benefits of technology

It improves the reliability of off-chain data required for smart contract execution, ensures the correct execution of smart contracts on the blockchain, and reduces data trust vulnerability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114781003B
    Figure CN114781003B
Patent Text Reader

Abstract

This specification discloses a data verification method and system to address the vulnerability of data trust caused by the reliance on third-party oracles for off-chain data required for smart contract execution on the blockchain. The data verification method, applied to a data verification system with deployed "air nodes," includes: responding to a data verification request submitted by a requester carrying data to be verified, verifying the data to be verified to generate first verification data; based on a monitored data update request, encapsulating the first verification data obtained through an API to obtain second verification data; and pushing the second verification data to the smart contract; wherein the data to be verified includes business data used to trigger the execution of a smart contract deployed on a first blockchain, the smart contract includes an oracle communication contract, the oracle communication contract is used to subscribe to air nodes, and the air nodes are used to listen for data update requests sent by the subscribed oracle communication contract.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a data verification method and system, and a data updating method. Background Art

[0002] Blockchain is a new application model based on computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. In a peer-to-peer network environment, blockchain builds an unforgeable, tamper-proof and traceable block chain data structure in a timestamp order through transparent and trusted rules to achieve transaction management. Blockchain has key features such as distributed peer-to-peer, data block chain, unforgeable and tamper-proof, transparent and trustworthy, and high reliability.

[0003] Smart contracts are one of the four core technologies in blockchain. A smart contract is a computer program or transaction protocol deployed on a blockchain that is designed to disseminate, verify or execute contracts in an information-based manner. Smart contracts allow for trusted transactions without a third party, which are traceable and irreversible. The purpose of smart contracts is to provide a security method superior to traditional contracts, reduce the need for trusted intermediaries, arbitration and enforcement costs, and reduce fraud losses and malicious or unexpected situations.

[0004] Since smart contracts deployed on the blockchain cannot directly access off-chain data, an intermediary is needed, which is the oracle mechanism. The main function of the oracle is to provide reliable off-chain data for smart contracts. Its core value is to connect the blockchain with the outside world on a trusted basis. The oracle provides a trusted data source for the off-chain data required for the execution of smart contracts on the blockchain. The oracle will be connected to the Application Programming Interface (API), and the API will provide this off-chain data. Smart contracts can use the oracle network to provide links across blockchains or between on-chain and off-chain data.

[0005] The implementation of oracles in the prior art relies on third-party oracles, which are operated by entities that do not own the data or services they provide. The data source of third-party oracles on the blockchain is the node operators, not the original providers of the data. These node operators are personally selected by the centralized management agency, the meta-middleman. The premise of the blockchain is decentralization, and third-party oracles often obtain data from centralized data sources, resulting in the failure to eliminate the central point. The off-chain data required for the execution of smart contracts on the blockchain depends on third-party oracles, and there is a problem of fragile data trust. If the data source of the third-party oracle is tampered with, data errors, etc., it will cause the smart contract to have incorrect execution results and no recourse. Summary of the invention

[0006] The purpose of the embodiments of this specification is to provide a data verification method and system, as well as a data update method, to solve the problem of fragile data trust caused by the reliance of off-chain data required for the execution of smart contracts on the blockchain on a third-party oracle, and to improve the reliability of off-chain data required for the execution of smart contracts.

[0007] In order to achieve the above purpose, the embodiments of this specification adopt the following technical solutions:

[0008] In a first aspect, a data verification method is provided, which is applied to a data verification system, wherein the data verification system is deployed with an air node, and the method includes:

[0009] In response to a data verification request submitted by a requester and carrying data to be verified, verify the data to be verified and generate first verification data;

[0010] Based on the monitored data update request, encapsulate the first verification data obtained through the application program interface API to obtain second verification data, and push the second verification data to the smart contract;

[0011] The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, the smart contract includes an oracle communication contract, the oracle communication contract is used to subscribe to the air node, and the air node is used to monitor data update requests sent by the subscribed oracle communication contract.

[0012] In a second aspect, a data update method is provided, which is applied to a smart contract deployed on a first blockchain, wherein the smart contract includes a oracle communication contract, and the oracle communication contract is used to subscribe to an air node deployed by a data verification system, and the method includes:

[0013] Sending a data update request to the subscribed air node through the oracle communication contract;

[0014] receiving second verification data returned by the air node based on the data update request;

[0015] Among them, the second verification data is obtained by the data verification system in response to a data verification request containing data to be verified submitted by the requester, and the data to be verified is obtained by the air node after data verification and data packaging. The data to be verified includes business data used to trigger the execution of the smart contract.

[0016] In a third aspect, a data verification system is provided, including a verification subsystem, a storage subsystem, and an application program interface API, wherein the data verification system is deployed with an air node, wherein:

[0017] The verification subsystem is used to respond to a data verification request carrying the data to be verified submitted by the requesting party, verify the data to be verified, generate first verification data, and store it in the storage subsystem;

[0018] The storage subsystem is used to store the first verification data generated by the verification subsystem;

[0019] The air node is used to monitor the data update request sent by the subscribed oracle communication contract, and based on the monitored data update request, encapsulate the first verification data obtained from the storage subsystem through the application program interface API to obtain the second verification data, and push the second verification data to the smart contract;

[0020] The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, and the smart contract includes an oracle communication contract, and the oracle communication contract is used to subscribe to the air node.

[0021] In a fourth aspect, an electronic device is provided, including:

[0022] processor;

[0023] a memory for storing instructions executable by the processor;

[0024] The processor is configured to execute the instructions to implement the method as described in the first aspect or the second aspect.

[0025] According to a fifth aspect, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect or the second aspect.

[0026] The data verification scheme provided in the embodiments of this specification is that for the data verification request submitted by the requester carrying the data to be verified, the data verification system verifies the data to be verified. Since the data to be verified includes business data for triggering the execution of the smart contract deployed on the first blockchain, the verification data required for the execution of the smart contract is generated; by deploying air nodes in the data verification system and combining the API of the data verification system, a first-party oracle can be formed. The smart contract deployed on the first blockchain includes an oracle communication contract. The oracle communication contract is used to subscribe to the air nodes deployed by the data verification system, so that the verification data required for the execution of the smart contract generated by the data verification system can be directly pushed to the smart contract through the air nodes. The off-chain data required for the execution of the smart contract does not need to go through a third party. The data verification system directly provides the off-chain data to the smart contract, which can improve the reliability of the off-chain data required for the execution of the smart contract, thereby ensuring the correct execution of the smart contract on the blockchain.

[0027] The data update solution provided in the embodiment of this specification is that the data verification system that provides data verification services to the smart contract is deployed with an air node, and the smart contract deployed on the first blockchain includes a oracle communication contract, which is used to subscribe to the air node deployed by the data verification system, send a data update request to the subscribed air node through the oracle communication contract, and receive the verification data returned by the air node, so that the verification data required for the execution of the smart contract generated by the data verification system can be directly pushed to the smart contract through the air node. The off-chain data required for the execution of the smart contract does not need to go through a third party. The data verification system directly provides the off-chain data to the smart contract, which can improve the reliability of the off-chain data required for the execution of the smart contract, thereby ensuring the correct execution of the smart contract on the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0029] Figure 1 A schematic diagram of an implementation environment applicable to a data verification method provided in an embodiment of this specification;

[0030] Figure 2 A schematic diagram of a beacon server contract subscribing to a beacon identifier of an air node provided in one embodiment of the present specification;

[0031] Figure 3 A schematic diagram of the structure of a data verification system provided for one embodiment of this specification;

[0032] Figure 4A flowchart of a data verification method provided for one embodiment of this specification;

[0033] Figure 5 A schematic diagram of data aggregation and packaging between an air node and an API based on the OIS standard is provided for one embodiment of this specification;

[0034] Figure 6 A flowchart of a data updating method provided for one embodiment of this specification;

[0035] Figure 7 A schematic diagram of the structure of an electronic device provided for one embodiment of the present specification. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solutions and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0037] The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of this specification can be implemented in an order other than those illustrated or described herein. In addition, "and / or" in this specification and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.

[0038] A smart contract is a computer program deployed on a blockchain. It is a technology that digitizes contracts in life and can be automatically executed by a program when certain conditions are met. In other words, a smart contract will be automatically executed when certain conditions are met. In the embodiments of this specification, the conditions that must be met for the execution of a smart contract are referred to as execution trigger conditions. Specifically, there may be multiple execution trigger conditions for a smart contract, and different execution trigger conditions may correspond to different execution methods. The execution trigger conditions and the corresponding execution methods can be written into the smart contract as content clauses. If a business event related to a smart contract occurs, the occurrence of the business event will generate some business data, which may trigger the execution of the smart contract. Whether the business data used to trigger the execution of the smart contract can meet the execution trigger conditions needs to be determined by the smart contract. Before the smart contract makes a determination, an external data verification system needs to verify the business data used to trigger the execution of the smart contract and other related data.

[0039] In the data verification business scenario of smart contracts, for smart contracts deployed on the blockchain, an external data verification system is used to verify the business data used to trigger the execution of the smart contract and other related data. The verified data (off-chain data) will be transmitted to a third-party oracle, and then transmitted to the smart contract by the third-party oracle. There is a risk that the third-party oracle will tamper with the data or provide erroneous data.

[0040] When using a third-party oracle, the off-chain data provider (API provider) of the smart contract does not provide data directly to the smart contract, but first provides it to the node operator (middleman). The aggregator then takes the average of the data of these node operators or screens it in other ways before providing it to the smart contract, which leads to the problem of fragile data trust.

[0041] In response to the above problems, this application proposes the following improvement ideas: remove the node operator and enable the off-chain data provider (API provider) to directly provide data to the smart contract. As an off-chain data provider (API provider), the data verification system of the smart contract can form a first-party oracle by deploying air nodes (Airnode) in the data verification system and combining it with the API of the data verification system. The first-party oracle refers to the oracle that the API provider operates and provides the data source, so that the off-chain data does not need to go through a third party, and the data verification system directly provides the off-chain data to the smart contract.

[0042] In view of this, the embodiments of this specification aim to provide a data verification method and system. By deploying air nodes in the data verification system and combining it with the API of the data verification system, a first-party oracle can be formed to directly provide off-chain data to smart contracts, thereby solving the problem of fragile data trust caused by the off-chain data required for the execution of smart contracts on the blockchain relying on third-party oracles, and improving the reliability of off-chain data required for the execution of smart contracts.

[0043] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0044] To facilitate understanding, first combine Figure 1 The following describes an implementation environment applicable to a data verification method provided by an embodiment of this specification. Figure 1 As shown, an implementation environment applicable to a data verification method of an embodiment of the present specification may include at least one data verification system, a blockchain network of a first-party oracle, and a blockchain deployed by a smart contract.

[0045] In the embodiments of this specification, the data verification system can provide functions such as data verification and data storage for smart contracts based on the services of hardware resources and software resources. From the perspective of system architecture, the data verification system may include a verification subsystem, a storage subsystem, and an API (application programming interface) that provides functions or services to the outside.

[0046] The data verification system also needs to deploy air nodes, which are completely serverless oracle nodes. Their design does not require the API provider to provide specialized knowledge, maintenance or repair. The air node is a server-side program provided by the provider of the first-party oracle. By deploying air nodes in the data verification system (API provider) and combining it with the API of the data verification system, a first-party oracle can be formed. A first-party oracle refers to an oracle that is self-operated by the API provider and provides data sources. Specifically, the air node and the API can be deployed on the same server of the data verification system, or the air node and the API can be deployed on different servers of the data verification system. By deploying air nodes in the data verification system and combining it with the API of the data verification system to form a communication mechanism for the first-party oracle, the data verification system can directly provide off-chain data to the smart contract.

[0047] Specifically, there may be multiple data verification systems that provide data verification services for smart contracts, such as Figure 1 As shown, each data verification system provides corresponding data verification services for smart contracts according to specific needs. For example, for insurance smart contracts, multiple data verification systems are required to provide data verification services in different aspects such as accidents and medical treatment. In the embodiments of this specification, only one data verification system is used as an example for explanation.

[0048] The provider of the first-party oracle can be API3 or other blockchain projects that can provide first-party oracles. Exemplarily, if the provider of the first-party oracle is API3, the blockchain network of the first-party oracle is specifically the API3 blockchain network. In API3, dAPI is a completely decentralized blockchain native API, which consists of first-party oracles. dAPI is built, managed, guaranteed and profitable by API3 DAO. The API provider provides API data to API3 DAO, and dAPP is the service user. The smart contract deployed on the blockchain can be used as dApp, the data verification system as the API provider, and the air node provided by API3 is deployed in the data verification system. Combined with the API of the data verification system, a first-party oracle is formed.

[0049] In the embodiments of this specification, for the sake of distinction, the blockchain deployed by the smart contract is referred to as the first blockchain. In addition, there is no specific limitation on the signing party of the smart contract. For example, it can be an insurance smart contract signed between the insured and the insurance company, or a financial smart contract signed between the investor and the financial institution.

[0050] In the embodiments of this specification, the smart contract can take the form of a hybrid smart contract, which is a smart contract that calls an oracle communication contract. The smart contract consists of two parts: one part is the content execution contract, which is an execution program including specific content clauses. The content execution contract includes preset execution trigger conditions and corresponding execution methods; the other part is the oracle communication contract, which is introduced by the smart contract in the form of a code package. The oracle communication contract is used to subscribe to a specific oracle so that it can be pushed after the off-chain data is updated. In the embodiments of this specification, the specific oracle subscribed by the oracle communication contract can be an air node deployed by the data verification system. It can be understood that in a business scenario where there are multiple data verification systems, each data verification system will deploy an air node. Accordingly, the oracle communication contract needs to subscribe to the above-mentioned multiple specific oracles, that is, to subscribe to the air nodes deployed by each data verification system.

[0051] Specifically, the oracle communication contract may include the identification information of the subscribed air node, and the oracle communication contract communicates with the subscribed air node based on the identification information. Exemplarily, if the provider of the first-party oracle is API3, the oracle communication contract described in API3 is specifically the beacon server contract (RrpBeaconServer.sol), and the introduction method is:

[0052] import "@api3 / airnode-protocol / contracts / rrp / requesters / interfaces / IRrpBeaconServer.sol".

[0053] like Figure 2 As shown, by transmitting a specific beacon identifier (Beacon Id) to the beacon server contract of the smart contract (dAPP), the beacon server contract can communicate with the subscribed air node (Airnode) based on the beacon identifier (Beacon Id), and the beacon server (Beacon Server) is used to provide beacon services to the smart contract (dAPP); a beacon server contract can subscribe to one or more air nodes (Airnode), and an air node (Airnode) can correspond to one or more beacon identifiers (Beacon Id).

[0054] In an optional implementation, the address of the smart contract needs to be added to the address whitelist of the air node in advance. Exemplarily, the address of the smart contract can be added to the address whitelist of the air node by signing a whitelist smart contract, binding the address of the smart contract and other related addresses to the whitelist smart contract, and other related addresses can be flexibly set according to the specific content of the smart contract. For example, for an insurance smart contract, other related addresses can be the digital wallet address of the insurance company. Through the whitelist smart contract, the air node can obtain the address of the smart contract to which the data needs to be sent.

[0055] exist Figure 1 In the implementation environment shown, for the smart contract deployed on the first blockchain, if a business event related to the smart contract occurs, the user will have the need to execute the content terms and submit a data verification request with the data to be verified to the data verification system of the smart contract. The data to be verified includes the business data used to trigger the execution of the smart contract. The data verification system responds to the data verification request, verifies the data to be verified, and then generates the verification data required for the execution of the smart contract, which is pushed to the corresponding smart contract through the deployed air node. The smart contract then determines the current business event based on the verification data, and automatically executes if the execution trigger condition is met.

[0056] The following is a detailed description of the structure of a data verification system provided in the embodiments of this specification. Figure 3 As shown, it is a structural diagram of a data verification system 300 provided by an embodiment of the present specification, including: a verification subsystem 301, a storage subsystem 302 and an API 303, and the data verification system 300 is deployed with an air node 304. After the air node 304 is deployed in the data verification system 300, the air node 304 and the API 303 can form a first-party oracle, and the air node can manage the API 303 of the data verification system. Among them:

[0057] The verification subsystem 301 is used to respond to a data verification request containing data to be verified submitted by a requesting party, verify the data to be verified, generate first verification data, and store the data in the storage subsystem 302 .

[0058] Specifically, for smart contracts deployed on the first blockchain, if a business event related to the smart contract occurs that can trigger the content clauses in the contract, users related to the smart contract will have a demand to execute the content clauses. Based on this demand, the user can submit a data verification request to the data verification system of the smart contract through the client. The data verification request carries the data to be verified. The data to be verified includes business data used to trigger the execution of the smart contract, such as certification documents and bill materials related to the business event. The data to be verified may also include other relevant data, such as a request document for executing the content clauses, the user's qualification certificate, etc.

[0059] The way in which the verification subsystem verifies the data to be verified is specified by the smart contract. Usually, including the authenticity verification of the data to be verified, corresponding calculations may also be required. The generated verification data usually includes the verification result (whether it passes), the data to be verified required by the smart contract, and may also include the calculation results obtained by performing corresponding calculations based on the data to be verified. The smart contract will also specify a standard data template, and the verification subsystem provides the corresponding verification data according to the standard data template specified by the smart contract. In the embodiments of this specification, for the sake of distinction, the verification data generated by the verification subsystem is referred to as the first verification data.

[0060] For example, for an insurance smart contract, if a business event related to the insurance smart contract occurs and can trigger the claim clause in the contract, the user related to the insurance smart contract will have a claim demand and submit a data verification request with the data to be verified through the client. The data to be verified includes the business data used to trigger the execution of the insurance smart contract, such as the bill materials related to the claim; the user related to the smart contract can be the insured, the insurance beneficiary or the agent, and the data to be verified may also include the identity documents and authorization documents of the insured and / or the insurance beneficiary and / or the agent. The verification subsystem responds to the data verification request and verifies the authenticity of the data to be verified. If the verification is passed, the claim amount needs to be calculated. The first verification data generated may include: the verification result (whether it is passed), the data to be verified required by the smart contract, the claim amount, etc.

[0061] The storage subsystem 302 is used to store the first verification data generated by the verification subsystem 301.

[0062] Specifically, the storage subsystem can adopt data storage methods such as database and blockchain.

[0063] The air node 304 is used to monitor the data update request sent by the subscribed oracle communication contract, and based on the monitored data update request, encapsulate the first verification data obtained from the storage subsystem 302 through the API 303 to obtain the second verification data, and push the second verification data to the smart contract.

[0064] The oracle communication contract will send data update requests to the subscribed air nodes periodically or according to preset conditions. The data update requests are stored in the form of logs on the blockchain network of the first-party oracle. The air nodes monitor the data update requests in the relevant logs on the blockchain network of the first-party oracle. Based on the data update requests of the oracle communication contract monitored, the air nodes obtain the data required for the execution of the corresponding smart contract from the storage subsystem through the managed API and update it.

[0065] For example, in API3, the beacon server contract determines whether data needs to be updated based on some preset thresholds. The thresholds vary for different specific businesses. For example, if the review date of a medical insurance smart contract is the 20th of each month, the data can be updated before the 20th of each month, and the time period for updating data is set to one month. Once the threshold is exceeded and data needs to be updated, the beacon server contract will notify AirnodeRrp.sol on the API3 blockchain network to generate a log of the data update request. The air node listens to the data update request in the relevant log on the API3 blockchain network, obtains data from the API managed by the air node, and updates it.

[0066] The verification subsystem may include a single verification node, or may include two or even more verification nodes, and multiple verification nodes may be deployed in a cluster or decentralized manner. In an optional implementation, in order to prevent the risk of false verification that may exist in a single verification node and improve the security of the data verification system, the verification subsystem 301 includes at least two decentralized verification nodes 311, and accordingly, blockchain is used for data storage. In the embodiment of this specification, for the sake of distinction, the blockchain used for data storage in the data verification system is called the second blockchain 321, where:

[0067] Each of the verification nodes 311 is used to respond to a data verification request submitted by the requesting party that carries the data to be verified, verify the authenticity of the data to be verified, and obtain a corresponding verification result; generate the first verification data based on the data to be verified and the verification result corresponding to the data to be verified and store it in the second blockchain 321.

[0068] Decentralization is one of the many functions that blockchain can provide. It is widely used in the fields of network and computer. Especially after the concepts of metaverse and Web3.0 were proposed, decentralization combined with various technologies will become a trend in the future. Decentralization is a form of social relations and content generation formed in the development of the Internet. It is a new type of network content production process relative to "centralization". Decentralization does not mean no center, but the nodes can freely choose and decide the center. In a decentralized system, anyone can be a node and anyone can become a center. At least two decentralized verification nodes can be programmed, manual online systems or manual + offline clients, and the data verification method is determined by smart contracts. If manual verification nodes are used, individuals or institutions with professional qualifications will be selected for data verification, rather than the verified party. For example, for insurance smart contracts, the verification node cannot be the insurance company that signed the insurance smart contract. In order to ensure the security and reliability of the first verification result data, the manual verification nodes can be audited by third parties, insurance companies, and the China Banking and Insurance Regulatory Commission.

[0069] In an optional implementation, in order to improve the efficiency of data verification, the data to be verified may be firstly checked for integrity, and then the data to be verified that passes the integrity check may be distributed to each verification node. The data verification system 300 may further include:

[0070] The data verification and distribution module 305 is used to receive a data verification request submitted by a requester and carrying data to be verified, perform integrity verification on the data to be verified, and distribute the data to be verified that passes the integrity verification to each of the verification nodes 311.

[0071] For example, for insurance smart contracts, the data verification and distribution module can first perform integrity verification on the data to be verified according to the claim requirements. For example, if it involves medical claims, it is necessary to provide diagnosis certificates, drug lists, hospital receipts, etc. If the integrity verification passes, the data to be verified will be distributed to each of the verification nodes. If the integrity verification fails, the user is prompted to complete the data to be verified and resubmit it.

[0072] In an optional implementation, the smart contract also includes a content execution contract, which includes preset execution trigger conditions and corresponding execution methods. The smart contract is used to receive the second verification data returned by the air node 304 based on the data update request. If the second verification data meets the preset execution trigger conditions, the corresponding execution method is automatically executed according to the satisfied execution trigger conditions.

[0073] The data verification system provided in the embodiments of this specification verifies the data to be verified for the data verification request submitted by the requester and carrying the data to be verified. Since the data to be verified includes business data for triggering the execution of the smart contract deployed on the first blockchain, the verification data required for the execution of the smart contract is generated; by deploying air nodes in the data verification system and combining the API of the data verification system, a first-party oracle can be formed, and the smart contract deployed on the first blockchain includes an oracle communication contract, which is used to subscribe to the air nodes deployed by the data verification system, so that the verification data required for the execution of the smart contract generated by the data verification system can be directly pushed to the smart contract through the air nodes. The off-chain data required for the execution of the smart contract does not need to go through a third party. The data verification system directly provides the off-chain data to the smart contract, which can improve the reliability of the off-chain data required for the execution of the smart contract, thereby ensuring the correct execution of the smart contract on the blockchain.

[0074] Furthermore, the data verification of smart contracts is completed by multiple decentralized verification nodes and securely stored in the second blockchain of the data verification system. The decentralized data verification of smart contracts can improve the security of off-chain data required for the execution of smart contracts, and make the power of the two parties to the smart contract equal, reducing the possibility of disputes between the two parties to the smart contract.

[0075] With the above Figure 3 Corresponding to the data verification system shown, the embodiment of this specification also provides a data verification method, which is applied to a data verification system deployed with an air node. After the air node is deployed in the data verification system, the air node and the API of the data verification system can form a first-party oracle, and the air node can manage the API of the data verification system; the smart contract deployed on the first blockchain includes an oracle communication contract, and the oracle communication contract is used to subscribe to the air node deployed by the data verification system, and the air node is used to listen to the data update request sent by the subscribed oracle communication contract. Figure 4 FIG. 1 is a flow chart of a data verification method provided by an embodiment of the present specification, and the method may include:

[0076] S401. In response to a data verification request submitted by a requester and carrying data to be verified, verify the data to be verified and generate first verification data; wherein the data to be verified includes business data for triggering the execution of a smart contract deployed on a first blockchain.

[0077] Specifically, for the smart contract deployed on the first blockchain, if a business event related to the smart contract occurs that can trigger the content clauses in the contract, the users related to the smart contract will have the need to execute the content clauses. Based on this need, the user can submit a data verification request to the data verification system of the smart contract through the client. Of course, the user can also submit a data verification request to the data verification system of the smart contract in other ways, such as through a browser, or through a manual window, etc. The requesting party includes but is not limited to the client or browser that initiates the data verification request; in response to the data verification request, the data to be verified is verified to generate first verification data; in addition to the business data used to trigger the execution of the smart contract, the data to be verified may also include other relevant data, which is specifically specified by the smart contract.

[0078] The method of data verification for the data to be verified is specified by the smart contract. Usually, it includes the authenticity verification of the data to be verified, and may also need to perform corresponding calculations. The generated first verification data usually includes the verification result (whether it passes), the data to be verified required by the smart contract, and may also include the calculation result. The smart contract will also specify a standard data template, and the data verification system provides the corresponding first verification data according to the standard data template specified by the smart contract.

[0079] In an optional implementation, in order to prevent the risk of false verification that may exist in a single verification node and improve the security of the data verification system, the data verification system may include at least two decentralized verification nodes; accordingly, in S401, data verification is performed on the data to be verified to generate first verification data, which may specifically include:

[0080] S4011. Each of the verification nodes verifies the authenticity of the data to be verified and obtains a corresponding verification result;

[0081] S4012. Generate the first verification data based on the data to be verified and the verification result corresponding to the data to be verified.

[0082] Specifically, the data to be verified by at least two decentralized verification nodes for authenticity verification may be the same content or different content. For example, for the data to be verified submitted by the requester, all verification nodes may perform data verification on all the data to be verified and generate their own first verification data respectively; the data to be verified may also be split according to categories or other rules, and some verification nodes may perform data verification on part of the data to be verified and generate their own first verification data respectively, and other verification nodes may perform data verification on another part of the data to be verified and generate their own first verification data respectively, which can be set flexibly.

[0083] In an optional implementation, the data verification system may further include a second blockchain for storing first verification data submitted by at least two decentralized verification nodes; accordingly, each of the verification nodes stores the generated first verification data in the second blockchain.

[0084] In an optional implementation, in order to improve the efficiency of data verification, before each of the verification nodes respectively verifies the authenticity of the data to be verified, the method further includes:

[0085] A data verification request containing data to be verified is received from a requesting party, integrity verification is performed on the data to be verified, and the data to be verified that passes the integrity verification is distributed to each of the verification nodes.

[0086] S402: Based on the monitored data update request, encapsulate the first verification data obtained through the API to obtain second verification data.

[0087] In an optional implementation manner, S402 may specifically include:

[0088] Based on the data update request of the oracle communication contract monitored, the first verification data on the second blockchain obtained from the API is aggregated and packaged according to the set standard to obtain the second verification data, and the set standard is determined according to the smart contract.

[0089] Specifically, the setting standard is stipulated by the smart contract, and the first-party oracle provider forms the setting standard and provides it to the air node in accordance with the provisions of the smart contract. Based on the data update request of the monitored oracle communication contract, the API first obtains the first verification data submitted by each verification node from the second blockchain; then the air node aggregates and encapsulates the first verification data obtained from the managed API to obtain the second verification data. It should be noted that since the first verification data is generated according to the standard data template provided by the smart contract, the second verification data is obtained by aggregating and encapsulating the first verification data according to the setting standard stipulated in the smart contract, so the second verification data complies with the data content and data format required by the smart contract.

[0090] Exemplarily, at least two decentralized verification nodes submit the same content of the to-be-verified data to multiple first verification data on the second blockchain. The verification results may be partially passed and partially not passed. After the API obtains multiple first verification data for the same content of the to-be-verified data from the second blockchain, it may count the number of votes passed for the multiple verification results (whether passed) submitted by each verification node, and form the multiple first verification data into an array of first verification data according to the data format required by the smart contract. For example, for a medical insurance smart contract, there may be multiple verification nodes for data verification of the use of drugs, and submit multiple first verification data. The API will count the number of votes passed for the multiple verification results submitted by each verification node, and form an array of first verification data for the use of drugs; of course, there may also be multiple verification nodes for data verification of medical expenses, and submit multiple first verification data. The API will also form another array of first verification data for medical expenses. It should be noted that the data format of the first verification data of each verification node obtained by the API from the second blockchain can be flexibly set according to the provisions of the smart contract.

[0091] Specifically, for the same smart contract, the air node may obtain at least two first verification data from the API it manages. The at least two first verification data may come from the same API managed by the air node or from different APIs. The at least two first verification data may be formed for data to be verified with different contents. For example, for a medical insurance smart contract, it may include one first verification data for medical expenses and another first verification data for the use of drugs.

[0092] For example, Figure 5 As shown, in API3, the beacon server contract of the smart contract sends a data update request to the subscribed air node. The air node obtains at least two first verification data from at least one API managed according to the OIS standard and performs data aggregation and encapsulation. The OIS standard provided by API3 is written in the json configuration file, which standardizes the data mapping relationship, request address, request protocol and method (get, post, etc.) from the API to the air node. The OIS standard can be formed by API3 according to the provisions of the smart contract and provided to the air node.

[0093] S403: Push the second verification data to the smart contract.

[0094] In an optional implementation, the provider of the first-party oracle configures identification information for each air node. The identification information configured for each air node can be one or more, and the identification information configured for different air nodes can be different. The oracle communication contract includes the identification information of the subscribed air node, and the oracle communication contract communicates with the subscribed air node based on the identification information. Exemplarily, in API3, the identification information is a beacon identifier (Beacon Id). In addition, the address of the smart contract is pre-added to the address whitelist of the air node. The oracle communication contract sends data update requests to the subscribed air node regularly or according to preset conditions. The data update request is stored in the form of a log on the blockchain network of the first-party oracle. The air node monitors the data update request in the log on the blockchain network. Based on the data update request of the oracle communication contract monitored, the air node obtains the first verification data (update data) stored on the second blockchain by each verification node through the managed API, and pushes the encapsulated second verification data to the smart contract based on the address whitelist.

[0095] In an optional implementation manner, S403 may specifically include the following steps:

[0096] S4031. Based on the data update request of the oracle communication contract monitored, the address of the smart contract corresponding to the oracle communication contract is called from the address whitelist; the address whitelist of the air node includes the address of the smart contract corresponding to the subscribed oracle communication contract;

[0097] S4032. Push the second verification data to the smart contract based on the called address.

[0098] The data verification method for smart contracts provided in the embodiments of this specification is that for the data verification request submitted by the requester carrying the data to be verified, the data verification system verifies the data to be verified. Since the data to be verified includes business data for triggering the execution of the smart contract deployed on the first blockchain, the verification data required for the execution of the smart contract is generated; by deploying air nodes in the data verification system and combining the API of the data verification system, a first-party oracle can be formed. The smart contract deployed on the first blockchain includes an oracle communication contract. The oracle communication contract is used to subscribe to the air nodes deployed by the data verification system, so that the verification data required for the execution of the smart contract generated by the data verification system can be directly pushed to the smart contract through the air nodes. The off-chain data required for the execution of the smart contract does not need to go through a third party. The data verification system directly provides the off-chain data to the smart contract, which can improve the reliability of the off-chain data required for the execution of the smart contract, thereby ensuring the correct execution of the smart contract on the blockchain.

[0099] Furthermore, the data verification of smart contracts is completed by multiple decentralized verification nodes and securely stored in the blockchain of the data verification system. The decentralized data verification of smart contracts can improve the security of off-chain data required for the execution of smart contracts, and make the power of the two parties to the smart contract equal, reducing the possibility of disputes between the two parties to the smart contract.

[0100] Based on the same technical concept, an embodiment of this specification also provides a data update method, which is applied to a smart contract deployed on a first blockchain, wherein the smart contract includes a oracle communication contract, and the oracle communication contract is used to subscribe to an air node deployed by a data verification system, and the data verification system provides data verification, data storage and other functions for the smart contract.

[0101] like Figure 6 FIG. 1 is a flow chart of a data updating method provided by an embodiment of the present specification, and the method may include:

[0102] S601, sending a data update request to the subscribed air node through the oracle communication contract;

[0103] S602, receiving second verification data returned by the air node based on the data update request;

[0104] Among them, the second verification data is obtained by the data verification system in response to a data verification request containing data to be verified submitted by the requester, and the data to be verified is obtained by the air node after data verification and data packaging. The data to be verified includes business data used to trigger the execution of the smart contract.

[0105] The data verification system can be based on the above Figure 4 The data verification method shown verifies the data to be verified, and pushes the second verification data to the smart contract corresponding to the oracle communication contract through the air node, and the details are not repeated here.

[0106] In an optional implementation, the smart contract may further include a content execution contract, wherein the content execution contract includes a preset execution trigger condition and a corresponding execution method;

[0107] Correspondingly, after the smart contract receives the second verification data returned by the air node based on the data update request, if the second verification data meets the preset execution trigger condition, the smart contract automatically executes the corresponding execution method according to the satisfied execution trigger condition.

[0108] Exemplarily, if the smart contract is an insurance smart contract, after receiving the second verification data, the insurance smart contract will finally determine whether the preset execution trigger condition is met based on the second verification data. The final judgment of the smart contract based on the second verification data can be determined based on the number of votes passed. If the number of votes exceeds the set threshold, it is passed, otherwise, it is not passed. If the second verification data meets the preset execution trigger condition, the corresponding execution method is automatically executed according to the satisfied execution trigger condition. For example, for the insurance smart contract, the corresponding claim settlement operation will be executed according to the content terms triggered by the business data.

[0109] The data update method provided in the embodiment of this specification is that the data verification system that provides data verification services to the smart contract is deployed with an air node, and the smart contract deployed on the first blockchain includes a oracle communication contract, which is used to subscribe to the air node deployed by the data verification system, send a data update request to the subscribed air node through the oracle communication contract, and receive the verification data returned by the air node, so that the verification data required for the execution of the smart contract generated by the data verification system can be directly pushed to the smart contract through the air node. The off-chain data required for the execution of the smart contract does not need to go through a third party. The data verification system directly provides the off-chain data to the smart contract, which can improve the reliability of the off-chain data required for the execution of the smart contract, thereby ensuring the correct execution of the smart contract on the blockchain.

[0110] Taking the insurance smart contract as an example, the data verification and data update method provided by the embodiment of this specification is illustrated. It is assumed that the insured and the insurance company have signed an insurance smart contract, which is deployed on the first blockchain. The insurance smart contract includes two parts. One part is the content execution contract, that is, the execution procedure of the specific insurance details. For example, when the insurance smart contract receives the claim application data, the insurance smart contract will transfer the money from the digital wallet address of the insurance company to the digital wallet address of the insured; of course, the specific payment method can be unlimited, for example, the insurance smart contract can also upload the claim application data to the chain, and the insurance company can transfer the money offline, or transfer the money online. The other part is the oracle communication contract, which is introduced by the insurance smart contract in the form of a code package. The oracle communication contract will subscribe to a specific oracle. Here, the oracle communication contract of the insurance smart contract subscribes to the air node deployed by the data verification system so that it can be pushed after the data is updated. The data verification system can provide functions such as claim data verification and data storage. The address of the insurance smart contract needs to be added to the subscribed air node's address whitelist in advance. The way to add the address whitelist is to sign a whitelist smart contract, bind the insurance company's digital wallet address and the insurance smart contract address to the whitelist smart contract. Through the whitelist smart contract, the air node can obtain the address to send data. Data verification and data update methods include:

[0111] Step 1. A user (policyholder, insurance beneficiary or agent) generates a claim demand and submits a data verification request with the data to be verified through the client; here, the data to be verified is specifically the claim application data.

[0112] Step 2: After receiving the data verification request, the data verification system will conduct an integrity comparison on the claim application data according to the provisions of the insurance smart contract. For example, medical insurance requires a diagnosis certificate, a list of medicines, a hospital receipt, etc., while auto insurance requires a transportation department accident certification responsibility letter, a compensation receipt, etc.

[0113] Step 3: The data verification system distributes the claim application data to multiple insurance claim verification nodes according to the provisions of the insurance smart contract; multiple verification nodes verify the claim application data respectively, generate first verification data and store it in the second blockchain of the data verification system.

[0114] The verification node can be a programmed, manual online system or a manual + offline client, and the verification method is specified by the insurance smart contract. Since the claim application data of different insurance categories are completely different, it is necessary to generate the corresponding first verification data according to the standard data template provided by the insurance smart contract. For example, the standard data templates for life insurance and vehicle insurance are different, and the verification node needs to provide the corresponding first verification data according to the specific standard data template.

[0115] Step 4: The insurance smart contract regularly sends data update requests to the subscribed air nodes through the oracle communication contract, and the air nodes deployed by the data verification system listen to the data update requests sent by the subscribed oracle communication contract.

[0116] Step 5: Based on the monitored data update request, the air node aggregates and encapsulates the first verification data on the second blockchain obtained from the managed API according to the set standard (such as the OIS standard) to obtain the second verification data.

[0117] Step 6: The insurance smart contract receives the second verification data returned by the air node. If the second verification data meets the preset execution trigger conditions, the corresponding claim settlement operation is performed according to the second verification data.

[0118] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Figure 7At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0119] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0120] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0121] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a data verification system with air nodes deployed at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0122] In response to a data verification request submitted by a requester and carrying data to be verified, verify the data to be verified and generate first verification data;

[0123] Based on the monitored data update request, encapsulate the first verification data obtained through the application program interface API to obtain second verification data, and push the second verification data to the smart contract;

[0124] The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, the smart contract includes an oracle communication contract, the oracle communication contract is used to subscribe to the air node, and the air node is used to monitor data update requests sent by the subscribed oracle communication contract.

[0125] Alternatively, the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a smart contract at the logical level, wherein the smart contract includes a oracle communication contract, and the oracle communication contract is used to subscribe to the air node deployed by the data verification system. The processor executes the program stored in the memory and is specifically used to perform the following operations:

[0126] Sending a data update request to the subscribed air node through the oracle communication contract;

[0127] receiving second verification data returned by the air node based on the data update request;

[0128] Among them, the second verification data is obtained by the data verification system in response to a data verification request containing data to be verified submitted by the requester, and the data to be verified is obtained by the air node after data verification and data packaging. The data to be verified includes business data used to trigger the execution of the smart contract.

[0129] The above is as in this manual Figure 4 The method performed by the data verification system disclosed in the embodiment shown or as described in this specification Figure 6The method for executing a smart contract disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or by instructions in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of this specification can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0130] It should be understood that the electronic device of the embodiment of this specification can implement the data verification system in Figure 4 The functions or smart contracts of the embodiments shown are Figure 6 Functions of the embodiments shown. Since the principles are the same, the embodiments of this specification will not be described in detail here.

[0131] Of course, in addition to software implementation, the electronic device of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0132] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 4 The method of the embodiment shown is specifically used to perform the following operations:

[0133] In response to a data verification request submitted by a requester and carrying data to be verified, verify the data to be verified and generate first verification data;

[0134] Based on the monitored data update request, encapsulate the first verification data obtained through the application program interface API to obtain second verification data, and push the second verification data to the smart contract;

[0135] The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, the smart contract includes an oracle communication contract, the oracle communication contract is used to subscribe to the air node, and the air node is used to monitor data update requests sent by the subscribed oracle communication contract.

[0136] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 6 The method of the embodiment shown is specifically used to perform the following operations:

[0137] Sending a data update request to the subscribed air node through the oracle communication contract;

[0138] receiving second verification data returned by the air node based on the data update request;

[0139] Among them, the second verification data is obtained by the data verification system in response to a data verification request containing data to be verified submitted by the requester, and the data to be verified is obtained by the air node after data verification and data packaging. The data to be verified includes business data used to trigger the execution of the smart contract.

[0140] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0141] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the protection scope of this specification.

[0142] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0143] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0144] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0145] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A data verification method, characterized in that: Applied to a data verification system, the data verification system is deployed with an air node and at least two decentralized verification nodes, and the method includes: In response to a data verification request submitted by a requester and carrying data to be verified, each of the verification nodes verifies the data to be verified and generates first verification data; Based on the monitored data update request, the air node encapsulates the first verification data obtained through the application program interface API to obtain second verification data, and pushes the second verification data to the smart contract on the first blockchain; The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, the smart contract includes an oracle communication contract, the oracle communication contract is used to subscribe to the air node, and the air node is used to monitor data update requests sent by the subscribed oracle communication contract.

2. The method according to claim 1, characterized in that The performing data verification on the data to be verified to generate first verification data specifically includes: Each of the verification nodes verifies the authenticity of the data to be verified and obtains a corresponding verification result; and generates the first verification data based on the data to be verified and the verification result corresponding to the data to be verified.

3. The method according to claim 2, characterized in that Before each of the verification nodes respectively verifies the authenticity of the data to be verified, the method further includes: A data verification request containing data to be verified is received from a requesting party, integrity verification is performed on the data to be verified, and the data to be verified that passes the integrity verification is distributed to each of the verification nodes.

4. The method according to claim 2, characterized in that: The data verification system further includes a second blockchain, and the method further includes: The first verification data generated by each verification node is stored in the second blockchain.

5. The method according to claim 4, characterized in that The step of encapsulating the first verification data obtained through the application program interface (API) based on the monitored data update request to obtain the second verification data specifically includes: Based on the monitored data update request, the first verification data on the second blockchain obtained from the API is aggregated and packaged according to the set standard to obtain the second verification data, and the set standard is determined according to the smart contract.

6. The method according to claim 1 or 2, characterized in that: The oracle communication contract includes identification information of the subscribed air node, the oracle communication contract communicates with the subscribed air node based on the identification information, and the address whitelist of the air node includes the address of the smart contract corresponding to the subscribed oracle communication contract; The pushing the second verification data to the smart contract specifically includes: Based on the monitored data update request, call the address of the smart contract corresponding to the oracle communication contract from the address whitelist; Pushing the second verification data to the smart contract based on the address.

7. A data updating method, characterized in that: Applied to a smart contract deployed on a first blockchain, the smart contract comprising an oracle communication contract, the oracle communication contract being used to subscribe to an air node deployed by a data verification system, the method comprising: Sending a data update request to the subscribed air node through the oracle communication contract; receiving second verification data returned by the air node based on the data update request; Among them, the second verification data is obtained by the air node after data verification of the data to be verified, in response to the data verification request submitted by the requester carrying the data to be verified by the decentralized verification node in the data verification system, and the data to be verified includes business data used to trigger the execution of the smart contract.

8. The method according to claim 7, characterized in that The smart contract also includes a content execution contract, which includes preset execution trigger conditions and corresponding execution methods; After receiving the second verification data returned by the air node based on the data update request, the method further includes: If the second verification data meets the preset execution trigger condition, the smart contract automatically executes the corresponding execution method according to the execution trigger condition.

9. A data verification system, characterized in that: It includes a verification subsystem, a storage subsystem and an application program interface API. The data verification system is deployed with an air node and at least two decentralized verification nodes, wherein: The verification subsystem is used to respond to the data verification request submitted by the requester and carrying the data to be verified, and each of the verification nodes verifies the data to be verified, generates first verification data, and stores it in the storage subsystem; The storage subsystem is used to store the first verification data generated by the verification subsystem; The air node is used to monitor the data update request sent by the subscribed oracle communication contract, and based on the monitored data update request, encapsulate the first verification data obtained from the storage subsystem through the application program interface API to obtain the second verification data, and push the second verification data to the smart contract on the first blockchain; The data to be verified includes business data used to trigger the execution of a smart contract deployed on the first blockchain, and the smart contract includes an oracle communication contract, and the oracle communication contract is used to subscribe to the air node.

10. The system according to claim 9, characterized in that The storage subsystem includes a second blockchain, wherein: Each of the verification nodes is used to respond to a data verification request submitted by a requesting party that carries the data to be verified, verify the authenticity of the data to be verified, and obtain a corresponding verification result; generate the first verification data based on the data to be verified and the verification result corresponding to the data to be verified, and store it in the second blockchain.

11. The system according to claim 10, characterized in that The data verification system also includes: The data verification and distribution module is used to receive a data verification request submitted by a requester and containing data to be verified, perform integrity verification on the data to be verified, and distribute the data to be verified that passes the integrity verification to each of the verification nodes.

12. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 6, or to implement the method according to claim 7 or 8.

13. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 6, or the electronic device is enabled to execute the method as claimed in claim 7 or 8.