A digital identity authentication method and system based on blockchain
By generating and managing verification codes for digital identities on the blockchain, the problem of low security in digital identity authentication is solved, identity uniqueness and management reliability for multiple users are achieved, and identity theft is prevented.
Patent Information
- Application Number
- CN202211268398.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2042-10-17
AI Technical Summary
The information security of digital identity authentication in the existing technology is low and can be easily misused, especially when used on multiple terminals.
The digital identity is generated and the verification code is encrypted through the application server. The verification code is stored and managed using the blockchain. The user end uses the private key to decrypt and verify the identity. The blockchain marks the available status of the digital identity, and the application server locally verifies the operation instructions.
It improves the information security of digital identity authentication, prevents digital identity theft, and ensures the identity uniqueness and management reliability of multiple user terminals.
Smart Images

Figure CN115664742B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital identity authentication, and in particular to a blockchain-based digital identity authentication method and system. Background Art
[0002] Digital identity is a digital business card, replacing disposable paper business cards. Digital business cards are time-sensitive and highly reliable, and digital identity verification methods are required to verify a person's digital identity. Blockchain is a term in the information technology field. Essentially, it is a shared database where the data or information stored is unforgeable, fully traceable, traceable, transparent, and collectively maintained. Based on these characteristics, blockchain technology lays a solid foundation of trust, creates a reliable collaborative mechanism, and has broad application prospects.
[0003] In existing technologies, digital identities are typically distributed directly to users, who then authenticate themselves using the digital identity and obtain corresponding permissions. However, transmitting digital identities over a network is less secure and can be easily compromised, leading to identity theft. This is especially true when multiple parties authenticate digitally using the same terminal. Therefore, a blockchain-based digital identity authentication method is proposed to improve the information security of digital identity authentication and prevent digital identity theft. Summary of the Invention
[0004] One of the purposes of the present invention is to provide a blockchain-based digital identity authentication method, which can improve the information security of digital identity authentication and prevent digital identity theft.
[0005] One of the purposes of the present invention is to provide a blockchain-based digital identity authentication system that can improve the information security of digital identity authentication and prevent digital identity theft.
[0006] One of the purposes of the present invention is to provide an electronic device that can improve the information security of digital identity authentication and prevent digital identity from being stolen.
[0007] One of the purposes of the present invention is to provide a computer storage medium that can improve the information security of digital identity authentication and prevent digital identity from being stolen.
[0008] The embodiment of the present invention is achieved as follows:
[0009] In the first aspect, an embodiment of the present application provides a blockchain-based digital identity authentication method, which includes the following steps: an application server receives an identity generation instruction from a user terminal, obtains user information of a logged-in user, generates a digital identity based on the above user information, generates a verification code for the above digital identity and stores the above verification code locally through the above application server; the above application server encrypts the above verification code using the public key of the above user terminal and sends it to the above user terminal, and links the above digital identity and the above verification code to the blockchain; the above application server marks whether the current above digital identity of the above user terminal is available; when the above application server receives an operation instruction issued by the above user terminal, it obtains the verification code issued by the above user terminal and verifies it; when the above verification code is verified, the blockchain verifies the above digital identity according to the above verification code, and the above application server executes the above operation instruction after the above digital identity authentication is passed.
[0010] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: a status mark of the above-mentioned digital identity is stored in the blockchain, and the above-mentioned status mark is used to indicate whether the above-mentioned digital identity is currently available; when the above-mentioned digital identity is found according to the above-mentioned verification code and the above-mentioned digital identity is in an available state, the above-mentioned digital identity authentication is passed.
[0011] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: after the above-mentioned application server generates the above-mentioned digital identity, the above-mentioned digital identity is encrypted by the public key of the above-mentioned user terminal and sent to the above-mentioned user terminal.
[0012] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: there are multiple login users on the above-mentioned user terminal, and the above-mentioned application server locally stores the above-mentioned verification codes of the multiple login users through IP addresses; when the above-mentioned application server receives the above-mentioned operation instruction of any one of the above-mentioned login users, it searches for the multiple verification codes stored locally according to the IP address of the above-mentioned user terminal, and when the above-mentioned verification code sent by the above-mentioned login user matches one of the above-mentioned verification codes stored locally, the above-mentioned verification code verification is passed.
[0013] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: the above-mentioned application server stores the above-mentioned verification code according to the above-mentioned user information; when the above-mentioned user terminal issues the above-mentioned operation instruction, the above-mentioned user information is simultaneously sent to the above-mentioned application server; the above-mentioned application server searches for the above-mentioned verification code according to the above-mentioned user information, and compares it with the verification code issued by the above-mentioned user terminal. When the comparison results are consistent, the above-mentioned verification code is verified.
[0014] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: the above-mentioned operation instructions are to obtain the permission to access, edit and delete multiple data through the above-mentioned application server.
[0015] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: there are multiple user terminals, and when the above-mentioned application server simultaneously receives the above-mentioned operation instructions from the multiple user terminals, it obtains the above-mentioned user information of the multiple user terminals, and judges whether the multiple logged-in users are the same user based on the above-mentioned user information of the multiple user terminals. If they are the same, the above-mentioned user information verification fails, and when the above-mentioned user information verification passes, the above-mentioned verification code is verified.
[0016] In the second aspect, an embodiment of the present application provides a blockchain-based digital identity authentication system, which includes: an identity generation module: used to receive an identity generation instruction from a user terminal through an application server, and obtain user information of a logged-in user, generate a digital identity based on the above user information, generate a verification code for the above digital identity and store the above verification code locally through the above application server; an identity chain module: used to encrypt the above verification code using the public key of the above user terminal through the above application server and send it to the above user terminal, and chain the above digital identity and the above verification code to the blockchain; a verification code verification module: marks whether the current above digital identity of the above user terminal is available through the above application server; when the above application server receives an operation instruction issued by the above user terminal, it obtains the verification code issued by the above user terminal and verifies it; an identity verification module: when the above verification code verification is passed, the blockchain verifies the above digital identity according to the above verification code, and the above application server executes the above operation instruction after the above digital identity authentication is passed.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing one or more programs; a processor; when the one or more programs are executed by the processor, the method as described above in any one of the first aspects is implemented.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described above in any one of the first aspects.
[0019] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:
[0020] Regarding the first to fourth aspects: This application receives the identity generation instruction of the user terminal through the application server, and obtains the user information of the logged-in user, generates a digital identity based on the user information and then uploads it to the blockchain, and uses the blockchain to authenticate the digital identity to prevent others from tampering; generates a verification code through the digital identity, and stores it on the application server and uploads it to the blockchain, so that the application server can manage and verify the verification code, and upload it to the blockchain to prevent data loss; the application server encrypts the verification code with the public key of the user terminal and sends it to the user terminal, so that the user terminal can use the private key to decrypt the verification code and obtain the verification code, and uses the verification code to verify the digital identity, thereby avoiding The problem of digital identity loss: Since digital identity is generated based on user information and is unique, it can satisfy the needs of multiple users using the user terminal. The application server marks whether the digital identity is available, which strengthens the management of the digital identity. When the user sends an operation instruction to the application server, the application server can verify the verification code sent by the user terminal through the locally stored verification code, thereby securely authenticating the user's identity. After the verification code is locally verified, the blockchain authenticates the digital identity based on the verified verification code, thereby obtaining a digital identity that matches the user's identity information. After the digital identity authentication is passed, the application server executes the user terminal's operation instruction. This application can improve the information security of digital identity authentication and prevent digital identity theft. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 This is a flowchart of a blockchain-based digital identity authentication method according to Example 1 of the present invention;
[0023] Figure 2 This is a flowchart of digital identity verification according to Example 1 of the present invention;
[0024] Figure 3 This is a schematic diagram of the verification code verification process of Example 1 of the present invention;
[0025] Figure 4 This is a schematic diagram of the principle of a blockchain-based digital identity authentication system according to Example 2 of the present invention;
[0026] Figure 5 This is a schematic diagram of the principle of the electronic device according to embodiment 3 of the present invention. DETAILED DESCRIPTION
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Generally, the components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations.
[0028] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.
[0029] It should also be noted that, in the description of this application, unless otherwise expressly specified or limited, the terms "disposed" and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections, or electrical connections; direct connections, indirect connections through an intermediate medium, or internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0030] The following describes some embodiments of the present application in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features thereof may be combined with each other.
[0031] Example 1
[0032] See also Figures 1 to 3 , Figures 1 to 3 The figure shows a schematic diagram of a blockchain-based digital identity authentication method provided by an embodiment of the present application. The blockchain-based digital identity authentication method includes the following steps: an application server receives an identity generation instruction from a user terminal, obtains user information of a logged-in user, generates a digital identity based on the user information, generates a verification code for the digital identity, and locally stores the verification code via the application server; the application server encrypts the verification code using the public key of the user terminal and sends it to the user terminal, and uploads the digital identity and the verification code to the blockchain; the application server marks whether the current digital identity of the user terminal is available; when the application server receives an operation instruction from the user terminal, it obtains the verification code from the user terminal and verifies it; when the verification code is verified, the blockchain verifies the digital identity based on the verification code, and after the digital identity authentication is passed, the application server executes the operation instruction.
[0033] This application receives the identity generation instruction of the user terminal through the application server, and obtains the user information of the logged-in user, generates a digital identity based on the user information and then uploads it to the blockchain, and uses the blockchain to authenticate the digital identity to prevent tampering by others; generates a verification code through the digital identity, stores it on the application server and uploads it to the blockchain, so that the application server can manage and verify the verification code, and upload it to the blockchain to prevent data loss; the application server encrypts the verification code with the public key of the user terminal and sends it to the user terminal, so that the user terminal can use the private key to decrypt it to obtain the verification code, and uses the verification code to verify the digital identity, thereby avoiding the loss of the digital identity The problem is solved; since the digital identity is generated based on user information, it is unique and can satisfy the needs of multiple users using the user terminal; the application server marks whether the digital identity is available, which strengthens the management of the digital identity, and when the user sends an operation instruction to the application server, the application server can verify the verification code sent by the user terminal through the locally stored verification code, thereby performing security authentication of the user identity; after the verification code is locally verified, the blockchain authenticates the digital identity based on the verified verification code, thereby obtaining a digital identity that matches the user's identity information, and after the digital identity authentication is passed, the application server executes the user terminal's operation instruction. This application can improve the information security of digital identity authentication and prevent digital identity theft.
[0034] The above user information is used to authenticate unique logged-in users with different identities, and may include multiple data such as name, age, ID number, gender, job and address entered by the user when logging in. When issuing a command, relevant information can be sent at the same time for the application server to obtain the relevant information and process or authenticate it.
[0035] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: a status mark of the above-mentioned digital identity is stored in the blockchain, and the above-mentioned status mark is used to indicate whether the above-mentioned digital identity is currently available; when the above-mentioned digital identity is found according to the above-mentioned verification code and the above-mentioned digital identity is in an available state, the above-mentioned digital identity authentication is passed.
[0036] This status mark can be a number, text, or image, indicating whether the digital identity is currently available. The blockchain uses the verification code to find the corresponding digital identity. If the current digital identity is available, the application server executes the user's instructions, allowing the user to use the digital identity to obtain the corresponding data and operation permissions.
[0037] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: after the above-mentioned application server generates the above-mentioned digital identity, the above-mentioned digital identity is encrypted by the public key of the above-mentioned user terminal and sent to the above-mentioned user terminal.
[0038] Optionally, after generating the digital identity, the application server encrypts the digital identity using a public key and sends it to the user terminal, so that the user terminal can retain the digital identity evidence to verify the scope of operation authority provided by the application server.
[0039] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: there are multiple login users on the above-mentioned user terminal, and the above-mentioned application server locally stores the above-mentioned verification codes of the multiple login users through IP addresses; when the above-mentioned application server receives the above-mentioned operation instruction of any one of the above-mentioned login users, it searches for the multiple verification codes stored locally according to the IP address of the above-mentioned user terminal, and when the above-mentioned verification code sent by the above-mentioned login user matches one of the above-mentioned verification codes stored locally, the above-mentioned verification code verification is passed.
[0040] The application server stores verification codes generated by multiple users logging into the same client by IP address and uploads the corresponding digital identities and verification codes to the blockchain. When the application server receives an operation instruction from one of the logged-in users, it obtains the verification code of the logged-in user and compares it with the multiple verification codes found based on the IP address used by the client. If the verification codes are identical, it indicates that the user is the authorized login user of the client and the verification code verification is successful.
[0041] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: the above-mentioned application server stores the above-mentioned verification code according to the above-mentioned user information; when the above-mentioned user terminal issues the above-mentioned operation instruction, the above-mentioned user information is simultaneously sent to the above-mentioned application server; the above-mentioned application server searches for the above-mentioned verification code according to the above-mentioned user information, and compares it with the verification code issued by the above-mentioned user terminal. When the comparison results are consistent, the above-mentioned verification code is verified.
[0042] The application server stores the verification code for each user according to their user information. When a user sends an operation instruction, the application server compares the verification code sent by the user with the verification code corresponding to the locally stored user information. If the comparison results are the same, it means that the verification code has been verified.
[0043] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: the above-mentioned operation instructions are to obtain the permission to access, edit and delete multiple data through the above-mentioned application server.
[0044] The above-mentioned operation instructions may be operations such as data access, data editing and deletion, and the application server sends the corresponding data to the user terminal and opens its operation authority according to the operation instructions and digital identity.
[0045] In some embodiments of the present invention, the above-mentioned blockchain-based digital identity authentication method includes the following steps: there are multiple user terminals, and when the above-mentioned application server simultaneously receives the above-mentioned operation instructions from the multiple user terminals, it obtains the above-mentioned user information of the multiple user terminals, and judges whether the multiple logged-in users are the same user based on the above-mentioned user information of the multiple user terminals. If they are the same, the above-mentioned user information verification fails, and when the above-mentioned user information verification passes, the above-mentioned verification code is verified.
[0046] The above-mentioned application server is capable of receiving digital identity generation requests initiated by multiple user terminals, thereby generating a digital identity and a verification code for authenticating the digital identity; and each user terminal uses the verification code to initiate an operation instruction to the application server. When multiple user terminals simultaneously issue an operation instruction, it verifies whether the user information of the multiple user terminals is the same, and thus verifies whether they belong to the same logged-in user account. If they are the same, the user information verification fails; if they are not the same, the user information verification passes. After the user information verification passes, the verification code is verified in the next step. Optionally, when there are identical users, the user can be further authenticated by asking questions or other methods, so that only one of the user terminals is determined to have the authority to use the logged-in user, further preventing the theft of digital identities.
[0047] Example 2
[0048] See also Figure 4 , Figure 4 The schematic diagram of the blockchain-based digital identity authentication system provided in an embodiment of the present application. The blockchain-based digital identity authentication system includes: an identity generation module: used to receive an identity generation instruction from a user terminal through an application server, obtain user information of a logged-in user, generate a digital identity based on the user information, generate a verification code for the digital identity, and locally store the verification code through the application server; an identity on-chain module: used to encrypt the verification code using the public key of the user terminal through the application server and send it to the user terminal, and on-chain the digital identity and the verification code to the blockchain; a verification code verification module: used to mark whether the current digital identity of the user terminal is available through the application server; when the application server receives an operation instruction issued by the user terminal, it obtains the verification code issued by the user terminal and verifies it; an identity verification module: when the verification code is verified, the blockchain verifies the digital identity according to the verification code, and after the digital identity authentication is passed, the application server executes the operation instruction.
[0049] The principles of the present embodiment are the same as those of embodiment 1, and will not be described again here. Figure 4 The structure shown is for illustration only. The blockchain-based digital identity verification system may also include Figure 4More or fewer components than shown, or with Figure 4 Different configurations shown. Figure 4 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0050] Example 3
[0051] See also Figure 5 , Figure 5 A schematic structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a memory 101, a processor 102 and a communication interface 103. The memory 101, the processor 102 and the communication interface 103 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, such as the program instructions / modules corresponding to the blockchain-based digital identity authentication system provided in Example 2 of the present application. The processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 101. The communication interface 103 can be used for signaling or data communication with other node devices.
[0052] Among them, the memory 101 can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0053] The processor 102 may be an integrated circuit chip with signal processing capabilities. The processor 102 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0054] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0055] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0056] If the above functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the above methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0057] In summary, the embodiments of the present application provide a blockchain-based digital identity authentication method and system:
[0058] This application receives the identity generation instruction of the user terminal through the application server, and obtains the user information of the logged-in user, generates a digital identity based on the user information and then uploads it to the blockchain, and uses the blockchain to authenticate the digital identity to prevent tampering by others; generates a verification code through the digital identity, stores it on the application server and uploads it to the blockchain, so that the application server can manage and verify the verification code, and upload it to the blockchain to prevent data loss; the application server encrypts the verification code with the public key of the user terminal and sends it to the user terminal, so that the user terminal can use the private key to decrypt it to obtain the verification code, and uses the verification code to verify the digital identity, thereby avoiding the loss of the digital identity The problem is solved; since the digital identity is generated based on user information, it is unique and can satisfy the needs of multiple users using the user terminal; the application server marks whether the digital identity is available, which strengthens the management of the digital identity, and when the user sends an operation instruction to the application server, the application server can verify the verification code sent by the user terminal through the locally stored verification code, thereby performing security authentication of the user identity; after the verification code is locally verified, the blockchain authenticates the digital identity based on the verified verification code, thereby obtaining a digital identity that matches the user's identity information, and after the digital identity authentication is passed, the application server executes the user terminal's operation instruction. This application can improve the information security of digital identity authentication and prevent digital identity theft.
[0059] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
[0060] It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above and that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the present application is defined by the appended claims, not the foregoing description, and all variations within the meaning and range of equivalents of the claims are intended to be included therein. Any reference sign in a claim should not be construed as limiting the claim to which it relates.
Claims
1. A digital identity authentication method based on blockchain, characterized in that: The method comprises the following steps: an application server receives an identity generation instruction from a user terminal, obtains user information of a logged-in user, generates a digital identity based on the user information, generates a verification code for the digital identity, and stores the verification code locally on the application server; The application server encrypts the verification code using the public key of the user terminal and sends it to the user terminal, and links the digital identity and the verification code to the blockchain; the application server marks whether the current digital identity of the user terminal is available; when the application server receives an operation instruction issued by the user terminal, it obtains the verification code issued by the user terminal and verifies it; when the verification code is verified, the blockchain verifies the digital identity based on the verification code, and the application server executes the operation instruction after the digital identity verification is passed.
2. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method comprises the following steps: a status mark of the digital identity is stored in the blockchain, and the status mark is used to indicate whether the digital identity is currently available; when the digital identity is found according to the verification code and the digital identity is in an available state, the digital identity authentication is passed.
3. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method comprises the following steps: after the application server generates the digital identity, the application server encrypts the digital identity using the public key of the user terminal and sends the encrypted digital identity to the user terminal.
4. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method comprises the following steps: there are multiple logged-in users at the user terminal, and the application server locally stores the verification codes of the multiple logged-in users through IP addresses; when the application server receives the operation instruction of any one of the logged-in users, it searches for the multiple verification codes stored locally according to the IP address of the user terminal, and when the verification code sent by the logged-in user matches one of the verification codes stored locally, the verification code is verified.
5. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method comprises the following steps: the application server stores the verification code according to the user information; when the user terminal issues the operation instruction, the user information is simultaneously sent to the application server; the application server searches for the verification code according to the user information and compares it with the verification code issued by the user terminal. When the comparison results are consistent, the verification code is verified.
6. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method comprises the following steps: the operation instruction is to obtain the authority to access, edit and delete multiple data through the application server.
7. A blockchain-based digital identity authentication method according to claim 1, characterized in that: The method includes the following steps: when there are multiple user terminals, the application server simultaneously receives the operation instructions from the multiple user terminals, obtains the user information of the multiple user terminals, and determines whether the multiple logged-in users are the same user based on the user information of the multiple user terminals. If they are the same, the user information verification fails. If the user information verification passes, the verification code is verified.
8. A digital identity authentication system based on blockchain, characterized in that: include: Identity generation module: used to receive an identity generation instruction from a user terminal through an application server, obtain user information of a logged-in user, generate a digital identity based on the user information, generate a verification code for the digital identity, and store the verification code locally through the application server; Identity chain module: used to encrypt the verification code with the public key of the user terminal through the application server and send it to the user terminal, and chain the digital identity and the verification code to the blockchain; Verification code verification module: marks whether the current digital identity of the user terminal is available through the application server; when the application server receives the operation instruction sent by the user terminal, obtains the verification code sent by the user terminal and verifies it; Identity verification module: When the verification code is verified, the blockchain verifies the digital identity based on the verification code, and after the digital identity verification is passed, the application server executes the operation instruction.
9. An electronic device, characterized in that: include: a memory for storing one or more programs; Processor; when the one or more programs are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Digital identity authentication method, equipment, device and system and storage medium
CN109862041A
User identity certificate storage and verification method and device based on block chain and verification system
CN109889479A