Device login verification method, device, and electronic device
By coordinating login method, network access method, and verification code information between the device and mobile terminal, and utilizing the host as an intermediary, the security of the device is ensured, thus solving the security problem of device login method and improving the security performance of the device.
Patent Information
- Application Number
- CN202310518538.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-05-09
AI Technical Summary
Existing device login methods pose a risk that passwords may be automatically saved and others may log in directly. SMS verification code login also carries the risk that verification code information may be stolen and used for direct login, resulting in low device security.
The device determines the login verification method of the mobile terminal and generates and verifies the verification code information through the host as an intermediary. Login is only allowed after the login method, network connection method and verification code information of the mobile terminal match. The information is encrypted with a key to enhance security.
Even if account passwords or verification code information are stolen, the login verification method is only known to the corresponding mobile terminal, greatly improving device security and preventing unauthorized login.
Smart Images

Figure CN116527369B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communications, and in particular to a method, apparatus, and electronic device for login authentication of a device. Background Technology
[0002] In locations with high security login requirements, if anyone can operate certain security devices within the premises, then unauthorized personnel could potentially manipulate the host side of these devices, posing a significant risk. Therefore, existing solutions address this security issue by using mobile devices for login, such as logging in via a verification code on a mobile terminal. The system then verifies the authenticity of the login attempt based on the user's account information and the verification code.
[0003] However, the above login methods have the risk that the password can be automatically saved and others can log in directly. SMS verification code login also has the risk that the verification code information can be stolen and the device can be logged in directly. The existing device login methods have low security and the device security is at risk. Summary of the Invention
[0004] In view of this, the present disclosure proposes a device login verification method, apparatus, and electronic device to solve the following problems of the prior art: the above login methods have the risk that others can log in directly after the password is automatically saved, and SMS verification code login also has the risk that the verification code information is stolen and the device is logged in directly. The existing device login methods have low security and the device security is at risk.
[0005] On one hand, this disclosure proposes a login verification method for a device, comprising: the device determining a login verification method for a mobile terminal and sending data format information carrying the login verification method to the mobile terminal, wherein the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; the device generating verification code information in response to a login request from a host and filling the verification code information into a verification preparation field to obtain a verification baseline field; the device sending the verification code information to the host to present the verification code information through the host; the device receiving verification information from the host, wherein the verification information is generated by the mobile terminal based on the verification code information, login verification data corresponding to the mobile terminal login operation, and the data format information; and the device matching the verification information with the verification baseline field to determine whether to allow the host to log in to the device based on the matching result.
[0006] In some embodiments, after sending the data format information carrying the login verification method to the mobile terminal, the method further includes: the device generating the verification preparation field based on the data format information of the login verification method.
[0007] In some embodiments, before sending the data format information carrying the login verification method to the mobile terminal, the method further includes: the device generating key pair information and sending the public key information in the key pair information to the mobile terminal.
[0008] In some embodiments, before the device matches the information to be verified with the verification benchmark field, the device further includes: decrypting the information to be verified based on the private key in the key pair information to obtain the decrypted information to be verified.
[0009] In some embodiments, the device matches the information to be verified with the verification benchmark field, including: the device matches the received login account data of the mobile terminal with predetermined login account data; if the login account data matches the predetermined login account data, the device matches the information to be verified with the verification benchmark field.
[0010] On the other hand, this disclosure provides a device login verification method, comprising: a mobile terminal receiving data format information from a device, wherein the data format information carries a login verification method for logging into the device, the login verification method including at least: the mobile terminal's login method, the mobile terminal's network connection method, and verification code information; the mobile terminal generating verification information to be verified based on the verification code information presented by the host terminal, the login verification data corresponding to the mobile terminal's login operation, and the data format information; the mobile terminal sending the verification information to be verified to the host terminal, and the host terminal sending the verification information to be verified to the device terminal for matching verification, so as to determine whether the host terminal is allowed to log into the device terminal based on the matching result of the device terminal.
[0011] In some embodiments, before the mobile terminal receives data format information from the device, the method further includes: the mobile terminal receiving public key information sent by the device, wherein the public key information comes from key pair information generated by the device.
[0012] In some embodiments, before the mobile terminal sends the information to be verified to the host, the method further includes: the mobile terminal encrypting the information to be verified based on the public key information.
[0013] On the other hand, this disclosure provides a device login verification apparatus, comprising: a determining module, configured to determine a login verification method for a mobile terminal and send data format information carrying the login verification method to the mobile terminal, wherein the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; a first generating module, configured to generate verification code information in response to a login request from a host terminal and fill the verification code information into a verification preparation field to obtain a verification baseline field; a first sending module, configured to send the verification code information to the host terminal to present the verification code information through the host terminal; a first receiving module, configured to receive information to be verified from the host terminal, wherein the information to be verified is generated by the mobile terminal based on the verification code information, login verification data corresponding to the mobile terminal login operation, and the data format information; and a matching module, configured to match the information to be verified with the verification baseline field to determine whether to allow the host terminal to log in to the device terminal based on the matching result.
[0014] On the other hand, this disclosure provides a device login verification apparatus, comprising: a second receiving module for receiving data format information from a device, wherein the data format information carries a login verification method for logging into the device, the login verification method including at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; a second generating module for generating verification information based on the verification code information presented by the host, the login verification data corresponding to the mobile terminal login operation, and the data format information; and a second sending module for sending the verification information to the host, and then sending the verification information to the device for matching verification, so as to determine whether the host is allowed to log into the device based on the matching result of the device.
[0015] On the other hand, embodiments of this disclosure provide an electronic device, including at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method provided in any embodiment of this disclosure when executing the computer program in the memory.
[0016] This disclosure specifies a corresponding login verification method for the mobile terminal. When the mobile terminal sends verification code information, its login method, network connection method, and verification code information all need to be verified. Only after all login verification methods are successfully verified can the host terminal log in to the device terminal. The entire verification process is mediated by the host terminal, and there is no direct interaction between the device terminal and the mobile terminal, ensuring the security of the device terminal. Through the above method of this disclosure, even if the account password or verification code information is stolen, only the corresponding mobile terminal knows the login verification method. When the login verification method does not match the login verification method specified by the device terminal, login to the device terminal cannot be achieved, thus the device terminal has high security performance. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 The flow of the device login verification method provided in the first embodiment of this disclosure Figure 1 ;
[0019] Figure 2 The flow of the device login verification method provided in the first embodiment of this disclosure Figure 2 ;
[0020] Figure 3 Schematic diagram of the login verification device for the device provided in the second embodiment of this disclosure Figure 1 ;
[0021] Figure 4 Schematic diagram of the login verification device for the device provided in the second embodiment of this disclosure Figure 2 . Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0023] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as “comprising” or “including” mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as “connected” or “linked” are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as “upper,” “lower,” “left,” and “right” are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described objects changes.
[0024] To keep the following description of the embodiments of this disclosure clear and concise, detailed descriptions of known functions and known components are omitted.
[0025] The first embodiment of this disclosure provides a device login verification method, the flow of which is as follows: Figure 1 As shown, steps S101 to S105 are included:
[0026] S101, the device determines the login verification method of the mobile terminal and sends the data format information carrying the login verification method to the mobile terminal. The login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and the verification code information.
[0027] The login verification method determined by the device is used to inform the mobile terminal which method is required to log in and pass the verification. This login verification method is different from the account and password content in the login request on the host side. It is an additional verification process for the mobile terminal that assists in entering the verification code information. It limits the method that the mobile terminal can use to log in to its own device. It does not verify whether the account and password entered by the host side are accurate when logging in in this way. Whether the account and password are accurate is what the login request needs to verify, which will be explained in subsequent embodiments.
[0028] The login verification method includes at least the network connection method, login method, and verification code information. Specifically, it informs the mobile terminal which network to connect to (e.g., Bluetooth, public Wi-Fi), what login method to use (e.g., password authentication, facial recognition), and to enter the known verification code. Regarding the data format, the device can be configured according to requirements, as long as the mobile terminal can recognize it and perform subsequent operations. This disclosure does not impose any limitations on the data format.
[0029] After the data format information carrying the login verification method is sent to the mobile terminal, the device will generate a verification preparation field based on the data format information of the login verification method for the subsequent verification process.
[0030] The device can send data format information to the mobile terminal through a single point of trust. Correspondingly, the mobile terminal will receive the aforementioned data format information from the device and store it for later use.
[0031] S102, the device responds to the login request from the host by generating verification code information and filling the verification code information into the verification preparation field to obtain the verification base field.
[0032] In this embodiment of the invention, the host is a fixed login terminal for the device. Under normal circumstances, one can log in to the device using an account and password. In order to reduce the possibility of logging into the device after the account, password and verification code information are stolen, this embodiment of the invention allows the verification code information to be entered through a third-party mobile terminal, and limits the type of login operation when the mobile terminal logs into its own device, that is, at least the login method and the network connection method are limited.
[0033] Although the host has not yet successfully logged into the device, the host is a fixed and trusted device that can act as a data forwarding intermediary between the device and the mobile terminal, ensuring both the security of the device and the ability for the mobile terminal and the device to perform authentication interactions.
[0034] When the host sends a login request, it triggers the device to generate a verification code, which is then sent to the host. The host displays the verification code on the screen for subsequent user verification. Since the device has already generated the verification code, and the login verification method includes the verification code, subsequent verification of the verification code is no longer necessary; it can be performed within the login verification process. Because the verification code has just been generated, the device needs to fill it into the previously empty verification preparation field. After filling, the verification base field is obtained.
[0035] S103, the device sends the verification code information to the host so that the host can display the verification code information.
[0036] The host computer displays the verification code on the screen but does not provide an input box, prohibiting direct input of the verification code by the host computer. Instead, the mobile terminal inputs the verification code. Correspondingly, the mobile terminal generates verification information based on the verification code displayed by the host computer, the login verification data corresponding to the mobile terminal's own login operation, and the data format information. The login operation may be, for example, the mobile terminal unlocking its own device by following the facial recognition method specified by the device, or connecting to a designated Wi-Fi network. Subsequently, the mobile terminal sends the verification information to the host computer through the specified network connection method (e.g., the designated Wi-Fi network specified by the device), so that the host computer can send the verification information to the device for matching and verification.
[0037] S104, the device receives the verification information from the host, wherein the verification information is generated by the mobile terminal based on the verification code information, the login verification data corresponding to the mobile terminal login operation, and the data format information.
[0038] S105, the device will match the information to be verified with the verification benchmark field to determine whether to allow login to the device based on the matching result.
[0039] The login request is sent before the information to be verified. When verifying, the device can first verify whether the account and password in the login request are correct, and then verify whether the information to be verified matches. Of course, it is also possible not to perform the correctness verification when the login request is received, but to verify the correctness of the account and password after the information to be verified matches. This embodiment of the invention does not limit this.
[0040] If the account and password are correct, and the information to be verified matches the verification benchmark field, then the host is allowed to log in to the device. If the information to be verified does not match the verification benchmark field, then the host is prohibited from logging in to the device. In this case, a reminder message can be displayed to inform the user.
[0041] Figure 2 The diagram above illustrates the process of a mobile terminal acting as the end-to-end device in the aforementioned process.
[0042] This disclosure specifies a corresponding login verification method for the mobile terminal. When the mobile terminal sends verification code information, its login method, network connection method, and verification code information all need to be verified. Only after all login verification methods are successfully verified can the host terminal log in to the device terminal. The entire verification process is mediated by the host terminal, and there is no direct interaction between the device terminal and the mobile terminal, ensuring the security of the device terminal. Through the above method of this disclosure, even if the account password or verification code information is stolen, only the corresponding mobile terminal knows the login verification method. When the login verification method does not match the login verification method specified by the device terminal, login to the device terminal cannot be achieved, thus the device terminal has high security performance.
[0043] To further enhance security, in this embodiment of the present disclosure, before sending the data format information carrying the login verification method to the mobile terminal, a key pair information can be generated on the device side, and the device side can send the public key information in the key pair information to the mobile terminal, so that the mobile terminal can encrypt the information to be verified according to the public key information, and the device side can use the private key information to decrypt the encryption.
[0044] In implementation, the mobile terminal receives public key information sent by the device; before the mobile terminal sends the information to be verified to the host, the mobile terminal encrypts the information to be verified based on the public key information.
[0045] Correspondingly, before the device matches the information to be verified with the verification benchmark field, the device decrypts the information to be verified based on the private key in the key pair information to obtain the decrypted information to be verified.
[0046] The embodiments disclosed herein effectively guarantee the credibility of the logged-in user's identity. The credibility of the login identity proposed in the embodiments of this disclosure mainly relies on the unlocking method of the mobile terminal device and its network environment information, thus preventing others from logging in simply by obtaining the mobile terminal device or login information.
[0047] The above process is illustrated below.
[0048] The device login verification method based on the reliability of mobile terminal login methods provided in this disclosure includes the following three processes:
[0049] (1) The device side determines and informs the mobile terminal of the login verification method.
[0050] (2) Device initialization.
[0051] (3) Verification process on the login device.
[0052] The three processes described above will be explained in detail below.
[0053] (1) The device side determines and informs the mobile terminal of the login verification method.
[0054] Step 1: The device generates key pair information and sends the public key information to the mobile terminal;
[0055] Step 2: The device determines the data format information (including login method, network connection method, verification code, etc.) and the possible values and corresponding relationships of each field, and transmits it to the mobile terminal in a single-point trusted manner. For example, the format can be set to a total length of 26 characters, corresponding to the login method, network connection method, verification code information, and network connection value. Specifically, the login method is 4 characters long; the network connection method is 4 characters long; the verification code information is 6 characters long; and the network connection value corresponds to the network connection method name on the front end, with a length limit of 12 characters. If the actual input exceeds the limit, the first 12 characters can be truncated; if it is less than 12 characters, the remaining characters are padded with zeros.
[0056] The possible values for the login method field are shown below:
[0057] Password authentication Fingerprint recognition Face Recognition other 0001 0010 0011 0000
[0058] The table below shows the possible network connection methods:
[0059] Data connection WIFI Bluetooth other 0001 0010 0011 0000
[0060] Step 3: The mobile terminal receives the above data, records the format, content length requirements, etc., and obtains the possible values of each field and the corresponding relationship between each field.
[0061] (2) Device initialization.
[0062] Step 1: Configure the device to enable mobile terminal login verification and configure trusted login methods for mobile terminals, such as fingerprint verification and face recognition; set a trusted transmission environment for verification codes, such as setting up WIFI, and entering the WIFI username, then enter the WIFI username TEST.
[0063] Step 2: Based on the defined data standards and the corresponding values of each field, generate a string of codes from the above information, leaving the verification code field blank. For example: Set the login method to fingerprint authentication, connect to Wi-Fi and the trusted Wi-Fi name to TEST, and generate the following character information for the device: 00100010000000TEST00000000.
[0064] (3) Verification process of mobile terminal login device.
[0065] Step 1: The host requests login to the device, enters the username and password, triggers the generation of verification code information, and adds the verification code information to the generated code. The device saves the code locally. For example, the verification code information 6758 is added to the existing code information, becoming 00100010675800TEST00000000, and stored. The verification code information is then displayed and sent to the host for presentation.
[0066] Step 2: The mobile terminal performs its own login operation and records the current login method, such as facial recognition login.
[0067] Step 3: The mobile terminal connects to the Wi-Fi specified by the device, encrypts the login method, network connection method, name, and verification code information with a public key, and sends it to the host in the specified format. The host then transmits it to the device.
[0068] Step 4: After receiving the information, the device uses the received private key to decrypt it;
[0069] Step 5: The device will obtain various data values according to the received format, including login method, network connection method and name, and verification code information; it will match the decrypted data to be verified with the local verification baseline field 00100010675800TEST00000000. If the information matches, login is allowed; otherwise, proceed to step 6.
[0070] Step 6: If the data content matches the encoded content generated by the device, login is allowed; otherwise, login is rejected, and an error message may be displayed indicating that the login method or network connection method is incorrect. Please re-enter the information on your mobile device.
[0071] The embodiments disclosed herein can be applied to identity information verification during the device login process, with high reliability and improved device security.
[0072] The second embodiment of this disclosure provides a device login verification device for a device, which is installed on the device. The structural diagram of the device is shown below. Figure 3 As shown, it includes:
[0073] The determining module 10 is used to determine the login verification method of the mobile terminal and send the data format information carrying the login verification method to the mobile terminal. The login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information. The first generating module 20 is used to generate verification code information in response to the login request of the host and fill the verification code information into the verification preparation field to obtain the verification base field. The first sending module 30 is used to send the verification code information to the host so that the verification code information is presented by the host. The first receiving module 40 is used to receive the information to be verified from the host, wherein the information to be verified is generated by the mobile terminal based on the verification code information, the login verification data corresponding to the login operation of the mobile terminal, and the data format information. The matching module 50 is used to match the information to be verified with the verification base field to determine whether the host is allowed to log in to the device based on the matching result.
[0074] For the device side, it also includes: a third generation module, which generates verification preparation fields based on the data format information of the login verification method.
[0075] To further enhance security, the device also includes: a key sending module, used to generate key pair information and send the public key information in the key pair information to the mobile terminal; and a decryption module, used to decrypt the information to be verified based on the private key in the key pair information to obtain the decrypted information to be verified.
[0076] The aforementioned matching module is specifically used to match the received login account data of the mobile terminal with the predetermined login account data; when the login account data matches the predetermined login account data, the device will match the information to be verified with the verification benchmark field.
[0077] The second embodiment of this disclosure also provides a device login verification device for a mobile terminal, the structure of which is shown in the figure below. Figure 4 As shown, it includes:
[0078] The second receiving module 60 is used to receive data format information from the device, wherein the data format information carries the login verification method of the login device, and the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and the verification code information;
[0079] The second generation module 70 is used to generate verification information based on the verification code information presented on the host, the login verification data corresponding to the login operation on the mobile terminal, and the data format information.
[0080] The second sending module 80 is used to send the information to be verified to the host terminal, so that the host terminal can send the information to be verified to the device terminal for matching and verification, so as to determine whether the host terminal is allowed to log in to the device terminal based on the matching result of the device terminal.
[0081] The mobile terminal also includes: a key receiving module for receiving public key information sent by the device, wherein the public key information comes from key pair information generated by the device; and an encryption module for encrypting the information to be verified based on the public key information.
[0082] This disclosure specifies a corresponding login verification method for the mobile terminal. When the mobile terminal sends verification code information, its login method, network connection method, and verification code information all need to be verified. Only after all login verification methods are successfully verified can the host terminal log in to the device terminal. The entire verification process is mediated by the host terminal, and there is no direct interaction between the device terminal and the mobile terminal, ensuring the security of the device terminal. Through the above method of this disclosure, even if the account password or verification code information is stolen, only the corresponding mobile terminal knows the login verification method. When the login verification method does not match the login verification method specified by the device terminal, login to the device terminal cannot be achieved, thus the device terminal has high security performance.
[0083] This disclosure also provides an electronic device, which includes at least a memory and a processor. The memory stores a computer program. The processor executes the computer program in the memory to implement the steps of the method provided in the first embodiment described above, which will not be repeated here.
[0084] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this disclosure that have equivalent elements, modifications, omissions, combinations (e.g., schemes involving intersections of various embodiments), adaptations, or alterations. Elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this application, and such examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered illustrative only, and the true scope and spirit are indicated by the full scope of the following claims and their equivalents.
[0085] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more thereof) can be used in combination with each other. Other embodiments may be used by those skilled in the art upon reading the above description. Furthermore, in the above detailed description, various features may be grouped together to simplify the disclosure. This should not be construed as an intention that a feature of the disclosure that is not claimed is necessary for any claim. Rather, the subject matter of this disclosure may be less than all the features of a particular disclosed embodiment. Thus, the following claims are incorporated herein by reference as examples or embodiments, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated to be combined with each other in various combinations or arrangements. The scope of this disclosure should be determined by reference to the appended claims and the full scope of their equivalents.
[0086] The foregoing has provided a detailed description of several embodiments of this disclosure. However, this disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications based on the concept of this disclosure, and all such variations and modifications should fall within the scope of protection claimed by this disclosure.
Claims
1. A login verification method for a device, characterized in that, When there is no direct interaction between the device and the mobile terminal, the method includes: The device determines the login verification method of the mobile terminal and sends data format information carrying the login verification method to the mobile terminal. The login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information. The device responds to the login request from the host by generating a verification code and filling the verification code into the verification preparation field to obtain the verification baseline field. The device sends the verification code information to the host so that the host can display the verification code information. The device receives verification information from the host, wherein the verification information is generated by the mobile terminal based on the verification code information, the login verification data corresponding to the mobile terminal login operation, and the data format information; The device matches the information to be verified with the verification benchmark field to determine whether the host is allowed to log in to the device based on the matching result.
2. The method as described in claim 1, characterized in that, After sending the data format information carrying the login verification method to the mobile terminal, the method further includes: The device generates the verification preparation field based on the data format information of the login verification method.
3. The method as described in claim 1, characterized in that, Before sending the data format information carrying the login verification method to the mobile terminal, the method further includes: The device generates key pair information and sends the public key information in the key pair information to the mobile terminal.
4. The method as described in claim 3, characterized in that, Before the device matches the information to be verified with the verification benchmark field, it also includes: The device decrypts the information to be verified based on the private key in the key pair information to obtain the decrypted information to be verified.
5. A login verification method for a device, characterized in that, When there is no direct interaction between the device and the mobile terminal, the method includes: The mobile terminal receives data format information from the device, wherein the data format information carries a login verification method for logging into the device, and the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; The mobile terminal generates verification information based on the verification code information presented by the host, the login verification data corresponding to the mobile terminal login operation, and the data format information. The mobile terminal sends the verification information to the host terminal, which then sends the verification information to the device terminal for matching and verification. Based on the matching result from the device terminal, the host terminal determines whether to allow the host terminal to log in to the device terminal.
6. The method as described in claim 5, characterized in that, Before the mobile terminal receives data format information from the device, it also includes: The mobile terminal receives public key information sent by the device, wherein the public key information comes from key pair information generated by the device.
7. The method as described in claim 6, characterized in that, Before the mobile terminal sends the verification information to the host, it also includes: The mobile terminal encrypts the information to be verified based on the public key information.
8. A login verification device for a device, characterized in that, In cases where there is no direct interaction between the device and the mobile terminal, the apparatus includes: The determining module is used to determine the login verification method of the mobile terminal and send data format information carrying the login verification method to the mobile terminal, wherein the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; The first generation module is used to generate verification code information in response to the login request from the host, and fill the verification code information into the verification preparation field to obtain the verification baseline field; The first sending module is used to send the verification code information to the host terminal so that the verification code information can be presented by the host terminal; The first receiving module is used to receive verification information from the host terminal, wherein the verification information is generated by the mobile terminal based on the verification code information, login verification data corresponding to the login operation, and the data format information; The matching module is used to match the information to be verified with the verification benchmark field, so as to determine whether the host terminal is allowed to log in to the device terminal based on the matching result.
9. A login verification device for a device, characterized in that, In cases where there is no direct interaction between the device and the mobile terminal, the apparatus includes: The second receiving module is used to receive data format information from the device, wherein the data format information carries a login verification method for logging into the device, and the login verification method includes at least: the login method of the mobile terminal, the network connection method of the mobile terminal, and verification code information; The second generation module is used to generate verification information based on the verification code information presented on the host, the login verification data corresponding to the login operation on the mobile terminal, and the data format information. The second sending module is used to send the information to be verified to the host terminal, and the host terminal sends the information to be verified to the device terminal for matching and verification, so as to determine whether the host terminal is allowed to log in to the device terminal based on the matching result of the device terminal.
10. An electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, characterized in that, The processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program on the memory, or the processor implements the steps of the method according to any one of claims 5 to 7 when executing the computer program on the memory.
Citation Information
Patent Citations
Mobile banking login verification method and device
CN113242551A