Account Login Method and Apparatus

Information

  • Patent Application
  • 20170150196
  • Publication Number
    20170150196
  • Date Filed
    January 16, 2017
    7 years ago
  • Date Published
    May 25, 2017
    7 years ago
Abstract
An account login method and apparatus presented. A set top box (STB) and a mobile terminal access a same wireless network. 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 server using the service account and the password that are corresponding to the terminal identifier.
Description
TECHNICAL FIELD

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.


BACKGROUND

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.


SUMMARY

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.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a flowchart of an account login method according to an embodiment of the present disclosure;



FIG. 2 is a schematic diagram of a correspondence table between a terminal identifier and each of a service account and a password according to an embodiment of the present disclosure;



FIG. 3 is another schematic diagram of a correspondence table between a terminal identifier and each of a service account and a password according to an embodiment of the present disclosure;



FIG. 4 is a schematic diagram of interaction between a STB and a mobile terminal according to an embodiment of the present disclosure;



FIG. 5 is another schematic diagram of interaction between a STB and a mobile terminal according to an embodiment of the present disclosure;



FIG. 6 is a schematic structural diagram of an account login apparatus according to an embodiment of the present disclosure;



FIG. 7 is a schematic structural diagram of an account login device according to an embodiment of the present disclosure; and



FIG. 8 is a schematic structural diagram of a system of a STB according to an embodiment of the present disclosure.





DESCRIPTION OF EMBODIMENTS

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 FIG. 1, FIG. 1 is a flowchart of an account login method according to an embodiment of the present disclosure. A specific method is exemplarily described as in the following steps.


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 FIG. 5, a STB cannot communicate with a mobile terminal E because the STB and the terminal E are not in a same wireless network.


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 FIG. 2, FIG. 2 is a correspondence table between a terminal identifier and each of a service account and a password. The established correspondence table may be stored in the authentication server of the operator. For a user, the user may establish only a correspondence table between a terminal identifier of a mobile terminal of the user and each of a service account and a password, and the relationship table may be stored in an authentication server of an operator, or may be stored in a STB of the user. Referring to FIG. 3, FIG. 3 is another correspondence table between a terminal identifier and each of a service account and a password. It is additionally noted that, if the user changes the password during use or changes some data in the relationship table, the operator will update the relationship table in a timely manner.


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 FIG. 4 for a process of communication between a STB and a mobile terminal A. If a STB in a house of a user A and a mobile phone (the mobile terminal A) of the user A access a same WiFi network, the STB sends, using the WiFi network, an ARP request to all terminals connected to the WiFi network, where ARP is a transmission control protocol/internet protocol (TCP/IP) protocol for obtaining a physical address according to an IP address. When sending information, the STB broadcasts an ARP request including a destination IP address to all terminals on the network and receives response messages, so as to determine physical addresses of all the terminals. In this way, after receiving the ARP request from the STB, the mobile terminal A sends, to the STB, a MAC address of the mobile terminal A, that is, a physical address. Such a function may be implemented using an application APP in the mobile phone, or may be implemented by a program that is built in upon delivery of the mobile phone. Once the STB learns the MAC address of the mobile terminal A, the STB may search, according to the MAC address, the foregoing previously established correspondence table for a service account and a password that are corresponding to the MAC address, where the relationship table may be stored in the authentication server, or may be stored in the STB. This technical solution is based on an association between a service account of a user and an attribute identifier of a mobile terminal. A STB can more easily obtain a terminal identifier of a mobile terminal of a user using such a simple association, and further implement rapid service account search and login. A MAC address is used only as an example in this case. Many other identifiers of a mobile terminal may be equivalent or replaced, and all principles of technical implementation are also equivalent. Examples are not provided in this application document.


Case 2: Refer to FIG. 5 for a process of communication between a STB and a mobile terminal B. A STB in a house of a user B and a tablet computer (the mobile terminal B) of the user B access a same WiFi network, and a designated application of an operator is installed in the mobile terminal B. The designated application installed in the mobile terminal mentioned in this application document may be an application (APP) independently developed by the operator, or may be another application in cooperation with the operator, for example, an APP such as MicroBlog, WeChat®, QQ®, or Taobao® that can be bound with a video service account of the user. A corresponding function program can be directly embedded into the application by an application developer. The STB sends, using the WiFi network, an authentication request of an application C to all terminals connected to the WiFi network, where the authentication request is a message requesting for login permission. The application designated by the operator can receive this message and can send, to the STB, an application account that is used in the mobile terminal B and that is associated with the video service account. Such a function may be implemented using the designated APP in the mobile phone. For example, the user B installs the application designated by the operator in the tablet computer of the user B. When logging in to the application, the user B chooses to associate a MicroBlog account of the user B and authorizes the MicroBlog account. Therefore, the user B may log in to a server using an account of the designated application of the user B, or may log in to a server using the MicroBlog account of the user B. The STB broadcasts, using the WiFi network, a request for authenticating MicroBlog by the designated application, and the mobile terminal B in which the designated application of the operator is installed receives the authentication request, identifies the MicroBlog account associated by the user B, and sends the MicroBlog account of the user B to the STB. The STB searches, according to the MicroBlog account of the user B, the foregoing previously established correspondence table for a service account and a password that are corresponding to the MicroBlog account, where the relationship table may be stored in the server, or may be stored in the STB. Whether the set top box searches the server, or a memory in the STB, or both the server and the STB for the correspondence table is preset by the operator. The operator may set a corresponding program in the STB to search both or either of the server and the STB for the relationship table. This technical solution is based on an association between a service account of a user and an account of another application commonly used by the user. A STB can more easily obtain a terminal identifier of a mobile terminal of a user using this simple association, and further implement rapid service account search and login. MicroBlog is used only as an example in this case. Accounts of all APPs commonly used by a user (for example, QQ, Baidu, Taobao, and WeChat) may be equivalent or replaced, and all principles of technical implementation are also equivalent. Examples are not provided one by one in this application document.


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 FIG. 4. A user of the mobile terminal D has not registered a service account. Although the mobile terminal D can receive an ARP message broadcast by the STB, the STB cannot find a service account in the correspondence table even if the STB can obtain a MAC address of the mobile terminal D, thereby causing a login failure. According to this technical solution, benefits and use experience of a user who has registered a service account can be ensured, and an opportunistic behavior of a user who has not registered a service account can be avoided. Optionally, if a corresponding application provided or designated by the operator is not installed in a mobile terminal of a user, the mobile terminal may not respond to broadcasting of a STB.


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 FIG. 6, FIG. 6 is an account login apparatus according to an embodiment of the present disclosure. The apparatus may be a STB or a product similar to a STB. The apparatus 200 includes an obtaining module 201 configured to, when the apparatus and a mobile terminal access a same wireless network, obtain a terminal identifier of the mobile terminal, where the obtaining module may be implemented by a common wireless transceiver module, and a corresponding transceiver mode may be controlled and implemented by a specific application provided by an operator; a searching module 202 configured to search, according to the terminal identifier obtained by the obtaining module 201, 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 searching module may include a software package having a set of functional program instructions, for example, may be implemented by a specific application provided by the operator; and may be stored in a memory and implemented by a specific chip or a processor; and a login module 203 configured to, if the searching module 202 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, where the login module may also include a software package having a set of functional program instructions, for example, may be implemented by a specific application provided by the operator; and may be stored in a memory and implemented by a specific chip or a processor.


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 FIG. 7, FIG. 7 is a schematic structural diagram of an account login device according to an embodiment of the present disclosure. The device 300 includes a processor 301 configured to generate a corresponding operation control signal, send the operation control signal to a corresponding component of a computation processing device, and read and process data in software, especially read and process data and a program in a memory 302, so that function modules of the device 300 perform corresponding functions, so as to control the corresponding component to perform an action according to a requirement of an instruction; the memory 302 configured to store a program and various types of data, and mainly store software units such as an operating system, an application, and a function instruction, or a subset of the software units, or an extended set of the software units, where the memory 302 may further include a non-volatile random access memory, provide the processor 301 with a resource for managing hardware, software, and data in the computation processing device, and support controlling the software and the application; and a transceiver 303 configured to collect, obtain, or send information, and configured to transfer information between modules.


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 FIG. 4 and FIG. 5.


Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a system of a STB according to an embodiment of the present disclosure. The STB can implement all methods that may be implemented in the foregoing embodiments. The STB mainly includes a media processor, a local memory, an external memory interface, a network interface module, a universal external interface module, an audio/video output module, and a power module. The media processor usually selects a dedicated STB decoding chip as a main control central processing unit (CPU). The local memory can use, for example, a 32-bit double data rate (DDR) memory for system running and audio/video data storage. The external memory interface provides support for various peripheral storage devices including a Flash and a read-only memory (ROM). The network interface module is configured to implement functions of receiving and transmitting IP data and an audio/video stream. The audio/video output module is configured to complete a function of outputting an audio/video signal. The power module is responsible for supplying power to a chip and a whole system. The universal external interface module may be configured to implement a function of controlling signal transmission of all function modules by a CPU.


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.

Claims
  • 1. An account login method, comprising: obtaining, by a set top box (STB), a terminal identifier of a mobile terminal using a wireless network, wherein both the STB and the mobile terminal access the wireless network;searching, by the STB according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, wherein the relationship table comprises a correspondence between a terminal identifier and each of a service account and a password; andlogging in to, by the STB, a content server using the service account and the password that are corresponding to the terminal identifier when the STB finds the service account and the password that are corresponding to the terminal identifier.
  • 2. The method according to claim 1, wherein the terminal identifier is a media access control (MAC) address of the mobile terminal, wherein the relationship table comprises a correspondence between a MAC address and each of a service account and a password, wherein obtaining, by the STB, the terminal identifier of the mobile terminal using the wireless network comprises sending, by the STB, an Address Resolution Protocol (ARP) request to the mobile terminal using the wireless network, wherein the ARP request is used to instruct the mobile terminal to send the MAC address of the mobile terminal to the STB, and wherein searching, by the STB according to the terminal identifier, the relationship table for the service account and the password that are corresponding to the terminal identifier comprises searching, by the STB according to the MAC address of the mobile terminal, the relationship table for a service account and a password that are corresponding to the MAC address of the mobile terminal.
  • 3. The method according to claim 2, wherein the relationship table is stored in an authentication server or stored in the STB.
  • 4. The method according to claim 1, wherein the terminal identifier is an account of an application A being used by the mobile terminal, wherein the relationship table comprises a correspondence between the account of the application A and each of a service account and a password, wherein obtaining, by the STB, the terminal identifier of the mobile terminal using the wireless network comprises sending, by the STB, an authentication request of the application A to the mobile terminal using the wireless network, wherein the authentication request of the application A is used to instruct the mobile terminal to send, to the STB, the account of the application A being used by the mobile terminal, and wherein searching, by the STB according to the terminal identifier, the relationship table for the service account and the password that are corresponding to the terminal identifier comprises searching, by the STB according to the account of the application A being used by the mobile terminal, the relationship table for a service account and a password that are corresponding to the account of the application A being used by the mobile terminal.
  • 5. The method according to claim 4, wherein the relationship table is stored in an authentication server or stored in the STB.
  • 6. The method according to claim 1, further comprising skipping performing, by the STB, login when the STB does not find the service account and the password that are corresponding to the terminal identifier.
  • 7. The method according to claim 1, further comprising skipping performing, by the STB, login again using the service account corresponding to the terminal identifier when the STB finds the service account and the password that are corresponding to the terminal identifier, and when the service account corresponding to the terminal identifier is in a logged-in state in the STB.
  • 8. The method according to claim 1, wherein the STB allows simultaneous login of multiple service accounts to the content server, and allows the multiple service accounts to be online simultaneously.
  • 9. The method according to claim 1, further comprising performing an offline operation on the service account corresponding to the terminal identifier when the terminal identifier is not obtained again within a predetermined time after the STB performs login using the service account corresponding to the terminal identifier.
  • 10. An account login apparatus, comprising: a memory storing executable instructions; anda processor coupled to the memory and configured to: obtain a terminal identifier of a mobile terminal when the apparatus and the mobile terminal access a same wireless network;search, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, wherein the relationship table comprises a correspondence between a terminal identifier and each of a service account and a password; andlog in to a content server using the service account and the password that are corresponding to the terminal identifier when finding the service account and the password that are corresponding to the terminal identifier.
  • 11. The apparatus according to claim 10, wherein the terminal identifier is a media access control (MAC) address of the mobile terminal, wherein the relationship table comprises a correspondence between a MAC address and each of a service account and a password, wherein the processor is further configured to: send an Address Resolution Protocol (ARP) request to the mobile terminal using the same wireless network, wherein the ARP request is used to instruct the mobile terminal to send the MAC address of the mobile terminal to the processor; andsearch, according to the MAC address, of the mobile terminal, the relationship table for a service account and a password that are corresponding to the MAC address of the mobile terminal.
  • 12. The apparatus according to claim 11, wherein the relationship table is stored in an authentication server, or wherein the relationship table is stored in the memory.
  • 13. The apparatus according to claim 10, wherein the terminal identifier is an account of an application A being used by the mobile terminal, wherein the relationship table comprises a correspondence between the account of the application A and each of a service account and a password, and wherein the processor is further configured to: send an authentication request of the application A to the mobile terminal using the same wireless network, wherein the authentication request of the application A is used to instruct the mobile terminal to send the account of the application A being used by the mobile terminal to the processor; andsearch, according to the account of the application A being used by the mobile terminal, the relationship table for a service account and a password that are corresponding to the account of the application A being used by the mobile terminal.
  • 14. The apparatus according to claim 13, wherein the relationship table is stored in an authentication server, or wherein the relationship table is stored in the memory.
  • 15. The apparatus according to claim 10, wherein the processor skips performing login when not finding the service account and the password that are corresponding to the terminal identifier.
  • 16. The apparatus according to claim 10, wherein the processor no longer performs login again using the service account corresponding to the terminal identifier when finding the service account and the password that are corresponding to the terminal identifier, and when the service account corresponding to the terminal identifier is in a logged-in state.
  • 17. The apparatus according to claim 10, wherein the processor allows simultaneous login of multiple service accounts to the content server, and allows the multiple service accounts to be online simultaneously.
  • 18. The apparatus according to claim 10, wherein the processor performs an offline operation on the service account corresponding to the terminal identifier when the processor does not obtain the terminal identifier again within a predetermined time after performing login using the service account corresponding to the terminal identifier.
  • 19. An account login device, comprising: a processor,a memory configured to store a program and an instruction,a transceiver, anda bus system connecting the processor, the memory, and the transceiver, the memory is, wherein the processor is configured to: control the transceiver to obtain a terminal identifier of a mobile terminal that accesses a same wireless network as the device;search, according to the terminal identifier, a relationship table for a service account and a password that are corresponding to the terminal identifier, wherein the relationship table comprises a correspondence between a terminal identifier and each of a service account and a password, and wherein the relationship table is stored in the memory or an authentication server; andlog in to a content server using the service account and the password that are corresponding to the terminal identifier when the service account and the password that are corresponding to the terminal identifier are found.
Priority Claims (1)
Number Date Country Kind
201510808831.6 Nov 2015 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

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.

Continuations (1)
Number Date Country
Parent PCT/CN2016/080999 May 2016 US
Child 15406893 US