CN115396087B - Identity authentication method, device, equipment and medium based on temporary identity certificate - Google Patents
Identity authentication method, device, equipment and medium based on temporary identity certificate Download PDFInfo
- Publication number
- CN115396087B CN115396087B CN202210700339.7A CN202210700339A CN115396087B CN 115396087 B CN115396087 B CN 115396087B CN 202210700339 A CN202210700339 A CN 202210700339A CN 115396087 B CN115396087 B CN 115396087B
- Authority
- CN
- China
- Prior art keywords
- blockchain
- node
- identity certificate
- temporary
- temporary identity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 107
- 238000012545 processing Methods 0.000 claims abstract description 71
- 230000015654 memory Effects 0.000 claims description 32
- 238000012795 verification Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 16
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000001052 transient effect Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 11
- 238000013461 design Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 210000000554 iris Anatomy 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 3
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
- H04L9/3231—Biological data, e.g. fingerprint, voice or retina
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/088—Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/30—Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/321—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种基于临时身份证书的身份认证方法、装置、设备及介质。The present application relates to the field of communication technology, and in particular to an identity authentication method, device, equipment and medium based on a temporary identity certificate.
背景技术Background technique
区块链,就是一个又一个区块组成的链条。每一个区块中保存了一定的信息,它们按照各自产生的时间顺序连接成链条。这个链条被保存在所有的服务器中,只要整个系统中有一台服务器可以工作,整条区块链就是安全的。这些服务器在区块链系统中被称为节点,它们为整个区块链系统提供存储空间和算力支持。Blockchain is a chain of blocks. Each block stores certain information, and they are connected into a chain in the order of their generation. This chain is stored in all servers. As long as there is a server in the entire system that can work, the entire blockchain is safe. These servers are called nodes in the blockchain system, and they provide storage space and computing power support for the entire blockchain system.
当前区块链中的用户认证依赖于用户的私钥,谁拥有声称用户身份的公钥对应的私钥,谁就是正确的用户,用户必须严密保护私钥的安全,一旦私钥丢失或者泄密,区块链中的所有资产将无法找回。目前,区块链中身份认证方式通常为,将口令作为私钥进行认证。User authentication in the current blockchain relies on the user's private key. Whoever has the private key corresponding to the public key claiming the user's identity is the correct user. The user must strictly protect the security of the private key. Once the private key is lost or leaked, all assets in the blockchain will be irrecoverable. At present, the identity authentication method in the blockchain is usually to use the password as the private key for authentication.
然而,将口令作为私钥容易被泄露或破解,现有技术中的认证方式存在安全性低的技术问题。However, using a password as a private key is easy to be leaked or cracked, and the authentication method in the prior art has a technical problem of low security.
发明内容Summary of the invention
本申请提供一种基于临时身份证书的身份认证方法、装置、设备及介质,以解决现有技术中的将口令作为私钥容易被泄露或破解,认证方式存在安全性低的技术问题。The present application provides an identity authentication method, apparatus, device and medium based on a temporary identity certificate to solve the technical problems in the prior art that passwords are used as private keys and are easily leaked or cracked, and the authentication method has low security.
第一方面,本申请提供一种基于临时身份证书的身份认证方法,应用于第一区块链参与节点,包括:In a first aspect, the present application provides an identity authentication method based on a temporary identity certificate, which is applied to a first blockchain participating node, including:
响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;In response to the authentication request sent by the second blockchain participating node, obtaining a first biometric feature of the first user;
生成临时加密密钥;Generate a temporary encryption key;
将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将所述认证信息发送至第三方区块链节点,以使所述第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对所述第一生物特征进行比对,若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中;The temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier, and the first biometric feature are encrypted with a third-party public key and signed with a first private key to obtain authentication information, and the authentication information is sent to a third-party blockchain node, so that after the third-party blockchain node successfully verifies the first private key signature, it decrypts the authentication information with the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature, and compares the first biometric feature with a preset biometric feature library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain;
获取所述临时身份证书,将所述临时身份证书发送至所述第二区块链参与节点,以使所述第二区块链参与节点根据所述临时身份证书,对所述第一区块链参与节点进行身份认证。Obtain the temporary identity certificate, and send the temporary identity certificate to the second blockchain participating node, so that the second blockchain participating node performs identity authentication on the first blockchain participating node based on the temporary identity certificate.
这里,本申请提供了一种基于临时身份证书的身份认证方法,针对于区块链中的节点,采用权威可信的第三方参与认证,可以通过签发临时身份证书,为其它节点提供安全可靠的认证,若第二区块链参与节点需要对第一区块链参与节点进行认证时,无需掌握第一区块链参与节点的私钥,提高安全性。具体的,若第二区块链参与节点需要对第一区块链参与节点进行认证时,第二区块链参与节点向第一区块链参与节点发起认证请求,第一区块链参与节点可以基于该认证请求向权威第三方即第三方区块链节点请求临时身份证书,第三方区块链参与节点可以基于第一区块链参与节点发送的临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征等信息签发临时身份证书,第一区块链参与节点可以在区块链上获取临时身份证书发给第二区块链参与节点以实现认证,从而完成在不需要拥有私钥的情况下实现身份认证的方法,提高了区块链中参与者身份认证的安全性。Here, the present application provides an identity authentication method based on a temporary identity certificate. For the nodes in the blockchain, an authoritative and trusted third party is used to participate in the authentication. By issuing a temporary identity certificate, a secure and reliable authentication can be provided for other nodes. If the second blockchain participating node needs to authenticate the first blockchain participating node, it is not necessary to master the private key of the first blockchain participating node, thereby improving security. Specifically, if the second blockchain participating node needs to authenticate the first blockchain participating node, the second blockchain participating node initiates an authentication request to the first blockchain participating node. The first blockchain participating node can request a temporary identity certificate from the authoritative third party, that is, the third-party blockchain node, based on the authentication request. The third-party blockchain participating node can issue a temporary identity certificate based on the temporary encryption key sent by the first blockchain participating node, the first blockchain participating node identifier, the second blockchain participating node identifier, and the first biometric feature. The first blockchain participating node can obtain a temporary identity certificate on the blockchain and send it to the second blockchain participating node to achieve authentication, thereby completing the method of achieving identity authentication without the need to have a private key, thereby improving the security of identity authentication of participants in the blockchain.
可选地,在所述获取所述临时身份证书之前,还包括:Optionally, before obtaining the temporary identity certificate, the method further includes:
在区块链中发起查询费用支付申请;Initiate a query fee payment request in the blockchain;
相应的,在所述将所述临时身份证书发送至所述第二区块链参与节点之后,还包括:Accordingly, after sending the temporary identity certificate to the second blockchain participating node, the method further includes:
在区块链中获取查询费用,并根据所述查询费用进行支付处理。Obtain query fees in the blockchain and perform payment processing based on the query fees.
其中,区块链参与者可以在进行认证请求过程中,在区块链中发起查询费用支付申请,以实现身份认证的自动支付,提高了用户体验。Among them, blockchain participants can initiate a query fee payment application in the blockchain during the authentication request process to realize automatic payment of identity authentication, thereby improving user experience.
可选地,在所述响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征之前,还包括:Optionally, before obtaining the first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node, the method further includes:
在第三方区块链节点进行验证信息注册,其中,所述验证信息包括所述第一用户的生物特征数据与身份信息的对应关系。Verification information is registered at a third-party blockchain node, wherein the verification information includes a correspondence between the biometric data and the identity information of the first user.
其中,每个区块链参与者在进行身份认证之前,首先可以在权威可信的第三方(第三方区块链节点)注册自己的生物特征数据(比如指纹、虹膜) 和身份信息(该身份信息可以为区块链上的虚拟身份比如说区块链标识和公钥来代表该区块链参与者)的对应关系,以便于第三方区块链节点根据注册的信息进行认证。Among them, before each blockchain participant performs identity authentication, he or she can first register the correspondence between his or her biometric data (such as fingerprints, irises) and identity information (the identity information can be a virtual identity on the blockchain, such as a blockchain identifier and a public key to represent the blockchain participant) with an authoritative and trusted third party (third-party blockchain node) so that the third-party blockchain node can perform authentication based on the registered information.
可选地,在所述在第三方区块链节点进行验证信息注册之后,还包括:Optionally, after registering the verification information in the third-party blockchain node, the method further includes:
接收第三方区块链节点发送的第三方区块链标识和第三方公钥。Receive the third-party blockchain identifier and third-party public key sent by the third-party blockchain node.
第二方面,本申请提供了一种基于临时身份证书的身份认证方法,应用于第三方区块链节点,包括:In the second aspect, the present application provides an identity authentication method based on a temporary identity certificate, which is applied to a third-party blockchain node, including:
接收第一区块链参与节点发送的认证信息,其中,所述认证信息为所述第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理得到的;Receiving authentication information sent by the first blockchain participating node, wherein the authentication information is obtained by the first blockchain participating node in response to the authentication request sent by the second blockchain participating node, and obtaining the first biometric feature of the first user; generating a temporary encryption key; performing third-party public key encryption processing and first private key signing processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier, and the first biometric feature;
在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征;After the first private key signature is successfully verified, the authentication information is decrypted using the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature;
根据预设生物特征库对所述第一生物特征进行比对;Comparing the first biometric feature with a preset biometric feature library;
若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中,以使所述第一区块链参与节点获取所述临时身份证书,将所述临时身份证书发送至所述第二区块链参与节点,其中,所述临时身份证书用于所述第二区块链参与节点对所述第一区块链参与节点进行身份认证。If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain, so that the first blockchain participating node obtains the temporary identity certificate, and the temporary identity certificate is sent to the second blockchain participating node, wherein the temporary identity certificate is used by the second blockchain participating node to authenticate the first blockchain participating node.
这里,本申请提供的基于临时身份证书的身份认证方法应用于第三方区块链节点,即权威第三方,此第三方区块链节点对生物特征进行集中保存,为所有的用户提供生物特征比对服务,并在比对成功后为其它区块链参与节点签发临时身份证书,从而完成在不需要拥有私钥的情况下完成身份认证,提高了区块链中身份认证的准确性及安全性。Here, the identity authentication method based on temporary identity certificates provided in this application is applied to a third-party blockchain node, that is, an authoritative third party. This third-party blockchain node centrally stores biometric features, provides biometric feature matching services for all users, and issues temporary identity certificates to other blockchain participating nodes after the matching is successful, thereby completing identity authentication without the need to possess a private key, thereby improving the accuracy and security of identity authentication in the blockchain.
可选地,所述根据预设生物特征库对所述第一生物特征进行比对,包括:Optionally, comparing the first biometric feature according to a preset biometric feature library includes:
根据所述认证信息中的第一区块链参与节点标识,在预设生物特征库中进行查询,确定所述第一区块链参与节点标识对应的预设生物特征;According to the first blockchain participating node identifier in the authentication information, query in a preset biometric database to determine a preset biometric corresponding to the first blockchain participating node identifier;
将所述预设生物特征与所述第一生物特征进行比对。The preset biometric feature is compared with the first biometric feature.
其中,本申请中的第三方区块链参与节点可以基于认证信息中的第一区块链参与节点标识,在预设生物特征库中确定第一区块链参与节点对应的预设生物特征,从而识别第一区块链参与节点的身份,实现准确、高效的身份识别和认证,进一步地提高了身份认证的安全性和稳定性,提高了区块链信息传输的安全性。Among them, the third-party blockchain participating node in the present application can determine the preset biometric corresponding to the first blockchain participating node in the preset biometric library based on the first blockchain participating node identifier in the authentication information, thereby identifying the identity of the first blockchain participating node, achieving accurate and efficient identity identification and authentication, further improving the security and stability of identity authentication, and improving the security of blockchain information transmission.
可选地,所述给所述第一区块链参与节点签发临时身份证书,包括:Optionally, issuing a temporary identity certificate to the first blockchain participating node includes:
给所述第一区块链参与节点签发由所述第三方区块链参与节点签名的临时身份证书,其中,所述临时身份证书包括所述第一区块链参与节点标识、所述第二区块链参与节点标识、当前时间信息、随机数和通过所述临时加密密钥加密所述随机数得到的加密结果。A temporary identity certificate signed by the third-party blockchain participating node is issued to the first blockchain participating node, wherein the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with the temporary encryption key.
这里,本申请的第三方区块链节点在为第一区块链参与节点签发临时身份证书时,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果,便于第二区块链参与节点进行准确、安全的认证。Here, when the third-party blockchain node of the present application issues a temporary identity certificate for the first blockchain participating node, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with a temporary encryption key, so as to facilitate accurate and secure authentication of the second blockchain participating node.
第三方面,本申请提供了一种基于临时身份证书的身份认证方法,应用于第二区块链参与节点,包括:In a third aspect, the present application provides an identity authentication method based on a temporary identity certificate, which is applied to a second blockchain participating node, including:
向第一区块链参与节点发送认证请求,以使所述第一区块链参与节点响应于所述认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将所述认证信息发送至第三方区块链节点;获取临时身份证书,将所述临时身份证书发送至第二区块链参与节点,其中,所述认证信息用于所述第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对所述第一生物特征进行比对,若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中;Send an authentication request to the first blockchain participating node, so that the first blockchain participating node responds to the authentication request and obtains the first biometric feature of the first user; generates a temporary encryption key; performs third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and sends the authentication information to the third-party blockchain node; obtains a temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node, wherein the authentication information is used by the third-party blockchain node to decrypt the authentication information through the third-party private key after successfully verifying the first private key signature, obtain the first blockchain participating node identifier and the first biometric feature, and compare the first biometric feature according to a preset biometric feature library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain;
接收所述第一区块链参与节点发送的临时身份证书;Receiving a temporary identity certificate sent by the first blockchain participating node;
根据所述临时身份证书,对所述第一区块链参与节点进行身份认证。According to the temporary identity certificate, the identity of the first blockchain participating node is authenticated.
这里,本申请提供的基于临时身份证书的身份认证方法应用于发起认证的第二区块链参与节点,当第二区块链参与节点需要对其它节点即第一区块链参与节点发起身份认证时,向第一区块链参与节点发送认证请求,第一区块链参与节点会根据此认证请求向第三方区块链节点请求临时身份证书,第二区块链参与节点可以根据此临时身份证书对第一区块链参与节点进行身份认证,无需拥有第一区块链参与节点的私钥即可实现身份认证,提高了身份认证的安全性及可靠性。Here, the identity authentication method based on temporary identity certificate provided in this application is applied to the second blockchain participating node that initiates authentication. When the second blockchain participating node needs to initiate identity authentication for other nodes, namely the first blockchain participating node, it sends an authentication request to the first blockchain participating node. The first blockchain participating node will request a temporary identity certificate from the third-party blockchain node based on this authentication request. The second blockchain participating node can perform identity authentication on the first blockchain participating node based on this temporary identity certificate. Identity authentication can be achieved without having the private key of the first blockchain participating node, thereby improving the security and reliability of identity authentication.
可选地,所述临时身份证书包括所述第一区块链参与节点标识、所述第二区块链参与节点标识、当前时间信息、随机数和通过所述临时加密密钥加密所述随机数得到的加密结果;Optionally, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with the temporary encryption key;
相应的,接收所述第一区块链参与节点发送的临时身份证书,包括:Correspondingly, receiving the temporary identity certificate sent by the first blockchain participating node includes:
接收所述第一区块链参与节点发送的临时身份证书和所述临时加密密钥;Receiving the temporary identity certificate and the temporary encryption key sent by the first blockchain participating node;
所述根据所述临时身份证书,对所述第一区块链参与节点进行身份认证,包括:The step of authenticating the first blockchain participating node according to the temporary identity certificate includes:
根据所述临时加密密钥,对所述临时身份证书中的所述随机数进行加密,得到认证加密结果;Encrypt the random number in the temporary identity certificate according to the temporary encryption key to obtain an authentication encryption result;
根据所述认证加密结果和所述临时加密密钥加密所述随机数得到的加密结果,对所述第一区块链参与节点进行身份认证。The identity of the first blockchain participating node is authenticated according to the authentication encryption result and the encryption result obtained by encrypting the random number with the temporary encryption key.
这里,本申请提供的第二区块链参与节点可以对临时身份证书进行认证,从而实现对第一区块链参与节点的身份身份认证,通过临时加密密钥和临时身份证书中的临时加密密钥加密随机数得到的加密结果进行比对,无需获取第一区块链参与节点的私钥,进一步地提高了身份认证的安全性。Here, the second blockchain participating node provided by the present application can authenticate the temporary identity certificate, thereby realizing identity authentication of the first blockchain participating node, and compare the encryption result obtained by encrypting the random number with the temporary encryption key in the temporary identity certificate, without obtaining the private key of the first blockchain participating node, thereby further improving the security of identity authentication.
第四方面,本申请提供了一种基于临时身份证书的身份认证方法,应用于包括第一区块链参与节点、第二区块链参与节点和第三方区块链节点的身份认证系统,所述方法包括:In a fourth aspect, the present application provides an identity authentication method based on a temporary identity certificate, which is applied to an identity authentication system including a first blockchain participating node, a second blockchain participating node, and a third-party blockchain node, the method comprising:
第二区块链参与节点向第一区块链参与节点发送认证请求;The second blockchain participating node sends an authentication request to the first blockchain participating node;
第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;The first blockchain participating node obtains a first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node;
第一区块链参与节点生成临时加密密钥;The first blockchain participating node generates a temporary encryption key;
第一区块链参与节点将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息;The first blockchain participating node performs third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier, and the first biometric feature to obtain authentication information;
第一区块链参与节点将所述认证信息发送至第三方区块链节点;The first blockchain participating node sends the authentication information to the third-party blockchain node;
第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征;After successfully verifying the signature of the first private key, the third-party blockchain node decrypts the authentication information using the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature;
第三方区块链节点根据预设生物特征库对所述第一生物特征进行比对;The third-party blockchain node compares the first biometric feature with a preset biometric feature library;
第三方区块链节点若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中;If the comparison is successful, the third-party blockchain node issues a temporary identity certificate to the first blockchain participating node and broadcasts the temporary identity certificate to the blockchain;
第一区块链参与节点获取所述临时身份证书,将所述临时身份证书发送至所述第二区块链参与节点;The first blockchain participating node obtains the temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node;
第二区块链参与节点接收所述第一区块链参与节点发送的临时身份证书;The second blockchain participating node receives the temporary identity certificate sent by the first blockchain participating node;
第二区块链参与节点根据所述临时身份证书,对所述第一区块链参与节点进行身份认证。The second blockchain participating node performs identity authentication on the first blockchain participating node based on the temporary identity certificate.
第五方面,本申请提供了一种基于临时身份证书的身份认证装置,应用于第一区块链参与节点,包括:In a fifth aspect, the present application provides an identity authentication device based on a temporary identity certificate, which is applied to a first blockchain participating node, including:
第一获取模块,用于响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;A first acquisition module, configured to acquire a first biometric feature of a first user in response to an authentication request sent by a second blockchain participating node;
生成模块,用于生成临时加密密钥;A generation module, used for generating a temporary encryption key;
第一处理模块,用于将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将所述认证信息发送至第三方区块链节点,以使所述第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对所述第一生物特征进行比对,若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中;A first processing module is used to perform third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and send the authentication information to a third-party blockchain node, so that the third-party blockchain node decrypts the authentication information by using the third-party private key after successfully verifying the first private key signature, obtains the first blockchain participating node identifier and the first biometric feature, compares the first biometric feature according to a preset biometric feature library, and if the comparison is successful, issues a temporary identity certificate to the first blockchain participating node, and broadcasts the temporary identity certificate to the blockchain;
第二处理模块,用于获取所述临时身份证书,将所述临时身份证书发送至所述第二区块链参与节点,以使所述第二区块链参与节点根据所述临时身份证书,对所述第一区块链参与节点进行身份认证。The second processing module is used to obtain the temporary identity certificate and send the temporary identity certificate to the second blockchain participating node, so that the second blockchain participating node performs identity authentication on the first blockchain participating node according to the temporary identity certificate.
可选地,在所述第二处理模块获取所述临时身份证书之前,上述装置还包括:Optionally, before the second processing module obtains the temporary identity certificate, the apparatus further includes:
支付发起模块,用于在区块链中发起查询费用支付申请;The payment initiation module is used to initiate a query fee payment application in the blockchain;
相应的,在所述第二处理模块将所述临时身份证书发送至所述第二区块链参与节点之后,上述装置还包括:Correspondingly, after the second processing module sends the temporary identity certificate to the second blockchain participating node, the above-mentioned device further includes:
支付处理模块,用于在区块链中获取查询费用,并根据所述查询费用进行支付处理。The payment processing module is used to obtain the query fee in the blockchain and perform payment processing based on the query fee.
可选地,在所述第一获取模块响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征之前,上述装置还包括:Optionally, before the first acquisition module acquires the first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node, the apparatus further includes:
注册模块,用于在第三方区块链节点进行验证信息注册,其中,所述验证信息包括所述第一用户的生物特征数据与身份信息的对应关系。A registration module is used to register verification information in a third-party blockchain node, wherein the verification information includes a correspondence between the biometric data and the identity information of the first user.
可选地,在所述注册模块在第三方区块链节点进行验证信息注册之后,还包括:Optionally, after the registration module registers the verification information in the third-party blockchain node, it also includes:
第一接收模块,用于接收第三方区块链节点发送的第三方区块链标识和第三方公钥。The first receiving module is used to receive a third-party blockchain identifier and a third-party public key sent by a third-party blockchain node.
第六方面,本申请提供了一种基于临时身份证书的身份认证装置,应用于第三方区块链节点,包括:In a sixth aspect, the present application provides an identity authentication device based on a temporary identity certificate, which is applied to a third-party blockchain node, including:
第二接收模块,用于接收第一区块链参与节点发送的认证信息,其中,所述认证信息为所述第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理得到的;A second receiving module is used to receive authentication information sent by the first blockchain participating node, wherein the authentication information is obtained by the first blockchain participating node in response to the authentication request sent by the second blockchain participating node, obtaining the first biometric feature of the first user; generating a temporary encryption key; and performing third-party public key encryption processing and first private key signing processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier, and the first biometric feature;
第三处理模块,用于在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征;A third processing module is used to decrypt the authentication information by using a third-party private key after successfully verifying the signature of the first private key, so as to obtain the first blockchain participating node identifier and the first biometric feature;
比对模块,用于根据预设生物特征库对所述第一生物特征进行比对;A comparison module, used for comparing the first biometric feature with a preset biometric feature library;
第四处理模块,用于若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中,以使所述第一区块链参与节点获取所述临时身份证书,将所述临时身份证书发送至所述第二区块链参与节点,其中,所述临时身份证书用于所述第二区块链参与节点对所述第一区块链参与节点进行身份认证。The fourth processing module is used to issue a temporary identity certificate to the first blockchain participating node if the comparison is successful, and broadcast the temporary identity certificate to the blockchain so that the first blockchain participating node obtains the temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node, wherein the temporary identity certificate is used by the second blockchain participating node to authenticate the first blockchain participating node.
可选地,所述比对模块具体用于:Optionally, the comparison module is specifically used for:
根据所述认证信息中的第一区块链参与节点标识,在预设生物特征库中进行查询,确定所述第一区块链参与节点标识对应的预设生物特征;According to the first blockchain participating node identifier in the authentication information, query in a preset biometric database to determine a preset biometric corresponding to the first blockchain participating node identifier;
将所述预设生物特征与所述第一生物特征进行比对。The preset biometric feature is compared with the first biometric feature.
可选地,所述第四处理模块具体用于:Optionally, the fourth processing module is specifically configured to:
给所述第一区块链参与节点签发由所述第三方区块链参与节点签名的临时身份证书,其中,所述临时身份证书包括所述第一区块链参与节点标识、所述第二区块链参与节点标识、当前时间信息、随机数和通过所述临时加密密钥加密所述随机数得到的加密结果。A temporary identity certificate signed by the third-party blockchain participating node is issued to the first blockchain participating node, wherein the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with the temporary encryption key.
第七方面,本申请提供了一种基于临时身份证书的身份认证装置,应用于第二区块链参与节点,包括:In a seventh aspect, the present application provides an identity authentication device based on a temporary identity certificate, which is applied to a second blockchain participating node, including:
第一发送模块,用于向第一区块链参与节点发送认证请求,以使所述第一区块链参与节点响应于所述认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将所述临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和所述第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将所述认证信息发送至第三方区块链节点;获取临时身份证书,将所述临时身份证书发送至第二区块链参与节点,其中,所述认证信息用于所述第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对所述认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对所述第一生物特征进行比对,若比对成功,则给所述第一区块链参与节点签发临时身份证书,并将所述临时身份证书广播至区块链中;A first sending module is used to send an authentication request to a first blockchain participating node, so that the first blockchain participating node responds to the authentication request and obtains a first biometric feature of the first user; generates a temporary encryption key; performs third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and sends the authentication information to the third-party blockchain node; obtains a temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node, wherein the authentication information is used by the third-party blockchain node to decrypt the authentication information through the third-party private key after successfully verifying the first private key signature, obtain the first blockchain participating node identifier and the first biometric feature, and compare the first biometric feature according to a preset biometric feature library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain;
第三接收模块,用于接收所述第一区块链参与节点发送的临时身份证书;A third receiving module, used to receive a temporary identity certificate sent by the first blockchain participating node;
认证模块,用于根据所述临时身份证书,对所述第一区块链参与节点进行身份认证。An authentication module is used to perform identity authentication on the first blockchain participating node based on the temporary identity certificate.
可选地,所述临时身份证书包括所述第一区块链参与节点标识、所述第二区块链参与节点标识、当前时间信息、随机数和通过所述临时加密密钥加密所述随机数得到的加密结果;Optionally, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with the temporary encryption key;
相应的,所述第三接收模块具体用于:Accordingly, the third receiving module is specifically used for:
接收所述第一区块链参与节点发送的临时身份证书和所述临时加密密钥;Receiving the temporary identity certificate and the temporary encryption key sent by the first blockchain participating node;
所述认证模块具体用于:The authentication module is specifically used for:
根据所述临时加密密钥,对所述临时身份证书中的所述随机数进行加密,得到认证加密结果;Encrypt the random number in the temporary identity certificate according to the temporary encryption key to obtain an authentication encryption result;
根据所述认证加密结果和所述临时加密密钥加密所述随机数得到的加密结果,对所述第一区块链参与节点进行身份认证。The identity of the first blockchain participating node is authenticated according to the authentication encryption result and the encryption result obtained by encrypting the random number with the temporary encryption key.
第八方面,本申请提供一种基于临时身份证书的身份认证设备,包括:至少一个处理器和存储器;In an eighth aspect, the present application provides an identity authentication device based on a temporary identity certificate, comprising: at least one processor and a memory;
所述存储器存储计算机执行指令;The memory stores computer-executable instructions;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能的设计所述的基于临时身份证书的身份认证方法。The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the identity authentication method based on a temporary identity certificate as described in the first aspect and various possible designs of the first aspect.
第九方面,本申请提供一种基于临时身份证书的身份认证设备,包括:至少一个处理器和存储器;In a ninth aspect, the present application provides an identity authentication device based on a temporary identity certificate, comprising: at least one processor and a memory;
所述存储器存储计算机执行指令;The memory stores computer-executable instructions;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第二方面以及第二方面各种可能的设计所述的基于临时身份证书的身份认证方法。The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the identity authentication method based on a temporary identity certificate as described in the second aspect and various possible designs of the second aspect.
第十方面,本申请提供一种基于临时身份证书的身份认证设备,包括:至少一个处理器和存储器;In a tenth aspect, the present application provides an identity authentication device based on a temporary identity certificate, comprising: at least one processor and a memory;
所述存储器存储计算机执行指令;The memory stores computer-executable instructions;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第三方面以及第三方面各种可能的设计所述的基于临时身份证书的身份认证方法。The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the identity authentication method based on a temporary identity certificate as described in the third aspect and various possible designs of the third aspect.
第十一方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的基于临时身份证书的身份认证方法。In the eleventh aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the processor executes the computer execution instructions, the identity authentication method based on the temporary identity certificate as described in the first aspect and various possible designs of the first aspect is implemented.
第十二方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第二方面以及第二方面各种可能的设计所述的基于临时身份证书的身份认证方法。In the twelfth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the processor executes the computer execution instructions, it implements the identity authentication method based on the temporary identity certificate as described in the second aspect and various possible designs of the second aspect.
第十三方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第三方面以及第三方面各种可能的设计所述的基于临时身份证书的身份认证方法。In the thirteenth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the processor executes the computer execution instructions, it implements the identity authentication method based on the temporary identity certificate as described in the third aspect and various possible designs of the third aspect.
第十四方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现如上第一方面以及第一方面各种可能的设计所述的基于临时身份证书的身份认证方法。In a fourteenth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the identity authentication method based on a temporary identity certificate as described in the first aspect and various possible designs of the first aspect.
第十五方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现如上第二方面以及第二方面各种可能的设计所述的基于临时身份证书的身份认证方法。In a fifteenth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the identity authentication method based on a temporary identity certificate as described in the second aspect and various possible designs of the second aspect.
第十六方面,本申请提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现如上第三方面以及第三方面各种可能的设计所述的基于临时身份证书的身份认证方法。In a sixteenth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the identity authentication method based on a temporary identity certificate as described in the third aspect and various possible designs of the third aspect.
本申请提供的基于临时身份证书的身份认证方法、装置、服务器及存储介质,其中该方法提供了一种基于临时身份证书的身份认证方法,针对于区块链中的节点,采用权威可信的第三方参与认证,可以提供安全可靠的认证,具体的,若第二区块链参与节点需要对第一区块链参与节点进行认证时,第二区块链参与节点向第一区块链参与节点发起认证请求,第一区块链参与节点可以基于该认证请求向权威第三方即第三方区块链节点请求临时身份证书,第三方区块链参与节点可以基于第一区块链参与节点发送的临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征等信息签发临时身份证书,第一区块链参与节点可以在区块链上获取临时身份证书发给第二区块链参与节点以实现认证,从而完成在不需要拥有私钥的情况下实现身份认证的方法,提高了区块链中参与者身份认证的安全性。The present application provides an identity authentication method, device, server and storage medium based on a temporary identity certificate, wherein the method provides an identity authentication method based on a temporary identity certificate. For nodes in a blockchain, an authoritative and trusted third party is used to participate in the authentication, which can provide safe and reliable authentication. Specifically, if the second blockchain participating node needs to authenticate the first blockchain participating node, the second blockchain participating node initiates an authentication request to the first blockchain participating node. The first blockchain participating node can request a temporary identity certificate from the authoritative third party, i.e., the third-party blockchain node, based on the authentication request. The third-party blockchain participating node can issue a temporary identity certificate based on the temporary encryption key sent by the first blockchain participating node, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature, etc. The first blockchain participating node can obtain the temporary identity certificate on the blockchain and send it to the second blockchain participating node to achieve authentication, thereby completing the method of achieving identity authentication without the need to possess a private key, thereby improving the security of identity authentication of participants in the blockchain.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1为本申请实施例提供的一种基于临时身份证书的身份认证系统架构示意图;FIG1 is a schematic diagram of an identity authentication system architecture based on a temporary identity certificate provided in an embodiment of the present application;
图2为本申请实施例提供的一种基于临时身份证书的身份认证方法的流程示意图;FIG2 is a schematic diagram of a flow chart of an identity authentication method based on a temporary identity certificate provided in an embodiment of the present application;
图3为本申请实施例提供的另一种基于临时身份证书的身份认证方法的流程示意图;FIG3 is a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application;
图4为本申请实施例提供的再一种基于临时身份证书的身份认证方法的流程示意图;FIG4 is a schematic diagram of a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application;
图5为本申请实施例提供的又一种基于临时身份证书的身份认证方法的流程示意图;FIG5 is a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application;
图6为本申请实施例提供的一种基于临时身份证书的身份认证装置的结构示意图;FIG6 is a schematic diagram of the structure of an identity authentication device based on a temporary identity certificate provided in an embodiment of the present application;
图7为本申请实施例提供的一种基于临时身份证书的身份认证设备的结构示意图;FIG7 is a schematic diagram of the structure of an identity authentication device based on a temporary identity certificate provided in an embodiment of the present application;
图8为本申请实施例提供的另一种基于临时身份证书的身份认证装置的结构示意图;FIG8 is a schematic diagram of the structure of another identity authentication device based on a temporary identity certificate provided in an embodiment of the present application;
图9为本申请实施例提供的又一种基于临时身份证书的身份认证装置的结构示意图。FIG9 is a schematic diagram of the structure of another identity authentication device based on a temporary identity certificate provided in an embodiment of the present application.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。The above drawings have shown clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”及“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
本申请的技术方案中,所涉及的用户数据等信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user data and other information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
区块链是一种特殊的分布式数据库。区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式,本质上是一个去中心化的数据库。首先,区块链的主要作用是储存信息,任何需要保存的信息,都可以写入区块链,也可以从里面读取,所以它是数据库;其次,任何人都可以架设服务器,加入区块链网络,成为一个节点。区块链的世界里面,没有中心节点,每个节点都是平等的,都保存着整个数据库,可以向任何一个节点,写入/读取数据,因为所有节点最后都会同步,保证区块链一致。区块链是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。狭义来讲,区块链是一种按照时间顺序将数据区块以顺序相连的方式组合成的一种链式数据结构,并以密码学方式保证的不可篡改和不可伪造的分布式账本。广义来讲,区块链技术是利用块链式数据结构来验证与存储数据、利用分布式节点共识算法来生成和更新数据、利用密码学的方式保证数据传输和访问的安全、利用由自动化脚本代码组成的智能合约来编程和操作数据的一种全新的分布式基础架构与计算范式。区块链的设计是一种保护措施,比如(应用于)高容错的分布式计算系统。区块链使混合一致性成为可能。这使区块链适合记录事件、标题、医疗记录和其他需要收录数据的活动、身份识别管理,交易流程管理和出处证明管理。Blockchain is a special distributed database. Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. It is essentially a decentralized database. First of all, the main function of blockchain is to store information. Any information that needs to be saved can be written into the blockchain and read from it, so it is a database; secondly, anyone can set up a server, join the blockchain network, and become a node. In the world of blockchain, there is no central node. Each node is equal and stores the entire database. Data can be written/read to any node because all nodes will be synchronized in the end to ensure the consistency of the blockchain. Blockchain is a string of data blocks generated by cryptographic methods. Each data block contains information about a network transaction, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and a distributed ledger that is cryptographically guaranteed to be tamper-proof and unforgeable. In a broad sense, blockchain technology is a new distributed infrastructure and computing paradigm that uses block chain data structures to verify and store data, distributed node consensus algorithms to generate and update data, cryptography to ensure the security of data transmission and access, and smart contracts composed of automated script codes to program and operate data. The design of blockchain is a protection measure, such as (applied to) highly fault-tolerant distributed computing systems. Blockchain makes hybrid consistency possible. This makes blockchain suitable for recording events, titles, medical records and other activities that require data collection, identity management, transaction process management and provenance management.
当前区块链中的用户认证依赖用户的私钥,谁拥有声称用户身份的公钥对应的私钥,谁就是正确的用户。但是要求用户必须特别严密的保护私钥的安全,一旦私钥丢失或者泄密则区块链中的所有资产则再也无法找回。而传统常用的口令的方式容易记忆但易被破解,基于指纹/虹膜等生物特征的方式被寄予厚望,但是生物特征只适合在本地认证,一旦发送给认证方,则意味着该生物特征被对方掌握,则很容易被恶意使用从而造成生物特征泄露。User authentication in the current blockchain relies on the user's private key. Whoever has the private key corresponding to the public key claiming the user's identity is the correct user. However, users are required to strictly protect the security of their private keys. Once the private key is lost or leaked, all assets in the blockchain can no longer be recovered. The traditional commonly used password method is easy to remember but easy to crack. The method based on biometrics such as fingerprints/irises is highly anticipated, but biometrics are only suitable for local authentication. Once sent to the authenticator, it means that the biometric is in the hands of the other party, which can easily be used maliciously and cause biometric leakage.
为了解决上述技术问题,本申请实施例提供一种基于临时身份证书的身份认证方法、装置、服务器及存储介质,针对于区块链中的节点,采用权威可信的第三方参与认证,可以通过签发临时身份证书,为其它节点提供安全可靠的认证,若第二区块链参与节点需要对第一区块链参与节点进行认证时,无需掌握第一区块链参与节点的私钥,提高安全性。In order to solve the above technical problems, the embodiments of the present application provide an identity authentication method, device, server and storage medium based on a temporary identity certificate. For the nodes in the blockchain, an authoritative and trusted third party is used to participate in the authentication. By issuing a temporary identity certificate, a secure and reliable authentication can be provided for other nodes. If the second blockchain participating node needs to authenticate the first blockchain participating node, it is not necessary to know the private key of the first blockchain participating node, thereby improving security.
可选地,图1为本申请实施例提供的一种基于临时身份证书的身份认证系统架构示意图。如图1所示,上述架构包括第一区块链参与节点101、第三方区块链节点102和第二区块链参与节点103。Optionally, Figure 1 is a schematic diagram of an identity authentication system architecture based on a temporary identity certificate provided in an embodiment of the present application. As shown in Figure 1, the above architecture includes a first blockchain participating node 101, a third-party blockchain node 102, and a second blockchain participating node 103.
可以理解的是,上述第一区块链参与节点101、第三方区块链节点102 和第二区块链参与节点103的数量可以根据实际情况确定,图1仅是示意性的,本申请实施例对于上述节点的数目不作具体限制。It can be understood that the number of the above-mentioned first blockchain participating node 101, third-party blockchain node 102 and second blockchain participating node 103 can be determined according to actual conditions. Figure 1 is only schematic, and the embodiment of the present application does not specifically limit the number of the above-mentioned nodes.
上述第一区块链参与节点101、第三方区块链节点102和第二区块链参与节点103均是区块链中的节点,任意两个节点之间都可以实现通信(本申请中需要不同性质节点之间实现通信连接,例如第三方区块链节点向第一区块链参与节点和第二区块链参与节点广播信息,图1中仅用连接线表示出了不同性质节点之间的通信连接)。The above-mentioned first blockchain participating node 101, third-party blockchain node 102 and second blockchain participating node 103 are all nodes in the blockchain, and communication can be achieved between any two nodes (in this application, communication connection is required between nodes of different natures, for example, the third-party blockchain node broadcasts information to the first blockchain participating node and the second blockchain participating node. In Figure 1, only connecting lines are used to indicate the communication connection between nodes of different natures).
其中,用户可以与第一区块链参与节点、第三方区块链节点或者第二区块链参与节点通过输入\输出设备实现信息交互。Among them, users can interact with the first blockchain participating node, the third-party blockchain node or the second blockchain participating node through input\output devices.
可以理解的是,本申请实施例示意的结构并不构成对基于临时身份证书的身份认证系统架构的具体限定。在本申请另一些可行的实施方式中,上述架构可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置,具体可根据实际应用场景确定,在此不做限制。图1所示的部件可以以硬件,软件,或软件与硬件的组合实现。It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the architecture of the identity authentication system based on temporary identity certificates. In other feasible implementations of the present application, the above architecture may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. The components shown in Figure 1 can be implemented in hardware, software, or a combination of software and hardware.
另外,本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
下面以几个实施例为例对本申请的技术方案进行描述,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solution of the present application is described below by taking several embodiments as examples, and the same or similar concepts or processes may not be repeated in some embodiments.
图2为本申请实施例提供的一种基于临时身份证书的身份认证方法的流程示意图,本申请实施例可以应用于图1中的第一区块链参与节点101,第一区块链参与节点101可以是服务器,具体执行主体可以根据实际应用场景确定。如图2所示,该方法包括如下步骤:FIG2 is a flow chart of an identity authentication method based on a temporary identity certificate provided by an embodiment of the present application. The embodiment of the present application can be applied to the first blockchain participating node 101 in FIG1 . The first blockchain participating node 101 can be a server. The specific execution subject can be determined according to the actual application scenario. As shown in FIG2 , the method includes the following steps:
S201:响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征。S201: In response to an authentication request sent by a second blockchain participating node, obtaining a first biometric feature of a first user.
在本申请实施例中,为便于举例,第二区块链参与节点也可以称作区块链参与者B,第一区块链参与节点也可以称作区块链参与者A。In the embodiment of the present application, for the sake of convenience of example, the second blockchain participating node may also be referred to as blockchain participant B, and the first blockchain participating node may also be referred to as blockchain participant A.
在一种可能的实现方式中,第二区块链参与节点为区块链参与者B,第一区块链参与节点为区块链参与者A,当区块链参与者B需要对区块链参与者A进行身份认证的时候,区块链参与者B对区块链参与者A发起认证请求。In one possible implementation, the second blockchain participant node is blockchain participant B, and the first blockchain participant node is blockchain participant A. When blockchain participant B needs to authenticate the identity of blockchain participant A, blockchain participant B initiates an authentication request to blockchain participant A.
可选地,这里的第一用户为第一区块链参与节点归属用户,例如第一区块链参与节点为终端,则为终端的使用者,若第一区块链节点为服务器,则第一用户为服务器操作者。Optionally, the first user here is a user belonging to the first blockchain participating node. For example, if the first blockchain participating node is a terminal, the first user is a user of the terminal. If the first blockchain node is a server, the first user is a server operator.
可选地,这里的第一生物特征为第一区块链参与节点获取到的第一用户的生物特征,可以是指纹特征或者虹膜特征,也可以是面部图像等。Optionally, the first biometric feature here is a biometric feature of the first user acquired by the first blockchain participating node, which may be a fingerprint feature or an iris feature, or a facial image, etc.
可选地,可以通过终端或者采集设备获取第一用户的生物特征,具体地,可以通过摄像头、传感器等设备采集生物特征。Optionally, the biometric features of the first user may be acquired through a terminal or a collection device. Specifically, the biometric features may be collected through devices such as a camera and a sensor.
在一种可能的实现方式中,若区块链参与者A为第一区块链参与节点,区块链参与者A采集自己的生物特征比如FingerPrintA’。In one possible implementation, if blockchain participant A is the first blockchain participating node, blockchain participant A collects his own biometrics such as FingerPrintA’.
可选地,在响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征之前,还包括:Optionally, before obtaining the first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node, the method further includes:
在第三方区块链节点进行验证信息注册,其中,验证信息包括第一用户的生物特征数据与身份信息的对应关系。Verification information is registered at a third-party blockchain node, wherein the verification information includes a correspondence between the biometric data and the identity information of the first user.
其中,每个区块链参与者在进行身份认证之前,首先可以在权威可信的第三方(第三方区块链节点)注册自己的生物特征数据(比如指纹、虹膜) 和身份信息(该身份信息可以为区块链上的虚拟身份比如说区块链标识和公钥来代表该区块链参与者)的对应关系,以便于第三方区块链节点根据注册的信息进行认证。Among them, before each blockchain participant performs identity authentication, he or she can first register the correspondence between his or her biometric data (such as fingerprints, irises) and identity information (the identity information can be a virtual identity on the blockchain, such as a blockchain identifier and a public key to represent the blockchain participant) with an authoritative and trusted third party (third-party blockchain node) so that the third-party blockchain node can perform authentication based on the registered information.
其中,验证信息包括第一用户的生物特征数据与身份信息的对应关系。The verification information includes the correspondence between the biometric data and the identity information of the first user.
在一种可能的实现方式中,每个区块链参与者首先在权威可信的第三方注册自己的生物特征数据(比如指纹、虹膜)和身份信息(该身份信息可以为区块链上的虚拟身份比如说区块链标识和公钥来代表该区块链参与者)的对应关系。In one possible implementation, each blockchain participant first registers the correspondence between his or her biometric data (such as fingerprints, irises) and identity information (the identity information can be a virtual identity on the blockchain, such as a blockchain identifier and a public key to represent the blockchain participant) with an authoritative and trusted third party.
可选地,注册方式可以为线下或者线上进行,为了保证安全性,最好是线下的方式进行生物特征数据(比如指纹、虹膜)的采集。Optionally, the registration method can be performed offline or online. To ensure security, it is best to collect biometric data (such as fingerprints and irises) offline.
可选地,在在第三方区块链节点进行验证信息注册之后,还包括:Optionally, after registering the verification information in the third-party blockchain node, it also includes:
接收第三方区块链节点发送的第三方区块链标识和第三方公钥。Receive the third-party blockchain identifier and third-party public key sent by the third-party blockchain node.
S202:生成临时加密密钥。S202: Generate a temporary encryption key.
可选地,第一区块链参与节点随机生成临时加密密钥Key。Optionally, the first blockchain participating node randomly generates a temporary encryption key Key.
S201:将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将认证信息发送至第三方区块链节点,以使第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对第一生物特征进行比对,若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中。S201: Perform third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and send the authentication information to the third-party blockchain node, so that after the third-party blockchain node successfully verifies the first private key signature, it decrypts the authentication information through the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature, and compares the first biometric feature according to the preset biometric feature library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain.
在一种可能的实现方式中,区块链参与者A将Key和IDa,IDb,FingerPrintA’经过权威第三方的公钥加密后再使用区块链参与者A自己的私钥(第一私钥)签名后发送给权威第三方。其中,IDa,IDb分别为区块链参与者A和区块链参与者B对应的区块链中的标识,即第一区块链参与节点标识和第二区块链参与节点标识。In a possible implementation, blockchain participant A encrypts Key and IDa, IDb, and FingerPrintA’ with the public key of an authoritative third party, and then signs with the private key (first private key) of blockchain participant A and sends it to the authoritative third party. Among them, IDa and IDb are the identifiers in the blockchain corresponding to blockchain participant A and blockchain participant B, namely, the first blockchain participating node identifier and the second blockchain participating node identifier.
S204:获取临时身份证书,将临时身份证书发送至第二区块链参与节点,以使第二区块链参与节点根据临时身份证书,对第一区块链参与节点进行身份认证。S204: Obtain a temporary identity certificate, and send the temporary identity certificate to the second blockchain participating node, so that the second blockchain participating node performs identity authentication on the first blockchain participating node based on the temporary identity certificate.
可选地,可以将临时身份证书发送给第二区块链参与节点,或者将第二区块链参与节点的地址发送给第二区块链参与节点。Optionally, the temporary identity certificate may be sent to the second blockchain participating node, or the address of the second blockchain participating node may be sent to the second blockchain participating node.
在一种可能的实现方式中,区块链参与者A从区块链中获得该临时身份证书和Key一起发送给区块链参与者B,或者将权威第三方在区块链上发放的临时身份证书的地址发送给区块链参与者B,由区块链参与者B进行自取。In one possible implementation, blockchain participant A obtains the temporary identity certificate and the key from the blockchain and sends them to blockchain participant B, or sends the address of the temporary identity certificate issued by an authoritative third party on the blockchain to blockchain participant B, who then picks it up.
可选地,在获取临时身份证书之前,还包括:Optionally, before obtaining the temporary identity certificate, the following steps are also included:
在区块链中发起查询费用支付申请;Initiate a query fee payment request in the blockchain;
相应的,在将临时身份证书发送至第二区块链参与节点之后,还包括:Accordingly, after sending the temporary identity certificate to the second blockchain participating node, it also includes:
在区块链中获取查询费用,并根据查询费用进行支付处理。Obtain query fees in the blockchain and process payments based on the query fees.
其中,区块链参与者可以在进行认证请求过程中,在区块链中发起查询费用支付申请,以实现身份认证的自动支付,提高了用户体验。Among them, blockchain participants can initiate a query fee payment application in the blockchain during the authentication request process to realize automatic payment of identity authentication, thereby improving user experience.
在一种可能的实现方式中,区块链参与者A在区块链中发起查询费用支付申请。在第三方区块链参与节点签发临时身份证书后,对区块链上的该临时身份证书进行第三方区块链参与节点签名确认,如果验证通过,则把区块链参与者A向权威第三方的查询费用写入区块链,支付成功。In one possible implementation, blockchain participant A initiates a query fee payment application in the blockchain. After the third-party blockchain participating node issues a temporary identity certificate, the temporary identity certificate on the blockchain is signed and confirmed by the third-party blockchain participating node. If the verification is successful, the query fee paid by blockchain participant A to the authoritative third party is written into the blockchain, and the payment is successful.
其中,区块链参与者可以在进行认证请求过程中,在区块链中发起查询费用支付申请,以实现身份认证的自动支付,提高了用户体验。Among them, blockchain participants can initiate a query fee payment application in the blockchain during the authentication request process to realize automatic payment of identity authentication, thereby improving user experience.
可选地,图3为本申请实施例提供的另一种基于临时身份证书的身份认证方法的流程示意图。本申请实施例的执行主体为图1中的第三方区块链节点102,具体执行主体可以根据实际应用场景确定。如图3所示,该方法包括如下步骤:Optionally, FIG3 is a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application. The execution subject of the embodiment of the present application is the third-party blockchain node 102 in FIG1 , and the specific execution subject can be determined according to the actual application scenario. As shown in FIG3 , the method includes the following steps:
S301:接收第一区块链参与节点发送的认证信息。S301: Receive authentication information sent by the first blockchain participating node.
其中,认证信息为第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理得到的。Among them, the authentication information is obtained by the first blockchain participating node in response to the authentication request sent by the second blockchain participating node, obtaining the first biometric feature of the first user; generating a temporary encryption key; and performing third-party public key encryption processing and first private key signing processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature.
S302:在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征。S302: After the first private key signature is successfully verified, the authentication information is decrypted using a third-party private key to obtain the first blockchain participating node identifier and the first biometric feature.
可选地第三方区块链节点可以在区块链上私钥签名的广播消息的方式公布自己的区块链标识和第三方公钥(第三方区块链节点的公钥)。区块链上任何人都可以采用其公钥对他签发的身份证书进行确认。Optionally, a third-party blockchain node can publish its own blockchain identity and third-party public key (the public key of the third-party blockchain node) in a broadcast message signed by a private key on the blockchain. Anyone on the blockchain can use his public key to confirm the identity certificate issued by him.
在一种可能的实现方式中,第三方区块链节点收到以上信息后,对区块链参与者A的私钥签名进行验证,如果验证通过,再对以上加密后的信息使用权威第三方自己的私钥(第三方私钥)解密,解密后通过IDa,在生物特征库中索引获得FingerPrintA,然后将FingerPrintA’和生物特征库中的比对FingerPrintA进行比对。In one possible implementation, after receiving the above information, the third-party blockchain node verifies the private key signature of blockchain participant A. If the verification is successful, the encrypted information is decrypted using the authoritative third party's own private key (third-party private key). After decryption, FingerPrintA is obtained by indexing in the biometric library through IDa, and then FingerPrintA' is compared with the matching FingerPrintA in the biometric library.
S303:根据预设生物特征库对第一生物特征进行比对。S303: Compare the first biometric feature with a preset biometric feature library.
可选地,根据预设生物特征库对第一生物特征进行比对,包括:Optionally, comparing the first biometric feature according to a preset biometric feature library includes:
根据认证信息中的第一区块链参与节点标识,在预设生物特征库中进行查询,确定第一区块链参与节点标识对应的预设生物特征;将预设生物特征与第一生物特征进行比对。According to the first blockchain participating node identifier in the authentication information, a query is performed in a preset biometric library to determine the preset biometric corresponding to the first blockchain participating node identifier; and the preset biometric is compared with the first biometric.
其中,本申请实施例中的第三方区块链参与节点可以基于认证信息中的第一区块链参与节点标识,在预设生物特征库中确定第一区块链参与节点对应的预设生物特征,从而识别第一区块链参与节点的身份,实现准确、高效的身份识别和认证,进一步地提高了身份认证的安全性和稳定性,提高了区块链信息传输的安全性。Among them, the third-party blockchain participating node in the embodiment of the present application can determine the preset biometric corresponding to the first blockchain participating node in the preset biometric library based on the first blockchain participating node identifier in the authentication information, thereby identifying the identity of the first blockchain participating node, achieving accurate and efficient identity identification and authentication, further improving the security and stability of identity authentication, and improving the security of blockchain information transmission.
S304:若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中,以使第一区块链参与节点获取临时身份证书,将临时身份证书发送至第二区块链参与节点,其中,临时身份证书用于第二区块链参与节点对第一区块链参与节点进行身份认证。S304: If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain, so that the first blockchain participating node obtains the temporary identity certificate, and the temporary identity certificate is sent to the second blockchain participating node, wherein the temporary identity certificate is used by the second blockchain participating node to authenticate the first blockchain participating node.
可选地,给第一区块链参与节点签发临时身份证书,包括:Optionally, issuing a temporary identity certificate to the first blockchain participating node includes:
给第一区块链参与节点签发由第三方区块链参与节点签名的临时身份证书,其中,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果。A temporary identity certificate signed by a third-party blockchain participating node is issued to the first blockchain participating node, wherein the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with a temporary encryption key.
在一种可能的实现方式中,一旦对比通过,权威第三方则给区块链参与者A签发由权威第三方签名的临时身份证书,包括IDa,IDb、当前时间的信息,并向IDb确认IDa的身份,并用包含一个随机数Random,以及用Key 加密该随机数Random得到的加密结果1,然后由权威第三方使用私钥签名的广播消息的方式将以上信息发布在区块链中。In one possible implementation, once the comparison is passed, the authoritative third party issues a temporary identity certificate signed by the authoritative third party to blockchain participant A, including information about IDa, IDb, and the current time, and confirms the identity of IDa to IDb, and uses a random number Random and an encryption result 1 obtained by encrypting the random number Random with Key, and then the authoritative third party publishes the above information in the blockchain by means of a broadcast message signed by the private key.
这里,本申请实施例的第三方区块链节点在为第一区块链参与节点签发临时身份证书时,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果,便于第二区块链参与节点进行准确、安全的认证。Here, when the third-party blockchain node of the embodiment of the present application issues a temporary identity certificate for the first blockchain participating node, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with a temporary encryption key, so as to facilitate accurate and secure authentication of the second blockchain participating node.
本申请实施例提供的基于临时身份证书的身份认证方法应用于第三方区块链节点,即权威第三方,此第三方区块链节点对生物特征进行集中保存,为所有的用户提供生物特征比对服务,并在比对成功后为其它区块链参与节点签发临时身份证书,从而完成在不需要拥有私钥的情况下完成身份认证,提高了区块链中身份认证的准确性及安全性。The identity authentication method based on temporary identity certificates provided in the embodiment of the present application is applied to a third-party blockchain node, that is, an authoritative third party. This third-party blockchain node centrally stores biometric features, provides biometric feature comparison services for all users, and issues temporary identity certificates to other blockchain participating nodes after the comparison is successful, thereby completing identity authentication without the need to possess a private key, thereby improving the accuracy and security of identity authentication in the blockchain.
可选地,图4为本申请实施例提供的再一种基于临时身份证书的身份认证方法的流程示意图。本申请实施例的执行主体为图1中的第二区块链参与节点103,可以为服务器,具体执行主体可以根据实际应用场景确定。如图4所示,该方法包括如下步骤:Optionally, FIG4 is a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application. The execution subject of the embodiment of the present application is the second blockchain participating node 103 in FIG1 , which may be a server, and the specific execution subject may be determined according to the actual application scenario. As shown in FIG4 , the method includes the following steps:
S401:向第一区块链参与节点发送认证请求,以使第一区块链参与节点响应于认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将认证信息发送至第三方区块链节点;获取临时身份证书,将临时身份证书发送至第二区块链参与节点。S401: Send an authentication request to the first blockchain participating node, so that the first blockchain participating node responds to the authentication request and obtains the first biometric feature of the first user; generates a temporary encryption key; performs third-party public key encryption processing and first private key signing processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and sends the authentication information to the third-party blockchain node; obtains a temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node.
其中,认证信息用于第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对第一生物特征进行比对,若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中。Among them, the authentication information is used by the third-party blockchain node to decrypt the authentication information through the third-party private key after the first private key signature is successfully verified, to obtain the first blockchain participating node identification and the first biometric feature, and to compare the first biometric feature according to the preset biometric feature library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain.
S402:接收第一区块链参与节点发送的临时身份证书。S402: Receive a temporary identity certificate sent by the first blockchain participating node.
S403:根据临时身份证书,对第一区块链参与节点进行身份认证。S403: Perform identity authentication on the first blockchain participating node according to the temporary identity certificate.
可选地,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果。Optionally, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with a temporary encryption key.
相应的,接收第一区块链参与节点发送的临时身份证书,包括:接收第一区块链参与节点发送的临时身份证书和临时加密密钥。Correspondingly, receiving the temporary identity certificate sent by the first blockchain participating node includes: receiving the temporary identity certificate and the temporary encryption key sent by the first blockchain participating node.
根据临时身份证书,对第一区块链参与节点进行身份认证,包括:根据临时加密密钥,对临时身份证书中的随机数进行加密,得到认证加密结果;根据认证加密结果和临时加密密钥加密随机数得到的加密结果,对第一区块链参与节点进行身份认证。According to the temporary identity certificate, the first blockchain participating node is authenticated, including: according to the temporary encryption key, the random number in the temporary identity certificate is encrypting to obtain an authentication encryption result; according to the authentication encryption result and the encryption result obtained by encrypting the random number with the temporary encryption key, the first blockchain participating node is authenticated.
这里,本申请实施例提供的第二区块链参与节点可以对临时身份证书进行认证,从而实现对第一区块链参与节点的身份身份认证,通过临时加密密钥和临时身份证书中的临时加密密钥加密随机数得到的加密结果进行比对,无需获取第一区块链参与节点的私钥,进一步地提高了身份认证的安全性。Here, the second blockchain participating node provided in the embodiment of the present application can authenticate the temporary identity certificate, thereby realizing identity authentication of the first blockchain participating node, and compare the encryption result obtained by encrypting the random number with the temporary encryption key in the temporary identity certificate, without obtaining the private key of the first blockchain participating node, thereby further improving the security of identity authentication.
在一种可能的实现方式中,区块链参与者B通过Key,加密证书中的 Random,如果计算结果和临时身份证书中的信息相同,则确认区块链参与者 A的身份。本次认证完毕。In one possible implementation, blockchain participant B uses Key to encrypt the Random in the certificate. If the calculation result is the same as the information in the temporary ID card, the identity of blockchain participant A is confirmed. This authentication is completed.
本申请实施例提供的基于临时身份证书的身份认证方法应用于发起认证的第二区块链参与节点,当第二区块链参与节点需要对其它节点即第一区块链参与节点发起身份认证时,向第一区块链参与节点发送认证请求,第一区块链参与节点会根据此认证请求向第三方区块链节点请求临时身份证书,第二区块链参与节点可以根据此临时身份证书对第一区块链参与节点进行身份认证,无需拥有第一区块链参与节点的私钥即可实现身份认证,提高了身份认证的安全性及可靠性。The identity authentication method based on a temporary identity certificate provided in the embodiment of the present application is applied to the second blockchain participating node that initiates the authentication. When the second blockchain participating node needs to initiate identity authentication for other nodes, namely the first blockchain participating node, it sends an authentication request to the first blockchain participating node. The first blockchain participating node will request a temporary identity certificate from the third-party blockchain node based on the authentication request. The second blockchain participating node can perform identity authentication on the first blockchain participating node based on the temporary identity certificate. Identity authentication can be achieved without having the private key of the first blockchain participating node, thereby improving the security and reliability of identity authentication.
可选地,图5为本申请实施例提供的又一种基于临时身份证书的身份认证方法的流程示意图。本申请实施例的执行主体为包括第一区块链参与节点、第二区块链参与节点和第三方区块链节点的系统,可以为服务器,具体执行主体可以根据实际应用场景确定。如图5所示,该方法包括如下步骤:Optionally, FIG5 is a flow chart of another identity authentication method based on a temporary identity certificate provided in an embodiment of the present application. The execution subject of the embodiment of the present application is a system including a first blockchain participating node, a second blockchain participating node and a third-party blockchain node, which can be a server. The specific execution subject can be determined according to the actual application scenario. As shown in FIG5, the method includes the following steps:
S501:第二区块链参与节点向第一区块链参与节点发送认证请求。S501: The second blockchain participating node sends an authentication request to the first blockchain participating node.
S502:第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征。S502: The first blockchain participating node obtains a first biometric feature of the first user in response to an authentication request sent by the second blockchain participating node.
S503:第一区块链参与节点生成临时加密密钥。S503: The first blockchain participating node generates a temporary encryption key.
S504:第一区块链参与节点将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息。S504: The first blockchain participating node performs third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information.
S505:第一区块链参与节点将认证信息发送至第三方区块链节点。S505: The first blockchain participating node sends the authentication information to the third-party blockchain node.
S506:第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征。S506: After successfully verifying the first private key signature, the third-party blockchain node decrypts the authentication information using the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature.
S507:第三方区块链节点根据预设生物特征库对第一生物特征进行比对。S507: The third-party blockchain node compares the first biometric feature according to a preset biometric feature library.
S508:第三方区块链节点若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中。S508: If the comparison is successful, the third-party blockchain node issues a temporary identity certificate to the first blockchain participating node and broadcasts the temporary identity certificate to the blockchain.
S509:第一区块链参与节点获取临时身份证书,将临时身份证书发送至第二区块链参与节点。S509: The first blockchain participating node obtains a temporary identity certificate and sends the temporary identity certificate to the second blockchain participating node.
S510:第二区块链参与节点接收第一区块链参与节点发送的临时身份证书。S510: The second blockchain participating node receives the temporary identity certificate sent by the first blockchain participating node.
S511:第二区块链参与节点根据临时身份证书,对第一区块链参与节点进行身份认证。S511: The second blockchain participating node performs identity authentication on the first blockchain participating node based on the temporary identity certificate.
一种可能的具体的认证方法如下:A possible specific authentication method is as follows:
当区块链参与者B需要对区块链参与者A进行身份认证的时候,区块链参与者B对区块链参与者A发起认证请求;区块链参与者A采集自己的生物特征比如FingerPrintA’,随机生成临时加密密钥Key;同时区块链参与者A 将Key和IDa,IDb,FingerPrintA’经过权威第三方的公钥加密后再使用区块链参与者A自己的私钥签名后发送给权威第三方。区块链参与者A在区块链中发起查询费用支付申请;权威第三方收到以上信息后,对区块链参与者A 的私钥签名进行验证,如果验证通过,再对以上加密后的信息使用权威第三方自己的私钥解密,解密后通过IDa和FingerPrintA’,在生物特征库中索引获得FingerPrintA进行比对;一旦对比通过,权威第三方则给区块链参与者A 签发由权威第三方签名的临时身份证书,包括IDa,IDb、当前时间的信息,并向IDb确认IDa的身份,并用包含一个随机数Random,以及用Key加密该随机数Random得到的加密结果1,然后由权威第三方使用私钥签名的广播消息的方式将以上信息发布在区块链中。区块链矿工对区块链上的该临时证书进行权威第三方签名确认,如果验证通过,则把区块链参与者A向权威第三方的查询费用写入区块链,支付成功。区块链参与者A从区块链中获得该临时证书和Key一起发送给区块链参与者B,或者将权威第三方在区块链上发放临时证书的地址发送给区块链参与者B,由区块链参与者B进行自取。区块链参与者B通过Key,加密证书中的Random,如果计算结果和临时身份证书中的信息相同,则确认区块链参与者A的身份。本次认证完毕。When blockchain participant B needs to authenticate the identity of blockchain participant A, blockchain participant B initiates an authentication request to blockchain participant A; blockchain participant A collects his own biometric features such as FingerPrintA’ and randomly generates a temporary encryption key Key; at the same time, blockchain participant A encrypts Key and IDa, IDb, FingerPrintA’ with the public key of an authoritative third party, and then signs with blockchain participant A’s own private key and sends it to the authoritative third party. Blockchain participant A initiates a query fee payment application in the blockchain; after receiving the above information, the authoritative third party verifies the private key signature of blockchain participant A. If the verification is successful, the encrypted information is decrypted using the authoritative third party's own private key. After decryption, the authoritative third party obtains FingerPrintA from the biometric database through IDa and FingerPrintA' for comparison; once the comparison is successful, the authoritative third party issues a temporary identity certificate signed by the authoritative third party to blockchain participant A, including information about IDa, IDb, and the current time, and confirms the identity of IDa to IDb, and uses a random number Random and the encryption result 1 obtained by encrypting the random number Random with Key, and then the authoritative third party publishes the above information in the blockchain in the form of a broadcast message signed by the private key. The blockchain miner confirms the authoritative third party signature on the temporary certificate on the blockchain. If the verification is successful, the query fee paid by blockchain participant A to the authoritative third party is written into the blockchain, and the payment is successful. Blockchain participant A obtains the temporary certificate and Key from the blockchain and sends them to blockchain participant B, or sends the address where the authoritative third party issues the temporary certificate on the blockchain to blockchain participant B, who then picks it up. Blockchain participant B uses Key to encrypt the Random in the certificate. If the calculation result is the same as the information in the temporary ID card, the identity of blockchain participant A is confirmed. This authentication is completed.
图6为本申请实施例提供的一种基于临时身份证书的身份认证装置的结构示意图,应用于第一区块链参与节点,如图6所示,本申请实施例的装置包括:第一获取模块601、生成模块602、第一处理模块603和第二处理模块604。这里的基于临时身份证书的身份认证装置可以是区块链的服务器,或者是实现服务器的功能的芯片或者集成电路。这里需要说明的是,第一获取模块601、生成模块602、第一处理模块603和第二处理模块604的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。FIG6 is a schematic diagram of the structure of an identity authentication device based on a temporary identity certificate provided in an embodiment of the present application, which is applied to a first blockchain participating node. As shown in FIG6, the device of the embodiment of the present application includes: a first acquisition module 601, a generation module 602, a first processing module 603, and a second processing module 604. The identity authentication device based on a temporary identity certificate here can be a server of the blockchain, or a chip or integrated circuit that implements the function of the server. It should be noted here that the division of the first acquisition module 601, the generation module 602, the first processing module 603, and the second processing module 604 is only a division of logical functions. Physically, the two can be integrated or independent.
其中,第一获取模块,用于响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;The first acquisition module is used to obtain the first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node;
生成模块,用于生成临时加密密钥;A generation module, used for generating a temporary encryption key;
第一处理模块,用于将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将认证信息发送至第三方区块链节点,以使第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对第一生物特征进行比对,若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中;A first processing module is used to perform third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and send the authentication information to the third-party blockchain node, so that after the third-party blockchain node successfully verifies the first private key signature, it decrypts the authentication information by the third-party private key to obtain the first blockchain participating node identifier and the first biometric feature, compares the first biometric feature according to a preset biometric feature library, and if the comparison is successful, issues a temporary identity certificate to the first blockchain participating node, and broadcasts the temporary identity certificate to the blockchain;
第二处理模块,用于获取临时身份证书,将临时身份证书发送至第二区块链参与节点,以使第二区块链参与节点根据临时身份证书,对第一区块链参与节点进行身份认证。The second processing module is used to obtain a temporary identity certificate and send the temporary identity certificate to the second blockchain participating node, so that the second blockchain participating node can perform identity authentication on the first blockchain participating node according to the temporary identity certificate.
可选地,在第二处理模块获取临时身份证书之前,上述装置还包括:Optionally, before the second processing module obtains the temporary identity certificate, the apparatus further includes:
支付发起模块,用于在区块链中发起查询费用支付申请;The payment initiation module is used to initiate a query fee payment application in the blockchain;
相应的,在第二处理模块将临时身份证书发送至第二区块链参与节点之后,上述装置还包括:Correspondingly, after the second processing module sends the temporary identity certificate to the second blockchain participating node, the above-mentioned device further includes:
支付处理模块,用于在区块链中获取查询费用,并根据查询费用进行支付处理。The payment processing module is used to obtain the query fee in the blockchain and perform payment processing based on the query fee.
可选地,在第一获取模块响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征之前,上述装置还包括:Optionally, before the first acquisition module acquires the first biometric feature of the first user in response to the authentication request sent by the second blockchain participating node, the apparatus further includes:
注册模块,用于在第三方区块链节点进行验证信息注册,其中,验证信息包括第一用户的生物特征数据与身份信息的对应关系。A registration module is used to register verification information in a third-party blockchain node, wherein the verification information includes a correspondence between the first user's biometric data and identity information.
可选地,在注册模块在第三方区块链节点进行验证信息注册之后,还包括:Optionally, after the registration module registers the verification information in the third-party blockchain node, it also includes:
第一接收模块,用于接收第三方区块链节点发送的第三方区块链标识和第三方公钥。The first receiving module is used to receive a third-party blockchain identifier and a third-party public key sent by a third-party blockchain node.
图7为本申请实施例提供的一种基于临时身份证书的身份认证设备的结构示意图。该设备可以为服务器,应用于第一区块链参与节点,本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不限制本文中描述的和/或者要求的本申请的实现。Figure 7 is a schematic diagram of the structure of an identity authentication device based on a temporary identity certificate provided in an embodiment of the present application. The device may be a server, applied to a first blockchain participating node, and the components, their connections and relationships, and their functions shown herein are merely examples and do not limit the implementation of the present application described and/or required herein.
如图7所示,该基于临时身份证书的身份认证设备包括:处理器701 和存储器702,各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器701可以对在终端内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。图7中以一个处理器701为例。As shown in Figure 7, the identity authentication device based on the temporary identity certificate includes: a processor 701 and a memory 702, each of which is connected to each other using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor 701 can process instructions executed in the terminal, including instructions for graphic information stored in or on the memory to be displayed on an external input/output device (such as a display device coupled to an interface). In other embodiments, if necessary, multiple processors and/or multiple buses can be used together with multiple memories and multiple memories. In Figure 7, a processor 701 is taken as an example.
存储器702作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的基于临时身份证书的身份认证设备的方法对应的程序指令/模块(例如,附图6所示的第一获取模块601、生成模块602、第一处理模块603和第二处理模块604)。处理器701通过运行存储在存储器702中的非瞬时软件程序、指令以及模块,从而执行基于临时身份证书的身份认证设备的各种功能应用以及数据处理,即实现上述方法实施例中的基于临时身份证书的身份认证设备的方法。The memory 702, as a non-transient computer-readable storage medium, can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions/modules corresponding to the method of the identity authentication device based on a temporary identity certificate in the embodiment of the present application (for example, the first acquisition module 601, the generation module 602, the first processing module 603 and the second processing module 604 shown in FIG. 6). The processor 701 executes various functional applications and data processing of the identity authentication device based on the temporary identity certificate by running the non-transient software programs, instructions and modules stored in the memory 702, that is, implements the method of the identity authentication device based on the temporary identity certificate in the above method embodiment.
基于临时身份证书的身份认证设备还可以包括:输入装置703和输出装置704。处理器701、存储器702、输入装置703和输出装置704可以通过总线或者其他方式连接,图7中以通过总线连接为例。The identity authentication device based on the temporary identity certificate may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected via a bus or other means, and FIG7 takes the bus connection as an example.
输入装置703可接收输入的数字或字符信息,以及产生与基于临时身份证书的身份认证设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置704可以是基于临时身份证书的身份认证设备的显示设备等输出设备。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED) 显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device 703 can receive input digital or character information, and generate key signal input related to user settings and function control of the identity authentication device based on the temporary identity certificate, such as a touch screen, a keypad, a mouse, or multiple mouse buttons, a trackball, a joystick and other input devices. The output device 704 can be an output device such as a display device of the identity authentication device based on the temporary identity certificate. The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device can be a touch screen.
本申请实施例的基于临时身份证书的身份认证设备,可以用于执行本申请上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The identity authentication device based on a temporary identity certificate in the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现上述任一的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
本申请实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时,用于实现上述任一项的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, is used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
图8为本申请实施例提供的另一种基于临时身份证书的身份认证装置的结构示意图,应用于第三方区块链节点,如图8所示,本申请实施例的装置包括:第二接收模块801、第三处理模块802、比对模块803和第四处理模块 804。这里的基于临时身份证书的身份认证装置可以是区块链的服务器,或者是实现服务器的功能的芯片或者集成电路。这里需要说明的是,第二接收模块801、第三处理模块802、比对模块803和第四处理模块804的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。FIG8 is a schematic diagram of the structure of another identity authentication device based on a temporary identity certificate provided in an embodiment of the present application, which is applied to a third-party blockchain node. As shown in FIG8, the device of the embodiment of the present application includes: a second receiving module 801, a third processing module 802, a comparison module 803, and a fourth processing module 804. The identity authentication device based on a temporary identity certificate here can be a blockchain server, or a chip or integrated circuit that implements the function of the server. It should be noted here that the division of the second receiving module 801, the third processing module 802, the comparison module 803, and the fourth processing module 804 is only a division of logical functions. Physically, the two can be integrated or independent.
其中,第二接收模块,用于接收第一区块链参与节点发送的认证信息,其中,认证信息为第一区块链参与节点响应于第二区块链参与节点发送的认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理得到的;The second receiving module is used to receive authentication information sent by the first blockchain participating node, wherein the authentication information is obtained by the first blockchain participating node in response to the authentication request sent by the second blockchain participating node, obtaining the first biometric feature of the first user; generating a temporary encryption key; performing third-party public key encryption processing and first private key signing processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature;
第三处理模块,用于在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征;A third processing module is used to decrypt the authentication information by using a third-party private key after the first private key signature is successfully verified, so as to obtain the first blockchain participating node identifier and the first biometric feature;
比对模块,用于根据预设生物特征库对第一生物特征进行比对;A comparison module, used for comparing the first biometric feature with a preset biometric feature library;
第四处理模块,用于若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中,以使第一区块链参与节点获取临时身份证书,将临时身份证书发送至第二区块链参与节点,其中,临时身份证书用于第二区块链参与节点对第一区块链参与节点进行身份认证。The fourth processing module is used to issue a temporary identity certificate to the first blockchain participating node if the comparison is successful, and broadcast the temporary identity certificate to the blockchain so that the first blockchain participating node obtains the temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node, wherein the temporary identity certificate is used by the second blockchain participating node to authenticate the first blockchain participating node.
可选地,比对模块具体用于:Optionally, the comparison module is specifically used for:
根据认证信息中的第一区块链参与节点标识,在预设生物特征库中进行查询,确定第一区块链参与节点标识对应的预设生物特征;According to the first blockchain participating node identifier in the authentication information, a query is performed in a preset biometric database to determine a preset biometric corresponding to the first blockchain participating node identifier;
将预设生物特征与第一生物特征进行比对。The preset biometric feature is compared with the first biometric feature.
可选地,第四处理模块具体用于:Optionally, the fourth processing module is specifically configured to:
给第一区块链参与节点签发由第三方区块链参与节点签名的临时身份证书,其中,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果。A temporary identity certificate signed by a third-party blockchain participating node is issued to the first blockchain participating node, wherein the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with a temporary encryption key.
本申请实施例还提供的一种基于临时身份证书的身份认证设备,应用于第三方区块链节点,该基于临时身份证书的身份认证设备可以为服务器。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不限制本文中描述的和/或者要求的本申请的实现。The embodiment of the present application also provides an identity authentication device based on a temporary identity certificate, which is applied to a third-party blockchain node. The identity authentication device based on the temporary identity certificate can be a server. The components shown in this article, their connections and relationships, and their functions are only examples and do not limit the implementation of the present application described and/or required in this article.
该基于临时身份证书的身份认证设备包括:处理器和存储器,各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在基于临时身份证书的身份认证设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。The temporary identity certificate-based identity authentication device includes: a processor and a memory, each component is connected to each other using different buses, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the temporary identity certificate-based identity authentication device, including instructions for graphic information stored in or on the memory for display on an external input/output device (such as a display device coupled to an interface). In other embodiments, if necessary, multiple processors and/or multiple buses can be used together with multiple memories and multiple memories.
存储器作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的基于临时身份证书的身份认证设备的方法对应的程序指令/模块(例如,附图8所示的,第二接收模块801、第三处理模块802、比对模块803和第四处理模块804)。处理器通过运行存储在存储器中的非瞬时软件程序、指令以及模块,从而执行各种功能应用以及基于临时身份证书的身份认证方法,即实现上述方法实施例中的基于临时身份证书的身份认证设备的方法。As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions/modules corresponding to the method of the identity authentication device based on a temporary identity certificate in the embodiment of the present application (for example, the second receiving module 801, the third processing module 802, the comparison module 803 and the fourth processing module 804 shown in Figure 8). The processor executes various functional applications and the identity authentication method based on the temporary identity certificate by running the non-transient software programs, instructions and modules stored in the memory, that is, the method of the identity authentication device based on the temporary identity certificate in the above method embodiment is implemented.
基于临时身份证书的身份认证设备还可以包括:输入装置和输出装置。处理器、存储器、输入装置和输出装置可以通过总线或者其他方式连接。The identity authentication device based on the temporary identity certificate may further include: an input device and an output device. The processor, the memory, the input device and the output device may be connected via a bus or other means.
输入装置可接收输入的数字或字符信息,以及产生与基于临时身份证书的身份认证设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置可以是基于临时身份证书的身份认证设备的显示设备等输出设备。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device can receive input digital or character information, and generate key signal input related to user settings and function control of the identity authentication device based on the temporary identity certificate, such as a touch screen, a keypad, a mouse, or multiple mouse buttons, a trackball, a joystick and other input devices. The output device can be an output device such as a display device of the identity authentication device based on the temporary identity certificate. The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device can be a touch screen.
本申请实施例的基于临时身份证书的身份认证设备,可以用于执行本申请上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The identity authentication device based on a temporary identity certificate in the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现上述任一项的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
本申请实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时,用于实现上述任一项的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, is used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
图9为本申请实施例提供的另一种基于临时身份证书的身份认证装置的结构示意图,应用于第二区块链参与节点,如图9所示,本申请实施例的装置包括:第一发送模块901、第三接收模块902和认证模块903。这里的基于临时身份证书的身份认证装置可以是区块链的服务器,或者是实现服务器的功能的芯片或者集成电路。这里需要说明的是,第一发送模块 901、第三接收模块902和认证模块903的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。FIG9 is a schematic diagram of the structure of another identity authentication device based on a temporary identity certificate provided in an embodiment of the present application, which is applied to the second blockchain participating node. As shown in FIG9, the device of the embodiment of the present application includes: a first sending module 901, a third receiving module 902 and an authentication module 903. The identity authentication device based on a temporary identity certificate here can be a blockchain server, or a chip or integrated circuit that implements the function of the server. It should be noted here that the division of the first sending module 901, the third receiving module 902 and the authentication module 903 is only a division of logical functions. Physically, the two can be integrated or independent.
其中,第一发送模块,用于向第一区块链参与节点发送认证请求,以使第一区块链参与节点响应于认证请求,获取第一用户的第一生物特征;生成临时加密密钥;将临时加密密钥、第一区块链参与节点标识、第二区块链参与节点标识和第一生物特征进行第三方公钥加密处理和第一私钥签名处理,得到认证信息,并将认证信息发送至第三方区块链节点;获取临时身份证书,将临时身份证书发送至第二区块链参与节点,其中,认证信息用于第三方区块链节点在对第一私钥签名验证成功后,通过第三方私钥对认证信息进行解密,得到第一区块链参与节点标识和第一生物特征,根据预设生物特征库对第一生物特征进行比对,若比对成功,则给第一区块链参与节点签发临时身份证书,并将临时身份证书广播至区块链中;Among them, the first sending module is used to send an authentication request to the first blockchain participating node, so that the first blockchain participating node responds to the authentication request and obtains the first biometric feature of the first user; generates a temporary encryption key; performs third-party public key encryption processing and first private key signature processing on the temporary encryption key, the first blockchain participating node identifier, the second blockchain participating node identifier and the first biometric feature to obtain authentication information, and sends the authentication information to the third-party blockchain node; obtains a temporary identity certificate, and sends the temporary identity certificate to the second blockchain participating node, wherein the authentication information is used by the third-party blockchain node to decrypt the authentication information through the third-party private key after successfully verifying the first private key signature, obtain the first blockchain participating node identifier and the first biometric feature, and compare the first biometric feature according to the preset biometric library. If the comparison is successful, a temporary identity certificate is issued to the first blockchain participating node, and the temporary identity certificate is broadcast to the blockchain;
第三接收模块,用于接收第一区块链参与节点发送的临时身份证书;A third receiving module is used to receive a temporary identity certificate sent by the first blockchain participating node;
认证模块,用于根据临时身份证书,对第一区块链参与节点进行身份认证。The authentication module is used to authenticate the first blockchain participating node based on the temporary identity certificate.
可选地,临时身份证书包括第一区块链参与节点标识、第二区块链参与节点标识、当前时间信息、随机数和通过临时加密密钥加密随机数得到的加密结果;Optionally, the temporary identity certificate includes the first blockchain participating node identifier, the second blockchain participating node identifier, current time information, a random number, and an encryption result obtained by encrypting the random number with the temporary encryption key;
相应的,第三接收模块具体用于:Accordingly, the third receiving module is specifically used for:
接收第一区块链参与节点发送的临时身份证书和临时加密密钥;Receiving a temporary identity certificate and a temporary encryption key sent by the first blockchain participating node;
认证模块具体用于:The authentication module is specifically used for:
根据临时加密密钥,对临时身份证书中的随机数进行加密,得到认证加密结果;According to the temporary encryption key, the random number in the temporary ID card is encrypted to obtain the authentication encryption result;
根据认证加密结果和临时加密密钥加密随机数得到的加密结果,对第一区块链参与节点进行身份认证。The identity of the first blockchain participating node is authenticated according to the authentication encryption result and the encryption result obtained by encrypting the random number with the temporary encryption key.
本申请实施例还提供的一种基于临时身份证书的身份认证设备,应用于第二区块链参与节点,该基于临时身份证书的身份认证设备可以为服务器。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不限制本文中描述的和/或者要求的本申请的实现。The embodiment of the present application also provides an identity authentication device based on a temporary identity certificate, which is applied to the second blockchain participating node, and the identity authentication device based on the temporary identity certificate can be a server. The components shown in this article, their connections and relationships, and their functions are only examples and do not limit the implementation of the present application described and/or required in this article.
该基于临时身份证书的身份认证设备包括:处理器和存储器,各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在基于临时身份证书的身份认证设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。The temporary identity certificate-based identity authentication device includes: a processor and a memory, each component is connected to each other using different buses, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the temporary identity certificate-based identity authentication device, including instructions for graphic information stored in or on the memory to be displayed on an external input/output device (such as a display device coupled to an interface). In other embodiments, if necessary, multiple processors and/or multiple buses can be used together with multiple memories and multiple memories.
存储器作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的基于临时身份证书的身份认证设备的方法对应的程序指令/模块(例如,附图9所示的,第一发送模块901、第三接收模块902和认证模块903)。处理器通过运行存储在存储器中的非瞬时软件程序、指令以及模块,从而执行各种功能应用以及基于临时身份证书的身份认证方法,即实现上述方法实施例中的基于临时身份证书的身份认证设备的方法。As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions/modules corresponding to the method of the identity authentication device based on a temporary identity certificate in the embodiment of the present application (for example, the first sending module 901, the third receiving module 902 and the authentication module 903 shown in Figure 9). The processor executes various functional applications and the identity authentication method based on the temporary identity certificate by running the non-transient software programs, instructions and modules stored in the memory, that is, the method of the identity authentication device based on the temporary identity certificate in the above method embodiment is implemented.
基于临时身份证书的身份认证设备还可以包括:输入装置和输出装置。处理器、存储器、输入装置和输出装置可以通过总线或者其他方式连接。The identity authentication device based on the temporary identity certificate may further include: an input device and an output device. The processor, the memory, the input device and the output device may be connected via a bus or other means.
输入装置可接收输入的数字或字符信息,以及产生与基于临时身份证书的身份认证设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置可以是基于临时身份证书的身份认证设备的显示设备等输出设备。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。The input device can receive input digital or character information, and generate key signal input related to user settings and function control of the identity authentication device based on the temporary identity certificate, such as a touch screen, a keypad, a mouse, or multiple mouse buttons, a trackball, a joystick and other input devices. The output device can be an output device such as a display device of the identity authentication device based on the temporary identity certificate. The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device can be a touch screen.
本申请实施例的基于临时身份证书的身份认证设备,可以用于执行本申请上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The identity authentication device based on a temporary identity certificate in the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现上述任一项的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
本申请实施例还提供一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时,用于实现上述任一项的基于临时身份证书的身份认证方法。An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, is used to implement any of the above-mentioned identity authentication methods based on temporary identity certificates.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210700339.7A CN115396087B (en) | 2022-06-20 | 2022-06-20 | Identity authentication method, device, equipment and medium based on temporary identity certificate |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210700339.7A CN115396087B (en) | 2022-06-20 | 2022-06-20 | Identity authentication method, device, equipment and medium based on temporary identity certificate |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115396087A CN115396087A (en) | 2022-11-25 |
| CN115396087B true CN115396087B (en) | 2024-04-30 |
Family
ID=84116571
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210700339.7A Active CN115396087B (en) | 2022-06-20 | 2022-06-20 | Identity authentication method, device, equipment and medium based on temporary identity certificate |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115396087B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109948371B (en) * | 2019-03-07 | 2021-06-25 | 深圳市智税链科技有限公司 | Method for issuing identity certificate for block chain node and related device |
| CN116132125B (en) * | 2022-12-28 | 2024-06-04 | 中国联合网络通信集团有限公司 | Cloud service data storage method, device, equipment and storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107682378A (en) * | 2017-11-22 | 2018-02-09 | 国民认证科技(北京)有限公司 | A kind of real name identification method and system based on block chain |
| CN108876374A (en) * | 2018-06-29 | 2018-11-23 | 全链通有限公司 | The network identity certificate authentication method and system of block chain |
| CN109067801A (en) * | 2018-09-29 | 2018-12-21 | 平安科技(深圳)有限公司 | A kind of identity identifying method, identification authentication system and computer-readable medium |
| CN109359691A (en) * | 2018-10-24 | 2019-02-19 | 全链通有限公司 | Auth method and system based on block chain |
| CN110569658A (en) * | 2019-09-12 | 2019-12-13 | 腾讯科技(深圳)有限公司 | User information processing method, device, electronic equipment and storage medium based on block chain network |
| CN110611569A (en) * | 2019-09-24 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Authentication method and related equipment |
| CN112688786A (en) * | 2021-03-19 | 2021-04-20 | 中企链信(北京)科技有限公司 | Evidence construction and real-name identity authentication method based on block chain |
| CN113438212A (en) * | 2021-06-08 | 2021-09-24 | 广州酷风技术开发有限公司 | Block chain node-based communication security management method and block chain security system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106487511B (en) * | 2015-08-27 | 2020-02-04 | 阿里巴巴集团控股有限公司 | Identity authentication method and device |
| SG11202103877SA (en) * | 2018-10-19 | 2021-05-28 | Digital Asset Switzerland Gmbh | Privacy preserving validation and commit architecture |
-
2022
- 2022-06-20 CN CN202210700339.7A patent/CN115396087B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107682378A (en) * | 2017-11-22 | 2018-02-09 | 国民认证科技(北京)有限公司 | A kind of real name identification method and system based on block chain |
| CN108876374A (en) * | 2018-06-29 | 2018-11-23 | 全链通有限公司 | The network identity certificate authentication method and system of block chain |
| CN109067801A (en) * | 2018-09-29 | 2018-12-21 | 平安科技(深圳)有限公司 | A kind of identity identifying method, identification authentication system and computer-readable medium |
| CN109359691A (en) * | 2018-10-24 | 2019-02-19 | 全链通有限公司 | Auth method and system based on block chain |
| CN110569658A (en) * | 2019-09-12 | 2019-12-13 | 腾讯科技(深圳)有限公司 | User information processing method, device, electronic equipment and storage medium based on block chain network |
| CN110611569A (en) * | 2019-09-24 | 2019-12-24 | 腾讯科技(深圳)有限公司 | Authentication method and related equipment |
| CN112688786A (en) * | 2021-03-19 | 2021-04-20 | 中企链信(北京)科技有限公司 | Evidence construction and real-name identity authentication method based on block chain |
| CN113438212A (en) * | 2021-06-08 | 2021-09-24 | 广州酷风技术开发有限公司 | Block chain node-based communication security management method and block chain security system |
Non-Patent Citations (2)
| Title |
|---|
| Blockchain Based Mutual Authentication for VoIP Applications with Biometric Signatures;Mustafa Kara等;2021 6th International Conference on Computer Science and Engineering (UBMK);20211013;全文 * |
| 基于区块链和多因子结合的身份认证方案;缪文豪等;计算机仿真;20220515;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115396087A (en) | 2022-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110086608B (en) | User authentication method, device, computer equipment and computer readable storage medium | |
| CN115150071B (en) | Identity authentication method, device, equipment and storage medium | |
| CN109756485B (en) | Electronic contract signing method, electronic contract signing device, computer equipment and storage medium | |
| CN109067801B (en) | Identity authentication method, identity authentication device and computer readable medium | |
| EP2999189B1 (en) | Network authentication method for secure electronic transactions | |
| US9838205B2 (en) | Network authentication method for secure electronic transactions | |
| CN106453271B (en) | Identity registration method and system, identity authentication method and system | |
| US11652647B2 (en) | Authentication system and computer readable medium | |
| WO2020050390A1 (en) | Right holder terminal, user terminal, right holder program, user program, content utilization system, and content utilization method | |
| CN112507369B (en) | Service processing method and device based on block chain, readable medium and electronic equipment | |
| CN114978635A (en) | Cross-domain authentication method and device, and user registration method and device | |
| CN115396087B (en) | Identity authentication method, device, equipment and medium based on temporary identity certificate | |
| US11522849B2 (en) | Authentication system and computer readable medium | |
| US12587394B2 (en) | Identity services and authentication in distributed networks | |
| CN109815659A (en) | WEB project-based security authentication method, device, electronic device and storage medium | |
| CN110955917B (en) | Method and system for verifying electronic certificates related to multiple participants | |
| KR20200016506A (en) | Method for Establishing Anonymous Digital Identity | |
| CN115150072B (en) | Cloud network issuance authentication method, equipment, device and storage medium | |
| EP4379631A1 (en) | Digital wallet device and dual offline transaction method thereof | |
| CN115396086B (en) | Identity authentication method, device, equipment and storage medium | |
| CN115396085B (en) | Method and equipment for negotiating and authenticating based on biological characteristics and third secret key | |
| CN113468600A (en) | Data authorization method, device and equipment | |
| CN115150073B (en) | Cloud service unified identity authentication method, device and equipment based on biometrics | |
| CN115150086B (en) | Cloud service identity authentication method and device based on public key of biometric characteristics | |
| CN114900300B (en) | Cloud service temporary login key authentication method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |