Trusted evidence storage method and apparatus for evidence, and medium and device

By using zero-knowledge proof and blockchain technology to verify the evidence chain rules in the evidence provider's certificate deposit request, the problem of irregular evidence storage in the existing technology is solved, efficient and safe storage and verification of evidence is achieved, and the efficiency is improved. Ease of calling evidence.

WO2024217381A1PCT designated stage expired Publication Date: 2024-10-24CHINA UNIONPAY

Patent Information

Application Number
PCT/CN2024/087782
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-21
Filing Date
2024-04-15
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing trusted evidence storage services lack standardized evidence formats when storing evidence, resulting in the inability to effectively use the stored evidence and increasing the complexity of evidence invocation.

Method used

By obtaining the certificate deposit request from the evidence provider, using zero-knowledge proof and blockchain technology, verify whether the evidence complies with the evidence chain rules, and store the trusted mark, trusted certificate and evidence fingerprint of the evidence on the blockchain to ensure that the evidence authenticity and reliability.

Benefits of technology

It improves the convenience and reliability of evidence calling and ensures the security and integrity of the storage and verification process of evidence on the blockchain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024087782_24102024_PF_FP_ABST
    Figure CN2024087782_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of data storage, and particularly relates to a trusted evidence storage method and apparatus for an evidence, and a medium and a device. The method comprises: acquiring an evidence storage request, which is sent by an evidence provider, wherein the evidence storage request comprises an evidence fingerprint of an evidence, an evidence chain rule identifier and a trustworthiness proof of the evidence; determining a public input of a zero-knowledge proof according to the evidence fingerprint of the evidence and an evidence chain rule corresponding to the evidence chain rule identifier; and according to the public input of the zero-knowledge proof, a verification key corresponding to the evidence chain rule identifier and the trustworthiness proof of the evidence, determining whether the evidence conforms to the evidence chain rule, and if the evidence conforms to the evidence chain rule, performing evidence storage on the evidence. In this way, the evidence is verified before evidence storage is performed on the evidence, and the evidence is verified in combination with the zero-knowledge proof, without disclosing privacy information of the evidence, so as to ensure that the evidence which has been subjected to evidence storage conforms to the evidence chain rule, thereby improving the convenience of subsequently calling the evidence.
Need to check novelty before this filing date? Find Prior Art

Description

