Application Login Method, Device, Terminal and Computer Readable Storage Medium
Through the login request and authentication process between the first terminal and the second terminal, the application is quickly logged in, and the problems of cumbersome and inefficient login operations in the prior art are solved.
Patent Information
- Application Number
- CN202210793696.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-07
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-07-07
AI Technical Summary
The login operation of existing applications is cumbersome and inefficient, and users need to enter their account number and password through the keyboard or scan the code on their mobile phone.
The first terminal sends a login request to the second terminal, receives and confirms the account information, sends an authentication request and receives the login credentials, and finally sends a login request carrying the login credentials to the application server to realize login.
No need for users to manually enter their account number and password or scan the code, which simplifies login operations and improves login efficiency.
Smart Images

Figure CN115189891B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of terminals, and particularly relates to an application program login method, device, terminal, and computer-readable storage medium. Background Art
[0002] Currently, applications (APPs) have been widely used. During the use of some applications, users usually need to log in to facilitate data synchronization between different terminals. In the related art, the login of an application generally requires the user to input an account number and password through a keyboard or scan a code with a mobile phone, which is a relatively cumbersome operation and results in a low login efficiency of the application. Summary of the Invention
[0003] Embodiments of this application provide an application program login method, device, terminal, and computer-readable storage medium, which can simplify the login operation of the application program and improve the login efficiency of the application program.
[0004] In a first aspect, embodiments of this application provide an application program login method, which is applied to a first terminal and includes:
[0005] In response to a login operation of the application program, send a first login request to a second terminal;
[0006] Receive at least one first account information, where the at least one first account information is sent by the second terminal according to the first login request. Among them, the first account information is account information with some information hidden or information related to the account information, and the first account information is information already registered by the second terminal;
[0007] In response to a confirmation operation on the target account information in the at least one first account information, send an authentication request to the second terminal;
[0008] Receive a login credential related to the target account information, where the login credential is sent by the second terminal according to the authentication request;
[0009] Send a second login request carrying the login credential to an application server, where the application server is used to enable the first terminal to log in to the application program based on the target account information, and the application server is a server related to the application program.
[0010] In an embodiment of the present application, in response to a login operation of an application, a first terminal may send a first login request to a second terminal and receive at least one first account information sent by the second terminal according to the first login request. The first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal. In response to a confirmation operation on the target account information in the at least one first account information, a certification request is sent to the second terminal, and a login credential sent by the second terminal according to the certification request is received. A second login request carrying the login credential is sent to an application server, and the application server is used to enable the first terminal to log in to the application based on the target account information. During the login process of the above application, by sending a first login request and a certification request to the second terminal, the first terminal can receive the login credential sent by the second terminal. Based on the login credential, the first terminal can log in to the application based on the account information registered by the second terminal. This process does not require the user to input an account and password through a keyboard, nor does it require scanning a QR code with a mobile phone, simplifying the login operation of the application and improving the login efficiency of the application.
[0011] In a second aspect, an embodiment of the present application provides an application login method, which is applied to a second terminal and includes:
[0012] In response to a first login request from a first terminal, obtain at least one first account information and send the at least one first account information to the first terminal, where the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal;
[0013] In response to the certification request from the first terminal, obtain a login credential related to the target account information and send the login credential to the first terminal, where the certification request is sent by the first terminal based on the target account information in the at least one first account information, the login credential is used to be carried in the second login request sent by the first terminal to the application server, the application server is used to enable the first terminal to log in to the application based on the target account information, and the application server is a server related to the application.
[0014] In an embodiment of the present application, in response to a first login request from a first terminal, a second terminal obtains at least one first account information and sends the at least one first account information to the first terminal. The first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal. In response to an authentication request from the first terminal, the second terminal obtains a login credential related to the target account information and sends the login credential to the first terminal. The authentication request is sent by the first terminal based on the target account information in the at least one first account information. The login credential is used to be carried in a second login request sent by the first terminal to an application server, and the application server is used to enable the first terminal to log in to the application program based on the target account information. During the login process of the application program on the above-mentioned first terminal, by sending the login credential to the first terminal, the second terminal can enable the first terminal to log in to the application program based on the account information registered by the second terminal. This process does not require the user to input the account and password through the keyboard, nor does it require scanning the code with the mobile phone, which simplifies the login operation of the application program and improves the login efficiency of the application program.
[0015] In a third aspect, an embodiment of the present application provides an application program login device, which is applied to a first terminal and includes:
[0016] A first sending module, configured to send a first login request to a second terminal in response to a login operation of the application program;
[0017] An information receiving module, configured to receive at least one first account information, where the at least one first account information is sent by the second terminal according to the first login request. Among them, the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal;
[0018] A second sending module, configured to send an authentication request to the second terminal in response to a confirmation operation on the target account information in the at least one first account information;
[0019] A credential receiving module, configured to receive a login credential related to the target account information, where the login credential is sent by the second terminal according to the authentication request;
[0020] A third sending module, configured to send a second login request carrying the login credential to an application server, where the application server is used to enable the first terminal to log in to the application program based on the target account information, and the application server is a server related to the application program.
[0021] In a fourth aspect, an embodiment of the present application provides an application program login device, which is applied to a second terminal and includes:
[0022] A first acquisition module, configured to acquire at least one first account information in response to a first login request of a first terminal, and send the at least one first account information to the first terminal, where the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal.
[0023] A second acquisition module, configured to acquire a login credential related to target account information in response to an authentication request of the first terminal, and send the login credential to the first terminal, where the authentication request is sent by the first terminal based on the target account information in the at least one first account information, the login credential is used to be carried in a second login request sent by the first terminal to an application server, the application server is configured to enable the first terminal to log in to the application program based on the target account information, and the application server is a server related to the application program.
[0024] In a fifth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the application program login method described in the first aspect above are implemented, or the steps of the application program login method described in the second aspect above are implemented.
[0025] In a sixth aspect, an embodiment of the present application provides a chip, including a processor, where the processor is configured to read and execute a computer program stored in a memory to execute the steps of the application program login method described in the first aspect above, or execute the steps of the application program login method described in the second aspect above.
[0026] Optionally, the memory is connected to the processor through a circuit or a wire.
[0027] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the application program login method described in the first aspect above are implemented, or the steps of the application program login method described in the second aspect above are implemented.
[0028] In an eighth aspect, an embodiment of the present application provides a computer program product, when the computer program product runs on a terminal, enabling the terminal to execute the steps of the application program login method described in the first aspect above, or execute the steps of the application program login method described in the second aspect above.
[0029] Understandably, the third, fourth, fifth, sixth, seventh, and eighth aspects provided above are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0031] Figure 1 is a schematic diagram of the network architecture of an application login system provided by an embodiment of the present application;
[0032] Figure 2 is a schematic diagram of the implementation process of an application login method provided by an embodiment of the present application;
[0033] Figure 3-1 is an example diagram of a login method;
[0034] Figure 3-2 is an example diagram of first account information;
[0035] Figure 3-3 is an example diagram of a login confirmation page;
[0036] Figure 3-4 is an example diagram of a login success reminder;
[0037] Figure 4 is a schematic diagram of the implementation process of an application login method provided by another embodiment of the present application;
[0038] Figure 5 is an example diagram of the one - click login process of an application;
[0039] Figure 6 is a schematic diagram of the structure of an application login device provided by an embodiment of the present application;
[0040] Figure 7 is a schematic diagram of the structure of an application login device provided by another embodiment of the present application;
[0041] Figure 8 is a schematic diagram of the structure of a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0042] In the following description, for purposes of illustration and not limitation, specific details such as specific system architectures, technologies, etc. are set forth in order to provide a thorough understanding of the embodiments of the present application. However, those skilled in the art should understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary details.
[0043] It should be understood that when used in the specification of the present application and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0044] It should also be understood that the term "and / or" as used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0045] As used in the specification of the present application and the appended claims, the term "if" can be interpreted as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrases "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to detecting [the described condition or event]" depending on the context.
[0046] In addition, in the description of the specification of the present application and the appended claims, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0047] The reference to "one embodiment" or "some embodiments" etc. described in the specification of the present application means that a specific feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.
[0048] Before describing the solution of the present application, for the convenience of the reader's understanding, the nouns involved in this solution are first explained.
[0049] A Token is a client authentication mechanism, which is an encrypted string with strong security and supports cross - domain.
[0050] "One - key login" via mobile phone number is a unified Internet user login authentication system launched by operators. After access by mobile, Unicom, Telecom users, partners, etc., evidence can be obtained through the gateway, enabling mobile phone users to register / login with one - key without entering account passwords.
[0051] "One - key login" via mobile phone number mainly relies on the operator's mobile data network and adopts technologies such as "communication gateway number acquisition" and Subscriber Identity Module (SIM) card identification. Users only need to allow the service provider application to obtain the local mobile phone number and upload it through the operator's network to complete user identity verification.
[0052] The application login method provided in the embodiments of this application can be applied to terminals such as mobile phones, tablets, in - vehicle devices, TVs, wearable devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra - mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of this application do not impose any restrictions on the specific types of terminals. For example, the first terminal is a device such as an in - vehicle device, tablet, or TV without a SIM card installed, and the second terminal is a mobile phone with a SIM card installed.
[0053] It should be understood that the magnitudes of the sequence numbers of the steps in this embodiment do not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.
[0054] To illustrate the technical solutions described in this application, specific embodiments are used for illustration below.
[0055] See Figure 1 , which is the network architecture of the application login system provided by an embodiment of this application. For the sake of convenience of explanation, only the parts related to this embodiment are shown.
[0056] As Figure 1 shown, the above - mentioned application login system includes a first terminal 1, a second terminal 2, and an application server 3.
[0057] A communication connection can be established between the first terminal 1 and the second terminal 2 in a wired or wireless manner, which is not limited herein. For example, the first terminal 1 is a car infotainment system, and the second terminal 2 is a mobile phone. The mobile phone can establish a communication connection with the car infotainment system through WiFi peer-to-peer. WiFi peer-to-peer is to establish a direct connection through the WiFi modules of two devices that need to exchange data (such as a car infotainment system and a mobile phone), and the exchanged data is directly transmitted between the two devices without passing through a wireless router for relay, thereby realizing a wireless connection for data interaction between the two devices.
[0058] Account information of an application program is registered on the second terminal 2. Through the account information registered on the second terminal 2, the first terminal 1 can log in to the application program on the first terminal 1, simplifying the login operation of the application program and improving the login efficiency of the application program.
[0059] The application server 3 can be a server related to the application program installed on the first terminal 1. For example, for a payment application program, the application server 3 is a server that provides payment services.
[0060] A communication connection can be established between the first terminal 1 and the application server 3 in a wired or wireless manner, which is not limited herein.
[0061] To solve the problems of cumbersome login operations and low login efficiency in the prior art when logging in to an application program, in this embodiment, when the first terminal 1 and the second terminal 2 are in a communication connection, in response to a login operation of the application program, the first terminal can send a first login request to the second terminal 2. In response to the first login request of the first terminal, the second terminal 2 can obtain at least one first account information and send at least one first account information to the first terminal 1. The first account information is the information registered on the second terminal 2. In response to a confirmation operation on the target account information in the at least one first account information, the first terminal 1 can send an authentication request to the second terminal 2. In response to the second authentication request, the second terminal 2 can obtain a login credential related to the target account information and send the login credential to the first terminal 1. After receiving the login credential, the first terminal 1 can send a second login request carrying the login credential to the application server 3. In response to the second login request, the application server 3 enables the first terminal 1 to log in to the application program based on the target account information, thereby realizing the login of the application program. In the above login process of the application program, the first terminal 1 can realize the login of the application program through the second terminal 2. This process does not require the user to input an account and password through a keyboard, nor does it require mobile phone scanning, simplifying the login operation of the application program and improving the login efficiency of the application program, and having better versatility.
[0062] In an optional embodiment, in response to a login operation of an application, the first terminal 1 may display at least one login method, which at least includes a one-key login method. If the user selects the one-key login method, a first login request may be sent to the second terminal to implement the login of the application through the account information registered on the second terminal 2.
[0063] The one-key login method in this application may refer to the method by which the first terminal 1 logs in to the application through the account information registered on the second terminal 2, which is an improvement on the current "one-key login" of the mobile phone number.
[0064] The current "one-key login" using the mobile phone number is used on the mobile phone. This application extends the "one-key login" ability of the mobile phone number on the mobile phone to the peripherally interconnected terminals, enabling the terminals interconnected with the mobile phone to achieve quick login of the application by means of "one-key login" on the mobile phone. For example, when logging in to an application on a car infotainment system, the user can select to perform "one-key login" through the mobile phone interconnected with it, and use the mobile phone number, WeChat account and other accounts registered on the mobile phone for automatic verification and login, so as to achieve quick login of the application on the car infotainment system.
[0065] For the first terminal 1 without a SIM card installed, it cannot perform "one-key login" based on its own phone number. Through this solution, it can complete the login of its own application by means of "one-key login" on the second terminal 2.
[0066] It should be noted that the solution of this application not only supports "one-key login" of mobile phone numbers, but also enables cross-terminal account login for accounts providing third-party login capabilities such as WeChat and Alipay, so that various accounts on the second terminal 2 can be more quickly synchronized and logged in on the first terminal 1. Optionally, when the first terminal 1 uses the mobile phone number on the second terminal 2 for "one-key login", the SIM card bound to the mobile phone number may be the SIM card currently used as a data card on the second terminal 2 (that is, the SIM card currently providing the mobile data network for the second terminal 2), or any SIM card on the second terminal 2, which is not limited herein.
[0067] It can be understood that after logging in to the application based on the solution of this application, the accounts of the application on the first terminal 1 and on the second terminal 2 can be kept consistent, and data such as the user's historical records and purchased services on the second terminal 2 can continue to be used on the first terminal 1.
[0068] Optionally, a proxy service can be integrated on the second terminal 2, making the second terminal 2 an account login proxy. The first terminals 1 interconnected with the second terminal 2 can then access this service through the corresponding Software Development Kit (SDK), thereby completing the cross-terminal "one-key login" capability expansion. For example, when the first terminal 1 is a car machine and the second terminal 2 is a mobile phone, the above proxy service can be a car machine interconnection quick login service, which can realize quick login between the car machine and the mobile phone. The corresponding SDK can be a car machine interconnection quick login SDK, which is integrated on the car machine and can access the above car machine interconnection quick login service.
[0069] Optionally, the above application login system further includes an account server 4, which can provide the second terminal 2 with first account information and login credentials. The account server 4 is a server related to the account information used to log in to the application. For example, when the first terminal 1 logs in to a certain application through the mobile phone number on the second terminal 2, the account server is the operator server corresponding to the mobile phone number, and the operator server provides network services for various applications, such as providing the mobile phone number for one-key login; when the first terminal 1 logs in to a certain application through the WeChat account on the second terminal 2, the account server 4 is the server related to WeChat.
[0070] Optionally, an authentication SDK can be integrated on the second terminal 2, which is used to request the account server 4 to obtain the first account information and provide a login confirmation page, and display the target account information on the login confirmation page for the user to confirm. The authentication SDK is related to the account server 4. For example, when the account server 4 is an operator server, the authentication SDK can be an operator authentication SDK; when the account server 4 is a WeChat server, the authentication SDK can be a WeChat authentication SDK.
[0071] It can be understood that the above application server 3, account server 4, etc. can be a single server or a server group composed of multiple servers.
[0072] It can be understood that Figure 1 the numbers of the first terminal 1, second terminal 2, application server 3, and account server 4 in
[0073] See Figure 2 , which is a schematic diagram of the implementation process of the application login method provided by an embodiment of the present application. The application login method is applied to Figure 1 the first terminal in Figure 2 As shown in
[0074] Step 201: In response to the login operation of the application, send a first login request to the second terminal.
[0075] Among them, the above application can be any application installed on the first terminal, such as shopping applications, payment applications, instant messaging applications, video playback applications, map applications, etc. that require login.
[0076] The above login operation can be any operation that can initiate the login of the application, such as a click operation on the application icon.
[0077] Step 202: Receive at least one first account information, and the at least one first account information is sent by the second terminal according to the first login request.
[0078] Among them, the first account information is the account information with some information hidden or the information related to the account information. For example, the first account information can be a mobile phone mask, or information such as an avatar and a nickname related to the account information. A mobile phone mask refers to a mobile phone number with key digits hidden. For example, the mobile phone mask is 123****4567, and this mobile phone mask hides the fourth, fifth, sixth, and seventh digits of the mobile phone number.
[0079] The first account information is the information registered on the second terminal. For example, if the second terminal is a mobile phone with two SIM cards and an instant messaging application installed, then the avatar and nickname of the instant messaging application, as well as the mobile phone numbers respectively bound to the above two SIM cards are all account information registered on the second terminal.
[0080] By obtaining the first account information, the first terminal can facilitate the user to select the account information to be used when logging in to the application without disclosing the account information registered on the second terminal.
[0081] In an optional embodiment, in response to the login operation of the application, at least one login method can be displayed, and the login method includes a one-key login method; if a second selection operation on the displayed one-key login method is received, then send a first login request to the second terminal.
[0082] By displaying at least one login method, it can facilitate the user to select the login method used when logging in to the application. The above second selection operation can be any operation that can represent the selection of the one-key login method. For example, the second selection operation can be a click operation, a long-press operation, etc.
[0083] Taking the first terminal as a car machine and the second terminal as a mobile phone as an example, as Figure 3-1 shown is an example diagram of the login method. In Figure 3-1There are three login methods shown, namely "Login by Account", "Login by Scanning QR Code with Mobile Phone", and "One-Click Login". "Login by Account" allows users to log in to the application by entering an account and password; "Login by Scanning QR Code with Mobile Phone" enables the in-vehicle device to display the QR code of the application, and the user logs in to the application by scanning this QR code with the mobile phone. If a click operation on the Figure 3-1 "One-Click Login" shown is received from the user, it is determined that the user selects to log in to the application in the one-click login manner, and the first terminal can implement the login of the application based on the account information registered on the second terminal.
[0084] Step 203: In response to the confirmation operation on the target account information in at least one first account information, send an authentication request to the second terminal.
[0085] Among them, the above confirmation operation can be any operation that can indicate that the user has confirmed to log in to the application based on the target account information. For example, the confirmation operation can be a click operation, a long-press operation, etc.
[0086] Logging in to the application based on the target account information can mean logging in to the application based on the second account information corresponding to the target account information. The second account information is the complete account information corresponding to the target account information. For example, if the target account information is the mobile phone mask 123****4567, then the corresponding second account information is the complete mobile phone number 12389104567; if the target account information is the WeChat avatar and WeChat nickname, then the corresponding second account information is the WeChat account corresponding to the WeChat avatar and WeChat nickname.
[0087] Step 204: Receive the login credential related to the target account information, and the login credential is sent by the second terminal according to the authentication request.
[0088] The login credential related to the target account information is a credential for accessing the account server, used to mark the identity of the visitor (such as the first terminal in this embodiment), and the second account information can be obtained from the account server through this credential. Among them, the login credential can be a Token, and this Token includes information such as the identity identifier of the first terminal, the access time of the first terminal, and the signature.
[0089] After receiving the authentication request from the first terminal, the second terminal forwards this authentication request to the account server. The account server authenticates the target account information, and if the authentication is passed, it assigns a login credential to the first terminal.
[0090] In an alternative embodiment, the first terminal sends a third login request to the second terminal, receives and displays a login confirmation page, which is sent by the second terminal according to the third login request and includes target account information; in response to a confirmation operation on the target account information displayed on the login confirmation page.
[0091] It can be understood that the login confirmation page can also be referred to as an authorization page, which includes target account information. By displaying this page, users can confirm the target account information, thereby authorizing the first terminal to log in to the application through the target account information.
[0092] In an alternative embodiment, the first terminal can also display at least one first account information; in response to a first selection operation on the displayed target account information, it sends a third login request to the second terminal.
[0093] By displaying the first account information, the first terminal can facilitate the user to select the target account information from the displayed first account information. The above first selection operation can be any operation that can represent the selection of the target account information. For example, the first selection operation can be a click operation, a long-press operation, etc.
[0094] As Figure 3-2 shown is an example diagram of the first account information. When the user selects Figure 3-1 "Log in via mobile phone", Figure 3-2 three pieces of first account information can be displayed, namely 123****4567 bound to SIM card 1, 987***4321 bound to SIM card 2, and the WeChat avatar, WeChat nickname, etc. 123****4567 means logging in to the application through SIM card 1, 987***4321 means logging in to the application through SIM card 2, and the WeChat avatar, WeChat nickname, etc. mean logging in to the application through the WeChat account. When the user selects to log in to the application through SIM card 1, the first terminal can display a login confirmation page as shown in Figure 3-3 shown. This page can display the target account information and confirmation options, and the user can click on the confirmation option to perform the confirmation operation on the target account information.
[0095] Step 205: Send a second login request carrying a login credential to the application server, and the application server is used to enable the first terminal to log in to the application based on the target account information.
[0096] The application server forwards the second login request carrying the login credential to the account server. In response to the second login request, the account server can return the second account information to the application server. The application server can determine the user identity identification number corresponding to the second account information based on the second account information. Each user registered in the application server has a unique identity identification number to identify the user. The application server can use this user identity identification number as the user account to complete the login of the application by the first terminal.
[0097] It can be understood that carrying the login credential in the second login request can prove the legitimacy of the first terminal.
[0098] After the application server completes the operation of logging in to the application by the first terminal with the second account information, it can send a login success notification to the first terminal. After receiving the login success notification, the first terminal can issue a login success reminder to remind the user that the login to the application has been completed.
[0099] It should be noted that the present application does not limit the way of issuing the login success reminder. For example, the way of issuing can be a voice way, a short message way, a text display way, etc. As Figure 3-4 shown is an example diagram of the login success reminder, Figure 3-4 and the login success reminder in is issued in a text display way.
[0100] In the embodiment of the present application, during the login process of the above application, the first terminal can receive the login credential sent by the second terminal by sending a first login request and an authentication request to the second terminal. By sending the second login request carrying the login credential to the application server, the first terminal can realize the login of the application based on the account information registered by the second terminal. This process does not require the user to input the account number and password through the keyboard, nor does it require mobile phone scanning code, which simplifies the login operation of the application and improves the login efficiency of the application.
[0101] See Figure 4 , which is a schematic diagram of the implementation process of the application login method provided by another embodiment of the present application. The application login method is applied to Figure 1 the second terminal in. As Figure 4 shown, the application login method may include the following steps:
[0102] Step 401, in response to the first login request of the first terminal, obtain at least one first account information and send at least one first account information to the first terminal.
[0103] Among them, the first account information is the account information with some information hidden or the information related to the account information, and the first account information is the information registered by the second terminal.
[0104] Optionally, in response to a first login request from a first terminal, the second terminal obtains at least one first account information from an account server. For example, the second terminal may send an account acquisition request to the account server, and in response to the account acquisition request, the account server returns at least one first account information to the second terminal.
[0105] Step 402: In response to an authentication request from the first terminal, obtain a login credential related to the target account information and send the login credential to the first terminal. The authentication request is sent by the first terminal based on the target account information in at least one first account information. The login credential is used to be carried in a second login request sent by the first terminal to an application server, and the application server is used to enable the first terminal to log in to the application program based on the target account information.
[0106] After the user inputs a confirmation operation for the target account information on the first terminal, the first terminal sends an authentication request to the second terminal. In response to the authentication request, the second terminal obtains a login credential related to the target account information from the account server, and the second terminal forwards the login credential to the first terminal. The first terminal sends a second login request carrying the login credential to the application server, and in response to the second login request, the application server completes the operation of the first terminal logging in to the application program with the second account information.
[0107] In an optional embodiment, in response to a third login request from the first terminal, a login confirmation page is sent to the first terminal, and the target account information is included in the login confirmation page.
[0108] The second terminal sending the login confirmation page to the first terminal can facilitate the user to perform a confirmation operation on the target account information in the login confirmation page, so as to authorize the first terminal to log in to the application program with the second account information.
[0109] In the embodiments of the present application, during the login process of the application program on the above-mentioned first terminal, the second terminal can enable the first terminal to log in to the application program based on the account information registered by the second terminal by sending a login credential to the first terminal. This process does not require the user to input an account and password through a keyboard, nor does it require mobile phone scanning, simplifying the login operation of the application program and improving the login efficiency of the application program.
[0110] For the above Figure 1 、 Figure 2 and Figure 4 In the embodiments shown, when logging in to the application program in a one-key login manner, since the user does not need to input an account and password through a keyboard, the login operation of the application program is simplified and the login efficiency of the application program is improved.
[0111] In an application scenario, taking the first terminal as a car infotainment system and the second terminal as a mobile phone as an example to illustrate the one-key login process of an application. As Figure 5 shown, when the user starts the car infotainment system APP (i.e., the application on the car infotainment system), the application enters the "Mobile Phone Quick Login Page". The "Mobile Phone Quick Login Page" displays a one-key login method for the user to select. When the user selects the one-key login method, the car infotainment system's car connectivity quick login SDK can call the operator authentication SDK through the car connectivity quick login service to obtain the mobile phone mask. The operator server returns the mobile phone mask to the car connectivity quick login service and forwards the mobile phone mask to the car infotainment system APP through the car connectivity quick login SDK. The car infotainment system APP displays the received mobile phone mask. The user can request one-key login based on the displayed mobile phone mask. When the user confirms the request for one-key login, the car infotainment system APP can forward the one-key login request (i.e., the third login request) to the operator authentication SDK through the car connectivity quick login SDK and the car connectivity quick login service. In response to the one-key login request, the operator authentication SDK sends a login confirmation page to the car connectivity quick login service. The car connectivity quick login service and the car connectivity quick login SDK forward the login confirmation page to the car infotainment system APP. The car infotainment system APP displays the login confirmation page for the user to confirm. If the user confirms the login, the car infotainment system APP sends an authentication request to the operator server. In response to the authentication request, the operator server returns a Token related to the mobile phone mask to the operator authentication SDK. The operator authentication SDK forwards the Token to the car infotainment system APP through the car connectivity quick login service and the car connectivity quick login SDK. The car infotainment system APP sends a login request (i.e., the second login request) carrying the Token to the operator server through the car infotainment system APP server. In response to the login request, the operator server returns the mobile phone number to the car infotainment system APP server. The car infotainment system APP server completes the operation of logging in to the car infotainment system APP with the mobile phone number, thereby realizing the quick login of the car infotainment system APP, notifying the car infotainment system APP of the successful login, and the car infotainment system APP sends a login success reminder.
[0112] See Figure 6 , which is a schematic structural diagram of an application login device provided by an embodiment of the present application. For the sake of convenience of description, only the parts related to the embodiment of the present application are shown.
[0113] The above application login device includes:
[0114] A first sending module 61, configured to send a first login request to a second terminal in response to a login operation of an application;
[0115] An information receiving module 62, configured to receive at least one first account information, where the at least one first account information is sent by a second terminal according to a first login request. The first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal.
[0116] A second sending module 63, configured to send an authentication request to the second terminal in response to a confirmation operation on the target account information in the at least one first account information.
[0117] A credential receiving module 64, configured to receive a login credential related to the target account information, where the login credential is sent by the second terminal according to the authentication request.
[0118] A third sending module 65, configured to send a second login request carrying the login credential to an application server, where the application server is configured to enable the first terminal to log in to the application program based on the target account information, and the application server is a server related to the application program.
[0119] Optionally, the above application program login device further includes:
[0120] A fourth sending module, configured to send a third login request to the second terminal.
[0121] A page receiving module, configured to receive and display a login confirmation page, where the login confirmation page is sent by the second terminal according to the third login request.
[0122] The above second sending module 63 is specifically configured to:
[0123] In response to a confirmation operation on the target account information in the displayed login confirmation page.
[0124] Optionally, the above application program login device further includes:
[0125] An information display module, configured to display at least one first account information.
[0126] The above fourth sending module is specifically configured to:
[0127] In response to a first selection operation on the displayed target account information, send a third login request to the second terminal.
[0128] Optionally, the above first sending module 61 is specifically configured to:
[0129] In response to a login operation of the application program, display at least one login method, where the login method includes a one-click login method.
[0130] If a second selection operation on the displayed one-click login method is received, send a first login request to the second terminal.
[0131] The application program login device provided by the embodiment of the present application can be applied in the foregoing method embodiment. For details, refer to the description of the foregoing method embodiment, which will not be repeated here.
[0132] See Figure 7 , which is a schematic structural diagram of the application program login device provided by an embodiment of the present application. For the sake of convenience of description, only the parts related to the embodiment of the present application are shown.
[0133] The above application program login device includes:
[0134] The first acquisition module 71 is configured to acquire at least one first account information in response to a first login request of a first terminal, and send at least one first account information to the first terminal, where the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by a second terminal;
[0135] The second acquisition module 72 is configured to acquire a login credential related to the target account information in response to an authentication request of the first terminal, and send the login credential to the first terminal, where the authentication request is sent by the first terminal based on the target account information in at least one first account information, and the login credential is used to be carried in a second login request sent by the first terminal to the application server, and the application server is configured to enable the first terminal to log in to the application program based on the target account information, and the application server is a server related to the application program.
[0136] Optionally, the above application program login device further includes:
[0137] The page sending module is configured to send a login confirmation page to the first terminal in response to a third login request of the first terminal, and the login confirmation page includes the target account information.
[0138] The application program login device provided by the embodiment of the present application can be applied in the foregoing method embodiment. For details, refer to the description of the foregoing method embodiment, which will not be repeated here.
[0139] Figure 8 is a schematic structural diagram of a terminal provided by an embodiment of the present application. As Figure 8 shown, the terminal 8 of this embodiment includes: one or more processors 80 (only one is shown in the figure), a memory 81, and a computer program 82 stored in the memory 81 and executable on the at least one processor 80. When the processor 80 executes the computer program 82, the steps in the foregoing embodiments of the application program login method are implemented.
[0140] The terminal may include, but is not limited to, the processor 80 and the memory 81. Those skilled in the art can understand, Figure 8This is only an example of the terminal 8, which does not constitute a limitation on the terminal 8. It may include more or fewer components than those shown in the figure, or combine certain components, or different components. For example, the terminal may also include input / output devices, network access devices, buses, etc.
[0141] The so-called processor 80 may be a central processing unit (CPU), and this processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0142] The memory 81 may be an internal storage unit of the terminal 8, such as the hard disk or memory of the terminal 8. The memory 81 may also be an external storage device of the terminal 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal 8. Further, the memory 81 may also include both the internal storage unit of the terminal 8 and the external storage device. The memory 81 is used to store the computer program and other programs and data required by the terminal. The memory 81 may also be used to temporarily store the data that has been output or will be output.
[0143] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional unit and module is used for illustration. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above device may refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0144] An embodiment of the present application also provides a computer-readable storage medium storing a computer program, which when executed by a processor, can implement the steps in the above-mentioned method embodiments.
[0145] An embodiment of the present application also provides a computer program product, which when running on a terminal, enables the terminal to implement the steps in the above-mentioned method embodiments.
[0146] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For parts not described in detail or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0147] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0148] In the embodiments provided by the present application, it should be understood that the disclosed device / terminal and method can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0149] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0150] When the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0151] The above-described embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of this application, and should all be included in the protection scope of this application.
Claims
1. An application login method, applied to a first terminal, characterized in that, Including: In response to a login operation of an application, sending a first login request to a second terminal; Receiving at least one first account information, where the at least one first account information is sent by the second terminal according to the first login request, and wherein the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal; In response to a confirmation operation on target account information in the at least one first account information, sending an authentication request to the second terminal; Receiving a login credential related to the target account information, where the login credential is sent by the second terminal according to the authentication request, and the login credential is used to mark the identity of the first terminal to obtain second account information corresponding to the target account information from an account server, and the second account information is complete account information corresponding to the target account information; Sending a second login request carrying the login credential to an application server, where the application server is used to forward the second login request to the account server to obtain the second account information fed back by the account server, so that the first terminal logs in to the application based on the user identity identifier corresponding to the second account information, and the application server is a server related to the application; 2. The application program login method according to claim 1, wherein Before responding to the confirmation operation on the target account information in the at least one first account information, it further includes: Sending a third login request to the second terminal; Receiving and displaying a login confirmation page, where the login confirmation page is sent by the second terminal according to the third login request, and the login confirmation page includes the target account information; The responding to the confirmation operation on the target account information in the at least one first account information includes: Responding to the confirmation operation on the target account information in the displayed login confirmation page.
3. The application program login method according to claim 2, wherein, Before sending the third login request to the second terminal, it further includes: Displaying the at least one first account information; The sending the third login request to the second terminal includes: In response to a first selection operation on the displayed target account information, sending the third login request to the second terminal.
4. The application program login method according to any one of claims 1 to 3, characterized in that, The responding to the login operation of the application and sending the first login request to the second terminal includes: In response to the login operation of the application, displaying at least one login method, where the login method includes a one - key login method; If a second selection operation on the displayed one - key login method is received, then sending the first login request to the second terminal.
5. A method for logging in to an application, applied to a second terminal, characterized in that Including: In response to a first login request of a first terminal, obtaining at least one first account information and sending the at least one first account information to the first terminal, where the first account information is account information with some information hidden or information related to the account information, and the first account information is information registered by the second terminal; In response to the authentication request of the first terminal, obtain a login credential related to the target account information, and send the login credential to the first terminal, where the authentication request is sent by the first terminal based on the target account information in the at least one first account information, the login credential is carried in a second login request sent by the first terminal to the application server, the login credential is used to mark the identity of the first terminal to obtain second account information corresponding to the target account information from the account server, the second account information is the complete account information corresponding to the target account information, the application server is used to forward the second login request to the account server to obtain the second account information fed back by the account server, so that the first terminal logs in to the application program based on the user identity identifier corresponding to the second account information, and the application server is the server related to the application program.
6. The application program login method according to claim 5, wherein After sending the at least one first account information to the first terminal, it further includes: In response to the third login request of the first terminal, send a login confirmation page to the first terminal, where the login confirmation page includes the target account information.
7. An application login device, applied to a first terminal, characterized in that It includes: A first sending module, configured to send a first login request to a second terminal in response to a login operation of an application program; An information receiving module, configured to receive at least one first account information, where the at least one first account information is sent by the second terminal according to the first login request, where the first account information is an account information with some information hidden or information related to the account information, and the first account information is the information registered by the second terminal; A second sending module, configured to send an authentication request to the second terminal in response to a confirmation operation on the target account information in the at least one first account information; A credential receiving module, configured to receive a login credential related to the target account information, where the login credential is sent by the second terminal according to the authentication request, and the login credential is used to mark the identity of the first terminal to obtain second account information corresponding to the target account information from the account server, and the second account information is the complete account information corresponding to the target account information; A third sending module, configured to send a second login request carrying the login credential to the application server, where the application server is used to forward the second login request to the account server to obtain the second account information fed back by the account server, so that the first terminal logs in to the application program based on the user identity identifier corresponding to the second account information, and the application server is the server related to the application program.
8. An application login device, which is applied to a second terminal, is characterized in that It includes: A first obtaining module, configured to obtain at least one first account information in response to a first login request of a first terminal, and send the at least one first account information to the first terminal, where the first account information is an account information with some information hidden or information related to the account information, and the first account information is the information registered by the second terminal; A second acquisition module, configured to, in response to an authentication request of the first terminal, acquire a login credential related to target account information, and send the login credential to the first terminal, where the authentication request is sent by the first terminal based on the target account information in the at least one first account information, the login credential is carried in a second login request sent by the first terminal to an application server, the login credential is used to mark the identity of the first terminal so as to obtain second account information corresponding to the target account information from an account server, the second account information is complete account information corresponding to the target account information, the application server is configured to forward the second login request to the account server to obtain the second account information fed back by the account server, so that the first terminal logs in to the application program based on a user identity number corresponding to the second account information, and the application server is a server related to the application program.
9. A terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the application program login method according to any one of claims 1 to 4 are implemented, or the steps of the application program login method according to claim 5 or 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, the steps of the application program login method according to any one of claims 1 to 4 are implemented, or the steps of the application program login method according to claim 5 or 6 are implemented.
Citation Information
Patent Citations
Information sharing method and electronic equipment
CN111447208A