Data decentration system, method and equipment

By using a decentralized data system and smart contract module, the problems of public identity, poor security, and insufficient transparency in centralized data markets are solved, enabling secure, transparent, and efficient data transactions, reducing costs, and improving user experience.

CN118981801APending Publication Date: 2024-11-19SHANGHAI KUNYAO NETWORK SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410984440.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The existing centralized data market suffers from privacy issues, poor security, insufficient transparency, high costs, and poor stability due to the public disclosure of data provider identity information.

Method used

By adopting a decentralized data system, utilizing smart contract modules, data platforms, and network storage nodes, and through hash verification, encryption, and decryption technologies, content identifiers are generated to achieve distributed data storage and transparent transactions. Combined with a reputation scoring mechanism, the security and fairness of the data market are ensured.

Benefits of technology

It has improved the security and transparency of the data market, reduced storage costs, enhanced user experience and market efficiency, prevented single points of failure, and protected the privacy of data providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981801A_ABST
    Figure CN118981801A_ABST
Patent Text Reader

Abstract

The invention aims to provide a data decentralization system, method and equipment. The system comprises a data supplier terminal, an intelligent contract module, a data platform and a network storage node, the data supplier terminal is used for calling a contract in the intelligent contract module to publish metadata; the data platform is used for performing hash verification on original data corresponding to the metadata, encrypting a hash verification result and the original data, and uploading the encrypted hash verification result and the encrypted original data to the network storage node; the network storage node feeds back the secret key and the content identifier to the data platform; the data platform is used for acquiring demand data purchased by a consumer on the data platform, generating an order transaction, determining a content identifier of the demand data based on the order transaction, querying the demand data, decrypting the demand data by using a secret key to obtain required original data, and downloading the required original data to the consumer terminal. And the efficiency of the data market and the user experience are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a system, method and device for data decentralization. Background Art

[0002] Existing data markets are usually operated by centralized platforms, which act as intermediaries between data providers and consumers, store data through centralized servers, and are responsible for processing data transactions, pricing, payment, and access management, while ensuring the quality and legitimacy of data through audit mechanisms. However, this centralized data market model has many inherent problems that limit its efficiency and user experience.

[0003] First, in a centralized data market, the identity information and reputation of data providers are usually public, which may lead to privacy issues and unfair competition. Malicious users can use this information to conduct targeted attacks or unfair competition, further damaging the fairness and trust of the market. Secondly, privacy and security issues are also very prominent. Centrally stored data is easy to become a target of hacker attacks, and there is a high risk of data privacy leakage, which makes users' concerns about data privacy may limit their participation. In addition, the lack of transparency in the transaction process also raises trust issues. It is difficult for users to understand the actual source of data and transaction details, and the opaque transaction process easily makes users question the legitimacy and accuracy of the data.

[0004] In addition, high costs and single point failure risks are also important challenges facing the existing data market. Centralized platforms usually charge high service fees, including data storage fees and transaction fees, which may limit the use of small and medium-sized enterprises and individual users, and hinder the widespread sharing and use of data. Centralized storage systems also have single point failure risks. Server failures may make data inaccessible, seriously affecting the availability and stability of the data market. Summary of the invention

[0005] One purpose of the present application is to provide a system, method and device for data decentralization to solve the problems in the prior art that the identity of data providers is disclosed, the provided data is unsafe, and the stability and security of the data market are poor.

[0006] According to one aspect of the present application, a data decentralized system is provided, the system comprising: a data supplier terminal, a smart contract module, a data platform and a network storage node; wherein:

[0007] The data supplier terminal is used to call the contract in the smart contract module to publish metadata;

[0008] The data platform is used to perform hash verification on the original data corresponding to the metadata, encrypt the hash verification result and the original data and generate a key for decryption, and upload the encrypted hash verification result and the encrypted original data to a network storage node;

[0009] The network storage node is used to generate a content identifier and feed the content identifier back to the data platform;

[0010] The data platform uploads the hash verification result, the encrypted hash verification result, the key and the content identifier to the smart contract module;

[0011] The data platform is used to obtain the demand data purchased by consumers on the data platform, generate order transactions, determine the content identifier of the demand data based on the order transactions, and the network storage node queries the demand data based on the content identifier, decrypts the demand data using a key, obtains the original data of the demand, and downloads it to the consumer terminal.

[0012] Optionally, the smart contract module is used to obtain transaction evaluations published by consumer terminals, perform credit ratings on data suppliers, and classify data suppliers according to the ratings.

[0013] Optionally, the metadata includes any combination of data attributes, data source, retention time on the chain, data price and contact information of the data provider, and the data attributes include name, content, type, format and size.

[0014] Optionally, the data supplier terminal is used to divide the original data into sample data and uploaded data, provide the sample data to consumers free of charge, and encrypt the uploaded data before uploading it to the data platform.

[0015] Optionally, the data supplier terminal is used to set the price of the data on the data platform after uploading the data to the data platform, and determine the lock certificate according to the price of the data.

[0016] According to another aspect of the present application, a method for data decentralization is also provided, the method comprising:

[0017] Get the metadata that the data provider calls the smart contract to publish;

[0018] Performing hash verification on the original data corresponding to the metadata, encrypting the hash verification result and the original data and generating a key for decryption, and uploading the encrypted hash verification result and the encrypted original data to a network storage node;

[0019] Receive the content identifier fed back by the network storage node, and upload the hash verification result, encrypted hash verification result, key, and content identifier to the smart contract;

[0020] Acquire demand data purchased by consumers on the data platform, generate an order transaction, and determine a content identifier of the demand data based on the order transaction;

[0021] The required data is queried in the network storage node based on the content identifier, the required data is decrypted using a key, the required original data is obtained, and downloaded to the consumer terminal.

[0022] Optionally, hash verification is performed on the original data corresponding to the metadata, including:

[0023] Use the wallet plug-in to generate a public-private key pair for the original data, and use the public-private key pair as the personal wallet address of the data provider;

[0024] Generate a decentralized identifier based on the personal wallet address and the user's identity information;

[0025] Perform hash verification on the original data and record the hash verification result and decentralized identifier on the chain.

[0026] Optionally, use the wallet plugin to generate a public-private key pair for the original data:

[0027] Use the wallet plug-in to select a random number in a random interval as a private key, where the random interval is [1, n-1] and n is the order of the elliptic curve;

[0028] Generate the corresponding public key based on the base point on the elliptic curve and the selected random number.

[0029] Optionally, the method comprises:

[0030] Data providers are authenticated using non-interactive zero-knowledge proofs.

[0031] Optionally, after the decrypted original data is downloaded to the consumer terminal, the following steps are included:

[0032] Obtain the user's evaluation of this transaction and build a reputation scoring mechanism in the contract to rank data suppliers. The reputation scoring mechanism includes:

[0033] Whether the data provider performs identity authentication;

[0034] The registration time of the data provider;

[0035] The difference between the number of positive reviews and the number of negative reviews for a transaction.

[0036] Optionally, the method comprises:

[0037] Acquire multiple encrypted shard data uploaded by a data provider, and acquire corresponding multiple content identifiers and a key corresponding to each shard from a network storage node based on the multiple encrypted shard data.

[0038] According to another aspect of the present application, a data decentralization device is also provided, the device comprising:

[0039] one or more processors; and

[0040] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of the method as described above.

[0041] According to another aspect of the present application, a computer-readable medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the method described above.

[0042] Compared with the prior art, the present application provides a data decentralized system, which includes: a data supplier terminal, a smart contract module, a data platform and a network storage node; wherein the data supplier terminal is used to call the contract in the smart contract module to publish metadata; the data platform is used to perform hash verification on the original data corresponding to the metadata, encrypt the hash verification result and the original data and generate a key for decryption, and upload the encrypted hash verification result and the encrypted original data to the network storage node; the network storage node is used to generate a content identifier and feed the content identifier back to the data platform; the data platform uploads the hash verification result, the encrypted hash verification result, the key and the content identifier to the smart contract module; the data platform is used to obtain the demand data purchased by the consumer on the data platform, generate an order transaction, determine the content identifier of the demand data based on the order transaction, the network storage node queries the demand data based on the content identifier, decrypts the demand data using the key, obtains the original data of the demand, and downloads it to the consumer terminal. Thus, the problems of privacy, security, transparency, cost and stability existing in the existing centralized data market can be solved, and the efficiency and user experience of the data market can be significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0044] Figure 1 A schematic diagram of a data decentralization system structure provided according to one aspect of the present application is shown;

[0045] Figure 2 A framework diagram of a reputation system in a specific embodiment of the present application is shown;

[0046] Figure 3 A schematic diagram of a method flow for data decentralization provided according to another aspect of the present application is shown;

[0047] Figure 4 A schematic diagram of the architecture of a decentralized data market based on distributed identity in this application is shown.

[0048] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0049] The present application is described in further detail below in conjunction with the accompanying drawings.

[0050] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (eg, a central processing unit (CPU)), an input / output interface, a network interface and a memory.

[0051] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0052] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, Phase-Change RAM (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of random access memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0053] Figure 1 A schematic diagram of a data decentralized system structure provided according to one aspect of the present application is shown, the system comprising: a data supplier terminal 100, a smart contract module 200, a data platform 300 and a network storage node 400; wherein the data supplier terminal 100 is used to call the contract in the smart contract module 200 to publish metadata; the data platform 300 is used to perform hash verification on the original data corresponding to the metadata, encrypt the hash verification result and the original data and generate a key for decryption, and upload the encrypted hash verification result and the encrypted original data to the network storage node 400; the network storage node 400 is used to generate a content identifier and feed the content identifier back to the data platform 300; the data platform 300 uploads the hash verification result, the encrypted hash verification result, the key and the content identifier to the smart contract module 200; the data platform 300 is used to obtain the demand data purchased by the consumer on the data platform, generate an order transaction, determine the content identifier of the demand data based on the order transaction, the network storage node 400 queries the demand data based on the content identifier, decrypts the demand data using the key, obtains the original data of the demand, and downloads it to the consumer terminal.

[0054] The data provider uploads the data through the data platform and first calls the smart contract to publish metadata. The metadata is the latest data information on the chain. The data provider publishes some metadata of the data to the contract, including name, introduction, etc. The corresponding original data is found on the data platform according to the metadata, that is, the data provided by the data provider itself, and hash verification and data encryption are performed on it, including encrypting the hash verification result and encrypting the original data, and storing the encrypted data in the network storage node, where the network storage node is a distributed storage node, which is a plurality of storage nodes, thereby reducing the risk of single point failure. When a node fails, the data can still be restored through other nodes, thereby improving the availability and security of the data. The corresponding content identifier (CID) will be generated for the received data on the network storage node, and the key for decrypting the data will also be stored. The CID and key will be returned to the data platform. The data platform will upload the original hash verification result, the encrypted hash verification result, the key and the CID to the smart contract for subsequent users to purchase data transactions; consumers query the data published by the existing data provider in the data platform, select the data they want to purchase, and pay for the purchase according to the price set by the data provider to generate a transaction order; in the process of downloading data, consumers will actually request the smart contract to obtain the corresponding CID and key first, but the system will not explicitly provide the CID and key to consumers, but directly download and decrypt the data through the data platform, which ensures that the data will not be abused to a certain extent. During the download process, the system will first request the node on the chain to retrieve the storage of the data through the CID, and then request the network storage node to download the data. After downloading the data, the data will be decoded by the decoding key to obtain the original data. It should be noted that when different data are chained, the chain used is a chain with a trusted execution logic of the distributed identity, so that this application can provide a decentralized data market based on distributed identity. The smart contract module has a transaction function, and transactions between data markets are conducted on the blockchain through contracts in the smart contract module. In some embodiments of the present application, the smart contract module 200 is used to obtain transaction evaluations published by consumer terminals, to rate the reputation of data providers, and to classify data providers according to the ratings. Here, after completing the transaction, users can publish their ratings, upload the ratings to the chain, build a reputation rating mechanism in the smart contract, and classify data providers according to different levels. Figure 2 As shown, a reputation system is also provided, in which consumers' evaluations of data quality, price, etc. are scored to generate a reputation level; if the data provider uploads personal information for DID authentication, the reputation level can be improved; and some evaluation rewards can also be fed back to consumers who make evaluations.

[0055] In some embodiments of the present application, the metadata includes any combination of data attributes, data sources, retention time on the chain, data prices and data provider contact information, and the data attributes include name, content, type, format and size. Here, the data provider calls the contract to publish the latest data information, which is the original data that has not been encrypted, including the name, content, type, format of the data, the size and source of the data, the retention time of the data on the chain, the price of the data and the contact information of the data provider, where the contact information of the data provider is optional.

[0056] In some embodiments of the present application, the data supplier terminal is used to divide the original data into sample data and uploaded data, provide the sample data to consumers free of charge, and encrypt the uploaded data and upload it to the data platform. Here, if the amount of data provided by the data provider is too large, the mechanism of fragmented upload is considered. The data provider can separate a small part of the data as a sample and provide it to consumers free of charge. Consumers can download it locally for free to view the data content; the data can also be divided according to the size of the on-chain sector. Whether it is the sample data separated by the data provider itself or the data fragments that are divided, they need to be encrypted and uploaded. After the fragmentation, they are encrypted and transmitted, and multiple CIDs will be obtained, each storing different keys. Some keys of the sample data are public, and the other parts are still confidential. That is, small data can be uploaded directly without making samples, while large data can provide a part of the samples to consumers free of charge. Among them, the process of fragmenting and transmitting large data includes the process of the data provider uploading data to the data platform, the process of uploading the original data to the network node, the process of the data platform uploading data to the network storage node for storage, and the process of data chaining. The process involving data uploading and storage can all use the principle of fragmented data transmission and storage.

[0057] In some embodiments of the present application, the data supplier terminal is used to set the price of the data on the data platform after uploading the data to the data platform, and determine the lock certificate according to the price of the data. Here, after uploading the data, the data provider must lock a token of a certain value on the data platform according to the set price as a certificate. If data falsification occurs afterwards, the deposit will be confiscated and used to pay the consumer's losses.

[0058] The contract of the smart contract module is a decentralized smart contract, which is automatically executed in the blockchain, cannot be changed, and is not controlled by any individual or organization. It can effectively guarantee the openness and fairness of the decentralized data market. The implementation of smart contracts is mainly divided into three parts: first, the personal information part of the data provider, including the wallet address of the data provider, the published data set, whether the identity is authenticated, etc.; second, the data part, including the relevant metadata of the data, the name, content, type, format, size, source, time the data is retained on the chain, the price of the data, the contact information of the data provider, the CID and decryption key of the data; third, the evaluation part, every consumer who conducts a transaction can score the transaction data set.

[0059] The introduction of smart contracts and decentralized trust mechanisms has made the transaction process in the data market more transparent and trustworthy. Smart contracts are automatically executed and recorded on the blockchain, and the details of each transaction are open, transparent and cannot be tampered with. This not only enables users to clearly understand the specific circumstances of each transaction, ensuring the transparency and credibility of data transactions, but also reduces the errors and costs of human operations. The decentralized trust mechanism maintains the fairness and trust of the market through consensus mechanisms and incentive mechanisms. Each participating node can verify and record data transactions to prevent a single node from controlling and manipulating the transaction process. This mechanism ensures the fairness and credibility of the data market and enhances users' trust in the data market.

[0060] Distributed architecture has significant advantages in terms of cost and economy. By utilizing idle storage resources, storage costs are lower than centralized cloud storage services. This is more friendly to small and medium-sized enterprises and individual users, lowering their usage threshold and helping to promote the widespread sharing and use of data. Data providers and consumers can trade directly without paying high intermediary fees, thereby reducing transaction costs and improving market efficiency and attractiveness.

[0061] The system described in this application includes an on-chain system part and an off-chain system part. The on-chain system part includes a data platform, a smart contract module, and a network storage node; the off-chain system part is used for data encryption and data chain upload, obtaining information from smart contracts and displaying it to users, calling smart contracts to complete transactions, and aggregating the evaluation part of data providers to generate personal credit ratings of data providers.

