Application program login method and system

By providing one-click login on large-screen devices, and using the mobile phone's cellular communication function to obtain login information from the authentication server, it solves the problem of complex user operations when logging into applications with large-screen devices and improves the user experience.

CN120104012APending Publication Date: 2025-06-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510061513.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

When a large-screen device logs into the application, the user operation is complicated and the user experience is poor.

Method used

The login interface is displayed through the first electronic device (such as a smart TV), and a one-click login method is provided, and the cellular communication function of the second electronic device (such as a mobile phone) is used to obtain login information from the authentication server to realize the login of the application.

Benefits of technology

It simplifies user login operations, reduces the need for character input, and improves login efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104012A_ABST
    Figure CN120104012A_ABST
Patent Text Reader

Abstract

The invention provides an application program login method and system, and relates to the technical field of communication. The system includes a first electronic device and a second electronic device whose cellular communication functionality is available. The first electronic equipment is configured to display a login interface after an application program to be logged in is started, the login interface comprises a second control, and the second control is used for providing a first login mode; the first login mode is that login information is acquired from an authentication server by means of a cellular communication function of the second electronic equipment, and the application program is logged in according to the login information; and after the operation of the user on the second control is detected, logging in the application program in the first login mode. According to the application program login system, after the first electronic equipment detects the operation of the user on the second control, the application program can be logged in by means of the cellular communication function of the second electronic equipment, the user operation is simple and convenient, and good user experience is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an application login method and system. Background Art

[0002] At present, when logging into an application on a large-screen electronic device (referred to as large-screen devices, including smart TVs, laptops, etc.), the commonly used login methods include the following: (1) account and password login; (2) SMS verification code login; (3) QR code login, etc.

[0003] For method (1), the user needs to enter the application account and password on the large-screen device. For method (2), the user needs to enter the mobile phone number on the large-screen device, and then enter the verification code received on the mobile phone. For method (3), the user usually needs to install and log in to the mobile version of the application on the mobile phone, and use the mobile version of the application to scan the QR code on the large-screen device to control the large-screen device to log in to the computer version of the application. It can be seen that for large-screen devices, no matter which of the above methods is used to log in to the application, the operations that the user needs to perform are relatively complicated, and the user experience is not good. Summary of the invention

[0004] The present application provides an application login method and system, which to a certain extent solves the problem in the prior art that when logging into an application on a large-screen device, the user operation is complicated and the user experience is poor.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides an application login system, including a first electronic device and a second electronic device, wherein a cellular communication function of the second electronic device is available;

[0007] The first electronic device is configured to: after starting an application to be logged in, display a login interface, the login interface including a second control, the second control being used to provide a first login method; wherein the first login method is to obtain login information from an authentication server with the aid of a cellular communication function of the second electronic device to log in to the application according to the login information; and after detecting a user's operation on the second control, log in to the application through the first login method.

[0008] In this embodiment, the first electronic device is any one of the first electronic devices, such as a smart TV. The second electronic device is any one of the second electronic devices, such as a mobile phone. The cellular communication function of the first electronic device is unavailable, and the cellular communication function of the second electronic device is unavailable.

[0009] Through the application login system provided in the embodiment of the present application, after the first electronic device detects the user's operation on the second control (for example, the "one-click login" icon), it can obtain login information from the operator's authentication server with the help of the second electronic device with available cellular communication function, and log in to the corresponding application according to the login information. When logging in to the application through this system, the user does not need to perform complex character input operations, nor does he need to install and log in to the mobile version of the application on the second electronic device, which provides a good user experience.

[0010] In some embodiments, the cellular communication function of the first electronic device is not available.

[0011] In some embodiments, when the first electronic device has obtained authorization from the second electronic device, the login interface also displays identification information of the second electronic device. The identification information may be a mobile phone number mask, a device name, etc. In this embodiment, after the first electronic device detects the user's operation on the second control, it can directly log in to the application. For the user, the user only needs to perform one operation to control the first electronic device to log in to the application, which has a good user experience.

[0012] In some embodiments, when the first electronic device does not obtain authorization from the second electronic device, the first electronic device is further configured to: after detecting a user operation on the second control, obtain authorization from the second electronic device and log in to the application through the first login method.

[0013] In this embodiment, for the scenario where the first electronic device has not used the second electronic device to log in to the application, the first electronic device needs to determine the second electronic device and obtain authorization from the second electronic device before logging in to the application through the first login method.

[0014] In some embodiments, in the process of obtaining authorization of the second electronic device, the first electronic device is configured to:

[0015] Displaying a device selection interface, the device selection interface includes at least one available host, the available host being an electronic device that can cooperate with the first electronic device to log in to the application through the first login method;

[0016] In response to the user selecting a second electronic device from at least one available host, the first electronic device sends an authorization request to the second electronic device, the authorization request being used to request the second electronic device to cooperate with the first electronic device to log in to the application using a first login method;

[0017] The second electronic device is configured to:

[0018] After receiving the authorization request, displaying an authorization request interface, the authorization request interface including a sixth control and a seventh control, the sixth control being used to reject the authorization request, and the seventh control being used to accept the authorization request;

[0019] In response to the user's operation on the seventh control, an authorization notification is sent to the first electronic device, where the authorization notification is used to indicate that the second electronic device has accepted the authorization request.

[0020] Through the system provided in this embodiment, the user only needs to perform two steps to obtain authorization for the second electronic device. The first step is to select the second electronic device in the device selection interface, and the second step is to select the seventh control in the authorization request interface of the second electronic device. The authorization process is simple and quick.

[0021] In some embodiments, the first electronic device is further configured to: after receiving the authorization notification, update the login interface, wherein the updated login interface displays the identification information of the second electronic device; and, in response to the user's operation of the second control on the updated login interface, the first electronic device logs into the application through the first login method.

[0022] In this embodiment, when the first electronic device uses the second electronic device to log in to the application for the first time, after the first electronic device updates the login interface, the user only needs to perform one operation (i.e., select the second control) to log in to the application, which is convenient for the user.

[0023] In some embodiments, the first electronic device is further configured to: broadcast a device information acquisition request to a router in the local area network where the first electronic device is located; receive device information sent by at least one available host in the local area network; and display a device selection interface based on the device information sent by the at least one available host.

[0024] Through the system provided by this embodiment, the first electronic device can select an available electronic device from the local area network where it is located as the second electronic device.

[0025] In some embodiments, the first electronic device is further configured to: send a device information acquisition request to the cloud server corresponding to the device account logged in by the first electronic device; receive device information of at least one available host sent by the cloud server; and display a device selection interface based on the device information sent by the at least one available host.

[0026] In this embodiment, the communication between the first electronic device and the second electronic device is not restricted by the same local area network. As long as the first electronic device and the second electronic device log in to the same device account, the first electronic device can remotely use the second electronic device to log in to the application through the first login method.

[0027] In some embodiments, the first electronic device is configured to: display a main application interface, the main application interface includes a first control, the first control is used to control the first electronic device to display a login interface; in response to a user operation on the first control, display the login interface.

[0028] In some embodiments, the login interface further includes at least one of a short message verification code login control, a QR code login control, and an account and password login control. In this embodiment, when the first electronic device fails to log in according to the first login method, it can also select other login methods to log in to the application according to user instructions.

[0029] In some embodiments, the first electronic device is further configured to: send a first login request to the second electronic device, where the first login request is used to request to obtain login information;

[0030] The second electronic device is further configured to: send the first login request to the authentication server; receive the login information sent by the authentication server; and send the login information to the first electronic device;

[0031] The first electronic device is further configured to log in to the application according to the login information.

[0032] In some embodiments, the first electronic device is further configured to: send a second login request to an application server corresponding to the application, the second login request including login information, the second login request being used by the application server to log in to the application according to the login information; and receive a login result notification sent by the application server. The login result notification includes a login success notification and a login failure notification.

[0033] In some embodiments, when the first electronic device and the second electronic device are electronic devices in the same local area network, the first electronic device and the second electronic device communicate through a router in the local area network.

[0034] In some embodiments, when the first electronic device and the second electronic device log in to the same device account, the first electronic device and the second electronic device communicate through the cloud server corresponding to the device account, or communicate through a point-to-point connection.

[0035] In a second aspect, the present application provides an application login method, the method comprising:

[0036] After the first electronic device starts the application to be logged in, the first electronic device displays a login interface, the login interface includes a second control, and the second control is used to provide a first login method; wherein the first login method is to obtain login information from an authentication server by means of a cellular communication function of the second electronic device, so as to log in to the application according to the login information;

[0037] After detecting the user's operation on the second control, the first electronic device logs into the application program through the first login method.

[0038] In some embodiments, the cellular communication function of the first electronic device is not available.

[0039] In some embodiments, when the first electronic device has obtained authorization from the second electronic device, the login interface also displays identification information of the second electronic device.

[0040] In some embodiments, after detecting the user's operation on the second control, the first electronic device logs in to the application program through the first login method, including:

[0041] After detecting the user's operation on the second control, the first electronic device obtains the authorization of the second electronic device and logs in to the application program through the first login method.

[0042] In some embodiments, the first electronic device obtains authorization from the second electronic device, including:

[0043] The first electronic device displays a device selection interface, the device selection interface includes at least one available host, the available host being an electronic device that can cooperate with the first electronic device to log in to the application through the first login method;

[0044] In response to the user selecting the second electronic device from the at least one available host, the first electronic device sends an authorization request to the second electronic device, the authorization request being used to request the second electronic device to cooperate with the first electronic device to log in to the application using the first login method;

[0045] After receiving the authorization request, the second electronic device displays an authorization request interface, the authorization request interface including a sixth control and a seventh control, the sixth control is used to reject the authorization request, and the seventh control is used to accept the authorization request;

[0046] In response to the user's operation on the seventh control, the second electronic device sends an authorization notification to the first electronic device, where the authorization notification is used to indicate that the second electronic device has accepted the authorization request.

[0047] In some embodiments, the method further comprises:

[0048] After receiving the authorization notification, the first electronic device updates the login interface, and the updated login interface displays the identification information of the second electronic device;

[0049] In response to the user's operation on the second control on the updated login interface, the first electronic device logs into the application program through the first login method.

[0050] In some embodiments, the first electronic device displays a device selection interface, including:

[0051] The first electronic device broadcasts a device information acquisition request to a router in the local area network where the first electronic device is located;

[0052] The first electronic device receives device information sent by at least one available host in the local area network;

[0053] The first electronic device displays a device selection interface according to the device information sent by at least one available host.

[0054] In some embodiments, the first electronic device displays a device selection interface, including:

[0055] The first electronic device sends a device information acquisition request to a cloud server corresponding to a device account logged in by the first electronic device; and displays a device selection interface according to the device information sent by at least one available host.

[0056] In some embodiments, the first electronic device displays a login interface, including: the first electronic device displays a main application interface, the main application interface includes a first control, the first control is used to control the first electronic device to display the login interface; and, in response to a user's operation on the first control, the first electronic device displays the login interface.

[0057] In some embodiments, the login interface also includes at least one of a short message verification code login control, a QR code login control, and an account and password login control.

[0058] In some embodiments, logging into the application program through a first login method includes:

[0059] The first electronic device sends a first login request to the second electronic device, where the first login request is used to request to obtain login information;

[0060] The second electronic device sends the first login request to the authentication server;

[0061] The second electronic device receives the login information sent by the authentication server;

[0062] The second electronic device sends the login information to the first electronic device;

[0063] The first electronic device logs in to the application according to the login information.

[0064] In some embodiments, the first electronic device logs into the application according to the login information, including:

[0065] The first electronic device sends a second login request to the application server corresponding to the application, the second login request includes login information, and the second login request is used by the application server to log in to the application according to the login information;

[0066] The first electronic device receives a login result notification sent by the application server.

[0067] In some embodiments, when the first electronic device and the second electronic device are electronic devices in the same local area network, the first electronic device and the second electronic device communicate through a router in the local area network.

[0068] In some embodiments, when the first electronic device and the second electronic device log in to the same device account, the first electronic device and the second electronic device communicate through the cloud server corresponding to the device account, or communicate through a point-to-point connection.

[0069] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 is a schematic diagram of the structure of a communication system provided by an embodiment of the present application;

[0071] Figure 2 is a schematic diagram of a first interface of a smart TV provided by an embodiment of the present application;

[0072] Figure 3 is a schematic diagram of a second interface of a smart TV provided by an embodiment of the present application;

[0073] Figure 4 is a schematic diagram of a third interface of a smart TV provided by an embodiment of the present application;

[0074] Figure 5 is a schematic diagram of an authorization request interface of a target host provided by an embodiment of the present application;

[0075] Figure 6 is a schematic diagram of a login interface of a smart TV after authorization provided by an embodiment of the present application;

[0076] Figure 7 is a schematic diagram of a first interface of a smart TV provided by another embodiment of the present application;

[0077] Figure 8 is a schematic diagram of a first interface of a smart TV provided by another embodiment of the present application;

[0078] Fig. 9 is a schematic diagram of a first interface of a smart TV provided in yet another embodiment of the present application;

[0079] Fig.10 is a schematic diagram of a second interface of a smart TV provided by another embodiment of the present application;

[0080] Fig.11 is a structural diagram of a communication system provided by another embodiment of the present application;

[0081] Fig.12 is a schematic diagram of an application login method provided by an embodiment of the present application;

[0082] Fig.13 is a schematic diagram of an application login method provided by yet another embodiment of the present application;

[0083] Fig.14 is a schematic diagram of a second interface of a smart TV provided by another embodiment of the present application;

[0084] Fig.15 is a schematic diagram of an application login method provided by yet another embodiment of the present application;

[0085] Fig.16 is a schematic diagram of an application login method provided in yet another embodiment of the present application;

[0086] Fig.17 is a schematic diagram of an application login method provided by another embodiment of the present application;

[0087] Fig.18 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0088] With the development of computer technology, electronic devices can provide corresponding services to users by running various applications. These applications include but are not limited to video playback applications, audio playback applications, shopping applications, game applications, artificial intelligence (AI) fitness applications, etc. In addition, these applications can be applications downloaded and installed locally by the electronic device, or they can be applications retrieved and run by the electronic device from a web page, which is not limited in this embodiment.

[0089] In this embodiment, electronic devices can be divided into first category electronic devices and second category electronic devices according to whether the cellular communication function of the electronic device is available. Among them, the cellular communication function of the first category electronic devices is not available, such as smart TVs, tablet computers, laptops, desktop computers, smart screens, ultra-mobile personal computers (ultra-mobile personal computers, UMPC), netbooks, personal digital assistants (personal digital assistants, PDA) and other large-screen devices, as well as mobile phones and smart watches that are not equipped with a subscriber identity module (SIM) card or an e-SIM card (i.e., an electronic SIM card). The cellular communication function of the second category electronic devices is available, such as mobile phones and smart watches that are equipped with a SIM card or an e-SIM card.

[0090] Among them, when the cellular communication function of the electronic device is available, the electronic device can communicate through technologies and operator equipment such as Circuit Switched (CS), Voice over Long-Term Evolution (VoLTE), Voice over New Radio (VoNR), or voice calls based on wireless fidelity (WiFi) (Voice over WiFi, VoWiFi).

[0091] Typically, electronic devices log in to applications based on application accounts, which can be unique user identifiers such as phone numbers, email addresses, ID numbers, and user names. After logging in to an application, the electronic device can save user data under the corresponding application account in the application server. After a user logs in to the application through any electronic device, the user can obtain user data under the corresponding account from the application server.

[0092] At present, when logging into an application on the first type of electronic devices (such as smart TVs), the login methods commonly used include the following: (1) account and password login; (2) SMS verification code login; (3) QR code login, etc.

[0093] For method (1), the electronic device needs to log in to the application according to the application account and password input by the user. However, the application account and password usually contain a large number of characters, and the user input process is time-consuming and inconvenient, resulting in low login efficiency and poor user experience.

[0094] For method (2), the electronic device needs to obtain the mobile phone number input by the user and the verification code received by the mobile phone before logging into the application. Since the mobile phone number and the verification code usually have a large number of characters, the user input process is time-consuming and inconvenient, resulting in low login efficiency and poor user experience.

[0095] In addition, there are security issues with the Global System for Mobile Communication (GSM) when logging into the application via SMS verification codes. SMS verification codes are easily intercepted, and the user's information and property security cannot be guaranteed.

[0096] For method (3), users usually need to install and log in to the mobile version application on other electronic devices (such as mobile phones), and then use the mobile version application to scan the QR code on the login interface of the large-screen device to control the large-screen device to log in to the computer version application, which results in a poor user experience.

[0097] It can be seen that for the first type of electronic device, no matter which of the above methods is used to log in to the application, the operations that the user needs to perform are relatively complicated, resulting in a poor user experience. To this end, an embodiment of the present application provides an application login method, which involves a process in which the first type of electronic device logs in to the application with the help of the cellular communication function of the second type of electronic device. The method can improve the efficiency of the first type of electronic device logging in to the application and improve the user experience.

[0098] Combine the following Figure 1 As shown, taking the first category of electronic devices being smart TVs and the second category of electronic devices being mobile phones as an example, the technical solution provided in the embodiments of the present application is explained through the process of logging into the target application through the smart TV using the cellular communication function of the mobile phone.

[0099] Taking AI Fitness as an example, after the target application is turned on, when AI Fitness is not logged in, the smart TV usually displays the first interface (also called the main application interface, i.e., the first interface displayed after the application is started), and the first interface includes a first control. The first control is used to control the smart TV to display the second interface. Exemplarily, the first interface can be Figure 1 The first control can be Figure 2 The “Login” icon is shown, but it may also be an icon in other forms, such as a “Click to Login” icon, a “Login / Register” icon, a “Login Now” icon, etc.

[0100] In response to the user's operation of the first control in the first interface, the smart TV can display the second interface (also called the login interface). For the scenario where the smart TV has not used the target host (i.e., the second type of electronic device selected by the user) to log in to the application, the second interface includes at least a second control, which is used to provide a first login method, that is, a method of logging in to the application with the help of the cellular communication function of the second type of electronic device provided in the embodiment of the present application. Optionally, the second interface may also include other controls, such as at least one of a third control, a fourth control, and a fifth control. Among them, the third control, the fourth control, and the fifth control are respectively used to provide other different login methods.

[0101] For example, after the smart TV detects that the user selects the "login" icon in the first interface through the remote control, it can display Figure 3 The second interface shown. The second to fifth controls included in the second interface are respectively: "One-click login" icon, "SMS verification code login" icon, QR code and "Account password login" icon.

[0102] It should be noted that, in this embodiment, the user's operation on a certain control includes selecting the control through a remote control, clicking the control with a mouse, or single-clicking, double-clicking, long pressing, gravity pressing the control through a touch operation, or selecting the control through voice control, etc. This embodiment does not limit the specific methods.

[0103] In response to the user's operation on the second control, the smart TV displays a third interface (also called a device selection interface), and the third interface includes device information of available hosts of the smart TV. The available host refers to a second type of electronic device that can cooperate with the smart TV to log in to the application. The device information displayed in the third interface may be a device name or a device model, etc.

[0104] For example, after a smart TV detects that a user selects the "one-key login" icon via a remote control, it may display a message such as Figure 4 The third interface shown. The third interface displays the device names "Mobile A" and "Mobile B". Alternatively, the third interface may display the device models of available hosts, such as HUAWEIP40, Mate30, Nova7, etc. Users can select any available host from the third interface as the target host to log in to the application with the smart TV according to their needs.

[0105] In response to the user's operation of selecting the target host, the target host displays an authorization request interface. The authorization request interface includes request description information, a sixth control, and a seventh control. The request description information is used to describe the matter that the smart TV requests the target host to execute, the sixth control is used to control the rejection of the authorization request of the smart TV, and the seventh control is used to control the approval of the authorization request of the smart TV and authorize the smart TV to log in to the application. In response to the user's operation on the seventh control, the target host authorizes the smart TV to log in to the application.

[0106] For example, in response to a user selecting Figure 4 In the third interface shown, mobile phone A is selected as the target host through the remote control, and mobile phone A displays, for example Figure 5 The authorization request interface shown. In the authorization request interface, the request description is "Smart TV requests to log in to AI Fitness", the sixth control is the "Reject" icon, and the seventh control is the "Agree" icon. After detecting that the user operates the "Agree" icon, mobile phone A authorizes the smart TV to log in to AI Fitness.

[0107] For the scenario where the smart TV uses the target host to log in to the application for the first time, after obtaining authorization from the target host, the smart TV may display the authorized login interface or may not display the authorized login interface.

[0108] In some embodiments, when the smart TV displays the authorized login interface, the target host can send its mobile phone number mask to the smart TV so that the smart TV can display the authorized login interface. The authorized login interface can highlight the second control on the basis of the original second interface and display the mobile phone number mask of the target host. After the smart TV displays the authorized login interface, it means that the authorization of the target host corresponding to the displayed mobile phone number mask is obtained, and the smart TV can log in to the target application with the help of the cellular communication function of the target host.

[0109] For example, the updated second interface can be as follows Figure 6 As shown, the second control "One-click login" icon is highlighted, and the target host's mobile phone number mask 183****2879 is displayed. The mobile phone number mask is the mobile phone number encrypted by a preset encryption algorithm. For example, the mask corresponding to the mobile phone number 183XXXX2879 is "183****2879".

[0110] In response to the user's operation on the second control in the authorized login interface, the smart TV can log in to the application. Figure 6 As shown, when the smart TV detects the user's operation on the "one-click login" icon, the user can log in to the application.

[0111] In other embodiments, after authorizing the smart TV to log in to the application, the target host may not notify the smart TV to display the authorized login interface, but directly cooperate with the smart TV to log in to the target application.

[0112] After the login is successful, the smart TV updates the first interface. The first control is not displayed in the updated first interface, but user information, such as user name, application account, user image, etc., is displayed. For example, for AI fitness, after the smart TV logs in to AI fitness with the target host corresponding to 183XXXX2879, the smart TV can display, for example Figure 7 The first interface shown displays user information "User 183****2879".

[0113] In addition, in some other embodiments, see Figure 8 As shown, after opening the target application, the smart TV may also directly display the second control (such as the "one-click login" icon) on the first interface. In response to the user's operation on the second control, the smart TV may also not display the second interface, but directly display the third interface (such as Figure 4 shown).

[0114] Through the application login method provided in this embodiment, when a user uses a target host to log in to an application for the first time, after obtaining authorization from the target host through simple operations, he can log in to the application directly or through one-click operation (for example, clicking the "one-click login" icon). The operation is simple and has a good user experience.

[0115] When the login time of the application in the smart TV exceeds a preset time (for example, two weeks), or the application account is logged in on other devices, or the user logs out of the application account, the application account logged in on the smart TV will become invalid. After that, the smart TV needs to log in to the application again.

[0116] If it is not the first time that the smart TV logs in the target application with the cellular communication function of a target host (such as mobile phone A), since the smart TV has obtained the authorization of mobile phone A and has the mobile phone number mask of mobile phone A stored locally, the smart TV does not need to obtain the authorization of mobile phone A again and can directly log in the application with mobile phone A. The details are as follows.

[0117] In a possible implementation, after the target application is opened, the smart TV first displays, for example, Figure 2 In response to the user's operation on the first control in the first interface, the smart TV displays, for example Figure 6The authorized login interface shown. In response to the user's operation on the second control (such as the "one-click login" icon) in the authorized login interface, the smart TV can log in to the target application.

[0118] In another possible implementation, after opening the target application, the smart TV may directly display, for example, Fig. 9 The first interface shown in the figure includes a second control (such as a "one-click login" icon) and an "other login method" icon. The second control is used to log in to the application using the mobile phone number of the target host (such as 183XXXX2879). After detecting the user's operation on the second control, the smart TV directly uses the mobile phone number of the target host to log in to the application. Specifically, in response to the user's operation on the second control, the smart TV can log in to the target application.

[0119] Through the application login method provided in this embodiment, when the user is not logging into the application for the first time using a target host, the user can directly log in to the application with one-click operation (for example, clicking the "one-click login" icon), which is easy to operate and provides a good user experience.

[0120] In addition, in some embodiments, when the smart TV is not using a target host to log in to the target program for the first time, it can also change to another target host. Figure 6 After clicking the "Change Mobile Number" icon, you can search and determine the new target host again, obtain the authorization of the new target host, and use the new target host to log in to the application. The specific process can be found in the previous description, and this embodiment will not be repeated here.

[0121] In other embodiments, when the smart TV uses the target host to log in to the application, the login may fail due to authorization failure, abnormal cellular network, etc. After detecting the login failure, the smart TV can update the second interface. The updated second interface highlights other login methods other than the first login method and displays a login failure prompt message. For example, see Fig.10 As shown, the updated second interface displays a failed login prompt message: "One-click login failed, please use other methods to log in", and highlights the SMS verification code login method.

[0122] In summary, compared with the existing login methods such as SMS verification code login, account password login, etc., the application login method provided by this embodiment is easy to operate, fast in login speed, and has a good user experience. In addition, compared with the existing scanning QR code login, the user does not need to install and log in to the mobile version of the target application on the target host, which also has a good user experience.

[0123] Fig.11 is a schematic architecture diagram of a communication system provided by an embodiment of the present application. Fig.11 As shown, the communication system includes a smart TV, a mobile phone, an application server and an authentication server.

[0124] Among them, the smart TV is an electronic device for logging into the target application, the mobile phone is the target host selected by the user, the application server provides the target application, and the authentication server is the server of the cellular communication network operator (hereinafter referred to as the operator). Among them, the smart TV and the mobile phone can communicate through a router in the local area network, or through a cloud server, or through a peer-to-peer (P2P) connection established through network address translation technology (Network Address Translators, NAT) for communication. The mobile phone communicates with the authentication server through the cellular network. The smart TV can communicate with the application server through the local area network. The application server can communicate with the authentication server through the local area network.

[0125] Smart TVs and mobile phones are both equipped with an application layer, an application framework layer (framework, FWK), a radio interface layer (radio interface layer, RIL) and an Internet protocol (internet protocol, IP) protocol stack. In addition, the mobile phone is also equipped with a modem.

[0126] When the smart TV and the mobile phone communicate through a router or P2P connection, after the smart TV and the mobile phone obtain each other's IP address, they can establish a first Socket connection between the RIL of the smart TV and the RIL of the mobile phone based on the router or P2P technology, and establish a second Socket connection between the IP protocol stack of the smart TV and the IP protocol stack of the mobile phone. Among them, the first Socket connection is used to transmit signaling messages (including request messages and response messages), such as the authorization request, authorization notification, rejection notification, first login request, second login request, login success notification, etc. involved below. The second Socket connection is used to transmit data information, such as the mobile phone number mask and login information involved below.

[0127] When the smart TV and the mobile phone communicate through the cloud server, the mobile phone and the cloud server, and the smart TV and the cloud server respectively maintain heartbeat connections. As an information transfer device, the cloud server forwards messages sent by the smart TV to the mobile phone, and forwards messages sent by the mobile phone to the smart TV. When the smart TV and the mobile phone communicate through the cloud server, signaling messages are transmitted between the RIL of the smart TV and the RIL of the mobile phone, and data messages are transmitted between the IP protocol stack of the smart TV and the IP protocol stack of the mobile phone.

[0128] The following is a specific description of the application login method provided in the embodiment of the present application based on the application login system provided in the embodiment of the present application.

[0129] The application login method provided in the embodiment of the present application includes the following two parts: (i) determining the target host and obtaining authorization; (ii) using the target host to log in to the application. Among them, content (i) can only be performed when the smart TV logs in to the application for the first time with the help of the target host. In the subsequent login process, the smart TV does not need to obtain the authorization of the target host again. The following is a description of these two parts in conjunction with the accompanying drawings.

[0130] 1. Determining the target host and obtaining authorization

[0131] When a smart TV uses a target host to log in to a target application for the first time, the smart TV can actively search and determine the target host and obtain authorization from the target host. For example, the smart TV can scan the available hosts in the local area network to which it is connected, determine the target host from the available hosts, and obtain authorization from the target host. It can also determine the available hosts that log in to the same device account through the cloud server, select the target host from these available hosts, and obtain authorization from the target host. In addition, the smart TV can also determine the target host based on the mobile phone number entered by the user and obtain authorization from the target host.

[0132] Fig.12 It is a schematic diagram of an application login method provided by an embodiment of the present application, which involves the process of determining a target host in a local area network and obtaining authorization, and specifically includes the following steps S1201-S1207.

[0133] S1201: In response to a user operation on a second control, a smart television broadcast device information acquisition request is made.

[0134] The second control may be, for example, Figure 3 The "one-key login" icon in the second interface shown may also be, for example Figure 8 The "one-key login" icon in the first interface shown. After detecting the user's operation on the "one-key login" icon, the smart TV broadcasts a device information acquisition request. Exemplarily, the device information acquisition request may be REQUEST_DEVICE_INFORMATION.

[0135] In a local area network, each electronic device is connected through a router. Therefore, in one example, a smart TV can send a device information acquisition request to a specific port of a router through a User Datagram Protocol (UDP) broadcast. Each electronic device in the local area network receives the device information acquisition request by listening to the port. The device information acquisition request carries the device information of the smart TV, such as the device name, device model, IP address, etc.

[0136] S1202, the smart TV receives device information of available hosts.

[0137] In one example, after receiving a device information acquisition request, the electronic device can determine whether its cellular communication function is available based on whether it is installed with a SIM card / e-SIM card. If the electronic device is installed with a SIM card / e-SIM card, it means that its cellular communication function is available and it is an available host. If the electronic device is not installed with a SIM card / e-SIM card, it means that its cellular communication function is unavailable and it is not an available host. Among them, the available host can send its own device information to the smart TV based on the IP address of the smart TV. Exemplarily, the device information can be included in the RESPONSE_DEVICE_INFORMATION message.

[0138] Take the example of electronic devices connected in the local area network, including mobile phone A, mobile phone B, laptop computer, Bluetooth speaker, sweeping robot, and air purifier. Mobile phone A and mobile phone B are respectively installed with SIM cards, and their cellular communication functions are available, so they are available hosts. However, laptop computers, Bluetooth speakers, sweeping robots, and air purifiers do not have SIM cards installed, and their cellular communication functions are not available, so they are not available hosts. Therefore, after receiving the device information acquisition request, these electronic devices only send their own device information to the smart TV by mobile phone A and mobile phone B respectively, while laptop computers, Bluetooth speakers, sweeping robots, air purifiers, etc. do not send device information to the smart TV.

[0139] S1203: The smart TV displays a third interface, where the third interface includes device information of available hosts.

[0140] After receiving the device information of the available host, the smart TV displays it in the available host list in the third interface. For example, the smart TV receives the device information of mobile phone A and mobile phone B. Figure 4 As shown, the smart TV can display the device names: mobile phone A and mobile phone B in the third interface.

[0141] S1204: The smart TV receives a target host selection operation input by the user.

[0142] The user can select any available host in the third interface as the target host and log in to the application with the smart TV. For example, see Figure 4 As shown, the smart TV can select mobile phone A as the target host according to user instructions.

[0143] S1205: In response to the target host selection operation input by the user, the smart TV sends an authorization request to the target host.

[0144] In response to the target host selection operation input by the user, the smart TV can establish a first Socket connection and a second Socket connection with mobile phone A through the router. Subsequently, an authorization request is sent to mobile phone A through the first Socket connection. The authorization request includes device information of the smart TV, such as an IP address and a device name. Exemplarily, the authorization request may be REQUEST_LOGIN_AUTHORIZATION.

[0145] S1206, the target host displays an authorization request interface, which includes a seventh control.

[0146] For example, after receiving the authorization request, the target host may display, for example Figure 5 The authorization request interface shown. The user can control the target host to reject the authorization request of the smart TV by operating the sixth control (e.g., the "reject" control) in the authorization request interface. In addition, the user can also control the target host to cooperate with the smart TV to log in to the application by operating the seventh control (e.g., the "agree" control) in the authorization request interface.

[0147] S1207: In response to the user's operation on the seventh control in the authorization request interface, the target host sends an authorization notification to the smart TV.

[0148] The target host can send an authorization notification to the smart TV through the first Socket connection established based on the router. The authorization notification is used to indicate that the target host has accepted the authorization request of the smart TV, and authorizes the smart TV to use the target host cellular communication function to log in to the application during this and subsequent logins to the target application (such as AI fitness). Exemplarily, the authorization notification can be RESPONSE_LOGIN_AUTHORIZATION. The authorization notification usually also includes device information of mobile phone A, such as IP address and device name.

[0149] After the target host sends the authorization notification to the smart TV, an encrypted channel can be established with the smart TV so as to communicate with each other during the application login process. In addition, the communication channel between the target host and the smart TV may also be unencrypted, which is not limited in this embodiment.

[0150] In addition, in response to the user's operation on the sixth control (e.g., the "reject" icon) in the authorization request interface, the target host may also send a rejection notification to the smart TV through the first Socket connection established based on the router. The rejection notification is used to indicate that the target host has rejected the authorization request of the smart TV, and the smart TV cannot use the target host to log in to the target application. Exemplarily, the rejection notification may be REFUSE_LOGIN_AUTHORIZATION. When the smart TV receives the rejection notification, it may display, for example, Fig.10 The second interface is shown.

[0151] Through the above steps S1201-S1207, the smart TV can determine the target host and obtain the authorization of the target host. After that, the smart TV can log in to the target application with the help of the cellular communication function of the target host.

[0152] Fig.13 It is a schematic diagram of an application login method provided by another embodiment of the present application, which involves the process of determining the target host under the same device account and obtaining authorization, and specifically includes the following steps S1301-S1308.

[0153] S1301, in response to the user's operation on the second control, the smart TV sends a device information acquisition request to the cloud server.

[0154] The second control may be, for example, Figure 3 The "one-key login" icon in the second interface shown may also be, for example Figure 8 The "one-key login" icon in the first interface shown. After detecting the user's operation on the "one-key login" icon, the smart TV broadcasts a device information acquisition request. Exemplarily, the device information acquisition request may be REQUEST_HW_DEVICE_INFORMATION. The device information acquisition request includes the device information of the smart TV, such as the IP address and the device name.

[0155] Generally, various electronic devices from the same manufacturer support logging into the same device account to achieve mutual association and information sharing, such as smart TVs, mobile phones, tablet computers, laptops, etc. Various electronic devices are connected to each other through the cloud server provided by the manufacturer. The cloud server's database stores the device information (such as device name, IP address, device model, etc.) of all electronic devices under the device account. Therefore, in S1301, the smart TV can send a device information acquisition request to the cloud server to obtain the device information of all available hosts under the device account from the cloud server.

[0156] S1302, the cloud server queries the device information of all available hosts under the device account associated with the smart TV.

[0157] Optionally, after receiving a request to obtain device information, the cloud server can inquire through a message whether the cellular communication function of each electronic device under the device account is available, identify the electronic devices with available cellular communication function as available hosts, and search for the device information of these available hosts from the local database.

[0158] S1303, the cloud server sends the device information of all available hosts to the smart TV.

[0159] Exemplarily, the cloud server may send device information of all available hosts to the smart TV via a RESPONSE_HW_DEVICE_INFORMATION message.

[0160] S1304: The smart TV displays a third interface, where the third interface includes device information of available hosts.

[0161] S1305: The smart TV receives a target host selection operation input by the user.

[0162] Among them, S1304-S1305 please refer to S1203-S1204, and this embodiment will not be repeated here.

[0163] S1306: In response to the target host selection operation input by the user, the smart TV sends an authorization request to the target host.

[0164] In S1306, the smart TV may send an authorization request to the target host through the cloud server. In addition, in response to the target host selection operation input by the user, the smart TV and the target host may establish a first Socket connection and a second Socket connection based on P2P technology. Subsequently, an authorization request is sent to the target host through the first Socket connection. Exemplarily, the authorization request may be REQUEST_LOGIN_AUTHORIZATION.

[0165] S1307, the target host displays an authorization request interface, which includes a seventh control. For S1307, please refer to S1206, which will not be described in detail in this embodiment.

[0166] S1308: In response to the user's operation on the seventh control, the target host sends an authorization notification to the smart TV.

[0167] In S1308, the target host may send an authorization notification to the smart TV through the cloud server, or may send an authorization notification to the smart TV through the first Socket connection established based on the P2P technology. Exemplarily, the authorization notification may be RESPONSE_LOGIN_AUTHORIZATION.

[0168] After the target host sends the authorization notification to the smart TV, an encrypted channel can be established with the smart TV so as to communicate with each other during the application login process. In addition, the communication channel between the target host and the smart TV may also be unencrypted, which is not limited in this embodiment.

[0169] In addition, in response to the user's operation on the sixth control (e.g., the "reject" icon) in the authorization request interface, the target host may also send a rejection notification to the smart TV through the cloud server or the first Socket connection established based on P2P technology. The rejection notification is used to indicate that the target host has rejected the authorization request of the smart TV, and the smart TV cannot use the target host to log in to the target application. Exemplarily, the rejection notification may be REFUSE_LOGIN_AUTHORIZATION. When the smart TV receives the rejection notification, it may display, for example, Fig.10 The second interface is shown.

[0170] Through the above steps S1301-S1308, the smart TV can determine the target host and obtain the authorization of the target host. After that, the smart TV can log in to the target application with the help of the cellular communication function of the target host.

[0171] Taking AI fitness as an example, the smart TV determines the target host based on the mobile phone number entered by the user and obtains authorization from the target host as shown below.

[0172] In response to the user's operation on the first control (e.g., the "login" icon) in the first interface, the second interface displayed by the smart TV may include a second control and a mobile phone number input area. The user may enter a mobile phone number in the mobile phone number input area, and the smart TV determines the mobile phone corresponding to the mobile phone number as the target host.

[0173] For example, see Fig.14 As shown, the second interface includes a mobile phone number input area, a second control (such as a "one-click login" icon), a third control ("SMS verification code login" icon), a fourth control (QR code) and a fifth control (such as an "account password login" icon). The smart TV can determine the mobile phone corresponding to the mobile phone number "183XXXX2879" input by the user as the target host.

[0174] Fig.15 It is a schematic diagram of an application login method provided by another embodiment of the present application, which involves a process in which a smart TV determines a target host based on a mobile phone number input by a user and obtains authorization from the target host, specifically including the following steps S1501-S1504.

[0175] S1501, obtaining the telephone number of the target host input by the user. S1501 can be referred to Fig.14The relevant description of this embodiment will not be repeated here.

[0176] S1502, the smart TV sends an authorization request to the target host, where the authorization request carries the phone number of the target host.

[0177] When the smart TV detects that the user has entered a valid mobile phone number, in response to the user's operation on the second control (such as the "one-click login" icon), the smart TV can directly send an authorization request to the mobile phone corresponding to the mobile phone number. Exemplarily, the authorization request can be REQUEST_LOGIN_AUTHORIZATION.

[0178] In a possible implementation, the smart TV may broadcast an authorization request to a specific port of the router via UDP broadcast, and each electronic device in the local area network receives the authorization request by monitoring the port.

[0179] In another possible implementation, the smart TV may send an authorization request to the cloud server of the device account logged in. The cloud server forwards the authorization request to other electronic devices logged in to the device account.

[0180] S1503, when the telephone number of the target host is the same as the local number, the electronic device displays an authorization request interface, which includes a sixth control and a seventh control.

[0181] After receiving the authorization request, each electronic device determines whether the target host's phone number is the same as the local number. If they are the same, it means that the electronic device is the target host, and the electronic device displays the authorization request interface. The authorization request interface can be found in Figure 5 As shown, this embodiment is not described in detail here. The user can control the target host to reject the authorization request of the smart TV by operating the sixth control (such as the "reject" control) in the authorization request interface. In addition, the user can also authorize the target host to cooperate with the smart TV to log in to the application by operating the seventh control (such as the "agree" control) in the authorization request interface.

[0182] S1504: In response to the user's operation on the seventh control in the authorization request interface, the target host sends an authorization notification to the smart TV.

[0183] When the smart TV and the target host are electronic devices in the same local area network, in response to the user's operation on the seventh control in the authorization request interface, the target host and the smart TV can establish a first Socket connection and a second Socket connection through a router. Subsequently, an authorization notification is sent to the smart TV through the first Socket connection established based on the router. Exemplarily, the authorization notification can be RESPONSE_LOGIN_AUTHORITY.

[0184] When the smart TV and the target host log in to the same device account, the target host can send an authorization notification to the smart TV through the cloud server. In addition, the smart TV and the target host can also establish a first Socket connection and a second Socket connection through P2P technology in response to the user's operation of the seventh control in the authorization request interface. Subsequently, the authorization notification is sent to the smart TV through the first Socket connection established based on the P2P technology.

[0185] After the target host sends the authorization notification to the smart TV, an encrypted channel can be established with the smart TV so as to communicate with each other during the application login process. In addition, the communication channel between the target host and the smart TV may also be unencrypted, which is not limited in this embodiment.

[0186] In addition, in response to the user's operation on the sixth control (e.g., the "reject" icon) in the authorization request interface, the target host may also send a rejection notification to the smart TV. The rejection notification is used to indicate that the target host has rejected the authorization request of the smart TV, and the smart TV cannot use the target host to log in to the target application. Exemplarily, the rejection notification may be REFUSE_LOGIN_AUTHORIZATION. When the smart TV receives the rejection notification, it may display, for example, Fig.10 The second interface is shown.

[0187] Among them, when the smart TV and the target host are electronic devices in the same local area network, the target host sends a rejection notification to the smart TV through the first Socket connection established based on the router. When the smart TV and the target host log in to the same device account, the target host can send a rejection notification to the smart TV through the cloud server or the first Socket connection established based on P2P technology.

