Anonymous consensus archive data entry method and device, equipment and medium

By introducing anonymous consensus archive data entry method into the archive data consensus system within the blockchain, the problem of archive content leakage in traditional systems is solved, and the security entry and privacy protection of digital archives in colleges and universities is realized.

CN120030595AActive Publication Date: 2025-05-23SUZHOU VOCATIONAL UNIVERSITY (SUZHOU OPEN UNIVERSITY)
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510148747.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-05-23
Estimated Expiration
2045-02-11

AI Technical Summary

Technical Problem

In the archive data consensus system in traditional blockchain, the requesting party, the recipient and the entered archive content are prone to leak, and the privacy of archives is less judged, resulting in a higher risk of leaking digital archive content in colleges and universities.

Method used

A method of entering archive data with anonymous consensus is proposed. By sending the university archive data entry request to the archives, it determines whether there is identity registration information. If it exists, anonymous proof parameters will be generated and anonymous verification will be performed. If it passes, the data will be entered into the blockchain network; if it does not exist, the university identity will be registered before entering the data.

Benefits of technology

This enables the requesting party to not disclose any archive content to the recipient, so that the recipient believes that the entry of the archive content is correct, prevents the leakage of digital archive content in colleges and universities and improves the security of digital archives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030595A_ABST
    Figure CN120030595A_ABST
Patent Text Reader

Abstract

The invention discloses an anonymous consensus archive data entry method, device, equipment and medium, and relates to the technical field of data processing, when an archive has identity registration information corresponding to colleges and universities, anonymous certification parameters are generated based on a certification key and a verification key sent by the archive, the anonymous certification parameters are sent to other colleges and universities for anonymous verification, and the identity registration information corresponding to the colleges and universities is recorded. If the anonymous verification is passed, inputting the to-be-input archive data into a block chain network; when identity registration information corresponding to the colleges does not exist in the archive, college identity recognition parameters are sent to the archive, a certification key and a verification key sent by the archive are obtained, college registration data are sent to a collection node, the collection node returns a registration certificate, and the process of generating anonymous certification parameters is executed; according to the method, university identity registration and archive data entry are completed, the receiver can believe that the entered archive content is correct under the condition that the requester does not leak any archive content to the receiver, and the university digital archive content is prevented from being leaked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an anonymous consensus archival data entry method, device, equipment and medium. Background Art

[0002] As a decentralized ledger, blockchain uses a transaction format to securely store trusted data in an untrusted environment. Blockchain has unique characteristics such as decentralization, distribution, flexibility, tamper-proof and immutability. It has become a universal tool for storing various information across platforms. These inherent properties make blockchain particularly advantageous for digital archive systems in colleges and universities. The traditional consensus system process for archive data in blockchain is that one of the nodes in the blockchain initiates a data request, and the acquisition request is sent to each node in the blockchain for verification. When each node passes the verification, the node is allowed to enter the archive in the blockchain. This method is easy to leak the requester, the recipient and the content of the archive, and there is less judgment on the privacy of the archive.

[0003] From the above, it can be seen that how to achieve the situation where the requesting party can make the receiving party believe that the entered archive content is correct without revealing any archive content to the receiving party and prevent the leakage of digital archive content in colleges and universities is a problem to be solved in this field. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide an anonymous consensus archive data entry method, device, equipment and medium, which can enable the requester to believe that the entered archive content is correct without revealing any archive content to the recipient, thereby preventing the leakage of digital archive content in colleges and universities. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a method for entering anonymous consensus archive data, comprising:

[0006] Sending a university archive data entry request to an archive, so that the archive determines whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtains a determination result returned by the archive; the archive includes a third-party archive institution;

[0007] If the judgment result is that the archives has identity registration information corresponding to the university, an anonymous proof parameter is generated based on the proof key and verification key sent by the archives, and the anonymous proof parameter is sent to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameter. If the anonymous verification passes, the archive data to be entered is entered into the blockchain network;

[0008] If the judgment result is that the archives does not have the identity registration information corresponding to the university, the university identity identification parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity identification parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives is executed to complete the university identity registration and archive data entry.

[0009] Optionally, if the judgment result is that the archives has identity registration information corresponding to the university, generating anonymous proof parameters based on the proof key and verification key sent by the archives includes:

[0010] If the judgment result is that the archives has identity registration information corresponding to the university, the archives obtains the proof key and verification key generated by the shared public key sent by the collection node using a preset encryption algorithm and a cyclic group that satisfies the bilinear mapping relationship, and generates anonymous proof parameters based on the proof key and verification key.

[0011] Optionally, the acquisition archive uses a preset encryption algorithm and a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node to generate a proof key and a verification key, and generates an anonymous proof parameter based on the proof key and the verification key, including:

[0012] Obtaining the certification key and verification key sent by the archive, calculating a polynomial based on the certification key, and calculating the polynomial using the verification key to obtain transaction identification data;

[0013] A random parameter is selected, and the file data to be entered is encrypted using the transaction identification data and the random parameter to generate an anonymous proof parameter.

[0014] Optionally, the anonymous proof parameter is sent to other colleges and universities except the college and university, so that the other colleges and universities can anonymously verify the anonymous proof parameter. If the anonymous verification is successful, the method further includes:

[0015] The anonymous proof parameters are sent to other colleges and universities except the college and university in the form of broadcasting, so that the other colleges and universities can anonymously verify the anonymous proof parameters using preset verification conditions. When all preset verification conditions are met, it indicates that the anonymous verification is passed.

[0016] Optionally, sending the university registration data to a collection node so that the collection node returns a registration certificate based on the university registration data includes:

[0017] Selecting a random value as an identity recognition key, calculating the identity recognition key to obtain an identity recognition public key, and generating university registration data based on the identity recognition key and the identity recognition public key;

[0018] The college registration data is sent to a collection node so that the collection node generates a registration certificate based on the college registration data, and sends the registration certificate to the blockchain network and the colleges to be registered and / or enrolled.

[0019] Optionally, the process of executing the process of generating anonymous attestation parameters based on the attestation key and the verification key sent by the archive includes:

[0020] Obtaining the registration certificate returned by the collection node;

[0021] The registration certificate is subjected to a validity check. If the validity check passes, the process of generating anonymous certification parameters based on the certification key and verification key sent by the archive is executed.

[0022] In a second aspect, the present application discloses an anonymous consensus archive data entry device, comprising:

[0023] A registration judgment module is used to send a university archive data entry request to an archive, so that the archive can judge whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtain the judgment result returned by the archive; the archive includes a third-party archive institution;

[0024] The archive data entry module is used to generate anonymous proof parameters based on the proof key and verification key sent by the archive if the judgment result is that the archive has identity registration information corresponding to the university, and send the anonymous proof parameters to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameters. If the anonymous verification passes, the archive data to be entered is entered into the blockchain network;

[0025] The identity registration and data entry module is used to send the university identity recognition parameters to the archives if the judgment result is that the archives does not have the identity registration information corresponding to the university, obtain the proof key and verification key sent by the archives based on the university identity recognition parameters and the shared public key, send the university registration data to the collection node, so that the collection node returns the registration certificate based on the university registration data, and then execute the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives to complete the university identity registration and archive data entry.

[0026] Optionally, the archive data entry module includes:

[0027] The anonymous proof parameter generation module is used to obtain the proof key and verification key generated by the archives using a preset encryption algorithm and a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node if the judgment result is that the archives has identity registration information corresponding to the university, and generate anonymous proof parameters based on the proof key and verification key.

[0028] In a third aspect, the present application discloses an electronic device, including:

[0029] Memory, used to store computer programs;

[0030] A processor is used to execute the computer program to implement the aforementioned anonymous consensus archival data entry method.

[0031] In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned method for entering anonymous consensus archive data are implemented.

[0032] It can be seen that the present application provides an anonymous consensus archival data entry method, including sending a university archival data entry request to an archive, so that the archive determines whether it has identity registration information corresponding to the university based on the university archival data entry request, and obtains the judgment result returned by the archive; the archive includes a third-party archival agency; if the judgment result is that the archive has identity registration information corresponding to the university, then anonymous proof parameters are generated based on the proof key and verification key sent by the archive, and the anonymous proof parameters are sent to other universities except the university, so that the other universities can verify the anonymous proof parameters. Anonymous verification is performed. If the anonymous verification passes, the file data to be entered is entered into the blockchain network; if the judgment result is that the archives does not have the identity registration information corresponding to the university, the university identity recognition parameters are sent to the archives, and the proof key and verification key generated based on the university identity recognition parameters and the shared public key sent by the archives are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives is executed to complete the university identity registration and file data entry. Aiming at the privacy leakage problem of requesters, receivers and archives in the digital archive consensus system in the traditional blockchain, this application proposes an anonymous consensus archive data entry method to realize the identity registration and archive data entry of colleges and universities. If the archives have the identity registration information corresponding to the college, the archive data entry process is executed, that is, anonymous proof parameters are generated based on the proof key and verification key sent by the archives, and the anonymous proof parameters are sent to other colleges and universities except the college so that other colleges and universities can perform anonymous verification. If the anonymous verification is passed, the archive data to be entered will be entered into the blockchain network. Based on the blockchain technology, it is realized The requesting party can convince the receiving party that the entered archive content is correct without disclosing any archive content to the receiving party. If the identity registration information corresponding to the university does not exist in the archives, the university identity registration is performed first, and then the archive data entry process is performed, that is, the university identity recognition parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity recognition parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate, and then the archive data entry process is performed. This can prevent the leakage of university digital archive content and improve the security of digital archives. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to the provided drawings.

[0034] Figure 1 Flowchart of a method for entering archival data with anonymous consensus disclosed in this application;

[0035] Figure 2 Example diagram of the process of entering archival data with anonymous consensus among secondary colleges in a university disclosed in this application;

[0036] Figure 3 Specific flowchart of the process of entering archival data with anonymous consensus among secondary colleges in a university disclosed in this application;

[0037] Figure 4 Schematic structural diagram of a device for entering archival data with anonymous consensus disclosed in this application;

[0038] Figure 5 Structural diagram of an electronic device provided by this application. Specific implementation manners

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a 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 those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0040] As a decentralized ledger, the blockchain securely stores trusted data in an untrusted environment using a transaction format. The blockchain has unique features such as decentralization, distribution, flexibility, anti-tampering, and immutability, and has become a common tool for storing various information across platforms. These inherent properties make the blockchain particularly advantageous in the application of the university digital archive system. The process of the archival data consensus system in the traditional blockchain is that one node in the blockchain initiates a data request, and this acquisition request is sent to each node in the blockchain for verification. When each node passes the verification, the node is allowed to enter the archive in the blockchain. This method is prone to leaking the requester, the recipient, and the content of the entered archive, and there is less judgment on the privacy of the archive. As can be seen from the above, how to enable the requester to make the recipient believe that the content of the entered archive is correct without leaking any archive content to the recipient and prevent the leakage of university digital archive content is a problem to be solved in this field.

[0041] See also Figure 1 As shown, the embodiment of the present invention discloses a method for entering anonymous consensus archive data, which may specifically include:

[0042] Step S11: Send the university archive data entry request to the archives, so that the archives can determine whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtain the judgment result returned by the archives; the archives includes a third-party archive agency;.

[0043] Step S12: If the judgment result is that the archives has identity registration information corresponding to the university, an anonymous proof parameter is generated based on the proof key and verification key sent by the archives, and the anonymous proof parameter is sent to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameter. If the anonymous verification passes, the archive data to be entered will be entered into the blockchain network.

[0044] In this embodiment, if the judgment result is that the archives has identity registration information corresponding to the university, the archives obtains the proof key and verification key generated by the shared public key sent by the collection node using a preset encryption algorithm and a cyclic group that satisfies the bilinear mapping relationship, and generates anonymous proof parameters based on the proof key and verification key, and sends the anonymous proof parameters to other universities except the university in the form of broadcast, so that the other universities can anonymously verify the anonymous proof parameters using preset verification conditions. When all the preset verification conditions are met, it indicates that the anonymous verification is passed, and then the archive data to be entered is entered into the blockchain network.

[0045] Among them, the specific process of generating anonymous proof parameters is: obtaining the proof key and verification key sent by the archives, calculating the polynomial based on the proof key, and using the verification key to calculate the polynomial to obtain transaction identification data; selecting random parameters, and using the transaction identification data and the random parameters to encrypt the archive data to be entered to generate anonymous proof parameters.

[0046] Execute the anonymous authorization steps of the university digital archive consensus system, including the anonymous proof process and the anonymous verification process. In the anonymous proof process, college i calculates the anonymous transaction identification data used in the consensus system , and Deposit it in the blockchain network and use Generate anonymous proof parameters for the consensus system , and the anonymous proof parameter It is sent to other colleges through broadcasting for anonymous verification; during the anonymous verification process, other colleges will receive the anonymous proof parameters sent by college i By proving the verification conditions and obtaining the verification results, if the verification conditions are met, the college i can enter the archive data in the blockchain network.

[0047] The anonymous proof process includes: College i receives the proof key sent by the archives Evaluating Polynomials , by allocating Give ,get:

[0048] ;

[0049] Then use the attestation key , College i calculates:

[0050] ;

[0051] Then calculate:

[0052] ;

[0053] Furthermore, the college i obtains the following transaction identification data:

[0054] ;

[0055] Based on the transaction identification data , the college i chooses random parameters Substitute the following formula:

[0056] ;

[0057] Further, we will get , and Substitute the following formula:

[0058] ;

[0059] Further, we will get , and Substitute the following formula:

[0060] ;

[0061] Assuming that P is the original file data that college i plans to enter, the following encryption calculation is performed on the original file data P:

[0062] ;

[0063] Further, the obtained encrypted archive data p is substituted into the following calculation formula:

[0064] ;

[0065] Furthermore, the college i generates the following proof parameters:

[0066] ;

[0067] Finally, the college i broadcasts the proof parameters Sent to other colleges.

[0068] The anonymous verification process includes:

[0069] The certification parameters sent by the college i received by other colleges The verification condition is verified by the following proof:

[0070] ;

[0071] If the proof verification condition C1 and the proof verification condition C2 are met at the same time, the college i can enter the archive data into the blockchain network.

[0072] Step S13: If the judgment result is that the archives does not have the identity registration information corresponding to the university, the university identity identification parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity identification parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives is executed to complete the university identity registration and archive data entry.

[0073] In this embodiment, after obtaining the proof key and verification key generated based on the university identity identification parameters and the shared public key sent by the archives, a random value is selected as the identity identification key, and the identity identification key is calculated to obtain the identity identification public key, and the university registration data is generated based on the identity identification key and the identity identification public key; the university registration data is sent to the collection node so that the collection node generates a registration certificate based on the university registration data, and the registration certificate is sent to the blockchain network and the universities to be registered and / or entered, and then the registration certificate returned by the collection node is obtained; the registration certificate is checked for validity, and if the validity check passes, the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives is executed to complete the university identity registration and archive data entry.

[0074] Specifically, the archives generates the certification key and verification key based on the university identification parameters and the shared public key. The process for the collection node to generate the registration certificate is as follows: The archives generates the key required by the archive category , public key , SHA256 encryption algorithm and other public parameters, and publish the public parameters to each collection node in the network; the collection node k generates the key required by the archive category and the public key , and the key and the public key Sent to the archives; the archives receives the keys and public keys of all collection nodes in the network to generate a shared private key and shared public key , based on a shared public key and receive the identification parameters of college i to obtain the certification key of college i and verification key , and the proof key and verification key Sent to college i; college i calculates and generates the identification key and the public key , send the identification public key and the identification number The identity verification data is sent to the collection node k within the range; the collection node k generates the registration certificate of the college i based on the identity verification data , then the registration certificate Sent to the blockchain network for verification and preservation, and also sent to the college i; the college i receives the registration certificate Test its effectiveness.

[0075] Among them, the archive receives the keys and public keys of all collection nodes in the network to generate a shared private key and shared public key , based on a shared public key and receive the identification parameters of college i to obtain the certification key of college i and verification key The specific process includes:

[0076] Archives generate with prime order Cyclic group of and cyclic groups , and satisfies the bilinear mapping relationship e: , and They are and The generator of

[0077] The archive randomly selects a value As the key, is a prime number order group, through the formula Generate a public key;

[0078] The archive publishes public parameters to all nodes in the network by broadcasting , where SHA256 is the encryption algorithm.

[0079] Collector node k randomly selects a value in the initial stage As a key , through the formula , calculate the public key ,in . Then the collecting node k sends the key and the public key To the archives.

[0080] The archive uses the SHA256 encryption algorithm to share the public key The following encrypted data is obtained by receiving the identity parameters of college i:

[0081] ;

[0082] in, is the archives identification code, It is the identification parameter of the college, including: Is the college i verification certificate The effective time of Is the college i verification certificate A randomly generated serial number, It is the identification code of the college; It is the public key for identification generated by college i.

[0083] Further, the encrypted data Transformed into the following quadratic arithmetic program:

[0084] ;

[0085] in, is a variable polynomial; It is a collection of logic gate indices with common inputs or outputs in an arithmetic circuit; It is the set of logic gate indices with non-common inputs or outputs in an arithmetic circuit; is the target polynomial.

[0086] After completing the quadratic arithmetic calculation, the archive selects a random number Generate the proof key according to the following formula and verification key :

[0087] ;

[0088] ;

[0089] in, .

[0090] The collection node k generates the registration certificate of the college i based on the identity verification data , the specific process is:

[0091] College i chooses random value As the identification key, calculate the identification public key ,in .

[0092] Collecting node k receives the identification data sent by college i , and generate a verification certificate for the college i ;

[0093] in, Is a verification certificate Randomly generated serial number; Is a verification certificate The effective time. is a shared key signature.

[0094] In addition, in addition to realizing the anonymous consensus archival data entry process between universities and other universities, this application can also realize the anonymous consensus archival data entry process between secondary colleges within a university; the anonymous consensus includes the process of anonymous proof and anonymous verification.

[0095] Among them, the anonymous consensus archival data entry process among the secondary colleges within a university is as follows: Figure 2 As shown, (1) the archives generates an archive category key and broadcasts it to all collection nodes; (2) the archives receives the collection node key and the secondary college identity information, generates a proof public key and sends it to the blockchain; (3) if the archives does not have the identity registration information corresponding to the secondary college A, the identity registration verification data of the secondary college A is sent to the collection node; (4) the collection node returns the registration certificate to the secondary college A, and sends the registration certificate to the blockchain; (5) the secondary college A sends the anonymous proof data to the blockchain; (6) the secondary college A sends the anonymous proof data to other secondary colleges outside the secondary college A (such as the secondary college B); (7) the secondary college B anonymously verifies the anonymous proof data; (8) receives the information of anonymous verification passing; (9) the secondary college A enters the archive data to be entered into the blockchain network to complete the anonymous consensus archive data entry process between the secondary colleges within a university.

[0096] Based on the anonymous consensus data entry process between the secondary colleges in a university, this application implements the specific process of university identity registration and data entry between the secondary colleges in a university as follows: Figure 3 As shown in the figure, the anonymous consensus system of digital archives of colleges and universities between secondary colleges consists of five parts: archives, colleges, collection nodes, and blockchain network. The archives set the initialization parameters of the digital archive system, which are used for the authorization and identity authentication of network nodes; the collection nodes are responsible for the area according to the geographical division, and issue registration certificates to the colleges in the area; the colleges access the blockchain network to perform the archive entry operation, and the colleges do not maintain the blockchain in the local storage, and participate in the consensus process of archive entry by receiving the anonymous verification information of the archives to prevent the leakage of archive information of other colleges; the blockchain network is established by the alliance chain, which is used to store digital archive information, and allows legal nodes to access the archive information by establishing access rights. In view of the privacy leakage problem of the requester, the receiver, and the input archive in the digital archive consensus system in the traditional blockchain, the present invention is based on blockchain technology, which enables the requester to believe that the input archive content is correct without leaking any archive content to the receiver, aiming to prevent the leakage of digital archive content in colleges and universities.

