[go: up one dir, main page]

CN109962894B - Method for opening set-top box service - Google Patents

Method for opening set-top box service Download PDF

Info

Publication number
CN109962894B
CN109962894B CN201711430934.9A CN201711430934A CN109962894B CN 109962894 B CN109962894 B CN 109962894B CN 201711430934 A CN201711430934 A CN 201711430934A CN 109962894 B CN109962894 B CN 109962894B
Authority
CN
China
Prior art keywords
top box
service information
user
service
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711430934.9A
Other languages
Chinese (zh)
Other versions
CN109962894A (en
Inventor
汪海明
唐鑫
胡晓泽
侯傲霜
范小娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Group Zhejiang Co Ltd
China Mobile Communications Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Zhejiang Co Ltd, China Mobile Communications Corp filed Critical China Mobile Group Zhejiang Co Ltd
Priority to CN201711430934.9A priority Critical patent/CN109962894B/en
Publication of CN109962894A publication Critical patent/CN109962894A/en
Application granted granted Critical
Publication of CN109962894B publication Critical patent/CN109962894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种机顶盒业务开通的方法。所述方法包括接收由终端发送的关联请求包括用户标识和机顶盒标识,机顶盒标识通过终端向机顶盒发送标识请求,由机顶盒将机顶盒标识发送给所述终端;若在存储的业务信息集中找到包含用户标识的业务信息,则将机顶盒标识存入所述业务信息中;接收机顶盒发送的注册请求包括机顶盒标识;在业务信息集中找到包含机顶盒标识的业务信息,向机顶盒发送注册信息包括业务信息中的用户标识和密码,以使机顶盒存储用户标识和密码,本发明实施例通过终端采集机顶盒的机顶盒标识,将机顶盒标识和用户标识在云平台进行绑定,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。

Figure 201711430934

The embodiment of the present invention provides a method for opening a set-top box service. The method includes receiving an association request sent by a terminal including a user identity and a set-top box identity, the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal; the service information, then store the set-top box identification in the service information; the registration request sent by the receiver top box includes the set-top box identification; find the service information containing the set-top box identification in the service information set, and send the registration information to the set-top box including the user identification in the service information and password, so that the set-top box stores the user ID and password, the embodiment of the present invention collects the set-top box ID of the set-top box through the terminal, and binds the set-top box ID and the user ID on the cloud platform, so as to realize the binding on the set-top box, which is more convenient and convenient. Quickly and accurately realize the business opening of the set-top box.

Figure 201711430934

Description

一种机顶盒业务开通的方法A method for opening a set-top box service

技术领域technical field

本发明实施例涉及互联网技术领域,尤其涉及一种机顶盒业务开通的方法。Embodiments of the present invention relate to the field of Internet technologies, and in particular, to a method for activating a set-top box service.

背景技术Background technique

互联网电视或交互式网络电视(Internet Protocol Television,IPTV)业务在开通时,由装维人员根据工单信息安装机顶盒,并通过遥控器输入用户名、密码进行身份认证,认证通过后服务端根据机顶盒上报的机顶盒识别码(STBID)和用户标识进行业务注册。When the Internet TV or Internet Protocol Television (IPTV) service is activated, the installation and maintenance personnel install the set-top box according to the work order information, and enter the user name and password through the remote control for identity authentication. The reported set-top box identification code (STBID) and user ID are used for service registration.

目前,IPTV盒端的业务开通已可实现自动开通,所述零配置自动开通的方法具体为,用户开户BOSS把开户信息同步到盒端管理云平台,云平台生成一条激活任务,用户首次开机,机顶盒向盒端管理云平台上报引导请求,由于机顶盒STBID尚未认证注册,故盒端管理云平台下发激活任务,机顶盒收到后提示用户输入IPTV账号等信息,盒端管理云平台收到后下发业务账号、密码和认证URL,并建立业务账号与STBID的注册关系。At present, the service opening of the IPTV box can be automatically opened. The method for automatic opening with zero configuration is as follows: the user account opening BOSS synchronizes the account opening information to the box management cloud platform, the cloud platform generates an activation task, the user starts the first time, the set-top box Report the boot request to the box-end management cloud platform. Since the STBID of the set-top box has not been authenticated and registered, the box-end management cloud platform issues the activation task. After the set-top box receives it, the user is prompted to enter the IPTV account and other information, and the box-end management cloud platform sends it after receiving it. Business account, password and authentication URL, and establish the registration relationship between business account and STBID.

现有技术需要装维人员上门安装流程长,用户体验差,机顶盒开通时需装维人员手工输入用户名密码,效率低、容易出错。The prior art requires installation and maintenance personnel to have a long door-to-door installation process and poor user experience. When the set-top box is activated, the installation and maintenance personnel need to manually input the user name and password, which is inefficient and prone to errors.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种机顶盒业务开通的方法,用以解决现有技术中需要装维人员上门安装流程长,用户体验差,需手工输入用户名密码,效率低、容易出错。The embodiments of the present invention provide a method for activating a set-top box service, which is used to solve the problem that the prior art requires installation and maintenance personnel to have a long door-to-door installation process, poor user experience, and manual input of user name and password, which is inefficient and prone to errors.

第一方面,本发明实施例提供了一种机顶盒业务开通的方法,包括:In a first aspect, an embodiment of the present invention provides a method for activating a set-top box service, including:

接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;Receive an association request sent by the terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal. ;

若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;If the service information including the user identifier is found in the stored service information set, wherein the service information at least includes the user identifier and the password, then the set-top box identifier is stored in the service information;

接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;receiving a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identifier;

在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Find service information including the set-top box identifier in the service information set, and send registration information to the set-top box, where the registration information at least includes the user ID and password in the service information, so that the set-top box stores the set-top box. User ID and password.

第二方面,本发明实施例提供了另一种机顶盒业务开通的方法,包括:In a second aspect, an embodiment of the present invention provides another method for activating a set-top box service, including:

接收由终端发送的标识请求;Receive the identification request sent by the terminal;

将机顶盒标识发送给所述终端,以使所述终端将存储的用户标识和所述机顶盒标识发送给云平台,若所述云平台在存储的业务信息集中找到了包含有所述用户标识的业务信息,所述业务信息至少包含有所述用户标识和密码,则将所述机顶盒标识保存到所述业务信息中;Sending the set-top box identification to the terminal, so that the terminal sends the stored user identification and the set-top box identification to the cloud platform, if the cloud platform finds a service containing the user identification in the stored service information set information, the service information contains at least the user ID and the password, then the set-top box ID is saved in the service information;

向所述云平台发送注册请求,其中所述注册请求至少包括所述机顶盒标识,以使所述云平台在所述业务信息集中找到包含有所述机顶盒标识的业务信息,并回复所述业务信息中的用户标识和密码;Send a registration request to the cloud platform, wherein the registration request includes at least the set-top box identification, so that the cloud platform can find the service information containing the set-top box identification in the service information set, and reply to the service information User ID and password in ;

存储接收到的用户标识和密码。Stores the received user ID and password.

第三方面,本发明实施例提供了又一种机顶盒业务开通的方法,包括:In a third aspect, an embodiment of the present invention provides another method for activating a set-top box service, including:

向机顶盒发送标识请求;Send an identification request to the set-top box;

接收由所述机顶盒发送的机顶盒标识;receiving a set-top box identifier sent by the set-top box;

向云平台发送关联请求,其中所述关联请求至少包括用户标识和所述机顶盒标识,以使所述云平台将所述机顶盒标识存储到包含所述用户标识的业务信息中,其中所述业务信息还包括密码,此后,若所述云平台接收到所述机顶盒发送的注册请求,所述注册请求至少包括所述机顶盒标识,则所述云平台向所述机顶盒发送注册信息,所述注册信息至少包括所述业务信息中的用户标识和密码。Send an association request to the cloud platform, wherein the association request includes at least a user identity and the set-top box identity, so that the cloud platform stores the set-top box identity into service information containing the user identity, wherein the service information Also includes a password, and thereafter, if the cloud platform receives a registration request sent by the set-top box, and the registration request at least includes the set-top box identifier, the cloud platform sends registration information to the set-top box, and the registration information at least Including the user ID and password in the service information.

第四方面,本发明实施例还提供了一种电子设备,包括:In a fourth aspect, an embodiment of the present invention further provides an electronic device, including:

处理器、存储器、通信接口和总线;其中,processors, memories, communication interfaces and buses; where,

所述处理器、存储器、通信接口通过所述总线完成相互间的通信;The processor, the memory, and the communication interface communicate with each other through the bus;

所述通信接口用于该电子设备的通信设备之间的信息传输;The communication interface is used for information transmission between communication devices of the electronic device;

所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如下方法:The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the following methods:

接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;Receive an association request sent by the terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal. ;

若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;If the service information including the user identifier is found in the stored service information set, wherein the service information at least includes the user identifier and the password, then the set-top box identifier is stored in the service information;

接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;receiving a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identifier;

在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Find service information including the set-top box identifier in the service information set, and send registration information to the set-top box, where the registration information at least includes the user ID and password in the service information, so that the set-top box stores the set-top box. User ID and password.

第五方面,本发明实施例还提供了一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下方法:In a fifth aspect, an embodiment of the present invention also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following method is implemented:

接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;Receive an association request sent by the terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal. ;

若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;If the service information including the user identifier is found in the stored service information set, wherein the service information at least includes the user identifier and the password, then the set-top box identifier is stored in the service information;

接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;receiving a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identifier;

在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Find service information including the set-top box identifier in the service information set, and send registration information to the set-top box, where the registration information at least includes the user ID and password in the service information, so that the set-top box stores the set-top box. User ID and password.

本发明实施例提供的机顶盒业务开通的方法,通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In the method for opening a set-top box service provided by the embodiment of the present invention, the set-top box identity is collected by the terminal to associate the set-top box identity with the user identity, and then the set-top box identity and the user identity are bound on the cloud platform, and finally the set-top box sends a registration request. The corresponding user ID and password are obtained, and the binding on the set-top box is realized, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

附图说明Description of drawings

图1为本发明实施例的机顶盒业务开通的方法流程图;1 is a flowchart of a method for opening a set-top box service according to an embodiment of the present invention;

图2为本发明实施例的另一机顶盒业务开通的方法流程图;2 is a flowchart of a method for opening another set-top box service according to an embodiment of the present invention;

图3为本发明实施例的再一机顶盒业务开通的方法流程图;FIG. 3 is a flow chart of another method for opening a set-top box service according to an embodiment of the present invention;

图4为本发明实施例的还一机顶盒业务开通的方法流程图;FIG. 4 is a flowchart of a method for further opening a set-top box service according to an embodiment of the present invention;

图5为本发明实施例的又一机顶盒业务开通的方法流程图;FIG. 5 is a flowchart of another method for opening a set-top box service according to an embodiment of the present invention;

图6为本发明实施例的用于机顶盒业务开通的云平台结构示意图;FIG. 6 is a schematic structural diagram of a cloud platform for provisioning a set-top box service according to an embodiment of the present invention;

图7为本发明实施例的用于机顶盒业务开通的机顶盒结构示意图;FIG. 7 is a schematic structural diagram of a set-top box for opening a set-top box service according to an embodiment of the present invention;

图8为本发明实施例的用于机顶盒业务开通的终端结构示意图;FIG. 8 is a schematic structural diagram of a terminal used for opening a set-top box service according to an embodiment of the present invention;

图9为本发明实施例的电子设备结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例主要涉及到的装置至少包括有机顶盒、云平台和终端,其中所述机顶盒中至少存储有与所述机顶盒唯一对应的机顶盒标识,所述云平台主要起到一个数据存储的作用,将所有的业务信息保存在业务信息集中,所述终端可以是安装有用户手机或平板电脑等设备上的APP,是基于智能移动终端的一款软件应用,该应用具备电视遥控、游戏操纵、节目单搜索、电视推屏等功能。The apparatus mainly involved in the embodiment of the present invention includes at least a set-top box, a cloud platform and a terminal, wherein at least a set-top box identifier uniquely corresponding to the set-top box is stored in the set-top box, and the cloud platform mainly plays a role of data storage, All business information is stored in the business information set. The terminal can be an APP installed on a device such as a user's mobile phone or a tablet computer. It is a software application based on an intelligent mobile terminal. The application has TV remote control, game manipulation, program Single search, TV push screen and other functions.

图1为本发明实施例的机顶盒业务开通的方法流程图,如图1所示,所述方法包括:FIG. 1 is a flowchart of a method for activating a set-top box service according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:

步骤S01、接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端。Step S01, receiving an association request sent by a terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the set-top box. the terminal.

当用户收到新的机顶盒在使用机顶盒前需要对机顶盒进行账户绑定操作来激活新的机顶盒,之后该机顶盒才成正常使用。需要先将开通了IPTV业务时的用户标识和密码与所述机顶盒的机顶盒标识在云平台和机顶盒本身进行绑定操作。When a user receives a new set-top box, before using the set-top box, he needs to perform an account binding operation on the set-top box to activate the new set-top box, and then the set-top box can be used normally. It is necessary to bind the user ID and password when the IPTV service is activated and the set-top box ID of the set-top box on the cloud platform and the set-top box itself.

用户需要先通过终端向所述机顶盒发送标识请求。而所述机顶盒在收到该标识请求后会提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述终端,所述机顶盒标识为该机顶盒的唯一识别码,例如STBID。所述终端在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识存入关联请求中,并将所述关联请求发送给云平台。所述用户标识可以是用户在开通IPTV业务时在营业网点或者网上办理时设置的数字与英文编号,例如,Y123,也可以是用户的姓名或者邮箱等,在此不作具体限定。The user needs to send an identification request to the set-top box through the terminal first. After receiving the identification request, the set-top box will extract the stored set-top box identification, and send the set-top box identification to the terminal, where the set-top box identification is the unique identification code of the set-top box, such as STBID. After receiving the set-top box identification, the terminal stores the set-top box identification and the pre-stored or acquired user identification with the IPTV service opened in the association request, and sends the association request to the cloud platform. The user identifier may be the number and English number set by the user at a business outlet or online when the user activates the IPTV service, for example, Y123, or the user's name or email address, etc., which are not specifically limited here.

步骤S02、若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;Step S02, if the service information containing the user identifier is found in the stored service information set, wherein the service information at least includes the user identifier and the password, then the set-top box identifier is stored in the service information;

所述云平台根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The cloud platform searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述云平台没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the cloud platform does not find the service information corresponding to the user identifier in the service information set, it is determined that the user identifier has not activated the relevant IPTV service.

如果在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在云平台实现绑定。而若所述业务信息中已经存在机顶盒标识,则可以用新的机顶盒标识将已经存在的机顶盒标识进行覆盖,或者也可以在一个业务信息中同时保存多个机顶盒标识,具体可以根据IPTV业务平台的需要来进行设置,在此不作具体限定,但为了表述方便在下面的实施例中都只以一个业务信息最多只包含一个机顶盒标识为例进行举例说明。If the service information containing the user identity is found in the service information set, the set-top box identity in the association information is stored in the service information, so that the set-top box identity is associated with the user identity, Implement binding on the cloud platform. However, if the set-top box identifier already exists in the service information, the existing set-top box identifier can be overwritten with a new set-top box identifier, or multiple set-top box identifiers can be simultaneously stored in one service information. It needs to be set, which is not specifically limited here, but for the convenience of expression, in the following embodiments, only one service information only contains at most one set-top box identifier as an example for illustration.

步骤S03、接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;Step S03, receiving a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identifier;

所述机顶盒首次开机,完成网络设置后,会启动认证程序,例如,安卓安装包(APK),若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,例如每隔几秒或者几十秒,向所述云平台发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。若所述机顶盒在预设的时间阈值内,例如10分钟,没有收到需要的与所述机顶盒标识的相关绑定信息,为了缓解所述云平台的查询压力,所述机顶盒会停止发送注册请求。The set-top box is powered on for the first time, and after completing the network settings, it will start the authentication program, for example, the Android installation package (APK), if it is found that its own set-top box logo is not bound with any user logo, it will be obtained periodically, such as every other time. In a few seconds or several tens of seconds, a registration request is sent to the cloud platform, wherein the registration request at least includes the set-top box identifier. If the set-top box does not receive the required binding information related to the set-top box identifier within a preset time threshold, such as 10 minutes, the set-top box will stop sending registration requests in order to ease the query pressure on the cloud platform .

所述机顶盒向所述云平台发送注册请求的时间,也可以是机顶盒在将所述机顶盒标识发送给终端后,等待一个适当的时间阈值后,例如1分钟。另一种方式是所述云平台在实现机顶盒标识和用户标识的绑定后,主动向所述机顶盒询问是否需要注册信息,然后若所述机顶盒判定需要注册信息,则再向所述云平台发送注册请求。当然如此,就需要云平台在向机顶盒询问时预先知道所述机顶盒的网络地址,即所述业务信息中可能还会需要加入机顶盒网络地址,例如,宽带账号等。The time when the set-top box sends the registration request to the cloud platform may also be after the set-top box sends the set-top box identifier to the terminal and waits for an appropriate time threshold, such as 1 minute. Another way is that the cloud platform actively asks the set-top box whether registration information is required after realizing the binding of the set-top box identity and the user identity, and then if the set-top box determines that registration information is required, it will send a message to the cloud platform. Registration request. Of course, the cloud platform needs to know the network address of the set-top box in advance when querying the set-top box, that is, the service information may also need to add the network address of the set-top box, such as a broadband account.

在此不对机顶盒发送注册请求的时间或者方式作具体的限定,但为了表述方便,在下面的实施例中都只以所述机顶盒周期性发送注册请求为例进行举例说明。The time or manner in which the set-top box sends the registration request is not specifically limited here, but for the convenience of expression, in the following embodiments, only the set-top box periodically sends the registration request as an example for illustration.

步骤S04、在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Step S04, find the service information including the set-top box identification in the service information set, and send registration information to the set-top box, wherein the registration information at least includes the user ID and password in the service information, so that the set-top box The user ID and password are stored.

所述云平台在接收到一个注册请求后,会提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the cloud platform will extract the set-top box identifier in the registration request, and then search the service information set whether there is service information including the set-top box identifier.

若没有找到需要的业务信息,则所述云平台可以向所述机顶盒发送失败信息或者不发送任何消息。If the required service information is not found, the cloud platform may send failure information or no message to the set-top box.

而若找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给所述机顶盒。所述机顶盒会将接收到的用户标识和密码进行存储以实现在机顶盒的绑定。If the service information corresponding to the set-top box identifier is found, the user identifier and password in the service information are extracted and stored in the registration information, and the registration information is sent to the set-top box. The set-top box will store the received user ID and password to realize binding on the set-top box.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。The embodiment of the present invention associates the set-top box identification with the user identification by collecting the set-top box identification of the set-top box by the terminal, and then binds the set-top box identification and the user identification on the cloud platform, and finally the set-top box obtains the corresponding user identification and password through a registration request , which realizes the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图2为本发明实施例的另一机顶盒业务开通的方法流程图,进一步地,所述业务信息还包括所述终端的终端标识,相应地,如图2所示,所述方法在步骤S01前,还包括:FIG. 2 is a flowchart of another method for activating a set-top box service according to an embodiment of the present invention. Further, the service information further includes a terminal identifier of the terminal. Correspondingly, as shown in FIG. 2 , the method is performed before step S01. ,Also includes:

步骤S05、接收由所述终端发送的查询请求,其中所述查询请求至少包括所述终端标识;Step S05, receiving a query request sent by the terminal, wherein the query request at least includes the terminal identifier;

在云平台存储的业务信息中还包括终端标识,例如手机号,该终端标识是用户在办理IPTV业务时设置的,用于将该终端标识和办理IPTV业务时的用户标识在云平台进行关联。The service information stored in the cloud platform also includes a terminal identifier, such as a mobile phone number. The terminal identifier is set by the user when handling the IPTV service, and is used to associate the terminal identifier with the user identity when handling the IPTV service on the cloud platform.

对于新办理的IPTV业务,所述终端还并没有获取到相关的用户标识。当用户开启终端时,所述终端会先向所述云平台发送一个查询请求,其中所述查询请求至少包括所述终端标识,该查询请求是为了查询在所述云平台的业务信息中是否存在与所述终端标识相关联的待绑定业务信息。当然该查询请求也可以是用户主动通过终端向所述云平台发送。For the newly handled IPTV service, the terminal has not yet acquired the relevant user identifier. When the user turns on the terminal, the terminal will first send a query request to the cloud platform, wherein the query request includes at least the terminal identifier, and the query request is to query whether the service information of the cloud platform exists. Service information to be bound associated with the terminal identifier. Of course, the query request may also be actively sent by the user to the cloud platform through the terminal.

步骤S06、若在存储的业务信息集中找到包含有所述终端标识的业务信息,则将所述业务信息中的用户标识发送给所述终端。Step S06: If the service information including the terminal identifier is found in the stored service information set, send the user identifier in the service information to the terminal.

云平台在接到所述查询请求后会在所述业务信息中查找是否存在包含所述终端标识的业务信息,且该业务信息处于未绑定状态,即该业务信息中不包括机顶盒标识。若没有发现需要的业务信息则向所述终端发送无业务信息或者不发送任何信息。而若发现需要的业务信息,则将该业务信息中的用户标识发送给所述终端。所述终端将接收到的用户标识进行存储,并同时向所述机顶盒发送所述标识请求。After receiving the query request, the cloud platform will check in the service information whether there is service information including the terminal identifier, and the service information is in an unbound state, that is, the service information does not include the set-top box identifier. If the required service information is not found, no service information or no information is sent to the terminal. And if the required service information is found, the user identifier in the service information is sent to the terminal. The terminal stores the received user identification, and simultaneously sends the identification request to the set-top box.

在上述终端和云平台的交互过程中,由于在实际应用中两者处于不同的网络和平台,所以可能会需要在两者之间加入一个服务端来转换或传递相互之间的交互信息,具体还是需要根据实际的情况来进行设定,在此不作具体的限定。为了表述方便、在下面的实施例中都以不需要该服务端为例进行举例说明。In the interaction process between the above terminal and cloud platform, since the two are in different networks and platforms in practical applications, it may be necessary to add a server between the two to convert or transmit mutual information. It still needs to be set according to the actual situation, and no specific limitation is made here. For convenience of expression, in the following embodiments, the server is not required as an example for illustration.

本发明实施例通过在云平台将用户标识和终端标识进行关联,使终端能够通过终端标识获取到未绑定的用户标识,再通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In the embodiment of the present invention, by associating the user identification and the terminal identification on the cloud platform, the terminal can obtain the unbound user identification through the terminal identification, and then associate the set-top box identification with the user identification by collecting the set-top box identification by the terminal. , and then bind the set-top box ID and user ID on the cloud platform, and finally the set-top box obtains the corresponding user ID and password through the registration request, which realizes the binding on the set-top box, which is more convenient, fast and accurate. business opened.

图3为本发明实施例的再一机顶盒业务开通的方法流程图,如图3所示,所述方法在步骤S04后还包括:FIG. 3 is a flowchart of another method for opening a set-top box service according to an embodiment of the present invention. As shown in FIG. 3 , the method further includes after step S04:

步骤S07、接收由机顶盒发送的认证请求,其中所述认证请求至少包所述机顶盒保存的用户标识和密码;Step S07, receiving the authentication request sent by the set-top box, wherein the authentication request at least includes the user ID and the password saved by the set-top box;

当所述机顶盒完成绑定后,就可以向所述云平台发起认证请求,其中所述认证请求至少包括有存储的用户标识和密码。After the set-top box completes the binding, an authentication request may be initiated to the cloud platform, wherein the authentication request at least includes the stored user ID and password.

步骤S08、若在所述业务信息集中找到包含有所述用户标识和密码的业务信息,则向所述机顶盒回复认证成功信息,以使所述机顶盒开始正常运行。Step S08: If the service information including the user ID and the password is found in the service information set, return authentication success information to the set-top box, so that the set-top box starts to operate normally.

所述云平台在接到认证请求后会对该认证请求中的用户标识和密码进行匹配,可以是在业务信息集中查找是否存在包含两者的业务信息。若不存在则认为认证失败,向所述机顶盒发送认证失败信息。而若找到了需要的业务信息,则判定认证成功,向所述机顶盒发送认证成功信息。所述机顶盒只有在收到认证成功信息后才算是成功被激活,进行可以正常执行IPTV业务。After receiving the authentication request, the cloud platform will match the user ID and the password in the authentication request, which may be to check whether there is service information including both in the service information set. If it does not exist, it is considered that the authentication fails, and the authentication failure information is sent to the set-top box. If the required service information is found, it is determined that the authentication is successful, and authentication success information is sent to the set-top box. The set-top box can be successfully activated only after receiving the authentication success information, so that the IPTV service can be normally executed.

所述机顶盒在被成功绑定后,每次开启都会需要进行上述认证过程,并在收到认证成功信息后开始正常运行。After the set-top box is successfully bound, the above-mentioned authentication process needs to be performed each time it is turned on, and starts to operate normally after receiving the authentication success information.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,然后再根据用户标识和密码执行认证过程,从而更加方便、快捷、准确得实现了机顶盒的业务开通。The embodiment of the present invention associates the set-top box identification with the user identification by collecting the set-top box identification of the set-top box by the terminal, and then binds the set-top box identification and the user identification on the cloud platform, and finally the set-top box obtains the corresponding user identification and password through a registration request , realizes the binding on the set-top box, and then performs the authentication process according to the user ID and password, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

基于上述实施例,进一步地,所述业务信息还包括业务状态,相应地,所述若在所述业务信息集中找到包含有所述用户标识和密码的业务信息,则向所述机顶盒回复认证成功信息,以使所述机顶盒开始正常运行,具体为:Based on the above embodiment, further, the service information further includes service status, and accordingly, if the service information including the user ID and the password is found in the service information set, reply to the set-top box that the authentication is successful information to enable the set-top box to start normal operation, specifically:

若在所述业务信息集中找到包含有所述用户标识的密码的业务信息,且所述业务信息中的业务状态为有效,则向所述机顶盒回复谁成功信息,以使所述机顶盒开始正常运行。If the service information containing the password of the user ID is found in the service information set, and the service status in the service information is valid, reply the success information to the set-top box, so that the set-top box starts to run normally .

每个IPTV业务都存在一定的时效性,例如用户订购的时间为一年,则该用户标识相对应的IPTV业务仅在一年内有效。所以在所述业务信息中还需要包括业务状态,该业务状态可以是有效或者无效,也可以是一个状态时间阈值,在此不作具体限定,但为了表述方便、在下面的实施例中都只以所述业务状态为有效或者无效为例进行举例说明。所述云平台需要定期更新该业务状态,例如一天,或者一小时。Each IPTV service has a certain timeliness. For example, if the subscription time of a user is one year, the IPTV service corresponding to the user ID is only valid within one year. Therefore, the business information also needs to include the business status, which can be valid or invalid, or a status time threshold, which is not specifically limited here, but for the convenience of expression, in the following embodiments, only the The service status is valid or invalid as an example for illustration. The cloud platform needs to update the business status regularly, such as one day or one hour.

在机顶盒进行认证过程中,若所述云平台找到了与认证请求相对应的业务信息,则还需要进一步确认该业务信息中包含的业务状态是否有效,若无效则发送认证失败信息,而若有效则发送认成功信息。During the authentication process of the set-top box, if the cloud platform finds the service information corresponding to the authentication request, it is necessary to further confirm whether the service status contained in the service information is valid, if invalid, send authentication failure information, and if valid Then send the confirmation success message.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,并在所述业务信息中加入业务状态来进一步验证业务有有效性,从而更加方便、快捷、准确得实现了机顶盒的业务开通。The embodiment of the present invention associates the set-top box identification with the user identification by collecting the set-top box identification of the set-top box by the terminal, and then binds the set-top box identification and the user identification on the cloud platform, and finally the set-top box obtains the corresponding user identification and password through a registration request , the binding on the set-top box is realized, and the service status is added to the service information to further verify the validity of the service, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

基于上述实施例,进一步地,所述方法还包括:Based on the above embodiment, further, the method further includes:

接收由所述营业系统发送的业务更新信息,其中所述业务更新信息至少包括一条业务信息;receiving service update information sent by the business system, wherein the service update information includes at least one piece of service information;

将所述业务信息存入所述业务信息集中。The service information is stored in the service information set.

当用户新办理IPTV业务或者更新业务信息后,营业系统就会产生与所述用户标识相对应的新的业务信息,所述更新的业务信息可以包括有新的密码、新的业务状态或者新的终端标识等等。所述营业系统会将这些新的业务信息收集后,定期或者即时以业务更新信息的形式发送给所述云平台。所述云平台在收到业务更新信息后,会将其中新的业务信息存入所述业务信息集中。对于已经在业务信息集中存在的与新的业务信息包含相同用户标识的业务信息,例如,新的业务信息中的用户标识为Y123,而旧的业务信息的用户标识也是Y123,则可以采用覆盖或者更新的形式来执行。When the user newly handles the IPTV service or updates the service information, the business system will generate new service information corresponding to the user ID, and the updated service information may include a new password, a new service status or a new Terminal ID, etc. The business system will collect the new business information and send it to the cloud platform in the form of business update information on a regular or instant basis. After receiving the service update information, the cloud platform will store the new service information in the service information set. For the service information that already exists in the service information set and the new service information contains the same user ID, for example, the user ID in the new service information is Y123, and the user ID of the old service information is also Y123, you can use coverage or updated form to execute.

本发明实施例通过营业系统将新的业务信息发送给云平台,然后终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In the embodiment of the present invention, new service information is sent to the cloud platform through the business system, and then the terminal collects the set-top box identification of the set-top box, associates the set-top box identification with the user identification, and then binds the set-top box identification and the user identification on the cloud platform, and finally The set-top box obtains the corresponding user ID and password through the registration request, which realizes the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图4为本发明实施例的还一机顶盒业务开通的方法流程图,如图4所示,所述方法包括:FIG. 4 is a flowchart of another method for opening a set-top box service according to an embodiment of the present invention. As shown in FIG. 4 , the method includes:

步骤S10、接收由终端发送的标识请求。Step S10: Receive an identification request sent by the terminal.

为了激活还没有进行绑定操作的机顶盒,所述机顶盒会接收到用户通过终端发送的标识请求。使机顶盒接收由终端发送的标识请求。In order to activate the set-top box that has not yet performed the binding operation, the set-top box will receive an identification request sent by the user through the terminal. Make the set-top box receive the identification request sent by the terminal.

步骤S11、将机顶盒标识发送给所述终端,以使所述终端将存储的用户标识和所述机顶盒标识发送给云平台,若所述云平台在存储的业务信息集中找到了包含有所述用户标识的业务信息,所述业务信息至少包含有所述用户标识和密码,则将所述机顶盒标识保存到所述业务信息中;Step S11, sending the set-top box identifier to the terminal, so that the terminal sends the stored user identifier and the set-top box identifier to the cloud platform, if the cloud platform finds a set of stored service information that contains the user identifier. The identified service information, the service information contains at least the user ID and the password, then the set-top box ID is stored in the service information;

所述机顶盒在收到该标识请求后会提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述终端,所述机顶盒标识为该机顶盒的唯一识别码。所述终端在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识,存入关联请求中发送给云平台。After receiving the identification request, the set-top box will extract its own set-top box identification stored, and send the set-top box identification to the terminal, where the set-top box identification is the unique identification code of the set-top box. After receiving the set-top box identification, the terminal will store the set-top box identification and the pre-stored or acquired user identification with the IPTV service opened in an association request and send it to the cloud platform.

所述云平台根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The cloud platform searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述云平台没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the cloud platform does not find the service information corresponding to the user identifier in the service information set, it is determined that the user identifier has not activated the relevant IPTV service.

如果在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在云平台实现绑定。If the service information containing the user identity is found in the service information set, the set-top box identity in the association information is stored in the service information, so that the set-top box identity is associated with the user identity, Implement binding on the cloud platform.

步骤S12、向所述云平台发送注册请求,其中所述注册请求至少包括所述机顶盒标识,以使所述云平台在所述业务信息集中找到包含有所述机顶盒标识的业务信息,并回复所述业务信息中的用户标识和密码;Step S12, sending a registration request to the cloud platform, wherein the registration request includes at least the set-top box identifier, so that the cloud platform can find the service information containing the set-top box identifier in the service information set, and reply to all the service information. User ID and password in the business information;

所述机顶盒首次开机,完成网络设置后,会启动认证程序,若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,向所述云平台发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。The set-top box is powered on for the first time, and after completing the network settings, the authentication procedure will be started. If it finds that its own set-top box identity is not bound to any user identity, it will periodically obtain and send a registration request to the cloud platform, wherein the The registration request includes at least the set-top box identifier.

所述云平台在接收到一个注册请求后,会提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the cloud platform will extract the set-top box identifier in the registration request, and then search the service information set whether there is service information including the set-top box identifier.

若没有找到需要的业务信息,则所述云平台可以向所述机顶盒发送失败信息或者不发送任何消息。If the required service information is not found, the cloud platform may send failure information or no message to the set-top box.

而若找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给所述机顶盒。If the service information corresponding to the set-top box identifier is found, the user identifier and password in the service information are extracted and stored in the registration information, and the registration information is sent to the set-top box.

步骤S13、存储接收到的用户标识和密码。Step S13, store the received user ID and password.

所述机顶盒会将接收到的用户标识和密码进行存储以实现在机顶盒的绑定。The set-top box will store the received user ID and password to realize binding on the set-top box.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。The embodiment of the present invention associates the set-top box identification with the user identification by collecting the set-top box identification of the set-top box by the terminal, and then binds the set-top box identification and the user identification on the cloud platform, and finally the set-top box obtains the corresponding user identification and password through a registration request , which realizes the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图5为本发明实施例的又一机顶盒业务开通的方法流程图,如图5所示,所述方法包括:FIG. 5 is a flowchart of another method for opening a set-top box service according to an embodiment of the present invention. As shown in FIG. 5 , the method includes:

步骤S20、向机顶盒发送标识请求;Step S20, sending an identification request to the set-top box;

为了激活还没有进行绑定操作的机顶盒,先由终端向所述机顶盒发送标识请求。In order to activate the set-top box that has not yet performed the binding operation, the terminal first sends an identification request to the set-top box.

步骤S21、接收由所述机顶盒发送的机顶盒标识;Step S21, receiving the set-top box identifier sent by the set-top box;

所述机顶盒在收到该标识请求后会提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述终端,所述机顶盒标识为该机顶盒的唯一识别码。After receiving the identification request, the set-top box will extract its own set-top box identification stored, and send the set-top box identification to the terminal, where the set-top box identification is the unique identification code of the set-top box.

步骤S22、向云平台发送关联请求,其中所述关联请求至少包括用户标识和所述机顶盒标识,以使所述云平台将所述机顶盒标识存储到包含所述用户标识的业务信息中,其中所述业务信息还包括密码,此后,若所述云平台接收到所述机顶盒发送的注册请求,所述注册请求至少包括所述机顶盒标识,则所述云平台向所述机顶盒发送注册信息,所述注册信息至少包括所述业务信息中的用户标识和密码。Step S22, sending an association request to the cloud platform, wherein the association request includes at least a user ID and the set-top box ID, so that the cloud platform stores the set-top box ID in the service information including the user ID, wherein the The service information also includes a password, and thereafter, if the cloud platform receives a registration request sent by the set-top box, and the registration request at least includes the set-top box identifier, the cloud platform sends registration information to the set-top box, and the The registration information includes at least the user ID and password in the service information.

所述终端在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识,存入关联请求中发送给云平台。After receiving the set-top box identification, the terminal will store the set-top box identification and the pre-stored or acquired user identification with the IPTV service opened in an association request and send it to the cloud platform.

所述云平台根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The cloud platform searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述云平台没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the cloud platform does not find service information corresponding to the user ID in the service information set, it is determined that the user ID has not activated the relevant IPTV service.

如果在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在云平台实现绑定。If the service information containing the user identity is found in the service information set, the set-top box identity in the association information is stored in the service information, so that the set-top box identity is associated with the user identity, Implement binding on the cloud platform.

所述机顶盒首次开机,完成网络设置后,会启动认证程序,若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,向所述云平台发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。The set-top box is powered on for the first time, and after completing the network settings, the authentication procedure will be started. If it finds that its own set-top box identity is not bound to any user identity, it will periodically obtain and send a registration request to the cloud platform, wherein the The registration request includes at least the set-top box identifier.

所述云平台在接收到一个注册请求后,会提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the cloud platform will extract the set-top box identifier in the registration request, and then search the service information set whether there is service information including the set-top box identifier.

若没有找到需要的业务信息,则所述云平台可以向所述机顶盒发送失败信息或者不发送任何消息。If the required service information is not found, the cloud platform may send failure information or no message to the set-top box.

而若找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给所述机顶盒。If the service information corresponding to the set-top box identifier is found, the user identifier and password in the service information are extracted and stored in the registration information, and the registration information is sent to the set-top box.

所述机顶盒会将接收到的用户标识和密码进行存储以实现在机顶盒的绑定。The set-top box will store the received user ID and password to realize binding on the set-top box.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。The embodiment of the present invention associates the set-top box identification with the user identification by collecting the set-top box identification of the set-top box by the terminal, and then binds the set-top box identification and the user identification on the cloud platform, and finally the set-top box obtains the corresponding user identification and password through a registration request , which realizes the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

基于上述实施例,进一步地,所述步骤S20和步骤S21具体为:Based on the above embodiment, further, the steps S20 and S21 are specifically:

通过扫码获取所述机顶盒显示的图标,其中所述图标与所述机顶盒标识一一对应;Obtain the icon displayed by the set-top box by scanning the code, wherein the icon corresponds to the set-top box identifier one-to-one;

对所述图标进行解析以得到所述机顶盒标识。The icon is parsed to obtain the set-top box identifier.

所述机顶盒在开机后若判定没有与任何的用户标识进行绑定,则会根据存储的机顶盒标识生成与所述机顶盒标识唯一对应的图标,例中二维码、条码或者随机字符串等,并显示在显示屏上。If the set-top box is determined not to be bound with any user ID after it is turned on, it will generate an icon uniquely corresponding to the set-top box ID according to the stored set-top box ID, such as a two-dimensional code, a barcode or a random character string, etc., and displayed on the display.

而所述终端则会由扫码设备,例如摄像头,将显示屏上的图标进行扫码,并通过对该图票的解析得到了所述机顶盒标识。进而可以将该机顶盒标识和预先获取的用户标识存入关联请求中发送给云平台。The terminal scans the code of the icon on the display screen by a code scanning device, such as a camera, and obtains the set-top box identification by parsing the image ticket. Further, the set-top box identification and the pre-acquired user identification may be stored in the association request and sent to the cloud platform.

本发明实施例通过终端扫码获取机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In the embodiment of the present invention, the set-top box identification of the set-top box is obtained by scanning the terminal code, the set-top box identification is associated with the user identification, the set-top box identification and the user identification are bound on the cloud platform, and finally the set-top box obtains the corresponding user identification through a registration request and password to realize the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图6为本发明实施例的用于机顶盒业务开通的云平台结构示意图,如图6所示,所述云平台包括:第一接收模块10、第一发送模块11和第一存储模块12,其中:FIG. 6 is a schematic structural diagram of a cloud platform for set-top box service provisioning according to an embodiment of the present invention. As shown in FIG. 6 , the cloud platform includes: a first receiving module 10 , a first sending module 11 and a first storage module 12 , wherein :

所述第一接收模块10用于接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;所述第一存储模块12用于若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;所述第一接收模块10还用于接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;所述第一发送模块11用于在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。The first receiving module 10 is configured to receive an association request sent by a terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends an identity request to the set-top box. The set-top box identifier is sent to the terminal; the first storage module 12 is configured to find service information including the user identifier in the stored service information set, wherein the service information at least includes the user identifier and the password, then store the set-top box identification in the service information; the first receiving module 10 is further configured to receive a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identification; the first sending Module 11 is used to find the service information including the set-top box identification in the service information set, and send registration information to the set-top box, wherein the registration information at least includes the user ID and password in the service information, so that the The set-top box stores the user ID and password.

为了激活还没有进行绑定操作的机顶盒,用户先通过终端向所述机顶盒发送标识请求。In order to activate the set-top box that has not yet performed the binding operation, the user first sends an identification request to the set-top box through the terminal.

所述机顶盒在收到该标识请求后会提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述终端,所述机顶盒标识为该机顶盒的唯一识别码。After receiving the identification request, the set-top box will extract its own set-top box identification stored, and send the set-top box identification to the terminal, where the set-top box identification is the unique identification code of the set-top box.

所述终端在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识存入关联请求,并将所述关联通请求中发送给第一接收模块10。所述第一接收模块10会将接收到的所述关联请求发送给第一存储模块12。After receiving the set-top box identification, the terminal will store the set-top box identification and the pre-stored or acquired user identification that has opened the IPTV service in an association request, and send the association request to the first receiving module. 10. The first receiving module 10 will send the received association request to the first storage module 12 .

所述第一存储模块12根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The first storage module 12 searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述第一存储模块12没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the first storage module 12 does not find service information corresponding to the user identifier in the service information set, it is determined that the user identifier has not activated the relevant IPTV service.

如果所述第一存储模块12在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在第一存储模块12实现绑定。If the first storage module 12 finds the service information including the user ID in the service information set, the set-top box ID in the associated information is stored in the service information, so that the set-top box ID and The user identifiers are associated, and binding is implemented in the first storage module 12 .

所述机顶盒首次开机,完成网络设置后,会启动认证程序,若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,向所述第一接收模块10发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。所述第一接收模块10会将接收到的注册请求发送给第一存储模块12。The set-top box is powered on for the first time, and after completing the network settings, the authentication procedure will be started. If it is found that its own set-top box identity is not bound with any user identity, it will periodically obtain and send a registration request to the first receiving module 10. The registration request includes at least the set-top box identifier. The first receiving module 10 will send the received registration request to the first storage module 12 .

所述第一存储模块12在接收到一个注册请求后,从中提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the first storage module 12 extracts the set-top box identifier in the registration request, and then searches the service information set for service information including the set-top box identifier.

若没有找到需要的业务信息,则所述第一存储模块12会可以指示所述第一发送模块11向所述机顶盒发送失败信息或者不发送任何消息。If the required service information is not found, the first storage module 12 may instruct the first sending module 11 to send failure information or not send any message to the set-top box.

而若所述第一存储模块12找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给第一发送模块11,由所述第一发送模块11将所述注册信息发送给所述机顶盒。And if the first storage module 12 finds the service information corresponding to the set-top box identifier, it extracts the user identifier and password in the service information and stores it in the registration information, and sends the registration information to the first Sending module 11, the first sending module 11 sends the registration information to the set-top box.

所述机顶盒会将接收到的用户标识和密码进行存储以实现在机顶盒的绑定。The set-top box will store the received user ID and password to realize binding on the set-top box.

本发明实施例提供的云平台用于执行上述方法,其功能具体参考上述方法实施例,其具体方法流程在此处不再赘述。The cloud platform provided by the embodiment of the present invention is used to execute the above method, and its function refers to the above method embodiment for details, and the specific method flow is not repeated here.

本发明实施例通过终端采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在第一存储模块12进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In the embodiment of the present invention, the set-top box identification is collected by the terminal to associate the set-top box identification with the user identification, and then the set-top box identification and the user identification are bound in the first storage module 12, and finally the set-top box obtains the corresponding user through a registration request. The identification and password realize the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图7为本发明实施例的用于机顶盒业务开通的机顶盒结构示意图,如图7所示,所述机顶盒包括:第二接收模块20、第二发送模块21和第二存储模块22,其中:FIG. 7 is a schematic structural diagram of a set-top box used for opening a set-top box service according to an embodiment of the present invention. As shown in FIG. 7 , the set-top box includes: a second receiving module 20, a second sending module 21 and a second storage module 22, wherein:

所述第二接收模块20用于接收由终端发送的标识请求;所述第二发送模块21用于将机顶盒标识发送给所述终端,以使所述终端将存储的用户标识和所述机顶盒标识发送给云平台,若所述云平台在存储的业务信息集中找到了包含有所述用户标识的业务信息,所述业务信息至少包含有所述用户标识和密码,则将所述机顶盒标识保存到所述业务信息中;所述第二发送模块20还用于向所述云平台发送注册请求,其中所述注册请求至少包括所述机顶盒标识,以使所述云平台在所述业务信息集中找到包含有所述机顶盒标识的业务信息,并回复所述业务信息中的用户标识和密码;所述第二存储模块22用于存储接收到的用户标识和密码。The second receiving module 20 is used to receive the identification request sent by the terminal; the second sending module 21 is used to send the set-top box identification to the terminal, so that the terminal will store the user identification and the set-top box identification. Sent to the cloud platform, if the cloud platform finds the service information containing the user ID in the stored service information set, and the service information at least contains the user ID and the password, then save the set-top box ID to the in the service information; the second sending module 20 is further configured to send a registration request to the cloud platform, wherein the registration request at least includes the set-top box identifier, so that the cloud platform can find the service information set in the set-top box The service information containing the set-top box identification, and the user identification and password in the service information are replied; the second storage module 22 is used for storing the received user identification and password.

为了激活还没有进行绑定操作的机顶盒,用户先通过终端向所述第二接收模块20发送标识请求。In order to activate the set-top box that has not yet performed the binding operation, the user first sends an identification request to the second receiving module 20 through the terminal.

所述第二接收模块20在收到该标识请求后会指示所述第二存储模块22提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述第二发送模块21,并由所述第二发送模块21将所述机顶盒标识发送给所述终端,所述机顶盒标识为该机顶盒的唯一识别码。The second receiving module 20 will instruct the second storage module 22 to extract the stored set-top box identification after receiving the identification request, and send the set-top box identification to the second sending module 21, and send the identification to the second sending module 21. The second sending module 21 sends the set-top box identification to the terminal, where the set-top box identification is the unique identification code of the set-top box.

所述终端在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识共同存入关联请求中,并将所述关联请求发送给云平台。After receiving the set-top box identification, the terminal stores the set-top box identification and the pre-stored or acquired user identification with the IPTV service enabled in the association request, and sends the association request to the cloud platform.

所述云平台根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The cloud platform searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述云平台没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the cloud platform does not find the service information corresponding to the user identifier in the service information set, it is determined that the user identifier has not activated the relevant IPTV service.

如果在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在云平台实现绑定。If the service information containing the user identity is found in the service information set, the set-top box identity in the association information is stored in the service information, so that the set-top box identity is associated with the user identity, Implement binding on the cloud platform.

所述第二存储模块22首次开机时,在完成网络设置后,会启动认证程序,若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,指示所述第二发送模块21向所述云平台发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。When the second storage module 22 is powered on for the first time, after completing the network setting, the authentication procedure will be started. If it is found that its own set-top box identification is not bound with any user identification, it will periodically obtain and instruct the second transmission The module 21 sends a registration request to the cloud platform, wherein the registration request at least includes the set-top box identifier.

所述云平台在接收到一个注册请求后,会提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the cloud platform will extract the set-top box identifier in the registration request, and then search the service information set whether there is service information including the set-top box identifier.

若没有找到需要的业务信息,则所述云平台可以向所述第二接收模块20发送失败信息或者不发送任何消息。If the required service information is not found, the cloud platform may send failure information to the second receiving module 20 or not send any message.

而若找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给所述第二接收模块20。If the service information corresponding to the set-top box identifier is found, the user identifier and password in the service information are extracted and stored in the registration information, and the registration information is sent to the second receiving module 20 .

所述第二接收模块20会将接收到的用户标识和密码发送给所述第二存储模块22,并由所述第二存储模块22进行存储以实现在第二存储模块22的绑定。The second receiving module 20 will send the received user ID and password to the second storage module 22 , and the second storage module 22 will store the received user ID and password to realize the binding in the second storage module 22 .

本发明实施例提供的机顶盒用于执行上述方法,其功能具体参考上述方法实施例,其具体方法流程在此处不再赘述。The set-top box provided by the embodiment of the present invention is used to execute the above method, and its function refers to the above method embodiment for details, and the specific method flow is not repeated here.

本发明实施例通过终端采集机顶盒标识将所述机顶盒标识与用户标识进行关联,再将机顶盒标识和用户标识在云平台进行绑定,最后由第二存储模块22通过注册请求得到相对应的用户标识和密码,实现了在第二存储模块22上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In this embodiment of the present invention, the set-top box identification is collected by the terminal to associate the set-top box identification with the user identification, and then the set-top box identification and the user identification are bound on the cloud platform, and finally the second storage module 22 obtains the corresponding user identification through a registration request. and password, the binding on the second storage module 22 is realized, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图8为本发明实施例的用于机顶盒业务开通的终端结构示意图,如图8所示,所述终端包括:第三接收模块30和第三发送模块31,其中:FIG. 8 is a schematic structural diagram of a terminal used for service provisioning of a set-top box according to an embodiment of the present invention. As shown in FIG. 8 , the terminal includes: a third receiving module 30 and a third sending module 31, wherein:

所述第三发送模块31用于向机顶盒发送标识请求;所述第三接收模块30用于接收由所述机顶盒发送的机顶盒标识;所述第三发送模块31还用于向云平台发送关联请求,其中所述关联请求至少包括用户标识和所述机顶盒标识,以使所述云平台将所述机顶盒标识存储到包含所述用户标识的业务信息中,其中所述业务信息还包括密码,此后,若所述云平台接收到所述机顶盒发送的注册请求,所述注册请求至少包括所述机顶盒标识,则所述云平台向所述机顶盒发送注册信息,所述注册信息至少包括所述业务信息中的用户标识和密码。具体地:The third sending module 31 is configured to send an identification request to the set-top box; the third receiving module 30 is configured to receive the set-top box identification sent by the set-top box; the third sending module 31 is also configured to send an association request to the cloud platform , wherein the association request includes at least a user identity and a set-top box identity, so that the cloud platform stores the set-top box identity into service information containing the user identity, wherein the service information also includes a password, and thereafter, If the cloud platform receives a registration request sent by the set-top box, and the registration request includes at least the set-top box identifier, the cloud platform sends registration information to the set-top box, where the registration information at least includes the service information. user ID and password. specifically:

为了激活还没有进行绑定操作的机顶盒,用户先通过第三发送模块31向所述机顶盒发送标识请求。In order to activate the set-top box that has not yet performed the binding operation, the user first sends an identification request to the set-top box through the third sending module 31 .

所述机顶盒在收到该标识请求后会提取出存储的自身的机顶盒标识,并将所述机顶盒标识发送给所述第三接收模块30,所述机顶盒标识为该机顶盒的唯一识别码。After receiving the identification request, the set-top box will extract its own set-top box identification stored, and send the set-top box identification to the third receiving module 30, where the set-top box identification is the unique identification code of the set-top box.

所述第三接收模块30在收到所述机顶盒标识后,会将所述机顶盒标识与预先存储或者获取的开通了IPTV业务的用户标识存入关联请求中,并指求所述第三发送模块31将所述关联请求发送给云平台。After receiving the set-top box identification, the third receiving module 30 will store the set-top box identification and the pre-stored or acquired user identification that has opened the IPTV service in the association request, and instruct the third sending module. 31 Send the association request to the cloud platform.

所述云平台根据接收到的关联请求在存储的业务信息集中查找是否存在与所述用户标识相对应的业务信息。其中所述业务信息集中保存有大量的业务信息,每条业务信息都与一个开通了IPTV业务的用户标识唯一对应,每条业务信息中至少包括有所述用户标识和密码,该密码是所述用户标识在开通IPTV业务时设置的。The cloud platform searches, according to the received association request, whether there is service information corresponding to the user identifier in the stored service information set. The service information centrally stores a large amount of service information, each piece of service information uniquely corresponds to a user ID that has opened an IPTV service, and each piece of service information at least includes the user ID and a password, and the password is the The user ID is set when the IPTV service is activated.

若所述云平台没有在所述业务信息集中找到与所述用户标识相对应的业务信息,则判定该用户标识没有开通相关的IPTV业务。If the cloud platform does not find the service information corresponding to the user identifier in the service information set, it is determined that the user identifier has not activated the relevant IPTV service.

如果在所述业务信息集中找到了包含有所述用户标识的业务信息,则将所述关联信息中的机顶盒标识存入所述业务信息中,以使该机顶盒标识与所述用户标识进行关联,在云平台实现绑定。If the service information containing the user identity is found in the service information set, the set-top box identity in the association information is stored in the service information, so that the set-top box identity is associated with the user identity, Implement binding on the cloud platform.

所述机顶盒首次开机,完成网络设置后,会启动认证程序,若发现自身的机顶盒标识没有与任何的用户标识进行绑定,则会周期性得,向所述云平台发送注册请求,其中所述注册请求至少包括有所述机顶盒标识。The set-top box is powered on for the first time, and after completing the network settings, the authentication procedure will be started. If it finds that its own set-top box identity is not bound to any user identity, it will periodically obtain and send a registration request to the cloud platform, wherein the The registration request includes at least the set-top box identifier.

所述云平台在接收到一个注册请求后,会提取出该注册请求中的机顶盒标识,然后在所述业务信息集中查找是否存在包含了所述机顶盒标识的业务信息。After receiving a registration request, the cloud platform will extract the set-top box identifier in the registration request, and then search the service information set whether there is service information including the set-top box identifier.

若没有找到需要的业务信息,则所述云平台可以向所述机顶盒发送失败信息或者不发送任何消息。If the required service information is not found, the cloud platform may send failure information or no message to the set-top box.

而若找到了与所述机顶盒标识相对应的业务信息,则提取所述业务信息中的用户标识和密码存入注册信息中,并将所述注册信息发送给所述机顶盒。If the service information corresponding to the set-top box identifier is found, the user identifier and password in the service information are extracted and stored in the registration information, and the registration information is sent to the set-top box.

所述机顶盒会将接收到的用户标识和密码进行存储以实现在机顶盒的绑定。The set-top box will store the received user ID and password to realize binding on the set-top box.

本发明实施例提供的终端用于执行上述方法,其功能具体参考上述方法实施例,其具体方法流程在此处不再赘述。The terminal provided in the embodiment of the present invention is used to execute the above method, and its function refers to the above method embodiment for details, and the specific method flow is not repeated here.

本发明实施例通过第三发送模块31采集机顶盒的机顶盒标识将所述机顶盒标识与用户标识进行关联并发送给所述云平台,使机顶盒标识和用户标识在云平台进行绑定,最后由机顶盒通过注册请求得到相对应的用户标识和密码,实现了在机顶盒上的绑定,从而更加方便、快捷、准确得实现了机顶盒的业务开通。In this embodiment of the present invention, the third sending module 31 collects the set-top box ID of the set-top box, associates the set-top box ID with the user ID, and sends it to the cloud platform, so that the set-top box ID and the user ID are bound on the cloud platform, and finally the set-top box passes the user ID. The registration request obtains the corresponding user ID and password, which realizes the binding on the set-top box, thereby realizing the service opening of the set-top box more conveniently, quickly and accurately.

图9为本发明实施例的电子设备结构示意图。如图9所示,所述电子设备,包括:处理器(processor)601、存储器(memory)602和总线603;FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 9 , the electronic device includes: a processor (processor) 601, a memory (memory) 602 and a bus 603;

其中,所述处理器601和所述存储器602通过所述总线603完成相互间的通信;Wherein, the processor 601 and the memory 602 communicate with each other through the bus 603;

所述处理器601用于调用所述存储器602中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。The processor 601 is configured to call program instructions in the memory 602 to execute the methods provided by the above method embodiments, for example, including: receiving an association request sent by a terminal, wherein the association request at least includes a user identifier and a user ID. A set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal; if the service information containing the user identity is found in the stored service information set, Wherein the service information includes at least the user ID and password, then the set-top box ID is stored in the service information; a registration request sent by the set-top box is received, wherein the registration request at least includes the set-top box ID; Find the service information including the set-top box identification in the service information, and send registration information to the set-top box, wherein the registration information at least includes the user ID and password in the service information, so that the set-top box stores the user ID and password. ID and password.

进一步地,本发明实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Further, an embodiment of the present invention discloses a computer program product, the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer During execution, the computer can execute the methods provided by the above method embodiments, for example, including: receiving an association request sent by a terminal, wherein the association request includes at least a user identification and a set-top box identification, wherein the set-top box identification is sent to the terminal through the terminal. The set-top box sends an identification request, and the set-top box sends the set-top box identification to the terminal; if the service information containing the user identification is found in the stored service information set, the service information at least includes the user identification and password. , then store the set-top box identification in the service information; receive a registration request sent by the set-top box, wherein the registration request at least includes the set-top box identification; find the service that contains the set-top box identification in the service information set information, and send registration information to the set-top box, where the registration information at least includes the user ID and password in the service information, so that the set-top box stores the user ID and password.

进一步地,本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;接收所述机顶盒发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Further, an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the methods provided by the foregoing method embodiments. The method, for example, includes: receiving an association request sent by a terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box identifies the set-top box by the set-top box. Send to the terminal; if the service information containing the user ID is found in the stored service information set, wherein the service information at least includes the user ID and the password, then the set-top box ID is stored in the service information. Receive the registration request sent by the set-top box, wherein the registration request includes at least the set-top box identification; Find the service information that includes the set-top box identification in the service information set, and send registration information to the set-top box, wherein the registration The information includes at least the user ID and password in the service information, so that the set-top box stores the user ID and password.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

以上所描述的电子设备等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The above-described electronic equipment and other embodiments are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件云平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware cloud platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种机顶盒业务开通的方法,其特征在于,包括:1. a method for set-top box service opening, is characterized in that, comprises: 接收由终端发送的关联请求,其中所述关联请求至少包括用户标识和机顶盒标识,其中所述机顶盒标识通过所述终端向机顶盒发送标识请求,由所述机顶盒将所述机顶盒标识发送给所述终端;Receive an association request sent by the terminal, wherein the association request includes at least a user identity and a set-top box identity, wherein the set-top box identity sends an identity request to the set-top box through the terminal, and the set-top box sends the set-top box identity to the terminal. ; 若在存储的业务信息集中找到包含所述用户标识的业务信息,其中所述业务信息至少包括所述用户标识和密码,则将所述机顶盒标识存入所述业务信息中;If the service information including the user identifier is found in the stored service information set, wherein the service information at least includes the user identifier and the password, then the set-top box identifier is stored in the service information; 接收所述机顶盒按照预设周期发送的注册请求,其中所述注册请求至少包括所述机顶盒标识;receiving a registration request sent by the set-top box according to a preset period, wherein the registration request at least includes the set-top box identifier; 在所述业务信息集中找到包含所述机顶盒标识的业务信息,向所述机顶盒发送注册信息,其中所述注册信息至少包括所述业务信息中的用户标识和密码,以使所述机顶盒存储所述用户标识和密码。Find service information including the set-top box identifier in the service information set, and send registration information to the set-top box, where the registration information at least includes the user ID and password in the service information, so that the set-top box stores the set-top box. User ID and password. 2.根据权利要求1所述的方法,其特征在于,所述业务信息还包括所述终端的终端标识,相应地,所述方法还包括:2. The method according to claim 1, wherein the service information further comprises a terminal identifier of the terminal, and correspondingly, the method further comprises: 接收由所述终端发送的查询请求,其中所述查询请求至少包括所述终端标识;receiving a query request sent by the terminal, wherein the query request at least includes the terminal identifier; 若在存储的业务信息集中找到包含有所述终端标识的业务信息,则将所述业务信息中的用户标识发送给所述终端。If the service information including the terminal identifier is found in the stored service information set, the user identifier in the service information is sent to the terminal. 3.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1 or 2, wherein the method further comprises: 接收由机顶盒发送的认证请求,其中所述认证请求至少包所述机顶盒保存的用户标识和密码;receiving an authentication request sent by a set-top box, wherein the authentication request at least includes a user ID and a password saved by the set-top box; 若在所述业务信息集中找到包含有所述用户标识和密码的业务信息,则向所述机顶盒回复认证成功信息,以使所述机顶盒开始正常运行。If the service information including the user ID and the password is found in the service information set, an authentication success message is returned to the set-top box, so that the set-top box starts to run normally. 4.根据权利要求3所述的方法,其特征在于,所述业务信息还包括业务状态,相应地,所述若在所述业务信息集中找到包含有所述用户标识和密码的业务信息,则向所述机顶盒回复认证成功信息,以使所述机顶盒开始正常运行,具体为:4. The method according to claim 3, wherein the service information further comprises service status, and accordingly, if the service information containing the user ID and the password is found in the service information set, then Reply the authentication success information to the set-top box, so that the set-top box starts to run normally, specifically: 若在所述业务信息集中找到包含有所述用户标识的密码的业务信息,且所述业务信息中的业务状态为有效,则向所述机顶盒回复成功信息,以使所述机顶盒开始正常运行。If the service information including the password of the user ID is found in the service information set, and the service status in the service information is valid, a success message is returned to the set-top box, so that the set-top box starts to operate normally. 5.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1 or 2, wherein the method further comprises: 接收由营业系统发送的业务更新信息,其中所述业务更新信息至少包括一条业务信息;receiving service update information sent by the business system, wherein the service update information includes at least one piece of service information; 将所述业务信息存入所述业务信息集中。The service information is stored in the service information set. 6.一种机顶盒业务开通的方法,其特征在于,包括:6. A method for opening a set-top box service, comprising: 接收由终端发送的标识请求;Receive the identification request sent by the terminal; 将机顶盒标识发送给所述终端,以使所述终端将存储的用户标识和所述机顶盒标识发送给云平台,若所述云平台在存储的业务信息集中找到了包含有所述用户标识的业务信息,所述业务信息至少包含有所述用户标识和密码,则将所述机顶盒标识保存到所述业务信息中;Sending the set-top box identification to the terminal, so that the terminal sends the stored user identification and the set-top box identification to the cloud platform, if the cloud platform finds a service containing the user identification in the stored service information set information, the service information contains at least the user ID and the password, then the set-top box ID is saved in the service information; 按照预设周期向所述云平台发送注册请求,其中所述注册请求至少包括所述机顶盒标识,以使所述云平台在所述业务信息集中找到包含有所述机顶盒标识的业务信息,并回复所述业务信息中的用户标识和密码;Send a registration request to the cloud platform according to a preset period, wherein the registration request includes at least the set-top box identifier, so that the cloud platform can find the service information including the set-top box identifier in the service information set, and reply User ID and password in the business information; 存储接收到的用户标识和密码。Stores the received user ID and password. 7.一种机顶盒业务开通的方法,其特征在于,包括:7. A method for opening a set-top box service, comprising: 向机顶盒发送标识请求;Send an identification request to the set-top box; 接收由所述机顶盒发送的机顶盒标识;receiving a set-top box identifier sent by the set-top box; 向云平台发送关联请求,其中所述关联请求至少包括用户标识和所述机顶盒标识,以使所述云平台将所述机顶盒标识存储到包含所述用户标识的业务信息中,其中所述业务信息还包括密码,此后,若所述云平台接收到所述机顶盒按照预设周期发送的注册请求,所述注册请求至少包括所述机顶盒标识,则所述云平台向所述机顶盒发送注册信息,所述注册信息至少包括所述业务信息中的用户标识和密码。Send an association request to the cloud platform, wherein the association request includes at least a user identity and the set-top box identity, so that the cloud platform stores the set-top box identity into service information containing the user identity, wherein the service information It also includes a password. After that, if the cloud platform receives a registration request sent by the set-top box according to a preset period, and the registration request includes at least the set-top box identifier, the cloud platform sends the registration information to the set-top box, so The registration information includes at least the user ID and password in the service information. 8.根据权利要求7所述的方法,其特征在于,所述向机顶盒发送标识请求;接收由所述机顶盒发送的机顶盒标识;具体为:8. The method according to claim 7, characterized in that, sending an identification request to a set-top box; receiving a set-top box identification sent by the set-top box; specifically: 通过扫码获取所述机顶盒显示的图标,其中所述图标与所述机顶盒标识一一对应;Obtain the icon displayed by the set-top box by scanning the code, wherein the icon corresponds to the set-top box identifier one-to-one; 对所述图标进行解析以得到所述机顶盒标识。The icon is parsed to obtain the set-top box identifier. 9.一种电子设备,其特征在于,包括存储器和处理器,所述处理器和所述存储器通过总线完成相互间的通信;所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至8任一所述的方法。9. An electronic device, characterized in that it comprises a memory and a processor, and the processor and the memory communicate with each other through a bus; the memory stores program instructions that can be executed by the processor, and the The processor invokes the program instructions to perform the method of any one of claims 1 to 8. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至8任一所述的方法。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
CN201711430934.9A 2017-12-26 2017-12-26 Method for opening set-top box service Active CN109962894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711430934.9A CN109962894B (en) 2017-12-26 2017-12-26 Method for opening set-top box service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711430934.9A CN109962894B (en) 2017-12-26 2017-12-26 Method for opening set-top box service

Publications (2)

Publication Number Publication Date
CN109962894A CN109962894A (en) 2019-07-02
CN109962894B true CN109962894B (en) 2021-09-03

Family

ID=67021919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711430934.9A Active CN109962894B (en) 2017-12-26 2017-12-26 Method for opening set-top box service

Country Status (1)

Country Link
CN (1) CN109962894B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2070051A1 (en) * 2006-09-29 2009-06-17 Alibaba Group Holding Limited System and method for making payment
CN103945363A (en) * 2013-01-22 2014-07-23 中国移动通信集团公司 Service customization method, apparatus and system
CN104135690A (en) * 2014-08-19 2014-11-05 百视通网络电视技术发展有限责任公司 Set-top box control method and system based on IPIV
CN104144354A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 IPTV service fulfillment configuration method and system based on PPPoE access
CN104284242A (en) * 2013-07-05 2015-01-14 上海帕科软件科技有限公司 Automatic switching-on logon system for set top box
CN104410875A (en) * 2014-11-25 2015-03-11 上海美琦浦悦通讯科技有限公司 System and method for realizing zero-configuration automatic activation of IPTV box-side services
CN105656649A (en) * 2014-11-13 2016-06-08 中兴通讯股份有限公司 Service opening method and device for terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2070051A1 (en) * 2006-09-29 2009-06-17 Alibaba Group Holding Limited System and method for making payment
CN103945363A (en) * 2013-01-22 2014-07-23 中国移动通信集团公司 Service customization method, apparatus and system
CN104144354A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 IPTV service fulfillment configuration method and system based on PPPoE access
CN104284242A (en) * 2013-07-05 2015-01-14 上海帕科软件科技有限公司 Automatic switching-on logon system for set top box
CN104135690A (en) * 2014-08-19 2014-11-05 百视通网络电视技术发展有限责任公司 Set-top box control method and system based on IPIV
CN105656649A (en) * 2014-11-13 2016-06-08 中兴通讯股份有限公司 Service opening method and device for terminal equipment
CN104410875A (en) * 2014-11-25 2015-03-11 上海美琦浦悦通讯科技有限公司 System and method for realizing zero-configuration automatic activation of IPTV box-side services

Also Published As

Publication number Publication date
CN109962894A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
US9596501B2 (en) Remote control processing method, device and system
TWI743405B (en) Voice broadcast method, intelligent broadcast device, one or more non-temporary computer storage media encoded with computer program instructions, and intelligent broadcast equipment
CN107404544B (en) Method and apparatus for IP address assignment
CN104834489A (en) Method for sharing cloud printer and cloud server and cloud printing system
CN106648781B (en) Method and system for upgrading remote firmware of communication equipment
WO2012163176A1 (en) Method, device and system for configuring set top box
CN110806883B (en) A method, device and computer-readable medium for secure firmware upgrade
CN112448873B (en) Binding method and device for equipment and computer readable storage medium
CN102387156B (en) Equipment logging treatment method, device and system
WO2014180438A1 (en) M2m application remote registration method, device, system and storage medium
CN103902339A (en) Application installation method, terminal and server
CN105812426A (en) Upgrade system and upgrade method for multi-business access platform
CN113645068B (en) Method for realizing automatic deployment and computer readable storage medium
CN112738019B (en) Method and device for displaying device information, storage medium and electronic device
US20230214207A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
US10904746B2 (en) Implementation method, apparatus and system for remote access
CN106773797B (en) An information processing method, system and management platform
CN109962894B (en) Method for opening set-top box service
CN106302526A (en) Smart home control equipment management method and device
CN105872106A (en) Over-the-air upgrade method, over-the-air server and terminal
CN114172904A (en) Jenkins information processing method and device, electronic equipment and storage medium
CN103179565B (en) Based on security information interaction system and the method for thin terminal pattern
CN114827127A (en) File management method and system, cloud server and terminal equipment
US20240267431A1 (en) Internet of things tablet device registration method and system based on registration template
CN103024594A (en) Method for managing digital television terminal area and digital television terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant