Method for logging in mobile phone terminal APP by scanning two-dimensional code of desktop terminal and APP system

By scanning the QR code on the desktop, logging into the mobile APP is solved, and the traditional login method is cumbersome and insufficient security is achieved, and the effect of simplifying the login process and improving security is achieved.

CN119602999APending Publication Date: 2025-03-11INSPUR SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411588060.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The login method of traditional mobile APP is cumbersome and inconvenient for small screen devices, increasing the probability of operation errors, and there is a risk that passwords are stolen by bystanders, affecting user experience and account security.

Method used

Log in to the mobile APP by scanning the QR code on the desktop to achieve seamless docking and simplify the login process. The specific steps include: generating a QR code in the desktop login state, scanning and parsing the QR code on the mobile phone, encrypting, decrypting and comparison verification on the server, and finally completing the login after confirmation on the desktop.

Benefits of technology

It simplifies the login process, improves user experience and security, reduces the cumbersomeness of manual input and the risk of password leakage, reduces customer service costs and promotes user retention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119602999A_ABST
    Figure CN119602999A_ABST
Patent Text Reader

Abstract

The invention discloses a method for logging in a mobile phone terminal APP by scanning a desktop terminal two-dimensional code and an APP system, belongs to the technical field of mobile applications, and aims to solve the technical problem of how to simplify a mobile phone terminal APP login mode. Comprising the following steps: in a login state of a desktop end, a server forms two-dimensional code information based on login information of a user, and a two-dimensional code is displayed through the desktop end; the mobile phone side scans the two-dimensional code, analyzes the two-dimensional code, encrypts an analysis result and sends the analysis result to the server; the server compares and verifies the login information obtained by decryption with locally stored login information; and forming mobile phone terminal login confirmation at the desktop terminal based on the mobile phone terminal login verification request, after the user triggers the mobile phone terminal login confirmation at the desktop terminal, the desktop terminal sends confirmation information to the server, the server receives the confirmation information and then returns a verification success message to the mobile phone terminal, and the mobile phone terminal is in a login state based on the verification success message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile application technology, and in particular to a method and an APP system for logging into a mobile phone APP by scanning a desktop QR code. Background Art

[0002] In the current era of mobile Internet, mobile APPs serve as a key bridge between users and services, but their login methods often become a pain point in user experience. The traditional login mechanism requires users to manually enter their usernames and passwords, which is not only cumbersome, but also particularly inconvenient on small-screen devices, increasing the probability of operational errors. Some applications provide ways to save passwords, but it is also easy for someone to obtain the password after picking up the phone. In addition, the QR code login is used to scan the QR code on the mobile phone to log in to the computer, but there is no login method that allows users to log in to the desktop first and then log in to the mobile phone. More importantly, frequent manual input increases the risk of passwords being stolen by bystanders, especially in public places, which directly threatens the security of user accounts.

[0003] How to simplify the mobile APP login method is a technical problem that needs to be solved. Summary of the invention

[0004] The technical task of the present invention is to address the above shortcomings and provide a method and APP system for scanning a desktop QR code to log in to a mobile phone APP, so as to solve the technical problem of how to simplify the mobile phone APP login method.

[0005] In a first aspect, the present invention provides a method for scanning a desktop QR code to log in to a mobile phone APP, which is applied to an APP including a desktop, a mobile phone, and a server, and the mobile phone supports scanning a code in a non-logged-in state, and the method comprises the following steps:

[0006] When the desktop is logged in, the desktop triggers a mobile login request and sends the mobile login request to the server. The server generates a QR code based on the user's login information and sends the QR code to the desktop, which then displays the QR code on the desktop.

[0007] The mobile phone scans the QR code and parses it to obtain the parsing result including the login information, and encrypts the parsing result and sends it to the server;

[0008] The server decrypts the encrypted parsing result and compares the decrypted login information with the locally stored login information for verification. If the verification is successful, the server sends a mobile phone login verification request to the desktop. If the verification fails, the server returns an error message to the mobile phone.

[0009] Based on the mobile phone login verification request, the mobile phone login confirmation is formed on the desktop. After the user triggers the mobile phone login confirmation on the desktop, the desktop sends a confirmation message to the server. After receiving the confirmation message, the server returns a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in the logged-in state. If the user does not trigger the mobile phone login confirmation through the desktop, an error message is sent to the server through the desktop. After receiving the error message, the server returns an error message to the mobile phone.

[0010] Preferably, the user's login information includes a user ID and a password or a user ID and a one-time verification code.

[0011] Preferably, based on the mobile phone login request, the server encrypts the user's login information and generates a QR code based on the encrypted login information;

[0012] Correspondingly, the mobile phone scans the QR code, parses the QR code, obtains the encrypted login information, decrypts the encrypted login information, and encrypts the decrypted login information again and sends it to the server.

[0013] Preferably, when the server generates the QR code information based on the user's login information, it records the generation time of the QR code information and sets a validity period for the QR code;

[0014] After the server decrypts the encrypted parsing result, it records the verification time of the QR code and calculates the time difference between the verification time and the generation time of the QR code to determine whether the time difference meets the validity period of the QR code. If so, the decrypted login information is compared and verified with the locally stored login information. If not, an error message is returned to the mobile phone.

[0015] In a second aspect, the present invention provides an APP system, comprising a desktop, a mobile phone, and a server, wherein the mobile phone supports scanning a code in a non-logged-in state, and is used to implement mobile phone login by a method of scanning a desktop QR code to log in to a mobile phone APP as described in any one of the first aspects;

[0016] The server stores the user's login information;

[0017] In the desktop login state, the desktop is used to support the user to trigger the mobile login request and send the mobile login request to the server. The server is used to generate QR code information based on the user's login information and send the QR code information to the desktop, and the QR code is displayed through the desktop.

[0018] The mobile phone is used to scan the QR code and parse the QR code to obtain the parsing result including the login information, and encrypt the parsing result and send it to the server;

[0019] The server is used to decrypt the encrypted parsing result and compare the decrypted login information with the locally stored login information. If the verification is successful, the server is used to send a mobile phone login verification request to the desktop. If the verification fails, the server is used to return an error message to the mobile phone.

[0020] Based on the mobile phone login verification request, the desktop is used to form the mobile phone login confirmation. The desktop supports users to trigger the mobile phone login confirmation. After the user triggers the mobile phone login confirmation, the desktop is used to send confirmation information to the server. After the server receives the confirmation message, it is used to return a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in the login state. If the user does not trigger the mobile phone login confirmation through the desktop, the desktop is used to send an error message to the server. After the server receives the error message, it is used to return an error message to the mobile phone.

[0021] Preferably, the user's login information includes a user ID and a password or a user ID and a one-time verification code.

[0022] Preferably, based on the mobile phone login request, the server is used to encrypt the user's login information and generate QR code information based on the encrypted login information;

[0023] Correspondingly, the mobile phone is used to scan the QR code, parse the QR code, obtain the encrypted login information, decrypt the encrypted login information, and encrypt the decrypted login information again and send it to the server.

[0024] Preferably, when the server generates the QR code information based on the user's login information, it is used to record the generation time of the QR code information and set a validity period for the QR code;

[0025] After the server decrypts the encrypted parsing result, it is used to perform the following: record the verification time of the QR code, and calculate the time difference between the QR code verification time and the generation time, determine whether the time difference meets the validity period of the QR code, and if so, compare and verify the decrypted login information with the locally stored login information, and if not, return an error message to the mobile phone.

[0026] The method and APP system of scanning a desktop QR code to log in to a mobile phone APP have the following advantages:

[0027] 1. It realizes seamless connection between mobile APP and desktop, significantly improving user experience and security;

[0028] 2. Simplified the login process. Users only need to scan the QR code with their mobile phone to complete the login instantly, avoiding tedious manual input and saving valuable time;

[0029] 3. The one-time use feature and encrypted transmission mechanism of the QR code build a solid security line of defense, effectively resist information leakage and malicious attacks, and ensure the security of user data. Furthermore, this convenient login method reduces the obstacles that users may encounter during the login process and improves user satisfaction. For enterprises, it not only reduces customer service costs, but also promotes user retention and enhances market competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] The present invention is further described below in conjunction with the accompanying drawings.

[0032] Figure 1 This is a flowchart of a method for scanning a desktop QR code to log in to a mobile phone APP in Example 1. DETAILED DESCRIPTION

[0033] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments are not intended to limit the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments may be combined with each other.

[0034] The embodiment of the present invention provides a method for scanning a desktop QR code to log in to a mobile phone APP, which is used to solve the technical problem of how to simplify the mobile phone APP login method.

[0035] Embodiment 1:

[0036] The present invention discloses a method for scanning a desktop QR code to log in to a mobile phone APP, which is applied to an APP including a desktop, a mobile phone, and a server, and the mobile phone supports scanning the code in a non-logged-in state. The method comprises the following steps:

[0037] Step S100: When the desktop is logged in, a mobile phone login request is triggered on the desktop, and the mobile phone login request is sent to the server. The server generates a QR code based on the user's login information, and sends the QR code to the desktop, and the desktop displays the QR code.

[0038] Step S200: The mobile phone scans the QR code and parses the QR code to obtain a parsing result including login information, and encrypts the parsing result and sends it to the server;

[0039] Step S300: The server decrypts the encrypted parsing result and compares the decrypted login information with the locally stored login information. If the verification is successful, the server sends a mobile phone login verification request to the desktop. If the verification fails, the server returns an error message to the mobile phone.

[0040] Step S400, based on the mobile phone login verification request, a mobile phone login confirmation is formed on the desktop. After the user triggers the mobile phone login confirmation on the desktop, the desktop sends a confirmation message to the server. After receiving the confirmation message, the server returns a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in a logged-in state. If the user does not trigger the mobile phone login confirmation through the desktop, an error message is sent to the server through the desktop. After receiving the error message, the server returns an error message to the mobile phone.

[0041] In this embodiment, the user's login information includes a user ID and a password or a user ID and a one-time verification code.

[0042] In step S100, based on the mobile phone login request, the server encrypts the user's login information and forms a QR code based on the encrypted login information. Correspondingly, in step S200, the mobile phone scans the QR code, parses the QR code, obtains the encrypted login information, decrypts the encrypted login information, and encrypts the decrypted login information again and sends it to the server.

[0043] As an improvement of this embodiment, in step S100, when the server generates the QR code information based on the user's login information, it records the generation time of the QR code information and sets a validity period for the QR code. Correspondingly, in step S300, after the server decrypts the encrypted parsing result, it records the verification time of the QR code, calculates the time difference between the verification time and the generation time of the QR code, and determines whether the time difference meets the validity period of the QR code. If so, the decrypted login information is compared and verified with the locally stored login information. If not, an error message is returned to the mobile phone.

[0044] The QR code scanning login method in this embodiment not only solves the pain points of the traditional login method, but also improves the user experience. It is an important innovation in the mobile Internet era to optimize the login process and enhance information security. It has the following advantages:

[0045] Simplified operation: Users do not need to remember complex account passwords, nor do they need to wait for SMS verification codes. They can complete the login by simply scanning, which greatly saves time.

[0046] Improved security: The QR code is unique to each user and cannot be used again even if it is intercepted, which effectively prevents the risk of information theft. Login verification requires consent from the computer, and there is no seamless login, which improves security.

[0047] Improve user experience: Seamlessly connect desktop and mobile terminals, allowing users to enjoy a smooth login experience when switching between different devices.

[0048] Wide adaptability: Suitable for various scenarios, whether at home, office or public places, as long as the QR code can be generated, quick login can be achieved.

[0049] Embodiment 2:

[0050] The present invention discloses an APP system, comprising a desktop terminal, a mobile terminal and a server, wherein the mobile terminal supports scanning a code in a non-logged-in state.

[0051] The server stores the user's login information, which in this embodiment includes a user ID and a password or a user ID and a one-time verification code.

[0052] When logged in on the desktop, the desktop is used to support users in triggering mobile phone login requests and sending mobile phone login requests to the server. The server is used to generate QR code information based on the user's login information and send the QR code information to the desktop, and the QR code is displayed through the desktop.

[0053] As a specific implementation, based on the mobile phone login request, the server encrypts the user's login information and generates QR code information based on the encrypted login information.

[0054] The mobile phone is used to scan the QR code and parse the QR code to obtain the parsing result including the login information, and encrypt the parsing result and send it to the server.

[0055] As a specific implementation, the mobile phone scans the QR code, parses the QR code, obtains the encrypted login information, decrypts the encrypted login information, and encrypts the decrypted login information again and sends it to the server.

[0056] The server is used to decrypt the encrypted parsing result and compare the decrypted login information with the locally stored login information. If the verification is successful, the server is used to send a mobile phone login verification request to the desktop. If the verification fails, the server is used to return an error message to the mobile phone.

[0057] Based on the mobile phone login verification request, the desktop is used to form the mobile phone login confirmation. The desktop supports users to trigger the mobile phone login confirmation. After the user triggers the mobile phone login confirmation, the desktop is used to send confirmation information to the server. After the server receives the confirmation message, it is used to return a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in the login state. If the user does not trigger the mobile phone login confirmation through the desktop, the desktop is used to send an error message to the server. After the server receives the error message, it is used to return an error message to the mobile phone.

[0058] As an improvement of this embodiment, when the server generates the QR code information based on the user's login information, it is used to record the generation time of the QR code information and set the validity period for the QR code. Correspondingly, after the server decrypts the encrypted parsing result, it is used to perform the following: record the verification time of the QR code, calculate the time difference between the verification time and the generation time of the QR code, determine whether the time difference meets the validity period of the QR code, and if so, compare and verify the login information obtained by decryption with the locally stored login information, and if not, return an error message to the mobile phone.

[0059] The system of this embodiment can execute the method disclosed in Example 1 to log in to the mobile phone by scanning the QR code on the desktop.

[0060] The present invention has been shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the means in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.

Claims

1. A method for scanning a desktop QR code to log in to a mobile phone APP, characterized in that: Applied to APPs including desktop, mobile and server, and the mobile supports scanning the code in the non-logged-in state, the method includes the following steps: When the desktop is logged in, the desktop triggers a mobile login request and sends the mobile login request to the server. The server generates a QR code based on the user's login information and sends the QR code to the desktop, which then displays the QR code on the desktop. The mobile phone scans the QR code and parses it to obtain the parsing result including the login information, and encrypts the parsing result and sends it to the server; The server decrypts the encrypted parsing result and compares the decrypted login information with the locally stored login information for verification. If the verification is successful, the server sends a mobile phone login verification request to the desktop. If the verification fails, the server returns an error message to the mobile phone. Based on the mobile phone login verification request, the mobile phone login confirmation is formed on the desktop. After the user triggers the mobile phone login confirmation on the desktop, the desktop sends a confirmation message to the server. After receiving the confirmation message, the server returns a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in the logged-in state. If the user does not trigger the mobile phone login confirmation through the desktop, an error message is sent to the server through the desktop. After receiving the error message, the server returns an error message to the mobile phone.

2. The method for scanning a desktop QR code to log in to a mobile phone APP according to claim 1, characterized in that: The user's login information includes a user ID and a password or a user ID and a one-time verification code.

3. The method for scanning a desktop QR code to log in to a mobile phone APP according to claim 1, characterized in that: Based on the mobile phone login request, the server encrypts the user's login information and generates a QR code based on the encrypted login information; Correspondingly, the mobile phone scans the QR code, parses the QR code, obtains the encrypted login information, decrypts the encrypted login information, and encrypts the decrypted login information again and sends it to the server.

4. The method for scanning a desktop QR code to log in to a mobile phone APP according to claim 1, characterized in that: When the server generates the QR code information based on the user's login information, it records the generation time of the QR code information and sets a validity period for the QR code; After the server decrypts the encrypted parsing result, it records the verification time of the QR code and calculates the time difference between the verification time and the generation time of the QR code to determine whether the time difference meets the validity period of the QR code. If so, the decrypted login information is compared and verified with the locally stored login information. If not, an error message is returned to the mobile phone.

5. An APP system, characterized in that: It includes a desktop terminal, a mobile terminal and a server, and the mobile terminal supports scanning a code in a non-logged-in state, and is used to realize mobile terminal login through a method of scanning a desktop QR code to log in to a mobile terminal APP as described in any one of claims 1-4; The server stores the user's login information; In the desktop login state, the desktop is used to support the user to trigger the mobile login request and send the mobile login request to the server. The server is used to generate QR code information based on the user's login information and send the QR code information to the desktop, and the QR code is displayed through the desktop. The mobile phone is used to scan the QR code and parse the QR code to obtain the parsing result including the login information, and encrypt the parsing result and send it to the server; The server is used to decrypt the encrypted parsing result and compare the decrypted login information with the locally stored login information. If the verification is successful, the server is used to send a mobile phone login verification request to the desktop. If the verification fails, the server is used to return an error message to the mobile phone. Based on the mobile phone login verification request, the desktop is used to form the mobile phone login confirmation. The desktop supports users to trigger the mobile phone login confirmation. After the user triggers the mobile phone login confirmation, the desktop is used to send confirmation information to the server. After the server receives the confirmation message, it is used to return a verification success message to the mobile phone. Based on the verification success message, the mobile phone is in the login state. If the user does not trigger the mobile phone login confirmation through the desktop, the desktop is used to send an error message to the server. After the server receives the error message, it is used to return an error message to the mobile phone.

6. The APP system according to claim 5, characterized in that: The user's login information includes a user ID and a password or a user ID and a one-time verification code.

7. The APP system according to claim 5, characterized in that: Based on the mobile phone login request, the server is used to encrypt the user's login information and generate QR code information based on the encrypted login information; Correspondingly, the mobile phone is used to scan the QR code, parse the QR code, obtain the encrypted login information, decrypt the encrypted login information, and encrypt the decrypted login information again and send it to the server.

8. The APP system according to claim 5, characterized in that: When the server generates the QR code information based on the user's login information, it is used to record the generation time of the QR code information and set the validity period for the QR code; After the server decrypts the encrypted parsing result, it is used to perform the following: record the verification time of the QR code, and calculate the time difference between the QR code verification time and the generation time, determine whether the time difference meets the validity period of the QR code, and if so, compare and verify the decrypted login information with the locally stored login information, and if not, return an error message to the mobile phone.

Citation Information

Patent Citations

  • Password-free login method and system for mobile client side, browser and mobile terminal

    CN108200040A

  • Method, server, and terminal for cloud desktop authentication

    WO2017186005A1