WO2018041002A1 - Set-top box control method, set-top box, server, and smart terminal - Google Patents

Set-top box control method, set-top box, server, and smart terminal Download PDF

Info

Publication number
WO2018041002A1
WO2018041002A1 PCT/CN2017/098867 CN2017098867W WO2018041002A1 WO 2018041002 A1 WO2018041002 A1 WO 2018041002A1 CN 2017098867 W CN2017098867 W CN 2017098867W WO 2018041002 A1 WO2018041002 A1 WO 2018041002A1
Authority
WO
WIPO (PCT)
Prior art keywords
top box
set top
server
application
smart terminal
Prior art date
Application number
PCT/CN2017/098867
Other languages
French (fr)
Chinese (zh)
Inventor
吴亚芳
黄秋平
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2018041002A1 publication Critical patent/WO2018041002A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring 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/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client

Definitions

  • the present disclosure relates to the field of set top boxes, for example, to a method of controlling a set top box, a set top box, a server, and a smart terminal.
  • a set-top box is an electronic device that connects a television to an external signal source. It converts the compressed digital signal into a signal that the TV can recognize, allowing the user to watch digital TV programs on the TV and interactive digital entertainment over the network. , education and commercialization activities.
  • set-top boxes have entered more and more families, and a wide variety of applications such as online video and games are very rich and attractive.
  • the present disclosure provides a method for controlling a set top box, a set top box, a server, and an intelligent terminal.
  • the control can reduce the load of the server, optimize the control mechanism, and realize remote control of the set top box by using the terminal.
  • the present disclosure provides a method for controlling a set top box, which is applied to a set top box, wherein the set top box is in communication with a server, the set top box is associated with an intelligent terminal, and the smart terminal is communicably connected with the server, the smart terminal
  • the method for controlling, by the server, the set top box comprising: sending identity information of the set top box to the server; and sending an acquisition request of the control box of the set top box to the server according to an instruction acquisition frequency; Receiving, by the server, an extensible markup language table including a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal to the set top box; parsing the extensible markup language table to obtain the control An instruction; and executing the control instruction.
  • the present disclosure provides a method for controlling a set top box, which is applied to a server, the set top box is in communication with the server, the set top box is associated with an intelligent terminal, and the smart terminal is communicably connected with the server.
  • the intelligent terminal is configured to control the set top box by using the server, and the method includes: receiving identity information of the set top box sent by the set top box; and receiving an acquisition request of the identity information sent by the smart terminal,
  • the identity information is information sent by the set top box within a preset time; the identity information is sent to the smart terminal; the control command sent by the smart terminal to the set top box is received; and the set top box is received according to the instruction Acquiring an acquisition request of the control instruction sent by the frequency; sending, to the set top box, an extensible markup language table including a set of control instructions, wherein the set of control instructions includes the control instruction.
  • the present disclosure provides a method for controlling a set top box, which is applied to an intelligent terminal, where the set top box is in communication with a server, and the set top box is associated with the smart terminal, the smart terminal Communicating with the server, the smart terminal is configured to control the set top box by using the server, and the method includes: sending, to the server, a request for acquiring identity information of the set top box, where the identity information is Receiving, by the set top box, information sent to the server within a preset time; receiving the identity information sent by the server; parsing the identity information, and displaying; receiving a control command, sending the set top box to the set top box by using the server The control instruction.
  • the present disclosure provides a set top box, the set top box is in communication with a server, the set top box is associated with a smart terminal, the smart terminal is in communication connection with the server, and the smart terminal is used to pass the server.
  • Controlling the set-top box, the set-top box includes: an identity information reporting module, configured to: send identity information of the set-top box to the server; and request a sending module, configured to: send the a request for obtaining a control order of the set top box; the receiving module is configured to: receive an extensible markup language table that is sent by the server and includes a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal for the set top box And an instruction execution module configured to: parse the extensible markup language table, obtain a control instruction in the control instruction set, and execute the control instruction.
  • the present disclosure provides a server, where the server is in communication with a set top box, the set top box is associated with an intelligent terminal, the smart terminal is in communication connection with the server, and the smart terminal is used to pass the server.
  • Controlling the set top box the server includes: an information receiving module, configured to: receive identity information of the set top box sent by the set top box; and the request receiving module is configured to: receive the smart terminal to send in a preset time
  • the information sending module is configured to: the identity information sent to the smart terminal; the command receiving module is configured to: receive a control command issued by the smart terminal to the set top box;
  • a sending module configured to: receive an acquisition request of the control box sent by the set top box according to the instruction acquisition frequency, and send an extensible markup language table including a control instruction set to the set top box, where the control instruction set includes the control issued by the smart terminal instruction.
  • the present disclosure provides an intelligent terminal, where the smart terminal is associated with a set top box, the set top box is in communication with a server, the smart terminal is in communication with the server, and the smart terminal is used to pass the server.
  • the smart terminal includes: a request sending module, configured to: send a request for acquiring the identity information of the set top box to the server, where the identity information is information sent by the set top box within a preset time
  • the information receiving module is configured to: receive the identity information sent by the server; and the command sending module is configured to: parse the identity information, display, and receive a control command, and send the message to the set top box by using a server Control instructions.
  • the present disclosure also provides a set top box including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, executing The above applies to any of the methods in the set top box.
  • the present disclosure also provides a server including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, executing The above applies to any of the methods in the server.
  • the present disclosure also provides an intelligent terminal comprising one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory when executed by one or more processors Perform any of the above methods applied to the smart terminal.
  • the present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Having the computer perform any of the methods described above.
  • the method for controlling a set top box, the set top box, the server and the intelligent terminal provide the server with the identity information of the set top box, so that the server recognizes the identity of the set top box; and then obtains the acquisition request of the control box for sending the set top box to the server according to the instruction acquisition frequency, thereby reducing The load of the server; the extensible markup language table containing the control instruction set sent by the receiving server, and the parsing of the extensible markup language table, obtaining and executing the control instruction, and realizing the remote control using the smart terminal while optimizing the control mechanism Control the set-top box.
  • FIG. 1 is a schematic diagram of a hardware structure of an application scenario of a method for controlling a set top box according to the embodiment
  • FIG. 2 is a schematic flow chart of a method of a first embodiment of a method for controlling a set top box
  • FIG. 3 is a schematic flow chart of a method for controlling a second embodiment of a method for controlling a set top box
  • FIG. 4 is a schematic flow chart of a method of a third embodiment of a method for controlling a set top box
  • FIG. 5 is a schematic flow chart of a method of a fourth embodiment of a method for controlling a set top box
  • FIG. 6 is a schematic flow chart of a method of a fifth embodiment of a method for controlling a set top box
  • FIG. 7 is a schematic flow chart of a method of a sixth embodiment of a method for controlling a set top box
  • FIG. 8 is a schematic flow chart of a method of a seventh embodiment of a method for controlling a set top box
  • Figure 9 is a block diagram showing the structure of a set top box
  • Figure 10 is a block diagram showing the structure of a first embodiment of a server
  • Figure 11 is a block diagram showing the structure of a second embodiment of a server
  • FIG. 12 is a block diagram showing the structure of a first embodiment of a smart terminal
  • Figure 13 is a block diagram showing the structure of a second embodiment of a smart terminal
  • FIG. 14 is a schematic diagram of a hardware structure of a set top box
  • 15 is a schematic diagram of a hardware structure of a server
  • 16 is a schematic diagram showing the hardware structure of an intelligent terminal.
  • FIG. 1 is a schematic diagram of a hardware structure of an application scenario of a method for controlling a set top box according to the embodiment.
  • the set top box 100 is communicably connected with the server 200, and the smart terminal 300 communicates with the server 200.
  • the smart terminal 300 is used to control the set top box 100 through the server 200.
  • the association between the set top box 100 and the smart terminal 300 can be implemented by installing a remote management application (Application, APP) on the smart terminal 300 and specifying the identity information of the set top box 100 in the APP, so that the smart terminal 300 passes through the server 200.
  • the set top box 100 is remotely controlled.
  • the smart terminal can be a smart phone, a smart wearable device, or a tablet computer.
  • FIG. 2 is a schematic flow chart of a method of a first embodiment of a method for controlling a set top box.
  • the execution body of the method in this embodiment is the set top box 100.
  • the method includes the following steps:
  • Step 110 Send identity information of the set top box 100 to the server 200.
  • the identity information of the set top box 100 is sent to the server 200, and the identity information may include at least one of a device number, a serial number, a software version number, and a hardware version number of the set top box 100.
  • the server 200 may partition different set top boxes according to the device number and serial number of the set top box 100.
  • the identity information of the set top box 100 may be sent to the server 200.
  • the boot broadcast is sent, and after the set top box 100 monitors the boot broadcast, the set information of the set top box 100 is reported to the server 200.
  • Step 120 Send an acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency.
  • the user can send a control command for controlling the set top box 100 to the server 200 through the smart terminal 300.
  • the set top box 100 actively sends the acquisition request of the control order of the set top box 100 to the server 200 according to the instruction acquisition frequency, which can reduce the data processing burden of the server 200.
  • the control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command.
  • the instruction acquisition frequency may be 1 minute/time, and the user may also set an instruction acquisition frequency of other values as needed.
  • Step 130 Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
  • XML Extensible Markup Language
  • the server 200 when the server 200 receives the request for acquiring the control command sent by the set top box 100, the server 200 acquires the control command issued by the smart terminal 300 that matches the set top box 100 according to the device number and the serial number of the set top box 100;
  • the control instruction constitutes a control instruction set, and the control instruction set may also include a control instruction generated by another server; the extensible markup language table including the control instruction set is sent to the set top box 100, and the set top box 100 receives the extensible markup language table sent by the server 200. .
  • Step 140 Parse the extensible markup language table to obtain a control instruction.
  • the set top box 100 parses the extensible markup language table, obtains a set of control instructions, and obtains a control command to be processed.
  • Step 150 Execute a control instruction. After acquiring the control command, the set top box 100 executes the control command.
  • the method for controlling a set top box provided by this embodiment, by sending the set top box 100 to the server 200 Identity information, so that the server 200 recognizes the identity of the set top box 100; then, according to the instruction acquisition frequency, the acquisition request of the control order of the set top box 100 is sent to the server 200, which reduces the load of the server 200; and the collection of the control instruction set sent by the receiving server 200
  • the extended markup language table, and the parsing of the extensible markup language table acquire and execute the control instructions, and optimize the control mechanism while remotely controlling the set top box 100 by the smart terminal 300.
  • FIG. 3 is a schematic flow chart of a method for controlling a second embodiment of a set top box.
  • the execution subject of the method in this embodiment is the set top box 100, as shown in FIG. 3, wherein, for step 110, step 120, step 130, step 140 and step 150, reference may be made to the above description.
  • the method may further include the step 111: sending the application usage information of the currently running application of the set top box 100 to the server 200, wherein the application usage information includes an application package name of the currently running application.
  • the method comprises the following steps:
  • Step 110 Send identity information of the set top box 100 to the server 200.
  • Step 111 Send application usage information of the currently running application of the set top box 100 to the server 200, where the application usage information includes an application package name of the currently running application.
  • the application usage information including the application package name that is currently used by the current user is reported to the server 200.
  • the application usage information may further include: the time when the application currently being used by the user starts to be used, and the smart terminal 300 acquires the identity sent by the set top box 100 when the smart terminal 300 sends the identity of the set top box 100 to the server 200.
  • Application monitoring of the set top box 100 can be achieved when the information and application usage information is used.
  • the user sends a control instruction for controlling the set top box to the server 200 according to the identity information and the application use information displayed in the smart terminal 300, for example, an instruction to forcibly close the running application in the set top box 100.
  • Step 120 Send an acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency.
  • Step 130 Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
  • XML Extensible Markup Language
  • Step 140 Parse the extensible markup language table to obtain a control instruction.
  • Step 150 Execute a control instruction.
  • the method for controlling a set-top box provides a server to identify the identity of the set-top box and store the application usage information by sending the identity information of the set-top box and the application usage information of the pre-running application in the set-top box to the server, and then acquiring the frequency to the server according to the instruction.
  • Sending the control request of the set-top box reduces the data processing burden of the server; by analyzing the extensible markup language table sent by the server, acquiring and executing the control command to control the set-top box and the application software therein, realizing the remote control of the set-top box by using the smart terminal .
  • the foregoing method may further include: acquiring application usage information of the currently running application of the set top box 100 according to the application acquisition frequency.
  • the application acquisition frequency can be set to 3 Minutes/times, the user can also set the frequency of application acquisition of other values as needed.
  • FIG. 4 is a schematic flow chart of a method for controlling a third embodiment of a set top box.
  • the execution subject of the method in this embodiment is the set top box 100.
  • the method includes:
  • Step 210 Send identity information of the set top box 100 to the server 200.
  • the identity information of the set top box 100 is reported to the server 200 (eg, http://skyworth.com), and the identity information may be The device number, the serial number, the software version number, and the hardware version number of the set top box 100 are included, and the identity information sent is as follows:
  • the server 200 can distinguish different set top boxes according to the device number and serial number of the set top box 100.
  • Step 220 Send application usage information of the currently running application of the set top box 100 to the server 200, where the application usage information includes an application package name of the currently running application.
  • the application usage information including the application package name currently used by the current user is reported to the server 200, and the application usage information is as follows:
  • the application usage information may further include: when the application currently being used by the user starts to use, when the smart terminal 300 obtains the identity information and the application usage information sent by the set top box 100 to the server 200, the set top box 100 may be monitored; The identity information and the application usage information displayed on the smart terminal 300 can be used to know the application opened by the matching set top box 100 and the duration of the application. If the user thinks that the set top box 100 needs to be controlled, the control of the set top box 100 can be sent to the server 200. Instructions to control the set top box 100 and the applications installed therein.
  • Step 230 Send the acquisition request of the control instruction of the set top box 100 to the server 200 according to the instruction acquisition frequency.
  • the acquisition request to transmit the control command to the server 200 according to the instruction acquisition frequency can reduce the load of the server 200 and optimize the control mechanism.
  • the control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command.
  • the application usage information includes the game application name and the time when the game application starts to be used; if the game application is used for more than 3 hours, the parent thinks that the child needs to stop playing the game, and the smart terminal 300 is used.
  • the server 200 relays to send a reminder message to the set top box 100 to stop the game.
  • a reminder message for forced shutdown is issued to force the set top box 100 to shut down.
  • the control instructions include a warning reminder command and a forced shutdown command.
  • An extensible markup language table containing a set of control instructions consisting of a control command issued by the smart terminal 300 is as follows:
  • the instruction acquisition frequency may be 1 minute/time, and the user may also set other instruction acquisition frequencies as needed.
  • Step 240 Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
  • XML Extensible Markup Language
  • the server 200 When the server 200 receives the acquisition request of the control command sent by the set top box 100, the server 200 acquires the control command issued by the smart terminal 300 according to the device number and the serial number of the set top box 100; the control command issued by the smart terminal 300 constitutes a control instruction set, and the control
  • the set of instructions may also include other server-generated control instructions; the extensible markup language table containing the set of control instructions is sent to the set top box 100, and the set top box 100 can receive the extensible markup language table sent by the server 200.
  • the set top box remote control application APP is installed in the smart terminal 300.
  • the user of the smart terminal 300 can scan the device number and the serial number and the default initial on the package of the set top box 100 by sweeping or manually inputting it.
  • the password is used to log in to the set-top box to remotely control the APP, and then the APP can be logged in by means of the modified password and the bound mobile phone number.
  • the smart terminal 300 transmits to the server 200 to obtain the set top box 100 that matches the device number and the serial number.
  • the smart terminal 300 parses the identity information and the application usage information, and presents the report to the smart terminal user in response to the reported identity information and the application usage information request.
  • an application that is currently used by the user in the set top box 100 is obtained and the duration of use of the application is calculated, and the smart terminal user sends a control instruction when the set top box 100 is controlled to the server 200 through the set top box remote control APP, such as a forced shutdown instruction, Send a warning reminder command, jump to a preset application command, or close a preset application command, such as a forced shutdown command:
  • the server 200 matches the corresponding set top box 100 by the device number and the serial number of the set top box 100, and sends the extensible markup language table including the control instruction set formed by the control command to the matched set top box 100, and the set top box 100 can receive the server 200 to send.
  • Extensible Markup Language Table
  • Step 250 Parse the extensible markup language table to obtain a control instruction.
  • the set top box 100 parses the extensible markup language table to obtain the control instruction set, and obtains a control instruction to be processed therefrom.
  • Step 260 Execute the above control instructions
  • Step 270 Send the execution status of the above control command to the server 200.
  • the execution status of the control command is sent to the server 200.
  • the server 200 sends the execution status of the control command to the smart terminal. 300, and displayed to the user, the user can monitor the use of the application in the set top box 100, and realize remote control of the set top box 100.
  • the set-top box 100 sends the acquisition control request to the server 200 according to the instruction acquisition frequency, and the extensible markup language table that is sent by the server 200 and includes the control and control instruction set, and the control instruction set includes the smart terminal 300.
  • a control command issued; the set top box 100 acquires the control command issued by the smart terminal 300 from the extensible markup language table, and executes the control command, and after executing the control command, sends the execution state of the control command to the server 200, and provides the above steps.
  • the smart terminal 300 is used to remotely control the set top box 100.
  • the set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, which reduces the load of the server and optimizes the control mechanism.
  • FIG. 5 provides a schematic flowchart of a method for controlling a fourth embodiment of a set top box.
  • the execution body of the method in this embodiment is a server. As shown in FIG. 5, the method includes:
  • Step 310 The identity information of the set top box 100 sent by the receiver set top box 100.
  • the set top box 100 reports the identity information of the set top box 100 to the server 200.
  • Step 320 Receive an acquisition request of the foregoing identity information sent by the smart terminal 300, where the identity information is information that the set top box 100 sends within a preset time.
  • the user wants to know the usage of the application in the set top box 100
  • the user logs in to the set top box remote control APP, and after login, sends a request for obtaining the identity information of the set top box 100 to the server 200.
  • the server 200 receives the acquisition sent by the smart terminal 300.
  • the request for identity information can For 24 hours, of course, other preset time can also be set, which can be set according to the needs of the user.
  • Step 330 Send the foregoing identity information to the smart terminal 300.
  • the server 200 After receiving the acquisition request of the identity information sent by the smart terminal 300, the server 200 transmits the identity information to the smart terminal 300.
  • Step 340 Receive a control command issued by the smart terminal 300 for the set top box 100.
  • the control instruction may include at least one of a forced shutdown command, a send alert reminder command, a jump to a preset application command, and a close preset application command.
  • Step 350 The receiver set-top box 100 acquires the acquisition request of the above-mentioned control instruction sent by the frequency according to the instruction.
  • Step 350 Send an extensible markup language table including a set of control instructions to the set top box 100, wherein the set of control instructions includes a control command.
  • the server 200 After receiving the control command issued by the smart terminal 300, the server 200 does not directly send the control command to the set top box 100, but sends the request to the set top box 100 to be sent by the smart terminal 300 after the request for obtaining the control command sent by the receiver set top box 100.
  • the extensible markup language table of the control instruction set formed by the control instructions can reduce the load of the server 200 and optimize the control mechanism.
  • the above instruction acquisition frequency can be 1 minute/time, and the user can also set other instruction acquisition frequencies as needed.
  • the server 200 receives the identity information of the set top box 100 sent by the receiver set top box 100, and receives the request for acquiring the identity information sent by the smart terminal 300, where the identity information is information sent by the set top box 100 within the preset time.
  • the extensible markup language table wherein the control instruction set includes a control instruction, and the remote control of the set top box 100 by the smart terminal 300 is implemented by using the above steps, and the request for obtaining the control instruction is sent to the server 200 according to the instruction acquisition frequency, and the server 200 is reduced. Load, optimized control mechanism.
  • the method further includes: Step 321: application usage information sent by the receiver set top box 100, wherein the application usage information is information about the currently running application acquired by the set top box 100 according to the application acquisition frequency, where the application usage information includes the current The application package name where the app is running.
  • the set top box 100 will acquire the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and send the application usage information to the server 200.
  • the server 200 receives the identity information sent by the set top box 100 and the application usage information including the application package name currently used by the user.
  • the identity information sent by the set-top box 100 and the application usage information sent by the set-top box 100 may be sent simultaneously or separately, which is not limited herein.
  • the application acquisition frequency may be 3 minutes/time.
  • the terminal user may also set other application acquisition frequencies as needed.
  • the application usage information may further include: a time when the application currently used by the user starts to be used.
  • the method in this embodiment may further include: Step 322: Receiving intelligence
  • the application 300 uses the acquisition request of the application usage information, the application usage information is information sent by the set top box 100 within a preset time, and the application usage information is transmitted to the smart terminal 300.
  • the user wants to know the usage of the application in the set top box 100
  • the user can log in to the set top box remote control APP, and after login, send the identity information of the set top box 100 and the application usage information to the server 200.
  • the server 200 receives the smart terminal 300.
  • the preset time may be 24 hours. Of course, other preset times may also be set, which may be set according to the needs of the end user.
  • FIG. 6 is a schematic flowchart of a method for controlling a fifth embodiment of a set top box.
  • the execution entity of this embodiment is a server. As shown in FIG. 6, the method includes:
  • Step 610 The identity information sent by the receiver set top box 100 and the application usage information obtained by the application acquisition frequency containing the application package name being used.
  • the set top box 100 transmits the identity information of the set top box 100 to the server 200.
  • the set top box 100 will acquire the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and send the application usage information to the server 200.
  • the identity information sent by the set-top box 100 and the application usage information sent by the set-top box 100 may be sent simultaneously or separately, which is not limited herein.
  • the application acquisition frequency may be 3 minutes/time.
  • the terminal user may also set other application acquisition frequencies as needed.
  • the application usage information may further include: a time when the application currently being used by the user starts to be used.
  • Step 620 Receive an acquisition request of the identity information and the application usage information sent by the set top box 100 sent by the smart terminal 300 within a preset time.
  • the user wants to know the usage of the application in the set top box 100
  • the user can log in to the set top box remote control APP, and after login, send the identity information of the set top box 100 and the application usage information to the server 200.
  • the server 200 receives the smart terminal 300.
  • the preset time can be 24 hours. Of course, other preset times can also be set, which can be set according to the needs of the end user.
  • Step 630 Send the foregoing identity information and application usage information to the smart terminal 300.
  • the server 200 After receiving the identity information and the application usage information transmission request sent by the smart terminal 300, the server 200 transmits the identity information and the application usage information to the smart terminal 300.
  • Step 640 Receive a control command issued by the smart terminal 300.
  • the smart terminal 300 After receiving the identity information and the application usage information, the smart terminal 300 parses the identity information and the application usage information, and presents the information to the terminal user on the smart terminal; for example, acquiring the application being used in the current set top box 100 and calculating the duration of the use, and Displayed on the smart terminal, the terminal user sends a control command for controlling the set top box to the server through the top box remote control APP, such as a forced shutdown command, a warning reminding instruction, a jump to a preset application instruction, and a shutdown preset application instruction, etc.
  • the server 200 receives the control command issued by the smart terminal 300. For example, if a child plays a game at home, the application letter is used. The content of the game application and the time when the game application is used may be included.
  • the control command should include sending a warning reminder command and a forced shutdown command; the user can issue a control command for controlling the set top box 100 to the server 200 through the top box remote control APP. .
  • Step 650 The receiver set-top box 100 acquires the acquisition request of the control command sent by the frequency according to the instruction, and sends an extensible markup language table including the control set of the control set to the set-top box 100, where the set of control instructions includes the control command issued by the smart terminal 300.
  • steps 660-680 are further included, as follows:
  • Step 660 The execution state of the above-mentioned control command sent by the receiver set top box 100.
  • the server 200 transmits the extensible markup language table including the control instruction set formed by the control command issued by the smart terminal 300 to the set top box 100
  • the set top box 100 parses the extensible markup language table, acquires the control command in the control command set, and executes the above After the execution of the control command, the execution status of the control command is sent to the server 200.
  • the server 200 receives the execution status of the control command sent by the set top box 100.
  • Step 670 Receive an acquisition request of an execution status of the foregoing control command sent by the smart terminal 300.
  • Steps 660 and 670 do not have a certain order, but steps 660 and 670 need to be performed before step 680.
  • Step 680 Forward the processing status of the above-mentioned control command sent by the set top box 100 to the smart terminal 300.
  • the server 200 forwards the execution status of the control command sent by the set top box 100 to the smart terminal 300 after the execution status of the control command sent by the receiver top box 100 and the acquisition request of the status of the control command sent by the smart terminal 300.
  • the server 200 sends the extensible markup language table including the control set of the control set to the set-top box 100 after the set-top box 100 sends the request for obtaining the control command to the server 200 according to the instruction acquisition frequency, wherein the control instruction set is And including the control command issued by the terminal; the set top box 100 acquires the control command issued by the smart terminal 300 from the extensible markup language table, executes the control command, and sends the execution state of the control command to the server 200, and implements the foregoing steps.
  • the remote control of the set top box 100 by the smart terminal 300 is performed; the acquisition request of the control command is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
  • the execution entity is a smart terminal, and the smart terminal can be a smart phone, a smart wearable device, or a tablet computer. As shown in FIG. 7, the method includes:
  • Step 710 Send an acquisition request of the identity information of the set top box 100 to the server 200.
  • the identity information is information sent by the set top box 100 to the server 200 within a preset time.
  • the foregoing identity information may include at least one of a device number, a serial number, a software version number, and a hardware version number of the set top box 100.
  • the preset time can be set according to actual needs.
  • Step 720 Receive identity information sent by the server 200.
  • the set top box 100 After the set top box 100 is powered on, when the boot broadcast is received, the set top box 100 sends the identity information of the set top box 100 to the server 200, and the smart terminal 300 sends the server 200 the request for acquiring the identity information sent by the set top box 100 within the preset time.
  • the server 200 obtains corresponding identity information and application usage information from the set top box 100 and sends the information to the smart terminal 300.
  • the smart terminal 300 receives the identity information and application usage information sent by the server 200.
  • the device numbers and serial numbers of the two set top boxes are the same, they are considered to be the same set top box.
  • Step 730 Parse the identity information and display it.
  • Step 740 Receive a control command, and issue a control command to the set top box 100 through the server 200.
  • the above-mentioned control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command.
  • the smart terminal 300 After receiving the identity information, the smart terminal 300 parses the identity information and presents it to the user on the smart terminal.
  • the smart terminal 30 sends the request for acquiring the identity information of the set top box 100 to the server 200, and receives the identity information sent by the server 200, and then parses the received identity information, displays it, and receives the control command. (such as forcibly shutting down the command, sending the warning reminder command, jumping to the preset application command, and closing the preset application command, etc.), and then issuing a control command to the set top box 100 through the server 200, and implementing the set top box by using the smart terminal 300 through the above steps
  • the remote control of 100; the acquisition request of the control command is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
  • the method of the embodiment further includes: sending, to the server 200, an acquisition request of the application usage information, where the application usage information is information about the running application sent by the set top box 100 according to the application acquisition frequency,
  • the application usage information includes the application package name of the above running application.
  • the method of this embodiment further includes: receiving the application usage information.
  • the method of the embodiment further includes: parsing the application usage information, and displaying the information.
  • FIG. 8 is a schematic flow chart of a method of a seventh embodiment of a method for controlling a set top box.
  • the executor of the embodiment is an intelligent terminal. As shown in FIG. 8, the method includes:
  • Step 810 Send an acquisition request to the server 200, where the acquisition request is a request for acquiring the foregoing identity information and application usage information sent by the set top box 100 within a preset time, where the application is used.
  • the information is information of the running application sent by the set top box 100 according to the application acquisition frequency, and the application usage information includes the application package name of the running application.
  • the above identity information may include: a device number, a serial number, a software version number, and a hardware version number of the set top box 100.
  • the above application usage information may also include: the time when the application currently being used by the user starts to be used.
  • the application acquisition frequency may be 3 minutes/time.
  • the user of the smart terminal 300 may also set the acquisition frequency for other applications as needed.
  • the method further includes:
  • the set-top box remote control APP is installed in the smart terminal 300. After the smart terminal 300 is connected to the network, when the first time is used, the user of the smart terminal 300 can log in by manually scanning or manually inputting the device number and serial number on the package of the set-top box 100 and the default initial password. The set-top box remotely controls the APP, and then can log in by modifying the password and binding the mobile phone number/mailbox. After logging in, the server 200 is sent to obtain a request for identity information and application usage information sent by the set top box 100 that matches the device number and the serial number within a preset time. The preset time may be 24 hours. Of course, other preset times may also be set, which may be set according to the needs of the user of the smart terminal 300.
  • Step 820 Receive the foregoing identity information sent by the server 200 and the application usage information.
  • the set-top box 100 After the set-top box 100 is powered on, when the boot-up broadcast is received, the set-top box 100 sends the identity information of the set-top box 100 to the server 200, and obtains the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and uses the application usage information.
  • the server 200 is sent.
  • the smart terminal 300 transmits, to the server 200, the identity information of the sent by the set top box 100 within the preset time and the request for the application use information including the application package name currently used by the current user according to the application acquisition frequency, the server 200 according to the smart terminal
  • the matched set top box 100 acquires the corresponding identity information and the application usage information and sends the information to the smart terminal 300.
  • the smart terminal 300 receives the identity information and the application usage information sent by the server 200.
  • Step 830 Parse the foregoing identity information and application usage information, and display, obtain the input control command, and issue a control command to the set top box 100 through the server 200.
  • the above-mentioned control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command.
  • the smart terminal 300 After receiving the identity information and the application usage information, the smart terminal 300 parses the identity information and the application usage information, and presents the information to the user on the smart terminal 300. For example, the usage duration of the application being used in the current set top box 100 is obtained, and displayed on the smart terminal 300, the user inputs the control command in the top box remote control APP, and the smart terminal 300 acquires the control command input by the user, and passes the server 200 to the set top box.
  • a control command is issued, such as forcing a shutdown command, sending a warning reminder command, jumping to a preset application command, or turning off a preset application command.
  • the smart terminal 300 analyzes the application use. The information is displayed on the smart terminal 300 on the smart terminal 300, and the duration of the use of the game application, and the duration of use. If the application lasts for more than 3 hours, the user, for example, the parent thinks that the child needs to stop playing the game, passes the smart terminal 300.
  • the set top box 100 is issued with a reminder message for stopping the game. If the child still does not close the game application, the smart terminal 300 issues a command message for forcibly shutting down, forcibly shutting down.
  • the method further includes:
  • Step 840 Send an acquisition request of the execution state of the above-mentioned management instruction to the server 200.
  • the control command is sent, if the child does not obey, and the control command or the like is not selected, the parent wants to know the execution state of the control command, and the smart terminal 300 can transmit the acquisition request of the execution state of the control command to the server 200.
  • Step 850 Receive the processing state of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200.
  • the server 200 After the smart terminal 300 issues a control command to the set top box 100 by the server 200, the server 200 receives the request for acquiring the control command sent by the set top box 100 according to the instruction, and sends an extensible markup language table including the set of the control and control instructions to the set top box 100.
  • the control instruction set includes a control command issued by the smart terminal 300.
  • the set top box 100 parses the extensible markup language table, obtains the control command in the control command set, executes the control command, and sends the execution status of the control command to the server 200 after the execution is completed, and sends the control command to the server 200 at the smart terminal 300.
  • the smart terminal 300 After the acquisition request of the execution state, the smart terminal 300 receives the execution status of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200.
  • the above instruction acquisition frequency can be 1 minute/time, and the user can also set other instruction acquisition frequencies as needed.
  • the user inputs the parameters (such as the device number and serial number of the set top box 100) and the password to the APP that uniquely identify the set top box 100 in the networked state.
  • the smart terminal 300 provides various control commands (such as forced shutdown command, sending warning reminder instruction, jumping to preset application instruction, and closing preset application instruction) to realize remote supervision Use on the set top box 100 in the home.
  • the control command issued by the smart terminal 300 is acquired by the set top box 100 to the server 200 according to the instruction acquisition frequency, which reduces the load of the server 200 and optimizes the control mechanism.
  • FIG. 9 is a block diagram showing the structure of a set top box.
  • the set top box includes an identity information reporting module 91, a request sending module 92, a receiving module 93, and an instruction execution module 94.
  • the identity information reporting module 91 is configured to: send the identity information of the set top box 100 to the server 200.
  • the request sending module 92 is configured to: send the acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency.
  • the receiving module 93 is configured to: receive an extensible markup language table that is sent by the server 200 and includes a set of control and control instructions, where the set of control instructions includes the control command issued by the terminal to the set top box 100.
  • the instruction execution module 94 is configured to: parse the extensible markup language The table acquires the control instructions in the above-mentioned control instruction set and executes the above-mentioned control instructions.
  • the set top box provided by the embodiment sends a request for obtaining a control command to the server according to the instruction acquisition frequency, and the extensible markup language table that is sent by the server and includes the control set of the control set, the control instruction set includes the control command issued by the terminal,
  • the extensible markup language table obtains the control command issued by the terminal, and executes the control command, realizes remote control of the set top box by using the terminal, and sends a request for obtaining the control command to the server according to the instruction acquisition frequency, thereby reducing the load of the server and optimizing The control mechanism of the system.
  • the set top box 100 may further include: an information reporting module 95, configured to: before the step of sending the acquisition request of the control order of the set top box 100 to the server 200 according to the instruction acquisition frequency, the application of the set top box 100 currently running the application
  • the usage information is sent to the server 200, wherein the application usage information may include an application package name of the application.
  • the usage information reporting module 95 may be further configured to: before the step of transmitting the application usage information of the currently running application of the set top box 100 to the server 200, obtain the application usage information of the currently running application of the set top box 100 according to the application acquisition frequency.
  • the above application usage information may also include: the time when the application currently being used by the user starts to be used.
  • the above application acquisition frequency can be 3 minutes/time.
  • the user can also set other application acquisition frequencies as needed.
  • the set top box further includes a status sending module 96, configured to: send the execution status of the foregoing control command to the server 200.
  • the server 200 includes: an information receiving module 101, configured to: identity information of the set top box 100 sent by the receiver set top box 100.
  • the above identity information may include: a device number, a serial number, a software version number, and a hardware version number of the set top box 100.
  • the request receiving module 102 is configured to: receive an acquisition request of the identity information sent by the smart terminal 300 within a preset time.
  • the preset time can be 24 hours, or other preset time can be set, and set according to the needs of the user.
  • the information transmitting module 103 is configured to: the identity information transmitted to the smart terminal 300.
  • the command receiving module 104 is configured to receive a control command issued by the smart terminal 300 for the set top box 100.
  • the sending module 105 is configured to: the receiver top box 100 acquires the acquisition request of the control command sent by the frequency according to the instruction, and sends an extensible markup language table including the control instruction set to the set top box 100, where the control instruction set includes the control command issued by the smart terminal 100.
  • the above instruction acquisition frequency may be 1 minute/time, and the user may also set other frequency instruction acquisition frequency according to requirements, and the set top box 100 actively sending the acquisition control request may reduce the load of the server 200 and optimize the control mechanism.
  • the server provided in this embodiment sends an extensible markup language table including a control and control instruction set to the set top box 100 after the set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, where the control instruction set includes the terminal issuing
  • the control box command 100 obtains the control command issued by the smart terminal 300 from the extensible markup language table, and executes the above-mentioned control command.
  • the remote control of the set top box 100 by the smart terminal 300 is realized; through the set top box
  • the transmission request of the control command is transmitted to the server 200 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
  • the information receiving module 101 is further configured to: obtain the application usage information of the currently running application of the set top box 100 according to the application acquisition frequency, where the application usage information is information about the currently running application acquired by the set top box 100 according to the application acquisition frequency, and the application usage information. Includes the app package name of the app.
  • the above application usage information may also include: the time when the application being used starts to be used.
  • the above application acquisition frequency can be 3 minutes/time, and the user can also obtain the frequency according to the application set to other values as needed.
  • the request receiving module 102 is further configured to: receive an acquisition request of the application usage information sent by the smart terminal 300, where the application usage information is information that the set top box 100 transmits within a preset time.
  • the information sending module 103 is further configured to: send the application usage information to the smart terminal.
  • the server 200 further includes: a state receiving module 106, configured to: an execution state of the foregoing control command sent by the receiver set top box 100.
  • the status acquisition request receiving module 107 is configured to: receive an acquisition request of the status of the above-mentioned control instruction sent by the smart terminal 300.
  • the state forwarding module 108 is configured to forward the execution status of the control command sent by the set top box 100 to the smart terminal 300.
  • the server provided in this embodiment sends an extensible markup language table including a control and control instruction set to the set top box 100 after the set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, where the control instruction set includes the terminal issuing
  • the control module acquires the control command issued by the smart terminal 300 from the extensible markup language table, executes the control command, and sends the execution status of the control command to the server 200, and the server 200 transmits the execution of the set top box 100. The status is forwarded to the smart terminal 300.
  • the smart terminal 300 remotely controls the set top box 100; the set top box 100 sends the acquisition control request to the server 200 according to the instruction acquisition frequency, reduces the load of the server 200, and optimizes the control mechanism.
  • FIG. 12 is a schematic structural diagram of a smart terminal.
  • the set-top box remote control APP for controlling the set-top box 100 can be installed in the smart terminal.
  • the smart terminal 300 includes: a request sending module 121, configured to: send an acquisition request of the identity information of the set-top box 100 to the server 200.
  • the identity information is information sent by the set top box 100 within a preset time.
  • the information receiving module 122 is configured to: receive the identity information sent by the server 200.
  • the command sending module 123 is configured to: parse the identity information, display, and receive the control command, and issue a control command to the set top box 100 through the server 200.
  • the smart terminal provided by the embodiment sends a request for acquiring the identity information of the set top box 100 to the server 200, and receives the identity information sent by the server 200, and then parses the received identity information, displays it, and receives the control command, and then passes the server.
  • the controller 200 issues a control command to the set top box 100, and the remote control of the set top box 100 by the smart terminal 300 is realized through the above steps; the acquisition request of the control order is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, and the server 200 is lowered.
  • the load optimizes the control mechanism.
  • the request sending module 121 is further configured to: send, to the server 200, an acquisition request of the application usage information sent according to the application acquisition frequency, where the application usage information is information about the running application sent by the set top box according to the application acquisition frequency, and the application uses The information includes the name of the application package that is running the app.
  • the information receiving module 122 is further configured to: receive application usage information.
  • the instruction sending module 123 is further configured to parse the application usage information and display it before receiving the control command.
  • the foregoing application usage information may further include: a time when the current user is using the application to start using.
  • the application acquisition frequency may be 3 minutes/time.
  • the user may also set other application acquisition frequencies as needed.
  • the smart terminal 300 further includes: an instruction acquisition request sending module 124, configured to: send an acquisition request of an execution state of the management control instruction to the server 200.
  • the processing state receiving module 125 is configured to: receive the execution state of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method of controlling a set top box in a set top box.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method of controlling a set top box in a server.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method for controlling a set top box in a smart terminal.
  • the set top box includes: a processor 1410 and a memory 1420; and may further include a communication unit (Communications). Unit 1430 and bus 1440.
  • the processor 1410, the memory 1420, and the communication unit 1430 can complete communication with each other through the bus 1440. Communication unit 1430 can be used for information transmission.
  • the processor 1410 can invoke logic instructions in the memory 1420 to perform the method of any of the above-described embodiments applied to the set top box of the set top box.
  • the memory 1420 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function.
  • the storage data area can store data and the like created according to the use of the set top box.
  • the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
  • the logic instructions in the memory 1420 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for making a computer set
  • the device (which may be a personal computer, a server, or a network device, etc.) performs all or part of the steps of the method described in this embodiment.
  • the storage medium may be a non-transitory storage medium or a transitory storage medium.
  • the non-transitory storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
  • FIG. 15 it is a schematic diagram of a hardware structure of a server provided by this embodiment.
  • the server includes: a processor 1510 and a memory 1520; and may further include a communication unit (Communications). Unit) 1530 and bus 1540.
  • Communication unit Communication Unit
  • the processor 1510, the memory 1520, and the communication unit 1530 can complete communication with each other through the bus 1540.
  • the communication unit 1530 can be used for information transmission.
  • the processor 1510 can call the logic instructions in the memory 1520 to perform the method of applying to any of the servers in the above-described embodiments.
  • the memory 1520 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function.
  • the storage data area can store data created according to the use of the server, and the like.
  • the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
  • the logic instructions in the memory 1520 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) All or part of the steps of the method described in this embodiment are performed.
  • the storage medium may be a non-transitory storage medium or a transitory storage medium.
  • the non-transitory storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
  • the capable terminal includes: one or more processors 1610 and a memory 1620.
  • a processor 1610 is taken as an example in FIG.
  • the smart terminal may further include: an input device 1630 and an output device 1640.
  • the processor 1610, the memory 1620, the input device 1630, and the output device 1640 in the smart terminal may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
  • Input device 1630 can receive input numeric or character information
  • output device 1640 can include a display device such as a display screen.
  • the memory 1620 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
  • the processor 1610 executes a plurality of functional applications and data processing by executing software programs, instructions, and modules stored in the memory 1620 to implement the method for applying to any of the smart terminals in the above-described embodiments.
  • the memory 1620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the smart terminal, and the like.
  • the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • Memory 1620 can be a non-transitory computer storage medium or a transitory computer storage medium.
  • the non-transitory computer storage medium such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 1620 can optionally include memory remotely located relative to processor 1610, which can be connected to the smart terminal over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Input device 1630 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the smart terminal.
  • Output device 1640 can include a display device such as a display screen.
  • the intelligent terminal of this embodiment may further include a communication device 1650 that transmits and/or receives information over the communication network.
  • a communication device 1650 that transmits and/or receives information over the communication network.
  • the program when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
  • the method for controlling a set top box, the set top box, the server and the intelligent terminal provided by the disclosure can reduce the load of the server, optimize the control mechanism, and realize the remote control of the set top box by using the intelligent terminal to provide the server.

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

A set-top box control method, set-top box, server, and smart terminal. In one embodiment, the method is applicable to a set-top box connected to and communicating with a server, and is associated with a smart terminal, the smart terminal is connected to and communicates with the server, the smart terminal is used to control, via the server, the set-top box, and the method comprises: transmitting, to the server, identification information of the set-top box; transmitting, according to a command acquisition frequency, to the server, a request for acquiring a control command of the set-top box; receiving an extensible markup language table comprising a control command set transmitted from the server, wherein the control command set comprises a control command transmitted by the smart terminal and with respect to the set-top box; analyzing the extensible markup language table to obtain the control command; and executing the control command.

Description

管控机顶盒的方法、机顶盒、服务器和智能终端Method for controlling set top box, set top box, server and intelligent terminal 技术领域Technical field
本公开涉及机顶盒技术领域,例如涉及一种管控机顶盒的方法、机顶盒、服务器和智能终端。The present disclosure relates to the field of set top boxes, for example, to a method of controlling a set top box, a set top box, a server, and a smart terminal.
背景技术Background technique
机顶盒是一种连接电视机与外部信号源的电子设备,它可以将压缩的数字信号转换成电视机可以识别的信号,使用户能在电视机上观看数字电视节目,并通过网络进行交互式数字化娱乐、教育和商业化活动。A set-top box is an electronic device that connects a television to an external signal source. It converts the compressed digital signal into a signal that the TV can recognize, allowing the user to watch digital TV programs on the TV and interactive digital entertainment over the network. , education and commercialization activities.
随着网络技术的不断发展,机顶盒进入到越来越多的家庭,种类繁多的网络视频和游戏等应用内容非常丰富和吸引人。但是,在用户不在家的情况下,实现管理和监控机顶盒的使用比较困难,例如,家长不在家的时候,希望能够通过某个设备,监管和控制家里小孩通过机顶盒看电视或者玩游戏的时长。With the continuous development of network technology, set-top boxes have entered more and more families, and a wide variety of applications such as online video and games are very rich and attractive. However, it is difficult to manage and monitor the use of the set-top box when the user is not at home. For example, when the parents are not at home, they hope to be able to monitor and control the length of time that the child watches TV or play games through the set-top box through a certain device.
发明内容Summary of the invention
本公开提供了一种管控机顶盒的方法、机顶盒、服务器和智能终端,管控可以降低服务器的负荷,优化控制机制,并实现利用终端远程管控机顶盒。The present disclosure provides a method for controlling a set top box, a set top box, a server, and an intelligent terminal. The control can reduce the load of the server, optimize the control mechanism, and realize remote control of the set top box by using the terminal.
第一方面,本公开提供了一种管控机顶盒的方法,应用于机顶盒,所述机顶盒与服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:向所述服务器发送所述机顶盒的身份信息;按指令获取频率向所述服务器发送所述机顶盒的管控指令的获取请求;接收所述服务器发送的包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的对所述机顶盒的管控指令;解析所述可扩展标记语言表,获取所述管控指令;以及执行所述管控指令。In a first aspect, the present disclosure provides a method for controlling a set top box, which is applied to a set top box, wherein the set top box is in communication with a server, the set top box is associated with an intelligent terminal, and the smart terminal is communicably connected with the server, the smart terminal The method for controlling, by the server, the set top box, the method comprising: sending identity information of the set top box to the server; and sending an acquisition request of the control box of the set top box to the server according to an instruction acquisition frequency; Receiving, by the server, an extensible markup language table including a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal to the set top box; parsing the extensible markup language table to obtain the control An instruction; and executing the control instruction.
第二方面,本公开提供了又一种管控机顶盒的方法,应用于服务器,所述机顶盒与所述服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:接收所述机顶盒发送的所述机顶盒的身份信息;接收所述智能终端发送的所述身份信息的获取请求,其中所述身份信息为所述机顶盒在预置时间内发送的信息;向所述智能终端发送所述身份信息;接收所述智能终端发出的对所述机顶盒的管控指令;接收所述机顶盒按指令获取频率发送的所述管控指令的获取请求;向所述机顶盒发送包含管控指令集的可扩展标记语言表,其中,所述管控指令集包括所述管控指令。In a second aspect, the present disclosure provides a method for controlling a set top box, which is applied to a server, the set top box is in communication with the server, the set top box is associated with an intelligent terminal, and the smart terminal is communicably connected with the server. The intelligent terminal is configured to control the set top box by using the server, and the method includes: receiving identity information of the set top box sent by the set top box; and receiving an acquisition request of the identity information sent by the smart terminal, The identity information is information sent by the set top box within a preset time; the identity information is sent to the smart terminal; the control command sent by the smart terminal to the set top box is received; and the set top box is received according to the instruction Acquiring an acquisition request of the control instruction sent by the frequency; sending, to the set top box, an extensible markup language table including a set of control instructions, wherein the set of control instructions includes the control instruction.
第三方面,本公开提供了又一种管控机顶盒的方法,应用于智能终端,所述机顶盒与服务器通信连接,所述机顶盒与所述智能终端关联,所述智能终端 与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:向所述服务器发送所述机顶盒的身份信息的获取请求,所述身份信息为所述机顶盒在预置时间内的向所述服务器发送的信息;接收所述服务器发送的所述身份信息;解析所述身份信息,并显示;接收管控指令,通过所述服务器向所述机顶盒发出所述管控指令。In a third aspect, the present disclosure provides a method for controlling a set top box, which is applied to an intelligent terminal, where the set top box is in communication with a server, and the set top box is associated with the smart terminal, the smart terminal Communicating with the server, the smart terminal is configured to control the set top box by using the server, and the method includes: sending, to the server, a request for acquiring identity information of the set top box, where the identity information is Receiving, by the set top box, information sent to the server within a preset time; receiving the identity information sent by the server; parsing the identity information, and displaying; receiving a control command, sending the set top box to the set top box by using the server The control instruction.
第四方面,本公开提供了一种机顶盒,所述机顶盒与服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述机顶盒包括:身份信息上报模块,设置为:向所述服务器发送所述机顶盒的身份信息;请求发送模块,设置为:按指令获取频率向所述服务器发送所述机顶盒的管控指令的获取请求;接收模块,设置为:接收所述服务器发送的包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的对所述机顶盒的管控指令;以及指令执行模块,设置为:解析所述可扩展标记语言表,获取所述管控指令集中的管控指令,以及执行所述管控指令。In a fourth aspect, the present disclosure provides a set top box, the set top box is in communication with a server, the set top box is associated with a smart terminal, the smart terminal is in communication connection with the server, and the smart terminal is used to pass the server. Controlling the set-top box, the set-top box includes: an identity information reporting module, configured to: send identity information of the set-top box to the server; and request a sending module, configured to: send the a request for obtaining a control order of the set top box; the receiving module is configured to: receive an extensible markup language table that is sent by the server and includes a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal for the set top box And an instruction execution module configured to: parse the extensible markup language table, obtain a control instruction in the control instruction set, and execute the control instruction.
第五方面,本公开提供了一种服务器,所述服务器与机顶盒通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述服务器包括:信息接收模块,设置为:接收所述机顶盒发送的所述机顶盒的身份信息;请求接收模块,设置为:接收所述智能终端在预置时间内发送的所述身份信息的获取请求;信息发送模块,设置为:向所述智能终端发送的所述身份信息;指令接收模块,设置为:接收所述智能终端发出的对所述机顶盒的管控指令;以及发送模块,设置为:接收所述机顶盒按指令获取频率发送的管控指令的获取请求,向机顶盒发送包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的管控指令。In a fifth aspect, the present disclosure provides a server, where the server is in communication with a set top box, the set top box is associated with an intelligent terminal, the smart terminal is in communication connection with the server, and the smart terminal is used to pass the server. Controlling the set top box, the server includes: an information receiving module, configured to: receive identity information of the set top box sent by the set top box; and the request receiving module is configured to: receive the smart terminal to send in a preset time The information sending module is configured to: the identity information sent to the smart terminal; the command receiving module is configured to: receive a control command issued by the smart terminal to the set top box; And a sending module, configured to: receive an acquisition request of the control box sent by the set top box according to the instruction acquisition frequency, and send an extensible markup language table including a control instruction set to the set top box, where the control instruction set includes the control issued by the smart terminal instruction.
第六方面,本公开提供了一种智能终端,所述智能终端与机顶盒关联,所述机顶盒与服务器通信连接,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述智能终端包括:请求发送模块,设置为:向服务器发送所述机顶盒的身份信息的获取请求,所述身份信息为所述机顶盒在预置时间内发送的信息;信息接收模块,设置为:接收所述服务器发送的所述身份信息;以及指令发送模块,设置为:解析所述身份信息,并显示,以及接收管控指令,通过服务器向所述机顶盒发出所述管控指令。In a sixth aspect, the present disclosure provides an intelligent terminal, where the smart terminal is associated with a set top box, the set top box is in communication with a server, the smart terminal is in communication with the server, and the smart terminal is used to pass the server. The smart terminal includes: a request sending module, configured to: send a request for acquiring the identity information of the set top box to the server, where the identity information is information sent by the set top box within a preset time The information receiving module is configured to: receive the identity information sent by the server; and the command sending module is configured to: parse the identity information, display, and receive a control command, and send the message to the set top box by using a server Control instructions.
本公开还提供一种机顶盒,该机顶盒包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述应用于机顶盒中的任一方法。 The present disclosure also provides a set top box including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, executing The above applies to any of the methods in the set top box.
本公开还提供一种服务器,该服务器包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述应用于服务器中的任一方法。The present disclosure also provides a server including one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, executing The above applies to any of the methods in the server.
本公开还提供一种智能终端,该智能终端包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述应用于智能终端中的任一方法。The present disclosure also provides an intelligent terminal comprising one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory when executed by one or more processors Perform any of the above methods applied to the smart terminal.
本公开还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。The present disclosure also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, Having the computer perform any of the methods described above.
本公开提供的管控机顶盒的方法、机顶盒、服务器和智能终端,通过向服务器发送机顶盒的身份信息,以使服务器识别机顶盒的身份;然后按指令获取频率向服务器发送机顶盒的管控指令的获取请求,降低了服务器的负荷;通过接收服务器发送的包含管控指令集的可扩展标记语言表,以及解析该可扩展标记语言表,获取并执行管控指令,在优化了控制机制的同时,实现了利用智能终端远程管控机顶盒。The method for controlling a set top box, the set top box, the server and the intelligent terminal provided by the disclosure provide the server with the identity information of the set top box, so that the server recognizes the identity of the set top box; and then obtains the acquisition request of the control box for sending the set top box to the server according to the instruction acquisition frequency, thereby reducing The load of the server; the extensible markup language table containing the control instruction set sent by the receiving server, and the parsing of the extensible markup language table, obtaining and executing the control instruction, and realizing the remote control using the smart terminal while optimizing the control mechanism Control the set-top box.
附图说明DRAWINGS
图1是本实施例提供的管控机顶盒的方法的应用场景的硬件结构示意图;1 is a schematic diagram of a hardware structure of an application scenario of a method for controlling a set top box according to the embodiment;
图2是一种管控机顶盒的方法的第一实施例的方法流程示意图;2 is a schematic flow chart of a method of a first embodiment of a method for controlling a set top box;
图3是一种管控机顶盒的方法的第二实施例的方法流程示意图;3 is a schematic flow chart of a method for controlling a second embodiment of a method for controlling a set top box;
图4是一种管控机顶盒的方法的第三实施例的方法流程示意图;4 is a schematic flow chart of a method of a third embodiment of a method for controlling a set top box;
图5是一种管控机顶盒的方法的第四实施例的方法流程示意图;5 is a schematic flow chart of a method of a fourth embodiment of a method for controlling a set top box;
图6是一种管控机顶盒的方法的第五实施例的方法流程示意图;6 is a schematic flow chart of a method of a fifth embodiment of a method for controlling a set top box;
图7是一种管控机顶盒的方法的第六实施例的方法流程示意图;7 is a schematic flow chart of a method of a sixth embodiment of a method for controlling a set top box;
图8是一种管控机顶盒的方法的第七实施例的方法流程示意图8 is a schematic flow chart of a method of a seventh embodiment of a method for controlling a set top box
图9是一种机顶盒的结构方框示意图;Figure 9 is a block diagram showing the structure of a set top box;
图10是一种服务器的第一实施例的结构方框示意图;Figure 10 is a block diagram showing the structure of a first embodiment of a server;
图11是一种服务器的第二实施例的结构方框示意图;Figure 11 is a block diagram showing the structure of a second embodiment of a server;
图12是一种智能终端的第一实施例的结构方框示意图;12 is a block diagram showing the structure of a first embodiment of a smart terminal;
图13是一种智能终端的第二实施例的结构方框示意图;Figure 13 is a block diagram showing the structure of a second embodiment of a smart terminal;
图14是一种机顶盒的硬件结构示意图;14 is a schematic diagram of a hardware structure of a set top box;
图15是一种服务器的硬件结构示意图;15 is a schematic diagram of a hardware structure of a server;
图16是一种智能终端的硬件结构示意图。16 is a schematic diagram showing the hardware structure of an intelligent terminal.
具体实施方式detailed description
图1是本实施例提供的管控机顶盒的方法的应用场景的硬件结构示意图,参考图1,机顶盒100与服务器200通信连接,智能终端300与服务器200通信 连接,智能终端300用于通过服务器200,对机顶盒100进行管控。机顶盒100与智能终端300的关联,可以通过在智能终端300上安装远程管控应用程序(Application,APP),并且在APP中指定机顶盒100的身份信息来实现,从而使得该智能终端300通过服务器200,远程管控该机顶盒100。其中,智能终端可以是智能手机、智能可穿戴设备、或平板电脑等。1 is a schematic diagram of a hardware structure of an application scenario of a method for controlling a set top box according to the embodiment. Referring to FIG. 1, the set top box 100 is communicably connected with the server 200, and the smart terminal 300 communicates with the server 200. The smart terminal 300 is used to control the set top box 100 through the server 200. The association between the set top box 100 and the smart terminal 300 can be implemented by installing a remote management application (Application, APP) on the smart terminal 300 and specifying the identity information of the set top box 100 in the APP, so that the smart terminal 300 passes through the server 200. The set top box 100 is remotely controlled. The smart terminal can be a smart phone, a smart wearable device, or a tablet computer.
请参考图2,图2是一种管控机顶盒的方法的第一实施例的方法流程示意图。本实施例的方法的执行主体为机顶盒100,如图2所示,该方法包括如下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flow chart of a method of a first embodiment of a method for controlling a set top box. The execution body of the method in this embodiment is the set top box 100. As shown in FIG. 2, the method includes the following steps:
步骤110:向服务器200发送机顶盒100的身份信息。Step 110: Send identity information of the set top box 100 to the server 200.
向服务器200发送机顶盒100的身份信息,该身份信息可以包括:机顶盒100的设备号、序列号、软件版本号、和硬件版本号中的至少一种。例如,服务器200根据机顶盒100的设备号和序列号可以区分区不同的机顶盒。可选地,可以在机顶盒100上电后,当接收到开机广播时,向服务器200发送机顶盒100的身份信息。例如,机顶盒100上电开机后,会发送开机广播,机顶盒100监听到该开机广播后,向服务器200上报机顶盒100的身份信息。The identity information of the set top box 100 is sent to the server 200, and the identity information may include at least one of a device number, a serial number, a software version number, and a hardware version number of the set top box 100. For example, the server 200 may partition different set top boxes according to the device number and serial number of the set top box 100. Optionally, after the set top box 100 is powered on, when the boot broadcast is received, the identity information of the set top box 100 may be sent to the server 200. For example, after the set top box 100 is powered on, the boot broadcast is sent, and after the set top box 100 monitors the boot broadcast, the set information of the set top box 100 is reported to the server 200.
步骤120:按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求。Step 120: Send an acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency.
用户可以通过智能终端300向服务器200发送用于管控机顶盒100的管控指令,机顶盒100主动按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求,可以减少服务器200的数据处理负担。管控指令可以包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的至少一种。所述指令获取频率可以为1分钟/次,用户也可根据需要设置其他数值的指令获取频率。The user can send a control command for controlling the set top box 100 to the server 200 through the smart terminal 300. The set top box 100 actively sends the acquisition request of the control order of the set top box 100 to the server 200 according to the instruction acquisition frequency, which can reduce the data processing burden of the server 200. The control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command. The instruction acquisition frequency may be 1 minute/time, and the user may also set an instruction acquisition frequency of other values as needed.
步骤130:接收服务器200发送的包含管控指令集的可扩展标记语言(Extensible Markup Language,XML)表,该管控指令集包括智能终端300发出的对机顶盒100的管控指令。Step 130: Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
示例性的,当服务器200接收到机顶盒100发送的获取管控指令的请求时,服务器200根据机顶盒100的设备号和序列号获取与机顶盒100匹配的智能终端300发出的管控指令;智能终端300发出的管控指令构成管控指令集,管控指令集也可包括其他服务器生成的管控指令;将包含管控指令集的可扩展标记语言表发送给机顶盒100,机顶盒100便接收到服务器200发送的可扩展标记语言表。Exemplarily, when the server 200 receives the request for acquiring the control command sent by the set top box 100, the server 200 acquires the control command issued by the smart terminal 300 that matches the set top box 100 according to the device number and the serial number of the set top box 100; The control instruction constitutes a control instruction set, and the control instruction set may also include a control instruction generated by another server; the extensible markup language table including the control instruction set is sent to the set top box 100, and the set top box 100 receives the extensible markup language table sent by the server 200. .
步骤140:解析所述可扩展标记语言表,获取管控指令。机顶盒100解析该可扩展标记语言表,得到管控指令集,获取需要处理的管控指令。Step 140: Parse the extensible markup language table to obtain a control instruction. The set top box 100 parses the extensible markup language table, obtains a set of control instructions, and obtains a control command to be processed.
步骤150:执行管控指令。在获取到管控指令后,机顶盒100执行管控指令。Step 150: Execute a control instruction. After acquiring the control command, the set top box 100 executes the control command.
本实施例提供的管控机顶盒的方法,通过向服务器200发送机顶盒100的 身份信息,以使服务器200识别机顶盒100的身份;然后按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求,降低了服务器200的负荷;通过接收服务器200发送的包含管控指令集的可扩展标记语言表,以及解析该可扩展标记语言表,获取并执行管控指令,在实现了利用智能终端300远程管控机顶盒100的同时,优化了控制机制。The method for controlling a set top box provided by this embodiment, by sending the set top box 100 to the server 200 Identity information, so that the server 200 recognizes the identity of the set top box 100; then, according to the instruction acquisition frequency, the acquisition request of the control order of the set top box 100 is sent to the server 200, which reduces the load of the server 200; and the collection of the control instruction set sent by the receiving server 200 The extended markup language table, and the parsing of the extensible markup language table, acquire and execute the control instructions, and optimize the control mechanism while remotely controlling the set top box 100 by the smart terminal 300.
请参考图3,图3是一种管控机顶盒的方法的第二实施例的方法流程示意图。本实施例中的方法的执行主体为机顶盒100,如图3所示,其中,对于步骤110、步骤120、步骤130、步骤140和步骤150,可参考上文中的描述。在步骤120之前该方法还可以包括步骤111:将机顶盒100当前运行应用的应用使用信息发送给服务器200,其中应用使用信息包括当前运行应用的应用包名。该方法包括如下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flow chart of a method for controlling a second embodiment of a set top box. The execution subject of the method in this embodiment is the set top box 100, as shown in FIG. 3, wherein, for step 110, step 120, step 130, step 140 and step 150, reference may be made to the above description. Before the step 120, the method may further include the step 111: sending the application usage information of the currently running application of the set top box 100 to the server 200, wherein the application usage information includes an application package name of the currently running application. The method comprises the following steps:
步骤110:向服务器200发送机顶盒100的身份信息。Step 110: Send identity information of the set top box 100 to the server 200.
步骤111:将机顶盒100当前运行应用的应用使用信息发送给服务器200,其中应用使用信息包括当前运行应用的应用包名。Step 111: Send application usage information of the currently running application of the set top box 100 to the server 200, where the application usage information includes an application package name of the currently running application.
把包含当前用户正在使用的应用包名的应用使用信息上报给服务器200,应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间,当智能终端300向服务器200获取机顶盒100发送的身份信息和应用使用信息时,便可实现对机顶盒100进行应用监察。示例性的,用户根据在智能终端300中显示的身份信息和应用使用信息,通过智能终端300向服务器200发送管控机顶盒的管控指令,例如将机顶盒100中正在运行的应用强制关闭的指令。The application usage information including the application package name that is currently used by the current user is reported to the server 200. The application usage information may further include: the time when the application currently being used by the user starts to be used, and the smart terminal 300 acquires the identity sent by the set top box 100 when the smart terminal 300 sends the identity of the set top box 100 to the server 200. Application monitoring of the set top box 100 can be achieved when the information and application usage information is used. Exemplarily, the user sends a control instruction for controlling the set top box to the server 200 according to the identity information and the application use information displayed in the smart terminal 300, for example, an instruction to forcibly close the running application in the set top box 100.
步骤120:按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求。Step 120: Send an acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency.
步骤130:接收服务器200发送的包含管控指令集的可扩展标记语言(Extensible Markup Language,XML)表,该管控指令集包括智能终端300发出的对机顶盒100的管控指令。Step 130: Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
步骤140:解析可扩展标记语言表,获取管控指令。Step 140: Parse the extensible markup language table to obtain a control instruction.
步骤150:执行管控指令。Step 150: Execute a control instruction.
本实施例提供的管控机顶盒的方法,通过向服务器发送机顶盒的身份信息和机顶盒中前运行应用的应用使用信息,以使服务器识别机顶盒的身份和存储该应用使用信息;然后按指令获取频率向服务器发送机顶盒的管控指令的获取请求,降低了服务器的数据处理负担;通过解析服务器发送的可扩展标记语言表,获取并执行管控指令以控制机顶盒和其中的应用软件,实现了利用智能终端远程管控机顶盒。The method for controlling a set-top box provided by the embodiment provides a server to identify the identity of the set-top box and store the application usage information by sending the identity information of the set-top box and the application usage information of the pre-running application in the set-top box to the server, and then acquiring the frequency to the server according to the instruction. Sending the control request of the set-top box reduces the data processing burden of the server; by analyzing the extensible markup language table sent by the server, acquiring and executing the control command to control the set-top box and the application software therein, realizing the remote control of the set-top box by using the smart terminal .
可选地,在上述步骤111之前,上述方法还可以包括:按应用获取频率获取机顶盒100当前运行应用的应用使用信息。其中,应用获取频率可以设为3 分钟/次,用户也可根据需要设置其他数值的应用获取频率。Optionally, before the foregoing step 111, the foregoing method may further include: acquiring application usage information of the currently running application of the set top box 100 according to the application acquisition frequency. Wherein, the application acquisition frequency can be set to 3 Minutes/times, the user can also set the frequency of application acquisition of other values as needed.
请参考图4,图4是一种管控机顶盒的方法的第三实施例的方法流程示意图。本实施例的方法的执行主体为机顶盒100,如图4所示,该方法,包括:Please refer to FIG. 4. FIG. 4 is a schematic flow chart of a method for controlling a third embodiment of a set top box. The execution subject of the method in this embodiment is the set top box 100. As shown in FIG. 4, the method includes:
步骤210:向服务器200发送机顶盒100的身份信息。Step 210: Send identity information of the set top box 100 to the server 200.
示例性的,在机顶盒100上电后,当接收到开机广播(如,Intent.ACTION_BOOT_COMPLETED)则向服务器200(如,http://skyworth.com)上报机顶盒100的身份信息,所述身份信息可以包括:机顶盒100的设备号、序列号、软件版本号、和硬件版本号等,发送的身份信息举例如下:Exemplarily, after the set top box 100 is powered on, when the boot broadcast (eg, Intent.ACTION_BOOT_COMPLETED) is received, the identity information of the set top box 100 is reported to the server 200 (eg, http://skyworth.com), and the identity information may be The device number, the serial number, the software version number, and the hardware version number of the set top box 100 are included, and the identity information sent is as follows:
json:Json:
{″deviceID″:″38FACA73E723155004″,″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": "38FACA73E723155004", "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"}.
服务器200能根据机顶盒100的设备号和序列号区分不同的机顶盒。The server 200 can distinguish different set top boxes according to the device number and serial number of the set top box 100.
步骤220:将机顶盒100当前运行应用的应用使用信息发送给服务器200,其中应用使用信息包括当前运行应用的应用包名。Step 220: Send application usage information of the currently running application of the set top box 100 to the server 200, where the application usage information includes an application package name of the currently running application.
把包含当前用户正在使用的应用包名的应用使用信息上报给服务器200,应用使用信息举例如下:The application usage information including the application package name currently used by the current user is reported to the server 200, and the application usage information is as follows:
json:Json:
{″deviceID″:″38FACA73E723155004″,″serialNo″:″03707737002″,″topPackageName″:″在线影视″}。{"deviceID": "38FACA73E723155004", "serialNo": "03707737002", "topPackageName": "online video"}.
上述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间,当智能终端300向服务器200获取机顶盒100发送的身份信息和应用使用信息时,便可实现对机顶盒100进行监察;用户根据在智能终端300显示的身份信息和应用使用信息,便可获知匹配的机顶盒100所打开的应用及该应用使用的时长;用户认为需要管控机顶盒100,则可以通过向服务器200发送管控机顶盒100的管控指令,以实现对机顶盒100及其中安装的应用进行管控。The application usage information may further include: when the application currently being used by the user starts to use, when the smart terminal 300 obtains the identity information and the application usage information sent by the set top box 100 to the server 200, the set top box 100 may be monitored; The identity information and the application usage information displayed on the smart terminal 300 can be used to know the application opened by the matching set top box 100 and the duration of the application. If the user thinks that the set top box 100 needs to be controlled, the control of the set top box 100 can be sent to the server 200. Instructions to control the set top box 100 and the applications installed therein.
步骤230:按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求。Step 230: Send the acquisition request of the control instruction of the set top box 100 to the server 200 according to the instruction acquisition frequency.
按指令获取频率向服务器200发送管控指令的获取请求可以降低服务器200的负荷,优化了控制机制。管控指令可以包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的至少一种。例如小孩在家玩游戏,则应用使用信息中会包含游戏应用名称及该游戏应用开始使用的时间;若该游戏应用的使用超过3个小时,家长认为需要小孩停止玩游戏,则使用智能终端300通过服务器200中转,以给机顶盒100发出停止游戏的提醒信息, 若小孩还是没有关闭游戏应用,则发出强制关机的提醒信息,强制机顶盒100关机。其中管控指令包括发送警告提醒指令和强制关机指令。包含由智能终端300发出的管控指令构成的管控指令集的可扩展标记语言表,举例如下:The acquisition request to transmit the control command to the server 200 according to the instruction acquisition frequency can reduce the load of the server 200 and optimize the control mechanism. The control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command. For example, if the child plays the game at home, the application usage information includes the game application name and the time when the game application starts to be used; if the game application is used for more than 3 hours, the parent thinks that the child needs to stop playing the game, and the smart terminal 300 is used. The server 200 relays to send a reminder message to the set top box 100 to stop the game. If the child still does not close the game application, a reminder message for forced shutdown is issued to force the set top box 100 to shut down. The control instructions include a warning reminder command and a forced shutdown command. An extensible markup language table containing a set of control instructions consisting of a control command issued by the smart terminal 300 is as follows:
Figure PCTCN2017098867-appb-000001
Figure PCTCN2017098867-appb-000001
所述指令获取频率可以为1分钟/次,用户也可根据需要设置其他的指令获取频率。The instruction acquisition frequency may be 1 minute/time, and the user may also set other instruction acquisition frequencies as needed.
步骤240:接收服务器200发送的包含管控指令集的可扩展标记语言(Extensible Markup Language,XML)表,该管控指令集包括智能终端300发出的对机顶盒100的管控指令。Step 240: Receive an Extensible Markup Language (XML) table that is sent by the server 200 and includes a control instruction set, where the control instruction set includes a control command issued by the smart terminal 300 for the set top box 100.
当服务器200接收到机顶盒100发送的管控指令的获取请求时,服务器200根据机顶盒100的设备号和序列号获取智能终端300发出的管控指令;由智能终端300发出的管控指令构成管控指令集,管控指令集也可包括其他服务器生成的管控指令;将包含管控指令集的可扩展标记语言表发送给机顶盒100,机顶盒100便可以接收到服务器200发送的可扩展标记语言表。When the server 200 receives the acquisition request of the control command sent by the set top box 100, the server 200 acquires the control command issued by the smart terminal 300 according to the device number and the serial number of the set top box 100; the control command issued by the smart terminal 300 constitutes a control instruction set, and the control The set of instructions may also include other server-generated control instructions; the extensible markup language table containing the set of control instructions is sent to the set top box 100, and the set top box 100 can receive the extensible markup language table sent by the server 200.
在智能终端300中安装机顶盒远程控制应用程序APP,当智能终端300联网后,初次使用时,智能终端300用户可通过扫一扫或手动输入机顶盒100包装盒上的设备号和序列号及默认初始密码以登录机顶盒远程控制APP,之后可通过修改的密码及绑定手机号码等方式登录该APP;登录后,利用智能终端300向服务器200发送获取与设备号和序列号匹配的机顶盒100在预置时间内上报的身份信息和应用使用信息的请求,智能终端300解析上述身份信息和应用使用信息,并呈现出以报表给智能终端用户。示例性的,获取机顶盒100中当前用户正在使用的应用并计算该应用使用的持续时长,智能终端用户通过机顶盒远程控制APP向服务器200发送控制机顶盒100时的管控指令,如强制关机指令、 发送警告提醒指令、跳转到预置应用指令、或关闭预置应用指令等,例如强制关机指令为:The set top box remote control application APP is installed in the smart terminal 300. When the smart terminal 300 is connected to the network, the user of the smart terminal 300 can scan the device number and the serial number and the default initial on the package of the set top box 100 by sweeping or manually inputting it. The password is used to log in to the set-top box to remotely control the APP, and then the APP can be logged in by means of the modified password and the bound mobile phone number. After the login, the smart terminal 300 transmits to the server 200 to obtain the set top box 100 that matches the device number and the serial number. The smart terminal 300 parses the identity information and the application usage information, and presents the report to the smart terminal user in response to the reported identity information and the application usage information request. Exemplarily, an application that is currently used by the user in the set top box 100 is obtained and the duration of use of the application is calculated, and the smart terminal user sends a control instruction when the set top box 100 is controlled to the server 200 through the set top box remote control APP, such as a forced shutdown instruction, Send a warning reminder command, jump to a preset application command, or close a preset application command, such as a forced shutdown command:
json:Json:
{″deviceID″:″38FACA73E723155004″,″serialNo″:″03707737002″,″command″:″shutdown″}。{"deviceID": "38FACA73E723155004", "serialNo": "03707737002", "command": "shutdown"}.
服务器200通过机顶盒100的设备号和序列号匹配对应的机顶盒100,并把包含有管控指令构成的管控指令集的可扩展标记语言表发送给匹配的机顶盒100,机顶盒100便可以接收到服务器200发送的可扩展标记语言表。The server 200 matches the corresponding set top box 100 by the device number and the serial number of the set top box 100, and sends the extensible markup language table including the control instruction set formed by the control command to the matched set top box 100, and the set top box 100 can receive the server 200 to send. Extensible Markup Language Table.
步骤250:解析上述可扩展标记语言表,获取管控指令。Step 250: Parse the extensible markup language table to obtain a control instruction.
机顶盒100解析上述可扩展标记语言表,可以得到所述管控指令集,从中获取需要处理的管控指令。The set top box 100 parses the extensible markup language table to obtain the control instruction set, and obtains a control instruction to be processed therefrom.
步骤260:执行上述管控指令Step 260: Execute the above control instructions
步骤270:向服务器200发送上述管控指令的执行状态。Step 270: Send the execution status of the above control command to the server 200.
机顶盒100执行完管控指令之后,向服务器200发送上述管控指令的执行状态,在智能终端300向服务器200发送管控指令的执行状态的获取请求时,服务器200把上述管控指令的执行状态发送给智能终端300,并显示给用户,用户便可监察机顶盒100中应用的使用情况,实现了对机顶盒100的远程管控。After the set top box 100 executes the control command, the execution status of the control command is sent to the server 200. When the smart terminal 300 sends the execution request of the control status to the server 200, the server 200 sends the execution status of the control command to the smart terminal. 300, and displayed to the user, the user can monitor the use of the application in the set top box 100, and realize remote control of the set top box 100.
本实施例提供的管控机顶盒的方法,机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,接收服务器200发送的包含管控管控指令集的可扩展标记语言表,管控指令集包括智能终端300发出的管控指令;机顶盒100从上述可扩展标记语言表中获取智能终端300发出的管控指令,并执行上述管控指令,执行完管控指令之后,向服务器200发送上述管控指令的执行状态,提供上述步骤,实现了利用智能终端300对机顶盒100进行远程管控,其中,机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器的负荷,优化了控制机制。The method for controlling the set-top box provided by the embodiment, the set-top box 100 sends the acquisition control request to the server 200 according to the instruction acquisition frequency, and the extensible markup language table that is sent by the server 200 and includes the control and control instruction set, and the control instruction set includes the smart terminal 300. a control command issued; the set top box 100 acquires the control command issued by the smart terminal 300 from the extensible markup language table, and executes the control command, and after executing the control command, sends the execution state of the control command to the server 200, and provides the above steps. The smart terminal 300 is used to remotely control the set top box 100. The set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, which reduces the load of the server and optimizes the control mechanism.
在上述实施例的基础上,图5提供一种管控机顶盒的方法的第四实施例的方法流程示意图。本实施例中的方法的执行主体为服务器,如图5所示,该方法,包括:Based on the above embodiments, FIG. 5 provides a schematic flowchart of a method for controlling a fourth embodiment of a set top box. The execution body of the method in this embodiment is a server. As shown in FIG. 5, the method includes:
步骤310:接收机顶盒100发送的机顶盒100的身份信息。Step 310: The identity information of the set top box 100 sent by the receiver set top box 100.
机顶盒100向服务器200上报机顶盒100的身份信息。The set top box 100 reports the identity information of the set top box 100 to the server 200.
步骤320:接收智能终端300发送的上述身份信息的获取请求,其中上述身份信息为机顶盒100在预置时间内发送的信息。Step 320: Receive an acquisition request of the foregoing identity information sent by the smart terminal 300, where the identity information is information that the set top box 100 sends within a preset time.
用户若想要知道机顶盒100中应用的使用情况,则登录机顶盒远程控制APP,登录后,向服务器200发送获机顶盒100的身份信息的请求,对应的,服务器200便会接收智能终端300发送的获取所述身份信息的请求。所述预置时间可以 为24小时,当然也可以设置其他的预置时间,可根据用户的需要进行设置。If the user wants to know the usage of the application in the set top box 100, the user logs in to the set top box remote control APP, and after login, sends a request for obtaining the identity information of the set top box 100 to the server 200. Correspondingly, the server 200 receives the acquisition sent by the smart terminal 300. The request for identity information. The preset time can For 24 hours, of course, other preset time can also be set, which can be set according to the needs of the user.
步骤330:向智能终端300发送上述身份信息。Step 330: Send the foregoing identity information to the smart terminal 300.
服务器200接收到智能终端300发送的上述身份信息的获取请求之后,向智能终端300发送上述身份信息。After receiving the acquisition request of the identity information sent by the smart terminal 300, the server 200 transmits the identity information to the smart terminal 300.
步骤340:接收智能终端300发出的对机顶盒100的管控指令。Step 340: Receive a control command issued by the smart terminal 300 for the set top box 100.
所述管控指令可以包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的至少一种。The control instruction may include at least one of a forced shutdown command, a send alert reminder command, a jump to a preset application command, and a close preset application command.
步骤350:接收机顶盒100按指令获取频率发送的上述管控指令的获取请求。Step 350: The receiver set-top box 100 acquires the acquisition request of the above-mentioned control instruction sent by the frequency according to the instruction.
步骤350:向机顶盒100发送包含管控指令集的可扩展标记语言表,其中,上述管控指令集包括管控指令。Step 350: Send an extensible markup language table including a set of control instructions to the set top box 100, wherein the set of control instructions includes a control command.
服务器200接收到智能终端300发出的管控指令之后,不是直接把上述管控指令发送给机顶盒100,而是在接收机顶盒100发送的获取管控指令的请求之后,才向机顶盒100发送包含由智能终端300发出的管控指令构成的管控指令集的可扩展标记语言表,能降低服务器200的负荷,优化控制机制。上述指令获取频率可以为1分钟/次,用户也可根据需要设置其他的指令获取频率。After receiving the control command issued by the smart terminal 300, the server 200 does not directly send the control command to the set top box 100, but sends the request to the set top box 100 to be sent by the smart terminal 300 after the request for obtaining the control command sent by the receiver set top box 100. The extensible markup language table of the control instruction set formed by the control instructions can reduce the load of the server 200 and optimize the control mechanism. The above instruction acquisition frequency can be 1 minute/time, and the user can also set other instruction acquisition frequencies as needed.
本实施例提供的管控机顶盒的方法,服务器200通过接收机顶盒100发送的机顶盒100的身份信息,并接收智能终端300发送的身份信息的获取请求,身份信息为机顶盒100在预置时间内发送的信息;然后向智能终端300发送身份信息,并接收智能终端300发出的对机顶盒100的管控指令;在接收机顶盒100按指令获取频率发送的管控指令的获取请求后;向机顶盒100发送包含管控指令集的可扩展标记语言表,其中,管控指令集包括管控指令,利用上述步骤实现了智能终端300对机顶盒100的远程管控,并且按指令获取频率向服务器200发送获取管控指令的请求,降低了服务器200的负荷,优化了控制机制。In the method for controlling the set top box provided by the embodiment, the server 200 receives the identity information of the set top box 100 sent by the receiver set top box 100, and receives the request for acquiring the identity information sent by the smart terminal 300, where the identity information is information sent by the set top box 100 within the preset time. And then sending the identity information to the smart terminal 300, and receiving the control command issued by the smart terminal 300 for the set top box 100; after the receiver set top box 100 acquires the acquisition request of the frequency control command sent by the command, sending the control set containing the control set to the set top box 100; The extensible markup language table, wherein the control instruction set includes a control instruction, and the remote control of the set top box 100 by the smart terminal 300 is implemented by using the above steps, and the request for obtaining the control instruction is sent to the server 200 according to the instruction acquisition frequency, and the server 200 is reduced. Load, optimized control mechanism.
可选地,在上述步骤330之前还可以包括:步骤321:接收机顶盒100发送的应用使用信息,其中,应用使用信息为机顶盒100按应用获取频率获取的当前运行应用的信息,应用使用信息包括当前运行应用的应用包名。Optionally, before the foregoing step 330, the method further includes: Step 321: application usage information sent by the receiver set top box 100, wherein the application usage information is information about the currently running application acquired by the set top box 100 according to the application acquisition frequency, where the application usage information includes the current The application package name where the app is running.
机顶盒100将按应用获取频率获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息发送给服务器200。对应的,服务器200会接收到机顶盒100发送的身份信息和包含当前用户正在使用的应用包名的应用使用信息。机顶盒100发送的身份信息和发送的包含当前用户正在使用的应用包名的应用使用信息可以为同时发送,也可为分开发送,这里不做限定。所述应用获取频率可以为3分钟/次,可选的,终端用户也可根据需要设置其他的应用获取频率。可选地所述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间。The set top box 100 will acquire the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and send the application usage information to the server 200. Correspondingly, the server 200 receives the identity information sent by the set top box 100 and the application usage information including the application package name currently used by the user. The identity information sent by the set-top box 100 and the application usage information sent by the set-top box 100 may be sent simultaneously or separately, which is not limited herein. The application acquisition frequency may be 3 minutes/time. Optionally, the terminal user may also set other application acquisition frequencies as needed. Optionally, the application usage information may further include: a time when the application currently used by the user starts to be used.
在上述步骤321之后,本实施例中的方法还可以包括:步骤322:接收智能 终端300发送的应用使用信息的获取请求,应用使用信息为机顶盒100在预置时间内发送的信息,以及向智能终端300发送应用使用信息。After the foregoing step 321 , the method in this embodiment may further include: Step 322: Receiving intelligence The application 300 uses the acquisition request of the application usage information, the application usage information is information sent by the set top box 100 within a preset time, and the application usage information is transmitted to the smart terminal 300.
用户若想要知道机顶盒100中应用的使用情况,则登录机顶盒远程控制APP,登录后,向服务器200发送机顶盒100的身份信息和应用使用信息的请求,对应的,服务器200便会接收智能终端300发送的获取身份参数信息和所述应用使用信息的请求。可选地,所述预置时间可以为24小时,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。If the user wants to know the usage of the application in the set top box 100, the user can log in to the set top box remote control APP, and after login, send the identity information of the set top box 100 and the application usage information to the server 200. Correspondingly, the server 200 receives the smart terminal 300. A request for obtaining identity parameter information and the application usage information. Optionally, the preset time may be 24 hours. Of course, other preset times may also be set, which may be set according to the needs of the end user.
在上述实施例的基础上,图6是一种管控机顶盒的方法的第五实施例的方法流程示意图。本实施例的执行主体为服务器,如图6所示,该方法,包括:Based on the above embodiment, FIG. 6 is a schematic flowchart of a method for controlling a fifth embodiment of a set top box. The execution entity of this embodiment is a server. As shown in FIG. 6, the method includes:
步骤610:接收机顶盒100发送的身份信息和按应用获取频率获取的包含正在被使用的应用包名的应用使用信息。Step 610: The identity information sent by the receiver set top box 100 and the application usage information obtained by the application acquisition frequency containing the application package name being used.
机顶盒100向服务器200发送机顶盒100的身份信息。机顶盒100将按应用获取频率获取包含当前用户正在使用的应用包名的应用使用信息,将所述应用使用信息发送给服务器200。机顶盒100发送的身份信息和发送的包含当前用户正在使用的应用包名的应用使用信息可以为同时发送,也可为分开发送,这里不做限定。所述应用获取频率可以为3分钟/次,可选的,终端用户也可根据需要设置其他的应用获取频率。所述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间。The set top box 100 transmits the identity information of the set top box 100 to the server 200. The set top box 100 will acquire the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and send the application usage information to the server 200. The identity information sent by the set-top box 100 and the application usage information sent by the set-top box 100 may be sent simultaneously or separately, which is not limited herein. The application acquisition frequency may be 3 minutes/time. Optionally, the terminal user may also set other application acquisition frequencies as needed. The application usage information may further include: a time when the application currently being used by the user starts to be used.
步骤620:接收智能终端300发送的机顶盒100在预置时间内发送的身份信息和应用使用信息的获取请求。Step 620: Receive an acquisition request of the identity information and the application usage information sent by the set top box 100 sent by the smart terminal 300 within a preset time.
用户若想要知道机顶盒100中应用的使用情况,则登录机顶盒远程控制APP,登录后,向服务器200发送机顶盒100的身份信息和应用使用信息的请求,对应的,服务器200便会接收智能终端300发送的身份信息和应用使用信息的获取请求。所述预置时间可以为24小时,当然也可以设置其他的预置时间,可根据终端用户的需要进行设置。If the user wants to know the usage of the application in the set top box 100, the user can log in to the set top box remote control APP, and after login, send the identity information of the set top box 100 and the application usage information to the server 200. Correspondingly, the server 200 receives the smart terminal 300. The identity information sent and the request to obtain the application usage information. The preset time can be 24 hours. Of course, other preset times can also be set, which can be set according to the needs of the end user.
步骤630:向智能终端300发送上述身份信息和应用使用信息。Step 630: Send the foregoing identity information and application usage information to the smart terminal 300.
服务器200接收到智能终端300发送的身份信息和应用使用信息的获取请求之后,向智能终端300发送上述身份信息和应用使用信息。After receiving the identity information and the application usage information transmission request sent by the smart terminal 300, the server 200 transmits the identity information and the application usage information to the smart terminal 300.
步骤640:接收智能终端300发出的管控指令。Step 640: Receive a control command issued by the smart terminal 300.
智能终端300接收到身份信息和应用使用信息后,解析上述身份信息和应用使用信息,并在智能终端上呈现给终端用户;如获取当前机顶盒100中正在使用的应用并计算使用的持续时长,并在智能终端上显示,终端用户通过顶盒远程控制APP向服务器发送控制机顶盒的管控指令,如强制关机指令、发送警告提醒指令、跳转到预置应用指令、和关闭预置应用指令等,对应的服务器200会接收到智能终端300发出的管控指令。例如小孩在家玩游戏,则应用使用信 息中会包含游戏应用名称及游戏应用开始使用的时间,若应用的使用超过3个小时,智能终端300的用户例如家长认为需要小孩停止玩游戏,给机顶盒100发出停止游戏的提醒信息,若小孩还是没有关闭游戏应用,则发出强制关机的提醒信息,强制关机,此时管控指令应包括发送警告提醒指令和强制关机指令;用户可以通过顶盒远程控制APP向服务器200发出控制机顶盒100的管控指令。After receiving the identity information and the application usage information, the smart terminal 300 parses the identity information and the application usage information, and presents the information to the terminal user on the smart terminal; for example, acquiring the application being used in the current set top box 100 and calculating the duration of the use, and Displayed on the smart terminal, the terminal user sends a control command for controlling the set top box to the server through the top box remote control APP, such as a forced shutdown command, a warning reminding instruction, a jump to a preset application instruction, and a shutdown preset application instruction, etc. The server 200 receives the control command issued by the smart terminal 300. For example, if a child plays a game at home, the application letter is used. The content of the game application and the time when the game application is used may be included. If the application is used for more than 3 hours, the user of the smart terminal 300, for example, the parent thinks that the child needs to stop playing the game, and sends a reminder message to the set top box 100 to stop the game, if the child If the game application is not closed, a reminder message for forcibly shutting down is issued, and the shutdown is forcibly turned off. At this time, the control command should include sending a warning reminder command and a forced shutdown command; the user can issue a control command for controlling the set top box 100 to the server 200 through the top box remote control APP. .
步骤650:接收机顶盒100按指令获取频率发送的管控指令的获取请求,向机顶盒100发送包括管控管控指令集的可扩展标记语言表,上述管控指令集包括智能终端300发出的管控指令。Step 650: The receiver set-top box 100 acquires the acquisition request of the control command sent by the frequency according to the instruction, and sends an extensible markup language table including the control set of the control set to the set-top box 100, where the set of control instructions includes the control command issued by the smart terminal 300.
可选的,在步骤650之后,还包括步骤660-680,如下:Optionally, after step 650, steps 660-680 are further included, as follows:
步骤660:接收机顶盒100发送的上述管控指令的执行状态。服务器200向机顶盒100发送包含由智能终端300发出的管控指令构成的管控指令集的可扩展标记语言表之后,机顶盒100解析所述可扩展标记语言表,获取上述管控指令集中的管控指令,执行上述管控指令,执行完毕后向服务器200发送上述管控指令的执行状态,对应的,服务器200会接收到机顶盒100发送的上述管控指令的执行状态。Step 660: The execution state of the above-mentioned control command sent by the receiver set top box 100. After the server 200 transmits the extensible markup language table including the control instruction set formed by the control command issued by the smart terminal 300 to the set top box 100, the set top box 100 parses the extensible markup language table, acquires the control command in the control command set, and executes the above After the execution of the control command, the execution status of the control command is sent to the server 200. Correspondingly, the server 200 receives the execution status of the control command sent by the set top box 100.
步骤670:接收智能终端300发送的上述管控指令的执行状态的获取请求。Step 670: Receive an acquisition request of an execution status of the foregoing control command sent by the smart terminal 300.
在智能终端300中登录机顶盒远程控制APP后,向服务器200发出管控指令,用户若想知道该管控指令的执行状态,向服务器200发送该管控指令的执行状态的获取请求,则服务器200会接收该智能终端300发送的上述管控指令的执行状态的获取请求。步骤660与步骤670没有一定的顺序,但是步骤660及步骤670需要在步骤680之前执行。After logging in the set-top box remote control APP in the smart terminal 300, issuing a control command to the server 200, if the user wants to know the execution status of the control command, and sends the acquisition request of the execution status of the control command to the server 200, the server 200 receives the control request. The acquisition request of the execution state of the above-mentioned control command transmitted by the smart terminal 300. Steps 660 and 670 do not have a certain order, but steps 660 and 670 need to be performed before step 680.
步骤680:把机顶盒100发送的上述管控指令的处理状态转发给智能终端300。Step 680: Forward the processing status of the above-mentioned control command sent by the set top box 100 to the smart terminal 300.
服务器200在接收机顶盒100发送的上述管控指令的执行状态,及接收智能终端300发送的上述管控指令的状态的获取请求之后,把机顶盒100发送的上述管控指令的执行状态转发给智能终端300。The server 200 forwards the execution status of the control command sent by the set top box 100 to the smart terminal 300 after the execution status of the control command sent by the receiver top box 100 and the acquisition request of the status of the control command sent by the smart terminal 300.
本实施例提供的管控机顶盒的方法,服务器200在机顶盒100按指令获取频率向服务器200发送获取管控指令的请求后,向机顶盒100发送包括管控管控指令集的可扩展标记语言表,其中管控指令集包括所述终端发出的管控指令;机顶盒100从上述可扩展标记语言表中获取智能终端300发出的管控指令,并执行上述管控指令,并向服务器200发送上述管控指令的执行状态,通过上述步骤实现了利用智能终端300对机顶盒100的远程管控;通过机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器200的负荷,优化了控制机制。In the method for controlling the set-top box provided by the embodiment, the server 200 sends the extensible markup language table including the control set of the control set to the set-top box 100 after the set-top box 100 sends the request for obtaining the control command to the server 200 according to the instruction acquisition frequency, wherein the control instruction set is And including the control command issued by the terminal; the set top box 100 acquires the control command issued by the smart terminal 300 from the extensible markup language table, executes the control command, and sends the execution state of the control command to the server 200, and implements the foregoing steps. The remote control of the set top box 100 by the smart terminal 300 is performed; the acquisition request of the control command is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
图7是一种管控机顶盒的方法的第六实施例的方法流程示意图。本实施例 的执行主体为智能终端,所述智能终端可以为智能手机、智能可穿戴设备、或平板电脑等,如图7所示,该方法,包括:7 is a schematic flow chart of a method of a sixth embodiment of a method of controlling a set top box. This embodiment The execution entity is a smart terminal, and the smart terminal can be a smart phone, a smart wearable device, or a tablet computer. As shown in FIG. 7, the method includes:
步骤710:向服务器200发送机顶盒100的身份信息的获取请求,身份信息为机顶盒100在预置时间内的向服务器200发送的信息。Step 710: Send an acquisition request of the identity information of the set top box 100 to the server 200. The identity information is information sent by the set top box 100 to the server 200 within a preset time.
上述身份信息可以包括:机顶盒100的设备号、序列号、软件版本号、和硬件版本号中的至少一种。预置时间可以根据实际需要进行设定。The foregoing identity information may include at least one of a device number, a serial number, a software version number, and a hardware version number of the set top box 100. The preset time can be set according to actual needs.
步骤720:接收服务器200发送的身份信息。Step 720: Receive identity information sent by the server 200.
在机顶盒100上电后,当接收到开机广播时,机顶盒100会向服务器200发送机顶盒100的身份信息,智能终端300向服务器200发送机顶盒100在预置时间内的发送的身份信息的获取请求,服务器200从机顶盒100中,获取对应的身份信息和应用使用信息并发送给智能终端300,对应的,智能终端300则接收服务器200发送的身份信息和应用使用信息。在本实施例中,如果两个机顶盒的设备号和序列号均相同,则认为是同一个机顶盒。After the set top box 100 is powered on, when the boot broadcast is received, the set top box 100 sends the identity information of the set top box 100 to the server 200, and the smart terminal 300 sends the server 200 the request for acquiring the identity information sent by the set top box 100 within the preset time. The server 200 obtains corresponding identity information and application usage information from the set top box 100 and sends the information to the smart terminal 300. Correspondingly, the smart terminal 300 receives the identity information and application usage information sent by the server 200. In this embodiment, if the device numbers and serial numbers of the two set top boxes are the same, they are considered to be the same set top box.
步骤730:解析身份信息,并显示。Step 730: Parse the identity information and display it.
步骤740:接收管控指令,通过服务器200向机顶盒100发出管控指令。Step 740: Receive a control command, and issue a control command to the set top box 100 through the server 200.
上述管控指令可以包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的至少一种。智能终端300接收到上述身份信息后,解析上述身份信息,并在智能终端上呈现给用户。The above-mentioned control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command. After receiving the identity information, the smart terminal 300 parses the identity information and presents it to the user on the smart terminal.
本实施例提供的管控机顶盒的方法,智能终端30向服务器200发送机顶盒100的身份信息的获取请求,并接收服务器200发送的身份信息,然后解析接收到的身份信息,并显示,以及接收管控指令(如强制关机指令、发送警告提醒指令、跳转到预置应用指令、和关闭预置应用指令等),然后通过服务器200向机顶盒100发出管控指令,通过上述步骤实现了利用智能终端300对机顶盒100的远程管控;通过机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器200的负荷,优化了控制机制。In the method for controlling the set top box provided by the embodiment, the smart terminal 30 sends the request for acquiring the identity information of the set top box 100 to the server 200, and receives the identity information sent by the server 200, and then parses the received identity information, displays it, and receives the control command. (such as forcibly shutting down the command, sending the warning reminder command, jumping to the preset application command, and closing the preset application command, etc.), and then issuing a control command to the set top box 100 through the server 200, and implementing the set top box by using the smart terminal 300 through the above steps The remote control of 100; the acquisition request of the control command is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
可选地,在上述步骤730之前,本实施例的方法还包括:向服务器200发送应用使用信息的获取请求,其中上述应用使用信息为机顶盒100按应用获取频率发送的正在运行应用的信息,上述应用使用信息包括上述正在运行应用的应用包名。在上述步骤730之前,本实施例的方法还包括:接收上述应用使用信息。在上述步骤740之前,本实施例的方法还包括:解析上述应用使用信息,并显示。Optionally, before the foregoing step 730, the method of the embodiment further includes: sending, to the server 200, an acquisition request of the application usage information, where the application usage information is information about the running application sent by the set top box 100 according to the application acquisition frequency, The application usage information includes the application package name of the above running application. Before the foregoing step 730, the method of this embodiment further includes: receiving the application usage information. Before the step 740, the method of the embodiment further includes: parsing the application usage information, and displaying the information.
图8是一种管控机顶盒的方法的第七实施例的方法流程示意图。本实施例的执行主体为智能终端,如图8所示,该方法,包括:FIG. 8 is a schematic flow chart of a method of a seventh embodiment of a method for controlling a set top box. The executor of the embodiment is an intelligent terminal. As shown in FIG. 8, the method includes:
步骤810:向服务器200发送获取请求,所述获取请求为机顶盒100在预置时间内的发送的上述身份信息和应用使用信息的获取请求,其中上述应用使用 信息为机顶盒100按应用获取频率发送的正在运行应用的信息,上述应用使用信息包括上述正在运行应用的应用包名。Step 810: Send an acquisition request to the server 200, where the acquisition request is a request for acquiring the foregoing identity information and application usage information sent by the set top box 100 within a preset time, where the application is used. The information is information of the running application sent by the set top box 100 according to the application acquisition frequency, and the application usage information includes the application package name of the running application.
上述身份信息可以包括:机顶盒100的设备号、序列号、软件版本号、和硬件版本号等。上述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间。上述应用获取频率可以为3分钟/次,可选的,智能终端300的用户也可根据需要设置为其他的应用获取频率。The above identity information may include: a device number, a serial number, a software version number, and a hardware version number of the set top box 100. The above application usage information may also include: the time when the application currently being used by the user starts to be used. The application acquisition frequency may be 3 minutes/time. Optionally, the user of the smart terminal 300 may also set the acquisition frequency for other applications as needed.
可选的,在步骤810之前还包括:Optionally, before step 810, the method further includes:
利用机顶盒100的设备号、序列号及密码,或与机顶盒100绑定的手机号码/邮箱、及密码,登录机顶盒远程控制APP。Use the device number, serial number and password of the set top box 100, or the mobile phone number/mailbox and password bound to the set top box 100 to log in to the set top box remote control APP.
在智能终端300中安装机顶盒远程控制APP,智能终端300联网后,初次使用时,智能终端300的用户可通过扫一扫或手动输入机顶盒100包装盒上的设备号和序列号及默认初始密码登录机顶盒远程控制APP,之后可通过修改的密码及绑定手机号码/邮箱等方式登录。登录后,向服务器200发送,获取与设备号和序列号匹配的机顶盒100在预置时间内发送的身份信息和应用使用信息的请求。所述预置时间可以为24小时,当然也可以设置其他的预置时间,可根据智能终端300的用户的需要进行设置。The set-top box remote control APP is installed in the smart terminal 300. After the smart terminal 300 is connected to the network, when the first time is used, the user of the smart terminal 300 can log in by manually scanning or manually inputting the device number and serial number on the package of the set-top box 100 and the default initial password. The set-top box remotely controls the APP, and then can log in by modifying the password and binding the mobile phone number/mailbox. After logging in, the server 200 is sent to obtain a request for identity information and application usage information sent by the set top box 100 that matches the device number and the serial number within a preset time. The preset time may be 24 hours. Of course, other preset times may also be set, which may be set according to the needs of the user of the smart terminal 300.
步骤820:接收服务器200发送的上述身份信息和上述应用使用信息。Step 820: Receive the foregoing identity information sent by the server 200 and the application usage information.
在机顶盒100上电后,当接收到开机广播时,机顶盒100向服务器200发送机顶盒100的身份信息,按应用获取频率获取包含当前用户正在使用的应用包名的应用使用信息,将上述应用使用信息发送服务器200。智能终端300向服务器200发送获取机顶盒100在预置时间内的发送的身份信息和按应用获取频率发送的包含当前用户正在使用的应用包名的应用使用信息的请求之后,服务器200根据与智能终端300匹配的机顶盒100,获取对应的身份信息和应用使用信息并发送给智能终端300;对应的,智能终端300则接收到服务器200发送的身份信息和应用使用信息。After the set-top box 100 is powered on, when the boot-up broadcast is received, the set-top box 100 sends the identity information of the set-top box 100 to the server 200, and obtains the application usage information including the application package name currently used by the current user according to the application acquisition frequency, and uses the application usage information. The server 200 is sent. The smart terminal 300 transmits, to the server 200, the identity information of the sent by the set top box 100 within the preset time and the request for the application use information including the application package name currently used by the current user according to the application acquisition frequency, the server 200 according to the smart terminal The matched set top box 100 acquires the corresponding identity information and the application usage information and sends the information to the smart terminal 300. Correspondingly, the smart terminal 300 receives the identity information and the application usage information sent by the server 200.
步骤830:解析上述身份信息和应用使用信息,并显示,获取输入的管控指令,并通过服务器200向机顶盒100发出管控指令。Step 830: Parse the foregoing identity information and application usage information, and display, obtain the input control command, and issue a control command to the set top box 100 through the server 200.
上述管控指令可以包括:强制关机指令、发送警告提醒指令、跳转到预置应用指令、关闭预置应用指令中的至少一种。智能终端300接收到上述身份信息和上述应用使用信息后,解析上述身份信息和上述应用使用信息,并在智能终端300上呈现给用户。例如获取当前机顶盒100中正在使用的应用的使用持续时长,并在智能终端300上显示,用户在顶盒远程控制APP输入管控指令,智能终端300获取用户输入的管控指令,并通过服务器200向机顶盒100中发出管控指令,如强制关机指令、发送警告提醒指令、跳转到预置应用指令、或关闭预置应用指令等。例如,小孩在家玩游戏,则智能终端300解析应用使用 信息,在智能终端300上呈现游戏应用名称及游戏应用开始使用的时间,及使用的持续时长,若应用使用的持续超过3个小时,用户例如家长认为需要小孩停止玩游戏,则通过智能终端300给机顶盒100发出停止游戏的提醒信息,若小孩还是没有关闭游戏应用,则通过智能终端300发出强制关机的指令信息,强制关机。The above-mentioned control command may include at least one of a forced shutdown command, a send alert alert command, a jump to a preset application command, and a close preset application command. After receiving the identity information and the application usage information, the smart terminal 300 parses the identity information and the application usage information, and presents the information to the user on the smart terminal 300. For example, the usage duration of the application being used in the current set top box 100 is obtained, and displayed on the smart terminal 300, the user inputs the control command in the top box remote control APP, and the smart terminal 300 acquires the control command input by the user, and passes the server 200 to the set top box. In 100, a control command is issued, such as forcing a shutdown command, sending a warning reminder command, jumping to a preset application command, or turning off a preset application command. For example, if a child plays a game at home, the smart terminal 300 analyzes the application use. The information is displayed on the smart terminal 300 on the smart terminal 300, and the duration of the use of the game application, and the duration of use. If the application lasts for more than 3 hours, the user, for example, the parent thinks that the child needs to stop playing the game, passes the smart terminal 300. The set top box 100 is issued with a reminder message for stopping the game. If the child still does not close the game application, the smart terminal 300 issues a command message for forcibly shutting down, forcibly shutting down.
可选的,步骤830之后,还包括:Optionally, after step 830, the method further includes:
步骤840:向服务器200发送上述管控指令的执行状态的获取请求。虽然发送过管控指令,但若小孩不听话,选择不执行管控指令等,家长想要知道管控指令的执行状态,可通过智能终端300向服务器200发送上述管控指令的执行状态的获取请求。Step 840: Send an acquisition request of the execution state of the above-mentioned management instruction to the server 200. Although the control command is sent, if the child does not obey, and the control command or the like is not selected, the parent wants to know the execution state of the control command, and the smart terminal 300 can transmit the acquisition request of the execution state of the control command to the server 200.
步骤850:接收服务器200转发的机顶盒100发送给服务器200的上述管控指令的处理状态。Step 850: Receive the processing state of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200.
智能终端300通过服务器200向机顶盒100发出管控指令之后,服务器200若接收到机顶盒100按指令获取频率发送的获取管控指令的请求,则向机顶盒100发送包含管控管控指令集的可扩展标记语言表,管控指令集包括智能终端300发出的管控指令。机顶盒100解析上述可扩展标记语言表,获取上述管控指令集中的管控指令,并执行上述管控指令,执行完毕后向服务器200发送上述管控指令的执行状态,在智能终端300向服务器200发送上述管控指令的执行状态的获取请求之后,智能终端300会接收到服务器200转发的机顶盒100发送给服务器200的上述管控指令的执行状态。上述指令获取频率可以为1分钟/次,用户也可根据需要设置其他的指令获取频率。After the smart terminal 300 issues a control command to the set top box 100 by the server 200, the server 200 receives the request for acquiring the control command sent by the set top box 100 according to the instruction, and sends an extensible markup language table including the set of the control and control instructions to the set top box 100. The control instruction set includes a control command issued by the smart terminal 300. The set top box 100 parses the extensible markup language table, obtains the control command in the control command set, executes the control command, and sends the execution status of the control command to the server 200 after the execution is completed, and sends the control command to the server 200 at the smart terminal 300. After the acquisition request of the execution state, the smart terminal 300 receives the execution status of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200. The above instruction acquisition frequency can be 1 minute/time, and the user can also set other instruction acquisition frequencies as needed.
本实施例提供的管控机顶盒的方法,通过在智能终端300中安装机顶盒远程控制APP,用户在联网状态下输入唯一标识机顶盒100的参数(例如机顶盒100的设备号及序列号)及密码登录APP,实时获取家中机顶盒100的播放状态及播放日志;智能终端300提供多种管控指令(如强制关机指令、发送警告提醒指令、跳转到预置应用指令、和关闭预置应用指令等)实现远程监管家中机顶盒100上的使用。智能终端300发出的管控指令由机顶盒100按指令获取频率向服务器200获取,降低了服务器200的负荷,优化了控制机制。In the method for controlling the set top box provided by the embodiment, by installing the set top box remote control APP in the smart terminal 300, the user inputs the parameters (such as the device number and serial number of the set top box 100) and the password to the APP that uniquely identify the set top box 100 in the networked state. Real-time access to the play status and play log of the set top box 100 in the home; the smart terminal 300 provides various control commands (such as forced shutdown command, sending warning reminder instruction, jumping to preset application instruction, and closing preset application instruction) to realize remote supervision Use on the set top box 100 in the home. The control command issued by the smart terminal 300 is acquired by the set top box 100 to the server 200 according to the instruction acquisition frequency, which reduces the load of the server 200 and optimizes the control mechanism.
请参考图9,图9是一种机顶盒的结构方框示意图。如图9所示,该机顶盒,包括:身份信息上报模块91、请求发送模块92、接收模块93、指令执行模块94。其中,身份信息上报模块91,设置为:向服务器200发送机顶盒100的身份信息。请求发送模块92,设置为:按指令获取频率向服务器200发送上述机顶盒100的管控指令的获取请求。接收模块93,设置为:接收服务器200发送的包含管控管控指令集的可扩展标记语言表,管控指令集包括所述终端发出对机顶盒100的管控指令。指令执行模块94,设置为:解析上述可扩展标记语言 表,获取上述管控指令集中的管控指令,以及执行上述管控指令。Please refer to FIG. 9. FIG. 9 is a block diagram showing the structure of a set top box. As shown in FIG. 9, the set top box includes an identity information reporting module 91, a request sending module 92, a receiving module 93, and an instruction execution module 94. The identity information reporting module 91 is configured to: send the identity information of the set top box 100 to the server 200. The request sending module 92 is configured to: send the acquisition request of the control command of the set top box 100 to the server 200 according to the instruction acquisition frequency. The receiving module 93 is configured to: receive an extensible markup language table that is sent by the server 200 and includes a set of control and control instructions, where the set of control instructions includes the control command issued by the terminal to the set top box 100. The instruction execution module 94 is configured to: parse the extensible markup language The table acquires the control instructions in the above-mentioned control instruction set and executes the above-mentioned control instructions.
本实施例提供的机顶盒,通过按指令获取频率向服务器发送获取管控指令的请求,接收服务器发送的包含管控管控指令集的可扩展标记语言表,管控指令集包括所述终端发出的管控指令,由所述可扩展标记语言表获取终端发出的管控指令,并执行所述管控指令,实现了利用终端对机顶盒的远程管控,按指令获取频率向服务器发送获取管控指令的请求降低了服务器的负荷,优化了系统的控制机制。The set top box provided by the embodiment sends a request for obtaining a control command to the server according to the instruction acquisition frequency, and the extensible markup language table that is sent by the server and includes the control set of the control set, the control instruction set includes the control command issued by the terminal, The extensible markup language table obtains the control command issued by the terminal, and executes the control command, realizes remote control of the set top box by using the terminal, and sends a request for obtaining the control command to the server according to the instruction acquisition frequency, thereby reducing the load of the server and optimizing The control mechanism of the system.
可选地,上述机顶盒100还可以包括,使用信息上报模块95,设置为:在上述按指令获取频率向服务器200发送机顶盒100的管控指令的获取请求的步骤之前,将机顶盒100当前运行应用的应用使用信息发送给服务器200,其中上述应用使用信息可以包括上述应用的应用包名。上述使用信息上报模块95,还可以设置为:在将机顶盒100当前运行应用的应用使用信息发送给服务器200的步骤之前,按应用获取频率获取机顶盒100当前运行应用的应用使用信息。Optionally, the set top box 100 may further include: an information reporting module 95, configured to: before the step of sending the acquisition request of the control order of the set top box 100 to the server 200 according to the instruction acquisition frequency, the application of the set top box 100 currently running the application The usage information is sent to the server 200, wherein the application usage information may include an application package name of the application. The usage information reporting module 95 may be further configured to: before the step of transmitting the application usage information of the currently running application of the set top box 100 to the server 200, obtain the application usage information of the currently running application of the set top box 100 according to the application acquisition frequency.
上述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间。上述应用获取频率可以为3分钟/次,可选的,用户也可根据需要设置其他的应用获取频率。可选地,上述机顶盒,还可以包括状态发送模块96,设置为:向服务器200发送上述管控指令的执行状态。The above application usage information may also include: the time when the application currently being used by the user starts to be used. The above application acquisition frequency can be 3 minutes/time. Optionally, the user can also set other application acquisition frequencies as needed. Optionally, the set top box further includes a status sending module 96, configured to: send the execution status of the foregoing control command to the server 200.
请参考图10,图10是一种服务器的结构方框示意图。如图10所示,该服务器200,包括:信息接收模块101,设置为:接收机顶盒100发送的机顶盒100的身份信息。上述身份信息可以包括:机顶盒100的设备号、序列号、软件版本号、和硬件版本号等。请求接收模块102,设置为:接收智能终端300在预置时间内发送的身份信息的获取请求。上述预置时间可以为24小时,也可以设置其他的预置时间,根据用户的需要进行设置。信息发送模块103,设置为:向智能终端300发送的身份信息。指令接收模块104,设置为:接收智能终端300发出的对机顶盒100的管控指令。发送模块105,设置为:接收机顶盒100按指令获取频率发送的管控指令的获取请求,向机顶盒100发送包含管控指令集的可扩展标记语言表,管控指令集包括智能终端100发出的管控指令。其中上述指令获取频率可以为1分钟/次,用户也可根据需要设置其他数值的指令获取频率,机顶盒100主动发送管控指令的获取请求可以降低服务器200的负荷,优化了控制机制。Please refer to FIG. 10, which is a block diagram showing the structure of a server. As shown in FIG. 10, the server 200 includes: an information receiving module 101, configured to: identity information of the set top box 100 sent by the receiver set top box 100. The above identity information may include: a device number, a serial number, a software version number, and a hardware version number of the set top box 100. The request receiving module 102 is configured to: receive an acquisition request of the identity information sent by the smart terminal 300 within a preset time. The preset time can be 24 hours, or other preset time can be set, and set according to the needs of the user. The information transmitting module 103 is configured to: the identity information transmitted to the smart terminal 300. The command receiving module 104 is configured to receive a control command issued by the smart terminal 300 for the set top box 100. The sending module 105 is configured to: the receiver top box 100 acquires the acquisition request of the control command sent by the frequency according to the instruction, and sends an extensible markup language table including the control instruction set to the set top box 100, where the control instruction set includes the control command issued by the smart terminal 100. The above instruction acquisition frequency may be 1 minute/time, and the user may also set other frequency instruction acquisition frequency according to requirements, and the set top box 100 actively sending the acquisition control request may reduce the load of the server 200 and optimize the control mechanism.
本实施例提供的服务器,在机顶盒100按指令获取频率向服务器200发送获取管控指令的请求后,向机顶盒100发送包括管控管控指令集的可扩展标记语言表,其中管控指令集包括所述终端发出的管控指令;机顶盒100从上述可扩展标记语言表中获取智能终端300发出的管控指令,并执行上述管控指令,通过上述步骤实现了利用智能终端300对机顶盒100的远程管控;通过机顶盒 100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器200的负荷,优化了控制机制。The server provided in this embodiment sends an extensible markup language table including a control and control instruction set to the set top box 100 after the set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, where the control instruction set includes the terminal issuing The control box command 100 obtains the control command issued by the smart terminal 300 from the extensible markup language table, and executes the above-mentioned control command. Through the above steps, the remote control of the set top box 100 by the smart terminal 300 is realized; through the set top box The transmission request of the control command is transmitted to the server 200 according to the instruction acquisition frequency, the load of the server 200 is reduced, and the control mechanism is optimized.
可选地,信息接收模块101还设置为:按应用获取频率获取机顶盒100当前运行应用的应用使用信息,其中,应用使用信息为机顶盒100按应用获取频率获取的当前运行应用的信息,应用使用信息包括应用的应用包名。上述应用使用信息还可以包括:正在被使用的应用开始使用的时间。上述应用获取频率可以为3分钟/次,用户也可根据需要设置为其他数值的应用获取频率。请求接收模块102还设置为:接收智能终端300发送的应用使用信息的获取请求,应用使用信息为机顶盒100在预置时间内发送的信息。信息发送模块103还设置为:向智能终端发送应用使用信息。Optionally, the information receiving module 101 is further configured to: obtain the application usage information of the currently running application of the set top box 100 according to the application acquisition frequency, where the application usage information is information about the currently running application acquired by the set top box 100 according to the application acquisition frequency, and the application usage information. Includes the app package name of the app. The above application usage information may also include: the time when the application being used starts to be used. The above application acquisition frequency can be 3 minutes/time, and the user can also obtain the frequency according to the application set to other values as needed. The request receiving module 102 is further configured to: receive an acquisition request of the application usage information sent by the smart terminal 300, where the application usage information is information that the set top box 100 transmits within a preset time. The information sending module 103 is further configured to: send the application usage information to the smart terminal.
可选的,参考图11,该服务器200还包括:状态接收模块106,设置为:接收机顶盒100发送的上述管控指令的执行状态。状态获取请求接收模块107,设置为:接收智能终端300发送的上述管控指令的状态的获取请求。状态转发模块108,设置为:把机顶盒100发送的上述管控指令的执行状态转发给智能终端300。Optionally, referring to FIG. 11, the server 200 further includes: a state receiving module 106, configured to: an execution state of the foregoing control command sent by the receiver set top box 100. The status acquisition request receiving module 107 is configured to: receive an acquisition request of the status of the above-mentioned control instruction sent by the smart terminal 300. The state forwarding module 108 is configured to forward the execution status of the control command sent by the set top box 100 to the smart terminal 300.
本实施例提供的服务器,在机顶盒100按指令获取频率向服务器200发送获取管控指令的请求后,向机顶盒100发送包括管控管控指令集的可扩展标记语言表,其中管控指令集包括所述终端发出的管控指令;机顶盒100从上述可扩展标记语言表中获取智能终端300发出的管控指令,并执行上述管控指令,并向服务器200发送上述管控指令的执行状态,服务器200则把机顶盒100发送的执行状态转发给智能终端300。通过上述步骤实现了智能终端300对机顶盒100的远程管控;通过机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器200的负荷,优化了控制机制。The server provided in this embodiment sends an extensible markup language table including a control and control instruction set to the set top box 100 after the set top box 100 sends a request for obtaining a control command to the server 200 according to the instruction acquisition frequency, where the control instruction set includes the terminal issuing The control module acquires the control command issued by the smart terminal 300 from the extensible markup language table, executes the control command, and sends the execution status of the control command to the server 200, and the server 200 transmits the execution of the set top box 100. The status is forwarded to the smart terminal 300. Through the above steps, the smart terminal 300 remotely controls the set top box 100; the set top box 100 sends the acquisition control request to the server 200 according to the instruction acquisition frequency, reduces the load of the server 200, and optimizes the control mechanism.
请参考图12,图12是一种智能终端的结构方框示意图。该智能终端中可以安装有用于控制机顶盒100的机顶盒远程控制APP,如图12所示,该智能终端300,包括:请求发送模块121,设置为:向服务器200发送机顶盒100的身份信息的获取请求,身份信息为机顶盒100在预置时间内发送的信息。信息接收模块122,设置为:接收服务器200发送的身份信息。Please refer to FIG. 12. FIG. 12 is a schematic structural diagram of a smart terminal. The set-top box remote control APP for controlling the set-top box 100 can be installed in the smart terminal. As shown in FIG. 12, the smart terminal 300 includes: a request sending module 121, configured to: send an acquisition request of the identity information of the set-top box 100 to the server 200. The identity information is information sent by the set top box 100 within a preset time. The information receiving module 122 is configured to: receive the identity information sent by the server 200.
指令发送模块123,设置为:解析身份信息,并显示,以及接收管控指令,通过服务器200向机顶盒100发出管控指令。The command sending module 123 is configured to: parse the identity information, display, and receive the control command, and issue a control command to the set top box 100 through the server 200.
本实施例提供的智能终端,通过向服务器200发送机顶盒100的身份信息的获取请求,并接收服务器200发送的身份信息,然后解析接收到的身份信息,并显示,以及接收管控指令,然后通过服务器200向机顶盒100发出管控指令,通过上述步骤实现了利用智能终端300对机顶盒100的远程管控;通过机顶盒100按指令获取频率向服务器200发送管控指令的获取请求,降低了服务器200 的负荷,优化了控制机制。The smart terminal provided by the embodiment sends a request for acquiring the identity information of the set top box 100 to the server 200, and receives the identity information sent by the server 200, and then parses the received identity information, displays it, and receives the control command, and then passes the server. The controller 200 issues a control command to the set top box 100, and the remote control of the set top box 100 by the smart terminal 300 is realized through the above steps; the acquisition request of the control order is sent to the server 200 by the set top box 100 according to the instruction acquisition frequency, and the server 200 is lowered. The load optimizes the control mechanism.
可选地,请求发送模块121,还设置为:向服务器200发送按应用获取频率发送的应用使用信息的获取请求,其中应用使用信息为机顶盒按应用获取频率发送的正在运行应用的信息,应用使用信息包括正在运行应用的应用包名。上述信息接收模块122,还设置为:接收应用使用信息。上述指令发送模块123,还设置为:在接收管控指令的步骤之前,解析应用使用信息,并显示。Optionally, the request sending module 121 is further configured to: send, to the server 200, an acquisition request of the application usage information sent according to the application acquisition frequency, where the application usage information is information about the running application sent by the set top box according to the application acquisition frequency, and the application uses The information includes the name of the application package that is running the app. The information receiving module 122 is further configured to: receive application usage information. The instruction sending module 123 is further configured to parse the application usage information and display it before receiving the control command.
可选的,上述应用使用信息还可以包括:当前用户正在使用的应用开始使用的时间。所述应用获取频率可以为3分钟/次,可选的,用户也可根据需要设置其他的应用获取频率。Optionally, the foregoing application usage information may further include: a time when the current user is using the application to start using. The application acquisition frequency may be 3 minutes/time. Optionally, the user may also set other application acquisition frequencies as needed.
可选的,参考图13,该智能终端300还包括:指令获取请求发送模块124,设置为:向服务器200发送上述管控指令的执行状态的获取请求。以及处理状态接收模块125,设置为:接收服务器200转发的机顶盒100发送给服务器200的上述管控指令的执行状态。Optionally, referring to FIG. 13, the smart terminal 300 further includes: an instruction acquisition request sending module 124, configured to: send an acquisition request of an execution state of the management control instruction to the server 200. And the processing state receiving module 125 is configured to: receive the execution state of the above-mentioned control command sent by the set top box 100 forwarded by the server 200 to the server 200.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述应用于机顶盒中的管控机顶盒的方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method of controlling a set top box in a set top box.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述应用于服务器中的管控机顶盒的方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method of controlling a set top box in a server.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述应用于智能终端中的管控机顶盒的方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above-described method for controlling a set top box in a smart terminal.
如图14所示,是本实施例提供的一种机顶盒的硬件结构示意图,如图14所示,该机顶盒包括:处理器(processor)1410和存储器(memory)1420;还可以包括通信单元(Communications Unit)1430和总线1440。As shown in FIG. 14 , it is a hardware structure diagram of a set top box provided by this embodiment. As shown in FIG. 14 , the set top box includes: a processor 1410 and a memory 1420; and may further include a communication unit (Communications). Unit 1430 and bus 1440.
其中,处理器1410、存储器1420和通信单元1430可以通过总线1440完成相互间的通信。通信单元1430可以用于信息传输。处理器1410可以调用存储器1420中的逻辑指令,以执行上述实施例的应用于机顶盒中的任意一种管控机顶盒的方法。The processor 1410, the memory 1420, and the communication unit 1430 can complete communication with each other through the bus 1440. Communication unit 1430 can be used for information transmission. The processor 1410 can invoke logic instructions in the memory 1420 to perform the method of any of the above-described embodiments applied to the set top box of the set top box.
存储器1420可以包括存储程序区和存储数据区,存储程序区可以存储操作系统和至少一个功能所需的应用程序。存储数据区可以存储根据机顶盒的使用所创建的数据等。此外,存储器可以包括,例如,随机存取存储器的易失性存储器,还可以包括非易失性存储器。例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 1420 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function. The storage data area can store data and the like created according to the use of the set top box. Further, the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
此外,在上述存储器1420中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,该逻辑指令可以存储在一个计算机可读取存储介质中。本公开的技术方案可以以计算机软件产品的形式体现出来,该计算机软件产品可以存储在一个存储介质中,包括若干指令用以使得一台计算机设 备(可以是个人计算机,服务器,或者网络设备等)执行本实施例所述方法的全部或部分步骤。Moreover, when the logic instructions in the memory 1420 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium. The technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for making a computer set The device (which may be a personal computer, a server, or a network device, etc.) performs all or part of the steps of the method described in this embodiment.
存储介质可以是非暂态存储介质,也可以是暂态存储介质。非暂态存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质。The storage medium may be a non-transitory storage medium or a transitory storage medium. The non-transitory storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指示相关的硬件完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序被执行时,可包括如上述方法的实施例的流程。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program indicating related hardware, and the program can be stored in a non-transitory computer readable storage medium. When executed, a flow of an embodiment of the method as described above may be included.
如图15所示,是本实施例提供的一种服务器的硬件结构示意图,如图5所示,该服务器包括:处理器(processor)1510和存储器(memory)1520;还可以包括通信单元(Communications Unit)1530和总线1540。As shown in FIG. 15 , it is a schematic diagram of a hardware structure of a server provided by this embodiment. As shown in FIG. 5 , the server includes: a processor 1510 and a memory 1520; and may further include a communication unit (Communications). Unit) 1530 and bus 1540.
其中,处理器1510、存储器1520和通信单元1530可以通过总线1540完成相互间的通信。通信单元1530可以用于信息传输。处理器1510可以调用存储器1520中的逻辑指令,以执行上述实施例中应用于服务器中的任意一种管控机顶盒的方法。The processor 1510, the memory 1520, and the communication unit 1530 can complete communication with each other through the bus 1540. The communication unit 1530 can be used for information transmission. The processor 1510 can call the logic instructions in the memory 1520 to perform the method of applying to any of the servers in the above-described embodiments.
存储器1520可以包括存储程序区和存储数据区,存储程序区可以存储操作系统和至少一个功能所需的应用程序。存储数据区可以存储根据服务器的使用所创建的数据等。此外,存储器可以包括,例如,随机存取存储器的易失性存储器,还可以包括非易失性存储器。例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 1520 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function. The storage data area can store data created according to the use of the server, and the like. Further, the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
此外,在上述存储器1520中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,该逻辑指令可以存储在一个计算机可读取存储介质中。本公开的技术方案可以以计算机软件产品的形式体现出来,该计算机软件产品可以存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本实施例所述方法的全部或部分步骤。Moreover, when the logic instructions in the memory 1520 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium. The technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) All or part of the steps of the method described in this embodiment are performed.
存储介质可以是非暂态存储介质,也可以是暂态存储介质。非暂态存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质。The storage medium may be a non-transitory storage medium or a transitory storage medium. The non-transitory storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.
本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指示相关的硬件完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序被执行时,可包括如上述方法的实施例的流程。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program indicating related hardware, and the program can be stored in a non-transitory computer readable storage medium. When executed, a flow of an embodiment of the method as described above may be included.
图16是本实施例的一种智能终端的硬件结构示意图,如图16所示,该智 能终端包括:一个或多个处理器1610和存储器1620。图16中以一个处理器1610为例。所述智能终端还可以包括:输入装置1630和输出装置1640。所述智能终端中的处理器1610、存储器1620、输入装置1630和输出装置1640可以通过总线或者其他方式连接,图16中以通过总线连接为例。输入装置1630可以接收输入的数字或字符信息,输出装置1640可以包括显示屏等显示设备。16 is a schematic structural diagram of hardware of an intelligent terminal according to this embodiment, as shown in FIG. The capable terminal includes: one or more processors 1610 and a memory 1620. A processor 1610 is taken as an example in FIG. The smart terminal may further include: an input device 1630 and an output device 1640. The processor 1610, the memory 1620, the input device 1630, and the output device 1640 in the smart terminal may be connected by a bus or other means, and the bus connection is taken as an example in FIG. Input device 1630 can receive input numeric or character information, and output device 1640 can include a display device such as a display screen.
存储器1620作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器1610通过运行存储在存储器1620中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的应用于智能终端中的任意一种管控机顶盒的方法。The memory 1620 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 1610 executes a plurality of functional applications and data processing by executing software programs, instructions, and modules stored in the memory 1620 to implement the method for applying to any of the smart terminals in the above-described embodiments.
存储器1620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据智能终端的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 1620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the smart terminal, and the like. In addition, the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
存储器1620可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1620可选包括相对于处理器1610远程设置的存储器,这些远程存储器可以通过网络连接至智能终端。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。 Memory 1620 can be a non-transitory computer storage medium or a transitory computer storage medium. The non-transitory computer storage medium, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 1620 can optionally include memory remotely located relative to processor 1610, which can be connected to the smart terminal over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置1630可用于接收输入的数字或字符信息,以及产生与智能终端的用户设置以及功能控制有关的键信号输入。输出装置1640可包括显示屏等显示设备。 Input device 1630 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the smart terminal. Output device 1640 can include a display device such as a display screen.
本实施例的智能终端还可以包括通信装置1650,通过通信网络传输和/或接收信息。本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。The intelligent terminal of this embodiment may further include a communication device 1650 that transmits and/or receives information over the communication network. A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium. The program, when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
工业实用性Industrial applicability
本公开提供的管控机顶盒的方法、机顶盒、服务器和智能终端,可以降低服务器的负荷,优化控制机制,并实现了利用智能终端提供服务器远程管控机顶盒。 The method for controlling a set top box, the set top box, the server and the intelligent terminal provided by the disclosure can reduce the load of the server, optimize the control mechanism, and realize the remote control of the set top box by using the intelligent terminal to provide the server.