[0188] It should be noted that, in this embodiment, the authorization notification may also include device information of mobile phone A, such as IP address, device name, device model, etc. It is understandable that the target host may also send the device information of mobile phone A to the smart TV as a separate message, which is not described in detail in this embodiment.

[0189] Through the above steps S1501-S1504, the smart TV can determine the target host and obtain the authorization of the target host. After that, the smart TV can log in to the target application with the help of the cellular communication function of the target host.

[0190] In summary, after obtaining authorization from the target host, the smart TV can log in to the target application using the target host's phone number with the cooperation of the target host and the cellular communication function of the target host. It should be noted that the target host only needs to authorize the smart TV once, and when the smart TV logs in to the application with the mobile phone number again, the target host does not need to authorize again.

[0191] (II) Smart TV uses the target host to log in to the application

[0192] For the first time when the smart TV logs in to the target application with the help of the cellular communication function of the target host, after the smart TV obtains the authorization of the target host, the target host and the smart TV can log in to the target application directly or according to the user's instructions. The following takes the target host as mobile phone A as an example to explain them respectively.

[0193] Fig.16 This is a schematic diagram of an application login method provided by an embodiment of the present application, which involves a process in which a smart TV uses a target host to log in to an application for the first time, and the target host sends an authorization notification to the smart TV, and then directly cooperates with the smart TV to log in to the application. The method specifically includes the following steps S1601-S1610.

[0194] S1601, the smart TV sends a first login request to mobile phone A.

[0195] The first login request is used to request the login information (token) required to log in to the target application (such as AI fitness), and the login information includes the mobile phone number mask, encryption algorithm and secret key of mobile phone A. Exemplarily, the first login request can be MSG_LOGIN.

[0196] In some embodiments, if mobile phone A and the smart TV are electronic devices in the same local area network, the smart TV can send a first login request to mobile phone A through a first Socket connection established based on a router.

[0197] In other embodiments, if mobile phone A and the smart TV log in to the same device account, the smart TV can send a first login request to mobile phone A through the cloud server. In addition, the smart TV and mobile phone A can also send a first login request to mobile phone A through a first Socket connection established based on P2P technology.

[0198] S1602, mobile phone A sends a first login request to the authentication server.

[0199] After receiving the first login request, mobile phone A initializes the authentication software development kit (SDK) installed therein. After the authentication SDK is successfully initialized, mobile phone A sends the first login request to the authentication server.

[0200] It should be noted that the authentication server is a management device of the operator, and only electronic devices with available cellular communication functions can access the authentication server. Since the cellular communication function of the smart TV is not available, in this embodiment, the smart TV needs to obtain login information from the authentication server through mobile phone A during the process of logging into the application. In one example, mobile phone A can send the first login request to the authentication server by calling the login information acquisition interface (login token validate) provided by the operator.

[0201] S1603, the authentication server sends login information to mobile phone A.

[0202] After receiving the first login request from mobile phone A, the authentication server generates corresponding login information according to the mobile phone number of mobile phone A, and sends the login information to the modem of mobile phone A.

[0203] S1604, mobile phone A sends login information to the smart TV.

[0204] In some embodiments, if mobile phone A and the smart TV are electronic devices in the same local area network, mobile phone A can send login information to the smart TV through a second socket connection established based on the router. After receiving the login information, the IP protocol stack of the smart TV sends the login information to the application layer for further processing.

[0205] In other embodiments, if mobile phone A and the smart TV log in to the same device account, mobile phone A can send login information to the smart TV through the cloud server. In addition, mobile phone A can also send login information to the smart TV through a second Socket connection established based on P2P technology.

[0206] S1605: The smart TV sends a second login request to the application server, where the second login request carries login information.

[0207] Taking the smart TV target application as AI fitness as an example, the smart TV sends a second login request to the application server corresponding to AI fitness. In this embodiment, the second login request carries login information (i.e., the mobile phone number mask, encryption algorithm and secret key of mobile phone A), which is used to request the application server to log in to the application according to the login information.

[0208] S1606: The application server sends a second login request to the authentication server.

[0209] In this embodiment, the application server needs to log in to the application according to the mobile phone number of mobile phone A, but the login information does not include the mobile phone number of mobile phone A, and the application server cannot determine whether the login information is legal. Therefore, the application server needs to send the login information sent by mobile phone A to the authentication server, so that the authentication server can verify whether the login information is legal and determine its corresponding mobile phone number.

[0210] S1607, the authentication server authenticates the mobile phone number according to the login information carried in the second login request.

[0211] The authentication server decrypts the mobile phone number mask in the login information into a complete mobile phone number according to the decryption rules corresponding to the encryption rules. If the decrypted mobile phone number is legal, it means that the login information authentication is passed, and the authentication server sends the decrypted mobile phone number to the application server. If the decrypted mobile phone number is illegal, it means that the login information may be abnormal and the authentication fails. At this time, the authentication server can send an authentication failure notification to the application server.

[0212] S1608, the authentication server sends the authenticated mobile phone number of the target host to the application server.

[0213] S1609, the application server logs in to the application program according to the authenticated mobile phone number.

[0214] S1610, the application server sends a login success notification to the smart TV. Taking the target application as AI fitness as an example, after the smart TV successfully logs into the application, it can display, for example Figure 6 The first interface is shown.

[0215] In addition, when the application fails to log in, the application server will also send a login failure notification to the smart TV. After receiving the login failure notification, the smart TV can display, for example, Fig.10 The login interface is shown.

[0216] Through the application login method provided in the embodiment of the present application, when a user uses a target host to log in to an application for the first time, after obtaining authorization from the target host through simple operations, the smart TV can directly log in to the application, which is easy to operate and has a good user experience.

[0217] Fig.17 17 is a schematic diagram of an application login method provided by another embodiment of the present application, which relates to a process in which a smart TV uses a target host to log in to an application for the first time, and the target host logs in to the application according to a user's instruction. The method specifically includes the following steps S1701-S1715.

[0218] S1701, the smart TV sends a request to mobile phone A to obtain the mobile phone number mask.

[0219] When the smart TV uses mobile phone A to log in to the target application for the first time, the smart TV directly sends a request to obtain the mobile phone number mask to mobile phone A after obtaining authorization from the target host.

[0220] In some embodiments, if mobile phone A and the smart TV are electronic devices in the same local area network, the smart TV can send a mobile phone number mask acquisition request to mobile phone A through a first Socket connection established based on a router.

[0221] In other embodiments, if mobile phone A and the smart TV log in to the same device account, the smart TV can send a mobile phone number mask acquisition request to mobile phone A through the cloud server. In addition, the smart TV can also send a mobile phone number mask acquisition request to mobile phone A through the first Socket connection established based on P2P technology.

[0222] S1702, mobile phone A sends a request to obtain the mobile phone number mask to the authentication server.

[0223] Specifically, after receiving the mobile phone number mask acquisition request, mobile phone A uses a modem to send the mobile phone number mask acquisition request to the authentication server through the cellular network.

[0224] S1703, the authentication server sends the mobile phone number mask corresponding to mobile phone A to mobile phone A.

[0225] The authentication server converts the mobile phone number of mobile phone A into a mobile phone number mask according to a preset encryption algorithm, and sends the mobile phone number mask to mobile phone A through the cellular network. Mobile phone A receives the mobile phone number mask through a modem.

[0226] S1704, mobile phone A sends the mobile phone number mask to the smart TV.

[0227] In some embodiments, if mobile phone A and the smart TV are electronic devices in the same local area network, mobile phone A can send the mobile phone number mask to the smart TV through a second Socket connection established based on the router.

[0228] In other embodiments, if mobile phone A and the smart TV log in to the same device account, mobile phone A can send the mobile phone number mask to the smart TV through the cloud server. In addition, mobile phone A also sends the mobile phone number mask to the smart TV through a second Socket connection established based on P2P technology.

[0229] S1705, the smart TV displays a second login interface, which includes a mobile phone number mask and a login control.

[0230] In one example, after receiving the mobile phone number mask, the smart TV can display, for example, Fig.14 The second login screen is shown. Figure 6 As shown, the mobile phone number mask of the second login interface is "183****2879", and the login controls include a second control (such as the "one-click login" icon), a third control (such as the "SMS verification code login" icon), a fourth control (such as a login QR code) and a fifth control (such as the "account password login" icon).

[0231] S1706: In response to the user's operation on the second control in the second login interface, the smart TV sends a first login request to mobile phone A.

[0232] S1707, mobile phone A sends a first login request to the authentication server.

[0233] S1708, the authentication server sends login information to mobile phone A.

[0234] S1709, mobile phone A sends login information to the smart TV.

[0235] S1710, the smart TV sends a second login request to the application server, where the second login request carries login information.

[0236] S1711, the application server sends a second login request to the authentication server.

[0237] S1712, the authentication server authenticates the mobile phone number based on the login information carried in the second login request.

[0238] S1713, the authentication server sends the authenticated mobile phone number to the application server.

[0239] S1714, the application server logs in to the application server according to the mobile phone number.

[0240] S1715, the application server sends a login success notification to the smart TV.

[0241] Specifically, S1706-S1715 refer to the above steps S1601-S1610, which will not be described in detail in this embodiment. The application login method provided in this embodiment is not limited to the same local area network, and the application login can be controlled remotely.

[0242] It should be noted that after obtaining authorization from the target host, the smart TV uses the cellular communication function of the target host to log in to the application with one click. The upper-layer application of the target host is unaware of this, and no relevant information is displayed in the interface of the target host.

[0243] Through the application login method provided in the embodiment of the present application, when a user uses a target host to log in to an application for the first time, after obtaining authorization from the target host, he can log in to the application with one-click operation (for example, clicking the "one-click login" icon). The operation is simple and has a good user experience.

[0244] When the target host (such as mobile phone A) is used to log in to the application for a non-first time on a smart TV, the user logs in to the application in the following ways: Figure 6 The second interface shown, or for example Fig. 9 After the second control is operated on the first interface shown, the smart TV can directly log in to the application. Specifically, the smart TV logs in to the application by executing S1706-S1715.

[0245] It can be seen that through the application login method provided in the embodiment of the present application, when the user is not using a target host to log in to the application for the first time, he can log in to the application with one click (for example, clicking the "one-click login" icon), which is easy to operate and has a good user experience.

[0246] In summary, compared with scanning a QR code to log in, the application login method provided in this embodiment does not require the target host to install and log in to the mobile version of the application. Moreover, compared with existing login methods such as SMS verification code login, account password login, etc., the user does not need to perform complex character input operations. Therefore, the application login method provided in this embodiment can quickly log in to the application and has a good user experience.

[0247] The application login method provided in the embodiment of the present application is applicable not only to the first type of electronic devices, but also to the second type of electronic devices that do not have a target SIM card / e-SIM card installed. The target SIM card / e-SIM card refers to the SIM card / e-SIM card corresponding to the mobile phone number when the mobile phone number is used as the application account to log in to the application.

[0248] For example, mobile phone A corresponds to mobile phone number A, and mobile phone B corresponds to mobile phone number B. When mobile phone B uses mobile phone number A as the application account to log in to the application, mobile phone B is a second type of electronic device that does not have a target SIM card (i.e., the SIM card corresponding to mobile phone number A) installed. At this time, mobile phone B can use the application login method provided by the above embodiment, with the help of the cellular communication function of the target SIM card in mobile phone A, and use mobile phone number A as the application account to log in to the application.

[0249] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean 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 on the implementation process of the embodiments of the present application.

[0250] Fig.181 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 includes: a processor 110 , a memory 120 , a communication interface 130 , and a bus 140 .

[0251] The processor 110 may be connected to a memory 120. The memory 120 may be used to store the program code and data. Therefore, the memory 120 may be a storage unit inside the processor 110, or an external storage unit independent of the processor 110, or a component including a storage unit inside the processor 110 and an external storage unit independent of the processor 110.

[0252] Optionally, the electronic device 100 may further include a bus 140. The memory 120 and the communication interface 130 may be connected to the processor 110 via the bus 140. The bus 140 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus 140 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.18 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.

[0253] It should be understood that in the embodiment of the present application, the processor 110 may adopt a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Alternatively, the processor 110 may adopt one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present application.

[0254] The memory 120 may include a read-only memory (ROM) and a random access memory (RAM), and provides instructions and data to the processor 110. A portion of the processor 110 may also include a non-volatile random access memory. For example, the processor 110 may also store information about the device type.

[0255] When the electronic device 100 is running, the processor 110 executes the computer program in the memory 120 to implement the application login method provided in any embodiment of the present application.

[0256] It should be understood that, in the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, the "first", "second" and "third" described in the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0257] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0258] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An application login system, It is characterized in that The device comprises a first electronic device and a second electronic device, wherein a first connection is established between the first electronic device and the second electronic device, and a cellular communication function of the second electronic device is available; The first electronic device is configured as follows: An operation of starting an application on the first electronic device is detected, and a login interface of the application is displayed, the login interface including first identification information and a second control, wherein the first identification information is identification information of the second electronic device, the first identification information includes a mobile phone number, a mobile phone number mask, or a device name of the second electronic device, and the second control is used to log in to the application using the first identification information; An operation on the second control is detected, and one-key login of the application is performed through the first connection and the cellular communication function of the second electronic device.

2. The system according to claim 1, It is characterized in that The cellular communication function of the first electronic device is unavailable.

3. The system according to claim 1 or 2, It is characterized in that When the first electronic device has obtained authorization from the second electronic device, the login interface displays the first identification information.

4. The system according to claim 1 or 2, It is characterized in that The one-key login of the application program is performed through the first connection and the cellular communication function of the second electronic device, comprising: The login information is obtained from the authentication server through the first connection with the help of the cellular communication function of the second electronic device, so as to log in to the application according to the login information.

5. The system according to claim 4, It is characterized in that The authentication server is a management device of the operator.

6. A system according to any one of claims 1, 2 or 5, It is characterized in that The first connection includes a communication connection established through a router in a local area network, a communication connection established through a cloud server, or a point-to-point connection.

7. The system according to claim 1 or 2, It is characterized in that When the first electronic device is not authorized by the second electronic device, The first electronic device is also configured to: after detecting a user operation on the second control, obtain authorization of the second electronic device, and perform one-key login of the application through the first connection and a cellular communication function of the second electronic device.

8. The system according to claim 7, It is characterized in that In the process of obtaining authorization of the second electronic device, The first electronic device is further configured to: Displaying a device selection interface, wherein the device selection interface includes at least one available host, wherein the available host is an electronic device capable of cooperating with the first electronic device to execute one-key login of the application through a cellular communication function of the available host; In response to the user selecting the second electronic device from the at least one available host, the first electronic device sends an authorization request to the second electronic device, the authorization request being used to request the second electronic device to cooperate with the first electronic device to use the cellular communication function of the second electronic device to perform one-key login of the application; The second electronic device is configured as follows: After receiving the authorization request, displaying an authorization request interface, the authorization request interface comprising a sixth control and a seventh control, the sixth control being used to reject the authorization request, and the seventh control being used to accept the authorization request; In response to the user's operation on the seventh control, an authorization notification is sent to the first electronic device, where the authorization notification is used to indicate that the second electronic device has accepted the authorization request.

9. The system according to claim 8, It is characterized in that The first electronic device is further configured to: After receiving the authorization notification, updating the login interface, wherein the updated login interface displays the first identification information; In response to the user's operation on the second control on the updated login interface, the first electronic device performs one-key login of the application through the first connection and the cellular communication function of the second electronic device.

10. The system according to claim 8 or 9, It is characterized in that The first electronic device is further configured to: Broadcasting a device information acquisition request to a router in the local area network where the first electronic device is located; Receiving device information sent by at least one available host in the local area network; The device selection interface is displayed according to the device information sent by the at least one available host.

11. The system according to claim 8 or 9, It is characterized in that The first electronic device is further configured to: Sending a device information acquisition request to a cloud server corresponding to the device account logged in by the first electronic device; Receiving device information of at least one available host sent by the cloud server; The device selection interface is displayed according to the device information sent by the at least one available host.

12. A system according to any one of claims 1, 2, 5 or 8-9, It is characterized in that The first electronic device is further configured to: Displaying a main application interface, wherein the main application interface includes a first control, and the first control is used to control the first electronic device to display the login interface; In response to the user's operation on the first control, the login interface is displayed.

13. A system according to any one of claims 1, 2, 5 or 8-9, It is characterized in that The login interface also includes at least one of a short message verification code login control, a QR code login control, and an account and password login control.

14. The system according to claim 4, It is characterized in that The first electronic device is further configured to: Sending a first login request to the second electronic device, where the first login request is used to request to obtain the login information; The second electronic device is further configured to: Sending the first login request to the authentication server; Receiving the login information sent by the authentication server; Sending the login information to the first electronic device; The first electronic device is further configured to: The application is logged in according to the login information.

15. The system according to claim 14, It is characterized in that The first electronic device is further configured to: Sending a second login request to an application server corresponding to the application, where the second login request includes the login information, and the second login request is used by the application server to log in to the application according to the login information; Receive a login result notification sent by the application server.

16. A system according to any one of claims 1, 2, 5, 8-9 or 15, It is characterized in that When the first electronic device and the second electronic device are electronic devices in the same local area network, the first electronic device and the second electronic device communicate through a router in the local area network.

17. A system according to any one of claims 1, 2, 5, 8-9 or 15, It is characterized in that When the first electronic device and the second electronic device log in to the same device account, the first electronic device and the second electronic device communicate through the cloud server corresponding to the device account, or communicate through a point-to-point connection.

18. A method for logging into an application program, It is characterized in that The method is applied to a first electronic device, where a first connection is established between the first electronic device and a second electronic device, and a cellular communication function of the second electronic device is available, and the method includes: The first electronic device detects an operation of starting an application and displays a login interface of the application, the login interface including first identification information and a second control, wherein the first identification information is identification information of the second electronic device, the first identification information includes a mobile phone number, a mobile phone number mask or a device name of the second electronic device, and the second control is used to log in to the application using the first identification information; The first electronic device detects the operation of the second control and performs one-key login of the application through the first connection and the cellular communication function of the second electronic device.

19. The method according to claim 18, It is characterized in that The cellular communication function of the first electronic device is unavailable.

20. The method according to claim 18 or 19, It is characterized in that When the first electronic device has obtained authorization from the second electronic device, the login interface displays the first identification information.

21. The method according to claim 18 or 19, It is characterized in that The one-key login of the application program is performed through the first connection and the cellular communication function of the second electronic device, comprising: The login information is obtained from the authentication server through the first connection with the help of the cellular communication function of the second electronic device, so as to log in to the application according to the login information.

22. The method according to claim 21, It is characterized in that The authentication server is a management device of the operator.

23. The method according to any one of claims 18, 19 or 22, It is characterized in that The first connection includes a communication connection established through a router in a local area network, a communication connection established through a cloud server, or a point-to-point connection.

24. The method according to claim 18 or 19, It is characterized in that The first electronic device detects an operation on the second control, and performs one-key login of the application through the first connection and a cellular communication function of the second electronic device, including: The first electronic device detects the operation of the second control, obtains the authorization of the second electronic device, and performs one-key login of the application through the first connection and the cellular communication function of the second electronic device.

25. The method according to claim 24, It is characterized in that The first electronic device obtaining authorization from the second electronic device includes: The first electronic device displays a device selection interface, the device selection interface includes at least one available host, and the available host is an electronic device that can cooperate with the first electronic device to execute one-key login of the application through the cellular communication function of the available host; In response to the user selecting the second electronic device from the at least one available host, the first electronic device sends an authorization request to the second electronic device, the authorization request being used to request the second electronic device to cooperate with the first electronic device to use the cellular communication function of the second electronic device to perform one-key login of the application; After receiving the authorization request, the second electronic device displays an authorization request interface, wherein the authorization request interface includes a sixth control and a seventh control, wherein the sixth control is used to reject the authorization request and the seventh control is used to accept the authorization request; In response to the user's operation on the seventh control, the second electronic device sends an authorization notification to the first electronic device, where the authorization notification is used to indicate that the second electronic device has accepted the authorization request.

26. The method according to claim 25, It is characterized in that The method further comprises: After receiving the authorization notification, the first electronic device updates the login interface, and the updated login interface displays the first identification information; In response to the user's operation on the second control on the updated login interface, the first electronic device performs one-key login of the application through the first connection and the cellular communication function of the second electronic device.

27. The method according to claim 25 or 26, It is characterized in that The first electronic device displays a device selection interface, including: The first electronic device broadcasts a device information acquisition request to a router in a local area network where the first electronic device is located; The first electronic device receives device information sent by at least one available host in the local area network; The first electronic device displays the device selection interface according to the device information sent by the at least one available host.

28. The method according to claim 25 or 26, It is characterized in that The first electronic device displays a device selection interface, including: The first electronic device sends a device information acquisition request to a cloud server corresponding to the device account logged in by the first electronic device; The first electronic device receives device information of at least one available host sent by the cloud server; The first electronic device displays the device selection interface according to the device information sent by the at least one available host.

29. The method according to any one of claims 18, 19, 22 or 25-26, It is characterized in that The first electronic device displays the login interface, including: The first electronic device displays a main application interface, the main application interface includes a first control, and the first control is used to control the first electronic device to display the login interface; In response to the user's operation on the first control, the first electronic device displays the login interface.

30. The method according to any one of claims 18, 19, 22 or 25-26, It is characterized in that The login interface also includes at least one of a short message verification code login control, a QR code login control, and an account and password login control.

31. The method according to claim 21, It is characterized in that Performing one-key login of the application through the first connection and the cellular communication function of the second electronic device includes: The first electronic device sends a first login request to the second electronic device, where the first login request is used to request to obtain the login information; The second electronic device sends the first login request to the authentication server; The second electronic device receives the login information sent by the authentication server; The second electronic device sends the login information to the first electronic device; The first electronic device logs into the application according to the login information.

32. The method according to claim 31, It is characterized in that The first electronic device logging into the application according to the login information includes: The first electronic device sends a second login request to an application server corresponding to the application, the second login request includes the login information, and the second login request is used by the application server to log in to the application according to the login information; The first electronic device receives a login result notification sent by the application server.

33. The method according to any one of claims 18, 19, 22, 25-26 or 32, It is characterized in that When the first electronic device and the second electronic device are electronic devices in the same local area network, the first electronic device and the second electronic device communicate through a router in the local area network.

34. The method according to any one of claims 18, 19, 22, 25-26 or 32, It is characterized in that When the first electronic device and the second electronic device log in to the same device account, the first electronic device and the second electronic device communicate through the cloud server corresponding to the device account, or communicate through a point-to-point connection.

35. An application login method, It is characterized in that The method is applied to a second electronic device, where a first connection is established between the second electronic device and the first electronic device, and a cellular communication function of the second electronic device is available, and the method includes: The second electronic device sends first information to the first electronic device through the first connection, where the first information includes a mobile phone number, a mobile phone number mask, or a device name of the second electronic device; The second electronic device receives a first login request sent by the first electronic device through the first connection, where the first login request is used to request to obtain login information required to log in to an application of the first electronic device; The second electronic device sends the first login request to the authentication server using a cellular communication function.

36. The method according to claim 35, It is characterized in that The method further comprises: The second electronic device receives the login information sent by the authentication server using a cellular communication function.

37. The method according to claim 36, It is characterized in that The method further comprises: The second electronic device sends the login information to the first electronic device through the first connection.

38. The method according to any one of claims 35 to 37, It is characterized in that The first connection includes a communication connection established through a router in a local area network, a communication connection established through a cloud server, or a point-to-point connection.

39. The method according to claim 35, It is characterized in that Before the second electronic device receives the first login request sent by the first electronic device through the first connection, the method further includes: The second electronic device receives the authorization request sent by the first electronic device and displays an authorization request interface, wherein the authorization request interface includes a sixth control and a seventh control, wherein the sixth control is used to reject the authorization request and the seventh control is used to accept the authorization request; In response to the user's operation on the seventh control, an authorization notification is sent to the first electronic device, where the authorization notification is used to indicate that the second electronic device has accepted the authorization request.

40. The method according to claim 39, It is characterized in that The authorization request includes the mobile phone number of the target host.

41. The method according to claim 40, It is characterized in that The authorization request display interface includes: When the mobile phone number of the target host is the same as the mobile phone number of the second electronic device, the second electronic device displays the authorization request interface.

42. The method according to claim 35, It is characterized in that Before the second electronic device sends the first information to the first electronic device through the first connection, the method further includes: The second electronic device receives a first request sent by the first electronic device through the first connection, where the first request is used to request the first information from the second electronic device.

43. The method according to any one of claims 35 to 42, It is characterized in that The authentication server is the operator's management device.

44. An application login system, It is characterized in that The device comprises a first electronic device and a second electronic device, wherein the first electronic device and the second electronic device are used to execute the method as claimed in any one of claims 18 to 43.

45. An electronic device, It is characterized in that include: One or more processors, a display screen, and one or more memories; wherein the display screen, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method as described in any one of claims 18-43.

46. ​​A computer-readable storage medium comprising instructions, It is characterized in that When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 18 to 43.