Identity activation method and apparatus, device, and storage medium
The method of generating activation QR codes and user activation codes through certificate comparison solves the problem of inaccurate identity activation caused by static passwords, achieves accuracy and real-time identity activation, and improves the security of identity authentication.
Patent Information
- Application Number
- CN202210323336.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2042-03-29
AI Technical Summary
In the prior art, using static passwords for identity authentication and activation presents security risks, resulting in inaccurate identity activation.
By obtaining the certificate of the user to be activated and comparing it with the identity information, an activation QR code is generated. The receiving terminal scans the code to download the user activation code, and identity activation processing is performed based on the user activation code to ensure the real-time and accuracy of the activation code.
The accuracy and real-time nature of the identity activation process are achieved, ensuring that the acquisition and processing of user activation codes are more reliable and improving the security of identity authentication.
Smart Images

Figure CN114741681B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication security technology, and in particular to an identity activation method, device, electronic device, and computer-readable storage medium. Background Art
[0002] With the continuous development of society, user identity authentication is often required in practical applications across various enterprises to ensure enterprise security. Identity authentication typically uses static passwords for authentication and activation of authenticated identities. However, using static passwords for authentication and activation presents significant security risks. Static passwords cannot guarantee real-time password validation, resulting in inaccurate identity activation. Summary of the Invention
[0003] The present invention provides an identity activation method, device and computer-readable storage medium, the main purpose of which is to solve the problem of inaccurate identity activation.
[0004] To achieve the above-mentioned purpose, the present invention provides an identity activation method, comprising:
[0005] When an identity activation request is received, the certificate of the user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result;
[0006] If the information comparison result is that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated;
[0007] Receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code;
[0008] Perform identity activation processing on the user to be activated based on the user activation code.
[0009] Optionally, before obtaining the certificate of the user to be activated, the method further includes:
[0010] Obtain user basic information, perform validity verification on the user basic information, and when the user basic information passes the validity verification, allocate an identity certificate to the user corresponding to the user basic information.
[0011] Optionally, verifying the validity of the basic user information includes:
[0012] Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information;
[0013] The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
[0014] Optionally, the performing identity activation processing on the user to be activated based on the user activation code includes:
[0015] Compare the identity information of the user to be activated with the information in the preset information database, and generate a verification code corresponding to the user to be activated when the comparison is correct;
[0016] Writing the verification code and the user activation code into a preset server, so that the server generates a target identity certificate according to the verification code and the user activation code;
[0017] When the target identity certificate sent by the server is received, identity activation processing is performed on the user to be activated according to the target identity certificate.
[0018] Optionally, before writing the verification code and the user activation code to a preset server, the method further includes:
[0019] Determining whether the verification code is written into the server within a preset time period;
[0020] If the verification code is not written into the server within the time period, a new verification code is obtained and written into the server.
[0021] In order to solve the above problems, the present invention further provides an identity activation device, comprising:
[0022] An information comparison module is used to, when receiving an identity activation request, obtain a certificate of the user to be activated, compare the certificate with the identity information of the user to be activated, and obtain an information comparison result;
[0023] A QR code generation module is used to generate an activation QR code corresponding to the user to be activated if the information comparison result shows that the identity information passes the comparison;
[0024] An activation code generation module is used to receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code;
[0025] The activation module is used to perform identity activation processing on the user to be activated based on the user activation code.
[0026] In order to solve the above problem, the present invention further provides an identity activation device, the device further comprising:
[0027] The user information acquisition module is used to obtain the basic information of the user before obtaining the certificate of the user to be activated;
[0028] A user information verification module is used to verify the validity of the user's basic information;
[0029] The certificate allocation module is used to allocate an identity certificate to the user corresponding to the user basic information when the user basic information passes the validity verification.
[0030] In order to solve the above problems, the present invention further provides an identity activation device, wherein the user information verification module in the identity activation device is specifically configured to:
[0031] Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information;
[0032] The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
[0033] In order to solve the above problem, the present invention further provides an electronic device, comprising:
[0034] at least one processor; and,
[0035] a memory communicatively connected to the at least one processor; wherein,
[0036] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the identity activation method described above.
[0037] In order to solve the above problem, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer program, and the at least one computer program is executed by a processor in an electronic device to implement the above-mentioned identity activation method.
[0038] In an embodiment of the present invention, the identity information of the user to be activated is compared with the certificate. If the result of the information comparison is that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated, and a user activation code is generated after a preset terminal scans and downloads the activation QR code to obtain a user activation code. The user activation code is generated by the activation QR code, ensuring the real-time acquisition of the user activation code. The identity activation process is performed on the user to be activated based on the user activation code to obtain the user after identity activation. Identity activation is performed using the user activation code obtained in real time, ensuring the accuracy of the identity activation process. Therefore, the identity activation method, device, electronic device, and computer-readable storage medium proposed in the present invention can solve the problem of inaccurate identity activation. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A flowchart of an identity activation method provided by one embodiment of the present invention;
[0040] Figure 2 A functional module diagram of an identity activation device provided by an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of the structure of an electronic device for implementing the identity activation method provided by an embodiment of the present invention.
[0042] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0044] The embodiment of the present application provides an identity activation method. The execution subject of the identity activation method includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the identity activation method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0045] Reference Figure 1 FIG. 1 is a flow chart of an identity activation method provided by an embodiment of the present invention.
[0046] In this embodiment, the identity activation method includes:
[0047] S1. When an identity activation request is received, a certificate of a user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result.
[0048] In an embodiment of the present invention, when an identity activation request is received, the certificate of the user to be activated is obtained and compared with the relevant information of the user to be activated, where the relevant information of the user to be activated may include the user's name, mobile phone number, ID number, and session code.
[0049] Specifically, before obtaining the certificate of the user to be activated, the method further includes:
[0050] Obtain user basic information, perform validity verification on the user basic information, and when the user basic information passes the validity verification, allocate an identity certificate to the user corresponding to the user basic information.
[0051] Specifically, the user's basic information refers to the user's identity information, where the user may be an employee of a company. The user's basic information includes, but is not limited to, the user's name, mobile phone number, and ID number. After obtaining the user's basic information, it is necessary to verify its validity. The verification process ensures the accuracy and authenticity of the user's basic information.
[0052] Furthermore, the comparing the certificate with the identity information of the user to be activated to obtain an information comparison result includes:
[0053] Determine whether the identity information of the user to be activated is consistent with the information in the certificate;
[0054] If the identity information of the user to be activated is consistent with the information in the certificate, determining that the information comparison result is that the identity information passes the comparison;
[0055] If the identity information of the user to be activated is inconsistent with the information in the certificate, it is determined that the information comparison result is that the identity information fails the comparison.
[0056] In detail, the identity certificate contains multiple pieces of information. The identity information of the user to be activated is compared with the information in the certificate. If they are consistent, the information comparison result is determined to be that the identity information passes the comparison; if they are inconsistent, the information comparison result is determined to be that the identity information fails the comparison.
[0057] Specifically, the verification of the validity of the user basic information includes:
[0058] Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information;
[0059] The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
[0060] Specifically, a Java statement with missing value detection is used to perform missing value detection on the user's basic information to determine whether there are any missing values in the user's basic information. If a missing value is detected in the user's basic information, the missing value of the user's ID number needs to be filled. For example, if the user's basic information includes the user name Zhang San, the user's mobile phone number 158****0098, and the user's ID number is 0, then there is a missing value corresponding to the user's ID number. The user's ID number is obtained and Zhang San's ID number information is added to the user's ID number to obtain the initial basic information.
[0061] The preset identity authentication information database is provided by a certificate authority (CA), and contains basic information of multiple users who have passed identity authentication in advance.
[0062] Furthermore, the certificate issuing authority will issue an identity certificate to the user corresponding to the user basic information that has passed the validity verification. The identity certificate can be used to identify the authentication status of the user. The user who obtains the identity certificate has passed the validity verification.
[0063] S2. If the information comparison result shows that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated.
[0064] In an embodiment of the present invention, when the information comparison result is that the relevant information passes the comparison, an activation QR code corresponding to the user to be activated can be generated, wherein different users to be activated can generate corresponding activation QR codes, and the activation QR code contains the identity information of the user to be activated.
[0065] S3. Receive a user activation code generated after a preset terminal scans and downloads the activation QR code.
[0066] In this embodiment of the present invention, the preset terminal is the terminal device corresponding to each user to be activated. Scanning and downloading the activation QR code using the terminal device corresponding to the user to be activated can ensure that the terminal device of the user to be activated corresponds to the activation QR code, thereby making the user activation code obtained by scanning and downloading more accurate. The terminal device in this solution can be a mobile phone.
[0067] S4. Perform identity activation processing on the user to be activated based on the user activation code.
[0068] In the embodiment of the present invention, the step of performing identity activation on the user to be activated based on the user activation code includes:
[0069] Compare the identity information of the user to be activated with the information in the preset information database, and generate a verification code corresponding to the user to be activated when the comparison is correct;
[0070] Writing the verification code and the user activation code into a preset server, so that the server generates a target identity certificate according to the verification code and the user activation code;
[0071] When the target identity certificate sent by the server is received, identity activation processing is performed on the user to be activated according to the target identity certificate.
[0072] In detail, the user to be activated needs to send identity information from the terminal to the enterprise administrator backend. When the identity information is compared and found to be correct, the user to be activated receives a verification code. The user to be activated fills in the activation code and verification code to download the certificate and completes the identity activation.
[0073] Specifically, before writing the verification code and the user activation code into a preset server, the method further includes:
[0074] Determining whether the verification code is written into the server within a preset time period;
[0075] If the verification code is not written into the server within the time period, a new verification code is obtained and written into the server.
[0076] Specifically, each verification code has a corresponding valid input time period. If the verification code is not written to the server within the preset time period, it is determined that the verification code has expired, and a new verification code must be obtained and written to the server within the specified time period. The QR code with the verification code can be automatically refreshed by the background, and the code must be scanned again to obtain a new verification code.
[0077] In an embodiment of the present invention, the identity information of the user to be activated is compared with the certificate. If the comparison result indicates that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated. A user activation code is generated by scanning and downloading the activation QR code at a preset terminal to obtain the user activation code. The user activation code is generated by the activation QR code, ensuring real-time acquisition of the user activation code. Identity activation processing is then performed on the user to be activated based on the user activation code to obtain the user after identity activation. Identity activation is performed using the user activation code obtained in real time, ensuring the accuracy of the identity activation process. Therefore, the identity activation method proposed in the present invention can solve the problem of inaccurate identity activation.
[0078] like Figure 2 FIG. 1 is a functional module diagram of an identity activation device provided by an embodiment of the present invention.
[0079] The identity activation device 100 described in the present invention can be installed in an electronic device. Depending on the functionality implemented, the identity activation device 100 may include an information comparison module 101, a QR code generation module 102, an activation code generation module 103, and an activation module 104. A module, also referred to as a unit, is a series of computer program segments that can be executed by an electronic device processor and perform a fixed function. These modules are stored in the electronic device's memory.
[0080] In this embodiment, the functions of each module / unit are as follows:
[0081] The information comparison module 101 is configured to, upon receiving an identity activation request, obtain a certificate of the user to be activated, compare the certificate with the identity information of the user to be activated, and obtain an information comparison result;
[0082] The QR code generation module 102 is configured to generate an activation QR code corresponding to the user to be activated if the information comparison result indicates that the identity information passes the comparison;
[0083] The activation code generation module 103 is used to receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code;
[0084] The activation module 104 is used to perform identity activation processing on the user to be activated based on the user activation code. In detail, the specific implementation of each module of the identity activation device 100 is as follows:
[0085] Step 1: When an identity activation request is received, the certificate of the user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result.
[0086] In an embodiment of the present invention, when an identity activation request is received, the certificate of the user to be activated is obtained and compared with the relevant information of the user to be activated, where the relevant information of the user to be activated may include the user's name, mobile phone number, ID number, and session code.
[0087] Specifically, before obtaining the certificate of the user to be activated, the method further includes:
[0088] Obtain user basic information, perform validity verification on the user basic information, and when the user basic information passes the validity verification, allocate an identity certificate to the user corresponding to the user basic information.
[0089] Specifically, the user's basic information refers to the user's identity information, where the user may be an employee of a company. The user's basic information includes, but is not limited to, the user's name, mobile phone number, and ID number. After obtaining the user's basic information, it is necessary to verify its validity. The verification process ensures the accuracy and authenticity of the user's basic information.
[0090] Furthermore, the comparing the certificate with the identity information of the user to be activated to obtain an information comparison result includes:
[0091] Determine whether the identity information of the user to be activated is consistent with the information in the certificate;
[0092] If the identity information of the user to be activated is consistent with the information in the certificate, determining that the information comparison result is that the identity information passes the comparison;
[0093] If the identity information of the user to be activated is inconsistent with the information in the certificate, it is determined that the information comparison result is that the identity information fails the comparison.
[0094] In detail, the identity certificate contains multiple pieces of information. The identity information of the user to be activated is compared with the information in the certificate. If they are consistent, the information comparison result is determined to be that the identity information passes the comparison; if they are inconsistent, the information comparison result is determined to be that the identity information fails the comparison.
[0095] Specifically, the verification of the validity of the user basic information includes:
[0096] Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information;
[0097] The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
[0098] Specifically, a Java statement with missing value detection is used to perform missing value detection on the user's basic information to determine whether there are any missing values in the user's basic information. If a missing value is detected in the user's basic information, the missing value of the user's ID number needs to be filled. For example, if the user's basic information includes the user name Zhang San, the user's mobile phone number 158****0098, and the user's ID number is 0, then there is a missing value corresponding to the user's ID number. The user's ID number is obtained and Zhang San's ID number information is added to the user's ID number to obtain the initial basic information.
[0099] The preset identity authentication information database is provided by a certificate authority (CA), and contains basic information of multiple users who have passed identity authentication in advance.
[0100] Furthermore, the certificate issuing authority will issue an identity certificate to the user corresponding to the user basic information that has passed the validity verification. The identity certificate can be used to identify the authentication status of the user. The user who obtains the identity certificate has passed the validity verification.
[0101] Step 2: If the information comparison result shows that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated.
[0102] In an embodiment of the present invention, when the information comparison result is that the relevant information passes the comparison, an activation QR code corresponding to the user to be activated can be generated, wherein different users to be activated can generate corresponding activation QR codes, and the activation QR code contains the identity information of the user to be activated.
[0103] Step 3: Receive the user activation code generated by scanning and downloading the activation QR code via a preset terminal.
[0104] In this embodiment of the present invention, the preset terminal is the terminal device corresponding to each user to be activated. Scanning and downloading the activation QR code using the terminal device corresponding to the user to be activated can ensure that the terminal device of the user to be activated corresponds to the activation QR code, thereby making the user activation code obtained by scanning and downloading more accurate. The terminal device in this solution can be a mobile phone.
[0105] Step 4: Activate the identity of the user to be activated based on the user activation code.
[0106] In the embodiment of the present invention, the step of performing identity activation on the user to be activated based on the user activation code includes:
[0107] Compare the identity information of the user to be activated with the information in the preset information database, and generate a verification code corresponding to the user to be activated when the comparison is correct;
[0108] Writing the verification code and the user activation code into a preset server, so that the server generates a target identity certificate according to the verification code and the user activation code;
[0109] When the target identity certificate sent by the server is received, identity activation processing is performed on the user to be activated according to the target identity certificate.
[0110] In detail, the user to be activated needs to send identity information from the terminal to the enterprise administrator backend. When the identity information is compared and found to be correct, the user to be activated receives a verification code. The user to be activated fills in the activation code and verification code to download the certificate and completes the identity activation.
[0111] Specifically, before writing the verification code and the user activation code into a preset server, the method further includes:
[0112] Determining whether the verification code is written into the server within a preset time period;
[0113] If the verification code is not written into the server within the time period, a new verification code is obtained and written into the server.
[0114] Specifically, each verification code has a corresponding valid input time period. If the verification code is not written to the server within the preset time period, it is determined that the verification code has expired, and a new verification code must be obtained and written to the server within the specified time period. The QR code with the verification code can be automatically refreshed by the background, and the code must be scanned again to obtain a new verification code.
[0115] In this embodiment of the present invention, the identity information of the user to be activated is compared with the certificate. If the comparison result indicates that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated. A preset terminal scans and downloads the activation QR code to generate a user activation code, thereby obtaining a user activation code. The user activation code is generated using the activation QR code, ensuring real-time acquisition of the user activation code. Identity activation processing is then performed on the user to be activated based on the user activation code, obtaining an activated user. Identity activation is performed using the user activation code obtained in real time, ensuring the accuracy of the identity activation process. Therefore, the identity activation device proposed in the present invention can address the issue of inaccurate identity activation.
[0116] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing an identity activation method provided by an embodiment of the present invention.
[0117] The electronic device 1 may include a processor 10 , a memory 11 , a communication bus 12 , and a communication interface 13 , and may further include a computer program stored in the memory 11 and executable on the processor 10 , such as an identity activation program.
[0118] In some embodiments, the processor 10 may be composed of an integrated circuit, such as a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips. The processor 10 is the control core (Control Unit) of the electronic device, connecting the various components of the entire electronic device using various interfaces and lines, and executing programs or modules stored in the memory 11 (such as executing an identity activation program) and calling data stored in the memory 11 to perform various functions of the electronic device and process data.
[0119] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. equipped on the electronic device. Furthermore, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can be used not only to store application software and various types of data installed in the electronic device, such as the code of the identity activation program, but also to temporarily store data that has been output or is to be output.
[0120] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable communication between the memory 11 and at least one processor 10, etc.
[0121] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0122] Figure 3 Only the electronic device with components is shown, and it can be understood by those skilled in the art that Figure 3 The structure shown does not constitute a limitation on the electronic device 1 , and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0123] For example, although not shown, the electronic device may further include a power source (such as a battery) for powering various components. Preferably, the power source may be logically connected to the at least one processor 10 via a power management device, thereby implementing functions such as charge management, discharge management, and power consumption management through the power management device. The power source may further include any components such as one or more DC or AC power sources, a recharging device, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.
[0124] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0125] The identity activation program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When executed in the processor 10, it can achieve the following:
[0126] When an identity activation request is received, the certificate of the user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result;
[0127] If the information comparison result is that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated;
[0128] Receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code;
[0129] Perform identity activation processing on the user to be activated based on the user activation code.
[0130] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0131] Furthermore, if the modules / units integrated into the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).
[0132] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor of an electronic device, the computer program can implement:
[0133] When an identity activation request is received, the certificate of the user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result;
[0134] If the information comparison result is that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated;
[0135] Receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code;
[0136] Perform identity activation processing on the user to be activated based on the user activation code.
[0137] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the module division is merely a logical function division, and other division methods may be used in actual implementation.
[0138] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of the solution of this embodiment according to actual needs.
[0139] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or hardware plus software functional modules.
[0140] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0141] Therefore, the embodiments should be considered in all respects as illustrative and non-restrictive, and the scope of the invention is defined by the appended claims rather than the foregoing description, and all changes that come within the meaning and range of equivalents of the claims are intended to be embraced therein. Any reference to a figure in a claim should not be construed as limiting the claim to which it relates.
[0142] The blockchain, as used in this article, refers to a novel application model for computer technologies such as distributed identity activation, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each block contains information about a batch of online transactions, used to verify the validity of this information (to prevent counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, the platform product service layer, and the application service layer.
[0143] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to achieve optimal results.
[0144] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a system claim may also be implemented by a single unit or device through software or hardware. Terms such as "first" and "second" are used to indicate names and do not imply any particular order.
[0145] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. An identity activation method, characterized in that: The method comprises: When an identity activation request is received, the certificate of the user to be activated is obtained, and the certificate is compared with the identity information of the user to be activated to obtain an information comparison result; If the information comparison result is that the identity information passes the comparison, an activation QR code corresponding to the user to be activated is generated; Receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code; Performing identity activation processing on the user to be activated based on the user activation code; Before obtaining the certificate of the user to be activated, the method further includes: Obtaining basic user information, performing validity verification on the basic user information, and assigning an identity certificate to the user corresponding to the basic user information when the basic user information passes the validity verification; The verification of the validity of the basic user information includes: Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information; The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
2. The identity activation method according to claim 1, wherein: The performing identity activation processing on the user to be activated based on the user activation code includes: Compare the identity information of the user to be activated with the information in the preset information database, and generate a verification code corresponding to the user to be activated when the comparison is correct; Writing the verification code and the user activation code into a preset server, so that the server generates a target identity certificate according to the verification code and the user activation code; When the target identity certificate sent by the server is received, identity activation processing is performed on the user to be activated according to the target identity certificate.
3. The identity activation method according to claim 2, wherein: Before writing the verification code and the user activation code into a preset server, the method further includes: Determining whether the verification code is written into the server within a preset time period; If the verification code is not written into the server within the time period, a new verification code is obtained and written into the server.
4. An identity activation device, characterized in that: The device comprises: An information comparison module is used to, when receiving an identity activation request, obtain a certificate of the user to be activated, compare the certificate with the identity information of the user to be activated, and obtain an information comparison result; A QR code generation module is used to generate an activation QR code corresponding to the user to be activated if the information comparison result shows that the identity information passes the comparison; An activation code generation module is used to receive a user activation code generated by a preset terminal after scanning and downloading the activation QR code; An activation module, configured to perform identity activation processing on the user to be activated based on the user activation code; The user information acquisition module is used to obtain the basic information of the user before obtaining the certificate of the user to be activated; A user information verification module is used to verify the validity of the user's basic information; Certificate distribution module for when the user's basic information passes the validity verification, the user's basic information corresponding to the user's identity certificate; The user information verification module is specifically used to: Determine whether there are missing values in the user basic information, and if so, fill in the missing values to obtain initial basic information; The initial basic information is compared with the identity authentication information in a preset identity authentication information database. When the initial basic information is consistent with the identity authentication information, it is determined that the user basic information has passed the validity verification.
5. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the identity activation method according to any one of claims 1 to 3.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the identity activation method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Medical expense payment method, device and system
CN111539833A