[0062] Figure 3 A schematic flow chart of a method for data decentralization according to another aspect of the present application is shown, the method comprising: steps S11 to S15, wherein:

[0063] Step S11, obtain the metadata that the data supplier calls the smart contract to publish; here, the data supplier uploads the data to the data platform, and first calls the smart contract to publish the latest data. The latest data is metadata that has not been encrypted, including the name of the data provided by the data provider, the provider profile, etc., and uploads the metadata to the network node of the distributed network.

[0064] Step S12, hash verify the original data corresponding to the metadata, encrypt the hash verification result and the original data and generate a key for decryption, and upload the encrypted hash verification result and the encrypted original data to the network storage node; here, the data platform first hash verifies the original data locally, and then encrypts the original data and the hash verification result respectively, and then uploads the encrypted data to the network storage node.

[0065] Step S13, receiving the content identifier fed back by the network storage node, uploading the hash verification result, the encrypted hash verification result, the key and the content identifier to the smart contract; here, the network storage node is a storage node in the distributed storage network, which is a plurality of storage nodes. A unique identifier, i.e., the content identifier CID, will be generated on the network storage node in a content search manner. After the uploaded data is completed, the CID and the decrypted key will be returned. The data platform will upload the original hash verification result, the encrypted hash verification result, the key and the CID to the smart contract, and also return it to the data supplier. If the amount of data is too large, it will be encrypted and uploaded in pieces, and the other processes will remain unchanged.

[0066] Step S14, obtain the demand data purchased by the consumer on the data platform, generate an order transaction, and determine the content identifier of the demand data based on the order transaction; here, after uploading the data, the data provider must lock a token of a certain value on the data platform according to the set price. The consumer queries the data information that has been published on the data platform, selects the data he wants to purchase, that is, the demand data, and pays for it at the price set by the provider. If the purchase is successful, an order transaction is generated. According to the order transaction, the CID of this part of the demand data can be obtained, and then a CID request can be sent to the smart contract to obtain the corresponding CID and key.

[0067] Step S15, query the demand data based on the content identifier in the network storage node, decrypt the demand data using the key, obtain the original data of the demand, and download it to the consumer terminal. In the network storage node, retrieve the storage of the corresponding data according to the CID request, request the network storage node to download the demand data, decode the downloaded demand data using the decoding key, obtain the original data, and provide the original data to the consumer. Therefore, this process can be completed without disclosing the identity information of the data provider, protecting the privacy of the data provider, and avoiding attacks from malicious users and unfair competition. In the distributed data market, the identity information of the data provider no longer needs to be publicly displayed, greatly reducing the risk of privacy leakage. Encryption technology is used in the process of data storage and transmission, so that the data storage and transmission processes are fully protected.

[0068] In some embodiments of the present application, in step S12, a wallet plug-in is used to generate a public-private key pair for the original data, and the public-private key pair is used as the personal wallet address of the data provider; a decentralized identifier is generated based on the personal wallet address and the user's identity information; the original data is hash-verified, and the hash verification result and the decentralized identifier are recorded on the chain. Among them, a non-interactive zero-knowledge proof is used to authenticate the data provider. Here, the data provider displays the data on the data platform, uses the wallet plug-in to generate a public-private key pair, and uses the public-private key pair as the personal wallet address. The data provider then provides its own identity information, including but not limited to identity documents, driver's licenses, etc., introduces Zk-snarks (zero-knowledge concise non-interactive knowledge proof) to generate identity proof DID (Decentralized Identity), and records the generated decentralized identifier and data hash on the chain to ensure the information security of the data provider.

[0069] Specifically, a wallet plug-in is used to select a random number in a random interval as a private key, where the random interval is [1, n-1] and n is the order of the elliptic curve; the corresponding public key is generated according to the base point on the elliptic curve and the selected random number. Here, the secp256k1 elliptic curve algorithm is used to generate a public-private key pair. The process is as follows: a random number k∈[1,n-1] is selected as the private key, where n is the order of the elliptic curve; then, the corresponding public key K is generated by calculating the public key K=k·G, where G is the base point on the elliptic curve. This process is based on the elliptic curve equation y 2 =x 3 +7, in finite fields On, where p = 2 256 -2 32 -977.

