CN106131709A - A kind of method and system of remote-control Set Top Box - Google Patents
A kind of method and system of remote-control Set Top Box Download PDFInfo
- Publication number
- CN106131709A CN106131709A CN201610797476.1A CN201610797476A CN106131709A CN 106131709 A CN106131709 A CN 106131709A CN 201610797476 A CN201610797476 A CN 201610797476A CN 106131709 A CN106131709 A CN 106131709A
- Authority
- CN
- China
- Prior art keywords
- top box
- server
- application
- set top
- instruction
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/633—Control signals issued by server directed to the network components or client
- H04N21/6332—Control signals issued by server directed to the network components or client directed to client
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种远程管控机顶盒的方法及系统。该方法,包括:接收到开机广播,向服务器上报参数信息;按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器;按预置指令周期向服务器发送获取操控指令的请求;接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表;解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。本发明按预置指令周期向服务器发送获取操控指令的请求降低了服务器的负荷,优化了控制机制,并实现了利用终端远程管控机顶盒。
The invention discloses a method and system for remotely managing and controlling a set-top box. The method includes: receiving the start-up broadcast, reporting parameter information to the server; obtaining application usage information including the application package name currently used by the user according to a preset application cycle, and reporting the application usage information to the server; according to a preset instruction cycle Sending a request to the server to obtain the manipulation instruction; receiving the extensible markup language table sent by the server and including the manipulation instruction set composed of the manipulation instruction set sent by the terminal matching the set-top box; parsing the extensible markup language table to obtain the manipulation instruction Concentrated manipulation instructions are executed. The invention sends a request for acquiring control instructions to the server according to the preset instruction period, which reduces the load of the server, optimizes the control mechanism, and realizes the remote management and control of the set-top box by using the terminal.
Description
技术领域technical field
本发明涉及机顶盒技术领域,尤其涉及一种远程管控机顶盒的方法及系统。The invention relates to the technical field of set-top boxes, in particular to a method and system for remotely controlling a set-top box.
背景技术Background technique
机顶盒是一个连接电视机与外部信号源的设备,它可以将压缩的数字信号转成电视内容,并在电视机上显示出来,使用户能在现有电视机上观看数字电视节目,并通过网络进行交互式数字化娱乐、教育和商业化活动。随着网络技术的不断发展,机顶盒进入到越来越多的家庭,各种网络视频,游戏等应用非常丰富和吸引人。用户不在家的情况下实现监控和操作机顶盒的使用比较困难,例如家长不在家的时候希望能监管控制小孩的看电视玩游戏的时长。A set-top box is a device that connects a TV with an external signal source. It can convert the compressed digital signal into TV content and display it on the TV, so that users can watch digital TV programs on the existing TV and interact through the network. digital entertainment, education and commercialization activities. With the continuous development of network technology, set-top boxes have entered more and more families, and applications such as various network videos and games are very rich and attractive. When the user is not at home, it is difficult to monitor and operate the set-top box. For example, when the parents are not at home, they hope to monitor and control the length of time their children watch TV and play games.
发明内容Contents of the invention
本发明提供了一种远程管控机顶盒的方法及系统,通过按预置指令周期向服务器发送获取操控指令的请求降低了服务器的负荷,优化了控制机制,并实现了利用终端远程管控机顶盒。The present invention provides a method and system for remotely managing and controlling a set-top box, which reduces the load on the server, optimizes the control mechanism, and realizes remote controlling and controlling the set-top box by using a terminal by sending a request to the server to obtain control instructions according to a preset instruction cycle.
为实现上述设计,本发明采用以下技术方案:In order to realize above-mentioned design, the present invention adopts following technical scheme:
第一方面,提供了一种远程管控机顶盒的方法,该方法,包括:In the first aspect, a method for remotely controlling a set-top box is provided, and the method includes:
接收到开机广播,向服务器上报参数信息;After receiving the boot broadcast, report the parameter information to the server;
按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器;Obtain application usage information including the application package name currently being used by the user according to a preset application cycle, and report the application usage information to the server;
按预置指令周期向服务器发送获取操控指令的请求;Send a request to the server to obtain manipulation instructions according to the preset instruction cycle;
接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表;receiving the Extensible Markup Language table sent by the server and including the control instruction set composed of the control instructions sent by the terminal matching the set-top box;
解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。Analyzing the extensible markup language table, acquiring the manipulation instructions in the manipulation instruction set, and executing the manipulation instructions.
其中,所述执行所述操控指令之后,还包括:Wherein, after the execution of the manipulation instruction, it also includes:
向服务器发送所述操控指令的处理状态。Sending the processing status of the manipulation instruction to the server.
其中:in:
所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号;The parameter information includes: the device number, serial number, software version number, and hardware version number of the set-top box;
所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。The application usage information further includes: the time when the application currently being used by the user starts to be used.
其中,所述操控指令包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的一种或任意组合。Wherein, the manipulation instruction includes: one or any combination of: a forced shutdown instruction, an instruction to send a warning reminder, an instruction to jump to a preset application, and an instruction to close a preset application.
其中,所述预置应用周期为3分钟/次;所述预置指令周期为1分钟/次。Wherein, the preset application cycle is 3 minutes/time; the preset instruction cycle is 1 minute/time.
第二方面,提供了一种远程管控机顶盒的方法,该方法,包括:In the second aspect, a method for remotely controlling a set-top box is provided, and the method includes:
接收机顶盒上报的参数信息和按预置应用周期获取的包含当前用户正在使用的应用包名的应用使用信息;Receive the parameter information reported by the set-top box and the application usage information including the application package name currently used by the user obtained according to the preset application cycle;
接收与机顶盒匹配的终端发送的获取机顶盒在预置时间内上报的所述参数信息和所述应用使用信息的请求;receiving a request from a terminal matching the set-top box to obtain the parameter information and the application usage information reported by the set-top box within a preset time;
向与机顶盒匹配的终端发送所述参数信息和所述应用使用信息;sending the parameter information and the application usage information to a terminal matched with the set-top box;
接收与机顶盒匹配的终端发出的操控指令;Receive the manipulation instruction from the terminal matched with the set-top box;
接收机顶盒按预置指令周期发送的获取操控指令的请求,向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。The receiving top box sends a request for obtaining manipulation instructions according to a preset command cycle, and sends to the set-top box an Extensible Markup Language table containing manipulation instructions issued by a terminal matching the set-top box.
其中,所述向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表之后,还包括:Wherein, after sending to the set-top box the extensible markup language table containing the control instruction set composed of the control instructions sent by the terminal matching the set-top box, it also includes:
接收机顶盒发送的所述操控指令的处理状态;receiving the processing status of the manipulation instruction sent by the top box;
接收与机顶盒匹配的终端发送的获取所述操控指令的状态的请求;receiving a request from a terminal matched with the set-top box to acquire the status of the manipulation instruction;
把机顶盒发送的所述操控指令的处理状态转发给与机顶盒匹配的终端。The processing status of the manipulation instruction sent by the set-top box is forwarded to a terminal matching the set-top box.
第三方面,提供了一种远程管控机顶盒的方法,该方法,包括:In the third aspect, a method for remotely controlling a set-top box is provided, the method includes:
向服务器发送获取与终端匹配的机顶盒在预置时间内的上报的参数信息和按预置应用周期上报的包含当前用户正在使用的应用包名的应用使用信息的请求;Sending to the server a request to obtain the parameter information reported by the set-top box matching the terminal within the preset time and the application usage information including the application package name currently used by the user reported according to the preset application cycle;
接收服务器发送的所述参数信息和所述应用使用信息;receiving the parameter information and the application usage information sent by the server;
解析所述参数信息和所述应用使用信息,并显示,获取用户输入的操控指令,通过服务器向与终端匹配的机顶盒发出操控指令。The parameter information and the application usage information are analyzed and displayed, and the manipulation instruction input by the user is obtained, and the manipulation instruction is sent to the set-top box matched with the terminal through the server.
其中,所述通过服务器向与终端匹配的机顶盒发出操控指令之后,还包括:Wherein, after the server sends the manipulation instruction to the set-top box matched with the terminal, it also includes:
向服务器发送获取所述操控指令的处理状态的请求;Sending a request to the server to obtain the processing status of the manipulation instruction;
接收服务器转发的与终端匹配的机顶盒发送给服务器的所述操控指令的处理状态。The processing status of the manipulation instruction sent to the server by the set-top box matching the terminal and forwarded by the server is received.
第四方面,提供了一种远程管控机顶盒的系统,该系统,包括:In the fourth aspect, a system for remotely controlling a set-top box is provided, and the system includes:
参数信息上报模块,用于接收到开机广播,向服务器上报参数信息;The parameter information reporting module is used to receive the start-up broadcast and report the parameter information to the server;
使用信息上报模块,用于按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器;A usage information reporting module, configured to obtain application usage information including the application package name currently being used by the user according to a preset application cycle, and report the application usage information to the server;
请求发送模块,用于按预置指令周期向服务器发送获取操控指令的请求;A request sending module, configured to send a request to the server for obtaining manipulation instructions according to a preset instruction cycle;
接收模块,用于接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表;The receiving module is used to receive the Extensible Markup Language table sent by the server and including the control instruction set composed of the control instructions sent by the terminal matching the set-top box;
指令执行模块,用于解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。The instruction execution module is configured to parse the extensible markup language table, acquire the manipulation instructions in the manipulation instruction set, and execute the manipulation instructions.
其中,还包括:Among them, also include:
状态发送模块,用于向服务器发送所述操控指令的处理状态。A status sending module, configured to send the processing status of the manipulation instruction to the server.
第五方面,提供了一种远程管控机顶盒的系统,该系统,包括:In the fifth aspect, a system for remotely controlling a set-top box is provided, and the system includes:
信息接收模块,用于接收机顶盒上报的参数信息和按预置应用周期获取的包含当前用户正在使用的应用包名的应用使用信息;The information receiving module is used to receive the parameter information reported by the set-top box and the application usage information including the application package name currently used by the current user acquired according to the preset application cycle;
请求接收模块,用于接收与机顶盒匹配的终端发送的获取机顶盒在预置时间内上报的所述参数信息和所述应用使用信息的请求;The request receiving module is configured to receive a request sent by a terminal matched with the set-top box to obtain the parameter information and the application usage information reported by the set-top box within a preset time;
信息发送模块,用于向与机顶盒匹配的终端发送所述参数信息和所述应用使用信息;An information sending module, configured to send the parameter information and the application usage information to a terminal matched with the set-top box;
指令接收模块,用于接收与机顶盒匹配的终端发出的操控指令;An instruction receiving module, configured to receive a manipulation instruction from a terminal matched with the set-top box;
发送模块,用于接收机顶盒按预置指令周期发送的获取操控指令的请求,向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。The sending module is used to receive the request for obtaining the manipulation command sent by the top box according to the preset command cycle, and send to the set-top box an Extensible Markup Language table containing a manipulation command set composed of manipulation commands sent by a terminal matching the set-top box.
第六方面,提供了一种远程管控机顶盒的系统,该系统,包括:In the sixth aspect, a system for remotely controlling a set-top box is provided, and the system includes:
请求发送模块,用于向服务器发送获取与终端匹配的机顶盒在预置时间内的上报的参数信息和按预置应用周期上报的包含当前用户正在使用的应用包名的应用使用信息的请求;The request sending module is used to send to the server a request to obtain the parameter information reported by the set-top box matching the terminal within the preset time and the application usage information including the application package name currently used by the user reported according to the preset application cycle;
信息接收模块,用于接收服务器发送的所述参数信息和所述应用使用信息;An information receiving module, configured to receive the parameter information and the application usage information sent by the server;
指令发送模块,用于解析所述参数信息和所述应用使用信息,并显示,获取用户输入的操控指令,通过服务器向与终端匹配的机顶盒发出操控指令。The instruction sending module is used to analyze the parameter information and the application usage information, and display, obtain the operation instruction input by the user, and send the operation instruction to the set-top box matching the terminal through the server.
与现有技术相比,本发明的有益效果为:接收到开机广播,向服务器上报的参数信息;按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器;按预置指令周期向服务器发送获取操控指令的请求;接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表;解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。本发明机顶盒可按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制,并实现了利用终端远程管控机顶盒。Compared with the prior art, the present invention has the beneficial effects of: receiving the start-up broadcast, and reporting the parameter information to the server; obtaining the application usage information including the application package name currently used by the user according to the preset application cycle; Use the information to report to the server; send a request to the server to obtain the control command according to the preset command cycle; receive the extensible markup language table of the control command set composed of the control command sent by the terminal matching the set-top box sent by the server; analyze the said can An extended markup language table is used to obtain the manipulation instructions in the manipulation instruction set, and execute the manipulation instructions. The set-top box of the present invention can send a request to the server for acquiring manipulation instructions according to a preset command cycle, and receive the extensible markup language table sent by the server that includes the manipulation command set composed of the manipulation commands issued by the terminal matching the set-top box, and the extensible The markup language table obtains the control instructions issued by the terminal, executes the control instructions, and sends the request to the server to obtain the control instructions according to the preset instruction cycle, which reduces the compliance of the server, optimizes the control mechanism of the system, and realizes remote control by using the terminal set top box.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据本发明实施例的内容和这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention For those skilled in the art, other drawings can also be obtained according to the contents of the embodiments of the present invention and these drawings without any creative work.
图1是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第一实施例的方法流程图。Fig. 1 is a method flow chart of a first embodiment of a method for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention.
图2是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第二实施例的方法流程图。Fig. 2 is a method flow chart of the second embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiment of the present invention.
图3是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第三实施例的方法流程图。Fig. 3 is a method flowchart of a third embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention.
图4是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第四实施例的方法流程图。Fig. 4 is a method flowchart of a fourth embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention.
图5是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第一实施例的结构方框图。Fig. 5 is a structural block diagram of a first embodiment of a system for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention.
图6是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第二实施例的结构方框图。Fig. 6 is a structural block diagram of a second embodiment of a system for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention.
图7是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第三实施例的结构方框图。Fig. 7 is a structural block diagram of a third embodiment of a system for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention.
图8是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第四实施例的结构方框图。Fig. 8 is a structural block diagram of a fourth embodiment of a system for remotely managing and controlling a set-top box provided in the specific implementation manner of the present invention.
具体实施方式detailed description
为使本发明解决的技术问题、采用的技术方案和达到的技术效果更加清楚,下面将结合附图对本发明实施例的技术方案作进一步的详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only the technical solutions of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
请参考图1,其是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第一实施例的方法流程图。本实施例的执行主体为机顶盒,如图所示,该方法,包括:Please refer to FIG. 1 , which is a flow chart of a first embodiment of a method for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention. The executive subject of this embodiment is a set-top box, as shown in the figure, the method includes:
步骤S101:接收到开机广播,向服务器上报参数信息。Step S101: After receiving the start-up broadcast, report the parameter information to the server.
机顶盒上电后,当接收到开机广播则向服务器上报机顶盒的参数信息,所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等,服务器根据机顶盒的设备号和序列号区分不同的机顶盒。After the set-top box is powered on, when the start-up broadcast is received, the parameter information of the set-top box is reported to the server. The parameter information includes: the device number, serial number, software version number, and hardware version number of the set-top box. The serial number distinguishes different set-top boxes.
步骤S102:按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器。Step S102: Obtain application usage information including the name of the application package currently being used by the current user according to a preset application cycle, and report the application usage information to the server.
把包含当前用户正在使用的应用包名的应用使用信息上报给服务器,所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间,当终端向服务器获取机顶盒上报的参数信息和应用使用信息时,便可实现对机顶盒进行监察,用户根据在终端显示的参数信息和应用使用信息,通过终端向服务器发送管控机顶盒的操控指令。所述预置应用周期为3分钟/次,可选的,用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。Report the application usage information including the application package name that the current user is using to the server, the application usage information also includes: the time when the application that the current user is using starts to use, when the terminal obtains the parameter information and application usage information reported by the set-top box from the server When the information is displayed, the set-top box can be monitored. According to the parameter information and application usage information displayed on the terminal, the user sends the control command to the server through the terminal to control the set-top box. The preset application cycle is 3 minutes/time. Optionally, the user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
步骤S103:按预置指令周期向服务器发送获取操控指令的请求。Step S103: Sending a request for acquiring manipulation instructions to the server at a preset instruction cycle.
按预置指令周期向服务器发送获取操控指令的请求可以降低服务器的负荷,优化了控制机制。所述操控指令包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的一种或任意组合。所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。Sending a request to the server for obtaining manipulation instructions according to the preset instruction period can reduce the load on the server and optimize the control mechanism. The manipulation instruction includes: one or any combination of: a forced shutdown instruction, an instruction to send a warning reminder, an instruction to jump to a preset application, and an instruction to close a preset application. The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
步骤S104:接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表(Extensible Markup Language表,XML表)。Step S104: receiving an Extensible Markup Language table (Extensible Markup Language table, XML table) sent by the server and including a manipulation instruction set composed of manipulation instructions issued by a terminal matching the set-top box.
当服务器接收到机顶盒发送的获取操控指令的请求时,服务器根据机顶盒的设备号和序列号获取与机顶盒匹配的终端发出的操控指令,由与机顶盒匹配的终端发出的操控指令构成操控指令集,操控指令集也可包括其他服务器生成的操控指令,将包含操控指令集的可扩展标记语言表发送给机顶盒,机顶盒便接收到服务器发送的可扩展标记语言表。优选的,所述终端为智能手机、智能可穿戴设备、平板电脑等。When the server receives the request from the set-top box to obtain the control command, the server obtains the control command from the terminal matching the set-top box according to the device number and serial number of the set-top box, and the control commands sent by the terminal matching the set-top box constitute a control command set. The instruction set may also include manipulation instructions generated by other servers, and the XML table containing the manipulation instruction set is sent to the set-top box, and the set-top box receives the XML table sent by the server. Preferably, the terminal is a smart phone, a smart wearable device, a tablet computer and the like.
步骤S105:解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。Step S105: Analyzing the extensible markup language table, obtaining the manipulation instructions in the manipulation instruction set, and executing the manipulation instructions.
机顶盒解析所述可扩展标记语言表,得到所述操控指令集,获取需要处理的所述操控指令集中的操控指令,并依次执行各操控指令。The set-top box parses the extensible markup language table to obtain the control command set, obtains the control commands in the control command set that need to be processed, and executes each control command in sequence.
综上所述,本实施例通过按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。To sum up, in this embodiment, by sending a request to the server to acquire manipulation instructions according to a preset command cycle, receiving the XML table sent by the server including the manipulation command set composed of the manipulation commands issued by the terminal matching the set-top box, Obtaining the control command issued by the terminal through the extensible markup language table, and executing the control command, realizes the remote control of the set-top box by the terminal, and sends the request to the server to obtain the control command according to the preset command cycle, which reduces the compliance of the server. , optimize the control mechanism of the system.
请参考图2,其是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第二实施例的方法流程图。如图所示,该方法,包括:Please refer to FIG. 2 , which is a method flowchart of a second embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention. As shown in the figure, the method includes:
步骤S201:接收到开机广播,向服务器上报参数信息。Step S201: After receiving the start-up broadcast, report the parameter information to the server.
机顶盒上电后,当接收到开机广播(如,Intent.ACTION_BOOT_COMPLETED)则向服务器(如,http://skyworth.com)上报机顶盒的参数信息,所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等,上报参数举例如下:After the set-top box is powered on, when a boot broadcast (such as Intent.ACTION_BOOT_COMPLETED) is received, the parameter information of the set-top box is reported to the server (such as http://skyworth.com), and the parameter information includes: the device number and serial number of the set-top box , software version number, and hardware version number, etc., the reported parameters are as follows:
json:json:
{"deviceID":"38FACA73E7231550O4","hardVer":"66056","softVer":"10115","serialNo":"03707737002","customerID":"37","Mac":"8e:7e:d8:f5:36:33","network":"wired","Ip":"121.34.144.240","area":"深圳市","province":"广东省","county":"宝安区"}。{"deviceID":"38FACA73E7231550O4","hardVer":"66056","softVer":"10115","serialNo":"03707737002","customerID":"37","Mac":"8e:7e: d8:f5:36:33","network":"wired","Ip":"121.34.144.240","area":"Shenzhen","province":"Guangdong Province","county":" Bao'an District"}.
服务器能根据机顶盒的设备号和序列号区分不同的机顶盒。The server can distinguish different set-top boxes according to the equipment numbers and serial numbers of the set-top boxes.
步骤S202:按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器。Step S202: Obtain application usage information including the name of the application package currently being used by the current user according to a preset application cycle, and report the application usage information to the server.
把包含当前用户正在使用的应用包名的应用使用信息上报给服务器,例如:Report the application usage information including the application package name being used by the current user to the server, for example:
json:json:
{"deviceID":"38FACA73E7231550O4","serialNo":"03707737002","topPackageName":"在线影视"}。{"deviceID":"38FACA73E7231550O4","serialNo":"03707737002","topPackageName":"Online Video"}.
所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间,当终端向服务器获取机顶盒上报的参数信息和应用使用信息时,便可实现对机顶盒进行监察,用户根据在终端显示的参数信息和应用使用信息,便可获知匹配的机顶盒所打开的应用及应用使用的时长,终端用户认为需要管控机顶盒,则通过向服务器发送管控机顶盒的操控指令。所述预置应用周期为3分钟/次,可选的,终端用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The application usage information also includes: the time when the application currently being used by the user starts to use. When the terminal obtains the parameter information and application usage information reported by the set-top box from the server, it can monitor the set-top box. The user can monitor the set-top box according to the parameters displayed on the terminal Information and application usage information, the application opened by the matching set-top box and the duration of application use can be known. If the end user thinks that the set-top box needs to be controlled, he will send a control command to the server to control the set-top box. The preset application cycle is 3 minutes/time. Optionally, the end user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
步骤S203:按预置指令周期向服务器发送获取操控指令的请求。Step S203: Sending a request for acquiring manipulation instructions to the server at a preset instruction cycle.
按预置指令周期向服务器发送获取操控指令的请求可以降低服务器的负荷,优化了控制机制。所述操控指令包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的一种或任意组合。例如小孩在家玩游戏,则应用使用信息中会包含游戏应用名称及游戏应用开始使用的时间,若应用的使用超过3个小时,家长认为需要小孩停止玩游戏,给机顶盒发出停止游戏的提醒信息,若小孩还是没有关闭游戏应用,则发出强制关机的提醒信息,强制关机,则操控指令包括发送警告提醒指令和强制关机指令。包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,举例如下:Sending a request to the server for obtaining manipulation instructions according to the preset instruction period can reduce the load on the server and optimize the control mechanism. The manipulation instruction includes: one or any combination of: a forced shutdown instruction, an instruction to send a warning reminder, an instruction to jump to a preset application, and an instruction to close a preset application. For example, if a child is playing a game at home, the application usage information will include the name of the game application and the time when the game application started to be used. If the application is used for more than 3 hours, the parents think that the child needs to stop playing the game and send a reminder message to the set-top box to stop the game , if the child still does not close the game application, then send a reminder message for forced shutdown, and forcibly shut down, the control instruction includes sending a warning reminder instruction and a forced shutdown instruction. An Extensible Markup Language table including a control command set composed of control commands issued by a terminal matching the set-top box, for example as follows:
所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
步骤S204:接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。Step S204: receiving the extensible markup language table sent by the server and including the manipulation instruction set composed of the manipulation instructions sent by the terminal matching the set-top box.
当服务器接收到机顶盒发送的获取操控指令的请求时,服务器根据机顶盒的设备号和序列号获取与机顶盒匹配的终端发出的操控指令,由与机顶盒匹配的终端发出的操控指令构成操控指令集,操控指令集也可包括其他服务器生成的操控指令,将包含操控指令集的可扩展标记语言表发送给机顶盒,机顶盒便接收到服务器发送的可扩展标记语言表。When the server receives the request from the set-top box to obtain the control command, the server obtains the control command from the terminal matching the set-top box according to the device number and serial number of the set-top box, and the control commands sent by the terminal matching the set-top box constitute a control command set. The instruction set may also include manipulation instructions generated by other servers, and the XML table containing the manipulation instruction set is sent to the set-top box, and the set-top box receives the XML table sent by the server.
优选的,所述终端为智能手机、智能可穿戴设备、平板电脑等,在终端下载安装机顶盒远程控制APP(Application,应用程序),终端联网后,初次使用时,终端用户可通过扫一扫或手动输入机顶盒包装盒上的设备号和序列号及默认初始密码登录机顶盒远程控制APP,之后可通过修改的密码及绑定手机号码等方式登录,登录后,向服务器发送获取匹配设备号和序列号的机顶盒在预置时间内上报的参数信息和应用使用信息的请求,终端解析所述参数信息和应用使用信息,并人性化呈现报表给终端用户,如获取机顶盒中当前用户正在使用的应用并计算使用的持续时长,终端用户通过顶盒远程控制APP向服务器发送控制机顶盒的操控指令,如强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令等,例如:Preferably, the terminal is a smart phone, a smart wearable device, a tablet computer, etc., and the set-top box remote control APP (Application, application program) is downloaded and installed on the terminal. After the terminal is connected to the Internet, when using it for the first time, the terminal user can scan or Manually enter the device number and serial number on the set-top box packaging box and the default initial password to log in to the set-top box remote control APP, and then log in through the modified password and bound mobile phone number, etc. After logging in, send the matching device number and serial number to the server The set-top box reports the request for parameter information and application usage information within the preset time, the terminal analyzes the parameter information and application usage information, and presents the report to the terminal user in a humanized manner, such as obtaining and calculating the application that the current user is using in the set-top box For the duration of use, end users send commands to the server to control the set-top box through the remote control APP of the set-top box, such as forced shutdown commands, sending warning reminder commands, jumping to preset application commands, closing preset application commands, etc., for example:
json:json:
{"deviceID":"38FACA73E7231550O4","serialNo":"03707737002","command":"shutdown"}。{"deviceID":"38FACA73E7231550O4","serialNo":"03707737002","command":"shutdown"}.
服务器通过机顶盒的设备号和序列号匹配对应的机顶盒,并把包含有操控指令构成的操控指令集的可扩展标记语言表发送给机顶盒,机顶盒便接收到服务器发送的可扩展标记语言表。The server matches the corresponding set-top box through the device number and serial number of the set-top box, and sends the extensible markup language table including the control instruction set composed of the control instructions to the set-top box, and the set-top box receives the extensible markup language table sent by the server.
步骤S205:解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。Step S205: Analyzing the extensible markup language table, obtaining the manipulation instructions in the manipulation instruction set, and executing the manipulation instructions.
机顶盒解析所述可扩展标记语言表,得到所述操控指令集,获取需要处理的所述操控指令集中的操控指令,并依次执行各操控指令。The set-top box parses the extensible markup language table to obtain the control command set, obtains the control commands in the control command set that need to be processed, and executes each control command in sequence.
步骤S206:向服务器发送所述操控指令的处理状态。Step S206: Send the processing status of the manipulation instruction to the server.
机顶盒执行完操控指令之后,向服务器发送所述操控指令的处理状态,在终端向服务器获取操控指令的处理状态的请求时,服务器把所述所述操控指令的处理状态发送给终端,并显示给用户,用户便可监察机顶盒中应用的使用情况,实现了对机顶盒的远程管控。After the set-top box executes the manipulation command, it sends the processing status of the manipulation command to the server, and when the terminal obtains a request from the server for the processing status of the manipulation command, the server sends the processing status of the manipulation command to the terminal and displays it to the terminal. The user, the user can monitor the usage of the application in the set-top box, and realize the remote management and control of the set-top box.
本实施例按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,执行完操控指令之后,向服务器发送所述操控指令的处理状态,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。In this embodiment, a request is sent to the server to obtain a control command according to a preset command cycle, and an extensible markup language table containing a control command set composed of a control command sent by a terminal matching a set-top box is received from the server, and the extensible tag The language table acquires the control command issued by the terminal, and executes the control command. After the control command is executed, it sends the processing status of the control command to the server, realizing the remote control of the set-top box by the terminal, and sending the command to the server according to the preset command cycle. Sending the request to obtain the control instruction reduces the compliance of the server and optimizes the control mechanism of the system.
请参考图3,其是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第三实施例的方法流程图。本实施例的执行主体为服务器,如图所示,该方法,包括:Please refer to FIG. 3 , which is a method flow chart of a third embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention. The execution subject of this embodiment is the server, as shown in the figure, the method includes:
步骤S301:接收机顶盒上报的参数信息和按预置应用周期获取的包含当前用户正在使用的应用包名的应用使用信息。Step S301: Receive the parameter information reported by the set-top box and the application usage information including the name of the application package currently used by the user obtained according to the preset application cycle.
机顶盒上电后,当接收到开机广播时,会向服务器上报机顶盒的参数信息,所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。机顶盒将按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器。对应的,服务器会接收到机顶盒上报的参数信息和包含当前用户正在使用的应用包名的应用使用信息。机顶盒上报的参数信息和上报的包含当前用户正在使用的应用包名的应用使用信息可以为同时上报,也可为分开上报,这里不做限定。所述预置应用周期为3分钟/次,可选的,终端用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。After the set-top box is powered on, when it receives the power-on broadcast, it will report the parameter information of the set-top box to the server. The parameter information includes: the device number, serial number, software version number, and hardware version number of the set-top box. The set-top box will obtain the application usage information including the application package name currently used by the user according to the preset application cycle, and report the application usage information to the server. Correspondingly, the server will receive the parameter information reported by the set-top box and the application usage information including the name of the application package currently used by the user. The parameter information reported by the set-top box and the reported application usage information including the name of the application package currently being used by the user may be reported at the same time or separately, which is not limited here. The preset application cycle is 3 minutes/time. Optionally, the end user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption. The application usage information further includes: the time when the application currently being used by the user starts to be used.
步骤S302:接收与机顶盒匹配的终端发送的获取机顶盒在预置时间内上报的所述参数信息和所述应用使用信息的请求。Step S302: Receive a request from a terminal matched with the set-top box to obtain the parameter information and the application usage information reported by the set-top box within a preset time.
与机顶盒匹配的终端用户若想要知道机顶盒中应用的使用情况,则登录机顶盒远程控制APP,登录后,向服务器发送获取匹配设备号和序列号的机顶盒的参数信息和应用使用信息的请求,对应的,服务器便会接收与机顶盒匹配的终端发送的获取所述参数信息和所述应用使用信息的请求。所述预置时间为24h,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。所述与机顶盒匹配的终端为智能手机、智能可穿戴设备、平板电脑等。If the end user matching the set-top box wants to know the usage status of the application in the set-top box, log in the set-top box remote control APP, after logging in, send a request to the server to obtain the parameter information and application usage information of the set-top box matching the device number and serial number, corresponding If yes, the server will receive the request for obtaining the parameter information and the application usage information sent by the terminal matched with the set-top box. The preset time is 24 hours, and of course other preset times can also be set, which can be set according to the needs of end users. The terminal matched with the set-top box is a smart phone, a smart wearable device, a tablet computer, and the like.
步骤S303:向与机顶盒匹配的终端发送所述参数信息和所述应用使用信息。Step S303: sending the parameter information and the application usage information to the terminal matched with the set-top box.
服务器接收到与机顶盒匹配的终端发送的获取所述参数信息和所述应用使用信息的请求之后,向与机顶盒匹配的终端发送的所述参数信息和所述应用使用信息。The server sends the parameter information and the application usage information to the terminal matching the set-top box after receiving the request sent by the terminal matching the set-top box to acquire the parameter information and the application usage information.
步骤S304:接收与机顶盒匹配的终端发出的操控指令。Step S304: receiving a manipulation instruction from a terminal matching the set-top box.
所述操控指令包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的一种或任意组合。与机顶盒匹配的终端接收到所述参数信息和所述应用使用信息,解析所述参数信息和所述应用使用信息,并在终端上人性化呈现报表给终端用户,如获取当前机顶盒中正在使用的应用并计算使用的持续时长,并在终端上显示,终端用户通过顶盒远程控制APP向服务器发送控制机顶盒的操控指令,如强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令等,对应的服务器会接收到与机顶盒匹配的终端发出的操控指令。例如小孩在家玩游戏,则应用使用信息中会包含游戏应用名称及游戏应用开始使用的时间,若应用的使用超过3个小时,终端用户——家长认为需要小孩停止玩游戏,给机顶盒发出停止游戏的提醒信息,若小孩还是没有关闭游戏应用,则发出强制关机的提醒信息,强制关机,则操控指令包括发送警告提醒指令和强制关机指令,此时终端用户通过顶盒远程控制APP向服务器发出控制机顶盒的操控指令。The manipulation instruction includes: one or any combination of: a forced shutdown instruction, an instruction to send a warning reminder, an instruction to jump to a preset application, and an instruction to close a preset application. The terminal matched with the set-top box receives the parameter information and the application usage information, parses the parameter information and the application usage information, and presents a report to the terminal user in a humanized manner on the terminal, such as obtaining the information currently used in the set-top box. Apply and calculate the duration of use, and display it on the terminal. The end user sends the control command of the set-top box to the server through the top box remote control APP, such as forced shutdown command, sending warning reminder command, jumping to the preset application command, closing Preset application instructions, etc., and the corresponding server will receive the manipulation instructions from the terminal matching the set-top box. For example, if a child plays a game at home, the application usage information will include the name of the game application and the time when the game application started to be used. If the application is used for more than 3 hours, the end user—the parent thinks that the child needs to stop playing the game, and send a stop to the set-top box. The reminder information of the game, if the child still does not close the game application, it will send a reminder message of forced shutdown. For forced shutdown, the control command includes sending a warning reminder command and a forced shutdown command. Commands to control the set-top box.
步骤S305:接收机顶盒按预置指令周期发送的获取操控指令的请求,向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。Step S305: Receive the request for obtaining the control command sent by the top box according to the preset command cycle, and send to the set-top box an extensible markup language table containing the control command set composed of the control command sent by the terminal matching the set-top box.
服务器接收到与机顶盒匹配的终端发出的操控指令之后,不是直接把所述操控指令发送给机顶盒,而是在接收机顶盒发送的获取操控指令的请求之后,才向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。After the server receives the control command sent by the terminal matching the set-top box, it does not directly send the control command to the set-top box, but after receiving the request sent by the set-top box to obtain the control command, it sends to the set-top box. Extensible markup language table of the manipulation instruction set formed by the issued manipulation instructions. The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
可选的,在步骤S305之后,还包括步骤S306~S308,具体如下:Optionally, after step S305, steps S306-S308 are also included, specifically as follows:
步骤S306:接收机顶盒发送的所述操控指令的处理状态。Step S306: Receive the processing status of the manipulation instruction sent by the top box.
服务器向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表之后,机顶盒解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令,执行完毕后向服务器发送所述操控指令的处理状态,对应的,服务器会接收到机顶盒发送的所述操控指令的处理状态。After the server sends the set-top box an extensible markup language table containing a control command set composed of control commands issued by a terminal matching the set-top box, the set-top box parses the extensible markup language table, acquires the control commands in the control command set, and executes the set-top box. The control command is executed, and the processing status of the control command is sent to the server after execution. Correspondingly, the server will receive the processing status of the control command sent by the set-top box.
步骤S307:接收与机顶盒匹配的终端发送的获取所述操控指令的状态的请求。Step S307: Receive a request for acquiring the status of the manipulation instruction sent by the terminal matched with the set-top box.
与机顶盒匹配终端登录机顶盒远程控制APP,向服务器发出的操控指令后,终端用户若想知道操控指令的执行状态,向服务器发送获取所述操控指令的处理状态的请求,则服务会接收与机顶盒匹配的终端发送的获取所述操控指令的状态的请求。Matching with the set-top box The terminal logs in the set-top box remote control APP, and after sending the control command to the server, if the terminal user wants to know the execution status of the control command, send a request to the server to obtain the processing status of the control command, and the service will receive the match with the set-top box The request sent by the terminal to obtain the status of the manipulation instruction.
步骤S306与步骤S307没有一定的顺序,但是步骤S306及步骤S307一定要在步骤S308之前。Step S306 and step S307 have no certain order, but step S306 and step S307 must be before step S308.
步骤S308:把机顶盒发送的所述操控指令的处理状态转发给与机顶盒匹配的终端。Step S308: Forward the processing status of the manipulation command sent by the set-top box to the terminal matching the set-top box.
服务器在接收机顶盒发送的所述操控指令的处理状态,及接收与机顶盒匹配的终端发送的获取所述操控指令的状态的请求之后,则把机顶盒发送的所述操控指令的处理状态转发给与机顶盒匹配的终端。After the server receives the processing status of the manipulation command sent by the set-top box and receives the request for obtaining the status of the manipulation command sent by the terminal matched with the set-top box, it forwards the processing status of the manipulation command sent by the set-top box to the set-top box. matching terminal.
本实施例按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,执行完操控指令之后,向服务器发送所述操控指令的处理状态,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。In this embodiment, a request is sent to the server to obtain a control command according to a preset command cycle, and an extensible markup language table containing a control command set composed of a control command sent by a terminal matching a set-top box is received from the server, and the extensible tag The language table acquires the control command issued by the terminal, and executes the control command. After the control command is executed, it sends the processing status of the control command to the server, realizing the remote control of the set-top box by the terminal, and sending the command to the server according to the preset command cycle. Sending the request to obtain the control instruction reduces the compliance of the server and optimizes the control mechanism of the system.
请参考图4,其是本发明具体实施方式中提供的一种远程管控机顶盒的方法的第四实施例的方法流程图。本实施例的执行主体为终端,所述终端为智能手机、智能可穿戴设备、平板电脑等,如图所示,该方法,包括:Please refer to FIG. 4 , which is a flowchart of a fourth embodiment of a method for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention. The execution subject of this embodiment is a terminal, and the terminal is a smart phone, a smart wearable device, a tablet computer, etc. As shown in the figure, the method includes:
步骤S401:向服务器发送获取与终端匹配的机顶盒在预置时间内的上报的参数信息和按预置应用周期上报的包含当前用户正在使用的应用包名的应用使用信息的请求。Step S401: Send a request to the server to obtain the parameter information reported by the set-top box matching the terminal within a preset time and the application usage information including the application package name currently used by the user reported at a preset application cycle.
所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。所述预置应用周期为3分钟/次,可选的,终端用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The parameter information includes: device number, serial number, software version number, and hardware version number of the set-top box. The application usage information further includes: the time when the application currently being used by the user starts to be used. The preset application cycle is 3 minutes/time. Optionally, the end user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
优选的,步骤S401之前还包括:Preferably, before step S401, it also includes:
利用机顶盒的设备号、序列号及密码,或机顶盒绑定的手机号码/邮箱、及密码,登录机顶盒远程控制APP。Use the device number, serial number and password of the set-top box, or the mobile phone number/email, and password bound to the set-top box to log in to the remote control APP of the set-top box.
在终端上下载安装机顶盒远程控制APP,终端联网后,初次使用时,终端用户可通过扫一扫或手动输入机顶盒包装盒上的设备号和序列号及默认初始密码登录机顶盒远程控制APP,之后可通过修改的密码及绑定手机号码/邮箱等方式登录,登录后,向服务器发送获取匹配设备号和序列号的机顶盒在预置时间内上报的参数信息和应用使用信息的请求。所述预置时间为24h,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。Download and install the set-top box remote control APP on the terminal. After the terminal is connected to the Internet, when using it for the first time, the terminal user can log in to the set-top box remote control APP by scanning or manually entering the device number and serial number on the set-top box box and the default initial password. Log in by modifying the password and binding the mobile phone number/email, etc. After logging in, send a request to the server to obtain the parameter information and application usage information reported by the set-top box that matches the device number and serial number within the preset time. The preset time is 24 hours, and of course other preset times can also be set, which can be set according to the needs of end users.
步骤S402:接收服务器发送的所述参数信息和所述应用使用信息。Step S402: receiving the parameter information and the application usage information sent by the server.
在机顶盒上电后,当接收到开机广播时,机顶盒会向服务器上报机顶盒的参数信息,按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器,终端向服务器发送获取与终端匹配的机顶盒在预置时间内的上报的参数信息和按预置应用周期上报的包含当前用户正在使用的应用包名的应用使用信息的请求之后,服务器根据终端绑定的机顶盒的设备号和序列号匹配对应的机顶盒,获取对应的参数信息和应用使用信息并发送给终端,对应的,终端会接收到服务器发送的所述参数信息和所述应用使用信息。设备号和序列号相同,则认为是同一个机顶盒。After the set-top box is powered on, when it receives the power-on broadcast, the set-top box will report the parameter information of the set-top box to the server, obtain the application usage information including the application package name currently used by the user according to the preset application cycle, and report the application usage information The server, after the terminal sends to the server a request to obtain the parameter information reported by the set-top box matching the terminal within the preset time and the application usage information including the application package name currently used by the user reported according to the preset application cycle, the server according to the terminal The device number and serial number of the bound set-top box are matched with the corresponding set-top box, and the corresponding parameter information and application usage information are obtained and sent to the terminal. Correspondingly, the terminal will receive the parameter information and the application usage information sent by the server. If the device number and serial number are the same, they are considered to be the same set-top box.
步骤S403:解析所述参数信息和所述应用使用信息,并显示,获取用户输入的操控指令,通过服务器向与终端匹配的机顶盒发出操控指令。Step S403: Parse and display the parameter information and the application usage information, acquire the manipulation command input by the user, and send the manipulation command to the set-top box matched with the terminal through the server.
所述操控指令包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的一种或任意组合。终端接收到所述参数信息和所述应用使用信息后,解析所述参数信息和所述应用使用信息,并在终端上人性化呈现报表给终端用户,如获取当前机顶盒中正在使用的应用并计算使用的持续时长,并在终端上显示,终端用户在顶盒远程控制APP输入操控指令,对应的为终端获取用户输入的操控指令,通过服务器向与终端匹配的机顶盒发出的操控指令,如强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令等。例如,小孩在家玩游戏,则终端解析应用使用信息,在终端上呈现游戏应用名称及游戏应用开始使用的时间,及使用的持续时长,若应用使用的持续超过3个小时,终端用户——家长认为需要小孩停止玩游戏,想给机顶盒发出停止游戏的提醒信息,若小孩还是没有关闭游戏应用,则发出强制关机的提醒信息,强制关机,则操控指令包括发送警告提醒指令和强制关机指令,此时终端用户通过顶盒远程控制APP向服务器发出控制机顶盒的操控指令。The manipulation instruction includes: one or any combination of: a forced shutdown instruction, an instruction to send a warning reminder, an instruction to jump to a preset application, and an instruction to close a preset application. After receiving the parameter information and the application usage information, the terminal parses the parameter information and the application usage information, and presents a report to the terminal user in a humanized manner on the terminal, such as acquiring the currently used application in the set-top box and calculating The duration of use is displayed on the terminal. The terminal user enters the control command in the remote control APP of the top box, and the terminal obtains the control command input by the user, and sends the control command to the set-top box matching the terminal through the server, such as forced shutdown. Command, send warning reminder command, jump to preset application command, close preset application command, etc. For example, if a child is playing a game at home, the terminal analyzes the application usage information, and presents the name of the game application, the time when the game application started to be used, and the duration of use. If the application continues to be used for more than 3 hours, the terminal user—— Parents think it is necessary for the child to stop playing the game, and want to send a reminder message to the set-top box to stop the game. If the child still does not close the game application, a reminder message for forced shutdown will be sent. For forced shutdown, the control command includes sending a warning reminder command and a forced shutdown command. At this time, the terminal user sends a control command to the server to control the set-top box through the remote control APP of the set-top box.
可选的,步骤S403之后,还包括:Optionally, after step S403, further include:
步骤S404:向服务器发送获取所述操控指令的处理状态的请求。Step S404: Send a request to the server to obtain the processing status of the manipulation instruction.
虽然发送的操控指令,但若小孩不听话,选择不执行操控指令等,终端用户——家长想要知道操控指令的处理状态,则向服务器发送获取所述操控指令的处理状态的请求。Although the control command is sent, if the child is disobedient and chooses not to execute the control command, etc., the end user—the parent wants to know the processing status of the control command, and then sends a request to the server to obtain the processing status of the control command.
步骤S405:接收服务器转发的与终端匹配的机顶盒发送给服务器的所述操控指令的处理状态。Step S405: Receive the processing status of the manipulation instruction sent to the server by the set-top box matching the terminal forwarded by the server.
终端通过服务器向与终端匹配的机顶盒发出操控指令之后,服务器若接收机顶盒按预置指令周期发送的获取操控指令的请求,则向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,机顶盒解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令,执行完毕后向服务器发送所述操控指令的处理状态,在终端向服务器发送获取所述操控指令的处理状态的请求之后,终端会接收到服务器转发的与终端匹配的机顶盒发送给服务器的所述操控指令的处理状态。所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。After the terminal sends a control instruction to the set-top box matching the terminal through the server, if the server receives the request for obtaining the control instruction sent by the top box according to the preset instruction cycle, it will send to the set-top box a control instruction composed of the control instruction issued by the terminal matching the set-top box The set-top box parses the extensible markup language table, obtains the control command in the control command set, executes the control command, and sends the processing status of the control command to the server after the execution is completed. After sending the request to the server for acquiring the processing status of the manipulation instruction, the terminal will receive the processing status of the manipulation command sent to the server by the set-top box matching the terminal forwarded by the server. The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
本实施例通过在终端下载并安装机顶盒远程控制APP,终端用户在联网状态下输入唯一标识机顶盒的参数(机顶盒的设备号及序列号)及密码登录APP,实时获取家中机顶盒播放状态及播放日志,终端提供各种操控指令(如强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令等)实现远程监管家中机顶盒的使用。终端发出的操控指令由机顶盒按预置指令周期向服务器获取,降低了服务器的符合,优化了系统的控制机制。In this embodiment, by downloading and installing the set-top box remote control APP on the terminal, the terminal user enters the parameters that uniquely identify the set-top box (the device number and serial number of the set-top box) and the password to log in to the APP in the networked state, and obtains the playback status and playback log of the set-top box at home in real time. The terminal provides various manipulation commands (such as a forced shutdown command, a command to send a warning reminder, a command to jump to a preset application, a command to close a preset application, etc.) to realize remote supervision of the use of the set-top box at home. The control instructions issued by the terminal are obtained from the server by the set-top box according to the preset instruction cycle, which reduces the compliance of the server and optimizes the control mechanism of the system.
以下是本发明具体实施方式中提供的一种远程管控机顶盒的系统的实施例,远程管控机顶盒的系统的实施例基于上述远程管控机顶盒的的方法的实施例实现,在远程管控机顶盒的系统中未尽的描述,请参考前述远程管控机顶盒的方法的实施例。The following is an embodiment of a system for remotely managing and controlling a set-top box provided in the specific embodiments of the present invention. The embodiment of the system for remotely managing and controlling a set-top box is implemented based on the embodiment of the method for remotely controlling a set-top box. In the system for remotely controlling a set-top box, there is no For an exhaustive description, please refer to the aforementioned embodiment of the method for remotely managing and controlling a set-top box.
请参考图5,其是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第一实施例的结构方框图。本实施例对应于上述一种远程管控机顶盒的方法的第一实施例,本实施例提供的远程管控机顶盒的系统应用于机顶盒,如图所示,该系统,包括:Please refer to FIG. 5 , which is a structural block diagram of a first embodiment of a system for remotely managing and controlling a set-top box provided in a specific embodiment of the present invention. This embodiment corresponds to the first embodiment of the above-mentioned method for remotely controlling a set-top box. The system for remotely controlling a set-top box provided in this embodiment is applied to a set-top box. As shown in the figure, the system includes:
参数信息上报模块51,用于接收到开机广播,向服务器上报参数信息。The parameter information reporting module 51 is configured to receive the start-up broadcast and report the parameter information to the server.
所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。The parameter information includes: device number, serial number, software version number, and hardware version number of the set-top box.
使用信息上报模块52,用于按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器。The usage information reporting module 52 is configured to acquire application usage information including the name of the application package currently being used by the user at a preset application cycle, and report the application usage information to the server.
所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。The application usage information further includes: the time when the application currently being used by the user starts to be used.
所述预置应用周期为3分钟/次,可选的,用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The preset application cycle is 3 minutes/time. Optionally, the user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
请求发送模块53,用于按预置指令周期向服务器发送获取操控指令的请求。The request sending module 53 is configured to send a request for acquiring manipulation instructions to the server at a preset instruction cycle.
所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
接收模块54,用于接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。The receiving module 54 is configured to receive the extensible markup language table sent by the server and including the manipulation instruction set composed of the manipulation instructions sent by the terminal matching the set-top box.
指令执行模块55,用于解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。The instruction execution module 55 is configured to parse the extensible markup language table, acquire the manipulation instructions in the manipulation instruction set, and execute the manipulation instructions.
综上所述,本实施例通过通过按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。To sum up, in this embodiment, by sending a request to the server for obtaining manipulation instructions according to a preset instruction cycle, the XML table containing the manipulation instruction set composed of the manipulation instructions sent by the terminal matching the set-top box is received from the server. , acquire the control command issued by the terminal by the extensible markup language table, and execute the control command, realize the remote control of the set-top box by the terminal, and send the request to the server to obtain the control command according to the preset command period, which reduces the server’s load. In line with this, the control mechanism of the system is optimized.
请参考图6,其是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第二实施例的结构方框图。本实施例对应于上述一种远程管控机顶盒的方法的第二实施例,本实施例提供的远程管控机顶盒的系统应用于机顶盒,如图所示,该系统,包括:Please refer to FIG. 6 , which is a structural block diagram of a second embodiment of a system for remotely managing and controlling a set-top box provided in the specific implementation manner of the present invention. This embodiment corresponds to the second embodiment of the above-mentioned method for remotely controlling a set-top box. The system for remotely controlling a set-top box provided in this embodiment is applied to a set-top box. As shown in the figure, the system includes:
参数信息上报模块61,用于接收到开机广播,向服务器上报参数信息。The parameter information reporting module 61 is configured to receive the start-up broadcast and report the parameter information to the server.
所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。The parameter information includes: device number, serial number, software version number, and hardware version number of the set-top box.
使用信息上报模块62,用于按预置应用周期获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息上报服务器。The usage information reporting module 62 is configured to acquire application usage information including the name of the application package currently being used by the user at a preset application cycle, and report the application usage information to the server.
所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。The application usage information further includes: the time when the application currently being used by the user starts to be used.
所述预置应用周期为3分钟/次,可选的,用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The preset application cycle is 3 minutes/time. Optionally, the user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
请求发送模块63,用于按预置指令周期向服务器发送获取操控指令的请求。The request sending module 63 is configured to send a request for acquiring manipulation instructions to the server at a preset instruction cycle.
所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
接收模块64,用于接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。The receiving module 64 is configured to receive an extensible markup language table sent by the server and including a manipulation instruction set composed of manipulation instructions sent by a terminal matching the set-top box.
指令执行模块65,用于解析所述可扩展标记语言表,获取所述操控指令集中的操控指令,执行所述操控指令。The instruction execution module 65 is configured to parse the extensible markup language table, obtain the manipulation instructions in the manipulation instruction set, and execute the manipulation instructions.
状态发送模块66,用于向服务器发送所述操控指令的处理状态。A status sending module 66, configured to send the processing status of the manipulation instruction to the server.
本实施例按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,执行完操控指令之后,向服务器发送所述操控指令的处理状态,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。In this embodiment, a request is sent to the server to obtain a control command according to a preset command cycle, and an extensible markup language table containing a control command set composed of a control command sent by a terminal matching a set-top box is received from the server, and the extensible tag The language table acquires the control command issued by the terminal, and executes the control command. After the control command is executed, it sends the processing status of the control command to the server, realizing the remote control of the set-top box by the terminal, and sending the command to the server according to the preset command cycle. Sending the request to obtain the control instruction reduces the compliance of the server and optimizes the control mechanism of the system.
请参考图7,其是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第三实施例的结构方框图。本实施例对应于上述一种远程管控机顶盒的方法的第三实施例,本实施例提供的远程管控机顶盒的系统应用于服务器,如图所示,该系统,包括:Please refer to FIG. 7 , which is a structural block diagram of a third embodiment of a system for remotely managing and controlling a set-top box provided in the specific implementation manner of the present invention. This embodiment corresponds to the third embodiment of the above-mentioned method for remotely controlling a set-top box. The system for remotely controlling a set-top box provided in this embodiment is applied to a server. As shown in the figure, the system includes:
信息接收模块71,用于接收机顶盒上报的参数信息和按预置应用周期获取的包含当前用户正在使用的应用包名的应用使用信息。The information receiving module 71 is configured to receive the parameter information reported by the set-top box and the application usage information including the name of the application package currently being used by the user obtained according to the preset application cycle.
所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。The parameter information includes: device number, serial number, software version number, and hardware version number of the set-top box. The application usage information further includes: the time when the application currently being used by the user starts to be used.
所述预置应用周期为3分钟/次,可选的,用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The preset application cycle is 3 minutes/time. Optionally, the user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
请求接收模块72,用于接收与机顶盒匹配的终端发送的获取机顶盒在预置时间内上报的所述参数信息和所述应用使用信息的请求。所述预置时间为24h,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。The request receiving module 72 is configured to receive a request sent by a terminal matched with the set-top box to obtain the parameter information and the application usage information reported by the set-top box within a preset time. The preset time is 24 hours, and of course other preset times can also be set, which can be set according to the needs of end users.
信息发送模块73,用于向与机顶盒匹配的终端发送所述参数信息和所述应用使用信息。An information sending module 73, configured to send the parameter information and the application usage information to a terminal matched with the set-top box.
指令接收模块74,用于接收与机顶盒匹配的终端发出的操控指令。The command receiving module 74 is configured to receive a manipulation command from a terminal matched with the set-top box.
发送模块75,用于接收机顶盒按预置指令周期发送的获取操控指令的请求,向机顶盒发送包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表。The sending module 75 is used for receiving the request for acquiring the manipulation instruction sent by the top box according to the preset instruction period, and sending to the set-top box an Extensible Markup Language table containing the manipulation instruction set composed of the manipulation instructions sent by the terminal matching the set-top box.
所述预置指令周期为1分钟/次,用户也可根据需要设置其他的预置指令周期,以达到既满足需求,又能降低服务器负荷,优化控制机制的目的。The preset instruction period is 1 minute/time, and the user can also set other preset instruction periods according to needs, so as to meet the requirements, reduce the server load, and optimize the control mechanism.
可选的,该系统还包括:Optionally, the system also includes:
状态接收模块76,用于接收机顶盒发送的所述操控指令的处理状态。The status receiving module 76 is configured to receive the processing status of the manipulation instruction sent by the top box.
状态获取请求接收模块77,接收与机顶盒匹配的终端发送的获取所述操控指令的状态的请求。The status acquisition request receiving module 77 is configured to receive a request for acquiring the status of the manipulation instruction sent by a terminal matched with the set-top box.
状态转发模块78,用于把机顶盒发送的所述操控指令的处理状态转发给与机顶盒匹配的终端。The state forwarding module 78 is configured to forward the processing state of the manipulation command sent by the set-top box to a terminal matching the set-top box.
本实施例按预置指令周期向服务器发送获取操控指令的请求,接收服务器发送的包含由与机顶盒匹配的终端发出的操控指令构成的操控指令集的可扩展标记语言表,由所述可扩展标记语言表获取终端发出的操控指令,并执行所述操控指令,执行完操控指令之后,向服务器发送所述操控指令的处理状态,实现了利用终端对机顶盒的远程管控,按预置指令周期向服务器发送获取操控指令的请求降低了服务器的符合,优化了系统的控制机制。In this embodiment, a request is sent to the server to obtain a control command according to a preset command cycle, and an extensible markup language table containing a control command set composed of a control command sent by a terminal matching a set-top box is received from the server, and the extensible tag The language table acquires the control command issued by the terminal, and executes the control command. After the control command is executed, it sends the processing status of the control command to the server, realizing the remote control of the set-top box by the terminal, and sending the command to the server according to the preset command cycle. Sending the request to obtain the control instruction reduces the compliance of the server and optimizes the control mechanism of the system.
请参考图8,其是本发明具体实施方式中提供的一种远程管控机顶盒的系统的第四实施例的结构方框图。本实施例对应于上述一种远程管控机顶盒的方法的第四实施例,本实施例提供的远程管控机顶盒的系统应用于终端中的机顶盒远程控制APP,所述终端为智能手机、智能可穿戴设备、平板电脑等,如图所示,该系统,包括:Please refer to FIG. 8 , which is a structural block diagram of a fourth embodiment of a system for remotely managing and controlling a set-top box provided in the specific implementation manner of the present invention. This embodiment corresponds to the fourth embodiment of the above-mentioned method for remotely controlling a set-top box. The system for remotely controlling a set-top box provided in this embodiment is applied to a set-top box remote control APP in a terminal, and the terminal is a smart phone or a smart wearable device. , tablet computer, etc., as shown in the figure, the system includes:
请求发送模块81,用于向服务器发送获取与终端匹配的机顶盒在预置时间内的上报的参数信息和按预置应用周期上报的包含当前用户正在使用的应用包名的应用使用信息的请求。The request sending module 81 is configured to send to the server a request to obtain the parameter information reported by the set-top box matching the terminal within a preset time and the application usage information including the application package name currently used by the user reported according to the preset application cycle.
所述预置时间为24h,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。所述参数信息包括:机顶盒的设备号、序列号、软件版本号、和硬件版本号等。所述应用使用信息还包括:当前用户正在使用的应用开始使用的时间。所述预置应用周期为3分钟/次,可选的,用户也可根据需要设置其他的预置应用周期,以达到既满足需求,又不浪费功耗的目的。The preset time is 24 hours, and of course other preset times can also be set, which can be set according to the needs of end users. The parameter information includes: device number, serial number, software version number, and hardware version number of the set-top box. The application usage information further includes: the time when the application currently being used by the user starts to be used. The preset application cycle is 3 minutes/time. Optionally, the user can also set other preset application cycles according to needs, so as to meet the requirements without wasting power consumption.
信息接收模块82,用于接收服务器发送的所述参数信息和所述应用使用信息。The information receiving module 82 is configured to receive the parameter information and the application usage information sent by the server.
指令发送模块83,用于解析所述参数信息和所述应用使用信息,并显示,获取用户输入的操控指令,通过服务器向与终端匹配的机顶盒发出操控指令。The instruction sending module 83 is configured to analyze the parameter information and the application usage information, and display, obtain the operation instruction input by the user, and send the operation instruction to the set-top box matched with the terminal through the server.
可选的,该系统还包括:Optionally, the system also includes:
指令获取请求发送模块84,用于向服务器发送获取所述操控指令的处理状态的请求。The instruction acquisition request sending module 84 is configured to send a request to the server to acquire the processing status of the manipulation instruction.
处理状态接收模块85,用于接收服务器转发的与终端匹配的机顶盒发送给服务器的所述操控指令的处理状态。The processing state receiving module 85 is configured to receive the processing state of the manipulation instruction sent to the server by the set-top box matching the terminal forwarded by the server.
本实施例通过在终端下载并安装机顶盒远程控制APP,终端用户在联网状态下输入唯一标识机顶盒的参数(机顶盒的设备号及序列号)及密码登录APP,实时获取家中机顶盒播放状态及播放日志,终端提供各种操控指令(如强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令等)实现远程监管家中机顶盒的使用。终端发出的操控指令由机顶盒按预置指令周期向服务器获取,降低了服务器的符合,优化了系统的控制机制。In this embodiment, by downloading and installing the set-top box remote control APP on the terminal, the terminal user enters the parameters that uniquely identify the set-top box (the device number and serial number of the set-top box) and the password to log in to the APP in the networked state, and obtains the playback status and playback log of the set-top box at home in real time. The terminal provides various manipulation commands (such as a forced shutdown command, a command to send a warning reminder, a command to jump to a preset application, a command to close a preset application, etc.) to realize remote supervision of the use of the set-top box at home. The control instructions issued by the terminal are obtained from the server by the set-top box according to the preset instruction cycle, which reduces the compliance of the server and optimizes the control mechanism of the system.
以上结合具体实施例描述了本发明的技术原理。这些描述只是为了解释本发明的原理,而不能以任何方式解释为对本发明保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明的其它具体实施方式,这些方式都将落入本发明的保护范围之内。The above describes the technical principles of the present invention in conjunction with specific embodiments. These descriptions are only for explaining the principles of the present invention, and cannot be construed as limiting the protection scope of the present invention in any way. Based on the explanations herein, those skilled in the art can think of other specific implementation modes of the present invention without creative efforts, and these modes will all fall within the protection scope of the present invention.
Claims (13)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797476.1A CN106131709A (en) | 2016-08-31 | 2016-08-31 | A kind of method and system of remote-control Set Top Box |
PCT/CN2017/098867 WO2018041002A1 (en) | 2016-08-31 | 2017-08-24 | Set-top box control method, set-top box, server, and smart terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610797476.1A CN106131709A (en) | 2016-08-31 | 2016-08-31 | A kind of method and system of remote-control Set Top Box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131709A true CN106131709A (en) | 2016-11-16 |
Family
ID=57271517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610797476.1A Pending CN106131709A (en) | 2016-08-31 | 2016-08-31 | A kind of method and system of remote-control Set Top Box |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106131709A (en) |
WO (1) | WO2018041002A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899815A (en) * | 2017-03-10 | 2017-06-27 | 北京百变悟空科技有限公司 | A kind of monitoring method for intelligent television |
CN107613343A (en) * | 2017-10-12 | 2018-01-19 | 江苏省公用信息有限公司 | A kind of intelligent mobile terminal realizes the method intelligently bound with Intelligent set top box terminal |
WO2018041002A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳创维数字技术有限公司 | Set-top box control method, set-top box, server, and smart terminal |
CN108012165A (en) * | 2017-12-01 | 2018-05-08 | 广东九联科技股份有限公司 | A kind of management system of set-top box money-making treasured APP |
CN110139139A (en) * | 2018-02-02 | 2019-08-16 | 华为技术有限公司 | A kind of method for processing business, terminal, server and Related product |
CN112243226A (en) * | 2020-10-14 | 2021-01-19 | 广东汉鼎蜂助手网络技术有限公司 | Cloud SIM card wireless network remote control method, system and server device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112261088B (en) * | 2020-09-27 | 2022-11-15 | 华数传媒网络有限公司 | Set top box remote control method |
CN113687708B (en) * | 2021-10-26 | 2022-06-24 | 北京初志科技有限公司 | Remote startup and shutdown system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239178A (en) * | 2013-06-09 | 2014-12-24 | 英华达(上海)科技有限公司 | Monitoring system and monitoring method |
CN105245566A (en) * | 2015-08-28 | 2016-01-13 | 广东小天才科技有限公司 | Monitoring method, device and system of learning terminal |
CN105451074A (en) * | 2014-08-26 | 2016-03-30 | Tcl集团股份有限公司 | Method and system for monitoring smart device remotely by using smart mobile terminal |
CN105763539A (en) * | 2016-01-29 | 2016-07-13 | 四川长虹电器股份有限公司 | Method for remotely restricting OTT box through intelligent terminal |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9571625B2 (en) * | 2009-08-11 | 2017-02-14 | Lg Electronics Inc. | Electronic device and control method thereof |
CN102469368B (en) * | 2010-11-18 | 2014-06-18 | 深圳Tcl数字技术有限公司 | Method for remotely controlling television and television |
CN102970611A (en) * | 2012-11-29 | 2013-03-13 | 深圳市路通网络技术有限公司 | Internet protocol television (IPTV) control method, device and system |
CN103152624A (en) * | 2013-02-26 | 2013-06-12 | 中兴通讯股份有限公司 | Remote control processing method, device and system |
KR20150136600A (en) * | 2013-03-29 | 2015-12-07 | 톰슨 라이센싱 | Parental control of content viewing by children using a remote smart phone |
CN104038817A (en) * | 2014-05-09 | 2014-09-10 | 海信集团有限公司 | Method of remotely monitoring intelligent television, mobile terminal, intelligent television and server |
CN105516792A (en) * | 2014-10-20 | 2016-04-20 | 中国电信股份有限公司 | Method and system for remote control of set-top box operation |
CN104581328B (en) * | 2014-12-24 | 2018-04-13 | 青岛海尔软件有限公司 | The remote switch control system and control method of a kind of television set |
CN104735510B (en) * | 2015-04-14 | 2018-06-12 | 深圳市茁壮网络股份有限公司 | A kind of set-top box control method, apparatus and system |
CN105656894A (en) * | 2015-12-31 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Main control intelligent terminal, controlled intelligent terminal and monitoring method |
CN106131709A (en) * | 2016-08-31 | 2016-11-16 | 深圳创维数字技术有限公司 | A kind of method and system of remote-control Set Top Box |
-
2016
- 2016-08-31 CN CN201610797476.1A patent/CN106131709A/en active Pending
-
2017
- 2017-08-24 WO PCT/CN2017/098867 patent/WO2018041002A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239178A (en) * | 2013-06-09 | 2014-12-24 | 英华达(上海)科技有限公司 | Monitoring system and monitoring method |
CN105451074A (en) * | 2014-08-26 | 2016-03-30 | Tcl集团股份有限公司 | Method and system for monitoring smart device remotely by using smart mobile terminal |
CN105245566A (en) * | 2015-08-28 | 2016-01-13 | 广东小天才科技有限公司 | Monitoring method, device and system of learning terminal |
CN105763539A (en) * | 2016-01-29 | 2016-07-13 | 四川长虹电器股份有限公司 | Method for remotely restricting OTT box through intelligent terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018041002A1 (en) * | 2016-08-31 | 2018-03-08 | 深圳创维数字技术有限公司 | Set-top box control method, set-top box, server, and smart terminal |
CN106899815A (en) * | 2017-03-10 | 2017-06-27 | 北京百变悟空科技有限公司 | A kind of monitoring method for intelligent television |
CN107613343A (en) * | 2017-10-12 | 2018-01-19 | 江苏省公用信息有限公司 | A kind of intelligent mobile terminal realizes the method intelligently bound with Intelligent set top box terminal |
CN108012165A (en) * | 2017-12-01 | 2018-05-08 | 广东九联科技股份有限公司 | A kind of management system of set-top box money-making treasured APP |
CN110139139A (en) * | 2018-02-02 | 2019-08-16 | 华为技术有限公司 | A kind of method for processing business, terminal, server and Related product |
CN112243226A (en) * | 2020-10-14 | 2021-01-19 | 广东汉鼎蜂助手网络技术有限公司 | Cloud SIM card wireless network remote control method, system and server device |
Also Published As
Publication number | Publication date |
---|---|
WO2018041002A1 (en) | 2018-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131709A (en) | A kind of method and system of remote-control Set Top Box | |
TWI496067B (en) | A device intelligent control method and device, system, plug and play equipment | |
CN104412603B (en) | It handles the method for interactive service and receives the device of interactive service | |
CN103826156B (en) | Terminal remote control method, set-top box, mobile terminal and web server | |
US9860603B2 (en) | Method and apparatus for managing applications based on application information included in a broadcasting signal | |
KR101411322B1 (en) | Home network device control service and internet service method and apparatus thereof | |
CN102571979B (en) | Multi-screen interactive equipment and its binding method | |
KR20150073987A (en) | Apparatus and method for processing an interactive service | |
KR20150090049A (en) | Apparatus and method for processing an interactive service | |
US10554745B2 (en) | Method and apparatus for managing connection between broadcasting reception device and another device which are connected through network | |
US9942620B2 (en) | Device and method for remotely controlling the rendering of multimedia content | |
CN105451074A (en) | Method and system for monitoring smart device remotely by using smart mobile terminal | |
CN106375859B (en) | A kind of media processing method, device and terminal | |
CN104918122A (en) | A method and device for sharing and controlling a plurality of devices in a home network | |
CN108174256A (en) | Video broadcasting method, device and computer readable storage medium | |
CN109218779A (en) | A method of the control children based on smart phone watch TV programme | |
CN113556612A (en) | Method and system for playing H.265 video stream on browser | |
US8629798B2 (en) | Programming a universal remote control via direct interaction with an original remote control | |
WO2011130962A1 (en) | Remote processing method, device and system | |
CN112261014A (en) | Television screen projection method and system | |
US20140007174A1 (en) | Back channel communication | |
CN103647998A (en) | Control method based on intelligent television | |
CN114401428A (en) | Method for realizing remote multi-screen interaction under public network based on short link signaling channel | |
CN108108105B (en) | Information processing equipment and information processing method | |
CN115996304B (en) | Message pushing method, device, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |