Digital identity authentication and key agreement method based on relay chain cross-chain

By adopting a cross-chain digital identity authentication method based on relay chain in distributed manufacturing, the decentralized identity identification of the alliance chain is generated and authenticated, the mutual trust and mutual recognition problem of cross-chain data sharing in distributed manufacturing is solved, and efficient , secure identity authentication and key negotiation.

CN118944879APending Publication Date: 2024-11-12BEIHANG UNIV
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411216217.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the context of distributed manufacturing, there is a lack of complete trusted mechanisms to protect the secure sharing of manufacturing resources and the privacy of product lifecycle data, especially in terms of digital identity authentication and key negotiation.

Method used

Using a cross-chain digital identity authentication method based on the relay chain, register with the relay chain and generate cross-chain decentralized identity authentication method, realize inter-chain chain Identity authentication and key negotiation, using decentralized identity instead of traditional certificates, solve the problem of mutual trust and mutual recognition of cross-chain data sharing.

Benefits of technology

On the premise of ensuring security, efficient cross-chain identity authentication and key negotiation are achieved, solving the problem of mutual trust and mutual recognition among resource organizations in distributed manufacturing, and improving the performance of cross-chain data sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944879A_ABST
    Figure CN118944879A_ABST
Patent Text Reader

Abstract

The invention discloses a digital identity authentication and key agreement method based on relay chain cross-chain. The core is a method for performing entity digital identity authentication between alliance chains by using a decentralized identity label and a key agreement protocol. The method comprises the following steps: firstly, carrying out generation and identity authentication of local decentralized identities of an initiation alliance chain and a response alliance chain; then initiating registration of the alliance chain and responding registration of the alliance chain to the relay chain, and completing identity authentication of the relay chain to the two; then, the relay chain generates cross-chain decentralized identities for the initiating alliance chain and the response alliance chain, and the two alliance chains generate decentralized identities of cross-chain entities according to the respective cross-chain identities; and finally, cross-chain identity authentication and key agreement between the initiating alliance chain and the responding alliance chain are carried out based on the relay chain. In the process of cross-chain identity authentication and key negotiation, the decentralized identity is used for replacing a traditional centralized certificate to indicate the identity, and the problems of mutual trust and mutual recognition of cross-chain data sharing among resource organizations in distributed manufacturing and the like are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cross-chain identity authentication, and particularly points out a digital identity authentication and key negotiation method based on a relay chain cross-chain. Background Art

[0002] In the context of distributed manufacturing, there is still a lack of a complete trusted mechanism to protect the secure sharing of manufacturing resources and the privacy of product data throughout the life cycle. Digital identity is the identity of a physical entity in the digital world. Currently, digital identity has developed to the decentralized identity stage, which is more conducive to entities protecting their own identity information.

[0003] The present invention introduces cross-chain blockchain technology and proposes a decentralized digital identity authentication architecture in combination with decentralized identity and verifiable credentials. This model identifies entities on the chain and achieves secure, private and efficient identity authentication and key negotiation. Summary of the invention

[0004] In order to solve the problems mentioned in the above background, the present invention combines blockchain technology and decentralized identity identification to provide a digital identity authentication and key negotiation method based on relay chain cross-chain.

[0005] The method first generates and authenticates the local decentralized identities of the initiating alliance chain and the responding alliance chain; then the initiating alliance chain and the responding alliance chain are registered with the relay chain to complete the identity authentication of the two by the relay chain; then the relay chain generates cross-chain decentralized identities for the initiating alliance chain and the responding alliance chain, and the two alliance chains then generate decentralized identities for cross-chain entities based on their respective cross-chain identities; finally, cross-chain identity authentication and key negotiation are performed between the initiating alliance chain and the responding alliance chain based on the relay chain.

[0006] 1. A digital identity authentication method based on relay chain cross-chain, characterized by:

[0007] (1) Generate a local decentralized identity for the consortium chain;

[0008] (2) The consortium chain registers with the relay chain and obtains a cross-chain decentralized identity;

[0009] (3) The alliance chain generates a decentralized identity for the cross-chain entity based on the cross-chain decentralized identity;

[0010] (4) Perform identity authentication and secure data sharing among alliance chains.

[0011] 2. According to a relay chain cross-chain digital identity authentication method according to claim 1, it is characterized in that: the decentralized identity generation method in step (1) is as follows:

[0012] The consortium chain generates a local public and private key pair. It generates its own decentralized identity document based on the decentralized identity identification method and public key generation type, and uses a hash function to generate an identifier. The consortium chain submits its own identity information and documents to the issuer. The issuer authenticates the submitted information, generates a verifiable credential after passing, and returns it to the consortium chain.

[0013] 3. According to a relay chain cross-chain digital identity authentication method according to claim 1, it is characterized in that: the registration process in step (2) is as follows:

[0014] First, the alliance chain to be connected to the relay chain constructs the registration application transaction information, which specifically includes: the decentralized identity of the alliance chain and the verifiable expression of the alliance chain identity, namely {DID, VP}. The verifiable expression is obtained by the alliance chain signing the verifiable certificate with its own private key.

[0015] Then, the consortium chain requests the decentralized identity identifier of the relay chain from the local identity organization, and sends the identifier to the local decentralized identity resolver for resolution. The resolver interacts with the underlying blockchain through the identifier and returns its corresponding decentralized identity document. The consortium chain then reads the public key information PK of the relay chain from the document. RC , use the public key to encrypt the data packet and send it to the relay chain:

[0016] After receiving the data packet, the relay chain uses its own private key SK RC Decrypt the data packet, extract the decentralized identity and verifiable credentials, and pass the verifiable credentials to the verifier. The verifier reads the decentralized identity of the issuer contained in the verifiable credentials, and parses the corresponding decentralized identity document through the parser, verifies the authenticity of the credentials using the public key information in the document, and accesses the parser to ensure the validity of the statement. If the verification is successful, the relay chain will generate a cross-chain decentralized identity for the consortium chain.

[0017] The identifier of the cross-chain decentralized identity includes the suffix of the local decentralized identity identifier and adds a universal unique identifier to ensure uniqueness. The document contains the document content of the local decentralized identity of the alliance chain. Through the issuer's signature, the cross-chain decentralized identity and verifiable credentials of the alliance chain can be obtained.

[0018] 4. According to a relay chain cross-chain digital identity authentication method according to claim 1, it is characterized in that: the decentralized identity generation method of the cross-chain entity in step (3) is as follows:

[0019] When the alliance chain generates a decentralized identity for a cross-chain entity, a new public-private key pair needs to be generated. The identifier is generated using a hash function based on the local decentralized identity identifier. The document content is determined based on the local decentralized identity document, the new public key and its generation method. After being authenticated by the issuer, the final decentralized identity of the alliance chain cross-chain entity and its verifiable credentials are generated.

[0020] 5. According to a relay chain cross-chain digital identity authentication method according to claim 1, it is characterized in that: the identity authentication and data security sharing process between alliance chains in step (4) is as follows:

[0021] First, the initiator alliance chain sends its own decentralized identity to the relay chain, recorded as DID Alice , respond to the decentralized identity of the alliance chain, denoted as DID Bob , timestamp T and random value N, and encrypted with the public key of the relay chain, that is, After receiving the cross-chain transaction request from the initiating alliance chain, the relay link first verifies the cross-chain qualification of the initiating alliance chain and sends a verification request to the initiating alliance chain. The initiating alliance chain uses its own private key to sign the verifiable certificate and sends it to the relay chain for verification after obtaining the verifiable expression. If the verification is successful, it proves that the initiating alliance chain has the right to initiate cross-chain transactions.

[0022] Afterwards, the relay chain generates a sufficiently long random number K as the session key for communication between the initiating alliance chain and the responding alliance chain, and encrypts the decentralized identity of the initiating alliance chain, the decentralized identity of the responding alliance chain, the timestamp T, the random value N and the session key K with the public key of the initiating alliance chain and sends them to the initiating alliance chain, that is, At the same time, the relay chain stores the relevant parameters in the cross-chain transaction request into the blockchain, namely {DID Alice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0023] After the initiator of the alliance link receives the data packet transmitted by the relay chain, it encrypts its own decentralized identity, timestamp T, random value N and session key K with the public key of the responding alliance chain and sends it to the responding alliance chain, that is, At the same time, the initiating alliance chain stores the relevant parameters in the cross-chain transaction request into the blockchain, that is, {DID Alice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0024] After the alliance link receives the data packet transmitted by the alliance chain, it sends a query request to the relay chain to confirm the security and authenticity of this cross-chain transaction, that is, {DIDAlice ,DID Bob , hash(N,T,K)}. If the query is successful, it proves that the transaction is secure, and the initiating alliance chain and the responding alliance chain can share data securely through the session key. At the same time, the responding alliance chain stores the relevant parameters in the cross-chain transaction request in the blockchain, that is, {DID Alice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0025] The beneficial effects of the above technical solution of the present invention are as follows:

[0026] In the above scheme, the method first generates and authenticates the local decentralized identities of the initiating alliance chain and the responding alliance chain; then the initiating alliance chain and the responding alliance chain are registered with the relay chain, and the relay chain completes the identity authentication of the two; then the relay chain generates a cross-chain decentralized identity for the initiating alliance chain and the responding alliance chain, and the two alliance chains then generate decentralized identities of cross-chain entities based on their respective cross-chain identities; finally, the cross-chain identity authentication and key negotiation between the initiating alliance chain and the responding alliance chain are performed based on the relay chain. In the process of cross-chain key negotiation, the present invention uses decentralized identity instead of traditional centralized certificates to indicate identity, which solves the problems of mutual trust and mutual recognition of cross-chain data sharing between resource organizations in distributed manufacturing. And it has higher performance under the premise of ensuring security. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A flow chart of a method for calculating an expert relationship direct influence matrix of the present invention;

[0028] Figure 2 Network structure diagram

[0029] Figure 3 Flowchart for registering a consortium chain

[0030] Figure 4 Flowchart for cross-chain identity authentication and key negotiation DETAILED DESCRIPTION

[0031] 1. Model construction and network initialization:

[0032] The initial relay chain RC is established by public welfare nodes (assuming that the initial public welfare nodes are elected by each alliance to ensure trustworthy security). The functions of the relay chain RC include three parts: for the generation and storage of cross-chain decentralized identity identification; for the registration and authentication of each alliance chain; for the trusted security guarantee of cross-chain data transmission between alliance chains. At the same time, each alliance chain selects nodes to establish the initial chain by the corresponding alliance. The functions of the initial alliance chain include three parts: for the generation and storage of decentralized identity identification of the entity objects of this alliance; for the issuance and verification of verifiable credentials of the entity objects of this alliance; for connecting the entity objects of this alliance to the relay chain RC.

[0033] Both the consortium chain and the relay chain need to include two special organizations, the identity organization and the authentication organization, for the decentralized storage of identity data and verifiable credential data, and also need to include at least one publisher node and one verifier node, which are used to issue verifiable credentials of entity identities and verify the verifiable credentials provided by the entity, respectively.

[0034] During the network initialization process, each blockchain also needs to call the smart contract on the local chain to generate its own decentralized identity for the alliance chain, and generate corresponding verifiable credentials through the issuer of the alliance to verify the authenticity and validity of the alliance.

[0035] 2. Generation and registration of local decentralized identity of alliance chain:

[0036] (1) Generate a local decentralized identity for the consortium chain: The consortium chain generates a local public-private key pair. The consortium chain inputs the decentralized identity method, user public key, user public key generation method, issuer public key, and user information, and generates its own decentralized identity document based on the decentralized identity method and public key generation type, using a hash function to generate an identifier. The consortium chain submits its own identity information and document to the issuer. The issuer authenticates the submitted information, generates a verifiable credential after passing, and returns it to the consortium chain.

[0037] (2) The consortium chain registers with the relay chain and obtains a cross-chain decentralized identity: During the registration phase, the consortium chain sends its own decentralized identity and verifiable expression to the relay chain and encrypts it with the public key of the relay chain. After receiving the information, the relay chain decrypts it and verifies the decentralized identity and verifiable expression of the consortium chain. If the verification passes, the registration is successful. In the generation of the cross-chain decentralized identity phase, the relay chain inputs the verifier public key, the issuer public key, the consortium chain local decentralized identity, and the consortium chain verifiable credential. The identifier of the cross-chain decentralized identity includes the suffix of the local decentralized identity identifier and adds a universal unique identifier to ensure uniqueness. The document contains the document content of the local decentralized identity of the consortium chain. Through the issuer's signature, the cross-chain decentralized identity and verifiable credential of the consortium chain can be obtained.

[0038] (3) The alliance chain generates an entity cross-chain decentralized identity based on the cross-chain decentralized identity: The alliance chain needs to generate a new public-private key pair. The cross-chain entity provides the user's decentralized identity, the alliance chain ID, the user's new public key, the method for generating the user's new public key, and the verifier's public key. When the alliance chain generates the decentralized identity of the cross-chain entity, the identifier is generated based on the local decentralized identity identifier using a hash function. The document content is determined based on the local decentralized identity document, the new public key and its generation method. After authentication by the issuer, the final decentralized identity of the alliance chain cross-chain entity and its verifiable credentials are generated.

[0039] 3. Identity authentication key negotiation:

[0040] First, the initiator alliance chain sends its own decentralized identity to the relay chain, recorded as DID Alice , respond to the decentralized identity of the alliance chain, denoted as DID Bob , timestamp T and random value N, and encrypted with the public key of the relay chain, that is, After receiving the cross-chain transaction request from the initiating alliance chain, the relay link first verifies the cross-chain qualification of the initiating alliance chain and sends a verification request to the initiating alliance chain. The initiating alliance chain uses its own private key to sign the verifiable certificate and sends it to the relay chain for verification after obtaining the verifiable expression. If the verification is successful, it proves that the initiating alliance chain has the right to initiate cross-chain transactions.

[0041] Afterwards, the relay chain generates a sufficiently long random number K as the session key for communication between the initiating alliance chain and the responding alliance chain, and encrypts the decentralized identity of the initiating alliance chain, the decentralized identity of the responding alliance chain, the timestamp T, the random value N and the session key K with the public key of the initiating alliance chain and sends them to the initiating alliance chain, that is, At the same time, the relay chain stores the relevant parameters in the cross-chain transaction request into the blockchain, namely {DIDAlice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0042] After the initiator of the alliance link receives the data packet transmitted by the relay chain, it encrypts its own decentralized identity, timestamp T, random value N and session key K with the public key of the responding alliance chain and sends it to the responding alliance chain, that is, At the same time, the initiating alliance chain stores the relevant parameters in the cross-chain transaction request into the blockchain, that is, {DID Alice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0043] After the alliance link receives the data packet transmitted by the alliance chain, it sends a query request to the relay chain to confirm the security and authenticity of this cross-chain transaction, that is, {DID Alice ,DID Bob , hash(N,T,K)}. If the query is successful, it proves that the transaction is secure, and the initiating alliance chain and the responding alliance chain can share data securely through the session key. At the same time, the responding alliance chain stores the relevant parameters in the cross-chain transaction request in the blockchain, that is, {DID Alice ,DID Bob , hash(N,T,K)}, ensuring the security and traceability of cross-chain transactions.

[0044] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A digital identity authentication and key negotiation method based on relay chain cross-chain, characterized by: (1) Generate a local decentralized identity for the consortium chain; (2) The consortium chain registers with the relay chain and obtains a cross-chain decentralized identity; (3) The alliance chain generates a decentralized identity for the cross-chain entity based on the cross-chain decentralized identity; (4) Perform identity authentication and key negotiation between alliance chains.

2. According to claim 1, a digital identity authentication and key agreement method based on relay chain cross-chain is characterized in that: The method for generating a local decentralized identity in step (1) is as follows: The consortium chain generates a local public-private key pair, uses a hash function to generate an identifier, and generates its own chain’s decentralized identity document and verifiable credentials based on the decentralized identity identification method and public key generation type.

3. According to claim 1, a method for digital identity authentication and key agreement based on relay chain cross-chain is characterized in that: The registration process in step (2) is as follows: The alliance chain to be connected to the relay chain constructs the registration application information, encrypts it with the public key of the relay chain, and sends it to the relay chain. After receiving the information, the relay chain uses its own private key to decrypt it, extracts the decentralized identity and verifiable credentials of the alliance chain, and performs identity verification. If the verification is successful, the relay chain will generate a cross-chain decentralized identity for the alliance chain. The identifier of the cross-chain decentralized identity includes the suffix of the local decentralized identity identifier and adds a universal unique identifier to ensure uniqueness. The document contains the document content of the local decentralized identity of the consortium chain.

4. According to claim 1, a method for digital identity authentication and key agreement based on relay chain cross-chain is characterized in that: The method for generating a decentralized identity of a cross-chain entity in step (3) is as follows: When the alliance chain generates a decentralized identity for a cross-chain entity, a new public-private key pair needs to be generated. The identifier is generated based on the local decentralized identity identifier using a hash function. The document content and verifiable credentials are determined based on the local decentralized identity document, the new public key, and its generation method.

5. According to claim 1, a method for digital identity authentication and key agreement based on relay chain cross-chain is characterized in that: The identity authentication and data security sharing process between alliance chains in step (4) is as follows: First, the initiator alliance chain sends its own decentralized identity to the relay chain, recorded as DID Alice , respond to the decentralized identity of the alliance chain, denoted as DID Bod , timestamp T and random value N, and encrypted with the public key of the relay chain, that is, After receiving the cross-chain transaction request from the initiating alliance chain, the relay link verifies the cross-chain qualification of the initiating alliance chain. If the verification is successful, it proves that the initiating alliance chain has the right to initiate cross-chain transactions. Afterwards, the relay chain generates a sufficiently long random number K as the session key for communication between the initiating alliance chain and the responding alliance chain, and encrypts the decentralized identity of the initiating alliance chain, the decentralized identity of the responding alliance chain, the timestamp T, the random value N and the session key K with the public key of the initiating alliance chain and sends them to the initiating alliance chain, that is, At the same time, the relay chain stores the relevant parameters in the cross-chain transaction request into the blockchain, namely {DID Alice ,DID Bob ,hash(N,T , k)}, ensuring the security and traceability of cross-chain transactions. After the initiator of the alliance link receives the information transmitted by the relay chain, it encrypts its own decentralized identity, timestamp T, random value N and session key K with the public key of the responding alliance chain and sends it to the responding alliance chain, that is, At the same time, the initiating alliance chain also stores the relevant parameters in this cross-chain transaction request in the blockchain. After receiving the information transmitted by the initiating alliance chain, the responding alliance chain sends a query request to the relay chain to confirm the security and authenticity of this cross-chain transaction. If the query is successful, it proves that the transaction is safe, and the initiating alliance chain and the responding alliance chain can share data securely through the session key. At the same time, the responding alliance chain also stores the relevant parameters in this cross-chain transaction request in the blockchain.

Citation Information

Cited By

  • Decentralized single sign-on method based on alliance chain

    CN119728219A

  • Security identity authentication method and system for alliance chain cross-chain interoperation scene

    CN120602096A

  • A security identity authentication method and system for alliance chain cross-chain interoperability scenarios

    CN120602096B