Application login method, electronic device and server
By generating and feeding back login tokens on the server side, the problem of repeated input of account logins between devices in the aggregate application platform is solved, automatic login between devices is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202211025183.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-08-25
AI Technical Summary
In an aggregated application platform, users need to repeatedly enter their accounts on different devices to log in to the same third-party application, resulting in poor user experience.
Receive device information and accounts through the server, generate and feedback login tokens, so that the device can automatically log in to third-party applications. If the account has a binding relationship, the token will be generated, otherwise it will not be generated.
You can automatically log in to bound third-party applications on different devices without having to repeatedly enter your account number, improving user experience.
Smart Images

Figure CN115412331B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an application login method, an electronic device and a server. Background Art
[0002] With the development of technology, the functions of various applications installed in electronic devices are becoming more and more abundant, and there are more and more ways to log in to applications. One way can be: various third-party applications are installed in the aggregated application platform. After the aggregated application platform is installed on different devices, the same third-party application can be logged in to on different devices using the same account. For example, after logging in to the music application on the TV, the same account can be used to log in to the music application on the range hood.
[0003] However, in the above login method, after logging into the music application on the TV, if you use the same account to log into the music application on the range hood, you usually need to enter the music application account again on the range hood. That is, the current same account login on multiple devices still requires repeated account entry to complete the login operation, resulting in a poor user experience. Summary of the invention
[0004] The present application provides an application login method, electronic device and server, which are used to solve the problem that the user still needs to repeatedly enter the account number to complete the login operation when logging in to multiple devices with the same account, resulting in a poor user experience.
[0005] In a first aspect, this embodiment provides a server, wherein the server is configured to execute:
[0006] Receiving a third-party application login request sent by a first device, wherein the third-party application login request carries at least first device information and a first account, and the first device is a device that has logged in to the aggregation application through the first account;
[0007] If the first account and the second account are bound to each other, a first login token is obtained at least according to the first device information and the second account, and the first login token is fed back to the first device, so that the first device logs in to the third-party application according to the first login token, wherein the second account is an account for logging in to the third-party application that is mapped with the first account in the server;
[0008] If there is no binding relationship between the first account and the second account, the first login token is not generated according to the first device information.
[0009] In a second aspect, this embodiment provides an electronic device, on which a first account has been logged into an aggregated application, and the electronic device includes:
[0010] Controller, which performs:
[0011] Sending a third-party application login request to the server, wherein the third-party application login request carries at least device information of the electronic device and the first account;
[0012] If the first account and the second account are bound to each other, a first login token fed back by the server is received, and the third-party application is logged in according to the first login token, wherein the first login token is a token obtained according to at least the first device information and the second account, wherein the second account is an account in the server that is mapped with the first account and is used to log in to the third-party application;
[0013] If there is no binding relationship between the first account and the second account, the first login token is not received from the server.
[0014] In a third aspect, this embodiment provides an application login method, which is applied to a server and includes:
[0015] Receiving a third-party application login request sent by a first device, wherein the third-party application login request carries at least first device information and a first account, and the first device is a device that has logged in to the aggregation application through the first account;
[0016] If the first account and the second account are bound to each other, a first login token is obtained at least according to the first device information and the second account, and the first login token is fed back to the first device, so that the first device logs in to the third-party application according to the first login token, wherein the second account is an account for logging in to the third-party application that is mapped with the first account in the server;
[0017] If there is no binding relationship between the first account and the second account, the first login token is not generated according to the first device information.
[0018] The application login method, electronic device and server provided in the embodiment of the present application, the server receives a third-party application login request sent by the first device, and the request carries at least the first device information and the first account. The first device is a device that has logged in to the aggregated application through the first account. If the first account and the second account are bound to each other, a first login token is fed back to the first device at least based on the first device information and the second account, and the second account is an account for logging in to the third-party application that has a mapping relationship with the first account in the server. The first device logs in to the third-party application based on the first login token. If the first account and the second account are not bound to each other, the first login token is not fed back to the first device. In this way, after opening the aggregated application on different devices, as long as it is a third-party application bound to the aggregated application, it can be automatically logged in without entering the account again, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] Figure 1 An operation scenario between a display device and a control device according to some embodiments is shown;
[0021] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0022] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0023] Figure 4 shows a software configuration diagram in a display device 200 according to some embodiments;
[0024] Figure 5 A schematic diagram of an application login system framework according to some embodiments is shown;
[0025] Figure 6 shows an application login signaling diagram according to some embodiments;
[0026] Figure 7 A schematic diagram of a user interface provided by a display device 200 according to some embodiments is shown;
[0027] Figure 8 shows another schematic diagram of a user interface provided by the display device 200 according to some embodiments;
[0028] Fig. 9 shows another schematic diagram of a user interface provided by the display device 200 according to some embodiments;
[0029] Fig.10 A schematic diagram of another application login system framework according to some embodiments is shown;
[0030] Fig.11 shows a signaling diagram for a display device to obtain a token according to some embodiments;
[0031] Fig.12 A signaling diagram for a display device to obtain a token according to another embodiment is shown;
[0032] Fig.13 A signaling diagram for enabling third-party application benefits according to some embodiments is shown;
[0033] Fig.14 A signaling diagram for activating third-party application rights according to some embodiments is shown;
[0034] Fig.15 A flow chart of an application login method according to some embodiments is shown. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of some embodiments of the present application clearer, the technical solutions of some embodiments of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0036] It should be noted that the brief description of terms in some embodiments of the present application is only for the convenience of understanding the implementation methods described below, and is not intended to limit the implementation methods of some embodiments of the present application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0037] In some embodiments of the present application, the terms "first", "second", "third", etc. in the specification and claims and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0038] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0039] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0040] The term "remote control" as used in this application refers to a component of a display device (such as the display device disclosed in this application) that can usually wirelessly control the display device within a relatively short range. Generally, it uses infrared and / or radio frequency (RF) signals and / or Bluetooth to connect to the display device, and may also include functional modules such as WiFi, wireless USB, Bluetooth, motion sensors, etc. For example: a handheld touch remote control replaces most of the physical built-in hard keys in a general remote control device with a user interface in a touch screen.
[0041] The electronic device in the present application may be a display device or other electronic device with a voice assistant function. The following explanation of the solution is given using a display device as an example. Figure 1 This is a schematic diagram of an operation scenario between a display device and a terminal device provided in some embodiments of the present application. Figure 1 As shown in FIG. 1 , a user can operate the display device 200 through the mobile terminal 300 and the terminal device 100 .
[0042] In some embodiments, the terminal device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, etc., to control the display device 200 wirelessly or by other wired methods. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc.
[0043] In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to achieve a synchronous display function.
[0044] like Figure 1 As also shown in FIG. 4 , the display device 200 also communicates data with the server 400 through various communication methods. The display device 200 may be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0045] In addition to providing the broadcast receiving television function, the display device 200 may also provide an intelligent network television function with computer support functions, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.
[0046] Figure 2 Some embodiments of the present application provide Figure 1 2 is a block diagram of the hardware configuration of the display device 200.
[0047] In some embodiments, the display apparatus 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
[0048] In some embodiments, the detector 230 is used to collect signals from the external environment or from interaction with the external environment.
[0049] In some embodiments, the display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from a controller, display video content, image content, and a menu control interface component and a user control UI interface, etc.
[0050] In some embodiments, the communicator 220 is a component for communicating with an external device or a server 400 according to various communication protocol types.
[0051] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.
[0052] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).
[0053] In some embodiments, the user interface 280 is an interface that can be used to receive control input.
[0054] Figure 3 Some embodiments of the present application provide Figure 1 The hardware configuration block diagram of the terminal device in the figure. Figure 3 As shown, the terminal device 100 includes a controller 111, a communication interface 130, a user input / output interface, a memory, and a power supply.
[0055] The terminal device 100 is configured to control the display device 200 , and can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, thereby playing the role of an interactive intermediary between the user and the display device 200 .
[0056] In some embodiments, the terminal device 100 may be a smart device, for example, the terminal device 100 may be installed with various applications for controlling the display device 200 according to user needs.
[0057] In some embodiments, Figure 1As shown, the mobile terminal 300 or other intelligent display device can play a similar function as the terminal device 100 after installing the application for operating the display device 200 .
[0058] The controller 111 includes a processor 112, a RAM 113, a ROM 114, a communication interface 130, and a communication bus. The controller 111 is used to control the operation and operation of the terminal device 100, the communication cooperation between the internal components, and the external and internal data processing functions.
[0059] The communication interface 130 implements communication of control signals and data signals with the display device 200 under the control of the controller 111. The communication interface 130 may include at least one of other near field communication modules such as a WiFi chip 131, a Bluetooth module 132, and an NFC module 133.
[0060] The user input / output interface 140 , wherein the input interface includes at least one of other input interfaces such as a microphone 141 , a touch panel 142 , a sensor 143 , and a button 144 .
[0061] In some embodiments, the terminal device 100 includes at least one of a communication interface 130 and an input / output interface 140. The terminal device 100 is configured with a communication interface 130, such as a WiFi, Bluetooth, NFC or other module, and can encode the user input command through the WiFi protocol, Bluetooth protocol, or NFC protocol and send it to the display device 200.
[0062] The memory 190 is used to store various operating programs, data and applications for driving and controlling the terminal device 100 under the control of the controller. The memory 190 can store various control signal instructions input by the user.
[0063] The power supply 180 is used to provide operating power support for each component of the terminal device 100 under the control of the controller.
[0064] Figure 4 Some embodiments of the present application provide Figure 1 A schematic diagram of the software configuration in the display device is shown in FIG. 1 . In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and the system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0065] In some embodiments, at least one application is running in the application layer. These applications may be window programs, system settings programs, clock programs, camera applications, etc. that come with the operating system; or they may be applications developed by third-party developers.
[0066] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take.
[0067] like Figure 4 As shown, in some embodiments of the present application, the application framework layer includes managers (Managers), content providers (Content Provider) and a view system (View System) and the like.
[0068] In some embodiments, the activity manager is used to manage the life cycle of each application and the general navigation back function.
[0069] In some embodiments, a window manager is used to manage all window programs.
[0070] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is accessed, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0071] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, touch sensor, pressure sensor, etc.), etc.
[0072] In some embodiments, the core layer further includes a power driver module for performing power management.
[0073] In some embodiments, Figure 4 The software programs and / or modules corresponding to the software architecture in Figure 2 or Figure 3 in the first memory or the second memory shown.
[0074] In some embodiments, various third-party applications are installed in the aggregated application platform. After the aggregated application platform is installed on different devices, the same third-party application can be logged in using the same account on different devices. For example, the aggregated application platform can be a media resource platform, on which music applications, video applications, etc. are installed. Users can log in to various applications through the media resource platform. On the media resource platform, the same third-party application can also be logged in using the same account on different devices. For example, after logging in to the XX music application on the media resource platform on the TV side, the same account can be used to log in to the XX music application on the media resource platform on the range hood side.
[0075] However, in the login method of the above embodiment, after logging into XX application on the TV side, if you need to use the same account to log into XX application on the range hood side, you need to enter the account of the music application again on the range hood side to complete the login operation, resulting in a poor user experience.
[0076] It should be noted that the aggregated application of this application can be an aggregated APP (application) platform. Various APP application products developed by developers need to be published on the aggregated platform, that is, they need to be connected to the aggregated platform through SDK (Software Development Kit). After the APP application is connected to the aggregated platform through SDK, users can install and use the APP application on the aggregated platform.
[0077] In order to solve the problems in the above embodiments, the present application embodiment provides an application login system. Figure 5 FIG. 2 shows a schematic diagram of an application login system framework according to some embodiments. Figure 5 As shown, the application login system includes an electronic device and a server 400. The electronic device may be a display device 200. The following embodiments all use the display device 200 as an example to illustrate the scheme. Users can use the display device 200 of the present application to log in to the aggregated application and the third-party application.
[0078] Figure 5 The framework diagram shown includes display device 200-1 and display device 200-2. The user first logs in to the aggregate application through the first account on display device 200-1, and logs in to the third-party application through the second account in the aggregate application. At this time, since the third-party application is logged in through the second account in the aggregate application, a binding relationship is established between the first account and the second account. After the user logs in to the aggregate application through the first account on display device 200-2, when opening the third-party application of the aggregate application, there is no need to enter the account number again, and the third-party application can be automatically logged in on display device 200-2. Based on Figure 5 The application login system shown, Figure 6An application login signaling diagram according to some embodiments is shown. Figure 6 In the example, the display device 200-1 first sends an aggregate application login request to the server. The login request carries the first account and the device information of the display device 200-1. That is to say, the user first logs in to the aggregate application on the display device 200-1 through the first account. After receiving the login request, the server 400 feeds back a login token to the display device 200-1. The display device 200-1 logs in to the aggregate application based on the login token. It should be noted that the device information of the display device can be a MAC (Medium Access Control) address, or a hard disk serial number, a CPU (Central Processing Unit) serial number, etc. The server can determine which device to feed back the login token to based on the device information. Therefore, this application does not limit the type of device information.
[0079] The display device 200-1 then sends a third-party application login request to the server, and the login request carries the second account and the device information of the display device 200-1, that is, the user logs in to the third-party application on the display device 200-1 through the second account. After receiving the login request, the server 400 feeds back a login token to the display device 200-1. The display device 200-1 logs in to the third-party application according to the login token. Since the third-party application is published on the aggregated application, the server 400, while feeding back the login token to the display device 200-1, also establishes a binding relationship between the first account and the second account, and records the binding relationship between the first account and the second account.
[0080] The display device 200-2 then sends a login request to the server, which carries the first account and the device information of the display device 200-2, that is, the user logs in to the aggregated application on the display device 200-2 through the first account. After receiving the login request, the server 400 feeds back a login token to the display device 200-2. The display device 200-2 logs in to the aggregated application according to the login token.
[0081] The display device 200-2 then sends a third-party application login request to the server, and the third-party application login request carries at least the first device information and the first account information. Unlike logging into the third-party application on the display device 200-1, this login does not require the user to enter the account number for logging into the third-party application. After receiving the third-party application login request, the server 400 finds that there is a binding relationship between the first account and the second account, and directly feeds back the third-party application login token to the display device 200-2.
[0082] It should be noted that the triggering method of sending a third-party application login request to the server through display device 200-2 can be that the user opens the third-party application in the aggregated application, the user does not enter the account, and the display device 200-2 logs in to the third-party application according to the third-party application login token fed back by the server. The premise of directly logging in to the third-party application according to the third-party application login token here is that the third-party application login token is the token fed back by the aggregated application server. The user-level experience is that when a third-party application is opened in an aggregated application, the third-party application is automatically logged in, thereby reducing the steps of entering an account and improving the user experience.
[0083] For example, if Figure 7 In the illustrated user interface, an X media resource platform is displayed, and third-party applications installed on the X media resource platform include: A music application, B video application, C picture application, etc. The X media resource platform can be installed on both the display device 200-1 and the display device 200-2, or the illustrated third-party applications can be installed on both the X media resource platforms on the display device 200-1 and the display device 200-2.
[0084] When the user logs in to the X media resource platform through account A on display device 200-1, and logs in to the A music application through account B on the X media resource platform, the server will record the binding relationship between account A and account B. After the user logs in to the X media resource platform through account A on display device 200-2, if the user uses the A music application on the X media resource platform of display device 200-2, it is no longer necessary to enter the account. That is, when the user opens the A music application on the X media resource platform of display device 200-2, the user will automatically log in to the A music application.
[0085] After the user logs in to the X media resource platform on the display device 200-1 through account A, but does not log in to the A video application on the X media resource platform on any device, account A does not have a binding relationship with the account related to logging in to the A video application. Then, when the user opens the A video application on the X media resource platform of the display device 200-2, the A video application is not automatically logged in. After the user logs in to the A video application on the X media resource platform of the display device 200-2 by entering account C, a binding relationship between account A and account C is established at the same time. When the user opens the A video application on the X media resource platform of the display device 200-1, the A video application is automatically logged in on the display device 200-1 because account A and account C have been bound.
[0086] According to the method of the above embodiment, when the user logs in to the A music application, B music application, C video application, and A picture application through accounts 1-4 on the X media resource platform of the display device 200-1, the accounts 1-4 are respectively bound to the account A on the X media resource platform. When the user opens the A music application, B music application, C video application, and A picture application on the X media resource platform of the display device 200-2, the user can automatically log in to the A music application, B music application, C video application, and A picture application without having to enter the account of the A music application, B music application, C video application, and A picture application according to the established account binding relationship.
[0087] However, since the accounts of C music application, A video application, B video application, B picture application and C picture application have not established a binding relationship with the account A of the X media resource platform, when the C music application, A video application, B video application, B picture application and C picture application are opened on the display device 200-2, they cannot be automatically logged in. Therefore, the present application can log in to the X media resource platform on different devices. On the basis of logging in to the X media resource platform, if there is a history of logging in to a third-party application on the X media resource platform, the third-party application can be automatically logged in on any other device that logs in to the X media resource platform through the same account, thereby reducing the login operation and improving the user experience.
[0088] In some embodiments, based on the above embodiments, if the media resource platform account is bound to a third-party application account, when the user opens the third-party application, the user interface automatically jumps from the media resource platform main interface to the third-party application page. Figure 7 In the user interface shown, the media resource platform account is bound to the A music application account. When the user clicks the A music application control, the page automatically changes to Figure 7 The main interface of the X media resource platform shown jumps to Figure 8 A music application user interface shown.
[0089] If the media resource platform account is bound to a third-party application account, when the user opens the third-party application, a dialog box for logging into the third-party application may pop up on the media resource platform interface. Figure 7 In the user interface shown, there is no binding relationship between the media resource platform account and the B music application account. When the user clicks the B music application control, Figure 7 The X media resource platform main interface pops up Fig. 9 The dialog box shown is for the user to log in to the music application B. The dialog box includes a prompt message "Please enter the account number for logging in to the music application B", an input field for entering the account number and password, and a button to confirm the login and a button to cancel the login.
[0090] In some embodiments, Fig.10 Another application login system framework diagram shown in FIG. Fig.10 The framework diagram shown includes a display device 200 - 1 , a display device 200 - 2 and a server 400 , wherein the server 400 further includes an account management sub-server 400 - 1 and a third-party application sub-server 400 - 2 .
[0091] The account management sub-server 400-1 is used to receive the third-party application login request sent by the display device 200-2, and the third-party application login request carries at least the device information of the display device 200-2. The aggregate application has been logged in through the first account on the first device. And the aggregate application has been logged in through the first account and the third-party application has been logged in through the second account on the display device 200-1. If the aggregate application has been logged in through the first account and the third-party application has been logged in through the second account on the display device 200-1, the binding relationship between the first account and the second account is stored in the account management sub-server 400-1.
[0092] If there is a binding relationship between the first account and the second account, the account management subserver 400-1 sends the binding relationship between the first account and the second account and the device information of the display device 200-2 to the third-party application subserver. The third-party application subserver 400-2 feeds back a login token to the display device 200-2 based on the device information. The display device 200-1 can log in to the third-party application through the login token. If there is no binding relationship between the first account and the second account, the account management subserver 400-1 sends the third-party application login request directly to the third-party application subserver. At this time, the third-party application subserver does not receive the binding relationship between the first account and the second account, and does not feed back the login token to the display device 200-2. If the display device 200-2 does not receive the feedback login token within the predetermined time, it will display a prompt message to the user to enter the account to log in to the application.
[0093] In the application login method provided in the embodiment of the present application, the server receives a third-party application login request sent by the first device, and the request carries at least the first device information and the first account. Before receiving the request, the aggregated application has been logged in through the first account on the first device, and the third-party application has not been logged in through the second account on the first device, but the third-party application has been logged in through the second account on the second device, and the first device and the second device are different devices. If there is a binding relationship between the first account and the second account, the first login token is fed back to the first device according to the first device information. The first device logs in to the third-party application according to the first login token. If there is no binding relationship between the first account and the second account, the first login token is not fed back to the first device. In this way, after opening the aggregated application on different devices, as long as it is a third-party application bound to the aggregated application, it can be automatically logged in without entering the account again, thereby improving the user experience.
[0094] In this application, the login token can be a token. When the display device requests data from the server, if there is no token application, the server needs to frequently query the user name and password in the database and compare them to determine whether the account and password are correct. If a token is applied, after the display device sends a data request to the server, if the account and password are correct, the server will generate a token and return it to the display device. When the display device requests data from the server again, it only needs to bring this token instead of the account and password. Therefore, the user does not need to enter the account and password again to achieve the purpose of the data request.
[0095] The token can be used in the following ways: when the display device logs in, it obtains the device information of the device. For example, the device number or MAC address, and passes the device information as a parameter to the server. After receiving the parameters, the server uses a variable to receive the device information and saves the device information as a token in the database. The server also sets the token in the session. Every time the display device makes a data request, the server needs to intercept the request and compare the token passed by the display device with the token in the server session. If they match, the data request is approved and the data is fed back. If they do not match, the data request is rejected.
[0096] When the login token is used as token, Fig.11 As shown in the signaling diagram, the process of the display device 200-1 of the present application obtaining a token is specifically as follows:
[0097] After the user logs in to the media resource platform through account A on the display device 200-1, and then logs in to the third-party application through account B in the media resource platform. Display device 200-1 sends a data request to the third-party application server. The data request carries the device information X1, account A and account B (including password) of display device 200-1. After receiving the data request, the server determines that the account and password are correct, and then feeds back token-A corresponding to display device 200-1 to display device 200-1, and binds account A and account B. Display device 200-1 can then use token-A to log in to the third-party application. Display device 200-1 then sends a login request to the third-party application server, and only needs to carry token-A, without carrying account B. After display device 200-1 logs in to the third-party application, it can obtain media resources from the third-party application server.
[0098] Based on the above embodiments, Fig.12 As shown in the signaling diagram, the process of the display device 200-2 of the present application obtaining a token is specifically as follows:
[0099] After the user logs in to the media resource platform through account A on display device 200-2, he needs to log in to the third-party application on the media resource platform. Display device 200-2 sends a login request to the third-party application server. At this time, the login request only carries the device information X2 of display device 200-2 and account A, and does not carry any user account for logging in to the third-party application. After the third-party application server receives the login request, since account A and account B are bound to each other, the third-party application server will feedback token-B corresponding to display device 200-2 to display device 200-2 based on the device information X2 of display device 200-2. Display device 200-2 then sends a login request to the third-party application server, which only needs to carry token-B, and does not need to carry account B, that is, there is no need to enter the account and password again. After display device 200-2 logs in to the third-party application, it can obtain media resources from the third-party application server.
[0100] It should be noted that, in the process of display device 200-1 obtaining token, a binding relationship between display device 200-1, account A and account B can also be established, that is, token-A, account A and account B are bound. When display device 200-2 sends a third-party application login request to the server, the login request can carry account A, token-A and device information X2 to request token-B corresponding to device information X2 of display device 200-2 from the server.
[0101] The specific process of applying the method of this application to the scenario of opening the rights and interests of third-party applications is as follows:
[0102] Fig.13 The signaling diagram shown shows the process of opening third-party application rights on display device 200-1. First, log in to the media asset platform through account A on display device 200-1. The user scans the QR code on the third-party application page on display device 200-1 through the mobile terminal (it can be a QR code of an e-commerce monthly package, quarterly package, etc.) to purchase the rights. After that, display device 200-1 requests the account server for the binding relationship between account A and the third-party application account. If the current third-party application is not logged in, the account server returns a prompt to the display device that there is no corresponding relationship between account A and the third-party application account. A third-party application login page can pop up on the mobile terminal, prompting the user to enter the third-party application account to log in to the third-party application.
[0103] After the user logs in to the third-party application by entering the account, the display device 200-1 obtains the token-A corresponding to the display device 200-1 from the third-party application server. The account server records the binding relationship between the aggregated application account A, the display device 200-1, and the third-party application account. The user uses the mobile terminal to scan the QR code on the third-party application page on the display device to purchase benefits and sends an account query request to the account server. The account server finds that there are display device 200-1, token-A corresponding to account A, and a third-party application account. The account server returns token-A and the third-party application account to the e-commerce server. Finally, the e-commerce server sends a benefit activation request to the third-party application server, which carries parameters such as the device information of the display device 200-1, token-A, third-party application account, and order number.
[0104] Fig.14 The signaling diagram shown shows the process of opening the rights of a third-party application on the display device 200-2. Fig.12 The third-party application that opens the rights in 200-1 is the same application. First, log in to the media asset platform through account A on display device 200-2. The user uses the mobile terminal to scan the QR code on the third-party application page on display device 200-2 to purchase the rights. After that, display device 200-2 requests the account server for the binding relationship between account A and the third-party application account. At this time, the account server has stored the binding relationship between account A and the third-party application, and the account server returns the binding relationship message between account A and the third-party application to the mobile terminal. Therefore, the third-party application login page no longer pops up on the mobile terminal. The mobile terminal directly sends a request to the e-commerce company to purchase the rights of the third-party application.
[0105] After receiving the rights purchase request, the e-commerce server sends a query request to the account server to query whether the display device 200-2 has a corresponding token and a third-party application account. The account server finds that the display device 200-2 has no corresponding token and third-party application account, but the device information of the display device 200-2 has been bound to account A, and account A has a binding relationship with the third-party application account. At this time, the account server carries the device information of the display device 200-2, the token-A corresponding to account A, and the third-party account, and requests the token-B corresponding to the display device 200-2 from the third-party application server. After the third-party application server successfully authenticates according to the third-party account and token-A, it generates a token-B corresponding to the display device 200-2 according to the device information of the display device 200-2, and feeds token-B back to the account server. After receiving the token-B corresponding to the display device 200-2, the account server establishes a binding relationship between the device information of the display device 200-2, token-B, account A, and the third-party account. The e-commerce server sends a request for opening rights to the third-party application server, which carries parameters such as device information of the display device 200-2, token-B, third-party application account, and order number.
[0106] In the rights and interests activation method in the above embodiment, after the display device 200-1 logs in to the media resource platform through account A and binds the third-party application account, the display device 200-1, account A and the third-party application account have established a binding relationship. When the rights and interests are activated, the token-A sent to the third-party application server corresponds to the display device 200-1. When the user needs to activate the rights and interests on the display device 200-2 again, since the token-A bound to the third-party application account belongs to the display device 200-1, the operation of using the same third-party application account to activate the rights and interests cannot be realized. Using the rights and interests activation method of this application, since account A is bound to the third-party application account, when it is necessary to use the same third-party application account to activate the rights and interests on the display device 200-2, the third-party application server automatically feedbacks the token-B belonging to the display device 200-2 to the display device 200-2. The display device 200-2 can use the token-B belonging to the device to request the third-party application server to activate the rights and interests. Thereby reducing the operation of entering the account again and improving the user experience.
[0107] In some embodiments, since the third-party application is installed on the aggregated application, there may be a scenario where the user needs to unbind the aggregated application account from the third-party application account after logging into the third-party application once on the aggregated application. When logging into the third-party application, a dialog box for setting the binding time between the aggregated application account and the third-party application account may pop up. For example, on the media resource platform of the display device 200-1 (account A logs in), use account B to log in to the third-party application, and set the maximum binding time between account A and account B to two hours. The timing starts from the determination of the binding relationship. If it exceeds two hours, the system automatically unbinds account A and account B. At the same time, the binding relationship between account B and display device 200-1 can also be unbinded. The user can also manually select the option to unbind account A from account B in the settings.
[0108] In some embodiments, the aggregated application can be logged in by the same account on multiple devices at the same time. For example, after logging in to the aggregated application through account A on display device 200-1, you can also log in to the aggregated application through account A on display device 200-2 at the same time. When the user logs in to a third-party application on display device 200-1, and then needs to log in to use a third-party application on display device 200-2, you can directly click the icon of the third-party application to achieve it, without having to enter the account again to log in to the aggregated application. In this way, users can use aggregated applications on multiple devices at the same time, and can use various third-party applications without entering an account, thereby improving the user experience.
[0109] In some embodiments, a binding relationship may be established between accounts of the aggregated application. For example, when logging into the aggregated application through account A on display device 200-1, the associated account may be selected in the settings page of the aggregated application, such as Fig.14 In the user interface shown, the aggregate application account B is selected for association. The A music application that has established a binding relationship with account A has also established a binding relationship with account B. When the user clicks the A music application icon control in the aggregate application main page of the display device 200-1, the A music application can be automatically logged in. Similarly, after the user logs in to the aggregate application through account B on the display device 200-2, he can also automatically log in to the A music application by clicking the A music application icon control. In this way, by establishing an association relationship between aggregate application accounts, the user's demand for automatic login to the application is further met.
[0110] The above-mentioned embodiment binds different devices through the account of the aggregated application. In some embodiments, the device can also be directly bound for application login. Some devices can be bound to the same application in advance. When the user logs in to a third-party application on the current device, the current device sends a login request to the third-party application server. If the third-party application server does not have a token corresponding to the current device. Further query whether there is a device bound to the current device, and the bound device has a token corresponding to the third-party application. If there is a device bound to the current device, and the bound device has a token corresponding to the third-party application, the third-party application server will feedback the token belonging to the current device to the current device. The current device can use the token belonging to the current device to log in to the third-party application, or activate the rights and interests of the third-party application on the current device.
[0111] For example, display device 200-1 and display device 200-2 are bound, and display device 200-1 does not have a token corresponding to the C music application, while display device 200-2 has a token corresponding to the C music application. When a user needs to log in to the C music application on display device 200-1, display device 200-1 sends a login request to the server of the C music application. Since there is no token corresponding to display device 200-1 in the C music application server, the C music application server feeds back prompt information for inputting an account to display device 200-1, so the purpose of automatically logging in to the C music application cannot be achieved. Using the method of this embodiment, display device 200-1 sends a login request to the server of the C music application. Since display device 200-1 and display device 200-2 are already bound, the login request carries not only the device information of display device 200-1 itself, but also the device information of display device 200-2. First, query the server to see if there is a token corresponding to display device 200-1. Then, the server is queried to see whether there is a token corresponding to the display device 200-2. After finding the token corresponding to the display device 200-2, the server can feedback the token corresponding to the display device 200-1 to the display device 200-1. Alternatively, the server can directly feedback the successful login result to the display device 200-1 based on the token of the display device 200-2.
[0112] The present application provides an application login method. Fig.15 is a flow chart of a method for logging into a speech application according to an exemplary embodiment. Figure 1 The display device 200 of the implementation environment shown. Fig.15 As shown, the speech signal processing method may include the following steps.
[0113] In step S101, a third-party application login request sent by a first device is received, wherein the third-party application login request carries at least first device information and a first account, and the first device is a device that has logged in to the aggregate application through the first account.
[0114] In step S102, if the first account and the second account are bound to each other, a first login token is obtained at least according to the first device information and the second account, and the first login token is fed back to the first device, so that the first device logs in to the third-party application according to the first login token, wherein the second account is an account for logging in to the third-party application that is mapped with the first account in the server;
[0115] In step S103, if there is no binding relationship between the first account and the second account, the first login token is not generated according to the first device information.
[0116] In some embodiments, if the first login token is a token generated by the aggregation application server, the first login token is generated based only on the first device information and the second account.
[0117] In some embodiments, if the first login token is a token generated by a third-party application server, the third-party application server needs to authenticate the legitimacy of the current second account. When generating the first login token, the third-party application server not only needs to receive the second account and the first device information, but also needs to receive the second login token. The second login token is a token allocated by the third-party application to the second account for accessing the third-party application on the second device by logging in to the second account, that is, the second login token corresponds to the second device. After receiving the second account and the second login token, the third-party application server can generate a first login token corresponding to the first device according to the device information of the first device.
[0118] In some embodiments, the process of establishing a binding relationship between a first account and a second account may be: receiving a binding request between the first account and the second account, the binding request being a request sent when the first account is used to log in to the aggregated application on the second device, and the third-party account is logged in to the second device through the second account; and establishing a binding relationship between the first account and the second account according to the binding request. The aggregated application is an application publishing platform, and the third-party application is an application published on the aggregated application. When the aggregated application is logged in through the first account on the device, and the third-party application is logged in through the second account on the same device at the same time, the binding relationship between the first account and the second account is established.
[0119] Those skilled in the art will appreciate that the various aspects of the present application may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, the various aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "controllers", "engines", "units", "components" or "systems". In addition, the various aspects of the present application may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0120] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this application, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this application. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this application. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0121] Similarly, it should be noted that in order to simplify the description of the disclosure of this application and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this application, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the object of this application are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
Claims
1. A server, It is characterized in that The server is used to perform: Receive a third-party application login request sent by a first device, wherein the third-party application login request carries at least first device information and a first account, the first device is a device that has logged into an aggregate application through the first account; the aggregate application refers to an application platform that integrates multiple third-party applications; wherein, when the first account is bound to a second account, the third-party application login request also carries a second login token, which is a token allocated by the third-party application to the second account for accessing the third-party application on the second device by logging into the second account; the second account is an account in the server that is mapped to the first account and is used to log in to the third-party application; If the first account and the second account are bound to each other, a first login token is obtained according to the first device information, the second account, and the second login token carried in the third-party application login request, and the first login token is fed back to the first device, so that the first device logs in to the third-party application according to the first login token. If there is no binding relationship between the first account and the second account, the first login token is not generated according to the first device information.
2. The server according to claim 1, It is characterized in that The server is also used to perform: receiving a binding request between the first account and the second account, the binding request being a request sent when logging into the aggregate application through the first account on the second device and logging into the third-party application through the second account on the second device; A binding relationship between the first account and the second account is established according to the binding request.
3. The server according to claim 1, It is characterized in that The server is also used to execute: If there is no binding relationship between the first account and the second account, login prompt information is fed back to the first device so that the first device displays the login prompt information to the user, and the login prompt information is used to prompt the user to log in to the third-party application by entering an account.
4. The server according to claim 1, It is characterized in that The aggregated application is an application that can be logged in by multiple devices at the same time.
5. The server according to claim 1, It is characterized in that The server includes: an account management sub-server and a third-party application sub-server; The account management sub-server is used to receive the third-party application login request, and if the first account and the second account are bound to each other, send the binding relationship between the first account and the second account to the third-party application sub-server; if the first account and the second account are not bound to each other, send the third-party application login request to the third-party application sub-server; The third-party application sub-server is used to execute, if a binding relationship between the first account and the second account is received, then obtain a first login token based on at least the first device information and the second account, and feedback the first login token to the first device, so that the first device logs in to the third-party application according to the first login token, wherein the second account is an account for logging in to the third-party application that has a mapping relationship with the first account in the server; if the third-party application login request is received, the first login token is not fed back to the first device.
6. An electronic device, It is characterized in that The electronic device has logged into the aggregate application through the first account, where the aggregate application refers to an application platform that integrates multiple third-party applications; The electronic device comprises: Controller, which performs: Sending a third-party application login request to a server, wherein the third-party application login request carries at least device information of the electronic device and a first account; wherein, when the first account is bound to a second account, the third-party application login request also carries a second login token, which is a token allocated by the third-party application to the second account and used to access the third-party application on the second device by logging in to the second account; the second account is an account in the server that is mapped to the first account and is used to log in to the third-party application; Receive a first login token fed back by the server, and log in to the third-party application according to the first login token, where the first login token is a token obtained according to the device information of the electronic device, the second login token and the second account; If there is no binding relationship between the first account and the second account, the first login token is not received from the server.
7. The electronic device according to claim 6, It is characterized in that The controller is further configured to execute: If there is no binding relationship between the first account and the second account, the login prompt information fed back by the server is received, and the login prompt information is displayed to the user, where the login prompt information is used to prompt the user to log in to the third-party application by entering an account.
8. An application login method, It is characterized in that The method is applied to a server, and the method comprises: Receive a third-party application login request sent by a first device, wherein the third-party application login request carries at least first device information and a first account, the first device is a device that has logged into an aggregate application through the first account; the aggregate application refers to an application platform that integrates multiple third-party applications; wherein, when the first account is bound to a second account, the third-party application login request also carries a second login token, which is a token allocated by the third-party application to the second account for accessing the third-party application on the second device by logging into the second account; the second account is an account in the server that is mapped to the first account and is used to log in to the third-party application; A first login token is obtained according to the first device information, the second login token and the second account carried in the third-party application login request, and the first login token is fed back to the first device, so that the first device logs in to the third-party application according to the first login token; if there is no binding relationship between the first account and the second account, the first login token is not generated according to the first device information.
Citation Information
Patent Citations
System and method for accessing third party application based on cloud platform
CN102739708A
Third party account authorization method, device, server and system
CN105897668A
System and method for binding unnetworked intelligent terminal with user mobile terminal
CN110267264A
Method for triggering outreach based on third party data requests
US20220038455A1
Communication authentication method and apparatus, and terminal device
WO2015039502A1