[0097] In this embodiment, a request for entering university archive data is sent to an archive, so that the archive can determine whether it has identity registration information corresponding to the university based on the request for entering university archive data, and obtain the judgment result returned by the archive; the archive includes a third-party archive agency; if the judgment result is that the archive has identity registration information corresponding to the university, anonymous proof parameters are generated based on the proof key and verification key sent by the archive, and the anonymous proof parameters are sent to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameters, and if the anonymous verification passes, the archive data to be entered is entered into the blockchain network; if the judgment result is that the archive does not have identity registration information corresponding to the university, the university identity recognition parameters are sent to the archive, the proof key and verification key generated based on the university identity recognition parameters and the shared public key sent by the archive are obtained, and the university registration data is sent to the collection node, so that the collection node returns a registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archive is executed to complete the university identity registration and archive data entry. Aiming at the privacy leakage problem of requesters, receivers and archives in the digital archive consensus system in the traditional blockchain, this application proposes an anonymous consensus archive data entry method to realize the identity registration and archive data entry of colleges and universities. If the archives have the identity registration information corresponding to the college, the archive data entry process is executed, that is, anonymous proof parameters are generated based on the proof key and verification key sent by the archives, and the anonymous proof parameters are sent to other colleges and universities except the college so that other colleges and universities can perform anonymous verification. If the anonymous verification is passed, the archive data to be entered will be entered into the blockchain network. Based on the blockchain technology, it is realized The requesting party can convince the receiving party that the entered archive content is correct without disclosing any archive content to the receiving party. If the identity registration information corresponding to the university does not exist in the archives, the university identity registration is performed first, and then the archive data entry process is performed, that is, the university identity recognition parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity recognition parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate, and then the archive data entry process is performed. This can prevent the leakage of university digital archive content and improve the security of digital archives.

[0098] See also Figure 4 As shown, the embodiment of the present invention discloses an anonymous consensus archive data entry device, which may specifically include:

[0099] The registration judgment module 11 is used to send the university archive data entry request to the archives, so that the archives can judge whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtain the judgment result returned by the archives; the archives includes a third-party archives agency;

[0100] The archive data entry module 12 is used to generate anonymous proof parameters based on the proof key and verification key sent by the archive if the judgment result is that the archive has identity registration information corresponding to the university, and send the anonymous proof parameters to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameters. If the anonymous verification passes, the archive data to be entered is entered into the blockchain network;

[0101] The identity registration and data entry module 13 is used to send the university identity recognition parameters to the archives if the judgment result is that the archives does not have the identity registration information corresponding to the university, obtain the proof key and verification key sent by the archives based on the university identity recognition parameters and the shared public key, send the university registration data to the collection node, so that the collection node returns the registration certificate based on the university registration data, and then execute the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives to complete the university identity registration and archive data entry.

[0102] In this embodiment, a request for entering university archive data is sent to an archive, so that the archive can determine whether it has identity registration information corresponding to the university based on the request for entering university archive data, and obtain the judgment result returned by the archive; the archive includes a third-party archive agency; if the judgment result is that the archive has identity registration information corresponding to the university, anonymous proof parameters are generated based on the proof key and verification key sent by the archive, and the anonymous proof parameters are sent to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameters, and if the anonymous verification passes, the archive data to be entered is entered into the blockchain network; if the judgment result is that the archive does not have identity registration information corresponding to the university, the university identity recognition parameters are sent to the archive, the proof key and verification key generated based on the university identity recognition parameters and the shared public key sent by the archive are obtained, and the university registration data is sent to the collection node, so that the collection node returns a registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archive is executed to complete the university identity registration and archive data entry. Aiming at the privacy leakage problem of requesters, receivers and archives in the digital archive consensus system in the traditional blockchain, this application proposes an anonymous consensus archive data entry method to realize the identity registration and archive data entry of colleges and universities. If the archives have the identity registration information corresponding to the college, the archive data entry process is executed, that is, anonymous proof parameters are generated based on the proof key and verification key sent by the archives, and the anonymous proof parameters are sent to other colleges and universities except the college so that other colleges and universities can perform anonymous verification. If the anonymous verification is passed, the archive data to be entered will be entered into the blockchain network. Based on the blockchain technology, it is realized The requesting party can convince the receiving party that the entered archive content is correct without disclosing any archive content to the receiving party. If the identity registration information corresponding to the university does not exist in the archives, the university identity registration is performed first, and then the archive data entry process is performed, that is, the university identity recognition parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity recognition parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate, and then the archive data entry process is performed. This can prevent the leakage of university digital archive content and improve the security of digital archives.

