A blockchain-based enterprise data resource distributed circulation method
By enabling the distributed circulation of enterprise data resources through blockchain technology, data security and privacy issues are resolved, ensuring the security and integrity of data resources during circulation, and realizing a hybrid model of on-chain supervision and off-chain circulation.
Patent Information
- Application Number
- CN202310799445.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In existing data circulation models, data security and privacy issues are difficult to effectively address, especially the risks of data retention and leakage on platforms during the data circulation process.
The method of distributed circulation of enterprise data resources based on blockchain involves data resource providers initiating rights confirmation applications off-chain, the platform confirming data rights and listing the data on the blockchain, the demand side verifying ownership and paying a deposit on the blockchain, and the ownership change after the data circulates off-chain, thus ensuring the security and integrity of data resources.
It ensures the security and privacy of data resources during circulation, prevents data resources from being retained and tampered with, and ensures the effective circulation and ownership transfer of data resources.
Smart Images

Figure CN116842102B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The embodiment of the present application relates to the technical field of blockchain application, and particularly relates to a distributed circulation method for enterprise data resources based on a blockchain. BACKGROUND
[0002] With the rapid development of the Internet of Things intelligent system, the multi-type massive data accumulated by enterprises has become an important resource. Data resources are data resources that are legally owned or controlled, quantifiable, recorded in electronic or other forms, and can directly or indirectly bring social and economic benefits. With people paying more and more attention to the economic value of data in improving efficiency and decision-making, customer experience, etc., data resource circulation and sharing have become a trend and a market demand.
[0003] However, unlike traditional goods, data has intangible and easy-to-copy characteristics and can be easily and indiscriminately copied. Once leaked, it is difficult to recover. To establish a perfect data resource circulation mode, the first problem to be solved is the core problem of data security protection and data privacy. From the circulation mode, the existing data circulation mode mainly includes two types: a hosting circulation mode and an aggregation circulation mode. The former requires the data owner to host the data to the database of the data circulation center, and the data circulation center circulates with the data buyer. The latter is managed by the data owner himself, and the data circulation center provides the demand side through open API or data processing. However, careful analysis will find that the data flow platform actually has the ability and opportunity to retain the circulation data or data service results. The data content stored in the data platform may be tampered with and leaked.
[0004] Therefore, there is an urgent need for a new data resource circulation method. SUMMARY
[0005] The embodiment of the present application provides a distributed circulation method for enterprise data resources based on a blockchain to at least partially solve the problems in the related art.
[0006] The first aspect of the embodiment of the present application provides a distributed circulation method for enterprise data resources based on a blockchain, and the method comprises:
[0007] The provider of the data resources initiates a data resource right application to the platform party off-chain;
[0008] After receiving the data resource right application initiated by the provider, the platform party performs data right on the data resources, and uploads the ownership information of the data resources and the key information of the data resources to the blockchain;
[0009] The platform party hangs up the data resource for display after completing data right of the data resource, so that the demand party can query the data resource on the blockchain;
[0010] The demand party queries the data resource on the blockchain and verifies the ownership of the data resource;
[0011] In the case where it is determined that the data resource belongs to the provider, the demand party temporarily stores the margin for circulating the data resource in the off-chain database of the platform party;
[0012] After the provider sends the encrypted data resource to the demand party in an off-chain form, and the demand party decrypts the encrypted data resource and verifies the integrity of the data resource, the ownership of the data resource is changed on the blockchain;
[0013] The platform party provides the margin stored in the off-chain database to the provider to complete the circulation of the data resource.
[0014] Optionally, after receiving the data resource right application initiated by the provider, the platform party performs data right on the data resource, and uploads the ownership information of the data resource and the key information of the data resource to the blockchain, including:
[0015] After receiving the data resource right application initiated by the provider, the platform party registers the data set ID corresponding to the data resource on the blockchain, and sends the data set ID to the provider;
[0016] The provider performs VRF (Verifiable Random Function) calculation on the data set ID off-chain based on a preset first private key, generates VRF-result (Verifiable Random Function result) and VRF-proof (Verifiable Random Function proof), and the VRF-result and the VRF-proof match;
[0017] The provider sends the VRF-result to the platform party;
[0018] After obtaining the VRF-result, the platform party uploads the VRF-result to the blockchain and binds it with the data set ID to complete the data right of the data resource.
[0019] Optionally, after completing the data right of the data resource, the platform party puts the data resource on display, comprising:
[0020] The provider pre-processes the data resource according to the data preprocessing standard specification and processing tool provided by the platform party, and uploads the test report, data resource directory and target data resource hash digest corresponding to the pre-processed data resource to the blockchain;
[0021] The platform party displays the data resource on the blockchain after verifying the test report.
[0022] Optionally, the data resource is queried according to the demand direction blockchain, and the ownership of the data resource is verified, comprising:
[0023] The demand party obtains the data set ID, and queries the VRF-result verifiable random function result corresponding to the data set ID based on the data set ID.
[0024] Based on the VRF-result verifiable random function result and the preset verification program, the demand party and the provider jointly verify the ownership of the data resource.
[0025] Optionally, based on the VRF-result verifiable random function result and the preset verification program, the demand party verifies the ownership of the data resource, comprising:
[0026] The demand party inputs the VRF-result verifiable random function result into the preset verification program, initiates a to-be-verified request in the verification program, and sets a second key, the second key comprising a second public key and a second private key; the to-be-verified request is a request to verify whether the data resource belongs to the provider;
[0027] The demand party sends the second public key to the provider in an off-chain form, and the provider responds to the to-be-verified request based on the second public key and the VRF-proof verifiable random function proof, so that the verification program verifies the ownership of the data resource based on the VRF-result verifiable random function result, VRF-proof verifiable random function proof and the first public key of the provider.
[0028] Optionally, in the case where it is determined that the data resource belongs to the provider, after the demand party temporarily stores the margin for circulating the data resource in the off-chain database of the platform party, the method further comprises:
[0029] The provider sends the VRF-proof verifiable random function proof to the platform party in an off-chain manner;
[0030] The platform party generates a circulation record after receiving the VRF-proof verifiable random function proof; the circulation record includes at least one of a provider and a demand party, a circulation time, and a circulation price;
[0031] The platform party stores the circulation record and a hash value corresponding to the circulation record in an off-chain database, and uploads the hash value corresponding to the circulation record to the blockchain for storage.
[0032] Optionally, after the provider sends the encrypted data resource to the demand party in an off-chain manner, and the demand party decrypts the encrypted data resource and verifies the integrity of the data resource, the ownership of the data resource is changed on the blockchain, including:
[0033] The provider encrypts the data resource based on a second public key provided by the demand party and sends the encrypted data resource to the demand party;
[0034] The demand party decrypts the encrypted data resource by using a second private key provided by the demand party after receiving the encrypted data resource, and verifies the integrity of the decrypted data resource;
[0035] After verifying the integrity of the decrypted data resource, the ownership of the data resource is changed on the blockchain.
[0036] Optionally, the verifying the integrity of the decrypted data resource includes:
[0037] calculating a first hash digest of the decrypted data resource;
[0038] comparing the first hash digest with a target hash digest;
[0039] If the comparison result is the same, it is determined that the data resource is a complete data resource.
[0040] Optionally, after verifying the integrity of the decrypted data resource, the ownership of the data resource is changed on the blockchain, including:
[0041] The demand party performs verifiable random function (VRF) calculation on the data set ID stored on the blockchain based on the second private key, to obtain a VRF-result verifiable random function result and a VRF-proof verifiable random function proof corresponding to the demand party;
[0042] The demand side uploads the VRF-result verifiable random function result corresponding to the demand side to a blockchain to change the ownership of the data resource from the provider to the demand side.
[0043] The present application has the following advantages:
[0044] In the embodiment of the present application, a distributed circulation method of enterprise data resources based on a blockchain is provided, which comprises: a provider of a data resource initiates a data resource right confirmation application to a platform party off-chain; the platform party performs data right confirmation on the data resource after receiving the data resource right confirmation application initiated by the provider, and uploads the ownership information of the data resource and the key information of the data resource to the blockchain; the platform party displays the data resource for listing after completing the data right confirmation on the data resource, so that a demand side can query the data resource on the blockchain; the demand side queries the data resource on the blockchain and verifies the ownership of the data resource; in the case where it is determined that the data resource belongs to the provider, the demand side temporarily stores a margin for circulating the data resource in an off-chain database of the platform party; after the provider sends the encrypted data resource to the demand side in an off-chain form, and the demand side decrypts the encrypted data resource and verifies the integrity of the data resource, the ownership of the data resource is changed on the blockchain; the platform party provides the margin stored in the off-chain database to the provider to complete the circulation of the data resource. The circulation of the data resource off-chain and the right confirmation, ownership verification and ownership change of the data resource on the blockchain in the embodiment of the present application realize a hybrid data circulation mode on and off the chain, which not only protects the data resource from being left in the circulation process and causing leakage, but also effectively prevents the effective circulation information of the data resource from being tampered with. BRIEF DESCRIPTION OF DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0046] Figure 1 is a step flow diagram of a distributed circulation method of enterprise data resources based on a blockchain according to an embodiment of the present application;
[0047] Figure 2 is a trusted authentication flowchart of data resource access online according to an embodiment of the present application;
[0048] Figure 3 is a flow block diagram of a data ownership trusted verification mechanism based on VRF verifiable random function calculation of an embodiment of the present application;
[0049] Figure 4 is a flow block diagram of a data ownership trusted verification mechanism based on VRF verifiable random function calculation of an embodiment of the present application;
[0050] Figure 5 is a trusted change flow block diagram of data ownership change of data resources under privacy protection of an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0052] Data resources are important assets of enterprises, and need to be circulated to better realize their value. However, data itself has the characteristics of intangibility and easy duplication, and the traditional data circulation mode has problems such as difficulty in guaranteeing the security of data resources and easy leakage of privacy of each circulation subject. In order to overcome the above problems, the present application provides a hybrid data circulation mode on and off the chain, so as to realize the purpose of off-chain circulation and on-chain supervision of data resources. It should be noted that the on-chain supervision in the present application refers to data right protection, ownership verification and ownership change of data resources stored on the blockchain, and the data resources can be product data circulated in the Internet of Things. In addition, it should be noted that the present application focuses on the processing process in the data resource circulation process.
[0053] In a first aspect, the present application provides a distributed circulation method for enterprise data resources based on a blockchain, as shown in Figure 1 As shown in the flow chart of the steps of the distributed circulation method for enterprise data resources based on a blockchain of an embodiment of the present application, the method comprises the following steps: Figure 2 As shown in the flow chart of the hybrid data circulation mode of data resources off-chain and on-chain provided by the present application, the method comprises the following steps:
[0054] In step S101, the provider of the data resources initiates a data resource right protection application to the platform party off-chain.
[0055] Specifically, in the present application, the overall strategy of off-chain distributed storage and centralized circulation of data resources and on-chain supervision is adopted. That is, the data resources are still stored in the off-chain databases of each provider, and the circulation activities of the data resources are carried out off-chain, while the supervision of the data resources is carried out in the mode of on-chain supervision.
[0056] Therefore, if the provider wants to list the data resource, the provider needs to first initiate the data resource right application to the platform, and the data resource can be listed only after the data resource right application is approved by the platform.
[0057] In step S102, the platform performs data right on the data resource after receiving the data resource right application initiated by the provider, and uploads the ownership information of the data resource and the key information of the data resource to the blockchain.
[0058] In this step, the platform receives the data resource right application initiated by the provider, and further performs data right on the data resource. It should be noted that the key information of the data resource includes at least one of the inspection report, the data set basic information including the directory, and the hash digest.
[0059] In a preferred embodiment, after receiving the data resource right application initiated by the provider, the platform registers the data set ID corresponding to the data resource on the blockchain, and sends the data set ID to the provider.
[0060] The provider performs VRF (Verifiable Random Function) calculation on the data set ID off-chain based on a preset first private key, generates a VRF-result (Verifiable Random Function result) and a VRF-proof (Verifiable Random Function proof), and the VRF-result and the VRF-proof match.
[0061] The provider sends the VRF-result to the platform.
[0062] After obtaining the VRF-result, the platform uploads the VRF-result to the blockchain and binds the VRF-result with the data set ID, so as to complete the data right of the data resource.
[0063] Specifically, in this embodiment, after receiving the data resource right application of the provider, the platform needs to register the data set ID corresponding to the data resource on the blockchain, that is, by registering the data set ID on the blockchain, the data set ID is chained, which can ensure its non-tamperability and non-fungibility, and at the same time provides transparency and verifiability for the data resource right process.
[0064] Further, the platform party sends the registered dataset ID to the provider, and the provider performs VRF (verifiable random function) calculation through a preset first private key to generate a pair of VRF-result verifiable random function result and VRF-proof verifiable random function proof, and sends the VRF-result verifiable random function result to the platform party. After receiving the VRF-result verifiable random function result, the platform party binds the VRF-result verifiable random function result with the dataset ID, thereby completing the data right of the data resource. In actual application, the platform party can require the provider to encrypt the data resource using the first private key during the data right process, and bind the encrypted data with the dataset ID, so as to ensure that only the user holding the correct private key can decrypt and access the data resource, and the leakage of the data resource can be avoided. In this embodiment, the blockchain and the verifiable random function are introduced in the data resource right process, which can increase the credibility, transparency and security of the right process. The rights and interests of the data resource can be further protected, and a better foundation for effective supervision of the data resource can be provided.
[0065] In step S103, after completing the data right of the data resource, the platform party displays the data resource for listing to enable the demand party to query the data resource on the blockchain.
[0066] Specifically, after completing the data right of the data resource, the platform party can display the data resource for listing based on the dataset ID on the blockchain, and establish a trusted circulation environment for the provider and the demand party of the data resource.
[0067] In a preferred embodiment, the provider pre-processes the data resource according to the data preprocessing standard specification and processing tool provided by the platform party, and uploads the inspection report, data resource directory and target data resource hash digest corresponding to the pre-processed data resource to the blockchain.
[0068] After the platform party verifies the inspection report on the blockchain, the platform party displays the data resource for listing.
[0069] Specifically, after completing the data right, the platform party provides the provider with a standard specification and processing tool for pre-processing the data resource, wherein the pre-processing can include desensitization, cleaning, auditing, and security testing, etc. The provider pre-processes the data resource off-chain according to the data pre-processing standard specification provided by the platform party and using the processing tool, and generates an inspection report after the processed data resource meets the standard specification. The processing tool will automatically generate a target hash digest of the data resource, and upload the target hash digest, the inspection report, and the data resource catalog to the blockchain. Finally, the platform party verifies the inspection report on the blockchain, and displays the data resource for listing after verifying that it is correct. In this embodiment, by verifying the inspection report uploaded by the provider on the blockchain by the platform party, it can be ensured that the pre-processing result of the data resource meets the pre-defined standard specification, and based on the non-tamperability and transparency of the blockchain, the platform party displays the processed data resource for listing, so as to provide trusted data resources for potential demand parties, including the source of the data, the pre-processing method, and the data quality, etc. so as to facilitate the demand party to browse and search the data resource through the platform and make a decision based on its specific demand.
[0070] Figure 3 is a trusted authentication process block diagram of data resource access online provided by an embodiment of the application, as shown in Figure 3 The provider applies for data right to the platform party, the platform party registers the data set ID corresponding to the data resource on the blockchain, and returns the data set ID to the provider. The provider calculates the VRF-result verifiable random function result and VRF-proof verifiable random function proof by performing a verifiable random function VRF calculation on the data set ID through a preset first private key, wherein the VRF-proof verifiable random function proof is saved by the provider itself, and the VRF-result verifiable random function result is sent to the platform party. The platform party uploads the VRF-result verifiable random function result to the blockchain storage and binds it with the data set ID to complete the data right of the data resource. The provider pre-processes the data resource off-chain according to the data pre-processing standard specification and processing tool provided by the platform party, and uploads the detection report to the blockchain. The platform party verifies the inspection report on the blockchain, and displays the data resource for listing after verifying that it is correct.
[0071] In step S104, the demand party queries the data resource on the blockchain and verifies the ownership of the data resource.
[0072] Specifically, in this step, the demand party can query the relevant data resource through the blockchain query interface created on the blockchain, and verify the ownership of the data resource.
[0073] In a preferred embodiment, the demander acquires the dataset ID, and queries the blockchain based on the dataset ID to obtain the VRF-result verifiable random function result corresponding to the dataset ID;
[0074] Based on the VRF-result verifiable random function result and a preset verification program, the demander verifies the ownership of the data resource.
[0075] In this embodiment, the demander queries the dataset ID of the required data resource and the VRF-result verifiable random function result corresponding to the dataset ID through the blockchain query interface created on the blockchain.
[0076] Further, the demander submits the VRF-result verifiable random function result corresponding to the dataset ID to the preset verification program, and verifies the ownership of the data resource corresponding to the dataset ID.
[0077] In a specific embodiment, the demander inputs the VRF-result verifiable random function result into the preset verification program, initiates a to-be-verified request in the verification program, and sets a second key, the second key including a second public key and a second private key; the to-be-verified request is a request to verify whether the data resource belongs to the provider.
[0078] The demander sends the second public key to the provider in an off-chain manner, and the provider responds to the to-be-verified request based on the second public key and the VRF-proof verifiable random function proof, so that the verification program verifies the ownership of the data resource based on the VRF-result verifiable random function result, the VRF-proof verifiable random function proof, and the first public key of the provider.
[0079] Specifically, in this embodiment, the demander provides the queried VRF-result verifiable random function result as input to the preset verification program. In actual application, the verification program needs to be able to verify the correctness of the VRF-result verifiable random function result, and initiate a to-be-verified request to verify the ownership of the data resource.
[0080] At the same time, the demander sets a second key in the verification program, the second key including a second public key and a second private key. The to-be-verified request is a request to verify whether the data resource belongs to the provider. In actual application, only the demander knows the second private key, and the second public key is sent to the provider of the data resource in an off-chain manner. Thus, the security and correctness of the data resource ownership verification process can be ensured.
[0081] Further, after the demand side sends the second public key to the provider in an off-chain manner, the provider responds to the to-be-verified request based on the second public key and the VRF-proof verifiable random function proof. The VRF-proof verifiable random function proof can be used to verify that the VRF-result verifiable random function result is valid and has not been tampered with. The specific verification process is as follows: the verification program uses the VRF-result verifiable random function result, the VRF-proof verifiable random function proof, and the first public key of the provider to verify the ownership of the data resource. The verification program first uses the first public key and the VRF-proof verifiable random function proof to verify the validity of the VRF-result verifiable random function result. Then, it uses the rules and logic defined by the verification program to verify the ownership of the data resource. In this embodiment, through VRF verifiable random function calculation, the data ownership of the data resource can be verified without providing the owner information, thereby ensuring the verifiability of the data ownership and providing security protection for the valid information provided by the provider.
[0082] Figure 4 is a flow chart of a data ownership trusted verification mechanism based on VRF verifiable random function calculation provided by an embodiment of the application. As shown in Figure 4
[0083] The demand side obtains the VRF-result verifiable random function result corresponding to the data set ID through blockchain query by the data set ID, and sends the second public key used to respond to the verification request to the provider. The demand side sends the VRF-result verifiable random function result to the verification program, and the provider responds to the verification request based on the second public key. The provider also sends the VRF-proof verifiable random function proof and the first public key to the verification program, and performs effective verification on the ownership of the data resource based on the verification program.
[0084] In step S105, in the case where it is determined that the data resource belongs to the provider, the demand side temporarily stores a margin for circulating the data resource in an off-chain database of the platform side.
[0085] In this step, through verification, the demand side determines that the data resource belongs to the provider, and temporarily stores a margin for circulating the data resource in an off-chain database of the platform side.
[0086] In a preferred embodiment, the provider sends the VRF-proof verifiable random function proof to the platform side in an off-chain manner.
[0087] The platform party generates a circulation record after receiving the VRF-proof verifiable random function proof; the circulation record includes at least one of the following: a provider and a demander, a circulation time, and a circulation price;
[0088] The platform party stores the circulation record and a hash value corresponding to the circulation record in an off-chain database, and uploads the hash value corresponding to the circulation record to the blockchain for storage.
[0089] Specifically, the demander temporarily deposits a margin in the off-chain database of the platform party, indicating that the demander is interested in circulating the data resource. At this time, the provider sends a VRF-proof verifiable random function proof managed by the provider to the platform party in an off-chain manner to prove that the provider agrees to circulate the data resource. The platform party generates a circulation record after receiving the VRF-proof verifiable random function proof; the circulation record includes at least one of the following: a provider and a demander of the data resource, a circulation time, and a circulation price.
[0090] The platform party calculates a hash value corresponding to the circulation record and stores it in an off-chain database. At the same time, the platform party uploads the hash value corresponding to the circulation record to the blockchain for storage by calling a blockchain service, thereby effectively preventing the circulation record from being tampered with.
[0091] In step S106, the provider sends the encrypted data resource to the demander in an off-chain manner, and the demander decrypts the encrypted data resource and verifies the integrity of the data resource after the decryption, and then performs ownership change of the data resource on the blockchain.
[0092] In a preferred embodiment, the provider encrypts the data resource based on the second public key provided by the demander and sends the encrypted data resource to the demander;
[0093] The demander decrypts the encrypted data resource by using the second private key provided by the demander after receiving the encrypted data resource, and verifies the integrity of the decrypted data resource;
[0094] After verifying the integrity of the decrypted data resource, the ownership of the data resource is changed on the blockchain.
[0095] In step S106, the provider sends the encrypted data resource to the demander in an off-chain manner, and the demander decrypts the encrypted data resource and verifies the integrity of the data resource after the decryption, and then performs ownership change of the data resource on the blockchain.
[0096] The provider encrypts the data resource based on the second public key and sends the encrypted data resource to the demander;
[0097] After receiving the encrypted data resource, the demander decrypts the encrypted data resource through the second private key and verifies the integrity of the decrypted data resource;
[0098] After verifying the integrity of the decrypted data resource, the ownership of the data resource is changed on the blockchain.
[0099] In this embodiment, the provider encrypts the data resource to be circulated through the second public key sent by the demander, and sends the encrypted data resource directly to the demander in an off-chain manner, without going through the platform, so as to avoid being intercepted by the platform, thereby ensuring that only the provider and the demander can obtain the data resource, avoiding leakage of the data resource. Further, in the process of circulation of the data resource, the provider and the demander do not know each other's information, thereby better protecting the privacy information of the provider and the demander. Further, after receiving the encrypted data resource, the demander decrypts the encrypted data resource through the second private key stored by itself, calculates the first hash digest of the decrypted data resource, and compares the first hash digest with the target hash digest. If the comparison result is the same, it can be determined that the decrypted data resource is a complete data resource.
[0100] Further, the data set ID corresponding to the decrypted data resource is calculated through the second private key, the VRF-proof verifiable random function result and the VRF-proof verifiable random function proof are obtained, the VRF-proof verifiable random function result is uploaded to the blockchain, and the VRF-proof verifiable random function proof is saved by the demander. The ownership of the data resource is changed from the provider to the demander, thereby completing the data ownership change of the data resource.
[0101] Step S107, the platform provides the margin stored in the off-chain database to the provider to complete the circulation of the data resource.
[0102] In this step, after completing the data ownership change of the data resource, the platform provides the margin stored in the off-chain database to the provider, and the circulation process of the data resource is completed. Through the above process, the VRF-proof verifiable random function result updated by the demander is uploaded to the blockchain to complete the data ownership change of the data resource, and the data resource is tamper-proof.
[0103] Figure 5 is a privacy protection data resource data ownership change of a trusted change process block diagram provided by an embodiment of the application, as shown in Figure 5
[0104] First, the platform party, the demand party provides a margin for this data circulation to be temporarily stored in the platform party; the provider sends the VRF-proof verifiable random function proof managed by himself to the platform party, and agrees to the data resource circulation this time with the proof. The platform party generates the circulation record of this data circulation, and stores it in the off-chain database in plaintext form, and at the same time calls the blockchain service to upload the calculated circulation data corresponding to the hash value to the blockchain for notarization.
[0105] Then, the provider encrypts the data resource through the second public key sent by the demand party and sends the encrypted data resource to the demand party, and the demand party decrypts the encrypted data resource through the second private key managed by itself and calculates the first hash digest of the decrypted data resource, and compares the first hash digest with the target hash digest stored in the blockchain to verify the integrity of the decrypted data resource.
[0106] Finally, the demand party calculates the VRF-result verifiable random function result and the VRF-proof verifiable random function proof of the decrypted data resource through the second private key, and uploads the VRF-result verifiable random function result to the blockchain by the platform party to complete the data ownership change of the data resource. After the data ownership change is completed, the platform party sends the margin provided by the demand party to the provider.
[0107] In the embodiment of the present application, a distributed circulation method of enterprise data resources based on a block chain is provided, the method comprising: a provider of data resources initiates a data resource right application to a platform party off-chain; the platform party performs data right on the data resources after receiving the data resource right application initiated by the provider, and uploads the ownership information of the data resources and the key information of the data resources to the block chain; the platform party displays the data resources after completing the data right on the data resources, so that the demand party can query the data resources on the block chain; the demand party queries the data resources on the block chain and verifies the ownership of the data resources; in the case where it is determined that the data resources belong to the provider, the demand party temporarily stores the margin for circulating the data resources in the off-chain database of the platform party; after the provider sends the encrypted data resources to the demand party in the form of off-chain and the demand party decrypts the encrypted data resources and verifies the integrity of the data resources, the ownership of the data resources is changed on the block chain; the platform party provides the margin stored in the off-chain database to the provider to complete the circulation of the data resources. The embodiment of the present application circulates the data resources off-chain, performs data right, ownership verification and ownership change on the block chain, so as to realize the mixed data circulation mode on and off the chain, which not only can protect the data resources from being left in the circulation process and causing leakage, but also can effectively prevent the effective circulation information of the data resources from being tampered.
[0108] Each embodiment in the specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same and similar parts between the embodiments can be referred to each other.
[0109] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, device or computer program product. Therefore, the embodiments of the present application can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0110] The embodiments of the present application are described with reference to the flowchart illustrations and / or block diagrams of the methods, terminal devices (systems) and computer program products according to the embodiments of the present application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0111] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flowcharts and / or block diagrams block or blocks. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0112] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flowcharts and / or block diagrams block or blocks. Figure 1 one or more of the flowcharts and / or block diagrams. Figure 1 one or more of the flowcharts and / or block diagrams.
[0113] While the preferred embodiments of the application have been described, additional variations and modifications can be made to the embodiments by those of skill in the art once they have the benefit of the present disclosure. Therefore, the appended claims are intended to cover all such variations and modifications as falling within the scope of the embodiments of the present application.
[0114] Finally, it needs to be pointed out that in this paper, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the term "includes", "contains" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or terminal device. Without more limitation, the element defined by the statement "includes a" does not exclude the presence of other identical elements in the process, method, article or terminal device including the element.
[0115] The above describes in detail the enterprise data resource distributed circulation method based on the blockchain provided by the present application, and the principles and implementation modes of the present application are described by applying specific examples in this paper. The above example is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed, and the above description should not be understood as a limitation of the present application.
Claims
1.A blockchain-based distributed circulation method of enterprise data resources, characterized in that, The method comprises: A provider of a data resource initiates a data resource right application to a platform party off-chain; After receiving the data resource right application initiated by the provider, the platform party performs data right on the data resource, and uploads the ownership information of the data resource and the key information of the data resource to the blockchain, comprising: After receiving the data resource right application initiated by the provider, the platform party registers the data set ID corresponding to the data resource on the blockchain, and sends the data set ID to the provider; The provider performs a verifiable random function (VRF) calculation on the data set ID off-chain based on a preset first private key, generates a VRF-result verifiable random function result and a VRF-proof verifiable random function proof, and the VRF-result verifiable random function result and the VRF-proof verifiable random function proof match; The provider sends the VRF-result verifiable random function result to the platform party; After obtaining the VRF-result verifiable random function result, the platform party uploads the VRF-result verifiable random function result to the blockchain and binds it with the data set ID to complete the data right of the data resource; After completing the data right of the data resource, the platform party displays the data resource for listing to enable a demand party to query the data resource on the blockchain; The demand party queries the data resource on the blockchain and verifies the ownership of the data resource; In a case where it is determined that the data resource belongs to the provider, the demand party temporarily stores a margin for circulating the data resource in an off-chain database of the platform party; After the provider sends the encrypted data resource to the demand party off-chain, and the demand party decrypts the encrypted data resource and verifies the integrity of the data resource, the ownership of the data resource is changed on the blockchain; The platform party provides the margin stored in the off-chain database to the provider to complete the circulation of the data resource. 2.The blockchain-based enterprise data resource distributed circulation method according to claim 1, characterized in that, After completing the data right of the data resource, the platform party displays the data resource for listing, comprising: The provider pre-processes the data resource according to the data preprocessing standard specification and processing tool provided by the platform party, and uploads the inspection report, data resource directory and target data resource hash digest corresponding to the pre-processed data resource to the blockchain; After verifying the inspection report on the blockchain, the platform party displays the data resource for listing. 3.The blockchain-based enterprise data resource distributed circulation method of claim 1, wherein, The demand party queries the data resource on the blockchain and verifies the ownership of the data resource, comprising: The demand party obtains the data set ID and queries the VRF-result verifiable random function result corresponding to the data set ID based on the data set ID. Based on the VRF-result verifiable random function result and a preset verification procedure, the demander and the provider jointly verify the ownership of the data resource. 4.The blockchain-based enterprise data resource distributed circulation method of claim 3, wherein, Based on the VRF-result verifiable random function result and a preset verification procedure, the demander verifies the ownership of the data resource, which comprises: The demander inputs the VRF-result verifiable random function result into the preset verification procedure, initiates a to-be-verified request in the verification procedure, and sets a second key, wherein the second key comprises a second public key and a second private key; the to-be-verified request is a request for verifying whether the data resource belongs to the provider; The demander sends the second public key to the provider in an off-chain manner, and the provider responds to the to-be-verified request based on the second public key and the VRF-proof verifiable random function proof, so that the verification procedure verifies the ownership of the data resource based on the VRF-result verifiable random function result, the VRF-proof verifiable random function proof, and the first public key of the provider. 5.The blockchain-based enterprise data resource distributed circulation method according to claim 1, wherein, In the case where it is determined that the data resource belongs to the provider, after the demander temporarily stores a margin for circulating the data resource in an off-chain database of the platform, the method further comprises: The provider sends the VRF-proof verifiable random function proof to the platform in an off-chain manner; After receiving the VRF-proof verifiable random function proof, the platform generates a circulation record, wherein the circulation record comprises at least one of the following: a provider and a demander, a circulation time, and a circulation price; The platform stores the circulation record and a hash value corresponding to the circulation record in an off-chain database, and uploads the hash value corresponding to the circulation record to the blockchain for storage. 6.The blockchain-based enterprise data resource distributed circulation method according to claim 1, wherein, After the provider sends the encrypted data resource to the demander in an off-chain manner, and the demander decrypts the encrypted data resource and verifies the integrity of the data resource, the ownership of the data resource is changed on the blockchain, which comprises: The provider encrypts the data resource based on the second public key provided by the demander and sends the encrypted data resource to the demander; After receiving the encrypted data resource, the demander decrypts the encrypted data resource by using the second private key provided by the demander, and verifies the integrity of the decrypted data resource; After verifying the integrity of the decrypted data resource, the ownership of the data resource is changed on the blockchain. 7.The blockchain-based enterprise data resource distributed circulation method of claim 6, wherein, The verification of the integrity of the decrypted data resource comprises: calculating a first hash digest of the decrypted data resource; comparing the first hash digest with a target hash digest; if the comparison result is the same, it is determined that the data resource is a complete data resource. 8.The blockchain-based enterprise data resource distributed circulation method according to claim 6 or 7, characterized in that, The ownership change of the data resource on the blockchain after verifying the integrity of the decrypted data resource comprises: The demand side performs a verifiable random function (VRF) calculation on the data set ID stored on the blockchain based on the second private key to obtain a VRF-result verifiable random function result corresponding to the demand side and a VRF-proof verifiable random function proof; The demand side uploads the VRF-result verifiable random function result corresponding to the demand side to the blockchain to change the ownership of the data resource from the provider to the demand side.
Citation Information
Patent Citations
Asynchronous BFT & DPOS consensus mechanism for distributing verifier rewards based on verifiable random function
CN110855432A
Data asset secure circulation method based on block chain
CN111415157A