The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for logging in to an operator account in watching a television (TV) program.
A digital video converter box, usually referred to as a set top box (STB), is a device that connects a television set and an external signal source. The device can convert a compressed digital signal into television content, and display the television content on the television set. A signal may be from a wired cable, a satellite antenna, a broadband network, or terrestrial broadcasting. In addition to received content such as images and sound that can be presented by an analog television, the STB even can receive digital content including electronic program guides, Internet web pages, subtitles, and the like. An operator provides a video service to a user using an STB; and by operating an interface output by the STB to a TV screen, the user selects and watches content provided by the operator, and carries out interactive digital entertainment, education, and commercial activities using a network.
When subscribing to the video service from the operator, the user needs to register corresponding information for subscribing to the service and obtains a paid service using a registered account. When the user logs in to the account using the STB, the account is used by a system to identify a user identity. In this way, the STB can output content based on a watching behavior of the user and data analysis to the TV screen, so that the user obtains personalized content and operation experience. The operator may analyze, according to an identity of a user, data of a product used and content watched by the user, and send content and a service which the user likes and is interested in to the STB for presentation on a display screen, thereby implementing personalized watching experience, and further improving experience quality of services that are provided by the operator.
Because multiple family members in a family use a STB, a key issue in such an application scenario is how the operator accurately determines a user that currently watches content using the STB, so as to implement an accurate personalized service.
In the prior art, the user who currently watches the content can be determined by manually setting multiple accounts and manually selecting an account for login. That is, after subscribing to a video service, the user sets different accounts (which are usually set during first use) when using the STB. Afterwards, whenever the STB is started to access the video service, an account login interface is first displayed on the TV screen. In this case, the user selects the user's own account by pressing a button on a remote control, enters a login password, and accesses a video content page. The STB provides a personalized content service (for example, presenting content that is recently watched using the account, and recommending content which the user is interested in) on the video content page according to login account information.
However, in the prior art, to implement an accurate personalized content service, multiple accounts need to be set and used. In both processes of setting and selecting a login account, a user needs to perform lots of operations, for example, manual inputs, on a TV interface using a remote control. Especially, when another user is to watch content, the user needs to re-enter the user's own account to obtain a dedicated personalized service of the user. In this way, the user needs to perform relatively complex operations to implement account login.
In view of this, embodiments of the present disclosure provide an account login method and apparatus. According to the method and the apparatus, when watching TV, a user does not need to perform an input operation for logging in to an operator server.
According to a first aspect, an embodiment of the present disclosure provides an account login method, where a STB and a mobile terminal access a same wireless network, and the STB obtains a terminal identifier of the mobile terminal using the wireless network; the STB searches, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the relationship table includes a correspondence between a terminal identifier and each of a service account and a password; and if the STB finds the service account and the password that are corresponding to the terminal identifier, the STB logs in to a content server using the service account and the password that are corresponding to the terminal identifier.
In a possible design, the STB sends an Address Resolution Protocol (ARP) request to the mobile terminal using the wireless network, where the ARP request is used to instruct the mobile terminal to send a media access control (MAC) address of the mobile terminal to the STB; a correspondence table between a MAC address and each of a service account and a password is pre-stored in an authentication server; and the STB searches, according to the MAC address of the mobile terminal, the correspondence table for a target service account and a target password that are corresponding to the MAC address of the mobile terminal.
In a possible design, the STB sends an ARP request to the mobile terminal using the wireless network, where the ARP request is used to instruct the mobile terminal to send a MAC address of the mobile terminal to the STB; a correspondence table between a MAC address and each of a service account and a password is pre-stored in the STB; and the STB searches, according to the MAC address of the mobile terminal, the correspondence table for a target service account and a target password that are corresponding to the MAC address of the mobile terminal.
In a possible design, the STB sends an authentication request of an application A to the mobile terminal using the wireless network, where the authentication request of the application A is used to instruct the mobile terminal to send, to the STB, an account of the application A being used by the mobile terminal; a correspondence table between the account of the application A and each of a service account and a password is pre-stored in an authentication server; and the STB searches, according to the account of the application A being used by the mobile terminal, the correspondence table for a service account and a password that are corresponding to the account of the application A being used by the mobile terminal.
In a possible design, the STB sends an authentication request of an application A to the mobile terminal using the wireless network, where the authentication request of the application A is used to instruct the mobile terminal to send, to the STB, an account of the application A being used by the mobile terminal; a correspondence table between the account of the application A and each of a service account and a password is pre-stored in the STB; and the STB searches, according to the account of the application A being used by the mobile terminal, the correspondence table for a service account and a password that are corresponding to the account of the application A being used by the mobile terminal.
In a possible design, if the STB does not find the service account and the password that are corresponding to the terminal identifier, the STB does not perform login.
In a possible design, if the STB finds the service account and the password that are corresponding to the terminal identifier, and the service account corresponding to the terminal identifier is in a logged-in state, the STB no longer performs login using the service account corresponding to the mobile terminal identifier.
In a possible design, the STB allows simultaneous login of multiple service accounts to the content server, and allows the multiple service accounts to be online simultaneously.
In a possible design, the set top box has performed login using the service account corresponding to the terminal identifier, and if the STB does not obtain the terminal identifier again within a predetermined time, an offline operation is performed on the service account corresponding to the terminal identifier.
According to a second aspect, an embodiment of the present disclosure provides an account login apparatus, where the apparatus includes an obtaining module configured to, when the apparatus and a mobile terminal access a same wireless network, obtain a terminal identifier of the mobile terminal; a searching module configured to search, according to the terminal identifier obtained by the obtaining module, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the relationship table includes a correspondence between a terminal identifier and each of a service account and a password; and a login module configured to, if the searching module finds the service account and the password that are corresponding to the terminal identifier, log in to a content server using the service account and the password that are corresponding to the terminal identifier.
In a possible design, the obtaining module is specifically configured to send an ARP request to the mobile terminal using the wireless network, where the ARP request is used to instruct the mobile terminal to send a MAC address of the mobile terminal to the obtaining module; a correspondence table between a MAC address and each of a service account and a password is pre-stored in an authentication server; and the searching module is specifically configured to search, according to the MAC address, of the mobile terminal, learned by the obtaining module, the correspondence table for a service account and a password that are corresponding to the MAC address of the mobile terminal.
In a possible design, the obtaining module is specifically configured to send an ARP request to the mobile terminal using the wireless network, where the ARP request is used to instruct the mobile terminal to send a MAC address of the mobile terminal to the obtaining module; the apparatus further includes a storage module, and a correspondence table between a MAC address and each of a service account and a password is pre-stored in the storage module; and the searching module is specifically configured to search, according to the MAC address, of the terminal, learned by the obtaining module, the correspondence table for a service account and a password that are corresponding to the MAC address of the mobile terminal.
In a possible design, the obtaining module is specifically configured to send an authentication request of an application A to the mobile terminal using the wireless network, where the authentication request of the application A is used to instruct the mobile terminal to send, to the obtaining module, an account of the application A being used on the mobile terminal; a correspondence table between the account of the application A and each of a service account and a password is pre-stored in an authentication server; and the searching module is specifically configured to search, according to the account, learned by the obtaining module, of the application A being used by the mobile terminal, the correspondence table for a service account and a password that are corresponding to the account of the application A being used by the mobile terminal.
In a possible design, the obtaining module is specifically configured to send an authentication request of an application A to the mobile terminal using the wireless network, where the authentication request of the application A is used to instruct the mobile terminal to send, to the obtaining module, an account of the application A being used on the mobile terminal; the apparatus further includes a storage module, and a correspondence table between the account of the application A and each of a service account and a password is pre-stored in the storage module; and the searching module is specifically configured to search, according to the account, learned by the obtaining module, of the application A being used by the mobile terminal, the correspondence table for a service account and a password that are corresponding to the account of the application A being used on the mobile terminal.
In a possible design, if the searching module does not find the service account and the password that are corresponding to the terminal identifier, the login module does not perform login.
In a possible design, if the searching module finds the service account and the password that are corresponding to the terminal identifier, and the service account corresponding to the terminal identifier is in a logged-in state, the login module no longer performs login using the service account corresponding to the terminal identifier.
In a possible design, the login module allows simultaneous login of multiple service accounts to the content server.
In a possible design, after performing login using the service account corresponding to the terminal identifier, the login module is further configured to, if the obtaining module cannot obtain the terminal identifier again within a predetermined time, perform an offline operation on the service account corresponding to the terminal identifier.
According to a third aspect, an embodiment of the present disclosure provides an account login device, where the device includes a processor, a memory, and a transceiver, and the processor performs the following method by invoking a program or an instruction in the memory: controlling the transceiver to obtain a terminal identifier of a mobile terminal that accesses a same wireless network as the device; searching, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the relationship table includes a correspondence between a terminal identifier and each of a service account and a password, and the relationship table is stored in the memory or an authentication server; and if the service account and the password that are corresponding to the terminal identifier are found, logging in to a content server using the service account and the password that are corresponding to the terminal identifier.
According to the technical solutions provided in the embodiments of the present disclosure, when a STB and a mobile terminal access a same wireless network, the STB may obtain a terminal identifier of the mobile terminal using the wireless network; the STB searches, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the relationship table includes a correspondence between a terminal identifier and each of a service account and a password; and if the STB finds the service account and the password that are corresponding to the foregoing terminal identifier, the STB logs in to a server using the service account and the password that are corresponding to the foregoing terminal identifier. According to this series of automation methods, a user does not need to perform an input operation when using a STB. Especially, when another user is to watch content, the user needs to perform switching and log in to the user's own account to obtain dedicated personalized content pushed to the user. Because no input operation needs to be performed, the user can log in to the account at any time when needing to watch, and rapidly locate content pushed by an operator. In addition, when multiple users simultaneously watch TV, by means of automatic account login, content pushed to all users can be simultaneously presented on a screen, which facilitates the multiple users to find a common interest point and topic, thereby enhancing emotional communication. In conclusion, according to the present disclosure, better experience can be brought for a personalized push requirement of a user.
Embodiments of the present disclosure provide an account login method and apparatus.
The following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are merely some embodiments but not all of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
An application scenario of the present disclosure is that a user uses a STB to watch a TV service provided by an operator. To provide good watching experience to the user, the operator obtains the user's favorite program content according to the user's subscription, preference, or long-term watching habit, and further pushes personalized content in a targeted manner. Therefore, it is very important for the operator to identify an identity of a user who currently watches a program. However, in conventional technical solutions, a user needs to log in to an account for user identity identification, which is relatively troublesome in use by the user. The present disclosure provides an account login method according to which a correspondence between a user identity and an account is established using a portable mobile terminal that can be carried by a user, and a STB obtains an identifier of the mobile terminal, then obtains an account corresponding to the user identity, and performs login, thereby freeing the user from performing an operation.
In addition, two servers are involved in the present disclosure, one is a content server, which is a server mainly configured to provide service content such as a TV program; and the other is an authentication server, which is a server configured to implement a login function such as user identification. In some cases, the operator integrates the foregoing two servers, which are collectively referred to as a server.
Referring to
Step 101: A STB and a mobile terminal access a same wireless network, and the STB obtains a terminal identifier of the mobile terminal using the wireless network.
The mobile terminal is a mobile terminal that can identify a user identity, for example, a terminal for next-to-skin use by a user, such as a mobile phone, a tablet, or a wrist band. The wireless network may include a wireless local area network that is commonly used in people's daily life, for example, WiFi and Bluetooth®. A prerequisite for implementing the method is that the STB and the mobile terminal share a same wireless network. Referring to
The terminal identifier mentioned herein refers to types of identifiers that can represent a user identity, for example, a MAC address of the mobile terminal, a mobile phone number, a fingerprint verification identifier in the mobile terminal, a user account that is associated with an application in the mobile terminal, or a serial number of the mobile terminal. Any identifier, in the terminal, using which a user identity can be identified can be used to implement the technical solutions in the present disclosure and shall fall within the protection scope of the present disclosure. Because there are lots of such terminal identifiers, the terminal identifiers are not listed one by one in this application document.
Step 102: The STB searches, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the foregoing relationship table includes a correspondence between a terminal identifier and each of a service account and a password.
In a specific implementation process, when a user subscribes to a service from an operator, registers a service account, and sets a password, the user may bind a terminal identifier of a mobile terminal of the user with the service account and the password. For example, the operator may record the terminal identifier of the mobile terminal of the user using an authentication server or an application of the operator; or the user may record the terminal identifier by scanning, using the mobile terminal of the user, a two-dimensional code provided by the operator, or using an application provided by the operator, and establish a correspondence between the terminal identifier of the mobile terminal of the user and each of the service account and the password of the user. By associating an account of an application in the mobile terminal of the user, the user may further establish a correspondence between the account of the application in the mobile terminal of the user and each of the service account and the password of the user. Optionally, the user may establish correspondences between the service account of the user and multiple terminal identifiers.
Correspondences, established by many users, between terminal identifiers and each of service accounts and passwords of the users can be merged into a correspondence table. Referring to
Step 103: If the STB finds the service account and the password that are corresponding to the terminal identifier, the STB logs in to a content server using the service account and the password that are corresponding to the terminal identifier. The service account can be logged in with no need to manually perform any operation by the user.
There are multiple specific implementation manners of step 101. The operator or a manufacturer of the STB may install a specific application in or write a specific program into the STB in advance, so that a network interface module of the STB has specific capabilities of broadcasting a message and receiving a message returned by a terminal. Correspondingly, the mobile terminal may receive and respond to a broadcast message of the STB using a specific installed application of the operator or a built-in program. In a specific implementation manner, the following two cases may be included.
Case 1: Refer to
Case 2: Refer to
It should be noted that the STB can obtain a terminal identifier of a terminal that is in a same wireless network environment. However, not all users of mobile terminals in the wireless network have subscribed to a TV service from the operator. For example, the STB obtains a terminal identifier of a user 1, a terminal identifier of a user 2, and a terminal identifier of a user 3. However, only the user 1 subscribes to the TV service from the operator. In this case, the STB can find a corresponding account and password according to only the terminal identifier of the user 1, and results of searching according to the terminal identifier of the user 2 and the terminal identifier of the user 3 are empty or invalid due to expiration, thereby causing a login failure. Therefore, the STB can log in to the content server of the operator using only the account and the password that are corresponding to the terminal identifier of the user 1. For details, reference may be made to a process of communication between a STB and a mobile terminal D in
In a specific implementation process, cases in which a STB cannot implement automatic login further include at least one of a service account or a password is invalid or abnormal; an account corresponding to the service account is in arrears; network interruption occurs; and the like.
It is additionally noted that the STB broadcasts the ARP message at intervals of a specific time period using the wireless network in which the STB is located. Therefore, a same mobile terminal may receive the ARP message for multiple times, that is, the STB may obtain a MAC address of the same mobile terminal for multiple times. If a service account corresponding to the MAC address of the mobile terminal is being logged in to the server of the operator on the STB, when the STB subsequently obtains the MAC address again, the service account corresponding to the MAC address does not need to be logged in again. According to this technical solution, a repeatedly found account can be prevented from being repeatedly logged in, thereby simplifying a procedure and avoiding an intermittent stop and skipping caused by multiple times of login.
In another personalized implementation manner of the foregoing method, according to the foregoing method, if the service account of the user 1 has been logged in on the STB, and a service account of the user 2 and a service account of the user 3 are detected using the foregoing method when the service account of the user 1 is being logged in, the STB can allow simultaneously using the service account of the user 1, the service account of the user 2, and the service account of the user 3 to log in to the server of the operator, so that the operator can push, according to the three logged-in accounts, content which the three users are all interested in. If there is no content which all the three users are interested in, another push policy may be further used, for example, pushing several programs to each user, where those policies may be flexibly set by the operator. According to this technical solution, a watching requirement that multiple users simultaneously watch TV can be satisfied. The multiple users can rapidly select, according to entire content pushed by the operator, a program that the multiple users are all interested in, and a common interest of the multiple users can be well explored, thereby promoting emotional communication.
In another personalized implementation manner of the foregoing method, for a service account being logged in, after a predetermined time, for example, within half an hour, if the STB cannot obtain, using the foregoing method, any terminal identifier corresponding to the service account, it indicates that a mobile terminal corresponding to the terminal identifier is not in the WiFi network, and further indicates that a user may no longer watch TV. In this case, the STB may log out the service account. According to this technical solution, the operator can push personalized program content in a more targeted manner, so as to avoid a waste of push pages.
In a specific implementation process, all the foregoing functions of the STB may be implemented by a specific application program provided by the operator.
According to the technical solution of the present disclosure, different from a conventional login manner using a set top box, a correspondence table between a terminal identifier of a mobile terminal of a user and each of a service account registered by a user and a password is pre-stored in a set top box or a server. When the set top box and a mobile terminal of a user are in a same wireless network environment, the STB obtains a terminal identifier by broadcasting a message using the wireless network, further searches the correspondence table for an account and a password according to the terminal identifier, and if the account and the password can be found, performs an automatic login operation. This technical solution is simple in implementation, thereby freeing a user from manually performing an operation. By means of rapid account login using a STB, the user can log in to an account of the user without input, and an operator can more rapidly push, according to the account of the user, content which the user is interested in, so that the user can obtain very good TV service experience.
Referring to
Related explanations and descriptions about the mobile terminal, the correspondence table, and the terminal identifier have been described in the method embodiment, and are not described again in the apparatus embodiment.
In a specific implementation process, the apparatus 200 further includes a storage module 204 configured to pre-store a correspondence table between a terminal identifier and each of a service account and a password. The storage module may be implemented by a memory, especially, a static memory.
In an optional implementation manner, the obtaining module is specifically configured to send an ARP request to the mobile terminal using the wireless network, where the ARP request is used to instruct the mobile terminal to send a MAC address of the mobile terminal to the obtaining module. A correspondence table between a MAC address and a service account and a password is pre-stored in a server or the storage module 204. The searching module is specifically configured to search, according to the MAC address, of the terminal, learned by the obtaining module, the correspondence table for a service account and a password that are corresponding to the MAC address of the mobile terminal.
In an optional implementation manner, the obtaining module is specifically configured to send an authentication request of a QQ application to the mobile terminal using the wireless network, where the authentication request of the QQ application is used to instruct the mobile terminal to send, to the obtaining module, an account of the QQ application being used on the mobile terminal. A correspondence table between the account of the QQ application and each of a service account and a password is pre-stored in a server or the storage module 204. The searching module is specifically configured to search, according to the account, learned by the obtaining module, of the QQ application being used by the mobile terminal, the correspondence table for a service account and a password that are corresponding to the account of the QQ application being used on the mobile terminal.
In a specific implementation process, if the searching module 202 does not find the service account and the password that are corresponding to the terminal identifier, the login module 203 does not perform login. If the searching module 202 finds the service account and the password that are corresponding to the terminal identifier, and the service account corresponding to the terminal identifier is logged in by the login module and is being used, the login module no longer performs login again using the service account corresponding to the terminal identifier.
As a personalized requirement, the login module 203 allows simultaneous login of multiple service accounts to the content server, so that the operator can push a corresponding program for each service account.
In another implementation manner, after performing login using the service account corresponding to the terminal identifier, the login module 203 is further configured to, when the obtaining module 201 cannot obtain the terminal identifier again within a predetermined time, perform an offline operation on the service account corresponding to the terminal identifier, and log out the service account.
The technical solution of the present disclosure provides an account login apparatus, where the apparatus includes an obtaining module, a searching module, and a login module. The obtaining module can initiate, using a wireless network, message broadcasting to a mobile terminal in the wireless network to obtain a terminal identifier. The searching module searches an existing correspondence table for a service account and a password using the terminal identifier. The login module then performs a subsequent login operation according to a search result. A user does not need to be involved in the whole process, so that the user can log in to a service account of the user without an input operation, and further, an operator can more rapidly push content to the user in a more targeted manner, bringing good experience to the user. Especially, when multiple users frequently appear in a nearby environment of a STB, an account can be switched without any input, thereby saving operation costs of the users.
Referring to
The foregoing hardware units may be connected using a bus for communication.
In this way, the processor 301 controls, by invoking the program or an instruction stored in the memory 302, the transceiver 303 to broadcast a message in a wireless network that the processor 301 accesses, and receive a terminal identifier fed back by a mobile terminal in the wireless network. The processor 301 searches, according to the terminal identifier received by the transceiver 303, a relationship table for a service account and a password that are corresponding to the terminal identifier, where the relationship table may be stored in the memory 302, or may be stored in a server of an operator. If the processor 301 finds the service account and the password that are corresponding to the terminal identifier, a content server is logged in to using the service account and the password that are corresponding to the terminal identifier.
In specific implementation, for an execution process of the apparatus 200 or the device 300, refer to the method embodiment shown in
Referring to
In a specific implementation process, the network interface module of the STB may enable the STB to access a network, including a wireless network, to work. The media processor invokes a program and an instruction stored in the local memory, broadcasts a message in the wireless network using the network interface module, and obtains a terminal identifier. In this case, if a specific APP (an APP using which the user accesses a TV service) of an operator or another application APP that is designated by the operator and that can be associated with a service account is installed on a mobile terminal in the wireless network, the mobile terminal, triggered by an APP function, receives a broadcast message from the STB and sends a response message carrying the terminal identifier to the set top box. The network interface module of the STB receives the response message; the media processor parses the response message, identifies the terminal identifier, searches, according to the terminal identifier, a correspondence table stored in the memory for a corresponding service account, and performs login using the service account once finding the corresponding service account. After the login, an audio/video stream can be received using the network interface module for program watching.
A person of ordinary skill in the art may understand that all or some of the steps of the foregoing methods may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. With descriptions of the foregoing embodiments, a person skilled in the art may clearly understand that the present disclosure may be implemented by hardware, firmware or a combination thereof.
The foregoing embodiments are merely embodiments of the technical solutions of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, or improvement made without departing from the principle of the present disclosure shall fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201510808831.6 | Nov 2015 | CN | national |
This application is a continuation of International Application No. PCT/CN2016/080999, filed on May 4, 2016, which claims priority to Chinese Patent Application No. 201510808831.6, filed on Nov. 19, 2015, both of which are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2016/080999 | May 2016 | US |
Child | 15406893 | US |