A data rights confirmation method and system based on blockchain technology

Through the data confirmation method of blockchain technology, digital certificates and timestamps are used to ensure the authority of data on the blockchain, solve the problem of unclear data ownership, achieve data verifiability and credibility, and promote The flow and transaction of data.

CN112651052BActive Publication Date: 2024-08-30JIANGSU PAYEGIS TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202011549974.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-08-30
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

Existing technology cannot effectively solve the problem of unclear ownership of data after it is copied and disseminated on the network, making it difficult to determine the ownership of data and unable to realize data ownership and value transfer.

Method used

Adopt a data confirmation method based on blockchain technology to ensure the authority of data on the blockchain by initializing digital certificates, generating user and data DIDs, calculating hash value signatures, applying for authoritative timestamps, generating data certificates and uploading them to the chain. sex and credibility.

Benefits of technology

It realizes the confirmation of data rights, ensures the verifiability, traceability and tamper-proofness of data on the blockchain, improves the authenticity and credibility of data, solves the unclear problem of data ownership, and promotes the promotion of data circulation and transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112651052B
    Figure CN112651052B
Patent Text Reader

Abstract

This application discloses a data ownership confirmation method and system based on blockchain technology, including initializing and verifying digital certificates; generating user DID and data DID and uploading them to the blockchain; calculating the hash value of the data to be confirmed and signing it to obtain the hash value and signature; applying for an authoritative timestamp based on the hash value of the data to be confirmed; generating a data certificate for the data to be confirmed based on the uploaded user DID, data DID, timestamp, hash value, and signature; verifying the data certificate and calculating its hash value; signing the hash value of the data certificate to obtain a signature certificate; uploading the verified data certificate and signature certificate to the blockchain to obtain the on-chain hash of the ownership confirmation record and returning it to the client. This application uses decentralized digital identity DID to store the data ownership confirmation information of the data to be confirmed in the blockchain in the form of a verifiable certificate, which not only realizes the ownership confirmation function of the data to be confirmed, but also ensures that the data ownership confirmation information is verifiable, traceable, and tamper-proof.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Nowadays, data has become a basic strategic resource of the country. Data is becoming more and more like a commodity, which can be bought, sold, transferred and used. However, with the improvement of cloud computing and data-related processing technologies, some problems have also been exposed. The biggest problem currently faced is "once you have seen or copied, you own it". For example, when a piece of data is published on the Internet, others can also reprint and copy it. In this way, it is repeatedly circulated on the Internet, and it is impossible to find out who wrote the data for the first time. In other words, there is a problem of unclear ownership. It can be seen that the ownership of data is very important.

[0003] For data to become digital assets, the most important thing is to confirm the ownership of the data. Simply put, it means to determine to whom the ownership / ownership of a certain data belongs. Data ownership confirmation is one of the core issues that must be addressed for big data applications and data industry development. It clarifies the ownership of data from different sources in legal form, promotes data integration, accelerates data sharing and circulation, and reduces transaction costs, thereby activating the huge value of data assets and innovative applications, enabling the data industry to develop rapidly.

[0004] Although the Internet-based information network facilitates data sharing, it cannot realize data ownership and the recording and circulation of data value, so Internet-based data cannot become assets. With the intensification of this contradiction, the birth of blockchain technology effectively solves the problem of data ownership. Every piece of data generated on the blockchain network can be defined with ownership. Only when data ownership is confirmed can it have real value, and the circulation and transaction of data assets can be realized on the blockchain network. Summary of the invention

[0005] Based on the above technical problems, the problem to be solved by this application is to provide a data rights confirmation method and system based on blockchain technology.

[0006] In the first aspect, the present application provides a data rights confirmation method based on blockchain technology, the method comprising:

[0007] Initialize digital certificate;

[0008] Verifying the digital certificate, if the digital certificate passes the verification, the digital certificate is valid;

[0009] Generate a user DID and a data DID of the data to be confirmed, and upload the user DID and the data DID to the chain;

[0010] Calculate the hash value of the data to be confirmed, sign the hash value of the data to be confirmed according to the private key of the verified digital certificate, and obtain the hash value of the data to be confirmed and its signature;