Claims (20)

  1. 一种管控机顶盒的方法,应用于机顶盒,所述机顶盒与服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:A method for controlling a set top box is applied to a set top box, the set top box is in communication with a server, the set top box is associated with an intelligent terminal, the intelligent terminal is in communication connection with the server, and the smart terminal is used to pass the server, The set top box is controlled, and the method includes:
    向所述服务器发送所述机顶盒的身份信息;Sending identity information of the set top box to the server;
    按指令获取频率向所述服务器发送所述机顶盒的管控指令的获取请求;Acquiring an acquisition request of the control order of the set top box to the server according to an instruction acquisition frequency;
    接收所述服务器发送的包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的对所述机顶盒的管控指令;Receiving an extensible markup language table that is sent by the server and includes a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal to the set top box;
    解析所述可扩展标记语言表,获取所述管控指令;以及Parsing the extensible markup language table to obtain the control instruction;
    执行所述管控指令。Execute the control instructions.
  2. 根据权利要求1所述的方法,所述按指令获取频率,向所述服务器发送所述机顶盒的管控指令的获取请求的步骤之前,所述方法还包括:The method according to claim 1, wherein the method further comprises: before the step of acquiring the frequency to send the acquisition request of the control box of the set top box to the server, the method further comprising:
    将所述机顶盒当前运行应用的应用使用信息发送给所述服务器,其中所述应用使用信息包括所述当前运行应用的应用包名。Sending application usage information of the currently running application of the set top box to the server, where the application usage information includes an application package name of the currently running application.
  3. 根据权利要求2所述的方法,所述将所述机顶盒当前运行应用的应用使用信息发送给所述服务器的步骤之前,所述方法还包括:The method of claim 2, before the step of transmitting the application usage information of the set top box to the server, the method further comprises:
    按应用获取频率获取所述机顶盒当前运行应用的应用使用信息。Obtaining application usage information of the currently running application of the set top box according to the application acquisition frequency.
  4. 根据权利要求1~3中任一所述的方法,所述执行所述管控指令的步骤之后,还包括:向所述服务器发送所述管控指令的执行状态。The method according to any one of claims 1 to 3, after the step of executing the control instruction, further comprising: transmitting an execution status of the control instruction to the server.
  5. 根据权利要求1~3中任一所述的方法,所述身份信息包括:The method according to any one of claims 1 to 3, wherein the identity information comprises:
    所述机顶盒的设备号、序列号、软件版本号和硬件版本号。The device number, serial number, software version number, and hardware version number of the set top box.
  6. 一种管控机顶盒的方法,应用于服务器,所述机顶盒与所述服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:A method for controlling a set top box is applied to a server, the set top box is in communication with the server, the set top box is associated with an intelligent terminal, the intelligent terminal is in communication connection with the server, and the smart terminal is used to pass the server Controlling the set top box, the method comprising:
    接收所述机顶盒发送的所述机顶盒的身份信息;Receiving identity information of the set top box sent by the set top box;
    接收所述智能终端发送的所述身份信息的获取请求,其中所述身份信息为所述机顶盒在预置时间内发送的信息;Receiving the acquisition request of the identity information sent by the smart terminal, where the identity information is information that is sent by the set top box within a preset time;
    向所述智能终端发送所述身份信息;Sending the identity information to the smart terminal;
    接收所述智能终端发出的对所述机顶盒的管控指令;Receiving a control command issued by the smart terminal for the set top box;
    接收所述机顶盒按指令获取频率发送的所述管控指令的获取请求;Receiving an acquisition request of the control instruction sent by the set top box according to an instruction acquisition frequency;
    向所述机顶盒发送包含管控指令集的可扩展标记语言表,其中,所述管控指令集包括所述管控指令。Sending to the set top box an extensible markup language table containing a set of control instructions, wherein the set of control instructions includes the control instructions.
  7. 根据权利要求6所述的方法,所述向所述智能终端发送所述身份信息之前,所述方法还包括:The method of claim 6, before the sending the identity information to the smart terminal, the method further includes:
    接收所述机顶盒发送的应用使用信息,其中,所述应用使用信息为所述机顶盒按应用获取频率获取的当前运行应用的信息,所述应用使用信息包括所述 当前运行应用的应用包名;Receiving application usage information sent by the set top box, where the application usage information is information about a currently running application acquired by the set top box according to an application acquisition frequency, where the application usage information includes the The name of the application package that is currently running the application;
    在所述接收所述机顶盒发送的应用使用信息的步骤之后,所述方法还包括:After the step of receiving the application usage information sent by the set top box, the method further includes:
    接收所述智能终端发送的所述应用使用信息的获取请求,所述应用使用信息为所述机顶盒在预置时间内发送的信息;Receiving an acquisition request of the application usage information sent by the smart terminal, where the application usage information is information that is sent by the set top box within a preset time;
    向所述智能终端发送所述应用使用信息。Sending the application usage information to the smart terminal.
  8. 根据权利要求6所述的方法,所述向机顶盒发送包含管控指令集的可扩展标记语言表,所述管控指令集包括所述终端发出的管控指令的步骤之后,还包括:The method of claim 6, the step of transmitting an extensible markup language table comprising a set of control instructions to the set-top box, the step of controlling the control set comprising the control command issued by the terminal, further comprising:
    接收所述机顶盒发送的所述管控指令的执行状态;Receiving an execution status of the control command sent by the set top box;
    接收所述智能终端发送的所述执行状态的获取请求;Receiving an acquisition request of the execution status sent by the smart terminal;
    将所述执行状态转发给所述智能终端。Forwarding the execution status to the smart terminal.
  9. 一种管控机顶盒的方法,应用于智能终端,所述机顶盒与服务器通信连接,所述机顶盒与所述智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述方法包括:A method for controlling a set top box is applied to an intelligent terminal, wherein the set top box is in communication with a server, the set top box is associated with the smart terminal, the smart terminal is communicatively connected with the server, and the smart terminal is configured to pass the The server controls the set top box, and the method includes:
    向所述服务器发送所述机顶盒的身份信息的获取请求,所述身份信息为所述机顶盒在预置时间内的向所述服务器发送的信息;Sending, by the server, an acquisition request of the identity information of the set top box, where the identity information is information sent by the set top box to the server within a preset time;
    接收所述服务器发送的所述身份信息;Receiving the identity information sent by the server;
    解析所述身份信息,并显示;Parsing the identity information and displaying it;
    接收管控指令,通过所述服务器向所述机顶盒发出所述管控指令。Receiving a control command, and issuing the control instruction to the set top box through the server.
  10. 根据权利要求9所述的方法,所述解析所述身份信息的步骤之前还包括:The method according to claim 9, wherein the step of parsing the identity information further comprises:
    向所述服务器发送应用使用信息的获取请求,其中所述应用使用信息为所述机顶盒按应用获取频率发送的正在运行应用的信息,所述应用使用信息包括所述正在运行应用的应用包名;Sending, by the server, an acquisition request of application usage information, where the application usage information is information about a running application sent by the set top box according to an application acquisition frequency, where the application usage information includes an application package name of the running application;
    在所述解析所述身份信息的步骤之前,所述方法还包括:接收所述应用使用信息;Before the step of parsing the identity information, the method further includes: receiving the application usage information;
    在所述接收管控指令的步骤之前,解析所述应用使用信息,并显示。The application usage information is parsed and displayed before the step of receiving the control instruction.
  11. 根据权利要求9所述的方法,所述通过所述服务器向所述机顶盒发出所述管控指令的步骤之后,还包括:The method of claim 9, after the step of issuing the control command to the set top box by the server, further comprising:
    向所述服务器发送所述管控指令的执行状态的获取请求;Sending an acquisition request of an execution status of the control instruction to the server;
    接收所述服务器转发的由所述机顶盒发送给所述服务器的所述执行状态。Receiving the execution status forwarded by the server to the server by the set top box.
  12. 一种机顶盒,所述机顶盒与服务器通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述机顶盒包括:A set top box, the set top box is in communication with a server, the set top box is associated with an intelligent terminal, the smart terminal is in communication connection with the server, and the smart terminal is configured to control the set top box through the server, where The set top box includes:
    身份信息上报模块,设置为:向所述服务器发送所述机顶盒的身份信息; The identity information reporting module is configured to: send identity information of the set top box to the server;
    请求发送模块,设置为:按指令获取频率向所述服务器发送所述机顶盒的管控指令的获取请求;a request sending module, configured to: send an acquisition request of the control command of the set top box to the server according to an instruction acquisition frequency;
    接收模块,设置为:接收所述服务器发送的包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的对所述机顶盒的管控指令;以及The receiving module is configured to: receive an extensible markup language table that is sent by the server and includes a set of control instructions, where the set of control instructions includes a control command issued by the smart terminal to the set top box;
    指令执行模块,设置为:解析所述可扩展标记语言表,获取所述管控指令集中的管控指令,以及执行所述管控指令。The instruction execution module is configured to: parse the extensible markup language table, obtain a control instruction in the control instruction set, and execute the control instruction.
  13. 根据权利要求12所述的机顶盒,还包括:The set top box of claim 12, further comprising:
    使用信息上报模块,设置为:在所述按指令获取频率向所述服务器发送所述机顶盒的管控指令的获取请求的步骤之前,将所述机顶盒当前运行应用的应用使用信息发送给所述服务器,其中所述应用使用信息包括所述应用的应用包名。The information reporting module is configured to send the application usage information of the currently running application of the set top box to the server, before the step of sending the acquisition request of the control box of the set top box to the server according to the instruction acquisition frequency. The application usage information includes an application package name of the application.
  14. 根据权利要求13所述的机顶盒,所述使用信息上报模块,还设置为:在所述将所述机顶盒当前运行应用的应用使用信息发送给所述服务器的步骤之前,按应用获取频率获取所述机顶盒当前运行应用的应用使用信息。The set-top box according to claim 13, wherein the usage information reporting module is further configured to: obtain, according to an application acquisition frequency, the step of transmitting the application usage information of the currently running application of the set top box to the server The application usage information of the application that the set top box currently runs.
  15. 根据权利要求14所述的机顶盒,还包括:The set top box of claim 14 further comprising:
    状态发送模块,设置为:在所述执行所述管控指令的步骤之后,向所述服务器发送所述管控指令的执行状态。The status sending module is configured to: after the step of executing the control instruction, send an execution status of the control instruction to the server.
  16. 一种服务器,所述服务器与机顶盒通信连接,所述机顶盒与智能终端关联,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述服务器包括:a server, the server is in communication with a set top box, the set top box is associated with the smart terminal, the smart terminal is in communication with the server, and the smart terminal is configured to control the set top box through the server, where The server includes:
    信息接收模块,设置为:接收所述机顶盒发送的所述机顶盒的身份信息;The information receiving module is configured to: receive identity information of the set top box sent by the set top box;
    请求接收模块,设置为:接收所述智能终端在预置时间内发送的所述身份信息的获取请求;The request receiving module is configured to: receive an acquisition request of the identity information sent by the smart terminal within a preset time;
    信息发送模块,设置为:向所述智能终端发送的所述身份信息;An information sending module is configured to: send the identity information to the smart terminal;
    指令接收模块,设置为:接收所述智能终端发出的对所述机顶盒的管控指令;以及The instruction receiving module is configured to: receive a control command issued by the smart terminal for the set top box;
    发送模块,设置为:接收所述机顶盒按指令获取频率发送的管控指令的获取请求,向机顶盒发送包含管控指令集的可扩展标记语言表,所述管控指令集包括所述智能终端发出的管控指令。The sending module is configured to: receive an acquisition request of the control box sent by the set top box according to the instruction acquisition frequency, and send an extensible markup language table including a control instruction set to the set top box, where the control instruction set includes a control instruction issued by the smart terminal .
  17. 根据权利要求16所述的服务器,所述信息接收模块还设置为:The server according to claim 16, wherein the information receiving module is further configured to:
    按应用获取频率获取所述机顶盒当前运行应用的应用使用信息,其中,所述应用使用信息为所述机顶盒按应用获取频率获取的当前运行应用的信息,所述应用使用信息包括所述应用的应用包名;Acquiring the application usage information of the currently running application of the set top box according to the application acquisition frequency, where the application usage information is information about the currently running application acquired by the set top box according to the application acquisition frequency, where the application usage information includes the application of the application. Package names;
    所述请求接收模块还设置为:接收所述智能终端发送的所述应用使用信息 的获取请求,所述应用使用信息为所述机顶盒在预置时间内发送的信息;The request receiving module is further configured to: receive the application usage information sent by the smart terminal The obtaining request, the application usage information is information sent by the set top box within a preset time;
    所述信息发送模块还设置为:向所述智能终端发送所述应用使用信息。The information sending module is further configured to: send the application usage information to the smart terminal.
  18. 一种智能终端,所述智能终端与机顶盒关联,所述机顶盒与服务器通信连接,所述智能终端与所述服务器通信连接,所述智能终端用于通过所述服务器,对所述机顶盒进行管控,所述智能终端包括:An intelligent terminal, the smart terminal is associated with a set top box, the set top box is in communication with a server, the smart terminal is in communication with the server, and the smart terminal is configured to control the set top box through the server, The smart terminal includes:
    请求发送模块,设置为:向服务器发送所述机顶盒的身份信息的获取请求,所述身份信息为所述机顶盒在预置时间内发送的信息;The request sending module is configured to: send a request for acquiring the identity information of the set top box to the server, where the identity information is information sent by the set top box within a preset time;
    信息接收模块,设置为:接收所述服务器发送的所述身份信息;以及An information receiving module, configured to: receive the identity information sent by the server;
    指令发送模块,设置为:解析所述身份信息,并显示,以及接收管控指令,通过服务器向所述机顶盒发出所述管控指令。The instruction sending module is configured to: parse the identity information, display, and receive a control command, and send the control command to the set top box by using a server.
  19. 根据权利要求18所述的智能终端,所述请求发送模块,还设置为:The intelligent terminal according to claim 18, wherein the request sending module is further configured to:
    向所述服务器发送按应用获取频率发送的应用使用信息的获取请求,其中所述应用使用信息为所述机顶盒按应用获取频率发送的正在运行应用的信息,所述应用使用信息包括所述正在运行应用的应用包名;Sending, to the server, an acquisition request of application usage information sent according to an application acquisition frequency, where the application usage information is information of a running application sent by the set top box according to an application acquisition frequency, where the application usage information includes the running Application package name of the application;
    所述信息接收模块,还设置为:接收所述应用使用信息;The information receiving module is further configured to: receive the application usage information;
    所述指令发送模块,还设置为:在所述接收管控指令的步骤之前,解析所述应用使用信息,并显示。The instruction sending module is further configured to parse the application usage information and display the step before the step of receiving the control instruction.
  20. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~5、6~8和9~11中任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any one of claims 1 to 5, 6-8, and 9-11.
PCT/CN2017/098867 2016-08-31 2017-08-24 Set-top box control method, set-top box, server, and smart terminal WO2018041002A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610797476.1 2016-08-31
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
WO2018041002A1 true WO2018041002A1 (en) 2018-03-08

Family

ID=57271517

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098867 WO2018041002A1 (en) 2016-08-31 2017-08-24 Set-top box control method, set-top box, server, and smart terminal

Country Status (2)

Country Link
CN (1) CN106131709A (en)
WO (1) WO2018041002A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261088A (en) * 2020-09-27 2021-01-22 华数传媒网络有限公司 Set top box remote control method
CN113687708A (en) * 2021-10-26 2021-11-23 北京初志科技有限公司 Remote startup and shutdown system and method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131709A (en) * 2016-08-31 2016-11-16 深圳创维数字技术有限公司 A kind of method and system of remote-control Set Top Box
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
CN110139139B (en) * 2018-02-02 2021-08-03 华为技术有限公司 Service processing method, terminal, server and storage medium
CN112243226A (en) * 2020-10-14 2021-01-19 广东汉鼎蜂助手网络技术有限公司 Cloud SIM card wireless network remote control method, system and server device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110037712A1 (en) * 2009-08-11 2011-02-17 Lg Electronics Inc. Electronic device and control method thereof
CN102469368A (en) * 2010-11-18 2012-05-23 深圳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
CN104038817A (en) * 2014-05-09 2014-09-10 海信集团有限公司 Method of remotely monitoring intelligent television, mobile terminal, intelligent television and server
CN104581328A (en) * 2014-12-24 2015-04-29 青岛海尔软件有限公司 Remote on/off control system and method for television
CN104735510A (en) * 2015-04-14 2015-06-24 深圳市茁壮网络股份有限公司 Control method, device and system of set-top box
CN105075284A (en) * 2013-03-29 2015-11-18 汤姆逊许可公司 Parental control of content viewing by children using a remote smart phone
CN105451074A (en) * 2014-08-26 2016-03-30 Tcl集团股份有限公司 Method and system for monitoring smart device remotely by using smart mobile terminal
CN105516792A (en) * 2014-10-20 2016-04-20 中国电信股份有限公司 Method and system for remote control of set-top box operation
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
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 广东小天才科技有限公司 Learning terminal monitoring method, device and system
CN105763539A (en) * 2016-01-29 2016-07-13 四川长虹电器股份有限公司 Method for remotely restricting OTT box through intelligent terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110037712A1 (en) * 2009-08-11 2011-02-17 Lg Electronics Inc. Electronic device and control method thereof
CN102469368A (en) * 2010-11-18 2012-05-23 深圳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
CN105075284A (en) * 2013-03-29 2015-11-18 汤姆逊许可公司 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
CN105451074A (en) * 2014-08-26 2016-03-30 Tcl集团股份有限公司 Method and system for monitoring smart device remotely by using smart mobile terminal
CN105516792A (en) * 2014-10-20 2016-04-20 中国电信股份有限公司 Method and system for remote control of set-top box operation
CN104581328A (en) * 2014-12-24 2015-04-29 青岛海尔软件有限公司 Remote on/off control system and method for television
CN104735510A (en) * 2015-04-14 2015-06-24 深圳市茁壮网络股份有限公司 Control method, device and system of set-top box
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261088A (en) * 2020-09-27 2021-01-22 华数传媒网络有限公司 Set top box remote control method
CN112261088B (en) * 2020-09-27 2022-11-15 华数传媒网络有限公司 Set top box remote control method
CN113687708A (en) * 2021-10-26 2021-11-23 北京初志科技有限公司 Remote startup and shutdown system and method
CN113687708B (en) * 2021-10-26 2022-06-24 北京初志科技有限公司 Remote startup and shutdown system and method

