CN113468276A - Trusted data acquisition method and device of on-chain prediction machine and electronic equipment - Google Patents
Trusted data acquisition method and device of on-chain prediction machine and electronic equipment Download PDFInfo
- Publication number
- CN113468276A CN113468276A CN202111035568.3A CN202111035568A CN113468276A CN 113468276 A CN113468276 A CN 113468276A CN 202111035568 A CN202111035568 A CN 202111035568A CN 113468276 A CN113468276 A CN 113468276A
- Authority
- CN
- China
- Prior art keywords
- external data
- information
- chain
- authentication result
- result information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Storage Device Security (AREA)
Abstract
The application provides a method and a device for acquiring trusted data of a prediction machine on a chain, electronic equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of acquiring occurrence time of external data based on a chain prophetic machine, registering the acquired external data into the chain prophetic machine, acquiring a result of checking and authenticating the external data, determining that the external data is credible data according to the result of checking and authenticating the external data, and storing the external data onto a block chain corresponding to the chain prophetic machine, so that in the process of acquiring the credible data by the chain prophetic machine, the external data is determined to be credible data based on the result of checking and authenticating the external data acquired by the chain prophetic machine, and the external data is stored onto the block chain corresponding to the chain prophetic machine, so that the reliability of the data of the chain prophetic machine is ensured, the risk of wrongly communicating and dislocating multiple nodes is reduced, and the safety of the prophetic machine and the credibility of the data are improved.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a trusted data acquisition method and device of a prediction machine on a chain, electronic equipment and a storage medium.
Background
In the application of the blockchain, the blockchain cannot actively acquire external data, in the related art, the blockchain is closed, and interaction with an intelligent contract on the blockchain can be performed through a decentralized prediction machine, but the implementation scheme has unreliable data and higher cost, which causes problems of increased network pressure of the blockchain, complicated logic of the intelligent contract and the like.
Disclosure of Invention
The application provides a trusted data acquisition method and device of a chained prediction machine, electronic equipment and a storage medium.
An embodiment of an aspect of the present application provides a method for obtaining trusted data of a chained oracle machine, where the method is applied to the chained oracle machine, and the method includes: acquiring external data acquired by a prediction machine on a chain and the occurrence time of the external data; registering the external data into the on-chain prediction machine in real time according to the occurrence time; obtaining a verification authentication result of the external data; and determining that the external data is credible data according to the verification and authentication result of the external data, and storing the external data to a block chain corresponding to the on-chain prediction machine.
In an embodiment of the application, the obtaining of the verification authentication result of the external data includes: acquiring registration information of the external data from the block chain; acquiring authentication result information of the registration information from the block chain; obtaining verification result information of the authentication result information from the block chain; and determining the verification and authentication result of the external data according to the verification result information.
In one embodiment of the present application, the method further comprises: receiving the registration information uploaded by a registration certification authority for the external data, and saving the registration information to the block chain; acquiring a trusted authority which can authenticate the registration information; sending a request for authentication of the registration information to the trusted authority; receiving response information fed back by the trusted authority aiming at the authentication request, wherein the response information comprises the authentication result information; and storing the authentication result information to the block chain.
In one embodiment of the present application, the method further comprises: receiving a checking request of a supervision agency for the external data; sending the authentication result information to the supervision agency according to the checking request; and receiving the checking result information returned by the supervision mechanism aiming at the authentication result information, and storing the checking result information to the block chain.
In an embodiment of the application, the on-chain prediction machine includes an intelligent contract, and the obtaining of the verification authentication result of the external data includes: calling registration information of the external data from the intelligent contract; calling authentication result information of the registration information from the intelligent contract; calling verification result information of the authentication result information from the intelligent contract; and determining the verification and authentication result of the external data according to the verification result information.
In one embodiment of the present application, the method further comprises: receiving a use record query request of the terminal equipment for the external data; and acquiring the use record information corresponding to the external data according to the use record inquiry request, and returning the use record information to the terminal equipment.
The method comprises the steps of acquiring occurrence time of external data based on the on-chain prophetic machine, registering the acquired external data into the on-chain prophetic machine, acquiring a result of checking and authenticating the external data, determining that the external data is credible data according to the checking and authenticating result of the external data, storing the external data onto a block chain corresponding to the on-chain prophetic machine, and accordingly, determining that the external data is credible data based on the checking and authenticating result of the external data acquired by the on-chain prophetic machine in the process of acquiring the credible data by the on-chain prophetic machine, and storing the external data onto the block chain corresponding to the on-chain prophetic machine, so that reliability of the data of the on-chain prophetic machine is ensured, risks of disqualification of multi-node strings are reduced, and safety of the prophetic machine and credibility of the data are improved.
In another aspect, an embodiment of the present application provides a trusted data obtaining apparatus for a chain prediction machine, where the apparatus is applied to the chain prediction machine, and the apparatus includes: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring external data acquired by a prediction machine on a chain and the occurrence time of the external data; the registration module is used for registering the external data into the on-chain prediction machine in real time according to the occurrence time; the second acquisition module is used for acquiring a verification authentication result of the external data; and the determining module is used for determining that the external data is the credible data according to the verification and authentication result of the external data, and storing the external data to the block chain corresponding to the on-chain prediction machine.
In an embodiment of the application, the second obtaining module includes: a first acquisition unit configured to acquire registration information of the external data from the block chain; a second acquisition unit configured to acquire authentication result information of the registration information from the block chain; a third obtaining unit, configured to obtain verification result information of the authentication result information from the block chain; and the determining unit is used for determining the verification and authentication result of the external data according to the verification result information.
In one embodiment of the present application, the apparatus further comprises: the first receiving module is used for receiving the registration information uploaded by a registration certification authority aiming at the external data and saving the registration information to the block chain; the third acquisition module is used for acquiring a trusted authority which can authenticate the registration information; a first sending module, configured to send a certification request for the registration information to the trusted authority; a second receiving module, configured to receive response information fed back by the trusted authority for the authentication request, where the response information includes the authentication result information; and the storage module is used for storing the authentication result information to the block chain.
In one embodiment of the present application, the apparatus further comprises: the third receiving module is used for receiving a checking request of a supervision mechanism for the external data; the second sending module is used for sending the authentication result information to the supervision mechanism according to the checking request; and the fourth receiving module is used for receiving the checking result information returned by the supervision mechanism aiming at the authentication result information and storing the checking result information to the block chain.
In an embodiment of the application, the on-chain prediction engine includes an intelligent contract, and the second obtaining module is specifically configured to: calling registration information of the external data from the intelligent contract; calling authentication result information of the registration information from the intelligent contract; calling verification result information of the authentication result information from the intelligent contract; and determining the verification and authentication result of the external data according to the verification result information.
In one embodiment of the present application, the apparatus further comprises: a fifth receiving module, configured to receive a usage record query request of the terminal device for the external data; and the fourth acquisition module is used for acquiring the use record information corresponding to the external data according to the use record query request and returning the use record information to the terminal equipment.
The application provides a credible data acquisition device of an on-chain prophetic machine, which is characterized in that the occurrence time of external data is acquired by the on-chain prophetic machine, the acquired external data is registered in the on-chain prophetic machine, the result of checking and authenticating the external data is acquired, the external data is determined to be credible data according to the checking and authenticating result of the external data, so that the external data is stored on a block chain corresponding to the on-chain prophetic machine, therefore, in the process of acquiring the credible data by the on-chain prophetic machine, the external data is determined to be credible data based on the checking and authenticating result of the external data acquired by the on-chain prophetic machine, and the external data is stored on the block chain corresponding to the on-chain prophetic machine, so that the reliability of the data of the on-chain prophetic machine is ensured, the risk of disqualification of a multi-node string is reduced, and the safety of the prophetic machine and the credibility of the data are improved.
An embodiment of another aspect of the present application provides an electronic device, including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the trusted data acquisition method of the on-chain prediction machine in the embodiment of the application.
Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is used for implementing the method for obtaining trusted data of a chained prediction machine in the embodiment of the present application.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
Fig. 1 is a schematic flowchart of a method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
Fig. 2 is a flow chart of information interaction of a speaker according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating another method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating another method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a trusted data acquisition device of a chained prediction machine according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a trusted data acquisition device of a chained prediction machine according to another embodiment of the present application.
FIG. 7 is a block diagram of an electronic device of one embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a trusted data acquisition method, apparatus, and electronic device of a chained prediction machine according to an embodiment of the present application with reference to the drawings.
Fig. 1 is a schematic flowchart of a method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application. It should be noted that an execution main body of the trusted data acquisition method of the chain-based talker in this embodiment is a trusted data acquisition device of the chain-based talker, where the trusted data acquisition device of the chain-based talker may be implemented by software and/or hardware, and the trusted data acquisition device of the chain-based talker in this embodiment may be configured with the chain-based talker.
Fig. 1 is a schematic flowchart of a method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
As shown in fig. 1, the method for obtaining trusted data of the chained prediction machine may include:
In some embodiments, the external data collected by the on-chain prediction machine is data provided by a reliable agency, such as, but not limited to, weather-related data, which may be collected from a weather bureau.
In some embodiments, the occurrence time of the external data collected by the on-chain prediction machine needs to be recorded in the on-chain prediction machine, so as to facilitate later determination of the sequence of registering the external data according to the occurrence time.
And step 102, registering the external data into the on-chain prediction machine in real time according to the occurrence time.
In some embodiments, after the occurrence time of the collected external data of the on-chain prediction machine is acquired, the external data is determined according to the occurrence time, and the external data is registered in the on-chain prediction machine in the sequence of the external data in real time.
And 103, acquiring a verification and authentication result of the external data.
In some embodiments, when the on-chain prediction machine is implemented by using an independent blockchain, one way to obtain the verification authentication result of the external data is to: and acquiring registration information of the external data, authentication result information of the registration information and verification result information of the authentication result information from the block chain, thereby determining a verification authentication result of the external data according to the verification result information.
In some embodiments, one implementation of obtaining the authentication result information of the registration information from the blockchain is as follows: the method comprises the steps of receiving registration information uploaded by a registration certification authority aiming at external data, storing the registration information in a block chain, acquiring a trusty authority capable of certifying the registration information, sending a certification request aiming at the registration information to the trusty authority, receiving response information fed back by the trusty authority aiming at the certification request, wherein the response information comprises certification result information, and finally storing the certification result information in the block chain.
Based on the above embodiment, one implementation manner of obtaining the verification result information of the authentication result information from the blockchain is as follows: the method comprises the steps of sending authentication result information to a monitoring mechanism according to a checking request of the monitoring mechanism for external data by receiving the checking request, receiving checking result information returned by the monitoring mechanism for the authentication result information, and storing the checking result information to a block chain.
In other embodiments, when the on-chain predicting machine is implemented by deploying an intelligent contract on a public chain, the on-chain predicting machine includes the intelligent contract, and one embodiment of the verification authentication result for obtaining the external data is as follows: the method comprises the steps of calling registration information of external data from an intelligent contract, calling authentication result information of the registration information from the intelligent contract, and finally calling verification result information of the authentication result information from the intelligent contract, so that a verification authentication result of the external data is determined according to the verification result information.
And 104, determining that the external data is the credible data according to the verification and authentication result of the external data, and storing the external data to the block chain corresponding to the on-chain prediction machine.
In some embodiments, according to the verification and authentication result of the external data, it is determined that the external data passing through the verification and authentication are all trusted data, so as to store the trusted data passing through the verification and authentication to the block chain corresponding to the on-chain prediction machine.
The method comprises the steps of acquiring occurrence time of external data based on the on-chain prophetic machine, registering the acquired external data into the on-chain prophetic machine, acquiring a result of checking and authenticating the external data, determining that the external data is credible data according to the checking and authenticating result of the external data, storing the external data onto a block chain corresponding to the on-chain prophetic machine, and accordingly, determining that the external data is credible data based on the checking and authenticating result of the external data acquired by the on-chain prophetic machine in the process of acquiring the credible data by the on-chain prophetic machine, and storing the external data onto the block chain corresponding to the on-chain prophetic machine, so that reliability of the data of the on-chain prophetic machine is ensured, risks of disqualification of multi-node strings are reduced, and safety of the prophetic machine and credibility of the data are improved.
Based on the above embodiment, in order to conveniently know the use condition of the external data, the on-chain prediction machine may further receive a use record query request of the terminal device for the external data, acquire use record information corresponding to the external data according to the use record query request, and return the use record information to the terminal device.
In some embodiments, the on-chain talker may communicate information with a registration certification authority, a trusted certification authority, and a supervision authority, where the registration certification authority is configured to register information on the on-chain talker, the trusted certification authority is configured to obtain non-certified information under the attribution, perform certification, and register corresponding certification result information on the on-chain talker, and the supervision authority is configured to perform spot check on the information of the on-chain talker, find false information, perform an information checking operation, and register the checking result information on the on-chain talker, as shown in fig. 2, fig. 2 is a flowchart of information interaction between the terminal device and the on-chain talker.
It can be understood that the registration mechanism can generate a public and private key according to rules, initiate a request for applying for registering the certification mechanism and use a private key signature, and after the supervision mechanism passes the application approval, initiate an information registration request to the chain and use a private key signature.
The trusted certification authority can generate a public and private key according to rules, initiate application and registration of the trusted certification authority and use the private key for signature, and after the application is approved by the supervision authority, the digital identity information registration with the corresponding authority can be obtained for information certification.
The supervision mechanism has no information registration and information authentication authority, and only has application and approval authority for the registration authentication mechanism and the credible authentication mechanism and information verification authority for digital identity information authenticated by the credible authentication mechanism.
Fig. 3 is a flowchart illustrating another method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
And step 302, registering external data into the on-chain prediction machine in real time according to the occurrence time.
It should be noted that, regarding the specific implementation manner of steps 301 to 302, reference may be made to the relevant description in the above embodiments.
In some embodiments, the on-chain prediction engine may be implemented by using a separate blockchain, and the external registration information obtained on the blockchain includes, but is not limited to, request parameter information such as "information type", "information name", "information description", "information hash", "registration certificate authority signature", and the like.
In some embodiments, the authentication result information of the registration information obtained from the block chain includes, but is not limited to, request parameters such as "information id", "information hash", "confirmation information result (bool type)", "trusted certificate authority signature", and the like.
In some embodiments, the verification result information of the authentication result information obtained from the block chain includes, but is not limited to, request parameters such as "information id", "information hash", "confirmation information result (bool type)", "regulatory agency signature", and the like.
And step 306, determining the verification and authentication result of the external data according to the verification result information.
And 307, determining that the external data is the credible data according to the verification and authentication result of the external data, and storing the external data to the block chain corresponding to the on-chain prediction machine.
The application provides a credible data acquisition method of a chained prediction machine, which is characterized in that the acquired external data is registered in the chained prediction machine based on the occurrence time of the external data acquired by the chained prediction machine, and obtaining the registration information, the authentication result information and the verification result information stored in the block chain to determine the verification authentication result, determining that the external data is credible data according to the verification authentication result of the external data, so as to save the external data onto the block chain corresponding to the on-chain prediction machine, thereby, in the process of acquiring the credible data by the on-chain prediction machine, determining that the external data is credible data based on the verification and authentication result of the external data acquired by the on-chain prediction machine, storing the external data in a block chain corresponding to the on-chain prediction machine, therefore, the phenomenon of confusion of external data in the block chain corresponding to the on-chain prediction machine is reduced, and the trustiness and the safety of the data of the on-chain prediction machine are ensured.
Based on the above embodiment, the language predicting machine is implemented by using an independent blockchain, and the blockchain deploys a plurality of nodes, where the blockchain deploys a plurality of nodes, each node receives information registration of a registration certification authority, information certification of a trusted certification authority, and information verification of a regulatory authority, and an implementation formula of implementing the language predicting machine by using the independent blockchain is as follows: receiving an information registration result of a registration certification mechanism on external data, acquiring an information certification result of a trusted mechanism on the information registration result according to the information registration result, acquiring a verification certification result of a supervision mechanism on the information certification result, receiving the external data which passes information verification on a plurality of nodes deployed on a block chain, caching the external data received on the chain to a transaction pool of a current node according to the external data received by the nodes, broadcasting the external data received on the chain to other nodes, and storing the external data received by the nodes on the chain into the block chain through multi-node common-identification confirmation through a negotiated common-identification mechanism.
Fig. 4 is a flowchart illustrating another method for obtaining trusted data of a chained prediction machine according to an embodiment of the present application.
And step 402, registering external data into the on-chain prediction machine in real time according to the occurrence time.
It should be noted that, as to the specific implementation manner of steps 401 to 402, reference may be made to the relevant description in the above embodiments.
And step 403, calling the registration information of the external data from the intelligent contract.
And step 404, calling the authentication result information of the registration information from the intelligent contract.
In some embodiments, the on-chain predictive engine may be implemented by deploying an intelligent contract on a public chain, wherein the intelligent contract with on-chain predictive engine functionality may be deployed by a regulatory body.
In some embodiments, the administrator of the pre-defined contract on the chain of the supervising authority, the intelligent contract comprises authority role applications of the registration certification authority and the credible certification authority, registration certification authority information registration functions, credible certification authority information certification functions and authority role application approval and verification functions of the certification information of the supervising authority, so that registration information of external data, certification result information of the registration information and verification result information of the certification result information are called through the intelligent contract.
And 406, determining a verification authentication result of the external data according to the verification result information.
In some embodiments, one implementation manner of determining the verification authentication result of the external data according to the verification result information is as follows: the method comprises the steps of receiving checking result information called by a supervision mechanism through an intelligent contract, checking the checking result information according to a down-link checking program in the supervision mechanism, obtaining a checking authentication result for checking the checking result information by the down-link checking program, if the checking authentication result normally executed by the checking program is abnormal, checking authentication to be passed, if the checking authentication result normally executed by the checking program is abnormal, checking authentication not to be passed, and performing on-link forbidden processing on the checking authentication result.
The application provides a credible data acquisition method of a chain prediction machine, which is characterized in that the occurrence time of external data is collected by the chain prediction machine, the collected external data is registered in the chain prediction machine, the registration information of the external data, the authentication result information of the registration information and the verification result information of the authentication result information are called through an intelligent contract, the external data is determined to be credible data according to the verification authentication result of the external data, so that the external data is stored in a block chain corresponding to the chain prediction machine, therefore, in the process of acquiring the credible data by the chain prediction machine, the external data is determined to be credible data based on the verification authentication result of the external data collected by the chain prediction machine, and the external data is stored in the block chain corresponding to the chain prediction machine, thereby ensuring the credibility and the safety of the data of the chain prediction machine, the risk of multi-node collusion doing badness is reduced.
Fig. 5 is a schematic structural diagram of a trusted data acquisition device of a chained prediction machine according to an embodiment of the present application.
As shown in fig. 5, the trusted data acquisition device 500 of the chained prediction machine includes:
the first obtaining module 501 is configured to obtain external data collected by a prediction machine on a chain and occurrence time of the external data.
And the registering module 502 is used for registering the external data into the on-chain prediction machine in real time according to the occurrence time.
A second obtaining module 503, configured to obtain a verification authentication result of the external data.
And the determining module 505 is configured to determine that the external data is trusted data according to the verification authentication result of the external data, and store the external data in the block chain corresponding to the on-chain prediction machine.
The application provides a credible data acquisition device of an on-chain prophetic machine, which is characterized in that the occurrence time of external data is acquired by the on-chain prophetic machine, the acquired external data is registered in the on-chain prophetic machine, the result of checking and authenticating the external data is acquired, the external data is determined to be credible data according to the checking and authenticating result of the external data, so that the external data is stored on a block chain corresponding to the on-chain prophetic machine, therefore, in the process of acquiring the credible data by the on-chain prophetic machine, the external data is determined to be credible data based on the checking and authenticating result of the external data acquired by the on-chain prophetic machine, and the external data is stored on the block chain corresponding to the on-chain prophetic machine, so that the reliability of the data of the on-chain prophetic machine is ensured, the risk of disqualification of a multi-node string is reduced, and the safety of the prophetic machine and the credibility of the data are improved.
In an embodiment of the present application, as shown in fig. 6, the second obtaining module 503 includes:
a first obtaining unit 5031, configured to obtain registration information of the external data from the block chain.
A second obtaining unit 5032, configured to obtain the authentication result information of the registration information from the block chain.
A third obtaining unit 5033, configured to obtain verification result information of the authentication result information from the blockchain.
A determining unit 5034 configured to determine a verification authentication result of the external data according to the verification result information.
In one embodiment of the present application, as shown in fig. 6, the apparatus further comprises:
a first receiving module 505, configured to receive registration information uploaded by the registration certification authority for external data, and store the registration information onto the block chain.
A third obtaining module 506, configured to obtain a trusted authority that can authenticate the registration information.
A first sending module 507, configured to send an authentication request for the registration information to a trusted authority.
A second receiving module 508, configured to receive response information fed back by the trusted authority for the authentication request, where the response information includes authentication result information.
A saving module 509, configured to save the authentication result information to the blockchain.
In one embodiment of the present application, as shown in fig. 6, the apparatus further comprises:
a third receiving module 510, configured to receive a checking request of the administrator for the external data.
And a second sending module 511, configured to send the authentication result information to the monitoring authority according to the checking request.
A fourth receiving module 512, configured to receive the verification result information returned by the monitoring authority for the authentication result information, and store the verification result information on the block chain.
In an embodiment of the present application, as shown in fig. 6, the on-chain prediction machine includes an intelligent contract, and the second obtaining module 503 is specifically configured to:
and calling the registration information of the external data from the intelligent contract.
And calling the authentication result information of the registration information from the intelligent contract.
And calling the verification result information of the authentication result information from the intelligent contract.
And determining the verification and authentication result of the external data according to the verification result information.
In one embodiment of the present application, as shown in fig. 6, the apparatus further comprises:
a fifth receiving module 513, configured to receive a usage record query request of the terminal device for external data.
A fourth obtaining module 514, configured to obtain, according to the usage record query request, usage record information corresponding to the external data, and return the usage record information to the terminal device.
The application provides a credible data acquisition device of an on-chain prophetic machine, which is characterized in that the occurrence time of external data is acquired by the on-chain prophetic machine, the acquired external data is registered in the on-chain prophetic machine, the result of checking and authenticating the external data is acquired, the external data is determined to be credible data according to the checking and authenticating result of the external data, so that the external data is stored on a block chain corresponding to the on-chain prophetic machine, therefore, in the process of acquiring the credible data by the on-chain prophetic machine, the external data is determined to be credible data based on the checking and authenticating result of the external data acquired by the on-chain prophetic machine, and the external data is stored on the block chain corresponding to the on-chain prophetic machine, so that the reliability of the data of the on-chain prophetic machine is ensured, the risk of disqualification of a multi-node string is reduced, and the safety of the prophetic machine and the credibility of the data are improved.
FIG. 7 is a block diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 7, the electronic device includes:
The processor 702, when executing the instructions, implements the trusted data acquisition method of the on-chain prediction machine provided in the embodiments described above.
Further, the electronic device further includes:
a communication interface 703 for communication between the memory 701 and the processor 702.
A memory 701 for storing computer instructions executable on the processor 702.
The memory 701 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 702 is configured to implement the trusted data obtaining method of the chained prediction machine according to the foregoing embodiment when executing the program.
If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 701, the processor 702, and the communication interface 703 are integrated on a chip, the memory 701, the processor 702, and the communication interface 703 may complete mutual communication through an internal interface.
The processor 702 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (14)
1. A trusted data acquisition method of a chain prediction machine, wherein the method is applied to the chain prediction machine, and the method comprises:
acquiring external data acquired by a prediction machine on a chain and the occurrence time of the external data;
registering the external data into the on-chain prediction machine in real time according to the occurrence time;
obtaining a verification authentication result of the external data;
and determining that the external data is credible data according to the verification and authentication result of the external data, and storing the external data to a block chain corresponding to the on-chain prediction machine.
2. The method of claim 1, wherein the obtaining of the verification authentication result of the external data comprises:
acquiring registration information of the external data from the block chain;
acquiring authentication result information of the registration information from the block chain;
obtaining verification result information of the authentication result information from the block chain;
and determining the verification and authentication result of the external data according to the verification result information.
3. The method of claim 2, wherein the method further comprises:
receiving the registration information uploaded by a registration certification authority for the external data, and saving the registration information to the block chain;
acquiring a trusted authority which can authenticate the registration information;
sending a request for authentication of the registration information to the trusted authority;
receiving response information fed back by the trusted authority aiming at the authentication request, wherein the response information comprises the authentication result information;
and storing the authentication result information to the block chain.
4. The method of claim 2 or 3, wherein the method further comprises:
receiving a checking request of a supervision agency for the external data;
sending the authentication result information to the supervision agency according to the checking request;
and receiving the checking result information returned by the supervision mechanism aiming at the authentication result information, and storing the checking result information to the block chain.
5. The method of claim 1, wherein the on-chain prediction machine comprises an intelligent contract, and the obtaining of the verification authentication result of the external data comprises:
calling registration information of the external data from the intelligent contract;
calling authentication result information of the registration information from the intelligent contract;
calling verification result information of the authentication result information from the intelligent contract;
and determining the verification and authentication result of the external data according to the verification result information.
6. The method of claim 1, wherein the method further comprises:
receiving a use record query request of the terminal equipment for the external data;
acquiring usage record information corresponding to the external data according to the usage record inquiry request,
and returning the use record information to the terminal equipment.
7. A trusted data acquisition apparatus of a chain prediction machine, wherein the apparatus is applied to the chain prediction machine, and the apparatus comprises:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring external data acquired by a prediction machine on a chain and the occurrence time of the external data;
the registration module is used for registering the external data into the on-chain prediction machine in real time according to the occurrence time;
the second acquisition module is used for acquiring a verification authentication result of the external data;
and the determining module is used for determining that the external data is the credible data according to the verification and authentication result of the external data, and storing the external data to the block chain corresponding to the on-chain prediction machine.
8. The apparatus of claim 7, wherein the second obtaining module comprises:
a first acquisition unit configured to acquire registration information of the external data from the block chain;
a second acquisition unit configured to acquire authentication result information of the registration information from the block chain;
a third obtaining unit, configured to obtain verification result information of the authentication result information from the block chain;
and the determining unit is used for determining the verification and authentication result of the external data according to the verification result information.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the first receiving module is used for receiving the registration information uploaded by a registration certification authority aiming at the external data and saving the registration information to the block chain;
the third acquisition module is used for acquiring a trusted authority which can authenticate the registration information;
a first sending module, configured to send a certification request for the registration information to the trusted authority;
a second receiving module, configured to receive response information fed back by the trusted authority for the authentication request, where the response information includes the authentication result information;
and the storage module is used for storing the authentication result information to the block chain.
10. The apparatus of claim 8 or 9, wherein the apparatus further comprises:
the third receiving module is used for receiving a checking request of a supervision mechanism for the external data;
the second sending module is used for sending the authentication result information to the supervision mechanism according to the checking request;
and the fourth receiving module is used for receiving the checking result information returned by the supervision mechanism aiming at the authentication result information and storing the checking result information to the block chain.
11. The apparatus of claim 7, wherein the on-chain prediction engine comprises an intelligent contract, and the second obtaining module is specifically configured to:
calling registration information of the external data from the intelligent contract;
calling authentication result information of the registration information from the intelligent contract;
calling verification result information of the authentication result information from the intelligent contract;
and determining the verification and authentication result of the external data according to the verification result information.
12. The apparatus of claim 7, wherein the apparatus further comprises:
a fifth receiving module, configured to receive a usage record query request of the terminal device for the external data;
and the fourth acquisition module is used for acquiring the use record information corresponding to the external data according to the use record query request and returning the use record information to the terminal equipment.
13. An electronic device, comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements a trusted data acquisition method of a chained prediction machine according to any of claims 1-6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for trusted data acquisition of a prediction machine on a chain as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111035568.3A CN113468276A (en) | 2021-09-06 | 2021-09-06 | Trusted data acquisition method and device of on-chain prediction machine and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111035568.3A CN113468276A (en) | 2021-09-06 | 2021-09-06 | Trusted data acquisition method and device of on-chain prediction machine and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113468276A true CN113468276A (en) | 2021-10-01 |
Family
ID=77867487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111035568.3A Pending CN113468276A (en) | 2021-09-06 | 2021-09-06 | Trusted data acquisition method and device of on-chain prediction machine and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113468276A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113961918A (en) * | 2021-12-15 | 2022-01-21 | 北京中科金财科技股份有限公司 | Prediction machine-based downlink data cooperation method and system |
CN114726584A (en) * | 2022-03-14 | 2022-07-08 | 湖南天河国云科技有限公司 | Block chain-based heterogeneous TEE unified predictive authentication method and platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160283920A1 (en) * | 2015-03-28 | 2016-09-29 | Justin Fisher | Authentication and verification of digital data utilizing blockchain technology |
CN111460457A (en) * | 2020-03-31 | 2020-07-28 | 腾讯科技(深圳)有限公司 | Real estate property registration supervision method, device, electronic equipment and storage medium |
CN111488616A (en) * | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Method and device for realizing preplan machine of service data block chain |
CN112150266A (en) * | 2020-05-07 | 2020-12-29 | 北京天德科技有限公司 | Design principle of intelligent contract prediction machine |
CN112363991A (en) * | 2020-11-10 | 2021-02-12 | 上海保险交易所股份有限公司 | Block chain data registration method and device |
-
2021
- 2021-09-06 CN CN202111035568.3A patent/CN113468276A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160283920A1 (en) * | 2015-03-28 | 2016-09-29 | Justin Fisher | Authentication and verification of digital data utilizing blockchain technology |
CN111460457A (en) * | 2020-03-31 | 2020-07-28 | 腾讯科技(深圳)有限公司 | Real estate property registration supervision method, device, electronic equipment and storage medium |
CN111488616A (en) * | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Method and device for realizing preplan machine of service data block chain |
CN112150266A (en) * | 2020-05-07 | 2020-12-29 | 北京天德科技有限公司 | Design principle of intelligent contract prediction machine |
CN112363991A (en) * | 2020-11-10 | 2021-02-12 | 上海保险交易所股份有限公司 | Block chain data registration method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113961918A (en) * | 2021-12-15 | 2022-01-21 | 北京中科金财科技股份有限公司 | Prediction machine-based downlink data cooperation method and system |
CN113961918B (en) * | 2021-12-15 | 2022-03-25 | 北京中科金财科技股份有限公司 | Prediction machine-based downlink data cooperation method and system |
CN114726584A (en) * | 2022-03-14 | 2022-07-08 | 湖南天河国云科技有限公司 | Block chain-based heterogeneous TEE unified predictive authentication method and platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110598446B (en) | Block chain-based test method, device, storage medium and computer equipment | |
CN109492378B (en) | Identity verification method based on equipment identification code, server and medium | |
CN110597918B (en) | Account management method, account management device and computer readable storage medium | |
CN108776616B (en) | Method for determining credible state of block chain node, block chain link point and system | |
CN111666565A (en) | Sandbox simulation test method and device, computer equipment and storage medium | |
CN111224782B (en) | Data verification method based on digital signature, intelligent device and storage medium | |
CN113468276A (en) | Trusted data acquisition method and device of on-chain prediction machine and electronic equipment | |
CN110866289B (en) | Block chain-based data processing method, device, server and storage medium | |
CN108989468B (en) | Trust network construction method and device | |
CN110650216B (en) | Cloud service request method and device | |
CN106656455B (en) | Website access method and device | |
CN111431908B (en) | Access processing method and device, management server and readable storage medium | |
CN110851877A (en) | Data processing method and device, block chain node point equipment and storage medium | |
CN112037062B (en) | Transaction consensus method, device, electronic equipment and readable storage medium | |
CN113806816A (en) | Electronic file management method and device based on block chain and electronic equipment | |
CN112037055B (en) | Transaction processing method, device, electronic equipment and readable storage medium | |
CN111586059B (en) | Block chain machine, block chain data access authentication method and computer readable storage medium | |
CN103559430B (en) | application account management method and device based on Android system | |
CN116094849B (en) | Application access authentication method, device, computer equipment and storage medium | |
CN115664772A (en) | Access request processing method and device, computer equipment and storage medium | |
CN112732676B (en) | Block chain-based data migration method, device, equipment and storage medium | |
CN110769010B (en) | Data management authority processing method and device and computer equipment | |
CN110597557B (en) | System information acquisition method, terminal and medium | |
CN111369246A (en) | Calling authentication method and device of intelligent contract, electronic equipment and storage medium | |
CN216673025U (en) | Access device for motor vehicle detection terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211001 |