A reliable evidence storage method, device, medium and equipment CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on April 21, 2023, with application number 202310437936.X and application name "A method, device, medium and equipment for credible evidence storage", all contents of which are incorporated by reference in this application. Technical Field The present application relates to the field of data storage technology, and in particular to a method, device, medium and equipment for credible evidence storage. Background Art Trusted evidence storage refers to individuals or organizations storing hashed fingerprints of content, documents, pictures, etc. as evidence on the blockchain. This method of evidence storage can connect to the judicial system (courts, notary offices, etc.) to ensure that each evidence caller can verify the authenticity of the evidence, thereby ensuring that the evidence is available, trustworthy, and reliable, forming a complete evidence closed loop. There are currently many trusted evidence storage services, but these trusted evidence storage services do not determine a standardized evidence format for the evidence provider when storing evidence, resulting in the stored evidence being unusable. Based on this, there is an urgent need for a reliable evidence storage method, device, medium and equipment to verify the evidence and improve the convenience of evidence retrieval. Summary of the invention The embodiments of the present application provide a method, apparatus, medium and device for credible evidence storage, which are used to verify evidence and improve the convenience of evidence retrieval. In a first aspect, an embodiment of the present application provides a method for credible evidence storage, comprising: obtaining an evidence storage request sent by an evidence provider, wherein the evidence storage request includes an evidence fingerprint of the evidence, an evidence chain rule identifier, and a credible proof of the evidence; the credible proof of the evidence is determined according to a proof key corresponding to the evidence chain rule identifier, a public input of the evidence, and a secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; Determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; Determine whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier, and the credible proof of the evidence, and if so, store the evidence; The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier. Through the above method, the evidence is verified before it is stored, and zero-knowledge proof is used to verify the evidence without disclosing the privacy information of the evidence, so as to ensure that the stored evidence complies with the rules of the chain of evidence, thereby improving the convenience of later evidence retrieval. In a possible implementation, before obtaining the evidence storage request sent by the evidence provider, the following steps are also included: Obtaining an evidence chain rule identifier provided by an evidence chain rule maker and an evidence chain rule corresponding to the evidence chain rule identifier; Generate a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; A proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier are generated according to the zero-knowledge proof circuit. Through the above method, the evidence chain rules provided by the evidence rule maker are transformed into a zero-knowledge proof problem, and a proof key is generated to generate a credible proof of evidence, and a verification key is generated to verify the credible proof. In a possible implementation, after generating the proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit, the method further includes: The chain of evidence rule identifier, the chain of evidence rule corresponding to the chain of evidence rule identifier, the proof key corresponding to the chain of evidence rule identifier, and the verification key corresponding to the chain of evidence rule identifier are stored in the blockchain. In the above method, the information stored in the blockchain can be obtained by participants of multiple blockchains, which improves the convenience of obtaining evidence rules. In a possible implementation, the evidence includes an evidence key name and an evidence key value; the evidence key value is a secret input of the evidence; The chain of evidence rule corresponding to the chain of evidence rule identifier includes a key name and a restriction condition; Determining the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier includes: Determining the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; Determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The credible proof of the evidence is determined by identifying the corresponding proof key, the public input of the evidence and the secret input of the evidence according to the evidence chain rule, including: Determine the common input of the evidence according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The credible proof of the evidence is determined according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence. In a possible implementation, determining the evidence fingerprint of the evidence according to the evidence key name and the evidence key value includes: Determine the hash value corresponding to the evidence key name and the evidence key value, and use the hash value as the evidence fingerprint of the evidence. In a possible implementation, determining the hash value corresponding to the evidence key name and the evidence key value includes: The evidence key name and the evidence key value are subjected to a Merkle tree hash algorithm to determine the hash value. The Merkle tree algorithm was chosen because it has a better zero-knowledge proof circuit when performing selective disclosure. Other hash algorithms can also be used, such as directly calculating the hash value. In a possible implementation, storing the evidence includes: Obtain a trusted mark; the trusted mark is a timestamp and / or a trusted signature; The trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. The timestamp can be an institution certified by the National Time Service Center, which issues a trusted timestamp and a trusted signature for the evidence event. After obtaining the trusted mark, the trusted mark, the trusted proof of evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. In a possible implementation, the trust mark, the trust proof of evidence, and the evidence chain rule mark The identification and the evidence fingerprint of the evidence are stored in the blockchain, including: Through the verification smart contract deployed on the blockchain, the evidence is verified to be compliant with the evidence chain rule based on the verification key corresponding to the evidence chain rule identifier. If compliant, the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. Through the above method, before storing in the blockchain, verification is performed again by verifying the smart contract, and the verification process can be reached through consensus through the blockchain to improve the security of the verification process. In a second aspect, an embodiment of the present application provides another method for credible evidence storage, which is applied to a credible evidence storage system, wherein the credible evidence storage system includes a credible evidence storage application, an evidence provider, and a blockchain; the method includes: The evidence provider sends a storage request to the trusted evidence storage application, wherein the storage request includes the evidence fingerprint, the evidence chain rule identifier and the trusted proof of the evidence; the trusted proof of the evidence is determined according to the proof key corresponding to the evidence chain rule identifier, the public input of the evidence and the secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; The trusted evidence storage application obtains the evidence storage request; The trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence application determines whether the evidence complies with the evidence chain rule based on the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier and the trusted proof of the evidence. If so, the evidence is sent to the blockchain; the proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on the zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier. The blockchain stores the evidence. In a possible implementation, the trusted evidence storage system further includes an evidence chain rule maker, and before the evidence provider sends an evidence storage request to the trusted evidence storage application, the following steps are further included: The evidence chain rule formulating party sends the evidence chain rule identifier and the evidence chain rule corresponding to the evidence chain rule identifier to the trusted evidence storage application; The trusted evidence storage application obtains the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence storage application generates a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier based on the zero-knowledge proof circuit. In a possible implementation, after the trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit, it further includes: The trusted evidence storage application sends the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier to the blockchain; The blockchain stores the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier. In a possible implementation, the evidence includes an evidence key name and an evidence key value; the evidence key value is a secret input of the evidence; the evidence chain rule corresponding to the evidence chain rule identifier includes a key name and a restriction condition; The trusted evidence storage application identifies the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule. Then determine the public input of the zero-knowledge proof, including: The trusted evidence storage application determines the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; The trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; The credible proof of the evidence is determined by identifying the corresponding proof key, the public input of the evidence and the secret input of the evidence according to the evidence chain rule, including: The evidence provider determines the common input of the evidence according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The evidence provider determines the credible proof of the evidence according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence. In a third aspect, an embodiment of the present application provides a credible evidence storage device, comprising: an acquisition module, used to acquire an evidence storage request sent by an evidence provider, wherein the evidence storage request includes an evidence fingerprint of the evidence, an evidence chain rule identifier, and a credible proof of the evidence; the credible proof of the evidence is determined according to a proof key corresponding to the evidence chain rule identifier, a public input of the evidence, and a secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; A determination module, used to determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; The determination module is specifically used to determine whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier and the credible proof of the evidence, and if so, store the evidence; The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier. The acquisition module is specifically used to obtain the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier; generate a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; and generate a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit. The device also includes an evidence storage module, which is used to store the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier in the blockchain. The evidence includes an evidence key name and an evidence key value; the evidence key value is the secret input of the evidence; the evidence chain rule corresponding to the evidence chain rule identifier includes a key name and a restriction condition; the determination module is also used to determine the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; determine the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; determine the public input of the evidence according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; determine the credible proof of the evidence according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence. The determination module is further used to determine a hash value corresponding to the evidence key name and the evidence key value, and use the hash value as the evidence fingerprint of the evidence. The determining module is further used to determine the evidence key name and the evidence key value by using a Merkle tree hash algorithm. Determine the hash value. The evidence storage module is specifically used to obtain a trusted mark; the trusted mark is a timestamp and / or a trusted signature; and store the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence in the blockchain. The acquisition module is specifically used to verify whether the evidence complies with the evidence chain rule based on the verification key corresponding to the evidence chain rule identifier through the verification smart contract deployed on the blockchain. If it complies, the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed, any one of the methods in the first aspect is executed. In a fifth aspect, an embodiment of the present application provides a computing device, comprising: a memory for storing program instructions; a processor for calling the program instructions stored in the memory, and executing the method in any one of the designs in the above-mentioned first aspect according to the obtained program. In a sixth aspect, an embodiment of the present application provides a computer program product, which, when running on a processor, implements a method as in any one of the designs in the first aspect above. The beneficial effects of the second to sixth aspects mentioned above can be specifically referred to the beneficial effects that can be achieved by any design of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS FIG1 is a schematic diagram showing a flow chart of a method for storing credible evidence provided by an embodiment of the present application; FIG2 exemplarily shows a flow chart of a method for generating a certification key and a verification key provided in an embodiment of the present application; FIG3 exemplarily shows a hash algorithm diagram of a Merkle tree provided in an embodiment of the present application; FIG4 exemplarily shows a flowchart of a method for storing credible evidence provided in an embodiment of the present application; FIG5 exemplarily shows a flow chart of a reliable evidence storage device provided in an embodiment of the present application. DETAILED DESCRIPTION In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Trusted evidence storage means that individuals or institutions store the hashed fingerprints of the content, documents, pictures, etc. used as evidence on the blockchain, and attach a reliable timestamp and the electronic signature of an authoritative organization. This method of evidence storage can be connected to the judicial system (courts, notary offices, etc.), ensuring that each evidence caller can verify the authenticity of the evidence, thereby ensuring that the evidence is available, trustworthy and reliable, forming a complete evidence closed loop. For example, in the Internet information age, information spreads very quickly, the probability of digital works being infringed is very high, and the time and money costs of protecting rights are relatively high. Through the trusted evidence service, the ownership of digital works can be registered, including original pictures, videos, audio, text, code, etc. After registration, electronic data evidence of digital works can be generated, so that the copyright of digital works can be protected. In addition, some electronic certificates, transaction vouchers, electronic contracts, electronic bills, etc. can also be permanently preserved through the trusted evidence storage service, thus avoiding the problems of these vouchers being easily lost, difficult to circulate, and difficult to verify their authenticity. Moreover, as online shopping becomes increasingly popular, transactions generated during online shopping can also be recorded through trusted evidence. Data is stored. Since there are many details in a transaction order that are easy to be ignored, these data are easy to be lost as practice goes on. When a dispute arises, it is difficult to connect the transaction data completely. Through the trusted evidence storage service, the transaction data can be completely saved to provide complete evidence for the dispute. And data analysis can also be performed in combination with the complete transaction data. There are many trusted evidence storage services, such as Baidu Superchain, Ant Chain, Yibaoquan, Zhixin Chain, etc. However, these trusted evidence storage services do not define a standardized evidence format for the evidence provider when storing evidence. In other words, the evidence provided by the evidence provider can be stored on the blockchain through the trusted evidence storage service. However, many of the evidence on the chain do not meet the specifications set by the evidence caller, and the stored evidence cannot be used. This not only wastes storage resources, but also makes the subsequent use of evidence more complicated. Based on this, an embodiment of the present application provides a reliable evidence storage method for verifying evidence and improving the convenience of evidence retrieval. FIG1 exemplarily shows a flow chart of a method for storing credible evidence provided by an embodiment of the present application. As shown in FIG1 , the method includes: Step 101: The trusted evidence storage application obtains an evidence storage request sent by an evidence provider. The above-mentioned evidence providers are institutions or individuals who have a need to store evidence. For example, after obtaining the transaction flow information of an individual's bank card from the bank, the individual stores it as evidence for subsequent dispute resolution. Or some large trading platforms generate a huge amount of transaction data every day. The transaction data recorded on the platform is short and the content is complicated. The transaction data that can be used as evidence is mixed in, which is not conducive to retrieval in the event of a transaction dispute. Therefore, it is necessary to store the transaction data that can be used as evidence for efficient retrieval and use. When storing evidence, the evidence provider will send a storage request to the trusted evidence application, and the trusted evidence application will obtain the storage request, which includes the evidence fingerprint, evidence chain rule identifier, and the trustworthy proof of the evidence. The credible proof of evidence is determined by identifying the corresponding proof key, the public input of the evidence, and the secret input of the evidence according to the evidence chain rule; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; a complete piece of evidence contains public information that can be made public and private information that cannot be made public. For example, the key name contained in a piece of evidence can be made public, but the key value cannot be made public. To give a specific example, key names such as "ID number" and "age" are public information, and anyone can know that a piece of evidence contains these two. However, the specific ID number: 401289552, and age: 28 are called private information, which is only known to the party providing the evidence and is not public. However, these private information can be processed to hide the information itself as a kind of evidence fingerprint of the evidence. The evidence fingerprint of the evidence is obtained through the secret input of the evidence; In step 102, the trusted evidence storage application determines the public input of the zero-knowledge proof based on the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier. The trusted evidence storage application can obtain the corresponding evidence chain rules according to the evidence chain rule identifier. The evidence chain rules are predetermined and can be stored in the trusted evidence storage application in advance. Step 103, the trusted evidence application determines whether the evidence complies with the evidence chain rule based on the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier and the trusted proof of the evidence. If it complies, execute step 104; if it does not, execute step 105; the proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on the zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier. Step 104: The trusted evidence storage application stores the evidence; Step 105: The trusted evidence storage application does not store the evidence. The following describes the generation process of the certification key and the verification key in the above step 103. A flowchart of a method for generating a certification key and a verification key provided in an embodiment of the application is shown in FIG2 . The method includes: In step 201, the trusted evidence storage application obtains the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier. In this step, the evidence chain rule makers may be some judicial institutions, such as the procuratorate, courts, and notary offices. When handling cases on a daily basis, these institutions need to investigate and collect evidence based on the actual situation of the case as a basis for final decisions. In order to improve the efficiency of case handling, these agencies generally have specific format and content requirements for the evidence provided by the parties, such as stipulating the type of evidence and the grouping of evidence. The parties are required to provide appropriate evidence based on these formats and content requirements. The embodiment of the present application stores electronic evidence, so it must also comply with specific evidence chain rules. The following two examples illustrate the evidence chain rules: Chain of evidence rule 1: 1:{certifId:String:length

[0018] } 2:{age:Integer:range[18,200]} 3:{record:String:null} In the above evidence chain rule 1, there are 3 pieces of evidence, among which the key name of the first piece is "ID number certifId", the key name of the second piece is "age age", and the key name of the third piece is "record record". The restriction condition for the ID number is an immutable type (String) with a length (length) of 18; the restriction condition for age is an integer (Integer) with a range of 18 to 200; the restriction condition for the record is a String type with no range restriction (null). Chain of evidence rule 2: 1:{unit price:float:range[1,10000]} 2:{number:Integer:range[0,999]} 3:{total price:float:range[0,9990000]} Constraint: Unit price * quantity = total price In the above evidence chain rule 2, there are 3 pieces of evidence, among which the key name of the first piece is "unit price", the key name of the second piece is "quantity", and the key name of the third piece is "total price". The restriction condition for the ID number is a floating point type (float) with a range of 1 to 10000; the restriction condition for the quantity is an integer (Integer) with a range of 0 to 999; the restriction condition for the record is a floating point type (float) with a range of 0 to 9990000. The constraint condition is: unit price * quantity = total price. The above two evidence chain rules can be abstracted into the following evidence chain rules: The key iIndicates the i-th piece of evidence, type i Indicates the type of the i-th piece of evidence, condition i represents the restriction condition of the i-th piece of evidence, and N represents the number of pieces of evidence in this evidence rule. After determining the evidence chain rule, it can be numbered as the evidence chain identifier corresponding to the evidence chain rule. For example, the evidence chain rule above is numbered 001. In step 202, the trusted evidence storage application generates a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier. Continuing with the evidence chain rule 1 in step 201 above as an example, the secret input and public input of the zero-knowledge proof circuit are defined as follows: The content defined in the secret input w is the key value, and the content defined in the public input is the evidence fingerprint D of the evidence, as well as the restrictions and constraints. For example, in the above example, under the condition of restrictions, the restrictions of the first piece of evidence are determined to be l1, u1, the restrictions of the second piece of evidence are determined to be l2, u2, and the restrictions of the third piece of evidence are determined to be l3, u3. A zero-knowledge proof circuit can be generated based on the above secret input and public input. It should be noted that different evidence chain rules may correspond to the same zero-knowledge proof circuit. For example, in two evidence chain rules, the number of evidence, restrictions and constraints of each evidence are the same, then the zero-knowledge proof circuits corresponding to the two evidence chain rules can be reused. Based on the above situation, after the trusted evidence application obtains an evidence chain rule in step 201, it can query whether there is a reusable zero-knowledge proof circuit in the memory or blockchain. If so, there is no need to redefine the public input and secret input. Step 203: The trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier based on the zero-knowledge proof circuit. In one possible implementation, the proof key and verification key are generated by the KeyGen algorithm in the zero-knowledge proof algorithm. The KeyGen algorithm contains a security parameter λ, and the proof key and verification key are generated according to the following formula: KeyGen(1 λ ,C)→(pk,vk) Among them, pk is the proof key and vk is the verification key. After the above step 203, the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier may also be stored in the blockchain. In this way, all participants in the blockchain can obtain the proof key and verification key corresponding to the evidence chain rule identifier according to the evidence chain rule identifier, which are used to generate and verify credible proofs. The following uses specific evidence to explain how the evidence fingerprint, secret input of evidence, public input of evidence, and public input of zero-knowledge proof are defined. According to the above discussion, evidence includes an evidence key name and an evidence key value; based on the evidence key name and the evidence key value, the evidence fingerprint of the evidence can be determined. In a possible implementation, a hash value corresponding to the evidence key name and the evidence key value may be determined, and the hash value may be used as the evidence fingerprint of the evidence. When determining the corresponding hash value according to the evidence key name and the evidence key value, the hash value can be determined by a Merkle tree hash algorithm. FIG3 exemplarily shows a schematic diagram of a Merkle tree hash algorithm provided in an embodiment of the present application. Let's take a specific piece of evidence from the above evidence chain rule 1 as an example. The ID number (certifId) is: 8798709; the age (age) is: 25; the record (record) is: somerecord, and the hash value MRH finally calculated is: MRH=hash{hash[hash(age25||certifId8798709)]||hash[hash(recordsomerecord)]]} Other hash algorithms may also be used, such as d=sha256(v1||k1||v2||k2…||vn||kn), where || represents simple string concatenation. The Merkle tree algorithm is chosen because it allows for selective disclosure. Regarding selective disclosure, for example, it can prove that the age in the evidence is 25, but other key values, including ID number 8798709 and record somerecord, are not disclosed. For example, in the above example, the information that the evidence provider wants to disclose is age 25. He only needs to provide the values ​​of Hash01 and Hash1, and does not need to provide his ID number or record content. The verifier can do the following verification: Hash_00 = hash(age25) Hash_0=hash(Hash_00||Hash_01) MRH? ==hash(Hash_0||Hash_1) If the left side of the last equation is equal to the right side, the trusted evidence application can verify that the plaintext age given by the evidence provider is 25 years old, which is consistent with the hash value of the evidence. Secret input of evidence Optionally, the key value of the evidence is determined as the secret input of the evidence. Let's take a specific piece of evidence in the above evidence chain rule 1 as an example. The ID number is: 8798709; the age is: 25; the record is: somerecord. Thus, the secret input of the evidence can be determined: Public input of evidence Optionally, the public input of the evidence may be determined according to the evidence fingerprint, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition. The example of determining the secret input of the evidence is still used for explanation. Public Inputs for Zero-Knowledge Proofs Optionally, since the public input of zero-knowledge proof is determined according to specific evidence chain rules, the public input of specific evidence is the part excluding the private information in the evidence. Therefore, the public input of the evidence and the public input of zero-knowledge proof basically overlap, and will not be repeated here. After determining the secret input of the evidence and the public input of the evidence, the credible proof of the evidence can be generated in combination with the proof key. A credible proof is a proof that proves that the evidence complies with specific evidence chain rules and can be verified by a credible evidence storage application. In one possible implementation, the Prove algorithm in the zero-knowledge proof algorithm can be used to generate a trusted proof as follows: Prove(pk,x,w)→π Where pk is the proof key, x is the public input of the proof, w is the secret input of the proof, and π is the credible proof. In some illegal evidence storage scenarios, credible proofs may be forged. In other words, credible proofs can be generated based on evidence that does not comply with the evidence chain rules. For example, the key value corresponding to the age key in a piece of evidence is 1000, which is completely beyond the range specified by the restriction conditions. However, if the restriction conditions are modified, credible proofs can still be generated. Therefore, before credible evidence is stored in a credible evidence storage application, the credible proof must be verified. In the above step 103, the credible proof is verified according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier, and the credible proof of the evidence. Specifically, the Verify algorithm in the zero-knowledge proof algorithm can be used for verification, which is performed by the following formula: Verify(vk,x,π)→b If the output b=1, it means that the credible proof verification is passed; if the output b=0, it means that the credible proof verification is not passed. Optionally, in the above step 104, when the evidence is stored, it is also necessary to obtain a trusted mark, which is a timestamp and / or a trusted signature. The timestamp can be an institution certified by the National Time Service Center, which issues a trusted timestamp and a trusted signature for the evidence storage event. After obtaining the trusted mark, the trusted mark, the trusted proof of evidence, the evidence chain rule identifier, and the evidence fingerprint of the evidence are stored in the blockchain. In a possible implementation, a verification smart contract is deployed on the blockchain, and the verification smart contract is used to verify whether the evidence complies with the evidence chain rule based on the verification key corresponding to the evidence chain rule identifier. The specific verification process can refer to the above step 103. If it complies, the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. Through the above method, before storing in the blockchain, verification is performed again by verifying the smart contract, and the verification process can be reached through consensus through the blockchain to improve the security of the verification process. Based on the same technical concept, the embodiment of the present application also provides a method for credible evidence storage, which is applied to a credible evidence storage system, and the credible evidence storage system includes a credible evidence storage application, an evidence provider, an evidence chain rule maker, and a blockchain. FIG4 exemplarily shows a flow chart of a method for credible evidence storage provided by an embodiment of the present application. As shown in FIG4 , the method includes: Step 401: The evidence chain rule maker sends the evidence chain rule identifier and the evidence chain rule corresponding to the evidence chain rule identifier to the trusted evidence storage application; Step 402, the trusted evidence storage application obtains the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier; Step 403, the trusted evidence storage application generates a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; Step 404: The trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit; Step 405: The trusted evidence storage application stores the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are sent to the blockchain; Step 406, the blockchain stores the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier; Step 407: The evidence provider queries the trusted evidence storage application for evidence chain rules; Step 408, the trusted evidence storage application sends the queried evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier to the evidence provider; Step 409, the evidence provider determines the common input of the evidence according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; Step 410, the evidence provider determines the credible proof of the evidence according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence, and the public input of the evidence; Step 411: The evidence provider sends a storage request to the trusted evidence storage application. The storage request includes the evidence fingerprint, evidence chain rule identifier, and trusted proof of the evidence. Step 412: The trusted evidence storage application obtains an evidence storage request; the evidence storage request includes the evidence fingerprint, the evidence chain rule identifier, and the trusted proof of the evidence; Step 413, the trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; Step 414, the trusted evidence storage application determines that the evidence complies with the evidence chain rule based on the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier, and the trusted proof of the evidence, and sends the evidence to the blockchain; Step 415, blockchain, stores the evidence. Based on the same technical concept, the embodiment of the present application further provides a reliable evidence storage device. FIG5 exemplarily shows a flow chart of a reliable evidence storage device provided by the embodiment of the present application. As shown in FIG5 , the device includes: An acquisition module is used to acquire an evidence storage request sent by an evidence provider, wherein the evidence storage request includes an evidence fingerprint, an evidence chain rule identifier, and a credible proof of the evidence; the credible proof of the evidence is determined according to a proof key corresponding to the evidence chain rule identifier, a public input of the evidence, and a secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; A determination module, used to determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; The determination module is specifically used to determine whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier and the credible proof of the evidence, and if so, store the evidence; The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier. The acquisition module is specifically used to obtain the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier; generate a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; and generate a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit. The device also includes a proof storage module, which is used to store the evidence chain rule identifier, the evidence chain rule The evidence chain rule corresponding to the identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier are stored in the blockchain. The evidence includes an evidence key name and an evidence key value; the evidence key value is the secret input of the evidence; the evidence chain rule corresponding to the evidence chain rule identifier includes a key name and a restriction condition; the determination module is also used to determine the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; determine the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; determine the public input of the evidence according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; determine the credible proof of the evidence according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence. The determination module is further used to determine a hash value corresponding to the evidence key name and the evidence key value, and use the hash value as the evidence fingerprint of the evidence. The determination module is also used to determine the hash value of the evidence key name and the evidence key value through a Merkle tree hash algorithm. The evidence storage module is specifically used to obtain a trusted mark; the trusted mark is a timestamp and / or a trusted signature; and store the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence in the blockchain. The acquisition module is specifically used to verify whether the evidence complies with the evidence chain rule based on the verification key corresponding to the evidence chain rule identifier through the verification smart contract deployed on the blockchain. If it complies, the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain. Based on the same technical concept, an embodiment of the present invention further provides a computer program product. When the computer program product runs on a processor, the method shown in the above embodiment is implemented. Based on the same technical concept, an embodiment of the present invention further provides a computing device, including: a memory for storing program instructions; The processor is used to call the program instructions stored in the memory and execute the method shown in the above embodiment according to the obtained program. Based on the same technical concept, an embodiment of the present invention further provides a computer-readable storage medium. When the computer program product runs on a processor, the method shown in the above embodiment is implemented. Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code. The present application is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram. These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate instructions including the instruction device. A manufactured product that implements the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram. 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.

Claims

1. A method for storing credible evidence, wherein: include Obtaining an evidence storage request sent by an evidence provider, wherein the evidence storage request includes an evidence fingerprint, an evidence chain rule identifier, and a credible proof of the evidence; the credible proof of the evidence is determined based on a proof key corresponding to the evidence chain rule identifier, a public input of the evidence, and a secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; and the evidence fingerprint of the evidence is obtained through the secret input of the evidence; Determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; Determine whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier, and the credible proof of the evidence, and if so, store the evidence; The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier.

2. The method of claim 1, wherein: Before obtaining the evidence storage request sent by the evidence provider, it also includes: Obtaining an evidence chain rule identifier provided by an evidence chain rule maker and an evidence chain rule corresponding to the evidence chain rule identifier; Generate a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; A proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier are generated according to the zero-knowledge proof circuit.

3. The method of claim 2, wherein: After generating the proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit, the method further includes: The chain of evidence rule identifier, the chain of evidence rule corresponding to the chain of evidence rule identifier, the proof key corresponding to the chain of evidence rule identifier, and the verification key corresponding to the chain of evidence rule identifier are stored in the blockchain.

4. The method of claim 1, wherein: The evidence includes an evidence key name and an evidence key value; the evidence key value is a secret input of the evidence; The evidence chain rule corresponding to the evidence chain rule identifier includes a key name and a restriction condition; Determining the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier includes: Determining the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; Determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The credible proof of the evidence is determined by identifying the corresponding proof key, the public input of the evidence and the secret input of the evidence according to the evidence chain rule, including: Determine the common input of the evidence according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The credible proof of the evidence is determined according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence.

5. The method of claim 4, wherein: Determining the evidence fingerprint of the evidence according to the evidence key name and the evidence key value includes: Determine the hash value corresponding to the evidence key name and the evidence key value, and use the hash value as the evidence fingerprint of the evidence.

6. The method of claim 5, wherein: Determining the hash value corresponding to the evidence key name and the evidence key value includes: The evidence key name and the evidence key value are subjected to a Merkle tree hash algorithm to determine the hash value.

7. The method according to any one of claims 1 to 6, wherein: The evidence shall be preserved, including: Obtain a trusted mark; the trusted mark is a timestamp and / or a trusted signature; The trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain.

8. The method of claim 7, wherein: Storing the trustworthy mark, the trustworthy proof of the evidence, the evidence chain rule identifier, and the evidence fingerprint of the evidence in the blockchain includes: Through the verification smart contract deployed on the blockchain, the evidence is verified to be compliant with the evidence chain rule based on the verification key corresponding to the evidence chain rule identifier. If compliant, the trusted mark, the trusted proof of the evidence, the evidence chain rule identifier and the evidence fingerprint of the evidence are stored in the blockchain.

9. A method for storing credible evidence, wherein: Applied to a trusted evidence storage system, the trusted evidence storage system includes a trusted evidence storage application, an evidence provider and a blockchain; the method includes: The evidence provider sends a storage request to the trusted evidence storage application, wherein the storage request includes the evidence fingerprint, the evidence chain rule identifier and the trusted proof of the evidence; the trusted proof of the evidence is determined according to the proof key corresponding to the evidence chain rule identifier, the public input of the evidence and the secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; The trusted evidence storage application obtains the evidence storage request; The trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence storage application determines whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier and the trusted proof of the evidence, and if so, sends the evidence to the blockchain; the proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on the zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier; The blockchain stores the evidence.

10. The method of claim 9, wherein: The trusted evidence storage system further includes an evidence chain rule maker, and before the evidence provider sends an evidence storage request to the trusted evidence storage application, the following steps are also included: The evidence chain rule formulating party sends the evidence chain rule identifier and the evidence chain rule corresponding to the evidence chain rule identifier to the trusted evidence storage application; The trusted evidence storage application obtains the evidence chain rule identifier provided by the evidence chain rule maker and the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence storage application generates a zero-knowledge proof circuit according to the evidence chain rule corresponding to the evidence chain rule identifier; The trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier based on the zero-knowledge proof circuit.

11. The method of claim 10, wherein: After the trusted evidence storage application generates a proof key corresponding to the evidence chain rule identifier and a verification key corresponding to the evidence chain rule identifier according to the zero-knowledge proof circuit, the trusted evidence storage application further includes: The trusted evidence storage application sends the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier to the blockchain; The blockchain stores the evidence chain rule identifier, the evidence chain rule corresponding to the evidence chain rule identifier, the proof key corresponding to the evidence chain rule identifier, and the verification key corresponding to the evidence chain rule identifier.

12. The method of claim 9, wherein: The evidence includes an evidence key name and an evidence key value; the evidence key value is a secret input of the evidence; the evidence chain rule corresponding to the evidence chain rule identifier includes a key name and a restriction condition; The trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier, including: The trusted evidence storage application determines the evidence fingerprint of the evidence according to the evidence key name and the evidence key value; The trusted evidence storage application determines the public input of the zero-knowledge proof according to the evidence fingerprint of the evidence, the key name and restriction condition of the evidence chain rule corresponding to the evidence chain rule identifier; The credible proof of the evidence is determined by identifying the corresponding proof key, the public input of the evidence and the secret input of the evidence according to the evidence chain rule, including: The evidence provider determines the common input of the evidence according to the evidence fingerprint of the evidence, the key name of the evidence chain rule corresponding to the evidence chain rule identifier, and the restriction condition; The evidence provider determines the credible proof of the evidence according to the proof key corresponding to the evidence chain rule identifier, the secret input of the evidence and the public input of the evidence.

13. A reliable evidence storage device, wherein: An acquisition module is used to acquire an evidence storage request sent by an evidence provider, wherein the evidence storage request includes an evidence fingerprint, an evidence chain rule identifier, and a credible proof of the evidence; the credible proof of the evidence is determined according to a proof key corresponding to the evidence chain rule identifier, a public input of the evidence, and a secret input of the evidence; the public input of the evidence is used to represent the public information of the evidence; the secret input of the evidence is used to represent the private information of the evidence; the evidence fingerprint of the evidence is obtained through the secret input of the evidence; A determination module, used to determine a public input of the zero-knowledge proof according to the evidence fingerprint of the evidence and the evidence chain rule corresponding to the evidence chain rule identifier; The determination module is further configured to determine whether the evidence complies with the evidence chain rule according to the public input of the zero-knowledge proof, the verification key corresponding to the evidence chain rule identifier, and the credible proof of the evidence, and if so, store the evidence; The proof key corresponding to the evidence chain rule identifier and the verification key corresponding to the evidence chain rule identifier are generated based on zero-knowledge proof according to the evidence chain rule corresponding to the evidence chain rule identifier.

14. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 12 is executed.

15. A computing device, wherein: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory and execute the method according to any one of claims 1 to 12 according to the obtained program.

16. A computer program product, wherein: The computer program product stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Asset type consistency evidence generation method and system, transaction method and system and transaction verification method and system

    CN111340494A

  • Block chain transaction auditing method and device, equipment and storage medium

    CN114358782A

  • Pledge request method, auditing method, medium and electronic equipment

    CN114387073A

  • Trusted evidence storage method and device, medium and equipment

    CN116522359A

  • Zero-knowledge proof payments using blockchain

    US20200193425A1

Cited By

  • Data storage evidence preservation processing method and system based on distributed storage technology

    CN122348814A