[0103] In some specific embodiments, the archive data entry module 12 may specifically include:

[0104] The anonymous proof parameter generation module is used to obtain the proof key and verification key generated by the archives using a preset encryption algorithm and a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node if the judgment result is that the archives has identity registration information corresponding to the university, and generate anonymous proof parameters based on the proof key and verification key.

[0105] In some specific embodiments, the archive data entry module 12 may specifically include:

[0106] A polynomial calculation module, used to obtain the certification key and verification key sent by the archive, calculate the polynomial based on the certification key, and calculate the polynomial using the verification key to obtain transaction identification data;

[0107] The file data encryption module to be entered is used to select random parameters and use the transaction identification data and the random parameters to encrypt the file data to be entered to generate anonymous proof parameters.

[0108] In some specific embodiments, the archive data entry module 12 may specifically include:

[0109] The anonymous proof parameter sending module is used to send the anonymous proof parameters to other universities except the university in the form of broadcasting, so that the other universities can anonymously verify the anonymous proof parameters using preset verification conditions. When all preset verification conditions are met, it indicates that the anonymous verification is passed.

[0110] In some specific embodiments, the identity registration and data entry module 13 may specifically include:

[0111] An identity recognition key calculation module, used for selecting a random value as an identity recognition key, calculating the identity recognition key to obtain an identity recognition public key, and generating university registration data based on the identity recognition key and the identity recognition public key;

[0112] A registration certificate generation module is used to send the university registration data to a collection node so that the collection node generates a registration certificate based on the university registration data, and sends the registration certificate to the blockchain network and the universities to be registered and / or enrolled.

[0113] In some specific embodiments, the identity registration and data entry module 13 may specifically include:

[0114] A registration certificate acquisition module, used to acquire the registration certificate returned by the collection node;

[0115] The validity verification module is used to verify the validity of the registration certificate. If the validity verification passes, the process of generating anonymous certification parameters based on the certification key and verification key sent by the archive is executed.

[0116] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the anonymous consensus archival data entry method performed by the electronic device disclosed in any of the aforementioned embodiments.

[0117] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0118] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0119] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20 to realize the operation and processing of the data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the anonymous consensus archive data entry method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can also further include a computer program that can be used to complete other specific tasks. In addition to including data transmitted from an external device received by the anonymous consensus archive data entry device, the data 223 can also include data collected by its own input and output interface 25, etc.

[0120] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0121] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the anonymous consensus archive data entry method disclosed in any of the aforementioned embodiments are implemented.

[0122] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0123] The above is a detailed introduction to the anonymous consensus archival data entry method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for entering anonymous consensus archive data, characterized in that: include: Sending a university archive data entry request to an archive, so that the archive determines whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtains a determination result returned by the archive; the archive includes a third-party archive institution; If the judgment result is that the archives has identity registration information corresponding to the university, an anonymous proof parameter is generated based on the proof key and verification key sent by the archives, and the anonymous proof parameter is sent to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameter. If the anonymous verification passes, the archive data to be entered is entered into the blockchain network; If the judgment result is that the archives does not have the identity registration information corresponding to the university, the university identity identification parameters are sent to the archives, and the proof key and verification key generated by the archives based on the university identity identification parameters and the shared public key are obtained, and the university registration data is sent to the collection node so that the collection node returns the registration certificate based on the university registration data, and then the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives is executed to complete the university identity registration and archive data entry.

2. The anonymous consensus archival data entry method according to claim 1 is characterized in that: If the judgment result is that the archives has identity registration information corresponding to the university, then generating anonymous certification parameters based on the certification key and verification key sent by the archives includes: If the judgment result is that the archives has identity registration information corresponding to the university, the archives obtains the proof key and verification key generated by the shared public key sent by the collection node using a preset encryption algorithm and a cyclic group that satisfies the bilinear mapping relationship, and generates anonymous proof parameters based on the proof key and verification key.

3. The anonymous consensus archival data entry method according to claim 2 is characterized in that: The acquisition archive uses a preset encryption algorithm and a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node to generate a proof key and a verification key, and generates an anonymous proof parameter based on the proof key and the verification key, including: Obtaining the certification key and verification key sent by the archive, calculating a polynomial based on the certification key, and calculating the polynomial using the verification key to obtain transaction identification data; A random parameter is selected, and the file data to be entered is encrypted using the transaction identification data and the random parameter to generate an anonymous proof parameter.

4. The anonymous consensus archival data entry method according to claim 1 is characterized in that: The anonymous proof parameter is sent to other colleges and universities except the college and university, so that the other colleges and universities can anonymously verify the anonymous proof parameter. If the anonymous verification is successful, the anonymous proof parameter includes: The anonymous proof parameters are sent to other colleges and universities except the college and university in the form of broadcasting, so that the other colleges and universities can anonymously verify the anonymous proof parameters using preset verification conditions. When all preset verification conditions are met, it indicates that the anonymous verification is passed.

5. The anonymous consensus archival data entry method according to claim 1, characterized in that: The sending of the university registration data to the collection node so that the collection node returns a registration certificate based on the university registration data includes: Selecting a random value as an identity recognition key, calculating the identity recognition key to obtain an identity recognition public key, and generating university registration data based on the identity recognition key and the identity recognition public key; The college registration data is sent to a collection node so that the collection node generates a registration certificate based on the college registration data, and sends the registration certificate to the blockchain network and the colleges to be registered and / or enrolled.

6. The anonymous consensus archival data entry method according to any one of claims 1 to 5, characterized in that: The process of executing the process of generating anonymous certification parameters based on the certification key and verification key sent by the archive includes: Obtaining the registration certificate returned by the collection node; The registration certificate is subjected to a validity check. If the validity check passes, the process of generating anonymous certification parameters based on the certification key and verification key sent by the archive is executed.

7. An anonymous consensus archive data entry device, characterized in that: include: A registration judgment module is used to send a university archive data entry request to an archive, so that the archive can judge whether it has identity registration information corresponding to the university based on the university archive data entry request, and obtain the judgment result returned by the archive; the archive includes a third-party archive institution; The archive data entry module is used to generate anonymous proof parameters based on the proof key and verification key sent by the archive if the judgment result is that the archive has identity registration information corresponding to the university, and send the anonymous proof parameters to other universities except the university, so that the other universities can anonymously verify the anonymous proof parameters. If the anonymous verification passes, the archive data to be entered is entered into the blockchain network; The identity registration and data entry module is used to send the university identity recognition parameters to the archives if the judgment result is that the archives does not have the identity registration information corresponding to the university, obtain the proof key and verification key sent by the archives based on the university identity recognition parameters and the shared public key, send the university registration data to the collection node, so that the collection node returns the registration certificate based on the university registration data, and then execute the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives to complete the university identity registration and archive data entry.

8. The anonymous consensus archive data entry device according to claim 7, characterized in that: The file data entry module comprises: The anonymous proof parameter generation module is used to obtain the proof key and verification key generated by the archives using a preset encryption algorithm and a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node if the judgment result is that the archives has identity registration information corresponding to the university, and generate anonymous proof parameters based on the proof key and verification key.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the anonymous consensus archival data entry method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the anonymous consensus archival data entry method as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • File management method based on block chain, file management network and electronic equipment

    CN109710823A

  • Data anonymous uplink method and device, computer equipment and storage medium

    CN116527681A

  • Anonymous authentication and vehicle-mounted information sharing method based on block chain and zero-knowledge proof

    CN117375797A

  • Identity authentication method, system and product based on block chain and zero-knowledge proof

    CN118764211A

  • Methods and systems for the anonymous transmission of digital data

    DE102021129979B3