[0070] Using zk-snarks, you can prove to the outside world that the data provider has been authenticated without leaking the provider's information. This can be achieved by following the steps below:

[0071] Step 1: Initialize the system and define the verification circuit C:

[0072] For example, C(x,w)=Hash(w)==c, which means that the hash value w of the uploaded ID card data should be equal to c recorded by the system; where x is the public input, that is, part of the declaration, such as the identity of a user (such as user D); w is the private input of the prover, that is, the ID card data uploaded by the user (such as the hash value of the ID card); C(x,w) is a verification circuit, defined as a Boolean circuit, whose output is 1 for successful verification and 0 for failed verification.

[0073] Generate public parameters and verification keys: (pk,wk)←-Setup(C).

[0074] Step 2, generate proof: The prover holds private input w (ID data) and public input x (hash value of ID data). The prover generates proof π: T←Prove(pk,x,w).

[0075] Step 3, verify the proof: The verifier receives the public input x and the proof π; the verifier uses the verification key vk to verify the proof π: Verify(vk,x,π).

[0076] Through the above steps, the verifier can be sure that the prover actually holds the correct identity data without knowing the prover's private input w (i.e., ID card data). The zero-knowledge feature ensures that no information about the ID card data will be leaked during the proof process. By regularly verifying the integrity of the data, data can be prevented from being tampered with and lost, further enhancing the trust and reliability of the data market. Such technical measures ensure that users can rely on the data market for secure transactions and data storage.

[0077] In some embodiments of the present application, after the decrypted original data is downloaded to the consumer terminal, the user's evaluation of the transaction is obtained, and a reputation scoring mechanism is constructed in the contract to classify data providers into different levels, wherein the reputation scoring mechanism includes: whether the data provider has undergone identity authentication; the registration time of the data provider; the difference between the number of good reviews and the number of bad reviews of the transaction. Here, after the transaction is completed, the consumer publishes an evaluation, which is uploaded to the chain, and a reputation scoring mechanism is constructed in the contract to classify data providers into different levels. The reputation scoring mechanism mainly includes: whether the data provider has undergone identity authentication; the registration time of the data provider, the monthly transaction volume is above a certain number, and the longer the registration time, the higher the reputation score; the difference between the number of good reviews and the number of bad reviews of the transaction.

[0078] In some embodiments of the present application, multiple encrypted sliced ​​data uploaded by a data supplier are obtained, and multiple corresponding content identifiers and keys corresponding to each slice are obtained from a network storage node based on the multiple encrypted sliced ​​data. Here, the data supplier can divide the original data by himself, provide part of it as sample data to consumers for free, and encrypt and upload part of it, or the system can slice the original data; encrypt the sliced ​​data, and each slice has a corresponding CID and key in the network storage node.

[0079] Figure 4 The schematic diagram of the architecture of the decentralized data market based on distributed identity in this application is shown. The data provider uploads the data and publishes it on the data platform. The published data is stored on the chain of the distributed identity. Other information of the data is written into the smart contract. After the data is uploaded, the stored CID and decryption key will be returned. Consumers view and initiate transactions based on the data displayed on the data platform, call the smart contract to sign the transaction on the chain, and download data for consumers. The on-chain data storage mechanism of the distributed identity is used, and the on-chain smart contract with reliable execution logic is added, and the off-chain system is used for display to connect consumers with data needs and data providers who provide data.

[0080] In addition, an embodiment of the present application also provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the aforementioned method of data decentralization.

[0081] In one embodiment of the present application, a data decentralization device is also provided, the device comprising:

[0082] one or more processors; and

[0083] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of the method as described above.

[0084] For example, the computer readable instructions, when executed, cause the one or more processors to:

[0085] Get the metadata that the data provider calls the smart contract to publish;

[0086] Performing hash verification on the original data corresponding to the metadata, encrypting the hash verification result and the original data and generating a key for decryption, and uploading the encrypted hash verification result and the encrypted original data to a network storage node;

[0087] Receive the content identifier fed back by the network storage node, and upload the hash verification result, encrypted hash verification result, key, and content identifier to the smart contract;

[0088] Acquire demand data purchased by consumers on the data platform, generate an order transaction, and determine a content identifier of the demand data based on the order transaction;

[0089] The required data is queried in the network storage node based on the content identifier, the required data is decrypted using a key, the required original data is obtained, and downloaded to the consumer terminal.

[0090] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0091] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0092] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.

[0093] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A data decentralized system, characterized in that: The system includes: a data supplier terminal, a smart contract module, a data platform and a network storage node; wherein, The data supplier terminal is used to call the contract in the smart contract module to publish metadata; The data platform is used to perform hash verification on the original data corresponding to the metadata, encrypt the hash verification result and the original data, and upload the encrypted hash verification result and the encrypted original data to the network storage node; The network storage node is used to generate a key and a content identifier for decryption, and feed the key and the content identifier back to the data platform; The data platform uploads the hash verification result, the encrypted hash verification result, the key and the content identifier to the smart contract module; The data platform is used to obtain the demand data purchased by consumers on the data platform, generate order transactions, determine the content identifier of the demand data based on the order transactions, and the network storage node queries the demand data based on the content identifier, decrypts the demand data using a key, obtains the original data of the demand, and downloads it to the consumer terminal.

2. The system according to claim 1, characterized in that The smart contract module is used to obtain transaction evaluations published by consumer terminals, to perform credit scoring on data suppliers, and to classify data suppliers according to the scores.

3. The system according to claim 1, characterized in that The metadata includes any combination of data attributes, data source, retention time on the chain, data price and contact information of the data provider. The data attributes include name, content, type, format and size.

4. The system according to claim 1, characterized in that The data supplier terminal is used to divide the original data into sample data and uploaded data, provide the sample data to consumers free of charge, and encrypt the uploaded data before uploading it to the data platform.

5. The system according to claim 1, characterized in that The data supplier terminal is used to set the price of the data on the data platform after uploading the data to the data platform, and determine the lock certificate according to the price of the data.

6. A method for data decentralization, characterized in that: The method comprises: Get the metadata that the data provider calls the smart contract to publish; Performing hash verification on the original data corresponding to the metadata, encrypting the hash verification result and the original data, and uploading the encrypted hash verification result and the encrypted original data to a network storage node; Receive the decryption key and content identifier fed back by the network storage node, and upload the hash verification result, the encrypted hash verification result, the key and content identifier to the smart contract; Acquire demand data purchased by consumers on the data platform, generate an order transaction, and determine a content identifier of the demand data based on the order transaction; The required data is queried in the network storage node based on the content identifier, the required data is decrypted using a key, the required original data is obtained, and downloaded to the consumer terminal.

7. The method according to claim 6, characterized in that Performing hash verification on the original data corresponding to the metadata includes: Use the wallet plug-in to generate a public-private key pair for the original data, and use the public-private key pair as the personal wallet address of the data provider; Generate a decentralized identifier based on the personal wallet address and the user's identity information; Perform hash verification on the original data and record the hash verification result and decentralized identifier on the chain.

8. The method according to claim 7, characterized in that Use the wallet plugin to generate a public-private key pair for the original data: Use the wallet plug-in to select a random number in a random interval as a private key, where the random interval is [1, n-1] and n is the order of the elliptic curve; Generate the corresponding public key based on the base point on the elliptic curve and the selected random number.

9. The method according to claim 8, characterized in that The method comprises: Data providers are authenticated using non-interactive zero-knowledge proofs.

10. The method according to claim 6, characterized in that After the decrypted original data is downloaded to the consumer terminal, it includes: Obtain the user's evaluation of this transaction and build a reputation scoring mechanism in the contract to rank data suppliers. The reputation scoring mechanism includes: Whether the data provider performs identity authentication; The registration time of the data provider; The difference between the number of positive reviews and the number of negative reviews for a transaction.

11. The method according to claim 6, characterized in that The method comprises: Acquire multiple encrypted shard data uploaded by a data provider, and acquire corresponding multiple content identifiers and a key corresponding to each shard from a network storage node based on the multiple encrypted shard data.

12. A data decentralized device, characterized in that: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 6 to 11.

13. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 6 to 11.