A blockchain solution for multi-department digital identity verification

By designing a blockchain storage and verification architecture for multi-department digital identity certificates and introducing log chains and aggregated signature verification mechanisms, the complexity of identity verification and the problem of data silos in multi-department collaboration are solved, achieving efficient and secure cross-departmental identity verification and auditing.

CN119483969BActive Publication Date: 2026-11-27CHINA CRIMINAL POLICE UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411473675.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2026-11-27
Estimated Expiration
2044-10-22

AI Technical Summary

Technical Problem

Existing technologies in multi-departmental collaborative digital identity verification scenarios suffer from problems such as high collaboration complexity, data silos, duplicate authentication, exposure of user privacy, and complex cross-departmental verification processes. The lack of a unified data sharing platform leads to trust and security challenges.

Method used

The design incorporates a multi-department digital identity certificate blockchain storage and verification architecture, introduces a log chain to ensure synchronous recording of authorization and verification, adopts an aggregated signature verification mechanism, and uses an aggregated Byzantine consensus optimization mechanism to improve consensus efficiency, thereby achieving efficient, reliable, and secure management across departments and permissions.

Benefits of technology

It achieves unified integration of digital identity certificates from multiple departments, improves verification efficiency, ensures data integrity and privacy, reduces trust costs, optimizes audit efficiency, and avoids the synchronization lag problem of the dual-chain structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119483969B_ABST
    Figure CN119483969B_ABST
Patent Text Reader

Abstract

The application provides a blockchain solution for multi-department digital identity verification, which comprises: a key generation and distribution center initializes a global system, distributes system public parameters and public and private key pairs to each participant; a user initiates a digital identity authorization application to an authentication department; a digital identity certificate is encrypted, a signature is calculated, and on-chain indexing is performed to complete on-chain and off-chain storage of the user's digital identity certificate; the user's digital identity certificate authorization operation record is uploaded to the log chain for synchronous recording; when the user needs to perform identity verification, a query trapdoor is generated to perform on-chain data retrieval, obtain the on-chain information of the digital certificate authority of the corresponding department, and decrypt the digital identity certificate; a digital identity certificate is signed and verified by an identity verification service provider; the user's digital identity certificate verification request record is uploaded to the log chain for synchronous recording; and an audit unit performs authorized and user identity verification operation traceability audit on the records on the log chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of network security technology and relates to a blockchain solution for multi-department digital identity verification. Background Technology

[0002] With the development of digitalization and networking, digital identity authentication plays an increasingly crucial role in sensitive resource management and various online services. Government agencies and authoritative departments are gradually transitioning from traditional paper-based identity authentication processes to digital ones, widely applying them in areas such as digital government services, social security management, public safety systems, medical and health record management, and immigration management. While digital certificates bring numerous conveniences to the identity verification process, they also face a series of new challenges. Traditional centralized identity authentication architectures heavily rely on a single trusted institution, leading to single points of failure, tampering risks, data leaks, and high trust costs. Furthermore, due to the decentralized nature of access control, current identity authentication systems typically rely on independent authentication processes across departments, resulting in duplicate authentication, exposure of user privacy, and complex cross-departmental verification processes. With the increasing issuance and management of various digital certificates, effectively integrating and verifying these digital identity documents has become a major challenge. The lack of a unified data sharing platform creates a "data silo" effect between departments, increasing management complexity and posing challenges to trust and security. In the context of diverse digital identity certificate applications, achieving efficient and secure identity verification while ensuring data integrity, authenticity, and privacy has become a critical issue that digital identity management urgently needs to address. Summary of the Invention

[0003] To address the aforementioned issues, this invention aims to provide a blockchain solution for multi-department digital identity verification. By designing a complete blockchain storage and verification architecture for multi-department digital identity certificates, efficient, reliable, and secure management of digital identity certificates across multiple domains is achieved. An aggregated signature verification mechanism is designed to support efficient and legitimate verification of multi-user digital certificates in cross-departmental and cross-permission scenarios. A log chain is introduced to ensure synchronized recording of digital certificate authorization and verification, and an aggregated Byzantine consensus mechanism is designed to improve the consensus efficiency of the log chain, resolving the synchronization performance bottleneck of the dual-chain structure and promoting efficient auditing and traceability.

[0004] This invention provides a blockchain solution for multi-department digital identity verification, comprising the following steps:

[0005] Step 1: The key generation and distribution center initializes the global system and distributes system public parameters and public-private key pairs to all participating parties;

[0006] Step 2: The user submits a digital identity authorization application to the certification authority;

[0007] Step 3: Encrypt the digital identity certificate, calculate the signature and on-chain index, and complete the on-chain and off-chain storage of the user's digital identity certificate;

[0008] Step 4: User digital identity certificate authorization operation records are uploaded to the log chain for synchronous recording;

[0009] Step 5: When a user needs to perform a certain authentication to access a specific service, a query trap is generated to perform on-chain data retrieval, obtain the on-chain information of the corresponding department's digital certificate permissions, and decrypt it to obtain the digital identity certificate;

[0010] Step 6: The identity verification service provider performs a signature verification operation on the digital identity certificate;

[0011] Step 7: User digital identity certificate verification request records are uploaded to the log chain for synchronous recording;

[0012] Step 8: The auditing unit conducts source audits on the log chain records, including authorization from authoritative certification departments and user authentication operations.

[0013] The blockchain solution for multi-department digital identity verification proposed in this invention has at least the following beneficial effects:

[0014] 1) Existing digital certificate storage methods face high complexity in complex multi-departmental collaboration scenarios, easily leading to information barriers and data silos. This invention presents a complete on-chain encrypted index verification design, using aggregated signatures to improve the efficiency of multi-certificate verification, and achieving unified integration of digital identity certificates from various institutions and departments while ensuring data integrity, privacy, and legitimacy.

[0015] 2) Existing blockchain technologies still fall short in efficiently recording and auditing the storage and verification processes of digital certificates. This invention introduces a log chain structure to synchronously record the authorization and verification processes, reducing the pressure on the main chain while improving audit efficiency. Furthermore, to address the potential synchronization lag issue in dual-chain structures, an Aggregated Optimized Byzantine Consensus (AOB-Consensus) mechanism is designed to optimize the log chain consensus efficiency. Attached Figure Description

[0016] Figure 1 This is a system architecture diagram of a blockchain solution for multi-department digital identity verification according to the present invention;

[0017] Figure 2 This is a flowchart of a blockchain solution for multi-department digital identity verification according to the present invention;

[0018] Figure 3aThis is a comparison chart of the computation time overhead of the method of this invention and existing methods in the trapdoor generation stage;

[0019] Figure 3b This is a comparison chart of the computation time cost of the method of this invention and existing methods in the search and matching stage;

[0020] Figure 3c This is a comparison chart of the total computation time cost of the trapdoor generation stage and the search and matching stage using the method of the present invention and existing methods;

[0021] Figure 4 This is a comparison chart of the computation time overhead of aggregate verification and single-user verification in the implementation of this invention;

[0022] Figure 5 This is the overall flowchart of the aggregated Byzantine optimization consensus mechanism designed in this invention. Detailed Implementation

[0023] The principles and features of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific examples given herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0024] Blockchain is a decentralized distributed ledger technology where all participants do not rely on a central authority for data storage and verification. Instead, they achieve distributed recording and verification of data through consensus algorithms. Once the data in each block is recorded, it cannot be tampered with, and all participants hold the same copy of the data, ensuring data integrity and immutability. The introduction of blockchain effectively addresses issues such as single points of failure, tampering risks, and data leaks in centralized systems, reducing trust costs and providing effective solutions in areas such as privacy data protection and data sharing. However, the application of existing blockchain mechanisms in multi-departmental collaborative digital identity storage and verification scenarios is still immature, and the need for efficient on-chain data encryption retrieval and verification remains unmet. Furthermore, the efficient recording and auditing of digital certificate storage and verification processes in the context of blockchain still have shortcomings and urgently need optimization.

[0025] This invention provides a blockchain solution for multi-department digital identity verification, with the overall system architecture as follows: Figure 1 As shown, it mainly consists of users, identity certificate chains, authentication departments, identity verification service providers, etc. The detailed functions of each part are described below, and the relevant symbols of this invention are explained in Table 1.

[0026] 1) Users: The main participants in the system, who possess a public-private key pair issued by KGC and an identity and authorization certificate issued by the certification authority.

[0027] 2) Key Generation Center (KGC): Responsible for generating and managing users' public and private key pairs for initial key distribution.

[0028] 3) InterPlanetary File System (IPFS): Used to store encrypted identity and authorization certificates, ensuring high availability and distributed storage security of data. It is bound to on-chain signatures of identity certificates to ensure the complete and trustworthy storage of data.

[0029] 4) Authority Departments (AD): These include various government agencies and authoritative bodies, responsible for issuing and managing digital certificates for user identity and permissions.

[0030] 5) Identity Verification Service Providers (IVSP): Service providers that require user identity verification, such as customs, banks, e-government platforms, online service providers, etc.

[0031] 6) Identity Certificate Chain (ICC): Used to store key information such as digital identity and authorization certificates, ensuring data integrity and security during the identity verification process.

[0032] 7) Log Chain (LC): Synchronously records authorization and authentication operations, ensuring the traceability and transparency of all processes, providing reliable historical records for auditing, and safeguarding the overall security of the system. By storing these records independently on the log chain, the main chain only needs to process core information, reducing the storage burden. The log chain remains synchronized with the main chain, achieving efficient recording and operation verification.

[0033] 8) Audit Unit (AU): Responsible for tracing and reviewing all authorization and authentication operations recorded on the log chain and assessing the compliance of the main chain operations.

[0034] Table 1 Explanation of Symbol Meanings

[0035]

[0036] like Figure 2 As shown, the present invention provides a blockchain solution for multi-department digital identity verification, comprising the following steps:

[0037] Step 1: The key generation and distribution center initializes the global system and distributes the system's public parameters and public-private key pairs to all participating parties.

[0038] The key generation and distribution mechanism adopted in this invention is based on the mathematical foundation of bilinear mapping, ensuring the security and efficiency of the system. Furthermore, step 1 specifically includes the following steps:

[0039] Step 1.1: Given a security parameter λ, select a large prime number p, and from that prime number field F p ={0,1,2,…,p-1} Choose two cyclic groups G1 and G2 on elliptic curves, both of order p, where the generator of G1 is g; based on this, define a bilinear mapping e(P,R)=Q where P,R∈G1,Q∈G2, and choose a finite field The key generation and distribution center randomly selects the system private key. And calculate the corresponding system public key. To ensure collision resistance, five hash functions are defined as follows:

[0040]

[0041] H3(Q)=HashFunction(Bytes(Q)) Q∈G2

[0042]

[0043] Here, Bytes(P) is the byte representation of P, which is to convert the value of P to hexadecimal representation, and then combine every two hexadecimal characters into one byte. || indicates concatenating the bit string b with Bytes(P). HashFunction(z) is a hash algorithm used to map the variable z to a fixed-length digest. HashFunction() can use SHA256 or SHA512. For the mapping function, take the modulo p-1 of the hash operation result of HashFunction() and add 1 to ensure that the hash value is transformed. Elements in a group; The mapping function calculates the x-axis coordinates of the elliptic curve group G1 by taking the hash operation result of HashFunction() modulo p-1 and adding 1. Based on the x-coordinates, the equations on the elliptic curve are solved to obtain the y-coordinates. Finally, a valid point (x,y)∈G1 on the elliptic curve is obtained as the mapping result.

[0044] The final system common parameters are SP = {p, g, e, S} pk The system's common parameters (H1, H2, H3, H4, H5) are published to all participants in the system through a secure channel.

[0045] Step 1.2: For any user i, the key generation and distribution center randomly selects an identity coefficient. And based on the user's unique identifier ID i ∈{0,1} * Calculate the relevant part of the public-private key pair for user i. Calculate part of user i's public key User i's partial private key The user independently selects randomly. Make part of the private key Calculate part of user i's public key Together, we generate the public key for user i. and user i's private key Other nodes in the system, including certification authorities, auditing units, and log chain consensus nodes, all use the above method to generate public-private key pairs.

[0046] Step 2: The user submits a digital identity authorization application to the certification authority.

[0047] When a user applies for a service and needs to verify their identity, a cross-departmental identity certificate authorization process must first be completed to ensure the legitimacy and security of the storage and verification of identity information. User i uses their unique identity ID. i Submit an identity verification application to the system. After verification and approval by the certification department, the corresponding digital identity certificate AuthCert will be issued. i .

[0048] Step 3: Encrypt the digital identity certificate, calculate the signature and on-chain index, and complete the on-chain and off-chain storage of the user's digital identity certificate.

[0049] To ensure the security, privacy, and unforgeability of multi-department digital identity certificate storage and verification, while reducing on-chain storage burden and improving on-chain storage flexibility, this invention designs an encryption and signature mechanism. Encrypted digital certificates are stored off-chain in the InterPlanetary File System (IPS), and the off-chain storage index, digital certificate signature, digital certificate digest, and digital certificate authorizing department information are uploaded to the identity certificate chain. Further, step 3 specifically includes the following steps:

[0050] Step 3.1: For the issued digital identity certificate AuthCert i The system encrypts the authorization information by randomly selecting a ciphertext coefficient. Computational encryption components and The specific calculation method is as follows:

[0051]

[0052] The final encryption result is represented as

[0053] Step 3.2: For the issued digital identity certificate AuthCert i The certification body signs the certificate, and the signing process begins by randomly selecting a digest coefficient. Based on the applicant's identity ID i Calculate the message digest of a digital identity certificate The specific calculation method is as follows:

[0054]

[0055] Then use the authentication authority's private key and the public key of the certification authority Calculate signature component and The specific calculation method is as follows:

[0056]

[0057] By introducing a message digest, it is ensured that all parts of the signature are associated with the corresponding user identity. The final form of the signature is:

[0058] Step 3.3: In the AuthCert i After encryption, the encryption result is C. i It will be stored in a distributed InterPlanetary File System, with off-chain storage for indexes and digital certificate signing. i The digital certificate digest and digital certificate authorizing department information are uploaded to the identity certificate chain, and the on-chain storage index is constructed as follows:

[0059]

[0060] This stage is described as shown in Algorithm 1, where the ExtractCertType() function represents the extraction of AuthCert. i The department to which the certificate belongs.

[0061]

[0062] Step 4: The user's digital identity certificate authorization operation record is uploaded to the log chain for synchronous recording.

[0063] To further improve the system's auditing efficiency and reduce the performance burden of high-frequency main chain operations, this invention introduces an independent log chain structure. When a user applies for an identity certificate from the certification authority, all related operations are synchronously uploaded to the log chain via smart contracts, forming a detailed historical record chain, providing an efficient and reliable solution for subsequent audit queries and data traceability.

[0064] Step 4 specifically involves: The digital identity certificate authorization log is stored off-chain and encrypted using the symmetric encryption algorithm AESEncrypt(). The encrypted log result is represented as encryptedLog, and the on-chain index is {ID}. i The log data is composed of a triple of {ID}, {CertType}, {actionType}, and {Loghash}, which is stored on-chain to verify the integrity of the log data; where ID is... i This represents the unique identifier of user i, CertType represents the department to which the digital identity certificate belongs, and actionType represents the type of operation in the identity certificate chain. The log chain synchronization record description is shown in Algorithm 2.

[0065]

[0066] Step 5: When a user needs to perform a certain authentication to access a specific service, a query trap is generated to perform on-chain data retrieval, obtain the on-chain information of the corresponding department's digital certificate permissions, and decrypt it to obtain the digital identity certificate.

[0067] When user i needs to perform a certain authentication to access a specific service, such as applying for a cross-border entry and exit permit, handling online government services, or applying for access to medical records, the system will perform on-chain data retrieval based on the search trap submitted by the user. Furthermore, step 5 specifically includes the following steps:

[0068] Step 5.1: The user randomly selects the trapdoor generation coefficient. Calculate and provide query trapdoors i = (τ1, τ2) and the digital certificate's affiliated department, CertType, the method for calculating the trapdoor is as follows:

[0069]

[0070] Step 5.2: The identity certificate chain performs on-chain matching queries based on CertType and query trapdoors. First, the on-chain storage index is calculated using the query trapdoors to obtain the on-chain information of all departmental digital certificate permissions associated with the user's identity. The on-chain storage index calculation method is as follows:

[0071]

[0072] Furthermore, by using the CertType attribute, the system can further filter and extract the digital certificate permission chain information of the corresponding department from all departmental digital certificate permission chain information, thereby achieving accurate filtering and positioning of target data under multi-department digital certificate storage.

[0073] To demonstrate the effectiveness of the present invention, a derivation proof of on-chain data retrieval is provided, as follows:

[0074]

[0075] Step 5.3: The user retrieves the encrypted result C stored in the InterPlanetary File System based on the off-chain storage index in the on-chain information of the corresponding department's digital certificate permissions. i Using the user's private key SKU i The decryption process is performed using the following formula:

[0076]

[0077] To demonstrate the effectiveness of the present invention, a derivation proof of the encrypted decryption of the user's digital certificate is provided, as follows:

[0078]

[0079]

[0080] Figure 3 illustrates a comparison of the computational time overhead of the blockchain solution for multi-department digital identity verification of the present invention with other methods as the number of identity certificate query entries increases during the trapdoor generation and search matching stages. Figure 3a This is a comparison chart of the computation time overhead of the method of this invention and existing methods in the trapdoor generation stage; Figure 3b This is a comparison chart of the computation time cost of the method of this invention and existing methods in the search and matching stage; Figure 3c This chart compares the total computation time of the method of this invention with existing methods in the trapdoor generation and search-matching stages. As shown in the chart, the computation time of the present invention in the trapdoor generation stage is higher than that of Scheme 1 but lower than that of Scheme 2; while in the on-chain search-matching stage, the computational efficiency of the present invention is higher, outperforming both the comparison schemes. Considering the total time spent in both the trapdoor generation and on-chain search stages, the efficiency of the present invention is on par with Scheme 1 and better than Scheme 2.

[0081] Step 6: The identity verification service provider performs a signature verification operation on the digital identity certificate.

[0082] To prevent the forgery of digital identity and authorization certificates and ensure the legitimacy and authority of their source, the system needs to verify the retrieved on-chain stored signatures. For complex digital identity verification scenarios involving multiple users across departments and permissions, this invention designs an aggregated verification scheme to address the verification needs in multi-department collaborative scenarios. Furthermore, step 6 specifically includes the following steps:

[0083] Step 6.1: In single certificate verification, for the on-chain stored signature obtained from the index, the verifier needs to recalculate the digital certificate message digest, and then verify the consistency of both sides of the following equation based on the public key corresponding to the CertType department:

[0084]

[0085] Step 6.2: In multi-certificate verification, the signatures of multiple certificates are first aggregated. The aggregation signature component is generated as follows, where n represents the number of digital identity certificates verified:

[0086]

[0087]

[0088] Step 6.3: The verifier receives the aggregate signature. Then, the consistency of both sides of the following equation is verified using the public keys of the certification authorities corresponding to the n digital identity certificates:

[0089]

[0090] To demonstrate the effectiveness of the present invention, a derivation proof for digital certificate signature verification is provided below. For aggregated signature verification in multi-user verification scenarios, the derivation principle is similar and will not be repeated here:

[0091]

[0092] Figure 4 The paper illustrates the computational overhead of aggregate verification versus single-user verification in the digital certificate verification stage of the blockchain solution for multi-department digital identity verification of the present invention, as the number of verification items increases. As shown in the figure, the aggregate verification used in the present invention can effectively improve verification efficiency in multi-user scenarios.

[0093] The overall description of the digital certificate retrieval and verification operations in steps 5 and 6 is shown in Algorithm 3:

[0094]

[0095]

[0096] Step 7: The user's digital identity certificate verification request is uploaded to the log chain for synchronous recording.

[0097] When a user submits a certificate to an authentication service provider for authentication, the relevant operations will be synchronously uploaded to the log chain via a smart contract. Further, step 7 specifically involves:

[0098] Log data is stored off-chain and encrypted using the symmetric encryption algorithm AESEncrypt(). The on-chain index is defined by {ID}. i It consists of a triple of ID, CertType, and actionType, where ID is the ID. iThis represents the unique identifier of user i, CertType represents the department to which the digital certificate belongs, and actionType represents the type of operation in the identity certificate chain.

[0099] Step 8: The auditing unit conducts source audits on the log chain records, including authorization from authoritative certification departments and user authentication operations.

[0100] During the audit process, when the auditing entity needs to conduct a compliance review of the authorization behavior of authoritative certification departments or review user authentication operations, it will perform precise source tracing audit operations through log chains, as follows:

[0101] Step 8.1: The auditing entity needs to base its decision on {ID} i Using CertType and actionType as indexes, a source tracing request is initiated to the log chain.

[0102] Step 8.2: This request undergoes audit identity verification via an on-chain smart contract to ensure the legitimacy of the audit request and access control. After verification, the system returns the traceability result {encryptedLog, Loghash}.

[0103] Step 8.3: The auditing unit uses the encrypted log result `encryptedLog` to decrypt and obtain the off-chain stored log data `D`. Log The hash digest of the off-chain stored log data is denoted as Loghash′.

[0104] Step 8.4: Compare Loghash with the log information digest Loghash stored on the chain to verify the integrity of the log records.

[0105] To improve the consensus efficiency of the log chain and prevent it from becoming a performance bottleneck during the synchronization of the identity certificate chain, this invention designs the AOB-Consensus consensus mechanism based on a practical Byzantine fault-tolerant algorithm combined with aggregation verification technology. This mechanism optimizes the consensus process through aggregation verification, accelerates the synchronous verification of the log chain, and enables real-time recording of identity certificate authorization operations. The AOB-Consensus consensus process is as follows: Figure 5 As shown, its description is as follows:

[0106] 1) Proposal Phase: Proposing node N0 generates a block M of identity authorization chain synchronization log messages to be agreed upon, and broadcasts M to all other nodes N1, N2, ..., N. n-1 .

[0107] 2) Preparation Phase: Each backup node N iUpon receiving the message from the proposing node, the backup node first verifies the correctness of the packaged block M. If the verification passes, the backup node uses its private key sklog. i Sign the message to generate a signature σlog. i After signing, each node sends its signature packet to the proposing node N0.

[0108] 3) Commit Phase: After receiving signatures from at least t nodes, the proposing node N0 aggregates these signatures to generate an aggregate signature σlog. agg Subsequently, the proposing node will aggregate the signature and the public key set of the signing nodes {pklog1, pklog2, ..., pklog}. t Broadcast to all other nodes N1, N2, ..., N n-1 Each node N i After receiving the aggregate signature and public key set, the aggregate signature is verified. If the verification is successful, consensus is considered to have been reached, block M is recorded to local storage, and consensus is marked.

[0109] Compared to the traditional PBFT consensus scheme, the time complexity of the AOB-Consensus consensus scheme is reduced from O(N) to O(N). 2 The efficiency of AOB-Consensus is optimized to O(N). To verify the improvement in consensus efficiency of the AOB-Consensus mechanism, this invention uses the Python programming language and a socket library to simulate network port communication for consensus overhead simulation. Virtual ports are used to implement interaction between multiple nodes, simulating the overhead under different scales of consensus nodes [4, 8, 16, 32, 48, 64]. After 50 simulation experiments and taking the average, Table 2 shows the comparison of consensus overhead between AOB-Consensus and traditional PBFT under different node scales. The results show that as the number of consensus nodes increases, the efficiency of AOB-Consensus continuously improves compared to PBFT, verifying that the dual-chain structure of this invention, using AOB-Consensus for the log chain, will not cause synchronization lag problems during node consensus verification.

[0110] Table 2 Comparison of consensus overhead under different node sizes

[0111]

[0112] This invention proposes a blockchain solution for multi-department digital identity verification, providing a complete system architecture design for the storage and verification of multi-department digital identity certificates. It breaks down information barriers between departments and achieves reliable and efficient verification in multi-department collaborative scenarios through an aggregated verification scheme. Addressing auditing issues, this invention introduces a log chain to synchronize main chain operation records and improves log chain consensus efficiency through an aggregated Byzantine consensus optimization mechanism, avoiding the synchronization lag problem in dual-chain structures. Compared with other methods, this solution effectively reduces computational overhead while ensuring privacy, integrity, and non-forgeability. Aggregated signatures enable efficient verification in multi-certificate scenarios, and the consensus mechanism avoids potential lag issues in log chain synchronization.

[0113] The above description is only a preferred embodiment of the present invention and is not intended to limit the ideas of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A blockchain solution for multi-department digital identity verification, characterized in that, Includes the following steps: Step 1: The key generation and distribution center initializes the global system and distributes system public parameters and public-private key pairs to all participating parties; Step 2: The user submits a digital identity authorization application to the certification authority; Step 3: Encrypt the digital identity certificate, calculate the signature and on-chain index, and complete the on-chain and off-chain storage of the user's digital identity certificate; Step 4: User digital identity certificate authorization operation records are uploaded to the log chain for synchronous recording; Step 5: When a user needs to perform a certain authentication to access a specific service, a query trap is generated to perform on-chain data retrieval, obtain the on-chain information of the corresponding department's digital certificate permissions, and decrypt it to obtain the digital identity certificate; Step 6: The identity verification service provider performs a signature verification operation on the digital identity certificate; Step 7: User digital identity certificate verification request records are uploaded to the log chain for synchronous recording; Step 8: The auditing unit conducts source audits on the log chain records, tracing the authorization of authoritative certification departments and user authentication operations; Step 5, in which the user generates a query trapdoor to retrieve on-chain data, specifically includes the following steps: Step 5.1: The user randomly selects the trapdoor generation coefficient. Calculate and provide query trapdoors and the department to which digital certificates belong The method for calculating the trapdoor is as follows: Step 5.2: Identity Certificate Chain Based on To perform an on-chain matching query against the query trapdoor, the on-chain storage index is first calculated using the query trapdoor to obtain the on-chain information of all departmental digital certificate permissions associated with the user's identity. The on-chain storage index is calculated as follows: Then through The attributes further filter and extract the digital certificate permission chain information of the corresponding department from the digital certificate permission chain information of all departments, so as to achieve accurate filtering and positioning of target data under the storage of digital certificates of multiple departments. Step 5.3: The user retrieves the encrypted result stored in the InterPlanetary File System (IPS) based on the off-chain storage index in the on-chain information of the corresponding department's digital certificate permissions. Using the user's private key The decryption process is performed using the following formula: 。 2. The blockchain solution for multi-department digital identity verification as described in claim 1, characterized in that, The generation of system public parameters and public-private key pairs in step 1 is based on the mathematical foundation of bilinear mapping, and specifically includes the following steps: Step 1.1: Given security parameters Choose a large prime number and from that prime number field Select the cyclic groups on two elliptic curves and Their orders are all ,in The generator is Based on this, we define a bilinear mapping. in Choose a finite field The key generation and distribution center randomly selects the system private key. And calculate the corresponding system public key. To ensure collision resistance, five hash functions are defined as follows: in, for The bytes represent the upcoming The numerical value is converted to hexadecimal representation, and then every two hexadecimal characters are combined into one byte. This indicates that the bit string and To splice, (z) is a hash algorithm used to map a variable z to a fixed-length digest. For mapping functions, () Modulo the hash operation result Adding 1 ensures hash value transformation. ; For mapping functions, () Modulo the hash operation result Add 1 to calculate the elliptic curve group. superior Axis coordinates, according to Solving the equations on the elliptic curve using coordinates yields... The coordinates ultimately yield a valid point on an elliptic curve. As a mapping result; The final system common parameters are The system's public parameters are published to all participants in the system through a secure channel; Step 1.2: For any user The key generation and distribution center randomly selects the identity coefficient. And based on the user's unique identifier Calculate users Public and private key pairs related parts Calculate users Partial public key ,user Partial private key The user terminal independently selects randomly. This allows some private keys to be used. Calculate users Partial public key jointly generate users public key and users private key Other nodes in the system, including certification authorities, auditing units, and log chain consensus nodes, all use the above method to generate public-private key pairs.

3. The blockchain solution for multi-department digital identity verification as described in claim 2, characterized in that, Step 3 specifically includes the following steps: Step 3.1: For the issued digital identity certificate The system encrypts the authorization information by randomly selecting a ciphertext coefficient. , computational encryption components and The specific calculation method is as follows: The final encryption result is represented as ( ); Step 3.2: For the issued digital identity certificate The certification body signs the certificate, and the signing process begins by randomly selecting a digest coefficient. Based on the applicant's identity identifier Calculate the message digest of a digital identity certificate The specific calculation method is as follows: Then use the authentication authority's private key and the public key of the certification authority Calculate signature component and The specific calculation method is as follows: By introducing a message digest, it is ensured that all parts of the signature are associated with the corresponding user identity. The final form of the signature is: ; Step 3.3: In the process of... After encryption, the encryption result It will be stored on a distributed InterPlanetary File System, with off-chain storage for indexes and digital certificate signing. The digital certificate digest and digital certificate authorizing department information are uploaded to the identity certificate chain, and the on-chain storage index is constructed as follows: 。 4. The blockchain solution for multi-department digital identity verification as described in claim 1, characterized in that, In step 4, the log chain synchronization process specifically involves: storing the digital identity certificate authorization log records off-chain using a symmetric encryption algorithm. Encryption processing is performed, and the encrypted log result is represented as follows: On-chain indexes are Composed of triplets, the log information summary is stored on-chain. To achieve log data integrity verification; in Indicates user Unique identifier Indicates the department to which the digital identity certificate belongs. Indicates the type of operation in the identity certificate chain.

5. The blockchain solution for multi-department digital identity verification as described in claim 1, characterized in that, The digital certificate signature verification operation in step 6 supports both single certificate verification and multi-certificate verification, and includes the following steps: Step 6.1: In single certificate verification, for the on-chain stored signature obtained from the index, the verifier needs to recalculate the digital certificate message digest, and then... The department uses its corresponding public key to verify the consistency of both sides of the following equation: Step 6.2: In multi-certificate verification, the signatures of multiple certificates are first aggregated. The aggregation signature component is generated as follows: Indicates the number of digital identity certificate verifications: Step 6.3: The verifier receives the aggregate signature. Then, use respectively The public key of the certification authority corresponding to each digital identity certificate verifies the consistency of both sides of the following equation: 。 6. The blockchain solution for multi-department digital identity verification as described in claim 1, characterized in that, The log chain synchronization record in step 7 specifically includes: Log data is stored off-chain using a symmetric encryption algorithm. Encryption processing is performed, and the on-chain index is... It consists of triplets, among which Indicates user Unique identifier Indicates the department to which the digital certificate belongs. Indicates the type of operation in the identity certificate chain.

7. The blockchain solution for multi-department digital identity verification as described in claim 1, characterized in that, Step 8 specifically involves: Step 8.1: The auditing entity needs to base its actions on... As an index, it initiates a tracing request to the log chain; Step 8.2: This request undergoes audit identity verification via an on-chain smart contract to ensure the legitimacy of the audit request and access control. After verification, the system returns the traceability result. ; Step 8.3: The auditing unit uses the encrypted log results Decryption is performed to obtain off-chain storage log data. The hash digest of the off-chain stored log data is denoted as . ; Step 8.4: [The text appears to be incomplete and contains several grammatical errors. A more accurate translation would require Summary of log information stored on the chain Compare the log entries to verify their completeness.

Citation Information

Patent Citations

  • Distributed public key infrastructure construction method based on editable blockchain

    CN112187455A

  • Evidence construction and real-name identity authentication method based on block chain

    CN112688786A