CN108171083B - Block chain trusted data management method, system and computer readable storage medium - Google Patents
Block chain trusted data management method, system and computer readable storage medium Download PDFInfo
- Publication number
- CN108171083B CN108171083B CN201711363312.9A CN201711363312A CN108171083B CN 108171083 B CN108171083 B CN 108171083B CN 201711363312 A CN201711363312 A CN 201711363312A CN 108171083 B CN108171083 B CN 108171083B
- Authority
- CN
- China
- Prior art keywords
- trusted data
- trusted
- provider
- blockchain
- data source
- 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.)
- Active
Links
Images
Classifications
-
- 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/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Bioethics (AREA)
- Data Mining & Analysis (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a block chain trusted data management method, a system and a computer readable storage medium, wherein the block chain trusted data management method comprises the following steps: the block chain operator audits the data to be audited of the credible data provider according to the audit request sent by the credible data provider; if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center; and after the trusted data provider is successfully registered in the trusted data management center, the trusted data provider triggers a registration transaction for registering the trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center. The method and the system ensure the authenticity and the validity of the trusted data source data in the block chain system.
Description
Technical Field
The present invention relates to the field of block chain technologies, and in particular, to a block chain trusted data management method, system, and computer-readable storage medium.
Background
In the existing blockchain network, a manner of acquiring data outside a chain is generally that an off-chain data provider actively sends a transaction request to a blockchain, data provided by the off-chain data provider is written into a data source of a blockchain system, and other parties on the blockchain system that need to use the data acquire corresponding data from a specified data source. In a blockchain network in an uncontrolled environment, an off-chain data source and a data provider freely enter the blockchain network, auditing and supervision are not needed, reward and penalty measures are all completed spontaneously by a network algorithm, and a complex economic model is needed to control the role of providing wrong or outdated data, so that the data authenticity and validity of the blockchain system data source cannot be guaranteed.
Disclosure of Invention
The invention mainly aims to provide a block chain trusted data management method, a block chain trusted data management system and a computer readable storage medium, and aims to solve the technical problem that the authenticity and the validity of data source data of the existing block chain system cannot be guaranteed.
In order to achieve the above object, the present invention provides a method for managing blockchain trusted data, where the method for managing blockchain trusted data is applied to a blockchain network, where the blockchain network is provided with a trusted data provider, a blockchain operator, and a blockchain system, where the blockchain system includes a trusted data management center, and the method for managing blockchain trusted data includes the following steps:
the block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider;
if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center;
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center;
wherein the trusted data is obtained by the trusted data provider from an off-chain data provider.
Preferably, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the step of triggering, by the trusted data provider, a registration request for registering a trusted data source, and registering the trusted data source in the trusted data management center further includes:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether a trusted data source of the trusted data management center meets a freeze condition;
if the trusted data source of the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source;
modifying, by the blockchain system, a state of the trusted data source from a valid state to an invalid state according to the modification instruction.
Preferably, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the step of triggering, by the trusted data provider, a registration request for registering a trusted data source, and registering the trusted data source in the trusted data management center further includes:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether the trusted data provider satisfies a freeze condition;
if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the trusted data provider;
modifying, by the blockchain system, a state of the trusted data provider from a valid state to an invalid state according to the modification instruction.
Preferably, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the method further includes:
detecting, by the blockchain system, whether the trusted data source satisfies a penalty condition;
if the credible data source meets the punishment condition, deducting a credit score corresponding to the credible data source by the block chain system, and detecting whether the credit score of the credible data source is smaller than a preset score or not;
and if the credit score of the credible data source is smaller than the preset score, freezing the credible data source.
Preferably, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the method further includes:
after a participant in the blockchain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the blockchain system detects whether a reward instruction sent by the participant is received;
and if the reward instruction is received, correspondingly increasing the credit score corresponding to the credible data source and/or the credible data provider according to the reward instruction.
Preferably, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the method further includes:
after a participant in a block chain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the block chain operator detects whether an arbitration request sent by the participant is received;
after the arbitration request is received, the transaction of the participant for obtaining the credible data is checked according to the arbitration request to obtain a check result;
and if the credible data is determined to be the false data according to the inspection result, punishing operation is carried out on the credible data source and the credible data provider according to a preset rule.
Preferably, if it is confirmed that the to-be-audited data is audited, the block chain operator grants the trusted data provider a management right to manage the trusted data source, and the step of registering the trusted data provider in the trusted data management center includes:
if the data to be audited is approved, the block chain operator initiates a transaction request for creating the trusted data provider to the block chain system, and grants a management authority of the trusted data provider for managing the trusted data source, wherein the transaction request carries transaction data of the trusted data provider;
receiving, by the blockchain system, the transaction request and detecting whether the transaction request was sent by the blockchain operator;
if the transaction request is sent by the block chain operator, detecting whether the transaction data meets a preset condition;
and if the transaction data meet the preset conditions, registering the trusted data provider into the trusted data management center by a block chain operator.
In addition, to achieve the above object, the present invention further provides a blockchain trusted data management system, including a memory, a processor, and a blockchain trusted data management program stored on the memory and executable on the processor, where the blockchain trusted data management program, when executed by the processor, implements the steps of the blockchain trusted data management method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a blockchain trusted data management program stored thereon, where the blockchain trusted data management program, when executed by a processor, implements the steps of the blockchain trusted data management method as described above.
The block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider; if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center; after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration transaction for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center; wherein the trusted data is obtained by the trusted data provider from an off-chain data provider. After the data verification of the trusted data provider is passed, the trusted data provider is registered in the trusted data management center, and the data quality of the trusted data source is ensured through a verification mechanism; and after the trusted data provider is successfully registered, the trusted data source corresponding to the trusted data provider is registered in the trusted data management center, so that the authenticity and the validity of the trusted data source data in the block chain system are ensured.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a block chain trusted data management method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a block chain trusted data management method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a block chain trusted data management method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating a block chain trusted data management method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart illustrating a block chain trusted data management method according to a fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the blockchain trusted data management system. The block chain trusted data management system in the embodiment of the present invention may be a terminal device such as a PC (personal computer), a portable computer, or the like.
As shown in fig. 1, the block chain trusted data management system may include: a processor 1001, such as a CPU, a network interface 1004, a memory 1005, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the block chain trusted data management system may further include RF (Radio Frequency) circuits, sensors, WiFi modules, and the like.
Those skilled in the art will appreciate that the blockchain trusted data management system architecture shown in fig. 1 does not constitute a limitation of the terminal and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a type of computer storage medium, may include an operating system and a blockchain trusted data manager. The operating system is a program for managing and controlling hardware and software resources of the block chain trusted data management system, and supports the operation of the block chain trusted data management program and other software or programs.
The block chain trusted data management system is applied to a block chain network, the block chain network is provided with a trusted data provider, a block chain operator and a block chain system, and the block chain system comprises a trusted data management center. In the blockchain trusted data management system shown in fig. 1, the network interface 1004 is mainly used for connecting an off-chain data provider, and the processor 1001 may be configured to call the blockchain trusted data management program stored in the memory 1005 and perform the following operations:
the block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider;
if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center;
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center;
wherein the trusted data is obtained by the trusted data provider from an off-chain data provider.
Further, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and after the step of registering the trusted data source in the trusted data management center, the processor 1001 may be further configured to call a blockchain trusted data management program stored in the memory 1005, and execute the following steps:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether a trusted data source of the trusted data management center meets a freeze condition;
if the trusted data source of the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source;
modifying, by the blockchain system, a state of the trusted data source from a valid state to an invalid state according to the modification instruction.
Further, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and after the step of registering the trusted data source in the trusted data management center, the processor 1001 may be further configured to call a blockchain trusted data management program stored in the memory 1005, and execute the following steps:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether the trusted data provider satisfies a freeze condition;
if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the trusted data provider;
modifying, by the blockchain system, a state of the trusted data provider from a valid state to an invalid state according to the modification instruction.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the processor 1001 may be further configured to call a blockchain trusted data management program stored in the memory 1005, and perform the following steps:
detecting, by the blockchain system, whether the trusted data source satisfies a penalty condition;
if the credible data source meets the punishment condition, deducting a credit score corresponding to the credible data source by the block chain system, and detecting whether the credit score of the credible data source is smaller than a preset score or not;
and if the credit score of the credible data source is smaller than the preset score, freezing the credible data source.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the processor 1001 may be further configured to call a blockchain trusted data management program stored in the memory 1005, and perform the following steps:
after a participant in the blockchain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the blockchain system detects whether a reward instruction sent by the participant is received;
and if the reward instruction is received, correspondingly increasing the credit score corresponding to the credible data source and/or the credible data provider according to the reward instruction.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the processor 1001 may be further configured to call a blockchain trusted data management program stored in the memory 1005, and perform the following steps:
after a participant in a block chain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the block chain operator detects whether an arbitration request sent by the participant is received;
after the arbitration request is received, the transaction of the participant for obtaining the credible data is checked according to the arbitration request to obtain a check result;
and if the credible data is determined to be the false data according to the inspection result, punishing operation is carried out on the credible data source and the credible data provider according to a preset rule.
Further, if it is confirmed that the to-be-audited data is audited, the block chain operator grants the trusted data provider a management right for managing the trusted data source, and the step of registering the trusted data provider in the trusted data management center includes:
if the data to be audited is approved, the block chain operator initiates a transaction request for creating the trusted data provider to the block chain system, and grants a management authority of the trusted data provider for managing the trusted data source, wherein the transaction request carries transaction data of the trusted data provider;
receiving, by the blockchain system, the transaction request and detecting whether the transaction request was sent by the blockchain operator;
if the transaction request is sent by the block chain operator, detecting whether the transaction data meets a preset condition;
and if the transaction data meet the preset conditions, registering the trusted data provider into the trusted data management center by a block chain operator.
Further, after the trusted data provider successfully registers with the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the step of registering the trusted data source with the trusted data management center includes:
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source;
after the blockchain system detects the registration request, the blockchain system detects whether the trusted data provider has registration authority for registering the trusted data source;
if the trusted data provider has the registration authority, detecting whether the information of the trusted data source to be registered meets a preset condition;
and if the information of the trusted data source meets a preset condition, calling a registration interface of the trusted data management center by the trusted data provider, and registering the trusted data source in the trusted data management center.
Based on the hardware structure, various embodiments of the block chain trusted data management method are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a block chain trusted data management method according to a first embodiment of the present invention.
In the present embodiment, an embodiment of a blockchain trusted data management method is provided, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
In this embodiment, the method for managing block chain trusted data may be optionally applied to a block chain network, where a trusted data provider, a block chain operator, and a block chain system are disposed in the block chain network, and the block chain system includes a trusted data management center. The trusted data provider is used for acquiring the data outside the chain of the data provider outside the chain and registering the data outside the chain into the trusted data management center to form the trusted data.
An off-link data provider is a mechanism or independent individual that collects and generates off-link data in various systems outside of the blockchain network. Such as weather data, are collected by the weather bureau and periodically released one or more times per day. Exchange rate data is generated by a designated bank or exchange rate authority and is regularly released every day. And the data provider outside the chain issues the data to a specified server for the query of the trusted data provider on the block chain network. The organization is a member which is added into the block chain network and operates independently, and the organization has certain assets and own user groups. In the context of asset transactions, there are two roles of organization: an issuer and a reseller. An issuer has the authority to issue assets, and can create and issue a share of assets in a blockchain system. The agency authority can sell the assets to the managed users after reaching the business agreement with the issuing organization, and can also proxy the users to transfer the assets to other organizations.
The off-link data refers to data generated by the non-blockchain system, but needed for exchanging on the chain of the blockchain system, such as weather data, exchange rate data, stock market price, regional population and the like, and the data is collected and generated by an off-link data provider in a non-chain operation mode. The basic information of the data out of the chain comprises version number, effective date, expiration date, identity identification, public key information, data signature, data source access address, data body, data format definition and data state. The effective date and the invalid date are accurate to millisecond Time, Universal Time Coordinated (UTC) is adopted for global Time unification, and an off-link data provider and an authoritative clock service perform Time synchronization operation. The id is a segment of Identifier that cannot be repeated, and may be generated by using UUID (universal Unique Identifier) technology, and converted into a byte string of a specified length by HASH algorithm. The Public key information follows a Public key part of a key pair generated by an asymmetric encryption algorithm in compliance with a PKI (Public key infrastructure) system. The data signature is to sign the data outside the chain by using a private key of a data provider outside the chain, and the trusted data must contain the data signature and all other fields except the signature. The data source access address is a character string in a URI (uniform resource Identifier) format, is used for identifying a source of the data out of the chain, and is an optional field which can be left blank. A data volume is a variable length data volume that may contain complex data structures whose format is described by a format definition. The data format definition is a description of a json format, each data field uses a name to represent field meaning, uses a type to express the type, and the type definition comprises basic types such as string, agent 256 and the like, can comprise an array, but does not comprise a complex data structure such as map. The format description in the embodiment of the present invention may correspond to a data volume of [ "demouser", 100 ]. The data state comprises True, false, unknown and so on
The trusted data provider needs to pass through the data source outside the chain to acquire the data outside the chain. An off-link data source is maintained by an off-link data provider for storing and maintaining one or more logical units of off-link data. The out-of-link data source provides an interface of the URI, and provides data query service to the outside through http (Hyper Text Transfer Protocol), https (Hyper Text Transfer Protocol over Secure Socket Layer), Socket and other network interfaces. The writing of the off-link data source is realized by an off-link data provider, and the off-link data source does not disclose a written interface to the off-link data provider and other users except collaborators of the off-link data provider. The out-of-link data source can be used for inquiring whether the out-of-link data is delayed or not, whether the out-of-link data is available or not and the like.
The trusted data is the off-chain data which is obtained by a trusted data provider, written onto the chain of the blockchain system and considered as trusted by the blockchain system participants through a series of verification and format conversion processes. The basic information of the trusted data is basically the same as that of the data outside the chain, and the trusted data further comprises a valid block height and a invalid block height relative to the data outside the chain. The valid block height is the block height (including the block height) of the block chain which can be valid. Optionally, the validate chunk high defaults to being validated immediately after the chunk high where the data is located. A failing block height is when a blockchain grows to a block height, i.e., fails. Optionally, the default is always valid. When a blockchain system is to use a block height as a timeliness control, the active and inactive block heights should be set.
The trusted data source is a logical unit that maintains and maintains trusted data on the blockchain system, and may contain one to many trusted data, which is maintained by the trusted data provider. Depending on the characteristics of the blockchain system, the trusted data source may be an address. The blockchain system publishes the address of the trusted data source and the related query access method, and other participants in the blockchain system can access the trusted data source through the address. The trusted data source can only be written by the established trusted data provider, and only provides a query interface for other participants. The basic information of the trusted data source at least comprises: identification name, address (dynamically generated during registration), affiliated data provider (adopting address identification on a blockchain), digital signature, credit score, registration time (UTC global time), data access interface definition and the like. Wherein the identification name should be unique in the blockchain system.
The trusted data management center is a module preset by a blockchain system, and is equivalent to a bulletin board of a trusted data provider and a trusted data source, the newly registered trusted data provider and the newly registered trusted data source can be published into the trusted data management center, the corresponding names, addresses, states, data access interface definitions and the like of the trusted data provider and the trusted data source are specifically published, and interfaces for registration, inquiry, state modification, revocation and the like of the trusted data source are provided. A block chain operator registers a trusted data provider through an established interface, the trusted data provider registers a trusted data source through the registered interface, or modifies the state of the data source, or cancels the data source when the data source is not required to be maintained, participants on a block chain system inquire information of the trusted data source through inquiring a corresponding interface, and then data is acquired through a data access interface of the trusted data source provider.
Trusted data providers refer to organizations or independent individuals that provide trusted data services for participants of blockchain systems. The trusted data provider may be the same organization or individual as the data provider outside the chain, or may be independent of each other. The trusted data provider has an address on the block chain and knows a data service address of the data provider outside the chain, the trusted data provider periodically (for example, every minute, every hour, every day and the like, which are set according to different data validity periods) obtains the data outside the chain from the data provider outside the chain, performs basic validity check on the data outside the chain, including check on data format, data validity period, data state and the like, writes the valid data outside the chain into a trusted data source of the block chain system to become trusted data, and the trusted data is inquired and obtained by a participant of the block chain system. One trusted data provider may own and manage one to multiple trusted data sources to provide different types of data services. The basic information of the trusted data provider includes: organization or individual name and description, CA public key certificate or public key information, data service range provided, contacts, contact means, number of trusted data sources that can be registered the most, number of existing trusted data sources, credit score, deposit balance, etc.
The block chain operator is responsible for auditing, modifying, deleting the data related to the nodes and accounts on the block chain, such as setting information of a certain alliance chain, performing initialization deployment, organizing each organization to join the alliance chain, allocating corresponding authority administrator and trader authority for each organization, managing the life cycle of the application on the block chain, and the like. The node refers to a network node participating in a blockchain network for transaction and data exchange, each independent organization can have one or more transaction nodes, and each transaction node is a combination of a group of physical networks, computers, blockchain application software and databases.
The block chain network is also provided with a block chain monitoring party, and the block chain monitoring party monitors all service data of the block chain network, supervises and manages the running state of the alliance chain and maintains the legal and steady running of the service. The blockchain supervisor can participate in the operation work of the blockchain or send an instruction to the blockchain operator so that the blockchain operator can execute corresponding operation according to the instruction.
The block chain trusted data management method comprises the following steps:
and step S10, the block chain operator audits the to-be-audited data of the trusted data provider according to the audit request sent by the trusted data provider.
And after the trusted data provider obtains the off-link data of the off-link data provider through the off-link data source, the trusted data provider sends an audit request to the block chain operator. When the block chain operator receives an audit request sent by the trusted data provider, the block chain operator receives the data to be audited sent by the trusted data provider and audits the data to be audited. The data to be verified includes, but is not limited to, information such as a license of a trusted data provider, authenticity of an identity, and registered funds. Specifically, the blockchain operator may query the trusted data provider through the business bureau whether its business license and identity are authentic, whether the registered funds are false, and the like. And when the block chain operator confirms that the data to be checked are all correct, confirming that the data to be checked pass the checking. If the block chain operator confirms that the data to be audited has errors, the audit of the data to be audited is confirmed to be not passed, and the audit process is ended.
Step S20, if it is determined that the to-be-audited data is approved, the blockchain operator grants the trusted data provider a management right to manage the trusted data source, and registers the trusted data provider in the trusted data management center.
And after the data to be audited is approved, the block chain operator grants the trusted data provider the management authority for managing the trusted data source, and registers the trusted data provider in the trusted data management center.
Further, step S20 includes:
step a, if the data to be audited is approved, the block chain operator initiates a transaction request for creating the trusted data provider to the block chain system, and grants a management authority of the trusted data provider for managing the trusted data source, wherein the transaction request carries transaction data of the trusted data provider.
And after the data to be audited is approved, the blockchain operator grants the management authority of the trusted data provider for managing the trusted data source, and initiates a transaction request for creating the trusted data provider to the blockchain system, wherein the transaction request carries transaction data of the trusted data provider, and the transaction data includes but is not limited to the data format, the data signature, the data validity period and the like of the data provided by the trusted data provider.
And b, receiving the transaction request by the blockchain system, and detecting whether the transaction request is sent by the blockchain operator.
When the blockchain system receives the transaction request, the blockchain system detects whether the transaction request is sent by a blockchain operator. In particular, the transaction request is encrypted by the blockchain operator with its private key. If the blockchain system can decrypt the transaction request with the pre-acquired public key sent by the blockchain operator, then it is confirmed that the transaction request was sent by the blockchain operator. If the blockchain system cannot successfully decrypt the transaction request, it is determined that the transaction request was not sent by the blockchain operator. Further, when the transaction request is not sent by the blockchain operator, the blockchain system rejects the trusted data provider from registering in the trusted data management center, so as to avoid registering an illegal data provider in the trusted data management center.
And c, if the transaction request is sent by the block chain operator, detecting whether the transaction data meets a preset condition.
After confirming that the transaction request is sent by the blockchain operator, the blockchain system detects whether the transaction data meets a preset condition. I.e. detecting whether the data format of the trusted data provider data is complete, whether the data signature is correct, whether the data is within the validity period, etc. Specifically, comparing the data format of the trusted data provider with a preset data format, and when the data format of the trusted data provider is consistent with the preset data format, determining that the data format is complete, otherwise, determining that the data format is incomplete; when the block chain system can successfully analyze the data signature through the stored public key, the data signature is confirmed to be correct, otherwise, the data signature is confirmed to be wrong; and if the current time is greater than or equal to the effective date and less than the invalid date, confirming that the data of the trusted data provider is valid, otherwise, confirming that the data of the trusted data provider is invalid. It can be understood that when the data format of the trusted data provider data is complete, the data signature is correct, and the data is within the validity period, the transaction data is confirmed to meet the preset condition; confirming that the transaction data does not satisfy the preset condition when the data format of the trusted data provider data is incomplete, the data signature is incorrect and/or within the expiration date.
And d, if the transaction data meet preset conditions, registering the trusted data provider into the trusted data management center by a block chain operator.
And after confirming that the transaction data meets the preset conditions, the block chain system sends a prompt message to inform a block chain operator that the transaction data meets the preset conditions. At this point, the blockchain operator registers the trusted data provider with the trusted data management center.
Further, after registering the trusted data provider with the trusted data management center, the blockchain system broadcasts the trusted data provider into the blockchain network to inform participants in the blockchain network that the trusted provider can provide service. Participants include, but are not limited to, blockchain operators, blockchain supervisors, and other trusted data providers.
Further, when the transaction data meets the preset condition, the blockchain system detects whether the trusted data provider is registered. Specifically, whether the name of the trusted data provider, the CA public key certificate, or the public key information exists in the trusted data management center may be detected to determine whether the trusted data provider has been registered. If the name of the trusted data provider, the CA public key certificate or the public key information already exists in the trusted data management center, the trusted data provider is confirmed to be registered; and if the name of the trusted data provider, the CA public key certificate or the public key information does not exist in the trusted data management center, confirming that the trusted data provider is unregistered. If the trusted data provider is registered, the blockchain system prohibits the blockchain operator from registering the trusted data provider in the trusted data management center to prevent the trusted data provider from repeatedly registering. If the trusted data provider is not registered, the blockchain system allows the blockchain operator to register the trusted data provider in the trusted data management center.
Step S30, after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and registers the trusted data source in the trusted data management center, so that a participant in the block chain network obtains trusted data corresponding to the trusted data source through the trusted data management center.
After the trusted data provider is successfully registered in the trusted data management center, the trusted data provider is accessed into the blockchain network as an entity role, the trusted data provider triggers a registration request for registering the trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the blockchain network can obtain trusted data corresponding to the trusted data source through the trusted data management center. It should be noted that one trusted data provider may correspond to multiple trusted data sources, and one trusted data source may also correspond to multiple trusted data sources. And the trusted data is acquired by the trusted data provider from the data provider outside the chain.
Further, step S30 includes:
and e, after the trusted data provider successfully registers in the trusted data management center, triggering a registration request for registering the trusted data source by the trusted data provider.
And f, after the blockchain system detects the registration request, the blockchain system detects whether the trusted data provider has the registration authority for registering the trusted data source.
And after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering the trusted data source, and broadcasts the registration request in the block chain network, wherein the registration request carries basic information of the trusted data source. When the blockchain system receives the registration request corresponding to the broadcast, the blockchain system detects whether a trusted data provider corresponding to the registration request has a registration authority for registering the trusted data source. In this embodiment, if the trusted data provider has a management right for managing the trusted data source, it is determined that the trusted data provider has a registration right; and if the trusted data provider does not have the management authority for managing the trusted data source, the trusted data provider is considered to have no registration authority.
Further, when the trusted data source provider has the management authority, the corresponding authority identifier exists in the registration request, and the blockchain system can detect whether the trusted data provider has the registration authority for registering the trusted data source according to whether the registration request carries the authority identifier.
And g, if the trusted data provider has the registration authority, detecting whether the information of the trusted data source to be registered meets a preset condition.
And if the trusted data provider is confirmed to have the registration authority, the block chain system detects whether the information of the trusted data source to be registered meets a preset condition. Specifically, whether the basic information of the trusted data source to be registered meets a preset condition is detected, for example, whether the identification name of the trusted data source is globally unique is detected, that is, whether the identification name of the trusted data source is unique in the block chain network is detected; detecting whether the digital signature of the trusted data source is valid, namely detecting whether the data signature of the trusted data source corresponds to the data signature of the trusted data provider; detecting whether the registration time is valid, whether the number of the registered trusted data sources of the trusted data provider is greater than or equal to a preset number, and the like, wherein the preset number can be set according to specific needs, and is not limited herein. When the identification name of the trusted data source is globally unique, the data signature of the trusted data source corresponds to the data signature of the trusted data provider, the registration time is valid, and the number of the registered trusted data sources of the trusted data provider is less than a preset number, confirming that the information of the trusted data source to be registered meets a preset condition; otherwise, confirming that the information of the trusted data source to be registered does not accord with the preset condition.
Further, in the process of detecting whether the registration time is valid, the validity period of the registration time is set in advance, for example, the validity period of the registration time may be set to be not one hour earlier than the current time and not 5 minutes later than the current time. And when the registration time is one hour earlier than the current time or 5 minutes later than the current time, confirming that the registration time is invalid, otherwise, confirming that the registration time is valid.
And h, if the information of the trusted data source meets the preset conditions, the trusted data provider calls a registration interface of the trusted data management center to register the trusted data source in the trusted data management center.
If the information of the trusted data source meets the preset conditions, the trusted data provider calls a registration interface preset by the trusted data management center to register the trusted data source in the trusted data management center. After the trusted data source is registered in the trusted data management center, the participants in the block chain network can acquire the registered trusted data source through the trusted data management center, and obtain trusted data through the trusted data source.
Further, after the trusted data source is registered in the trusted data management center, the trusted data management center increments a counter value corresponding to the trusted data provider by one. The counter is used to record the number of trusted data sources registered by the trusted data provider in the trusted data management center.
Further, if the information of the trusted data source does not meet the preset condition, the operation flow of registering the trusted data source to the trusted data management center is ended. Further, after the registration process of registering the trusted data source is finished, the blockchain system records the registration operation of the trusted data source, so as to avoid subsequent repeated registration of the trusted data source.
In this embodiment, the block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider; if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center; after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration transaction for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center; wherein the trusted data is obtained by the trusted data provider from an off-chain data provider. After the data verification of the trusted data provider is passed, the trusted data provider is registered in the trusted data management center, and the data quality of the trusted data source is ensured through a verification mechanism; and after the trusted data provider is successfully registered, the trusted data source corresponding to the trusted data provider is registered in the trusted data management center, so that the authenticity and the validity of the trusted data source data in the block chain system are ensured.
Further, a second embodiment of the block chain trusted data management method of the present invention is provided.
The difference between the second embodiment of the block chain trusted data management method and the first embodiment of the block chain trusted data management method is that, referring to fig. 3, a block chain monitor is disposed in a block chain network, and the block chain trusted data management method further includes:
step S40, the blockchain operator and/or the blockchain manager monitors whether the trusted data source of the trusted data management center meets the freezing condition.
After the trusted data source is successfully registered in the trusted data management center, the block chain operator and/or the block chain supervisor monitor whether the trusted data source managed by the trusted data management center meets the freezing condition. Note that the freezing condition may be set according to specific needs, and is not limited herein. If the situation that the trusted data source meets the freezing condition after the trusted data source is monitored to provide three times of false trusted data can be set; or when the trusted data of the trusted data source is invalid, the trusted data source is considered to meet the freezing condition.
Step S50, if the trusted data source of the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source.
Step S60, modifying, by the blockchain system, the state of the trusted data source from a valid state to an invalid state according to the modification instruction.
And if the trusted data source managed by the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source by the block chain operator and/or the block chain supervisor. When the blockchain system detects the modification instruction, the blockchain system calls a state modification interface of the trusted data management center, and modifies the state of the trusted data source from an effective state to an invalid state according to the modification instruction. It can be understood that, after the trusted data source is successfully registered in the trusted data management center, the state of the trusted data source is a valid state.
And when the block chain system modifies the state of the trusted data source from the valid state to the invalid state, informing the participants of the block chain network that the state of the trusted data source has been modified from the valid state to the invalid state through the whole network consensus of the block chain network. It will be appreciated that when a trusted data source is in an invalid state, the trusted data source can no longer provide service.
It should be noted that the operation of modifying the trusted data source state may also be performed by the trusted data provider.
Further, when the blockchain system detects the modification command, the blockchain system detects whether the modification command is triggered by a blockchain operator or a blockchain supervisor. The process of the blockchain system detecting whether the modification instruction is triggered by the blockchain operator or the blockchain monitor is consistent with the principle of the blockchain system detecting whether the transaction request is sent by the blockchain operator, and is not described herein again.
If the modification command is triggered by the blockchain operator or the blockchain manager, the blockchain system modifies the state of the trusted data source from the valid state to the invalid state according to the modification command. If the modification instruction is not triggered by the blockchain operator or the blockchain manager, the blockchain system finishes the modification operation of modifying the state of the trusted data source.
Further, the block chain trusted data management method further includes:
step i, the block chain operator and/or the block chain supervisor monitor whether the trusted data provider meets the freezing condition.
After the trusted data provider is successfully registered in the trusted data management center, the blockchain operator and/or the blockchain supervisor monitor whether the trusted data provider managed by the trusted data management center meets the freezing condition. Note that the freezing condition may be set according to specific needs, and is not limited herein. If the situation that the trusted data provider provides false trusted data for three times can be set, the trusted data provider is considered to meet the freezing condition; or when all or part of the trusted data sources corresponding to the trusted data provider are in an invalid state, the trusted data provider is considered to meet the freezing condition.
And j, if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the trusted data provider.
And k, modifying the state of the trusted data provider from a valid state to an invalid state by the blockchain system according to the modification instruction.
And if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data provider by the blockchain operator and/or the blockchain supervisor. When the blockchain system detects the modification instruction, the blockchain system calls a state modification interface of the trusted data management center, and modifies the state of the trusted data provider from an effective state to an invalid state according to the modification instruction. It can be understood that, after the trusted data provider is successfully registered in the trusted data management center, the state of the trusted data provider is a valid state.
When the blockchain system modifies the state of the trusted data provider from the valid state to the invalid state, the participants of the blockchain network are informed that the state of the trusted data provider has been modified from the valid state to the invalid state through the whole network consensus of the blockchain network. It will be appreciated that when a trusted data provider is in an inactive state, the trusted data provider can no longer provide service.
Further, when the blockchain system detects the modification command, the blockchain system detects whether the modification command is triggered by a blockchain operator or a blockchain supervisor. The process of the blockchain system detecting whether the modification instruction is triggered by the blockchain operator or the blockchain monitor is consistent with the principle of the blockchain system detecting whether the transaction request is sent by the blockchain operator, and is not described herein again.
If the modification instruction is triggered by the blockchain operator or the blockchain manager, the blockchain system modifies the state of the trusted data provider from the valid state to the invalid state according to the modification instruction. If the modification instruction is not triggered by the blockchain operator or the blockchain manager, the blockchain system finishes the modification operation of modifying the state of the trusted data provider.
In this embodiment, whether a trusted data source managed by a trusted data management center meets a freezing condition is monitored by a blockchain operator and/or a blockchain monitor, and when the trusted data source meets the freezing condition, the state of the trusted data source is modified to an invalid state, so that the situation that the trusted data source meeting the freezing condition continues to provide services and a participant in a blockchain network acquires invalid data and false data from the trusted data source is avoided.
Further, after the trusted data source is in an invalid state, the blockchain operator and/or the blockchain supervisor may detect whether the trusted data source satisfies a thawing condition. The unfreezing condition can be set according to specific needs, and is not limited herein, if the trusted data which can be set as the trusted data source is converted from the invalid state to the valid state, the trusted data source is confirmed to meet the unfreezing condition, otherwise, the trusted data source is confirmed to not meet the unfreezing condition. And if the trusted data source in the invalid state meets the unfreezing condition, the block chain system unfreezes the trusted data source and changes the state of the trusted data source so as to enable the trusted data source to be in the valid state.
Specifically, the blockchain may also detect whether the request for thawing the trusted data source is triggered by the blockchain operator and/or the blockchain manager, and the specific process is consistent with the process for freezing the trusted data source, which is not described herein again.
Further, whether the trusted data provider in the invalid state meets the thawing condition may also be detected, and the specific process is similar to the detection of whether the trusted data source in the invalid state meets the thawing condition, which is not described herein again.
Further, it may also be detected whether the trusted data source and/or the trusted data provider satisfy the revocation condition, and the specific process is similar to the detection of whether the trusted data source and/or the trusted data provider satisfy the freezing condition, and is not described herein again. It should be noted that, after the trusted data source and/or the trusted data provider is revoked, the trusted data source and the trusted data provider may not be reactivated by modifying the state, that is, the trusted data source and/or the trusted data provider may not be changed from the invalid state to the valid state by modifying the state. If a revoked trusted data source and/or trusted data provider wants to provide service again in the blockchain network, i.e., to provide trusted data to participants in the blockchain network, the trusted data source and/or trusted data provider can only re-register in the trusted data management center.
Further, the trusted data source and/or trusted data provider may also automatically trigger an exit instruction to exit the trusted data management center. When the trusted data source and/or trusted data provider exits the trusted data management center, the trusted data source and/or trusted data provider will no longer be able to provide services. The trusted data source and/or the trusted data provider can only re-register if they need to provide the service again.
In the embodiment, the operations of freezing, unfreezing, revoking and the like are performed on the trusted data source and the trusted data provider, so that the intelligent management of the block chain system on the trusted data source and the trusted data provider registered in the trusted data management center is realized, and the trusted data source and the trusted data provider are in a controllable state, so that the validity and the authenticity of data provided by the trusted data source and the trusted data provider are ensured.
Further, a third embodiment of the block chain trusted data management method of the present invention is provided.
The difference between the third embodiment of the block chain trusted data management method and the first and second embodiments of the block chain trusted data management method is that, referring to fig. 4, the block chain trusted data management method further includes:
step S70, detecting whether the trusted data source meets a penalty condition by the blockchain system.
And after the trusted data source is successfully registered in the trusted data management center, the block chain system detects whether the trusted data source meets the punishment condition. The penalty condition can be set according to specific needs, for example, the penalty condition can be set to confirm that the trusted data source meets the penalty condition when the trusted data provided by the trusted data source is false, wrong or invalid; or when the trusted data source cannot normally provide service, namely a participant in the blockchain network cannot acquire the service or cannot inquire the trusted data of the trusted data source, confirming that the trusted data source meets the punishment condition.
Step S80, if the trusted data source meets the penalty condition, deducting the credit score corresponding to the trusted data source by the blockchain system, and detecting whether the credit score of the trusted data source is smaller than a preset score.
And step S90, if the credit score of the trusted data source is smaller than the preset score, freezing the trusted data source.
And after confirming that the trusted data source meets the punishment condition, deducting the credit score corresponding to the trusted data source by the block chain system, and detecting whether the credit score of the trusted data source is smaller than a preset score or not. And if the credit score of the trusted data source is smaller than the preset score, the block chain system freezes the trusted data source and changes the state of the trusted data source from the valid state to the invalid state. Wherein, the preset score can be set according to specific needs. The deduction rule for deducting credit is preset by the block chain system, and the amount of each deduction is determined according to the total score set when the credible data source is registered. In the process of deducting credit points, deduction points of different limits can be set according to the importance of the credible data provided by the credible data source.
Further, if the credit score of the trusted data source is greater than or equal to the preset score, the trusted data source is continuously enabled to be in an effective state.
Further, when the trusted data source is in an invalid state because the credit score is less than the preset score, the trusted data source may apply for a recovery credit score from the blockchain operator. After the blockchain operator agrees that the trusted data source recovers the credit score, the trusted data source may continue to provide service in the blockchain network.
Further, a credit score can be set for the trusted data provider, at this time, whether the trusted data provider meets the penalty condition is detected, and the specific process is similar to the detection of whether the trusted data source meets the penalty condition, which is not described herein again.
Further, if the trusted data provider has a corresponding deposit, the blockchain system may deduct the deposit from the trusted data source provider when a penalty condition is met, and a specific deduction rule is set according to a specific requirement, which is not limited herein. And when the deposit corresponding to the trusted data source provider is smaller than a certain value, setting the trusted data provider to be in an invalid state. If the user corresponding to the trusted data provider pays the deposit again, the blockchain operator can modify the state of the trusted data provider into an effective state, so that the trusted data provider can continue to provide services in the blockchain network.
According to the embodiment, a certain punishment condition is set for the trusted data source, when the punishment degree of the trusted data source reaches the set degree, the trusted data source is in an invalid state and cannot provide services any more, and the data quality of the trusted data source is ensured by ensuring that the trusted data source provides real and effective data corresponding to a user through a punishment mechanism.
Further, a fourth embodiment of the block chain trusted data management method of the present invention is provided.
The difference between the fourth embodiment of the blockchain trusted data management method and the first, second and/or third embodiments of the blockchain trusted data management method is that, referring to fig. 5, the blockchain trusted data management method further includes:
step S110, after the participant in the blockchain network obtains the trusted data corresponding to the trusted data source through the trusted data management center, the blockchain system detects whether a reward instruction sent by the participant is received.
Step S120, if the reward instruction is received, the credit score corresponding to the credible data source and/or the credible data provider is correspondingly increased according to the reward instruction.
After the trusted data source is successfully registered in the trusted data management center, the participants in the block chain network can acquire the trusted data corresponding to the trusted data source through the trusted data management center. After the participant acquires the trusted data, the participant can detect whether the acquired trusted data is valid or not, i.e., whether the trusted data is in the valid period or not, and whether the data format, the data signature and the like of the trusted data are correct or not. If the credible data is detected to be effective and real, the participant triggers a reward instruction, calls a reward interface of the credible data management center according to the reward instruction, increases credit scores of corresponding credible data sources or credible data providers, or increases assets of the credible data providers, such as paying for the credible data providers. The specific reward rules can be set according to specific needs, and are not limited herein.
In the process that a participant acquires the trusted data corresponding to the trusted data source through the trusted data management center, the participant sends an acquisition request to the trusted data source, wherein the acquisition request carries the address of the participant, the digital signature of the participant and the parameters of the trusted data to be acquired. Through the trusted data parameters, the trusted data source can uniquely determine the trusted data required to be acquired by the participant. And after the trusted data source determines the trusted data required by the participant, the trusted data required by the participant is constructed into a result data packet and is sent to the participant. After the participant acquires the result data packet, a data inspection interface of the trusted data management center can be called to detect whether the trusted data corresponding to the result data packet is valid.
Further, if it is detected that the trusted data is invalid, the participant may call a penalty interface of the trusted data management center to perform a corresponding penalty operation, such as deducting credit or deducting a deposit, on the trusted data provider and the trusted data source corresponding to the trusted data.
Further, when the participating party wants to query the trusted data of the trusted data source, the penalty operation and the reward operation involved are consistent with the acquisition of the trusted data source, and are not described herein again.
In the embodiment, in the process of acquiring the trusted data of the trusted data source by the participant, according to whether the acquired trusted data is valid, a corresponding penalty process or reward process is started to ensure the validity and authenticity of the trusted data.
Further, a fifth embodiment of the block chain trusted data management method of the present invention is provided.
The difference between the fifth embodiment of the blockchain trusted data management method and the first, second, third and/or fourth embodiments of the blockchain trusted data management method is that, referring to fig. 6, the blockchain trusted data management method further includes:
step S130, after the participant in the blockchain network obtains the trusted data corresponding to the trusted data source through the trusted data management center, the blockchain operator detects whether an arbitration request sent by the participant is received.
Step S140, after receiving the arbitration request, verifying the transaction of the participant acquiring the trusted data according to the arbitration request to obtain a verification result.
And S150, if the credible data is determined to be the false data according to the inspection result, punishing operation is carried out on the credible data source and the credible data provider according to a preset rule.
After a participant in the blockchain network acquires the trusted data corresponding to the trusted data source through the trusted data management center, the participant confirms that the acquired trusted data has errors through other channels, for example, through comparison of other similar data sources in the blockchain network or data sources outside the blockchain network, and the participant can trigger an arbitration request and send the arbitration request as a transaction to the trusted data management center. The trusted data management center sends the arbitration request to the blockchain operator through the whole network consensus.
And the block chain operator detects whether an arbitration request sent by the participant is received, responds to the arbitration request after receiving the arbitration request, performs a retest on the trusted data acquired by the participant, and determines whether the trusted data is real and valid according to a retest result. When the credible data is determined to be false and/or invalid according to the recheck result, the block chain operator can perform punishment operation on the credible data source and/or the credible data provider corresponding to the credible data.
It should be noted that, in the blockchain system, transaction history and transaction details of the participants and the trusted data source, and digital signatures corresponding to the participants and the trusted data source, and other information are stored. And in the process of rechecking the trusted data by the block chain operator, rechecking the trusted data according to the information stored in the block chain system.
Further, after the block chain operator performs the re-check operation, the re-check result and the re-check process are sent to the block chain supervisor, so that the block chain supervisor can manage the trusted data source and the trusted data provider conveniently.
In the embodiment, the trusted data acquired by the participant is subjected to the double-check, so that the situation that the true and valid trusted data is mistaken for the false and invalid trusted data is avoided, and the data quality of the trusted data source is ensured through an arbitration mechanism.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is applied in a blockchain network, where a trusted data provider, a blockchain operator, and a blockchain system are disposed in the blockchain network, the blockchain system includes a trusted data management center, and a blockchain trusted data management program is stored on the computer-readable storage medium, and when executed by a processor, the computer-readable storage medium implements the following steps:
the block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider;
if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center;
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center;
wherein the trusted data is obtained by the trusted data provider from an off-chain data provider.
Further, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and after the step of registering the trusted data source in the trusted data management center, the blockchain trusted data management program is executed by the processor to implement the following steps:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether a trusted data source of the trusted data management center meets a freeze condition;
if the trusted data source of the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source;
modifying, by the blockchain system, a state of the trusted data source from a valid state to an invalid state according to the modification instruction.
Further, the blockchain network is further provided with a blockchain supervisor, and after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and after the step of registering the trusted data source in the trusted data management center, the blockchain trusted data management program is executed by the processor to implement the following steps:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether the trusted data provider satisfies a freeze condition;
if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the trusted data provider;
modifying, by the blockchain system, a state of the trusted data provider from a valid state to an invalid state according to the modification instruction.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the blockchain trusted data management program, when executed by a processor, implements the steps of:
detecting, by the blockchain system, whether the trusted data source satisfies a penalty condition;
if the credible data source meets the punishment condition, deducting a credit score corresponding to the credible data source by the block chain system, and detecting whether the credit score of the credible data source is smaller than a preset score or not;
and if the credit score of the credible data source is smaller than the preset score, freezing the credible data source.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the blockchain trusted data management program, when executed by a processor, implements the steps of:
after a participant in the blockchain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the blockchain system detects whether a reward instruction sent by the participant is received;
and if the reward instruction is received, correspondingly increasing the credit score corresponding to the credible data source and/or the credible data provider according to the reward instruction.
Further, after the step of triggering, by the trusted data provider, a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, and registering the trusted data source with the trusted data management center, the blockchain trusted data management program, when executed by a processor, implements the steps of:
after a participant in a block chain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the block chain operator detects whether an arbitration request sent by the participant is received;
after the arbitration request is received, the transaction of the participant for obtaining the credible data is checked according to the arbitration request to obtain a check result;
and if the credible data is determined to be the false data according to the inspection result, punishing operation is carried out on the credible data source and the credible data provider according to a preset rule.
Further, if it is confirmed that the to-be-audited data is audited, the block chain operator grants the trusted data provider a management right for managing the trusted data source, and the step of registering the trusted data provider in the trusted data management center includes:
if the data to be audited is approved, the block chain operator initiates a transaction request for creating the trusted data provider to the block chain system, and grants a management authority of the trusted data provider for managing the trusted data source, wherein the transaction request carries transaction data of the trusted data provider;
receiving, by the blockchain system, the transaction request and detecting whether the transaction request was sent by the blockchain operator;
if the transaction request is sent by the block chain operator, detecting whether the transaction data meets a preset condition;
and if the transaction data meet the preset conditions, registering the trusted data provider into the trusted data management center by a block chain operator.
Further, after the trusted data provider successfully registers with the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the step of registering the trusted data source with the trusted data management center includes:
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source;
after the blockchain system detects the registration request, the blockchain system detects whether the trusted data provider has registration authority for registering the trusted data source;
if the trusted data provider has the registration authority, detecting whether the information of the trusted data source to be registered meets a preset condition;
and if the information of the trusted data source meets a preset condition, calling a registration interface of the trusted data management center by the trusted data provider, and registering the trusted data source in the trusted data management center.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the block chain trusted data management method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A block chain trusted data management method is applied to a block chain network, wherein a trusted data provider, a block chain operator, a block chain supervisor and a block chain system are arranged in the block chain network, the block chain system comprises a trusted data management center, and the block chain trusted data management method comprises the following steps:
the block chain operator verifies the to-be-verified data of the trusted data provider according to a verification request sent by the trusted data provider;
if the data to be checked is checked to be passed, the block chain operator grants the management authority of the trusted data provider for managing the trusted data source, and the trusted data provider is registered in the trusted data management center;
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the trusted data source is registered in the trusted data management center so that a participant in the block chain network can obtain trusted data corresponding to the trusted data source through the trusted data management center; wherein the trusted data is obtained by the trusted data provider from an off-link data provider;
monitoring, by the blockchain operator and/or the blockchain supervisor, whether a trusted data source of the trusted data management center meets a freeze condition;
if the trusted data source of the trusted data management center meets the freezing condition, triggering a modification instruction for modifying the state of the trusted data source;
modifying, by the blockchain system, a state of the trusted data source from a valid state to an invalid state according to the modification instruction.
2. The blockchain trusted data management method according to claim 1, wherein after the step of the trusted data provider triggering a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, the step of registering the trusted data source with the trusted data management center further comprises:
monitoring, by the blockchain operator and/or the blockchain supervisor, whether the trusted data provider satisfies a freeze condition;
if the trusted data provider meets the freezing condition, triggering a modification instruction for modifying the trusted data provider;
modifying, by the blockchain system, a state of the trusted data provider from a valid state to an invalid state according to the modification instruction.
3. The blockchain trusted data management method according to claim 1, wherein after the step of the trusted data provider triggering a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, the step of registering the trusted data source with the trusted data management center further comprises:
detecting, by the blockchain system, whether the trusted data source satisfies a penalty condition;
if the credible data source meets the punishment condition, deducting a credit score corresponding to the credible data source by the block chain system, and detecting whether the credit score of the credible data source is smaller than a preset score or not;
and if the credit score of the credible data source is smaller than the preset score, freezing the credible data source.
4. The blockchain trusted data management method according to claim 1, wherein after the step of the trusted data provider triggering a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, the step of registering the trusted data source with the trusted data management center further comprises:
after a participant in the blockchain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the blockchain system detects whether a reward instruction sent by the participant is received;
and if the reward instruction is received, correspondingly increasing the credit score corresponding to the credible data source and/or the credible data provider according to the reward instruction.
5. The blockchain trusted data management method according to claim 1, wherein after the step of the trusted data provider triggering a registration request for registering a trusted data source after the trusted data provider successfully registers with the trusted data management center, the step of registering the trusted data source with the trusted data management center further comprises:
after a participant in a block chain network acquires trusted data corresponding to the trusted data source through the trusted data management center, the block chain operator detects whether an arbitration request sent by the participant is received;
after the arbitration request is received, the transaction of the participant for obtaining the credible data is checked according to the arbitration request to obtain a check result;
and if the credible data is determined to be the false data according to the inspection result, punishing operation is carried out on the credible data source and the credible data provider according to a preset rule.
6. The blockchain trusted data management method of claim 1, wherein the step of granting the trusted data provider management authority to manage a trusted data source by the blockchain operator if the verification of the to-be-verified data is verified, and registering the trusted data provider in the trusted data management center comprises:
if the data to be audited is approved, the block chain operator initiates a transaction request for creating the trusted data provider to the block chain system, and grants a management authority of the trusted data provider for managing the trusted data source, wherein the transaction request carries transaction data of the trusted data provider;
receiving, by the blockchain system, the transaction request and detecting whether the transaction request was sent by the blockchain operator;
if the transaction request is sent by the block chain operator, detecting whether the transaction data meets a preset condition;
and if the transaction data meet the preset conditions, registering the trusted data provider into the trusted data management center by a block chain operator.
7. The blockchain trusted data management method according to any one of claims 1 to 6, wherein after the trusted data provider is successfully registered with the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source, and the step of registering the trusted data source with the trusted data management center includes:
after the trusted data provider successfully registers in the trusted data management center, the trusted data provider triggers a registration request for registering a trusted data source;
after the blockchain system detects the registration request, the blockchain system detects whether the trusted data provider has registration authority for registering the trusted data source;
if the trusted data provider has the registration authority, detecting whether the information of the trusted data source to be registered meets a preset condition;
and if the information of the trusted data source meets a preset condition, calling a registration interface of the trusted data management center by the trusted data provider, and registering the trusted data source in the trusted data management center.
8. A blockchain trusted data management system, comprising a memory, a processor and a blockchain trusted data manager stored on the memory and executable on the processor, the blockchain trusted data manager when executed by the processor implementing the steps of the blockchain trusted data management method according to any one of claims 1 to 7.
9. A computer readable storage medium having stored thereon a blockchain trusted data management program, which when executed by a processor implements the steps of a blockchain trusted data management method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711363312.9A CN108171083B (en) | 2017-12-18 | 2017-12-18 | Block chain trusted data management method, system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711363312.9A CN108171083B (en) | 2017-12-18 | 2017-12-18 | Block chain trusted data management method, system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108171083A CN108171083A (en) | 2018-06-15 |
CN108171083B true CN108171083B (en) | 2020-02-07 |
Family
ID=62522209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711363312.9A Active CN108171083B (en) | 2017-12-18 | 2017-12-18 | Block chain trusted data management method, system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108171083B (en) |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108960852A (en) * | 2018-06-19 | 2018-12-07 | 武汉斑马快跑科技有限公司 | One kind is called a taxi evaluation system |
CN109086414B (en) * | 2018-08-03 | 2020-08-07 | 上海点融信息科技有限责任公司 | Method, apparatus and storage medium for searching blockchain data |
CN109101607B (en) * | 2018-08-03 | 2021-03-30 | 上海点融信息科技有限责任公司 | Method, apparatus and storage medium for searching blockchain data |
CN109347897B (en) * | 2018-08-16 | 2019-11-26 | 朱小军 | A kind of center architected bionic data Transmission system |
CN109325662A (en) * | 2018-08-27 | 2019-02-12 | 杭州嘉楠耘智信息科技有限公司 | Credit recording method and system based on block chain |
DE102018122997A1 (en) * | 2018-09-19 | 2020-03-19 | Infineon Technologies Ag | BLOCK CHAIN ENTITY, EXTERNAL CHAIN ENTITY, CERTIFICATION DEVICE FOR BLOCK CHAIN OPERATIONS AND METHOD FOR CARRYING OUT A COOPERATION BETWEEN A BLOCK CHAIN ENTITY AND AN EXTERNAL CHAIN ENTITY |
CN111201751B (en) * | 2018-09-26 | 2021-03-09 | 北京嘀嘀无限科技发展有限公司 | Method and system for arbitrating data authenticity in blockchain |
CN109450638B (en) * | 2018-10-23 | 2021-11-02 | 国科赛思(北京)科技有限公司 | Block chain-based electronic component data management system and method |
CN109558453B (en) * | 2018-11-27 | 2021-01-26 | 深圳市链联科技有限公司 | Block chain data network storage and relocation method |
CN109587244B (en) * | 2018-12-06 | 2022-04-19 | 青岛网信信息科技有限公司 | Cloud mobile phone data processing method and device, computer readable storage medium and electronic equipment |
CN111639997A (en) * | 2019-03-01 | 2020-09-08 | 中国银联股份有限公司 | Transaction management method and device based on associated transaction rules |
CA3058236C (en) | 2019-03-27 | 2020-08-25 | Alibaba Group Holding Limited | Retrieving public data for blockchain networks using highly available trusted execution environments |
EP3673617B1 (en) | 2019-03-27 | 2021-11-17 | Advanced New Technologies Co., Ltd. | Retrieving public data for blockchain networks using trusted execution environments |
EP3910907B1 (en) | 2019-03-29 | 2023-08-02 | Advanced New Technologies Co., Ltd. | Retrieving access data for blockchain networks using highly available trusted execution environments |
CN110097361B (en) * | 2019-04-01 | 2023-04-07 | 南京思利华信息科技有限公司 | Block chain dynamic calculation force consensus method based on X11 algorithm and computer system |
CN111835795A (en) * | 2019-04-14 | 2020-10-27 | 苏红 | Block chain and non-block chain system state synchronization method |
CN110704531B (en) * | 2019-04-25 | 2022-05-10 | 中国南方电网有限责任公司 | Block chain-based electricity consumption client credit management method and system |
CN112923539B (en) * | 2019-12-05 | 2022-12-27 | 新奥数能科技有限公司 | Operation optimization method and system for air conditioning unit |
CN111538734B (en) * | 2020-07-02 | 2020-10-27 | 北京东方通科技股份有限公司 | Management method for block chain trusted data |
CN111737368B (en) * | 2020-07-24 | 2020-12-18 | 支付宝(杭州)信息技术有限公司 | Data processing method, device, equipment and medium |
CN112650813B (en) * | 2020-12-28 | 2023-12-29 | 杭州趣链科技有限公司 | Data sharing method for distributed auditing |
CN113114634A (en) * | 2021-03-24 | 2021-07-13 | 武汉卓尔信息科技有限公司 | Credible data management method based on alliance chain and alliance chain |
CN114117499B (en) * | 2021-12-06 | 2024-05-03 | 中电万维信息技术有限责任公司 | Trusted data exchange method based on authority management |
CN114979278A (en) * | 2022-05-24 | 2022-08-30 | 深圳点宽网络科技有限公司 | Calculation power scheduling method, device and system based on block chain and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107241360A (en) * | 2017-08-04 | 2017-10-10 | 北京明朝万达科技股份有限公司 | A kind of data safety shares exchange method and data safety shares switching plane system |
CN107346482A (en) * | 2017-05-12 | 2017-11-14 | 深圳蜂链科技有限公司 | The method and device that block chain is docked, verifies, known together with the outer data of chain |
JP6234539B1 (en) * | 2016-11-16 | 2017-11-22 | PwCあらた有限責任監査法人 | Data structure, information processing apparatus, program, information processing method, and transaction system |
CN107392610A (en) * | 2017-03-06 | 2017-11-24 | 钱德君 | A kind of implementation method in the authentic data source of distributed network |
CN107464118A (en) * | 2017-08-16 | 2017-12-12 | 济南浪潮高新科技投资发展有限公司 | A kind of data trade method based on block chain intelligence contract |
CN107480559A (en) * | 2017-08-25 | 2017-12-15 | 北京中星仝创科技有限公司 | Safe storage system and method for a kind of block chain from chain data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11526938B2 (en) * | 2016-03-31 | 2022-12-13 | Refinitiv Us Organization Llc | Systems and methods for providing financial data to financial instruments in a distributed ledger system |
-
2017
- 2017-12-18 CN CN201711363312.9A patent/CN108171083B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6234539B1 (en) * | 2016-11-16 | 2017-11-22 | PwCあらた有限責任監査法人 | Data structure, information processing apparatus, program, information processing method, and transaction system |
CN107392610A (en) * | 2017-03-06 | 2017-11-24 | 钱德君 | A kind of implementation method in the authentic data source of distributed network |
CN107346482A (en) * | 2017-05-12 | 2017-11-14 | 深圳蜂链科技有限公司 | The method and device that block chain is docked, verifies, known together with the outer data of chain |
CN107241360A (en) * | 2017-08-04 | 2017-10-10 | 北京明朝万达科技股份有限公司 | A kind of data safety shares exchange method and data safety shares switching plane system |
CN107464118A (en) * | 2017-08-16 | 2017-12-12 | 济南浪潮高新科技投资发展有限公司 | A kind of data trade method based on block chain intelligence contract |
CN107480559A (en) * | 2017-08-25 | 2017-12-15 | 北京中星仝创科技有限公司 | Safe storage system and method for a kind of block chain from chain data |
Also Published As
Publication number | Publication date |
---|---|
CN108171083A (en) | 2018-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108171083B (en) | Block chain trusted data management method, system and computer readable storage medium | |
US11610019B2 (en) | Information management method, apparatus, and information management system | |
US10915552B2 (en) | Delegating credentials with a blockchain member service | |
CN110620810B (en) | Non-linked ownership of continuous asset transfer over blockchain | |
CN107993149B (en) | Account information management method, system and readable storage medium | |
US20210006561A1 (en) | Permissions using blockchain | |
US10985907B2 (en) | Identifying faults in a blockchain ordering service | |
US12032716B2 (en) | Accessing information based on privileges | |
US11296864B2 (en) | Identifying faults in a blockchain ordering service | |
CN108197913B (en) | Payment method, system and computer readable storage medium based on block chain | |
WO2019011179A1 (en) | Certificate management method, system, network device and computer readable storage medium | |
US20200389294A1 (en) | Transmitting or receiving blockchain information | |
US20190333029A1 (en) | System, method, and computer program product for validating blockchain or distributed ledger transactions in a service requiring payment | |
KR20190097269A (en) | Method and apparatus for digital certificate management, and electronic device | |
JP7228322B2 (en) | Auto-commit transaction management in blockchain networks | |
WO2019219324A1 (en) | Automated data projection for smart contract groups on a blockchain | |
EP4216077A1 (en) | Blockchain network-based method and apparatus for data processing, and computer device | |
JP2008022526A (en) | Attribute certificate verification method, attribute authority apparatus, service providing apparatus, and attribute certificate verification system | |
US20140068251A1 (en) | Method and device for dynamically updating and maintaining certificate path data across remote trust domains | |
JP2016521932A (en) | Terminal identification method, and method, system, and apparatus for registering machine identification code | |
CN110599275A (en) | Data processing method and device based on block chain network and storage medium | |
US11700133B2 (en) | Zero-knowledge proof-based certificate service method using blockchain network, certification support server using same, and user terminal using same | |
CN105324976A (en) | Method to enroll a certificate to a device using scep and respective management application | |
CN111222174A (en) | Joining method, verification method, device and storage medium of block chain node | |
CN111294356A (en) | Block chain based method and system for organizing node uplink |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |