Intellectual property transaction two-factor identity authentication method based on improved zero knowledge proof
Through the improved zero-knowledge proof technology, the Poseidon hash function and Plonk algorithm are used, combined with the constraint compression strategy, the problem of inefficient generation and verification of zero-knowledge proof in the existing technology is solved, and more efficient identity authentication and privacy protection is achieved.
Patent Information
- Application Number
- CN202510091698.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-01-21
AI Technical Summary
The prior art produces and validates zero-knowledge proofs, and results in inefficient efficiency.
Using improved zero-knowledge proof technology, a policy based on constraint compression is designed through the Poseidon hash function and Plonk algorithm to reduce the amount of data processed during the verification and proof process.
It improves the efficiency of generation and verification of zero-knowledge proofs, reduces the workload of algorithms, and enhances the reliability and privacy protection of identity authentication.
Smart Images

Figure CN119921958A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic data processing, and in particular to a two-factor identity authentication method for intellectual property transaction based on improved zero-knowledge proof. Background Art
[0002] In the era when the Internet was not yet popular, intellectual property transactions mostly relied on traditional carriers such as books, magazines, movies, patents and trademarks, and were conducted through third-party institutions. This model not only had high transaction costs, but was also prone to disputes. The rise of the Internet has brought new opportunities for intellectual property transactions. Networked trading methods have broadened trading channels and lowered trading thresholds. Blockchain technology, with its data immutability and decentralization, provides a new solution for intellectual property transaction protection. It can ensure the authenticity of transaction data, effectively prevent fraud, and achieve transaction traceability and clear division of responsibilities. Among the many branches of blockchain, consortium chain stands out for its efficient transaction performance and superior privacy protection capabilities. By limiting participating nodes, consortium chain not only ensures transaction efficiency, but also takes into account the privacy rights of participants. Applying consortium chain technology to intellectual property transactions is expected to fundamentally improve the security and transparency of transactions, reduce transaction costs, shorten transaction cycles, and simplify the rights protection process.
[0003] Smart contracts are programs built on the blockchain that make the digital transformation of contracts possible. These programs run automatically according to preset logic and can execute the rules in the agreement without the intervention of a third party. Fingerprint recognition technology is now widely used, and its security has been continuously improved with the continuous advancement and innovation of technology. Zero-knowledge proof is a cryptographic protocol that allows the prover to prove to the verifier that a statement is correct without revealing any information other than the correctness of the statement, ensuring reliability, completeness and zero-knowledge while also protecting privacy. However, the existing technology involves a large amount of computation in the process of generating zero-knowledge proofs, which leads to low efficiency in the generation and verification of zero-knowledge proofs. Summary of the invention
[0004] The purpose of the present invention is to provide a two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof, which can effectively ensure the authenticity and reliability of the identities of both parties to the transaction and the property rights during the intellectual property transaction process, and can also improve the efficiency of generating and verifying zero-knowledge proofs.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] In a first aspect, the present invention provides a two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof, including biometric and intellectual property feature authentication steps, wherein the biometric and intellectual property feature authentication steps include generating zero-knowledge proofs of biometric features and zero-knowledge proofs of intellectual property features, and the generation process of the zero-knowledge proof includes:
[0007] Initially set the circuit and generate the public parameter P according to the designed circuit. w is the generator of H, H is a finite field The multiplicative subgroup on X is a finite field A random element in, x is a finite field polynomial on, srs is the structured reference string, q L (x),q R (x),q M (x),q O (x),q C (x) are all gate circuit polynomials, They are all permuted polynomials;
[0008] Calculate the polynomials a(x), b(x), c(x) on the multiplicative subgroup H of order n, where a(x) is the private input of the biometric or intellectual property feature, b(x) is the public input of the biometric or intellectual property feature after hash encryption in the database, and c(x) is the output;
[0009] Construct the permutation constraint z(x), n is the number of all gates in the circuit, d7~d9, β, γ are all finite fields Randomly generate points, Z H (x) = x n -1, l i (x) is the Lagrangian basis function on the multiplicative subgroup, k1 and k2 are both non-residues that are not equal to each other, σ(j) is the permutation function, For public input, The number of public inputs;
[0010] Convert the gate constraint and permutation constraint into a polynomial and construct the total constraint t(x). q L (x), q R (x), q M (x), q O (x) are all gate circuit polynomials, PI(x) is a public parameter, and α is a finite field Randomly generate points;
[0011] Construct the key intermediate function r(x), are all the values of the function on θ, PI(θ) is a public parameter, Z H (θ) = θ n -1;
[0012] Construct polynomial commitment W at two points θ and θω respectively θ (x) and W θω (x), and then generate the Plonk zero-knowledge proof π,
[0013] v is a finite field Randomly generate points.
[0014] The biometric and intellectual property feature authentication step also includes verifying the zero-knowledge proof of the biometric and the zero-knowledge proof of the intellectual property feature. The verification process of the zero-knowledge proof is: calculating and verifying the relevant commitments [D]1, [F]1, [E]1:
[0015] [D]1=[Poseidon(t(x)·Z H (x)]1+v 6 u·[z]1
[0016]
[0017] Verify e([W θ ]1+u·[W θω ]1,[X]2)=e(θ·[W θ ]1+uθ ω ·[W θω ]1+[F]1-[E]1,[1]2) is true. If the equality is true, it means the authentication is passed. If the equality is not true, it means the authentication is not passed. u is a finite field. Randomly generate points.
[0018] In a second aspect, an embodiment of the present invention provides a two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof from a system perspective, comprising the following steps:
[0019] The supply-side client and the demand-side client register their user ID and login password in the alliance chain respectively;
[0020] The supply-side client and the demand-side client register their biometrics in the consortium chain respectively;
[0021] The supplier client registers the intellectual property transaction certificate in the alliance chain, which consists of the intellectual property introduction, the property identity generated by encrypting the intellectual property characteristics, the transaction money, and the access time;
[0022] The alliance chain authenticates the user ID and login password, and performs the biometric and intellectual property feature authentication steps after the authentication is passed; the biometric and intellectual property feature authentication steps include generating zero-knowledge proofs of biometric features and zero-knowledge proofs of intellectual property features. The generation process of the zero-knowledge proof is as follows:
[0023] Initially set the circuit and generate the public parameter P according to the designed circuit. w is the generator of H, H is a finite field The multiplicative subgroup on X is a finite field A random element in, x is a finite field polynomial on, srs is the structured reference string, q L (x),q R (x),q M (x),q O (x),q C (x) are all gate circuit polynomials, They are all permuted polynomials;
[0024] Calculate the polynomials a(x), b(x), c(x) on the multiplicative subgroup H of order n, where a(x) is the private input of the biometric or intellectual property feature, b(x) is the public input of the biometric or intellectual property feature after hash encryption in the database, and c(x) is the output;
[0025] Construct the permutation constraint z(x), n is the number of all gates in the circuit, d7~d9, β, γ are all randomly generated points in the finite field F, Z H (x) = x n -1, l i (x) is the Lagrangian basis function on the multiplicative subgroup, k1 and k2 are both non-residues that are not equal to each other, σ(j) is the permutation function, For public input, The number of public inputs;
[0026] Convert the gate constraint and permutation constraint into a polynomial and construct the total constraint t(x). q L (x), q R (x), q M (x), q O (x) are all gate circuit polynomials, P I (x) is a public parameter, α is a finite field Randomly generate points;
[0027] Construct the key intermediate function r(x), are all the values of the function on θ, PI(θ) is a public parameter, Z H (θ) = θ n -1;
[0028] Construct polynomial commitment W at two points θ and θω respectively θ (x) and W θω (x), and then generate the Plonk zero-knowledge proof π,
[0029] v is a finite field Randomly generate points.
[0030] In a third aspect, the present invention provides a computer program product, comprising computer-readable instructions, characterized in that the computer-readable instructions, when executed by a processor, implement the steps of the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof of the present invention.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium comprising computer-readable instructions, characterized in that the computer-readable instructions, when executed by a processor, implement the steps of the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof of the present invention.
[0032] In a fifth aspect, the present invention provides an electronic device, comprising: a memory storing program instructions; a processor connected to the memory, executing the program instructions in the memory, and implementing the steps of the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof of the present invention.
[0033] Compared with the prior art, the present invention has the following technical advantages:
[0034] The present invention proposes a dual-factor identity authentication mechanism that combines an ID password with biometrics and property rights features. The reliability and authenticity of property rights and trader identity authentication are guaranteed through the mechanism. An identity identification generation method using fingerprint biometrics and intellectual property rights features is established. A constraint compression strategy based on Poseidon hash is designed. By compressing constraint conditions, the amount of data that needs to be processed during verification and proof is reduced, the workload of the zero-knowledge proof algorithm is reduced, the authentication efficiency of identity authentication is improved, the consistency of property rights identity is achieved, and privacy protection in identity authentication is guaranteed.
[0035] For other advantages of the present invention, please refer to the relevant description in the embodiment section. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 Schematic diagram of the identity authentication system in an embodiment of the present invention.
[0038] Figure 2 It is a timing flow chart of a two-factor identity authentication method for intellectual property transaction based on improved zero-knowledge proof as an example in the embodiment.
[0039] Figure 3 A block diagram of the components of an electronic device. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0041] See also Figure 1 In this embodiment, an identity authentication system is provided, including a supplier client, a demander client, a regulator client, a consortium chain and a database. The supplier client refers to a client configured on the supplier, the demander client refers to a client configured on the demander, and the regulator client refers to a client configured on the regulator. The supplier refers to the holder of intellectual property rights such as patents, trademarks or copyrights, or an entity with disposal rights, which can put its intellectual property resources into the market for trading or licensing. The demander refers to an individual or organization that needs to use or obtain intellectual property rights. The regulator refers to an entity responsible for supervising the intellectual property transaction process and ensuring the legality and compliance of the transaction. The consortium chain is a platform for intellectual property transactions. It combines smart contracts to ensure the normal progress of transactions. It can be used to record transaction information, ensure the integrity and authenticity of data, and protect the privacy of identities in combination with cryptography and other technologies. The database is used to store user identity information, such as biometric features that have been hashed.
[0042] This embodiment provides a two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof. Figure 1 The identity authentication system shown is implemented. The method includes an ID password registration step, a biometric and intellectual property feature registration step, an ID password authentication step, and a biometric and intellectual property feature authentication step.
[0043] In the ID and password registration step, the supply-side client and the demand-side client register their user ID and login password in the alliance chain respectively.
[0044] In the biometric and intellectual property feature registration step, the supply-side client and the demand-side client register their biometrics in the alliance chain respectively, and the supply-side client registers the intellectual property transaction certificate consisting of the intellectual property introduction, the property identity generated by encrypting the intellectual property feature, the transaction money, and the access time in the alliance chain;
[0045] In the ID and password authentication step, the alliance chain authenticates the user ID and login password, and performs the biometric and intellectual property feature authentication steps after the authentication is passed;
[0046] In the biometric and intellectual property feature authentication steps, the alliance chain generates zero-knowledge proofs of the supplier's biometrics, the demander's biometrics, and the intellectual property feature; the regulatory client verifies the zero-knowledge proofs of the biometrics and the intellectual property feature, and outputs the verification results.
[0047] In order to more clearly illustrate the method of the present invention, Figure 1 The system structure shown is in chronological order, and the steps of the method of the present invention are described in detail.
[0048] See also Figure 2 ,The two-factor identity authentication method for intellectual property transaction based on improved zero-knowledge proof includes the following steps:
[0049] S11, the supply-side client and the demand-side client send the user ID and login password for registration to the alliance chain respectively.
[0050] S12, the alliance chain determines whether the user ID and login password have been registered. If so, it prompts that the registration has failed. If not, the user ID and login password are hashed and encrypted and saved in the alliance chain, and a prompt is prompted that the registration is successful.
[0051] S13, the supply-side client and the demand-side client send biometric features to the alliance chain respectively.
[0052] Biometrics refer to unique features of each user, such as fingerprints, irises, voiceprints, etc. In this embodiment, fingerprints are preferably used as biometrics because fingerprint recognition technology is mature, reliable, and easy to implement.
[0053] S14, the alliance chain first encrypts the received biometrics using the Poseidon hash function, and then determines whether the hash-encrypted biometrics have been registered. If so, it prompts that the registration has failed. If not, it saves the hash-encrypted biometrics in the database and prompts that the registration is successful.
[0054] In the above method, the hashed user ID and login password and the hashed biometrics are stored in different locations. This has the advantage of preventing all information from being leaked when attacked, but the disadvantage is that it is not easy to operate. Therefore, as another implementation, the hashed user ID and login password and the hashed biometrics can also be stored in the database. This has the advantage of being easy to operate, and even if attacked, the user ID and login password can be reset by modification.
[0055] On the one hand, the use of hash encryption technology to encrypt biometrics protects user privacy; on the other hand, encrypting the biometrics first and then determining whether it has been registered can ensure that the biometrics are always processed and stored in encrypted form, improving data security. By encrypting the biometrics first and then determining whether it has been registered, it can be ensured that the system only compares the hash value of the biometrics, rather than the original biometrics. This can avoid storing the original biometric data when the user registers, and only needs to store the hashed encrypted value, thereby enhancing data security. If it is determined whether to register first and then encrypted, the original biometrics need to be temporarily stored in the background, increasing potential data security issues. For hash encryption operations, modern encryption algorithms have high computational efficiency. By determining whether to register after encryption, repeated calculations can be avoided to ensure a fast system response. If judgment is performed first and then encryption is performed, multiple operations must be performed for each comparison (if judgment is performed first, the original biometric features are judged, and the database also stores the original biometric features, involving steps such as image processing, feature extraction, similarity calculation and matching decision. Encryption is to hash the biometric features and directly compare them with the encrypted hash values in the database, reducing the steps of performing a series of operations on the original biometric features in the database), which in turn reduces efficiency.
[0056] S15, the supplier client sends the supervisor client an intellectual property transaction certificate consisting of an intellectual property introduction, a property identity generated by encrypting intellectual property features, transaction money, and access time.
[0057] Intellectual property features refer to unique attributes or identifiers that can independently and clearly identify and represent a creation, invention or innovation. They are important features used to prove the originality, ownership and legitimacy of a certain idea, technology, design, work or brand, such as patent application numbers, copyright registration numbers, trademark registration numbers, etc. The property identity identifier refers to the identifier generated after the intellectual property features are encrypted, which is unique.
[0058] S16, the supervisory client reviews the authenticity of the intellectual property transaction certificate, and after passing the review, it is published on the alliance chain to complete the property identity registration. After the release, the demander can view the relevant information.
[0059] S17, the demand-side client initiates a transaction request for the intellectual property transaction certificate to the alliance chain and provides the user ID and login password.
[0060] After seeing the published intellectual property transaction certificate, if the demander wants to trade, he can initiate a transaction request and provide the demander's user ID and login password for identity authentication.
[0061] S18, the alliance chain first determines whether the user ID has been registered. If not, it prompts that the authentication failed. If so, it further determines whether the user ID and the login password match. If they match, it prompts that the identity authentication is successful, otherwise it prompts that the identity authentication failed.
[0062] S19, the consortium chain parses the property identity from the intellectual property transaction certificate, and generates zero-knowledge proof of the supplier's biometrics and zero-knowledge proof of the intellectual property characteristics based on the property identity, and simultaneously generates zero-knowledge proof of the demander's biometrics, and sends the three zero-knowledge proofs to the regulatory client.
[0063] Zero-knowledge proof is a cryptographic protocol that allows the prover to prove to the verifier that a statement is correct without revealing any information other than the correctness of the statement, ensuring reliability, completeness and zero-knowledge while also protecting privacy. Plonk (Permutations over Lagrange-bases for Oecumenical Noninteractive arguments of Knowledge) is a zero-knowledge proof algorithm for a general trusted setting. However, the existing technology has a large amount of calculation when generating zero-knowledge proofs, which leads to low efficiency in the generation and verification of zero-knowledge proofs. Therefore, it is improved in this embodiment.
[0064] Specifically, in this embodiment, the process of generating the zero-knowledge proof includes the following steps:
[0065] Initialization step: Initialize the circuit SRS (Structure Reference String). Since the Plonk zero-knowledge proof algorithm is universally trusted, it is only necessary to perform a communication trusted setting on the circuit once. Then generate the public parameters P according to the designed circuit, which include the initial settings and circuit parameters.
[0066]
[0067] Where w is the generator of H, and H is a finite field The multiplicative subgroup on X is a finite field A random element in, x is a finite field polynomial on, srs is the structured reference string, q L (x),q R (x),q M (x),q O (x),q C (x) are all gate circuit polynomials, are all permuted polynomials.
[0068] Zero-knowledge proof generation steps: Generate zero-knowledge proof based on public parameter P, which is divided into the following five steps:
[0069] ① Calculate the polynomials a(x), b(x), and c(x) on the multiplication subgroup H of order n (the number of all gates in the circuit), where a(x) is the private input of the biometric or intellectual property feature, b(x) is the public input of the biometric or intellectual property feature after hash encryption in the database, and c(x) is the output to determine whether they are equal. If the output is 0, it means that the private input is equal to the public input, and if it is not 0, it means that they are not equal.
[0070] For the zero-knowledge proof of the supplier's biometric feature, a(x) is the supplier's fingerprint feature (the fingerprint is used as the biometric feature in this embodiment), and b(x) is the hashed fingerprint feature of the supplier in the database (the hash value of the fingerprint feature after hash encryption).
[0071] For the zero-knowledge proof of intellectual property features, a(x) is the intellectual property feature provided by the supplier, and b(x) is the property identity generated in the database by encrypting the intellectual property feature.
[0072] For the zero-knowledge proof of the demander's biometrics, a(x) is the demander's fingerprint feature, and b(x) is the hashed fingerprint feature of the demander in the database.
[0073] Assume that the supplier's ID is Zhang San, the password is zs123456, the fingerprint feature information is: [112,215,443,675,312,88,399], the encrypted fingerprint value is: 0x12a8e84ff7bbab1a6df2a8b1c 1e3d41e, and the patent number is 2024101234567; the demander's ID is Li Si, the password is ls876543, the fingerprint feature information is: [98,203,512,612,243,371,415], the encrypted fingerprint value is: 0x39b17431 c85a2f6c9a94d118ab3b712, and he wants to purchase the patent with the patent number 2024101234567.
[0074] Then the supplier generates two zero-knowledge proofs. The first is the zero-knowledge proof generated for the fingerprint feature. The supplier's private input a(x) = [112, 215, 443, 675, 312, 88, 399], the database's public input b(x) = 0x12a8e84ff7bbab1a6df2a8b1c 1e3d41e, c(x) = Poseidon(a(x))-b(x).
[0075] Next is the zero-knowledge proof of the intellectual property feature, the supplier’s private input a(x)=2024101234567, the transaction certificate public input b(x)=14955398461486918612224948047800673637201827524444440272015501184381024346545, c(x)=Poseidon(a(x))-b(x).
[0076] The demander generates a zero-knowledge proof, which is a zero-knowledge proof of fingerprint feature generation. The demander's private input a(x) = [98, 203, 512, 612, 243, 371, 415], the database public input b(x) = 0x39b17431c85a2f6c9a94d118ab3b712, c(x) = Poseidon(a(x)) - b(x).
[0077] To make it easier to understand c(x), a simplified example is given here. Assume that the generator of group H is g, whose order is 5, so group H contains 5 elements, represented by {g0, g1, g2, g3, g4}.
[0078] For example, suppose the private input a(x) = 3, which represents the identity information of the supplier; the public input b(x) is the encrypted fingerprint feature in the database, b(x) = g3. The hash function directly maps the input to the elements in the group H, that is, H(3) = g3, then c(x) = H(a(x))-b(x) = g3-g3 = 0, indicating that the private input and the public input are equal.
[0079] For another example, suppose the private input a(x)=2, which represents the identity information of the supplier; the public input b(x) is the encrypted fingerprint feature in the database, b(x)=g4. The hash function directly maps the input to the elements in the group H, that is, H(2)=g2, then c(x)=H(a(x))-b(x)=g2-g4c(x)=H(a(x))-b(x)=g2-g4, since g2≠g4 (the group elements are not equal), c(x)≠0, which means that the private input and the public input are not equal.
[0080] ②Construct the permutation constraint z(x).
[0081]
[0082] n is the number of all gates in the circuit, d7~d9, β, γ are all finite fields Randomly generate points, Z H (x) = x n -1, l i (x) is the Lagrangian basis function on the multiplicative subgroup, k1 and k2 are both non-residues that are not equal to each other, σ(j) is the permutation function, For public input, The number of public inputs.
[0083] ③Convert the gate constraint and permutation constraint into a polynomial and construct the total constraint t(x).
[0084]
[0085] q L (x), q R (x), q M (x), q O (x) are all gate circuit polynomials, PI(x) is a public parameter, and α is a finite field Randomly generate points.
[0086] ④Construct the key intermediate function r(x), which encapsulates the components that need to be kept confidential during the proof process.
[0087]
[0088] are all the values of the function on θ, PI(θ) is a public parameter, Z H (θ) = θ n -1,
[0089] Because the maximum degree of polynomial commitment is n+2, it is necessary to perform a power reduction operation. The original algorithm splits the total constraint into three parts, which is computationally intensive. The present invention here uses the Poseidon hash function for improvement, uses a compression strategy, reduces the computational complexity of the original algorithm, and simplifies the proof size. That is, a constraint compression strategy based on Poseidon hash is designed in the generation of zero-knowledge proofs, which reduces the amount of data that needs to be processed during verification and proof, reduces complexity, and improves the efficiency of generating and verifying zero-knowledge proofs.
[0090] ⑤ Construct a polynomial commitment at points θ and θω to generate the Plonk zero-knowledge proof π. Formula (4) represents the polynomial commitment at point θ, and formula (5) represents the polynomial commitment at θω.
[0091]
[0092] v is a finite field Randomly generate points.
[0093] The final zero-knowledge proof generated is:
[0094]
[0095] S20, the regulatory client verifies the zero-knowledge proof of the supplier's identity information, the zero-knowledge proof of the intellectual property identity information, and the zero-knowledge proof of the demander's identity information, verifies whether the elements in the zero-knowledge proof π satisfy the attributes of the group and domain, and outputs the result of whether the verification is passed.
[0096] The relevant commitments are calculated and verified as shown in equations (6), (7), and (8).
[0097] [D]1=[Poseidon(t(x)·ZH(x)]1+v 6 u·[z]1 (6)
[0098]
[0099] e([Wθ]1+u·[Wθω]1,[X]2)=e(θ·[Wθ]1+uθω·[Wθω]1+[F]1-[E]1,[1]2) (9)
[0100] u is a finite field Randomly generate points.
[0101] Finally, the bilinear mapping verification proof of formula (9) proves that if the equation holds, it means that the input identity information is consistent with the actual one, and the fingerprint and property identity authentication stage is successfully passed. If the equation does not hold, it means that the input identity information is inconsistent with the actual one, and there may be identity impersonation behavior, and the regulator will conduct further supervision.
[0102] The meanings of the characters that may be involved in the generation and verification of zero-knowledge proofs are shown in the following table:
[0103]
[0104] like Figure 3 As shown, this embodiment also provides an electronic device, which may include a processor 41 and a memory 42, wherein the memory 42 is coupled to the processor 41. It is worth noting that this figure is exemplary, and other types of structures may be used to supplement or replace this structure to achieve data extraction, report generation, communication or other functions.
[0105] like Figure 3As shown, the electronic device may further include: an input unit 43, a display unit 44 and a power supply 45. It is worth noting that the electronic device does not necessarily have to include Figure 3 In addition, electronic devices may also include Figure 3 For components not shown, reference may be made to the prior art.
[0106] The processor 41 is sometimes also called a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The processor 41 receives inputs and controls the operations of various components of the electronic device.
[0107] The memory 42 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices, and may store information such as configuration information of the processor 41 and instructions executed by the processor 41. The processor 41 may execute the program stored in the memory 42 to implement information storage or processing. In one embodiment, the memory 42 also includes a buffer memory, i.e., a buffer, to store intermediate information.
[0108] An embodiment of the present invention further provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed in an electronic device, the program product enables the electronic device to execute the operation steps included in the method of the present invention.
[0109] An embodiment of the present invention further provides a storage medium storing computer-readable instructions, wherein the computer-readable instructions enable an electronic device to execute the operation steps included in the method of the present invention.
[0110] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0112] The above-described embodiments are only specific implementations of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications, replacements and improvements within the technical scope disclosed by the present invention, and these modifications, replacements and improvements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof, characterized in that: The method includes the steps of authenticating biometric features and intellectual property features, wherein the steps of authenticating biometric features and intellectual property features include generating zero-knowledge proof of biometric features and zero-knowledge proof of intellectual property features, and the generation process of the zero-knowledge proof includes: Initially set the circuit and generate the public parameter P according to the designed circuit. w is the generator of H, H is a finite field The multiplicative subgroup on X is a finite field A random element in, x is a finite field polynomial on, srs is the structured reference string, q L (x),q R (x),q M (x),q O (x),q C (x) are all gate circuit polynomials, They are all permuted polynomials; Calculate the polynomials a(x), b(x), c(x) on the multiplicative subgroup H of order n, where a(x) is the private input of the biometric or intellectual property feature, b(x) is the public input of the biometric or intellectual property feature after hash encryption in the database, and c(x) is the output; Construct the permutation constraint z(x), n is the number of all gates in the circuit, d7~d9, β, γ are all finite fields Randomly generate points, Z H (x) = x n -1, l i (x) is the Lagrangian basis function on the multiplicative subgroup, k1 and k2 are both non-residues that are not equal to each other, σ(j) is the permutation function, (w j ) j∈[l] is the common input, l is the number of common inputs; Convert the gate constraint and permutation constraint into a polynomial and construct the total constraint t(x). q L (x), q R (x), q M (x), q O (x) are all gate circuit polynomials, PI(x) is a public parameter, and α is a finite field Randomly generate points; Construct the key intermediate function r(x), are all the values of the function on θ, PI(θ) is a public parameter, Z H (θ) = θ n -1; Construct polynomial commitment W at points θ and θω respectively θ (x) and W θω (x), and then generate the Plonk zero-knowledge proof π, v is a finite field Randomly generate points.
2. The two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof according to claim 1 is characterized in that: The biometric and intellectual property feature authentication step also includes verifying the zero-knowledge proof of the biometric and the zero-knowledge proof of the intellectual property feature. The verification process of the zero-knowledge proof is: calculating and verifying the relevant commitments [D]1, [F]1, [E]1: [D]1=[Poseidon(t(x)·Z H (x)]1+v 6 u·[z]1 Verify e([W θ ]1+u·[W θω ]1,[X]2)=e(θ·[W θ ]1+uθω·[W θω ]1+[F]1-[E]1,[1]2) is true. If the equality is true, it means the authentication is passed. If the equality is not true, it means the authentication is not passed. u is a finite field. Randomly generate points.
3. The two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof according to claim 1 is characterized in that: The biometric feature is a fingerprint feature.
4. The two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof according to claim 1 is characterized in that: An ID password authentication step is also included before the biometric and intellectual property feature authentication step, and the ID password authentication step is: first determine whether the user ID has been registered, if not, prompt that the authentication failed, and do not execute the biometric and intellectual property feature authentication step; if it has been registered, further determine whether the user ID and the login password match, if they match, prompt that the identity authentication is successful, and execute the biometric and intellectual property feature authentication step, otherwise prompt that the identity authentication failed, and do not execute the biometric and intellectual property feature authentication step.
5. The two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof according to claim 4 is characterized in that: Before the ID password authentication step, an ID password registration step is also included, and the ID password registration step includes: Receive the user ID and login password provided by the user, and determine whether the user ID and login password have been registered. If so, prompt that the registration failed. If not, the user ID and login password are hashed and saved, and prompt that the registration is successful.
6. The two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof according to claim 4 is characterized in that: Before the ID password authentication step, a biometric feature and intellectual property feature registration step is also included, and the biometric feature and intellectual property feature registration step includes: Receive the biometrics provided by the user, encrypt the received biometrics using the Poseidon hash function, and then determine whether the biometrics encrypted by the hash have been registered. If yes, prompt that the registration has failed. If not, save the biometrics encrypted by the hash and prompt that the registration has been successful. Receive the intellectual property transaction certificate provided by the user, which consists of an introduction to the intellectual property, a property identity generated by encrypting the intellectual property features, transaction money, and access time. After the authenticity of the intellectual property transaction certificate is verified and passed, it will be published on the alliance chain to complete the property identity registration.
7. A two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof, characterized in that: The following steps are involved: The supply-side client and the demand-side client register their user ID and login password in the alliance chain respectively; The supply-side client and the demand-side client register their biometrics in the consortium chain respectively; The supplier client registers the intellectual property transaction certificate in the alliance chain, which consists of the intellectual property introduction, the property identity generated by encrypting the intellectual property characteristics, the transaction money, and the access time; The alliance chain authenticates the user ID and login password, and performs the biometric and intellectual property feature authentication steps after the authentication is passed; the biometric and intellectual property feature authentication steps include generating zero-knowledge proofs of biometric features and zero-knowledge proofs of intellectual property features. The generation process of the zero-knowledge proof is as follows: Initially set the circuit and generate the public parameter P according to the designed circuit. w is the generator of H, H is a finite field The multiplicative subgroup on X is a finite field A random element in, x is a finite field polynomial on, srs is the structured reference string, q L (x),q R (x),q M (x),q O (x),q C (x) are all gate circuit polynomials, They are all permuted polynomials; Calculate the polynomials a(x), b(x), c(x) on the multiplicative subgroup H of order n, where a(x) is the private input of the biometric or intellectual property feature, b(x) is the public input of the biometric or intellectual property feature after hash encryption in the database, and c(x) is the output; Construct the permutation constraint z(x), n is the number of all gates in the circuit, d7~d9, β, γ are all finite fields Randomly generate points, Z H (x) = x n -1, l i (x) is the Lagrangian basis function on the multiplicative subgroup, k1 and k2 are both non-residues that are not equal to each other, σ(j) is the permutation function, (w j ) j∈[l] is the common input, l is the number of common inputs; Convert the gate constraint and permutation constraint into a polynomial and construct the total constraint t(x). q L (x), q R (x), q M (x), q O (x) are all gate circuit polynomials, PI(x) is a public parameter, and α is a finite field Randomly generate points; Construct the key intermediate function r(x), are all the values of the function on θ, PI(θ) is a public parameter, Z H (θ) = θ n -1; Construct polynomial commitment W at points θ and θω respectively θ (x) and W θω (x), and then generate the Plonk zero-knowledge proof π, v is a finite field Randomly generate points.
8. A computer program product comprising computer readable instructions, characterized in that: When executed by a processor, the computer-readable instructions implement the steps in the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof as described in any one of claims 1 to 6 or claim 7.
9. A computer-readable storage medium comprising computer-readable instructions, characterized in that: When executed by a processor, the computer-readable instructions implement the steps in the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof as described in any one of claims 1 to 6 or claim 7.
10. An electronic device, characterized in that: include: Memory, which stores program instructions; A processor is connected to the memory and executes program instructions in the memory to implement the steps in the two-factor identity authentication method for intellectual property transactions based on improved zero-knowledge proof as described in any one of claims 1 to 6 or claim 7.
Citation Information
Patent Citations
Identity verification method and device based on block chain, equipment, medium and product
CN116975901A
Apparatus and methods for validating user data
US20230254136A1