[0011] Apply for an authoritative timestamp based on the hash value of the data to be confirmed;

[0012] The timestamp of issuing the data to be confirmed;

[0013] Generate a data certificate for the data to be confirmed based on the user DID, the data DID, the timestamp, and the hash value and signature of the data to be confirmed, and send the data certificate to the data confirmation server;

[0014] Verify the received data certificate, and if the verification passes, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain a certificate signature;

[0015] The verified data certificate and the certificate signature are uploaded to the chain to obtain the transaction hash of the ownership confirmation record;

[0016] The on-chain hash of the ownership confirmation record is returned to the client.

[0017] In a second aspect, the present application further provides a data rights confirmation system based on blockchain technology corresponding to the first aspect, comprising: a client having data to be confirmed, a data rights confirmation server providing rights confirmation services for the data to be confirmed, a CA server providing an authoritative digital certificate to the client, a TSA server issuing an authoritative timestamp for the data to be confirmed, and a blockchain, wherein:

[0018] The client is configured to perform the following steps:

[0019] Initialize digital certificate;

[0020] The CA server is configured to perform the following steps:

[0021] Verifying the digital certificate, if the digital certificate passes the verification, the digital certificate is valid;

[0022] The client is further configured to perform the following steps:

[0023] Generate a user DID and a data DID of the data to be confirmed, and upload the user DID and the data DID to the chain;

[0024] Calculate the hash value of the data to be confirmed, and sign the hash value of the data to be confirmed according to the private key of the verified digital certificate to obtain the hash value and signature of the data to be confirmed;

[0025] Apply for an authoritative timestamp based on the hash value of the data to be confirmed;

[0026] The TSA server is configured to perform the following steps:

[0027] The timestamp of issuing the data to be confirmed;

[0028] The client is further configured to perform the following steps:

[0029] Generate a data certificate for the data to be confirmed based on the user DID, the data DID, the timestamp, and the hash value of the data to be confirmed and its signature, and send the data certificate to the data confirmation server;

[0030] The data rights confirmation server is configured to perform the following steps:

[0031] Verify the received data certificate, and if the verification passes, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain a certificate signature;

[0032] The verified data certificate and the certificate signature are uploaded to the chain to obtain the transaction hash of the ownership confirmation record;

[0033] The transaction hash of the ownership confirmation record is returned to the client.

[0034] It can be seen from the above technical scheme that the present application provides a data rights confirmation method based on blockchain technology, including: initializing and verifying digital certificates; generating user DID and data DID of the data to be confirmed and uploading them to the chain; calculating the hash value of the data to be confirmed and signing it to obtain the hash value of the data to be confirmed and its signature; applying for an authoritative timestamp based on the hash value of the data to be confirmed; generating a data voucher for the data to be confirmed based on the user DID, data DID, timestamp, and hash value of the data to be confirmed and its signature on the chain, verifying the data voucher, calculating the hash value of the data voucher, and signing the hash value of the data voucher to obtain a voucher signature; uploading the verified data voucher and voucher signature to the chain, obtaining the transaction hash of the confirmation record on the chain and returning it to the client. The present application adopts a decentralized digital identity DID to store the data confirmation information of the data to be confirmed in the blockchain in the form of a verifiable voucher, which not only realizes the confirmation function of the data to be confirmed, but also ensures the characteristics of data confirmation information such as verifiability, traceability, and tamper-proof, thereby improving the authenticity and credibility of the data confirmation information. At the same time, this application combines the digital certificate issued by the authoritative CA and the timestamp generated by the authoritative TSA to further ensure the authority and credibility of the on-chain data. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A schematic diagram of a process for generating a data certificate in an embodiment of a data rights confirmation method based on blockchain technology;

[0037] Figure 2 A schematic diagram of a feasible data credential verification method in an embodiment of the present application. DETAILED DESCRIPTION

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

[0039] In order to facilitate further understanding of this solution, the execution entities and summary involved in this application are first explained. In this application, the following execution entities are mainly involved in the entire data rights confirmation process:

[0040] 1. Client refers to the party that owns the data to be confirmed, that is, the data owner of the data to be confirmed;

[0041] 2. Data rights confirmation server refers to the data rights confirmation service provider that provides rights confirmation services for the data to be confirmed;

[0042] 3. CA (Certificate Authority) server refers to the authoritative CA organization that provides authoritative digital certificates to clients. The authoritative CA organization issues a legally effective authoritative digital certificate to the applicant based on the applicant's application (for example, in this application, the applicant can be the owner of the data to be confirmed, i.e., the client). The certificate contains the signature of the root certificate of the authoritative CA organization. The validity of the digital certificate can be verified through the verification service provided by the CA organization. If the verification is successful, it proves that the certificate is legally effective. At the same time, the digital certificate contains a public key that can be used to verify the applicant's electronic signature. If the verification is successful, it proves that the electronic signature is legally effective and protected by law, and the signatory cannot deny the content of the signature.

[0043] 4. TSA (Time Stamp Authority) server refers to the authoritative TSA agency that issues authoritative timestamps for the data to be confirmed. Based on the applicant's application, the agency issues a legally effective authoritative timestamp to the applicant, which includes the signature of the authoritative TSA agency root certificate on the timestamp. The validity of the timestamp can be verified by the TSA agency. If the verification is successful, it proves that the timestamp has legal effect, that is, the timestamp is legally recognized as legal, which is used to ensure that the time of data confirmation is legal, authentic and valid.

[0044] For the convenience of description and more intuitive understanding, in the embodiments of the present application, the client is sometimes described as the data owner, the data right confirmation server is sometimes described as the data right confirmation service provider, the CA server is sometimes described as an authoritative CA organization, and the TSA server is sometimes described as an authoritative TSA organization. According to the introduction of the above-mentioned executive entities, they are the same, that is, the client is the data owner, the data right confirmation server is the data right confirmation service provider, the CA server is the authoritative CA organization, and the TSA server is the authoritative TSA organization.

[0045] This application is based on blockchain technology. The above-mentioned execution entities can communicate with the blockchain. Blockchain is a technology that can realize decentralized distributed data storage on the network, and through smart contracts, when the terms in the contract are triggered, the terms will be automatically executed. The confirmation of rights based on blockchain technology is to effectively ensure that the stored electronic data is not tampered with and to ensure the authenticity and originality of the confirmation data through the characteristics of blockchain decentralization and distributed accounting. This application provides a data confirmation method based on blockchain technology, which specifically includes:

[0046] S1: Initialize digital certificate;

[0047] In the initial stage of data rights confirmation, first, the data owner needs to check whether the authoritative digital certificate exists. If not, apply for a digital certificate from the authoritative CA organization; if it exists, it is necessary to verify whether the digital certificate is available. If the digital certificate is not available, it is necessary to regenerate the public-private key pair and reapply for a digital certificate from the authoritative CA organization.

[0048] The purpose of using a digital certificate is to use the private key of the digital certificate to sign the Hash value of the data to be confirmed. In addition to ensuring that the signature cannot be forged or denied, it also ensures that the signature has legal effect, that is, the signer recognizes the legal ownership of the content of the signature (such as the data to be confirmed and its Hash value).

[0049] S2: Verify the digital certificate. If the digital certificate passes the verification, the digital certificate is valid.

[0050] After the data owner confirms that he has the digital certificate in step S1, he needs to verify the digital certificate. The digital certificate carries the signature of the CA server root certificate. The validity of the digital certificate can be verified by the CA server. The specific verification method can be pre-set and this application does not make specific limitations. If the digital certificate passes the verification, it means that the digital certificate is legally effective.

[0051] S3: Generate user DID and data DID of the data to be confirmed, and upload user DID and data DID to the chain;

[0052] DID (Decentralized ID), that is, decentralized digital identity, is generated by the blockchain account address, which can realize cross-departmental, cross-regional, and cross-platform identity authentication, and get rid of the dependence on the single central ID registration in the traditional model. In the embodiment of this application, DID is divided into two categories according to attributes and uses, namely user DID and data DID. They both have corresponding DID documents, and the contents of the DID documents of the two are different.

[0053] User DID is the decentralized digital identity of the data owner. The user DID document contains the public key and digital certificate information of the user DID. The digital certificate information includes the digital certificate serial number, digital certificate public key, public key encryption algorithm, digital certificate validity period, and digital certificate issuing authority.

[0054] Data DID is a decentralized identity identifier for data. The data DID document contains the public key of the data DID to be confirmed, the user DID of the data owner, the hash value of the data to be confirmed, and the corresponding hash algorithm, keywords, and the hash of the confirmation record on the chain. Here, the hash algorithm can be selected from SHA-256 algorithm, MD5 algorithm, or national secret SM3 algorithm, etc., and this application does not make specific restrictions.

[0055] When the data owner does not have a blockchain address, he can directly generate a blockchain account address on the client, and then register his own user DID on the data confirmation server based on the blockchain account address, and generate a user DID document at the same time, and put the user DID document on the chain. Then calculate the hash value of the data to be confirmed, and then generate a blockchain address for the data to be confirmed, generate a data DID based on the blockchain address, and generate a data DID document at the same time, and put the data DID document on the chain.

[0056] S4: Calculate the hash value of the data to be confirmed, sign the hash value of the data to be confirmed according to the private key of the verified digital certificate, and obtain the hash value and signature of the data to be confirmed;

[0057] That is, the data to be confirmed is signed. The data owner uses the private key of the verified digital certificate to sign the hash value of the data to be confirmed to obtain the signature of the data to be confirmed.

[0058] S5: Apply for an authoritative timestamp based on the hash value of the data to be confirmed;

[0059] The data owner applies to the authoritative TSA agency for an authoritative timestamp based on the hash value of the data to be confirmed. The authoritative timestamp is bound to the hash value of the data to be confirmed.

[0060] S6: Timestamp for issuing the data to be confirmed;

[0061] After receiving the request from the data owner for a timestamp, the authoritative TSA agency can review the request, for example, to check whether the requested information is complete and whether the request conditions are met, etc. After approval, it will issue an authoritative timestamp for the data to be confirmed. At the same time, the timestamp carries the signature of the root certificate of the authoritative TSA agency, and the validity of the timestamp can be verified by the authoritative TSA agency. If the timestamp passes the verification, it means that the timestamp has legal effect.

[0062] S7: Generate a data certificate for the data to be confirmed based on the user DID, data DID, timestamp, hash value and signature on the chain, and send the data certificate to the data confirmation server;

[0063] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of generating a data certificate in an embodiment of a data rights confirmation method based on blockchain technology, Figure 1 As shown, the data owner generates a data certificate for the data to be confirmed based on the user DID and data DID generated in step S3, the hash value and signature of the data to be confirmed generated in step S4, and the timestamp applied for and issued in steps S5 and S6. Since the data certificate can be verified, the data certificate of this application is a verifiable certificate. The specific generation method of the data certificate can be set in advance. After the data certificate is generated, the data owner sends it to the data confirmation service provider, and the data confirmation service provider confirms the data to be confirmed.

[0064] S8: Verify the received data certificate. If the verification is successful, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain the certificate signature;

[0065] Before the data confirmation service provider actually confirms the ownership of the data to be confirmed, it also needs to verify the received data certificate. Accordingly, it also needs to verify the four factors that constitute the data certificate: user DID, data DID, signature of the data to be confirmed, and timestamp. See Figure 2 , Figure 2A schematic diagram of a feasible data credential verification method in an embodiment of the present application is shown in FIG. Figure 2 It can be seen that the verification of data credentials can be carried out in the following steps:

[0066] First, the corresponding data DID document is queried from the blockchain based on the data DID of the data to be confirmed, and the user DID of the data owner is read through the data DID document;

[0067] Secondly, the corresponding user DID document is queried from the blockchain through the user DID, and the digital certificate information is read, which includes the serial number of the digital certificate and the public key of the digital certificate. Whether there is a digital certificate and whether the signature of the data to be confirmed is correct are verified based on the serial number of the digital certificate and the public key of the digital certificate, respectively. Specifically:

[0068] Verification of the existence of a digital certificate: Combined with Figure 2 , query the authoritative CA organization based on the digital certificate serial number and verify whether the digital certificate exists. If it does not exist, the data certificate verification fails and the data right confirmation fails; if it exists, continue to query the validity period of the digital certificate. Generally, the validity period of the digital certificate will set a time range. For example, the validity period is from October 2005 to October 2021. According to this validity period, determine whether the timestamp in the data certificate is within the validity period of the digital certificate. If the timestamp is March 2005, it is not within the validity period of the digital certificate, then the data certificate verification fails, and accordingly, the data right confirmation fails; if the timestamp is May 2006, it can be determined that it is within the validity period of the digital certificate, then continue to verify downward, that is, verify whether the signature of the data to be confirmed is correct.

[0069] Verify whether the signature of the ownership confirmation data is correct: continue to combine Figure 2 , verify whether the signature of the data to be confirmed in the data certificate is correct based on the public key of the digital certificate. The specific verification method is not limited in this application. If the signature is wrong after verification, the data certificate verification fails and the data confirmation fails; if the signature is correct after verification (at the same time, combined with the existence of the digital certificate that has been verified before and the timestamp is within the validity period of the digital certificate), the data certificate verification is successful.

[0070] The above is the data certificate verification process for the data to be confirmed. The data certificate is considered to be successfully verified only when the digital certificate exists, the authoritative timestamp in the data certificate is within the validity period of the certificate, and the signature verification of the data to be confirmed is correct. The information in the data certificate contains the data owner of the data to be confirmed, and has an authoritative timestamp, which can reflect the ownership of the data to be confirmed. After the data certificate is successfully verified, the data confirmation service provider calculates the hash value of the data certificate, and then uses its own digital certificate private key to sign the hash value of the verified data certificate to obtain the certificate signature.

[0071] S9: upload the verified data certificate and certificate signature to the chain to obtain the transaction hash of the ownership confirmation record;

[0072] The verified data certificate and certificate signature obtained in step S8 are uploaded to the chain to obtain the transaction hash of the confirmation record. The authenticity and credibility of data confirmation information are improved by utilizing the decentralized, traceable, and tamper-proof characteristics of blockchain.

[0073] S10: Return the ownership confirmation record on-chain hash to the client.

[0074] The transaction hash of the confirmation record on the chain generated in step S9 is returned to the client, that is, returned to the data owner. At this time, the data owner has an unalterable data confirmation certificate for the data to be confirmed. After receiving the transaction hash of the confirmation record on the chain, the original transaction hash of the confirmation record on the chain in the data DID document is updated to the received transaction hash of the confirmation record on the chain, that is, the transaction hash of the confirmation record on the chain in the data DID document is received and updated, and then the data DID document is re-chained, and the data confirmation is completed.

[0075] It can be seen from the above technical scheme that the present application provides a data rights confirmation method based on blockchain technology, including: initializing and verifying digital certificates; generating user DID and data DID of the data to be confirmed and uploading them to the chain; calculating the hash value of the data to be confirmed and signing it to obtain the hash value and signature of the data to be confirmed; applying for an authoritative timestamp based on the hash value of the data to be confirmed; generating a data voucher for the data to be confirmed based on the user DID, data DID, timestamp and hash value and signature of the data to be confirmed on the chain, verifying the data voucher, calculating the hash value of the data voucher and signing the hash value of the data voucher to obtain a voucher signature; uploading the verified data voucher and voucher signature to the chain to obtain the transaction hash of the confirmation record on the chain and returning it to the client. The present application adopts a decentralized digital identity DID to store the data confirmation information of the data to be confirmed in the blockchain in the form of a verifiable voucher, which not only realizes the confirmation function of the data to be confirmed, but also ensures the characteristics of data confirmation information such as verifiability, traceability, and tamper-proof, thereby improving the authenticity and credibility of the data confirmation information. At the same time, this application combines the digital certificate issued by the authoritative CA and the timestamp generated by the authoritative TSA to further ensure the authority and credibility of the on-chain data.

[0076] In addition, the present application also provides a data rights confirmation system based on blockchain technology corresponding to the above method, a data rights confirmation system based on blockchain technology, including a client having data to be confirmed, a data rights confirmation server providing rights confirmation services for the data to be confirmed, a CA server providing an authoritative digital certificate to the client, a TSA server issuing an authoritative timestamp for the data to be confirmed, and a blockchain, wherein:

[0077] The client is configured to perform the following steps:

[0078] Initialize digital certificate;

[0079] The CA server is configured to perform the following steps:

[0080] Verify the digital certificate. If the digital certificate passes the verification, the digital certificate is valid.

[0081] The client is further configured to perform the following steps:

[0082] Generate user DID and data DID of the data to be confirmed, and upload user DID and data DID to the chain;

[0083] Calculate the hash value of the data to be confirmed, sign the hash value of the data to be confirmed with the private key of the verified digital certificate, and obtain the hash value of the data to be confirmed and its signature;

[0084] Apply for an authoritative timestamp based on the hash value of the data to be confirmed;

[0085] The TSA server is configured to perform the following steps:

[0086] The timestamp of issuing the data to be confirmed;

[0087] The client is further configured to perform the following steps:

[0088] Generate a data certificate for the data to be confirmed based on the user DID, data DID, timestamp, and hash value and signature of the data to be confirmed, and send the data certificate to the data confirmation server;

[0089] The data rights confirmation server is configured to perform the following steps:

[0090] Verify the received data certificate. If the verification is successful, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain the certificate signature.

[0091] The verified data certificate and certificate signature are uploaded to the chain to obtain the transaction hash of the ownership confirmation record;

[0092] The transaction hash of the ownership confirmation record is returned to the client.

[0093] Further, the digital certificate is initialized according to the following steps;

[0094] The client checks whether the authoritative digital certificate exists;

[0095] If it does not exist, the client applies for a digital certificate from the CA server;

[0096] If it exists, verify whether the digital certificate is available;

[0097] If it is unavailable, regenerate the public-private key pair and apply for a new digital certificate from the CA server.

[0098] Furthermore, user DID and data DID are generated by blockchain account addresses.

[0099] Furthermore, the client is further configured to perform the following steps:

[0100] According to the blockchain account address, a user DID document is generated when registering the user DID on the data rights confirmation server, and the user DID document is uploaded to the chain.

[0101] Furthermore, the client is further configured to perform the following steps:

[0102] Generate a blockchain address for the data to be confirmed, generate a data DID document when generating data DID based on the blockchain address, and upload the data DID document to the chain.

[0103] Furthermore, the client is further configured to perform the following steps:

[0104] Receive and update the chain hash of the ownership record in the data DID document, and re-chain the updated data DID document.

[0105] Furthermore, the client is further configured to: verify the data credential of the data to be confirmed based on the user DID, data DID, timestamp, and hash value and signature of the data to be confirmed.

[0106] Furthermore, the digital certificate carries the signature of the CA server certificate, and the validity of the digital certificate is verified by the CA server. If the digital certificate passes the verification, the digital certificate has legal effect.

[0107] Furthermore, the timestamp carries the signature of the TSA server certificate, and the validity of the timestamp is verified by the TSA server. If the timestamp passes the verification, the timestamp has legal effect.

[0108] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0109] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A data rights confirmation method based on blockchain technology, characterized in that: include: Initialize digital certificate; Verifying the digital certificate, if the digital certificate passes the verification, the digital certificate is valid; Generate a user DID and a data DID of the data to be confirmed, and upload the user DID and the data DID to the blockchain; the user DID and the data DID are generated from the blockchain account address; Calculate the hash value of the data to be confirmed, and sign the hash value of the data to be confirmed according to the private key of the verified digital certificate to obtain the hash value and signature of the data to be confirmed; Apply for an authoritative timestamp based on the hash value of the data to be confirmed; The timestamp of issuing the data to be confirmed; Generate a data voucher for the data to be confirmed based on the user DID, the data DID, the timestamp, the hash value and the signature on the chain, the data voucher is a verifiable voucher, and send the data voucher to the data confirmation server; Verify the data certificate of the data to be confirmed according to the user DID, the data DID, the timestamp, and the hash value and signature of the data to be confirmed. If the verification is successful, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain a certificate signature; The verified data certificate and the certificate signature are uploaded to the blockchain, and the data confirmation information of the data to be confirmed is stored in the blockchain in the form of a verifiable certificate using a decentralized digital identity DID, and the transaction hash of the confirmation record is obtained; The transaction hash of the ownership confirmation record is returned to the client.

2. A data rights confirmation system based on blockchain technology, characterized in that: It includes a client that has data to be confirmed, a data confirmation server that provides confirmation services for the data to be confirmed, a CA server that provides an authoritative digital certificate to the client, a TSA server that issues an authoritative timestamp for the data to be confirmed, and a blockchain, wherein: The client is configured to perform the following steps: Initialize digital certificate; The CA server is configured to perform the following steps: Verifying the digital certificate, if the digital certificate passes the verification, the digital certificate is valid; The client is further configured to perform the following steps: Generate a user DID and a data DID of the data to be confirmed, and upload the user DID and the data DID to the blockchain; the user DID and the data DID are generated from the blockchain account address; Calculate the hash value of the data to be confirmed, sign the hash value of the data to be confirmed according to the private key of the verified digital certificate, and obtain the hash value of the data to be confirmed and its signature; Apply for an authoritative timestamp based on the hash value of the data to be confirmed; The TSA server is configured to perform the following steps: The timestamp of issuing the data to be confirmed; The client is further configured to perform the following steps: Generate a data certificate for the data to be confirmed based on the user DID, the data DID, the timestamp, the hash value of the data to be confirmed and its signature, the data certificate is a verifiable certificate, and send the data certificate to the data confirmation server; The data rights confirmation server is configured to perform the following steps: Verify the data certificate of the data to be confirmed according to the user DID, the data DID, the timestamp, and the hash value and signature of the data to be confirmed. If the verification is successful, calculate the hash value of the data certificate and sign the hash value of the data certificate to obtain a certificate signature; The verified data certificate and the certificate signature are uploaded to the blockchain, and the data confirmation information of the data to be confirmed is stored in the blockchain in the form of a verifiable certificate using a decentralized digital identity DID, and the transaction hash of the confirmation record is obtained; The transaction hash of the ownership confirmation record is returned to the client.

3. According to claim 2, a data rights confirmation system based on blockchain technology is characterized in that: Follow the steps below to initialize the digital certificate; The client checks whether the authoritative digital certificate exists; If it does not exist, the client applies for a digital certificate from the CA server; If it exists, verify whether the digital certificate is available; If it is not available, regenerate the public-private key pair and re-apply for the digital certificate from the CA server.

4. According to a data rights confirmation system based on blockchain technology according to claim 2, it is characterized in that: The client is further configured to perform the following steps: According to the blockchain account address, a user DID document is generated when the user DID is registered on the data rights confirmation server, and the user DID document is uploaded to the chain.

5. According to claim 4, a data rights confirmation system based on blockchain technology is characterized in that: The client is further configured to perform the following steps: Generate a blockchain address for the data to be confirmed, generate a data DID document when generating the data DID according to the blockchain address, and upload the data DID document to the chain.

6. According to claim 5, a data rights confirmation system based on blockchain technology is characterized in that: The client is further configured to perform the following steps: Receive and update the transaction hash of the ownership record on the chain in the data DID document, and re-chain the updated data DID document.

7. According to claim 2, a data rights confirmation system based on blockchain technology is characterized in that: The digital certificate carries the signature of the CA server certificate, and the validity of the digital certificate is verified by the CA server. If the digital certificate passes the verification, the digital certificate has legal effect.

8. According to claim 2, a data rights confirmation system based on blockchain technology is characterized in that: The timestamp carries the signature of the TSA server certificate, and the validity of the timestamp is verified by the TSA server. If the timestamp passes the verification, the timestamp has legal effect.

Citation Information

Patent Citations

  • Digital asset ownership confirmation registration method and device

    CN107566116A

  • Method, device and system for generating right confirmation certificate

    CN109033789A

  • A method and system for sharing copyright certificate based on federated block chain

    CN109063426A

  • Digital content asset right confirmation system and method

    CN110866222A

  • Book copyright protection platform and device based on block chain and medium

    CN111046346A