Also Published As

Publication number Publication date
CN106131709A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2018041002A1 (en) Set-top box control method, set-top box, server, and smart terminal
US11647368B2 (en) Apparatus, system and method for promoting apps to smart devices
TWI496067B (en) A device intelligent control method and device, system, plug and play equipment
US9635410B2 (en) Systems and methods for providing companion services to customer equipment using an IP-based infrastructure
CN108513154A (en) Intelligent home furnishing control method, smart television based on smart television and storage medium
EP2922277B1 (en) Method and device for remote control of a set top box
US20110173668A1 (en) System and method for controlling home devices via a set top box
CN110265004B (en) Control method and device for target terminal in intelligent home operating system
KR20160048528A (en) Closed caption-supported content receiving apparatus and display apparatus, system having the same and closed caption-providing method thereof
CN111314372A (en) Display equipment awakening method, control terminal, server and display equipment
EP2995086B1 (en) Paired devices
US9693112B2 (en) Remote control system for a smart television
CN113452589B (en) Wide area network intelligent home remote control system and working method thereof
US8826358B2 (en) Back channel communication
CN108108105B (en) Information processing equipment and information processing method
US20170272705A1 (en) Multimedia playing system for automatically notifying abnormal situations and information processing method of the same
CN107835446B (en) Media state presentation and control method and device
CN112312166A (en) Content monitoring method, device and system for television media, storage medium and electronic equipment
CN103024495A (en) Light induction remote control device and method thereof
US11980812B2 (en) Cloud gaming by streaming video data on playback device
KR101399373B1 (en) Portable communication apparatus including smart tv control function and method for controlling smart tv using the same
KR20220129926A (en) A method for messenger connection in multi-messegner service environment and apparatuses for therefore
CN117376692A (en) Function self-defining method and device, storage medium and electronic equipment
WO2017219576A1 (en) Collaborative work method, terminal device, server, and system
CN109314657A (en) Agent apparatus, the processing method of agent apparatus and the network equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17845304

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17845304

Country of ref document: EP

Kind code of ref document: A1