Anonymous consensus archive data entry method and device, equipment and medium
By generating anonymous proof parameters and verification processes, the problem of content leakage in the consensus system of archival data within the blockchain is solved, ensuring that university archival data undergoes anonymous verification or identity registration before entry, thus achieving secure entry and privacy protection of university archival data.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SUZHOU VOCATIONAL UNIVERSITY (SUZHOU OPEN UNIVERSITY)
- Filing Date
- 2025-02-11
- Publication Date
- 2026-04-17
AI Technical Summary
In blockchain-based consensus systems for archival data, the requester's archives are easily leaked, and privacy checks are insufficient, leading to the leakage of digital archive content from universities.
By generating anonymous proof parameters and a verification process, the university archive data is ensured to be anonymously verified before being entered into the blockchain. If the verification is successful, the data is entered; otherwise, the university's identity is registered and a registration certificate is generated before the data is entered.
This allows recipients to believe the entered information is correct without disclosing the contents of the archives, thus preventing the leakage of digital archive content and improving the security of digital archives.
Smart Images

Figure CN120030595B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, and medium for anonymous consensus-based archival data entry. Background Technology
[0002] Blockchain, as a decentralized ledger, securely stores trusted data in a trustless environment using transaction formats. With its unique characteristics such as decentralization, distribution, flexibility, tamper-proofness, and immutability, blockchain has become a common tool for storing various types of information across platforms. These inherent properties make blockchain particularly advantageous for applications in university digital archive systems. Traditional blockchain data consensus systems involve one node initiating a data request, which is then sent to every node in the blockchain for verification. Only when all nodes pass verification is the node allowed to enter the archive into the blockchain. This method is prone to revealing the requester, recipient, and the content of the entered archive, and it offers limited protection for archive privacy.
[0003] As can be seen from the above, how to ensure that the requesting party can convince the receiving party that the entered file content is correct without disclosing any file content, and how to prevent the leakage of digital file content in universities, is a problem that needs to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide an anonymous consensus-based method, apparatus, device, and medium for entering archival data, which enables the requesting party to convince the receiving party that the entered archival content is correct without disclosing any archival content, thereby preventing the leakage of digital archival content in universities. The specific solution is as follows:
[0005] Firstly, this application discloses an anonymous consensus-based method for entering archival data, including:
[0006] A request to enter university archive data is sent to the archives so that the archives can determine whether they have identity registration information corresponding to the university based on the request and obtain the judgment result returned by the archives; the archives include third-party archival institutions;
[0007] If the judgment result is that the archives have identity registration information corresponding to the university, then 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 besides the university, so that the other universities can perform anonymous verification of the anonymous proof parameter. If the anonymous verification is successful, the archive data to be entered is entered into the blockchain network.
[0008] If the determination result is that the archive does not have the identity registration information corresponding to the university, then the university identity recognition parameters are sent to the archive, the proof key and verification key generated by the archive based on the university identity recognition parameters and the shared public key are obtained, 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.
[0009] Optionally, if the judgment result indicates that the archives contain identity registration information corresponding to the university, then anonymous proof parameters are generated based on the proof key and verification key sent by the archives, including:
[0010] If the judgment result is that the archives have identity registration information corresponding to the university, then 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 the shared public key sent by the collection node, and generate anonymous proof parameters based on the proof key and verification key.
[0011] Optionally, the step of obtaining the archive's proof key and verification key generated using a preset encryption algorithm and a cyclic group satisfying a bilinear mapping relationship, and the shared public key sent by the collection node, and generating anonymous proof parameters based on the proof key and verification key, includes:
[0012] Obtain the proof key and verification key sent by the archive, calculate a polynomial based on the proof key, and use the verification key to calculate the polynomial to obtain transaction identification data;
[0013] Select random parameters, and encrypt the data to be entered using the transaction identification data and the random parameters to generate anonymous proof parameters.
[0014] Optionally, sending the anonymity verification parameters to other universities besides the university mentioned above allows those other universities to perform anonymity verification on the parameters. If the anonymity verification passes, the process includes:
[0015] The anonymity verification parameters are broadcast to other universities besides the university in question, so that the other universities can use preset verification conditions to perform anonymity verification on the anonymity verification parameters. When all preset verification conditions are met, it indicates that the anonymity verification is successful.
[0016] Optionally, sending the university registration data to the collection node so that the collection node returns a registration certificate based on the university registration data includes:
[0017] A random value is selected as the identity recognition key, and the identity recognition key is calculated to obtain the identity recognition public key. Based on the identity recognition key and the identity recognition public key, college registration data is generated.
[0018] The university registration data is sent to the collection node, so that the collection node can generate a registration certificate based on the university registration data, and send the registration certificate to the blockchain network and the universities to be registered and / or entered.
[0019] Optionally, the process of generating anonymous proof parameters based on the proof key and verification key sent by the archive includes:
[0020] Obtain the registration certificate returned by the collection node;
[0021] The registration certificate is validated. If the validation passes, the process of generating anonymous proof parameters based on the proof key and verification key sent by the archive is executed.
[0022] Secondly, this application discloses an anonymous consensus-based archival data entry device, comprising:
[0023] The registration and judgment module is used to 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 include third-party archive institutions;
[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. The anonymous proof parameters are then sent to other universities besides the university so that the other universities can perform anonymous verification of the anonymous proof parameters. If the anonymous verification is successful, the archive data to be entered is entered into the blockchain network.
[0025] The identity registration and data entry module is used to send university identity recognition parameters to the archives if the judgment result is that the archives do not have identity registration information corresponding to the university. It then obtains the proof key and verification key generated by the archives based on the university identity recognition parameters and the shared public key, sends the university registration data to the collection node, so that the collection node returns a registration certificate based on the university registration data, and then executes 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] An anonymous proof parameter generation module is used to obtain a proof key and a verification key generated by the archives using a preset encryption algorithm and a shared public key sent by the collection node, if the judgment result is that the archives have identity registration information corresponding to the university, and the verification key satisfies the bilinear mapping relationship. Based on the proof key and the verification key, anonymous proof parameters are generated.
[0028] Thirdly, this application discloses an electronic device, comprising:
[0029] Memory, used to store computer programs;
[0030] A processor is used to execute the computer program to implement the aforementioned anonymous consensus-based archive data entry method.
[0031] Fourthly, this application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed anonymous consensus archive data entry method.
[0032] As can be seen, this application provides an anonymous consensus-based method for entering archival data, 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 institution; if the judgment result is that the archive has identity registration information corresponding to the university, then anonymity proof parameters are generated based on the proof key and verification key sent by the archive, and the anonymity proof parameters are sent to other universities besides the university, so that the other universities can verify the anonymity proof parameters. Anonymous verification is performed. If the anonymous verification passes, the data to be 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 archive sends a proof key and a verification key generated based on the university identity recognition parameters and the shared public key. The university registration data is then sent to the collection node so that the collection node can return a registration certificate based on the university registration data. 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 data entry. This application addresses the privacy concerns inherent in traditional blockchain-based digital archive consensus systems regarding the requester, receiver, and archive entry processes. It proposes an anonymous consensus method for archive data entry, enabling university identity registration and archive data entry. If the archive contains identity registration information corresponding to a university, the archive data entry process is executed. This involves generating anonymous proof parameters based on the proof and verification keys sent by the archive, and sending these parameters to other universities for anonymous verification. If the anonymous verification is successful, the archive data to be entered is then entered into the blockchain network. Based on blockchain technology, this method achieves... The requesting party can convince the receiving party that the entered archival content is correct without disclosing any archival content. If the archive does not contain identity registration information corresponding to the university, the university identity registration is performed first, and then the archival data entry process is executed. That is, the university identity recognition parameters are sent to the archive, and the verification key and proof key generated based on the university identity recognition parameters and shared public key are obtained from the archive. The university registration data is then sent to the collection node so that the collection node can return the registration certificate. Then the archival data entry process is executed. This can prevent the leakage of university digital archive content and improve the security of digital archives. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0034] Figure 1 This application discloses a flowchart of an anonymous consensus-based method for entering archival data.
[0035] Figure 2 This is an example diagram illustrating the data entry process for an anonymous consensus among secondary colleges within a university, as disclosed in this application.
[0036] Figure 3 A flowchart illustrating the specific process of data entry for the anonymous consensus among secondary colleges within a university disclosed in this application;
[0037] Figure 4 This is a schematic diagram of the structure of an anonymous consensus-based data entry device disclosed in this application.
[0038] Figure 5 This application provides a structural diagram of an electronic device. Detailed Implementation
[0039] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0040] Blockchain, as a decentralized ledger, securely stores trusted data in an untrusted environment using transaction formats. With its unique characteristics such as decentralization, distribution, flexibility, tamper-proofing, and immutability, blockchain has become a common tool for storing various types of information across platforms. These inherent properties make blockchain particularly advantageous for applications in university digital archive systems. Traditional blockchain data consensus systems involve one node initiating a data request, which is then sent to every node in the blockchain for verification. Only when all nodes pass verification is the request allowed to enter the archive into the blockchain. This method is prone to revealing the requester, recipient, and the entered archive content, and it offers limited protection for archive privacy. Therefore, how to ensure that the requester can convince the recipient that the entered archive content is correct without disclosing any archive content, and how to prevent the leakage of university digital archive content, is a problem that needs to be solved in this field.
[0041] See Figure 1 As shown in the figure, this invention discloses an anonymous consensus-based method for entering 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 include third-party archive institutions.
[0043] Step S12: If the judgment result is that the archives have identity registration information corresponding to the university, then 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 besides the university, so that the other universities can perform anonymous verification of the anonymous proof parameter. If the anonymous verification is successful, the archive data to be entered is entered into the blockchain network.
[0044] In this embodiment, if the judgment result is that the archives have identity registration information corresponding to the university, then the archives obtain the proof key and verification key generated by the archives using a preset encryption algorithm and a cyclic group that satisfies the bilinear mapping relationship, and the shared public key sent by the collection node. Based on the proof key and verification key, anonymous proof parameters are generated and broadcast to other universities other than the university mentioned above, so that the other universities can use preset verification conditions to anonymously verify the anonymous proof parameters. When all preset verification conditions are met, it indicates that the anonymous verification is successful, and then the archive data to be entered is entered into the blockchain network.
[0045] The specific process for generating anonymous proof parameters is as follows: obtaining the proof key and verification key sent by the archives; calculating a polynomial based on the proof key; and using the verification key to calculate the polynomial to obtain transaction identification data; selecting random parameters; and encrypting the archive data to be entered using the transaction identification data and the random parameters to generate anonymous proof parameters.
[0046] The anonymous authorization process for the university's digital archive consensus system includes an anonymity proof process and an anonymity verification process. During the anonymity proof process, the college calculates the anonymous transaction identification data used in the consensus system. and will Stored in the blockchain network, utilized Anonymous proof parameters for generating consensus systems and anonymous proof parameters The message is broadcast to other colleges for anonymous verification; during the anonymous verification process, other colleges will receive the anonymity verification 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 into the blockchain network.
[0047] The anonymity verification process includes: College i using the verification key received from the archives. Calculate polynomials By allocation Give ,get:
[0048] ;
[0049] Then use the proof key College iComputing:
[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 selects random parameters. Substitute into the following formula:
[0056] ;
[0057] Furthermore, what will be obtained , and Substitute into the following formula:
[0058] ;
[0059] Furthermore, what will be obtained , and Substitute into the following formula:
[0060] ;
[0061] Assuming P is the original archive data to be entered by College i, perform the following encryption calculation on the original archive data P:
[0062] ;
[0063] Furthermore, the obtained encrypted file 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. Send to other colleges.
[0068] The anonymous verification process includes:
[0069] The proof parameters received by other colleges from college i The verification condition is demonstrated as follows:
[0070] ;
[0071] If both the proof verification condition C1 and the proof verification condition C2 are met simultaneously, the college i can enter the archive data into the blockchain network.
[0072] Step S13: If the judgment result is that the archive does not have identity registration information corresponding to the university, then the university identity recognition parameters are sent to the archive, the proof key and verification key generated by the archive based on the university identity recognition parameters and the shared public key are obtained, 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.
[0073] In this embodiment, after obtaining the proof key and verification key generated based on the university's identity recognition parameters and shared public key sent by the archive, a random value is selected as the identity recognition key, and the identity recognition key is calculated to obtain the identity recognition public key. University registration data is generated based on the identity recognition key and the identity recognition public key. The university registration data is sent to the collection node so that the collection node can generate a registration certificate based on the university registration data and send the registration certificate to the blockchain network and the universities to be registered and / or entered. Then, the registration certificate returned by the collection node is obtained. The registration certificate is validated. If the validity check passes, 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.
[0074] Specifically, the process by which the archives generate proof keys and verification keys based on the university's identity recognition parameters and shared public key, and the collection nodes generate registration certificates, is as follows: The archives generate keys required by the archive category. Public key The system publishes public parameters such as the SHA256 encryption algorithm to each collection node in the network; collection node k generates a key required for the file category. and public key and the key and public key Send to the archives; the archives receive the keys and public keys from all collecting nodes in the network and generate a shared private key. and shared public key Based on shared public key And obtain the proof key of college i by receiving the identity recognition parameters of college i. and verification key and will prove the key and verification key Send to College i; College i calculates and generates the identification key. and public key Send identification public key and the identification number The authentication data is sent to the collection node k within its range; the collection node k generates a registration certificate for college i based on the authentication data. Then the registration certificate The registration certificate is sent to the blockchain network for verification and storage, and simultaneously sent to the college i; the college i receives the registration certificate. Verify its effectiveness.
[0075] The archive receives the keys and public keys from all collection nodes in the network to generate a shared private key. and shared public key Based on shared public key And obtain the proof key of college i by receiving the identity recognition parameters of college i. and verification key The specific process includes:
[0076] The archive generates prime numbers. Cyclic group and cyclic groups And it satisfies the bilinear mapping relationship e∶ , and They are and Generators;
[0077] The archives randomly select a value As a key, where It is a set of prime numbers, obtained through the formula Generate a public key;
[0078] The archives broadcast public parameters to all nodes in the network. SHA256 is the encryption algorithm.
[0079] In the initial stage, node k is randomly selected as a value. As a key Through formula The public key is calculated. ,in Then, 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 verification parameters from College i:
[0081] ;
[0082] in, It is the archive's identification code. These are the identification parameters for college i, including: It is the college's i-verification certificate. The effective time; It is the college's i-verification certificate. Randomly generated serial number, It is the college's identification code; It is the identity recognition public key generated by the college.
[0083] Furthermore, the encrypted data Transform it into the following quadratic arithmetic procedure:
[0084] ;
[0085] in, It is a variable polynomial; It is the set of logic gate indices that have common inputs or outputs in an arithmetic circuit; It is the set of indices of logic gates that are not common inputs or outputs in an arithmetic circuit; It is an objective polynomial.
[0086] After completing the quadratic arithmetic calculation, the archives selected a random number. Generate the proof key according to the following formula. and verification key :
[0087] ;
[0088] ;
[0089] in, .
[0090] Based on the authentication data, node k generates the registration certificate for college i. The specific process is as follows:
[0091] College i selects a random value As the identity verification key, the identity verification public key is calculated. ,in .
[0092] Node k receives identity verification data sent by college i. And generate a verification certificate for College i. ;
[0093] in, It is a certificate verification Randomly generated serial number; It is a certificate verification The effective time. It is a shared key signature.
[0094] In addition to enabling anonymous consensus-based data entry between universities and other universities, this application can also enable anonymous consensus-based data entry between secondary colleges within a university; the anonymous consensus-based consensus includes processes for anonymity proof and anonymity verification.
[0095] The process of entering anonymous consensus data between secondary colleges within a university is as follows: Figure 2 As shown, (1) the archive generates an archive category key and broadcasts it to all collection nodes; (2) the archive receives the collection node key and the secondary college identity information, and generates a proof public key and sends it to the blockchain; (3) if the archive does not have identity registration information corresponding to secondary college A, it sends the identity registration verification data of secondary college A to the collection node; (4) the collection node returns the registration certificate to secondary college A and sends the registration certificate to the blockchain; (5) secondary college A sends the anonymous proof data to the blockchain; (6) secondary college A sends the anonymous proof data to other secondary colleges (such as secondary college B) outside of secondary college A; (7) secondary college B performs anonymous verification on the anonymous proof data; (8) accepts the information that the anonymous verification is successful; (9) secondary college A enters the archive data to be entered into the blockchain network to complete the archive data entry process of anonymous consensus among secondary colleges within a university.
[0096] Based on the aforementioned anonymous consensus-based data entry process among secondary colleges within a single university, this application implements the following specific process for university identity registration and data entry among secondary colleges within a single university: Figure 3 As shown, the anonymous consensus system for digital archives among secondary colleges in higher education institutions consists of five parts: archives, colleges, collection nodes, and a blockchain network. The archives set initialization parameters for the digital archive system, which are used for authorization and authentication of network nodes. Collection nodes are responsible for specific regions and issue registration certificates to colleges within those regions. Colleges access the blockchain network to perform archive entry operations. Colleges do not maintain the blockchain in their local storage; they participate in the consensus process for archive entry by receiving anonymous verification information from the archives, preventing the leakage of archive information from other colleges. The blockchain network is established using a consortium blockchain and is used to store digital archive information. Access permissions are established to allow legitimate nodes to access the archive information. Addressing the privacy issues of requesters, receivers, and entered archives in traditional blockchain-based digital archive consensus systems, this invention, based on blockchain technology, enables requesters to convince receivers that the entered archive content is correct without disclosing any archive content, aiming to prevent the leakage of digital archive content in higher education institutions.
[0097] In this embodiment, a request to input university archive data is sent to the archives, so that the archives can determine whether it has identity registration information corresponding to the university based on the request, and obtain the judgment result returned by the archives; the archives include third-party archive institutions; if the judgment result is that the archives have identity registration information corresponding to the university, then 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 besides the university, so that the other universities can perform anonymous verification of the anonymous proof parameter. If the anonymous verification is successful, the archive data to be input is entered into the blockchain network; if the judgment result is that the archives do not have identity registration information corresponding to the university, then the university identity recognition parameter is sent to the archives, and the proof key and verification key generated based on the university identity recognition parameter and the shared public key sent by the archives are obtained. 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 executes 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 input. This application addresses the privacy concerns inherent in traditional blockchain-based digital archive consensus systems regarding the requester, receiver, and archive entry processes. It proposes an anonymous consensus method for archive data entry, enabling university identity registration and archive data entry. If the archive contains identity registration information corresponding to a university, the archive data entry process is executed. This involves generating anonymous proof parameters based on the proof and verification keys sent by the archive, and sending these parameters to other universities for anonymous verification. If the anonymous verification is successful, the archive data to be entered is then entered into the blockchain network. Based on blockchain technology, this method achieves... The requesting party can convince the receiving party that the entered archival content is correct without disclosing any archival content. If the archive does not contain identity registration information corresponding to the university, the university identity registration is performed first, and then the archival data entry process is executed. That is, the university identity recognition parameters are sent to the archive, and the verification key and proof key generated based on the university identity recognition parameters and shared public key are obtained from the archive. The university registration data is then sent to the collection node so that the collection node can return the registration certificate. Then the archival data entry process is executed. This can prevent the leakage of university digital archive content and improve the security of digital archives.
[0098] See Figure 4 As shown, this embodiment of the invention discloses an anonymous consensus-based archive data entry device, which may specifically include:
[0099] The registration and judgment module 11 is used to 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 include third-party archive institutions;
[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 other than the university so that the other universities can perform anonymous verification of the anonymous proof parameters. If the anonymous verification is successful, 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's identity recognition parameters to the archives if the judgment result is that the archives do not have identity registration information corresponding to the university, obtain the proof key and verification key generated by the archives based on the university's identity recognition parameters and the shared public key, send the university's registration data to the collection node so that the collection node can return a registration certificate based on the university's 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's identity registration and archive data entry.
[0102] In this embodiment, a request to input university archive data is sent to the archives, so that the archives can determine whether it has identity registration information corresponding to the university based on the request, and obtain the judgment result returned by the archives; the archives include third-party archive institutions; if the judgment result is that the archives have identity registration information corresponding to the university, then 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 besides the university, so that the other universities can perform anonymous verification of the anonymous proof parameter. If the anonymous verification is successful, the archive data to be input is entered into the blockchain network; if the judgment result is that the archives do not have identity registration information corresponding to the university, then the university identity recognition parameter is sent to the archives, and the proof key and verification key generated based on the university identity recognition parameter and the shared public key sent by the archives are obtained. 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 executes 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 input. This application addresses the privacy concerns inherent in traditional blockchain-based digital archive consensus systems regarding the requester, receiver, and archive entry processes. It proposes an anonymous consensus method for archive data entry, enabling university identity registration and archive data entry. If the archive contains identity registration information corresponding to a university, the archive data entry process is executed. This involves generating anonymous proof parameters based on the proof and verification keys sent by the archive, and sending these parameters to other universities for anonymous verification. If the anonymous verification is successful, the archive data to be entered is then entered into the blockchain network. Based on blockchain technology, this method achieves... The requesting party can convince the receiving party that the entered archival content is correct without disclosing any archival content. If the archive does not contain identity registration information corresponding to the university, the university identity registration is performed first, and then the archival data entry process is executed. That is, the university identity recognition parameters are sent to the archive, and the verification key and proof key generated based on the university identity recognition parameters and shared public key are obtained from the archive. The university registration data is then sent to the collection node so that the collection node can return the registration certificate. Then the archival data entry process is executed. 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] An anonymous proof parameter generation module is used to obtain a proof key and a verification key generated by the archives using a preset encryption algorithm and a shared public key sent by the collection node, if the judgment result is that the archives have identity registration information corresponding to the university, and the verification key satisfies the bilinear mapping relationship. Based on the proof key and the verification key, anonymous proof parameters are generated.
[0105] In some specific embodiments, the archive data entry module 12 may specifically include:
[0106] The polynomial calculation module is used to obtain the proof key and verification key sent by the archive, calculate a polynomial based on the proof key, and use the verification key to calculate the polynomial to obtain transaction identification data.
[0107] The data encryption module for the archive to be entered is used to select random parameters and encrypt the data to be entered using the transaction identification data and the random parameters 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 broadcast the anonymous proof parameter to other universities besides the university mentioned above, so that the other universities can use preset verification conditions to perform anonymous verification on the anonymous proof parameter. When all preset verification conditions are met, it indicates that the anonymous verification is successful.
[0110] In some specific embodiments, the identity registration and data entry module 13 may specifically include:
[0111] The identity recognition key calculation module is used to select a random value as the identity recognition key, and to calculate the identity recognition key to obtain the identity recognition public key, and to generate college registration data based on the identity recognition key and the identity recognition public key;
[0112] The registration certificate generation module is used to send the university registration data to the collection node, so that the collection node can generate a registration certificate based on the university registration data and send the registration certificate to the blockchain network and the universities to be registered and / or entered.
[0113] In some specific embodiments, the identity registration and data entry module 13 may specifically include:
[0114] The registration certificate acquisition module is 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 proof parameters based on the proof key and verification key sent by the archive is executed.
[0116] Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of this 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 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the anonymous consensus-based archive data entry method executed by the electronic device as disclosed in any of the foregoing embodiments.
[0117] In this embodiment, the power supply 23 is used to provide operating 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 external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire 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 resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon include operating system 221, computer program 222 and data 223, etc., and the storage method can be temporary storage or permanent storage.
[0119] The operating system 221 manages and controls the various hardware devices on the electronic device 20 and the computer program 222 to enable the processor 21 to perform operations and processing on the data 223 in the memory 22. The operating system 221 can be Windows, Unix, Linux, etc. The computer program 222, in addition to including a computer program capable of performing the anonymous consensus file data entry method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, may further include computer programs capable of performing other specific tasks. The data 223 may include data received by the anonymous consensus file data entry device from external devices, as well as data collected by its own input / output interface 25.
[0120] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0121] Furthermore, embodiments of this application also disclose a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements the anonymous consensus file data entry method steps disclosed in any of the foregoing embodiments.
[0122] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0123] The foregoing has provided a detailed description of the anonymous consensus-based archive data entry method, apparatus, device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for anonymous consensus-based archival data entry, characterized in that, include: A request to enter university archive data is sent to the archives so that the archives can determine whether they have identity registration information corresponding to the university based on the request and obtain the judgment result returned by the archives; the archives include third-party archival institutions; If the judgment result is that the archives have identity registration information corresponding to the university, then 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 besides the university, so that the other universities can perform anonymous verification of the anonymous proof parameter. If the anonymous verification is successful, the archive data to be entered is entered into the blockchain network. If the judgment result is that the archive does not have the identity registration information corresponding to the university, then the university identity recognition parameters are sent to the archive, the proof key and verification key generated by the archive based on the university identity recognition parameters and the shared public key are obtained, 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 archive is executed to complete the university identity registration and archive data entry; If the judgment result is that the archives have identity registration information corresponding to the university, then an anonymous proof parameter is generated based on the proof key and verification key sent by the archives, including: if the judgment result is that the archives have identity registration information corresponding to the university, then the proof key and verification key generated by the archives using a preset encryption algorithm and using a cyclic group that satisfies a bilinear mapping relationship and a shared public key sent by the collection node are obtained, and an anonymous proof parameter is generated based on the proof key and verification key; The process of obtaining the proof key and verification key generated by the archive using a preset encryption algorithm and a cyclic group satisfying a bilinear mapping relationship, and a shared public key sent by the collection node, and generating anonymous proof parameters based on the proof key and verification key, includes: obtaining the proof key and verification key sent by the archive; calculating a polynomial based on the proof key; and calculating the polynomial using the verification key to obtain transaction identification data; selecting random parameters; and encrypting the archive data to be entered using the transaction identification data and the random parameters to generate anonymous proof parameters.
2. The method for entering anonymous consensus-based archive data according to claim 1, characterized in that, The step of sending the anonymity verification parameters to other universities besides the university mentioned above, so that the other universities can perform anonymity verification on the anonymity verification parameters, includes: If the anonymity verification passes, the step includes: The anonymity verification parameters are broadcast to other universities besides the university in question, so that the other universities can use preset verification conditions to perform anonymity verification on the anonymity verification parameters. When all preset verification conditions are met, it indicates that the anonymity verification is successful.
3. The method for entering anonymous consensus-based archive data according to claim 1, characterized in that, The step of sending university registration data to the collection node so that the collection node can return a registration certificate based on the university registration data includes: A random value is selected as the identity recognition key, and the identity recognition key is calculated to obtain the identity recognition public key. Based on the identity recognition key and the identity recognition public key, college registration data is generated. The university registration data is sent to the collection node, so that the collection node can generate a registration certificate based on the university registration data, and send the registration certificate to the blockchain network and the universities to be registered and / or entered.
4. The method for recording anonymous consensus-based archival data according to any one of claims 1 to 3, characterized in that, The process of generating anonymous proof parameters based on the proof key and verification key sent by the archive includes: Obtain the registration certificate returned by the collection node; The registration certificate is validated. If the validation passes, the process of generating anonymous proof parameters based on the proof key and verification key sent by the archive is executed.
5. A data entry device for anonymous consensus archives, characterized in that, include: The registration and judgment module is used to 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 include third-party archive institutions; 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. The anonymous proof parameters are then sent to other universities besides the university so that the other universities can perform anonymous verification of the anonymous proof parameters. If the anonymous verification is successful, 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's identity recognition parameters to the archives if the judgment result is that the archives do not have identity registration information corresponding to the university. It then obtains the proof key and verification key generated by the archives based on the university's identity recognition parameters and the shared public key, sends the university's registration data to the collection node, so that the collection node can return a registration certificate based on the university's registration data, and then executes the process of generating anonymous proof parameters based on the proof key and verification key sent by the archives to complete the university's identity registration and archive data entry. The archive data entry module includes: an anonymous proof parameter generation module, which is used to obtain the proof key and verification key generated by the archive using a preset encryption algorithm and a shared public key sent by the collection node, if the judgment result is that the archive has identity registration information corresponding to the university, and generate anonymous proof parameters based on the proof key and verification key. The process of obtaining the proof key and verification key generated by the archive using a preset encryption algorithm and a cyclic group satisfying a bilinear mapping relationship, and a shared public key sent by the collection node, and generating anonymous proof parameters based on the proof key and verification key, includes: obtaining the proof key and verification key sent by the archive; calculating a polynomial based on the proof key; and calculating the polynomial using the verification key to obtain transaction identification data; selecting random parameters; and encrypting the archive data to be entered using the transaction identification data and the random parameters to generate anonymous proof parameters.
6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the anonymous consensus archive data entry method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer programs are executed by a processor, they implement the anonymous consensus archive data entry method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Data anonymous uplink method and device, computer equipment and storage medium
CN116527681A