WO2016197861A1 - 远程管理方法、被管理设备、管理设备和智能电视系统 - Google Patents

远程管理方法、被管理设备、管理设备和智能电视系统 Download PDF

Info

Publication number
WO2016197861A1
WO2016197861A1 PCT/CN2016/084598 CN2016084598W WO2016197861A1 WO 2016197861 A1 WO2016197861 A1 WO 2016197861A1 CN 2016084598 W CN2016084598 W CN 2016084598W WO 2016197861 A1 WO2016197861 A1 WO 2016197861A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
command
management device
managed device
http
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/084598
Other languages
English (en)
French (fr)
Inventor
罗金华
米杨
段超
熊波
范雷雷
郑勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2016197861A1 publication Critical patent/WO2016197861A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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/643Communication protocols
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64753Control signals issued by the network directed to the server or the client directed to the client
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a remote management method, a managed device, a management device, and a smart television system.
  • the present invention provides a remote management method, a managed device, a management device, and a smart television system, in order to reduce resource consumption of the management device.
  • the invention provides a remote management method, the method comprising:
  • the managed device sends an HTTP POST request containing the first information to the management device;
  • the first information includes: status information or heartbeat information of the managed device;
  • the second information includes: information about whether the first information is successfully received.
  • the first information content included in the HTTP POST request sent to the management device is empty.
  • the method further includes: after the managed device listens to the contact message actively sent by the management device, the first information content included in the HTTP POST request sent to the management device is empty. .
  • the second information acquired from the HTTP RESPONSE returned by the management device includes a control command.
  • the method further includes:
  • the managed device executes the control command, and sends an HTTP POST request including an execution result to the management device.
  • the method further includes:
  • the managed device After receiving the HTTP RESPONSE whose content is empty, the managed device confirms that all control commands are sent.
  • the managed device that listens to the contact message actively sent by the management device includes:
  • the managed device listens to the TCP packet whose content sent by the management device is empty through the designated TCP port.
  • control command includes:
  • the information included in the HTTP POST request and the HTTP RESPONSE is encapsulated in a SOAP or JSON form.
  • the method is applied to a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least one service providing device; the server is used for the client Ending the service providing device; the client is disposed on the smart TV end, configured to establish a connection with the allocated service providing device and receive an Internet service provided by the service providing device; the service providing device is disposed on the network side for Provide Internet services for establishing connected clients;
  • the managed device is a service providing device, and the management device is the server.
  • the HTTP POST request includes: a message identifier, and the message is sent.
  • a device identifier configured to carry a parameter type of the first information type information, and configured to carry a parameter value of the first information value;
  • the HTTP RESPONSE includes: a message identifier, a parameter type for carrying the second information type information, and a parameter value for carrying the second information value;
  • HTTP POST requests and HTTP RESPONSE use the same message identifier.
  • the invention also provides a remote management method, the method comprising:
  • the management device obtains the first information from the HTTP POST request sent by the managed device;
  • An HTTP REPONSE containing the second information is returned to the managed device.
  • the first information includes: status information or heartbeat information of the managed device;
  • the second information includes: information about whether the first information is successfully received.
  • the management device confirms that the managed device completes the transmission of the status information if the content of the first information is parsed.
  • the first information content included in the received HTTP POST request is empty.
  • the second information in the HTTP RESPONSE returned by the management device to the managed device includes a control command.
  • the method further includes:
  • the management device acquires an execution result of the control command from an HTTP POST request sent by the managed device.
  • the method further includes:
  • the management device After all control commands are sent, the management device sends an HTTP RESPONSE with empty content to the managed device.
  • the management device actively sends a contact message to the managed device, including:
  • the management device sends a TCP packet whose content is empty to the designated TCP port of the managed device.
  • control command includes:
  • the HTTP POST request and the HTTP RESPONSE are included
  • the information is encapsulated in SOAP or JSON form.
  • the method is applied to a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least one service providing device; the server is used for the client Ending the service providing device; the client is disposed on the smart TV end, configured to establish a connection with the allocated service providing device and receive an Internet service provided by the service providing device; the service providing device is disposed on the network side for Provide Internet services for establishing connected clients;
  • the managed device is a service providing device, and the management device is the server.
  • the HTTP POST request includes: a message identifier, a device identifier that sends the packet, and a parameter type that is used to carry the first information type information, and is used to carry the first information value.
  • Parameter value a parameter value that is used to carry the first information type information, and is used to carry the first information value.
  • the HTTP RESPONSE includes: a message identifier, a parameter type for carrying the second information type information, and a parameter value for carrying the second information value;
  • HTTP POST requests and HTTP RESPONSE use the same message identifier.
  • the present invention also provides a managed device, the managed device comprising:
  • a request sending unit configured to send an HTTP POST request containing the first information to the management device
  • the response receiving unit is configured to obtain the second information from the HTTP RESPONSE returned by the management device.
  • the first information includes: status information or heartbeat information of the managed device;
  • the second information includes: information about whether the first information is successfully received.
  • the request sending unit completes the sending of the status information
  • the first information content included in the HTTP POST request sent to the management device is empty.
  • the managed device further includes:
  • the monitoring unit is configured to listen to the contact message sent by the management device actively;
  • the request sending unit when the listening unit monitors the contact message, the first information content included in the HTTP POST request sent to the management device is empty.
  • the second information acquired by the response receiving unit from the HTTP RESPONSE returned by the management device includes a control command.
  • the managed device further includes:
  • An execution unit configured to execute the control command
  • the request sending unit is further configured to send an HTTP POST request including an execution result of the control command Send to the management device.
  • the response receiving unit is further configured to confirm that all control commands are sent after receiving the HTTP RESPONSE with empty content.
  • the intercepting unit is configured to: when the TCP packet sent by the management device is empty, is received by the specified TCP port, and the contact message is determined to be received.
  • control command includes:
  • the information contained in the HTTP POST request and the HTTP RESPONSE is encapsulated in a SOAP or JSON form.
  • the invention also provides a management device, the management device comprising:
  • a request receiving unit configured to obtain first information from an HTTP POST request sent by the managed device
  • a response sending unit configured to return an HTTP REPONSE containing the second information to the managed device.
  • the first information includes: status information or heartbeat information of the managed device;
  • the second information includes: information about whether the first information is successfully received.
  • the request receiving unit confirms that the managed device completes the transmission of the status information if the content of the first information is empty.
  • an active contact unit is configured to actively send a contact message to the managed device.
  • the second information in the HTTP RESPONSE returned by the response sending unit to the managed device includes a control command.
  • the request receiving unit is configured to obtain an execution result of the control command from an HTTP POST request sent by the managed device.
  • the response sending unit is further configured to send an HTTP RESPONSE with empty content to the managed device after all control commands are sent.
  • the active contact unit is specifically configured to send a TCP message with an empty content to a designated TCP port of the managed device.
  • control command includes:
  • Restart command offline command, uninstall application command, install application command, kill process command, query Commands for service status, commands for querying application installation lists, commands for cleaning the environment, or commands for restoring settings.
  • the information contained in the HTTP POST request and the HTTP RESPONSE is encapsulated in a SOAP or JSON form.
  • the present invention also provides a smart television system, the smart television system comprising: at least one server, at least one client, and at least one service providing device;
  • the server is configured to allocate a service providing device to the client;
  • the client is disposed at a smart TV end, configured to establish a connection with the allocated service providing device, and receive an internet service provided by the service providing device;
  • the service providing device Set on the network side used to provide Internet services for the connected clients through the network;
  • the server includes the above management device
  • the service providing device includes the managed device described above.
  • the information exchange between the managed device and the management device adopts the HTTP POST request and the HTTP RESPONSE, thereby realizing the remote management of the managed device by the management device, that is, adopting the HTTPS connection mode. Compared to the way of longer connections, the resource consumption of the management device is reduced.
  • FIG. 1a is a schematic structural diagram of a smart television system provided by the present invention.
  • Figure 1b is a schematic diagram of a cloud box system
  • FIG. 3 is a flowchart of another method according to an embodiment of the present invention.
  • FIG. 4 is a structural diagram of a managed device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a managed device at a software level according to an embodiment of the present disclosure
  • FIG. 6 is a structural diagram of a management device according to an embodiment of the present invention.
  • the core idea of the present invention is that information is exchanged between the managed device and the management device through HTTPS (Hypertext Transfer Protocol Secure), including information reporting and command delivery. That is, the interactive mode adopts the following manner: the managed device sends an HTTP POST request containing the first information to the management device, and the management device returns the HTTP RESPONSE including the second information to the managed device.
  • HTTPS Hypertext Transfer Protocol Secure
  • FIG. 1 is a schematic structural diagram of a smart television system according to the present invention.
  • the smart television system may specifically include: The at least one client, the at least one service providing device, and the at least one server may further include: at least one user data information storage device.
  • the user data information storage device is configured to store user data information, and one user may correspond to a dedicated user data information storage device, and multiple users may share the same user data information storage device. limit.
  • the user data information storage device may be a physical device, a logical device, or a combination of physical and logical devices.
  • the user data information storage device may include at least one user partition, and each user partition correspondingly stores user data information of one user.
  • the client is usually set in the client device, that is, the smart TV terminal, which can be presented in the form of an APP loaded in the smart TV.
  • the service providing device and the server are set on the network side.
  • the client may request a login from the server, and the server allocates a service providing device to the client that successfully logs in, and sends the user partition information corresponding to the successfully registered client to the allocated service providing device.
  • the manner in which the service providing device is allocated may be, but not limited to, a method based on the load sharing, a principle based on the distance, and the like, and the embodiment of the present invention is not limited thereto.
  • the client establishes a connection with the assigned service providing device, and the service providing device provides an Internet service to the connected client.
  • the service providing device sends a TS (Transport Stream) to the client
  • the TS may include a user interface (such as a user interface of various applications such as a game application, a video application, and the like).
  • the client can also listen to an input message generated by the user through an input device such as a remote controller, and send the input message to the service providing device or the server.
  • the client further receives user interface related data corresponding to the input message that is pushed by the service providing device, and parses and displays the received user interface related data.
  • the service providing device is located on the network side, and the number of the service providing device may be set according to system requirements.
  • Each service providing device may specifically include: a software module carried by the hardware board and the hardware board.
  • the software module can be based on an operating system such as Android, such that each service providing device can install a plurality of applications (such as game applications, video applications, etc.) through the operating system, and transmit the information of the installed application to the client through the TS stream. For the client to select the desired application from a number of installed applications.
  • Android is only an example of an operating system used by the service providing device.
  • the specific operating system used by the service providing device is not limited in this embodiment of the present application.
  • the cloud box system includes servers and multiple cloud boxes.
  • the cloud box is one of the above-mentioned service providing devices. form. Users only need to install the cloud box APP in a lower-set ordinary set-top box to use the cloud box service. The user installs various application apps that need to be installed in the cloud box, and does not need to be directly installed in the client device, by the cloud.
  • the box interacts with the server of the application APP to obtain the service content, and pushes the interface of the cloud box to the user equipment in the form of a video data stream, and the control signal from the user equipment is transmitted to the cloud box, and then sent to the server by the cloud box.
  • the cloud box obtains the service content from the server according to the control signal from the client device, and pushes it to the client device in the form of a video data stream, as shown in FIG. 1b.
  • FIG. 2 is a flowchart of a method according to an embodiment of the present invention.
  • a cloud box actively contacts a management server as an example, and such a scenario is a situation that occurs more frequently. That is, the cloud box usually contacts the management server periodically, or when the status changes, for example, periodically reporting heartbeat information, for example, reporting status information when the state of power-on, power-off, online, and offline is changed.
  • the method can include the following steps:
  • the cloud box sends an HTTP POST request containing status information to the management server.
  • the cloud box can encapsulate the cloud box status and other information in a form such as SOAP (Simple Object Access Protocol) or JSON (JavaScript Object Notation), and the SOAP obtained after the encapsulation.
  • SOAP Simple Object Access Protocol
  • JSON JavaScript Object Notation
  • the management server obtains the status information from the HTTP POST request, the status information is recorded, and then the HTTP RESPONSE is returned to the cloud box, and the HTTP RESPONSE includes information indicating whether the status information is successfully received.
  • the management server records the information of each cloud box, including the status information of the cloud box, heartbeat information, and the like. In this embodiment, after the status information is obtained, the status information of the cloud box is recorded.
  • the information that the status information is successfully received may be encapsulated in a form such as SOAP or JSON, and the encapsulated SOAP packet or JSON packet is put into the HTTP RESPONSE.
  • the information in the HTTP POST request and the HTTP RESPONSE can be encapsulated in a form such as SOAP or JSON, and will not be described again.
  • the cloud box sends an HTTP POST request to the management server to indicate that the status report is complete.
  • the HTTP POST request can only carry the cloud box identification information, such as a cloud box. Serial number.
  • the management server may execute 204 to return an HTTP RESPONSE containing the control command to the cloud box. If the management server determines that no control command is issued to the cloud box, Then you can execute 206.
  • control commands issued by the management server may include, but are not limited to, a restart command, a offline command, a command to uninstall an application, a command to install an application, a command to kill a process, a command to query a service state, and a query system status.
  • the management server When the management server sends a control command to the cloud box, it will be placed in the local Response Queue. When the control command is issued, the control command is taken from the Response Queue and sent to the cloud box. When a control command is sent, it can be sent in order of priority from high to low.
  • the cloud box executes the control command and then sends an HTTP POST request containing the execution result to the management server.
  • the above steps 204 and 205 are repeatedly executed until all the control commands are sent, and then 206 can be executed to send the HTTP RESPONSE with empty content to the cloud box.
  • the cloud box After receiving the HTTP RESPONSE with empty content, the cloud box confirms that the management server has completed the transmission of the control command, and can disconnect the HTTPS connection between the cloud box and the management server.
  • FIG. 3 is a flowchart of another method according to an embodiment of the present invention.
  • the management server actively contacts the cloud box as an example.
  • a control command with a higher priority is required to be immediately sent to the cloud box, for example,
  • the management server may initiate an active contact to initiate a control command to restart or uninstall an APP to the cloud box.
  • the method may include the following steps:
  • a specified TCP port can be started for monitoring.
  • the main purpose is to listen to the contact messages sent by the management server.
  • the management server When the management server needs to contact the cloud box to send a control command, the management server sends a TCP packet with an empty content to the cloud box in 302.
  • the cloud box After receiving the TCP packet whose content is empty, the cloud box learns that the management server actively contacts the cloud box, and has a control command to be sent, and executes 303, and the cloud box sends an HTTP POST request with empty content to the management server, thereby managing The server establishes a session.
  • the subsequent steps 304 to 306 are the same as the steps 204 to 206 in the flow shown in FIG. 2, and are not described herein again.
  • the above-mentioned client equipment may be other client equipments besides the network set top box and the cloud box.
  • packets sent by the cloud box need to be sent through the switch.
  • Switching devices such as routers forward them.
  • the switching device can interact with the management server by using the mechanism in the foregoing method, and periodically report the location information of the cloud box. In this way, even in some cases, the cloud box loses contact with the management server for some reason (neither reporting status information nor sending heartbeat information), the management server can also learn the location information of the cloud box through the switching device, thereby adopting some The method of hard intervention, such as powering down the cloud box.
  • the managed device still uses a cloud box as an example, and the management device takes a management server as an example.
  • the device may be The method includes: a request sending unit 01 and a response receiving unit 02, and may further include: a listening unit 03 and an executing unit 04.
  • the request sending unit 01 is responsible for sending the HTTP POST request containing the first information to the management server, that is, sending the information to the management server by using an HTTP POST request.
  • the response receiving unit 02 is responsible for acquiring the second information from the HTTP RESPONSE returned by the management server. That is, the management server sends information to the cloud box in the manner of HTTP RESPONSE.
  • the first information may include status information or heartbeat information of the cloud box, and correspondingly, the second information may include information whether the first information is successfully received.
  • the request sending unit 01 and the response receiving unit 02 repeatedly perform the interaction of the HTTP POST and the HTTP RESPONSE until all the status information reports are completed.
  • the request sending unit 01 completes the sending of all the status information
  • the first information content included in the HTTP POST request sent to the management server is empty, that is, the HTTP POST request with empty content is sent to the management server to indicate all to the management server.
  • the status information is reported and the control command can be sent.
  • the second information that the response receiving unit 02 can then obtain from the HTTP RESPONSE returned by the management server includes a control command.
  • the execution unit 04 executes the control command acquired by the response receiving unit 02, and transmits an HTTP POST request containing the execution result of the control command to the management server by the request transmitting unit 01.
  • the management server When the management server completes the sending of all control commands, it sends an HTTP RESPONSE with empty content to the cloud box. At this time, after the response receiving unit 02 receives the HTTP RESPONSE whose content is empty, it is confirmed that all control command transmission is completed.
  • the cloud box actively contacts the management server.
  • the cloud box can be monitored. That is, the listening unit 03 listens to the contact message actively sent by the management server. Specifically, the listening unit 03 can listen to the TCP sent by the management server through the designated TCP port. The packet is determined to receive the contact message when it is monitored by the specified TCP port to the TCP packet whose content is empty.
  • the request sending unit 01 sets the first information content included in the HTTP POST request sent to the management server to be empty, thereby establishing a session with the management server.
  • the second information that the response receiving unit 02 can then obtain from the HTTP RESPONSE returned by the management server includes a control command.
  • the execution unit 04 executes the control command acquired by the response receiving unit 02, and transmits an HTTP POST request containing the execution result of the control command to the management server by the request transmitting unit 01.
  • the management server When the management server completes the sending of all control commands, it sends an HTTP RESPONSE with empty content to the cloud box. At this time, after the response receiving unit 02 receives the HTTP RESPONSE whose content is empty, it is confirmed that all control command transmission is completed.
  • control commands may include, but are not limited to, a restart command, an offline command, a command to uninstall an application, a command to install an application, a command to kill a process, a command to query a service state, a command to query an application installation list, and a command to clean the environment. Or restore the set commands.
  • HTTP POST request and HTTP RESPONSE may be encapsulated in a SOAP or JSON form.
  • FIG. 5 is a typical architecture diagram of a managed device at the software level.
  • a managed device such as a cloud box is an Android smart device, and a Remote Management Service (remote management service) is deployed on the managed device.
  • the Remote Management Service is used to perform the functions of the managed device described above.
  • the service has 3 main threads:
  • the Msg Processor (message processing thread) is used to implement the functions of the request sending unit 01, the response receiving unit 02, and the listening unit 03 in the managed device. include:
  • the data structure sent to the management server is obtained from the Resonse queue and encapsulated into a corresponding HTTP POST message, and then sent to the server.
  • the Heart Beat thread is used to generate periodic heartbeat information.
  • the Cmd Processor thread is used to implement the functions of the above execution unit 03. Specifically, the message from the Cmd queue is processed, and corresponding return data is generated and placed in the Response queue. Processing it When managing server messages, you can call APIs of Android related function modules, such as AMS (Application Management Service), PMS (Package Management Service) and other modules.
  • AMS Application Management Service
  • PMS Package Management Service
  • FIG. 6 is a structural diagram of a management device according to an embodiment of the present invention.
  • the management device still uses a management server as an example, and the managed device takes a cloud box as an example, thereby implementing remote management of the cloud box by the management server.
  • the management server includes a request receiving unit 11 and a response sending unit 12, and may further include an active contact unit 13.
  • the request receiving unit 11 is responsible for obtaining the first information from the HTTP POST request sent by the cloud box.
  • the response transmitting unit 12 is responsible for returning an HTTP REPONSE containing the second information to the cloud box. That is to say, the cloud box sends information to the management server by means of an HTTP POST request, and the management server sends the information to the cloud box by means of HTTP REPONSE.
  • the foregoing first information includes status information or heartbeat information that may include a cloud box.
  • the second information may include information indicating whether the information is successfully received.
  • the request receiving unit 11 and the response transmitting unit 12 repeatedly perform the interaction of the HTTP POST and the HTTP RESPONSE until all the status information reports are completed. If the request receiving unit 11 parses the content of the first information to be empty, it is confirmed that the cloud box completes the transmission of all the status information, and the response sending unit 12 may start to send the HTTP RESPONSE containing the control command to the cloud box, that is, the HTTP RESPONSE returned to the cloud box.
  • the second information in the control includes a control command.
  • the cloud box After obtaining the control command from the received HTTP RESPONSE, the cloud box executes the control command and sends the execution result to the management server through the HTTP POST request. Therefore, the request receiving unit 11 can acquire the execution result of the control command from the HTTP POST request sent by the cloud box.
  • the response sending unit 12 may send an HTTP RESPONSE with empty content to the cloud box to indicate that the control command is sent, and the cloud box and the management server may disconnect the HTTPS.
  • the active contact unit 13 can actively send a contact message to the cloud box. Specifically, the active contact unit 13 may send a TCP message whose content is empty to the designated TCP port of the cloud box, and then the request receiving unit 11 receives the HTTP POST request that the content sent by the cloud box is empty, and the two establish a session.
  • the response sending unit 12 can then start sending an HTTP RESPONSE containing the control command to the cloud box, that is, the second information in the HTTP RESPONSE returned to the cloud box includes the control command.
  • the cloud box After obtaining the control command from the received HTTP RESPONSE, the cloud box executes the control command and sends the execution result to the management server through the HTTP POST request. Therefore, the request receiving unit 11 can send from the cloud box The execution result of the control command is obtained in the HTTP POST request sent.
  • the response sending unit 12 may send an HTTP RESPONSE with empty content to the cloud box to indicate that the control command is sent, and the cloud box and the management server may disconnect the HTTPS.
  • control commands may include, but are not limited to, a restart command, an offline command, a command to uninstall an application, a command to install an application, a command to kill a process, a command to query a service state, a command to query an application installation list, and a command to clean the environment. Or restore the set commands.
  • HTTP POST request and HTTP RESPONSE may be encapsulated by, but not limited to, SOAP or JSON.
  • the embodiment of the present invention may adopt the following message format:
  • the Msg_id is the message ID number, which is used for pairing the service request and the service response. That is, a pair of HTTP POST and HTTP RESPONSE adopt the same Msg_id, which is usually allocated by the device that first requests the request.
  • the device ID is the device ID of the packet. If it is an HTTP POST request sent by the cloud box, the DeviceID is the ID of the cloud box. If it is the HTTP RESPONSE sent by the management server, the parameter is not included. DeviceID can be generated by a special algorithm in the form of a string.
  • Error code is an error code that indicates the error condition.
  • the client device or cloud box can adopt the error code as described in Table 1
  • the management server can adopt the error code as described in Table 2.
  • Para type is a parameter type, which refers to the parameter type carried in the HTTP POST request or HTTP RESPONSE.
  • Para value refers to the parameter value, which refers to the corresponding parameter value under this parameter type. It should be noted that a parameter type may further include multiple parameters and parameter values.
  • Example 1 Use "0100" to identify the heartbeat (HeartBeat) information type.
  • Example 2 The status information type is identified by “0101”, and the corresponding Para Value is activated by “00” for example, and “01” for shutdown.
  • the above two examples can be used for the client device or the cloud box to actively report heartbeat information or status information by using an HTTP POST request.
  • Example 3 Install the application (Install app) with the "0001" identifier, and the corresponding application information indicating the installation in the corresponding Para Value.
  • Example 4 The uninstall application (Uninstall app) is identified by the "0002" identifier, and the specific application information indicating the uninstallation is indicated in the corresponding Para Value.
  • Example 5 The "0003" is used to identify the Kill process, and the corresponding Para Value indicates the specific process information.
  • Example 6 Reboot with the "0004" flag.
  • Example 8 Use the "0006" logo to clear memory (Memory clean).
  • Example 9 Use the "0007" logo to clear the storage space (Storage clean).
  • Example 10 Restore the system settings (ResetSetting) with the "0008" logo.
  • Example 11 Configure the system settings (ConfigureSetting) with the "0009" logo.
  • Example 12 Obtain device information (GetInfomation) using the "0010" identifier.
  • the above examples 3 to 12 can be used for the management server to issue a control command by using HTTP RESPONSE.
  • Example 13 The execution result is identified by "0102". This example can be used to execute the execution result of the HTTP POST request report control command by the client device or the cloud box.
  • the present invention is not limited to the foregoing packet format, and some fields may be defaulted or other fields may be added.
  • the HTTP RESPONSE sent by the management server may not carry the device identifier, and the client device or the cloud box sends HTTP by default.
  • RESPONSE is a management server, and the parameter types therein are not limited to the parameter types in the above examples.
  • the information exchange between the managed device and the management device adopts the HTTPS connection in the present invention, thereby realizing remote management of the managed device by the management device, since HTTPS is a short connection, compared with a longer connection. In this way, the resource consumption of the management device is reduced.
  • HTTPS is an SSL link between the managed device and the management device using SSL encryption. This connection method can prevent the link from being monitored, thereby improving communication security.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated order The element can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: 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. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种远程管理方法、被管理设备、管理设备和智能电视系统,被管理设备将包含第一信息的HTTP POST请求发送给管理设备;从所述管理设备返回的HTTP RESPONSE中获取第二信息。被管理设备和管理设备之间采用HTTP POST请求和HTTP RESPONSE的方式进行信息交互,从而实现管理设备对被管理设备的远程管理,即采用的是HTTPS连接的方式,相比较长连接的方式,降低了对管理设备的资源消耗。

Description

远程管理方法、被管理设备、管理设备和智能电视系统
本申请要求2015年06月11日递交的申请号为201510319066.1、发明名称为“远程管理方法、被管理设备、管理设备和智能电视系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机应用技术领域,特别涉及一种远程管理方法、被管理设备、管理设备和智能电视系统。
背景技术
随着天猫魔盒、小米盒子、百度盒子等网络机顶盒的不断普及,用户可以在电视上观看高清电影电视、玩体感游戏、网络购物、支付水电煤费用等功能,将人机交互由传统的PC、移动终端搬到客厅中,实现未来数字家庭的高清互联概念。
然而,用户想要通过电视享受上述服务,需要购买网络机顶盒,通过安装于网络机顶盒中的各种应用(APP)与服务器进行交互来实现上述服务,如果用户使用配置较低的普通机顶盒或者智能电视等用户端设备,则无法实现上述服务。目前智能电视系统的发展趋势是:逐渐从用户侧的机顶盒向网络侧的机顶盒转换,无论是用户侧的机顶盒还是网络侧的机顶盒,这种为用户端设备提供互联网服务的设备(称为服务提供设备),需要服务器对其进行远程管理。然而,目前尚没有一种较好的远程管理方式,假如采用长连接的方式,由于需要服务器和服务提供设备之间保持连接状态,因此会极大地消耗服务器的资源,造成资源浪费。
发明内容
有鉴于此,本发明提供了一种远程管理方法、被管理设备、管理设备和智能电视系统,以便于降低对管理设备的资源消耗。
具体技术方案如下:
本发明提供了一种远程管理方法,该方法包括:
被管理设备将包含第一信息的HTTP POST请求发送给管理设备;
从所述管理设备返回的HTTP RESPONSE中获取第二信息。
根据本发明一优选实施方式,所述第一信息包括:被管理设备的状态信息或心跳信息;
所述第二信息包括:所述第一信息是否成功接收的信息。
根据本发明一优选实施方式,当被管理设备完成状态信息的发送后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
根据本发明一优选实施方式,该方法还包括:当所述被管理设备监听到管理设备主动发送的联系报文后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
根据本发明一优选实施方式,当所述第一信息内容为空时,从所述管理设备返回的HTTP RESPONSE中获取的第二信息包括控制命令。
根据本发明一优选实施方式,该方法还包括:
所述被管理设备执行所述控制命令,将包含执行结果的HTTP POST请求发送给所述管理设备。
根据本发明一优选实施方式,该方法还包括:
所述被管理设备接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
根据本发明一优选实施方式,所述被管理设备监听到管理设备主动发送的联系报文包括:
所述被管理设备通过指定的TCP端口,监听到所述管理设备发送的内容为空的TCP报文。
根据本发明一可选实施方式,所述控制命令包括:
重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
根据本发明一可选实施方式,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
根据本发明一优选实施方式,所述方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
其中所述被管理设备为所述服务提供设备,所述管理设备为所述服务器。
根据本发明一优选实施方式,所述HTTP POST请求包含:消息标识,发送该报文 的设备标识,用于携带所述第一信息类型信息的参数类型,用于携带所述第一信息值的参数值;
所述HTTP RESPONSE包含:消息标识,用于携带所述第二信息类型信息的参数类型,用于携带所述第二信息值的参数值;
其中一对HTTP POST请求和HTTP RESPONSE采用相同的消息标识。
本发明还提供了一种远程管理方法,该方法包括:
管理设备从被管理设备发送的HTTP POST请求中获取第一信息;
向所述被管理设备返回包含第二信息的HTTP REPONSE。
根据本发明一优选实施方式,所述第一信息包括:被管理设备的状态信息或心跳信息;
所述第二信息包括:所述第一信息是否成功接收的信息。
根据本发明一优选实施方式,所述管理设备如果解析所述第一信息的内容为空,则确认所述被管理设备完成状态信息的发送。
根据本发明一优选实施方式,所述管理设备主动向所述被管理设备发送联系报文后,接收到的所述HTTP POST请求包含的第一信息内容为空。
根据本发明一优选实施方式,当所述第一信息内容为空时,所述管理设备向所述被管理设备返回的HTTP RESPONSE中的第二信息包括控制命令。
根据本发明一优选实施方式,该方法还包括:
所述管理设备从所述被管理设备发送的HTTP POST请求中获取所述控制命令的执行结果。
根据本发明一优选实施方式,该方法还包括:
当所有控制命令发送完成后,所述管理设备向所述被管理设备发送内容为空的HTTP RESPONSE。
根据本发明一优选实施方式,所述管理设备主动向所述被管理设备发送联系报文包括:
所述管理设备向所述被管理设备的指定TCP端口发送内容为空的TCP报文。
根据本发明一优选实施方式,所述控制命令包括:
重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
根据本发明一优选实施方式,所述HTTP POST请求和HTTP RESPONSE所包含的 信息采用SOAP或JSON形式封装。
根据本发明一优选实施方式,所述方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
其中所述被管理设备为所述服务提供设备,所述管理设备为所述服务器。
根据本发明一优选实施方式,所述HTTP POST请求包含:消息标识,发送该报文的设备标识,用于携带所述第一信息类型信息的参数类型,用于携带所述第一信息值的参数值;
所述HTTP RESPONSE包含:消息标识,用于携带所述第二信息类型信息的参数类型,用于携带所述第二信息值的参数值;
其中一对HTTP POST请求和HTTP RESPONSE采用相同的消息标识。
本发明还提供了一种被管理设备,该被管理设备包括:
请求发送单元,用于将包含第一信息的HTTP POST请求发送给管理设备;
响应接收单元,用于从所述管理设备返回的HTTP RESPONSE中获取第二信息。
根据本发明一优选实施方式,所述第一信息包括:被管理设备的状态信息或心跳信息;
所述第二信息包括:所述第一信息是否成功接收的信息。
根据本发明一优选实施方式,当所述请求发送单元完成状态信息的发送后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
根据本发明一优选实施方式,该被管理设备还包括:
监听单元,用于监听管理设备主动发送的联系报文;
所述请求发送单元在所述监听单元监听到所述联系报文时,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
根据本发明一优选实施方式,当所述第一信息内容为空时,所述响应接收单元从所述管理设备返回的HTTP RESPONSE中获取的第二信息包括控制命令。
根据本发明一优选实施方式,该被管理设备还包括:
执行单元,用于执行所述控制命令;
所述请求发送单元,还用于将包含所述控制命令的执行结果的HTTP POST请求发 送给所述管理设备。
根据本发明一优选实施方式,所述响应接收单元,还用于接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
根据本发明一优选实施方式,所述监听单元,具体用于通过指定的TCP端口,监听到所述管理设备发送的内容为空的TCP报文时,确定接收到所述联系报文。
根据本发明一优选实施方式,所述控制命令包括:
重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
根据本发明一优选实施方式,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
本发明还提供了一种管理设备,该管理设备包括:
请求接收单元,用于从被管理设备发送的HTTP POST请求中获取第一信息;
响应发送单元,用于向所述被管理设备返回包含第二信息的HTTP REPONSE。
根据本发明一优选实施方式,所述第一信息包括:被管理设备的状态信息或心跳信息;
所述第二信息包括:所述第一信息是否成功接收的信息。
根据本发明一优选实施方式,所述请求接收单元如果解析所述第一信息的内容为空,则确认所述被管理设备完成状态信息的发送。
根据本发明一优选实施方式,主动联系单元,用于主动向所述被管理设备发送联系报文。
根据本发明一优选实施方式,当所述第一信息内容为空时,所述响应发送单元向所述被管理设备返回的HTTP RESPONSE中的第二信息包括控制命令。
根据本发明一优选实施方式,所述请求接收单元,用于从所述被管理设备发送的HTTP POST请求中获取所述控制命令的执行结果。
根据本发明一优选实施方式,所述响应发送单元,还用于当所有控制命令发送完成后,向所述被管理设备发送内容为空的HTTP RESPONSE。
根据本发明一优选实施方式,所述主动联系单元,具体用于向所述被管理设备的指定TCP端口发送内容为空的TCP报文。
根据本发明一优选实施方式,所述控制命令包括:
重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询 服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
根据本发明一优选实施方式,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
本发明还提供了一种智能电视系统,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;
所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
所述服务器包括上述的管理设备;
所述服务提供设备包括上述的被管理设备。
由以上技术方案可以看出,被管理设备和管理设备之间采用HTTP POST请求和HTTP RESPONSE的方式进行信息交互,从而实现管理设备对被管理设备的远程管理,即采用的是HTTPS连接的方式,相比较长连接的方式,降低了对管理设备的资源消耗。
附图说明
图1a为本发明提供的一种智能电视系统的结构示意图;
图1b为云盒系统的示意图;
图2为本发明实施例提供的一个方法流程图;
图3为本发明实施例提供的另一个方法流程图;
图4为本发明实施例提供的被管理设备的结构图;
图5为本发明实施例提供的被管理设备在软件层面的一种典型的架构图;
图6为本发明实施例提供的管理设备的结构图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。
本发明的核心思想在于,被管理设备与管理设备之间通过HTTPS(Hypertext Transfer Protocol Secure,超文本传输安全协议)进行信息交互,具体包括信息上报和指令下发。即交互模式采用如下方式:被管理设备将包含第一信息的HTTP POST请求发送给管理设备,管理设备将包含第二信息的HTTP RESPONSE返回给被管理设备。
作为一种典型的应用场景,本发明可以应用于智能电视系统。图1a为本发明提供的一种智能电视系统的结构示意图,如图1a中所示,该智能电视系统可以具体包括: 至少一个客户端、至少一个服务提供设备和至少一个服务器,还可以包括:至少一个用户数据信息存储设备。
需要说明的是,用户数据信息存储设备用于存储用户数据信息,一个用户可以对应一个专用的用户数据信息存储设备,多个用户也可以共有同一个用户数据信息存储设备,本实施例对此不作限制。其中,所述用户数据信息存储设备可以是物理设备,也可以是逻辑设备,还可以是物理和逻辑相结合的设备。例如,所述用户数据信息存储设备中可以包括至少一个用户分区,每个用户分区对应存储一个用户的用户数据信息。
其中,客户端通常设置在用户端设备,即智能电视端,其可以呈现为智能电视中装载的APP的形式。服务提供设备和服务器设置于网络侧。
客户端可以向服务器请求登录,服务器为登录成功的客户端分配服务提供设备,并将登录成功的客户端对应的用户分区信息发送给分配的服务提供设备。其中分配服务提供设备的方式可以采用但不限于:基于负载分担的方式、基于距离最近原则等等,在此本发明实施例并不加以限制。客户端与分配的服务提供设备建立连接,由服务提供设备向连接的客户端提供互联网服务。作为一种优选地实施方式,服务提供设备向客户端发送TS(传输流,Transport Stream),该TS中可以包括用户界面(例如游戏类应用、视频类应用等各种应用的用户界面)。更进一步地,客户端还可以监听用户通过遥控器等输入装置产生的输入消息,并将该输入消息发送给服务提供设备或服务器。客户端进一步接收服务提供设备推送的与输入消息对应的用户界面相关数据,对所接收的用户界面相关数据进行解析并显示。
服务提供设备位于网络侧,其数量可以依据系统需求设定,其中,每个服务提供设备具体可以包括:硬件板卡和硬件板卡所承载的软件模块。其软件模块可以基于安卓等操作系统,这样,每个服务提供设备中可以通过该操作系统安装众多应用(如游戏类应用、视频类应用等),并通过TS流向客户端传输已安装应用的信息,以供客户端从众多已安装应用中选择所需的应用。需要说明的是,安卓只是作为服务提供设备所使用操作系统的一种示例,本申请实施例对服务提供设备所使用的具体操作系统不加以限制。
为了更广泛地推广自己的服务,网络服务提供商推出了云盒的概念,即将网络机顶盒放置于云端,云盒系统中包括服务器和多个云盒,云盒就是上述的服务提供设备的一种形式。用户仅需在配置较低的普通机顶盒中安装云盒APP就可以使用云盒服务。用户把需要安装的各类应用APP安装于云盒,而不必直接安装于用户端设备中,由云 盒与应用APP的服务器进行交互,获取服务内容,将云盒的界面以视频数据流的形式推送至用户端设备,来自用户端设备的控制信号传给云盒,再由云盒发送至服务器,这样用户端设备为配置较低的普通机顶盒或者智能电视时,也能够享受丰富的服务内容。也就是说,由云盒根据来自用户端设备的控制信号从服务器获取服务内容,并以视频数据流的形式推送至用户端设备,如图1b中所示。
下面实施例中以云盒为例,对本发明提供的方法进行详细描述。
图2为本发明实施例提供的一个方法流程图,在本实施例中,以云盒主动联系管理服务器为例,这种场景是较常出现的状况。即云盒通常会周期性地、或者在状态发生变化时,主动联系管理服务器,例如周期性地上报心跳信息,例如在开机、关机、上线、下线等状态发生变化时,上报状态信息。如图2中所示,该方法可以包括以下步骤:
在201中,云盒向管理服务器发送包含状态信息的HTTP POST请求。
在本步骤中,云盒可以将云盒状态等信息通过诸如SOAP(Simple Object Access Protocol,简单对象访问协议)或者JSON(JavaScript Object Notation,脚本对象标记)等形式进行封装,将封装后得到的SOAP包或JSON包放入HTTP POST请求中,然后发送给管理服务器。
在202中,管理服务器从HTTP POST请求中获取状态信息后,对该状态信息进行记录,然后向云盒返回HTTP RESPONSE,该HTTP RESPONSE包含状态信息是否成功接收的信息。
管理服务器会对各云盒的信息进行记录,其中包括云盒的状态信息、心跳信息等。在本实施例中,获取到状态信息后,会对该云盒的状态信息进行记录。
同样,状态信息是否成功接收的信息可以通过诸如SOAP或者JSON等形式进行封装,将封装后得到的SOAP包或JSON包放入HTTP RESPONSE中。后续步骤中,HTTP POST请求和HTTP RESPONSE中的信息均可以通过诸如SOAP或者JSON等形式进行封装,不再赘述。
之后,如果云盒还有其他状态信息需要上报,则循环执行上述步骤201和步骤202。如果所有状态信息上报完成,则执行203,云盒向管理服务器发送一个内容为空的HTTP POST请求,用于指示状态上报完成,该HTTP POST请求中可以仅携带云盒的标识信息,诸如云盒的序列号。
此时管理服务器如果确定有控制命令向该云盒下发,则可以执行204,向云盒返回包含控制命令的HTTP RESPONSE。如果管理服务器确定没有控制命令向该云盒下发, 则可以执行206。
本实施例中,管理服务器下发的控制命令可以包括但不限于:重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询系统状态的命令、查询应用安装列表的命令、查询云盒与交换机关的命令、清理环境的命令或恢复设置的命令等等。
管理服务器有控制命令下发给云盒时,会放入本地的Response Queue(响应队列)中,在下发控制命令的时机从Response Queue中取出控制命令发送给云盒。在发送控制命令时,可以按照优先级从高到低的顺序进行发送。
在205中,云盒执行控制命令,然后将包含执行结果的HTTP POST请求发送给管理服务器。
如果管理服务器仍有控制命令发送给该云盒,则重复执行上述步骤204和205,直至所有控制命令都发送完成,则可以执行206,向云盒发送内容为空的HTTP RESPONSE。
云盒接收到内容为空的HTTP RESPONSE后,确认管理服务器已经完成控制命令的发送,可以断开云盒与管理服务器之间的HTTPS连接。
图3为本发明实施例提供的另一个方法流程图,在本实施例中,以管理服务器主动联系云盒为例,当优先级较高的控制命令是需要立即下发给云盒的,例如当云盒上安装的APP出现违规内容,需要管理服务器进行后台干预时,管理服务器可以发起主动联系,以向云盒发起重启或卸载某APP的控制命令。如图3所示,该方法可以包括以下步骤:
在301中,云盒在工作状态下,可以启动一个指定的TCP端口进行监听。主要目的是为了监听管理服务器主动发送的联系报文。
管理服务器在需要主动联系云盒进行控制命令的下发时,在302中向云盒发送内容为空的TCP报文。
云盒接收到该内容为空的TCP报文后,获知管理服务器主动联系云盒,有控制命令要下发,执行303,云盒向管理服务器发送一个内容为空的HTTP POST请求,从而与管理服务器建立会话。
后续304~306的步骤与图2所示流程中204~206相同,在此不再赘述。
另外,需要说明的是,上述的用户端设备除了网络机顶盒、云盒之外,还可以是其他用户端设备。在此举一个例子,对于远端的云盒,云盒发送的报文需要经由交换机、 路由器等交换设备进行转发。为了提高对云盒管理的可靠性,这些交换设备可以采用上述方法中的机制与管理服务器进行交互,定期上报云盒的位置信息。这样,即便在有些情况下,云盒由于某些原因与管理服务器失去联系(既不上报状态信息,也不发送心跳信息),管理服务器也能够通过交换设备获知云盒的位置信息,从而采用一些硬干预的方式,例如采用断电的方式对云盒进行重启。
以上是对本发明所提供的方法进行的描述,下面结合实施例对本发明提供的用户端设备和管理服务器进行详细描述。
图4为本发明实施例提供的被管理设备的结构图,在该实施例中,被管理设备仍以云盒为例,管理设备以管理服务器为例,如图4中所示,该装置可以包括:请求发送单元01和响应接收单元02,还可以进一步包括:监听单元03和执行单元04。
其中,请求发送单元01负责将包含第一信息的HTTP POST请求发送给管理服务器,即采用HTTP POST请求的方式发送信息给管理服务器。
响应接收单元02负责从管理服务器返回的HTTP RESPONSE中获取第二信息。即管理服务器采用HTTP RESPONSE的方式发送信息给云盒。
上述的第一信息可以包括云盒的状态信息或心跳信息,相应地,第二信息可以包括第一信息是否成功接收的信息。
请求发送单元01和响应接收单元02重复执行HTTP POST和HTTP RESPONSE的交互,直至所有状态信息上报完成。当请求发送单元01完成所有状态信息的发送后,向管理服务器发送的HTTP POST请求所包含的第一信息内容为空,即向管理服务器发送内容为空的HTTP POST请求,以向管理服务器表明所有状态信息上报完成,可以发送控制命令了。之后响应接收单元02可以从管理服务器返回的HTTP RESPONSE中获取的第二信息包括控制命令。
执行单元04执行响应接收单元02获取的控制命令,并由请求发送单元01将包含控制命令的执行结果的HTTP POST请求发送给管理服务器。
当管理服务器完成所有控制命令的发送后,会向云盒发送内容为空的HTTP RESPONSE。此时,响应接收单元02接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
上述的主要是云盒主动联系管理服务器的情况,对于管理服务器主动联系云盒的情况,可以在云盒进行监听。即监听单元03监听管理服务器主动发送的联系报文。具体地,监听单元03可以通过指定的TCP端口,监听管理服务器发送的内容为空的TCP 报文,在通过指定的TCP端口监听到管理服务器发送的内容为空的TCP报文时,确定接收到联系报文。
请求发送单元01在监听单元03监听到联系报文时,向管理服务器发送的HTTP POST请求所包含的第一信息内容为空,从而与管理服务器建立会话。之后响应接收单元02可以从管理服务器返回的HTTP RESPONSE中获取的第二信息包括控制命令。
执行单元04执行响应接收单元02获取的控制命令,并由请求发送单元01将包含控制命令的执行结果的HTTP POST请求发送给管理服务器。
当管理服务器完成所有控制命令的发送后,会向云盒发送内容为空的HTTP RESPONSE。此时,响应接收单元02接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
上述的控制命令可以包括但不限于:重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
另外,上述HTTP POST请求和HTTP RESPONSE所包含的信息可以采用SOAP或JSON形式封装。
图5为被管理设备在软件层面的一种典型的架构图,以Android系统为例,假设诸如云盒等被管理设备为Android智能设备,在被管理设备部署Remote Management Service(远程管理服务),该Remote Management Service用于完成上述的被管理设备的功能。该服务有3个主要的线程:
其中,Msg Processor(消息处理线程)用于实现上述被管理设备中请求发送单元01、响应接收单元02和监听单元03的功能。包括:
1)完成对来自管理服务器的HTTP RESPONSE消息接收和解析,并封装成内部的数据结构,放到cmd queue(命令队列)中。
2)从Resonse queue(响应队列)中获取发送给管理服务器的数据结构,并封装成对应的HTTP POST消息后,发送给服务端。
3)从Heart beat queue(心跳队列)中获取心跳消息,封装成对应的HTTP POST发送给管理服务。
Heart Beat thread(心跳线程)用于产生周期的心跳信息。
Cmd Processor thread(命令处理线程)用于实现上述执行单元03的功能,具体地,处理来自Cmd queue的消息,并生成相应的返回数据放到Response queue中。在处理来 自管理服务器消息的时候,可以调用Android相关功能模块的API,如AMS(应用管理服务),PMS(包管理服务)等模块。
图6为本发明实施例提供的管理设备的结构图,在该实施例中,管理设备仍采用管理服务器为例,被管理设备以云盒为例,从而实现管理服务器对云盒的远程管理,如图6所示,该管理服务器包括:请求接收单元11和响应发送单元12,还可以包括主动联系单元13。
其中,请求接收单元11负责从云盒发送的HTTP POST请求中获取第一信息。响应发送单元12负责向云盒返回包含第二信息的HTTP REPONSE。也就是说,云盒采用HTTP POST请求的方式发送信息给管理服务器,管理服务器采用HTTP REPONSE的方式发送信息给云盒。
上述第一信息包括可以包括云盒的状态信息或心跳信息,相应地,第二信息可以包括上报信息是否成功接收的信息。
请求接收单元11和响应发送单元12重复执行HTTP POST和HTTP RESPONSE的交互,直至所有状态信息上报完成。如果请求接收单元11解析第一信息的内容为空,则确认云盒完成所有状态信息的发送,响应发送单元12可以开始向云盒发送包含控制命令的HTTP RESPONSE,即向云盒返回的HTTP RESPONSE中的第二信息包括控制命令。
云盒从接收到的HTTP RESPONSE中获取控制命令后,执行该控制命令,并将执行结果通过HTTP POST请求发送给管理服务器。因此,请求接收单元11可以从云盒发送的HTTP POST请求中获取控制命令的执行结果。
当所有控制命令发送完成后,响应发送单元12可以向云盒发送内容为空的HTTP RESPONSE,以表明控制命令发送完成,云盒和管理服务器可以断开HTTPS连接。
上述的主要是云盒主动联系管理服务器的情况,对于管理服务器主动联系云盒的情况,主动联系单元13可以主动向云盒发送联系报文。具体地,主动联系单元13可以向云盒的指定TCP端口发送内容为空的TCP报文,然后请求接收单元11会接收到云盒发送的内容为空的HTTP POST请求,两者建立会话。
之后响应发送单元12可以开始向云盒发送包含控制命令的HTTP RESPONSE,即向云盒返回的HTTP RESPONSE中的第二信息包括控制命令。
云盒从接收到的HTTP RESPONSE中获取控制命令后,执行该控制命令,并将执行结果通过HTTP POST请求发送给管理服务器。因此,请求接收单元11可以从云盒发 送的HTTP POST请求中获取控制命令的执行结果。
当所有控制命令发送完成后,响应发送单元12可以向云盒发送内容为空的HTTP RESPONSE,以表明控制命令发送完成,云盒和管理服务器可以断开HTTPS连接。
上述的控制命令可以包括但不限于:重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
另外,上述HTTP POST请求和HTTP RESPONSE所包含的信息可以采用但不限于SOAP或JSON形式封装。
下面对HTTP POST请求和HTTP RESPONSE的报文格式进行描述。在此,本发明实施例可以采用如下报文格式:
Msg_id DeviceID Error code Para type Para value
其中Msg_id为消息ID号,用于做业务请求和业务响应的配对使用,即一对HTTP POST和HTTP RESPONSE采用相同的Msg_id,通常由首先发起请求的设备分配。
DeviceID为发送该报文的设备标识,如果是云盒发送的HTTP POST请求,则DeviceID为该云盒的ID,如果是管理服务器发送的HTTP RESPONSE,则不包含该参数。DeviceID可以采用字符串的方式,由专用算法产生。
Error code为错误码,用于指明错误状况。例如用户端设备或云盒可以采用如表1中所述的错误码,管理服务器可以采用如表2中所述的错误码。
表1
Error Code 含义
9001 拒绝响应(无指定原因)
9002 内部错误
9003 非法参数
9004 资源过载
9005 无效参数名
9006 无效参数类型
9007 无效参数值
9008 试图设置非可写参数
9009 拒绝通知报文
9010 加载失败
9011 上传失败
9012 文件传输服务器鉴权失败
9013 不支持文件传输协议
9014 不能加入多播组
9015 不能连接文件服务器
表2
Error Code 含义
8000 方法不支持
8001 拒绝请求
8002 内部错误
8003 非法参数
8004 资源溢出
8005 重请求
Para type是参数类型,指的是HTTP POST请求或HTTP RESPONSE中携带的参数类型,Para value指的是参数值,指的是这种参数类型下对应的参数值。需要说明的是,一个参数类型下可以进一步包括多个参数及参数值。
在此举几个例子:
例1:采用“0100”标识心跳(HeartBeat)信息类型。
例2:采用“0101”标识状态(Status)信息类型,对应的Para Value例如采用“00”标识开机,采用“01”标识关机,等。
以上两个例子可以用于用户端设备或云盒采用HTTP POST请求主动上报心跳信息或状态信息。
例3:采用“0001”标识安装应用(Install app),对应的Para Value中指示安装的具体应用信息。
例4:采用“0002”标识卸载应用(Uninstall app),对应的Para Value中指示卸载的具体应用信息。
例5:采用“0003”标识杀进程(Kill process),对应的Para Value中指示具体的进程信息。
例6:采用“0004”标识重启动(Reboot)。
例7:采用“0005”标识关机(Shutdown)。
例8:采用“0006”标识清除内存(Memory clean)。
例9:采用“0007”标识清除存储空间(Storage clean)。
例10:采用“0008”标识恢复系统设置(ResetSetting)。
例11:采用“0009”标识配置系统设置(ConfigureSetting)。
例12:采用“0010”标识获取设备信息(GetInfomation)。
以上例3~例12可以用于管理服务器采用HTTP RESPONSE下发控制命令。
例13:采用“0102”标识执行结果。该例可以用于用户端设备或云盒采用HTTP POST请求上报控制命令的执行结果。
需要说明的是,本发明并不限于上述报文格式,也可以缺省一些字段或者增加其他字段,例如在管理服务器发送的HTTP RESPONSE中可以不携带设备标识,用户端设备或云盒默认发送HTTP RESPONSE的为管理服务器,其中的参数类型也不限于上述例子中的参数类型。
由以上描述可以看出,本发明中被管理设备与管理设备之间采用HTTPS连接的方式进行信息交互,从而实现管理设备对被管理设备的远程管理,由于HTTPS是短连接,相比较长连接的方式,降低了对管理设备的资源消耗。
另外,需要说明的是,所谓HTTPS就是被管理设备和管理设备之间的HTTP链接使用SSL加密方式,这种连接方式能够防止链路被监听,从而提高通讯安全。
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单 元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (45)

  1. 一种远程管理方法,其特征在于,该方法包括:
    被管理设备将包含第一信息的HTTP POST请求发送给管理设备;
    从所述管理设备返回的HTTP RESPONSE中获取第二信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一信息包括:被管理设备的状态信息或心跳信息;
    所述第二信息包括:所述第一信息是否成功接收的信息。
  3. 根据权利要求2所述的方法,其特征在于,当被管理设备完成状态信息的发送后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
  4. 根据权利要求1所述的方法,其特征在于,该方法还包括:当所述被管理设备监听到管理设备主动发送的联系报文后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
  5. 根据权利要求3或4所述的方法,其特征在于,当所述第一信息内容为空时,从所述管理设备返回的HTTP RESPONSE中获取的第二信息包括控制命令。
  6. 根据权利要求5所述的方法,其特征在于,该方法还包括:
    所述被管理设备执行所述控制命令,将包含执行结果的HTTP POST请求发送给所述管理设备。
  7. 根据权利要求5所述的方法,其特征在于,该方法还包括:
    所述被管理设备接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
  8. 根据权利要求4所述的方法,其特征在于,所述被管理设备监听到管理设备主动发送的联系报文包括:
    所述被管理设备通过指定的TCP端口,监听到所述管理设备发送的内容为空的TCP报文。
  9. 根据权利要求5所述的方法,其特征在于,所述控制命令包括:
    重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
  10. 根据权利要求1至4任一权项所述的方法,其特征在于,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
  11. 根据权利要求1至4任一权项所述的方法,其特征在于,所述方法应用于智能 电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
    其中所述被管理设备为所述服务提供设备,所述管理设备为所述服务器。
  12. 根据权利要求1至4任一权项所述的方法,其特征在于,所述HTTP POST请求包含:消息标识,发送该报文的设备标识,用于携带所述第一信息类型信息的参数类型,用于携带所述第一信息值的参数值;
    所述HTTP RESPONSE包含:消息标识,用于携带所述第二信息类型信息的参数类型,用于携带所述第二信息值的参数值;
    其中一对HTTP POST请求和HTTP RESPONSE采用相同的消息标识。
  13. 一种远程管理方法,其特征在于,该方法包括:
    管理设备从被管理设备发送的HTTP POST请求中获取第一信息;
    向所述被管理设备返回包含第二信息的HTTP REPONSE。
  14. 根据权利要求13所述的方法,其特征在于,所述第一信息包括:被管理设备的状态信息或心跳信息;
    所述第二信息包括:所述第一信息是否成功接收的信息。
  15. 根据权利要求14所述的方法,其特征在于,所述管理设备如果解析所述第一信息的内容为空,则确认所述被管理设备完成状态信息的发送。
  16. 根据权利要求13所述的方法,其特征在于,所述管理设备主动向所述被管理设备发送联系报文后,接收到的所述HTTP POST请求包含的第一信息内容为空。
  17. 根据权利要求15或16所述的方法,其特征在于,当所述第一信息内容为空时,所述管理设备向所述被管理设备返回的HTTP RESPONSE中的第二信息包括控制命令。
  18. 根据权利要求17所述的方法,其特征在于,该方法还包括:
    所述管理设备从所述被管理设备发送的HTTP POST请求中获取所述控制命令的执行结果。
  19. 根据权利要求17所述的方法,其特征在于,该方法还包括:
    当所有控制命令发送完成后,所述管理设备向所述被管理设备发送内容为空的HTTP RESPONSE。
  20. 根据权利要求16所述的方法,其特征在于,所述管理设备主动向所述被管理设备发送联系报文包括:
    所述管理设备向所述被管理设备的指定TCP端口发送内容为空的TCP报文。
  21. 根据权利要求17所述的方法,其特征在于,所述控制命令包括:
    重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
  22. 根据权利要求13至16任一权项所述的方法,其特征在于,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
  23. 根据权利要求13至16任一权项所述的方法,其特征在于,所述方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
    其中所述被管理设备为所述服务提供设备,所述管理设备为所述服务器。
  24. 根据权利要求13至16任一权项所述的方法,其特征在于,所述HTTP POST请求包含:消息标识,发送该报文的设备标识,用于携带所述第一信息类型信息的参数类型,用于携带所述第一信息值的参数值;
    所述HTTP RESPONSE包含:消息标识,用于携带所述第二信息类型信息的参数类型,用于携带所述第二信息值的参数值;
    其中一对HTTP POST请求和HTTP RESPONSE采用相同的消息标识。
  25. 一种被管理设备,其特征在于,该被管理设备包括:
    请求发送单元,用于将包含第一信息的HTTP POST请求发送给管理设备;
    响应接收单元,用于从所述管理设备返回的HTTP RESPONSE中获取第二信息。
  26. 根据权利要求25所述的被管理设备,其特征在于,所述第一信息包括:被管理设备的状态信息或心跳信息;
    所述第二信息包括:所述第一信息是否成功接收的信息。
  27. 根据权利要求26所述的被管理设备,其特征在于,当所述请求发送单元完成状态信息的发送后,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
  28. 根据权利要求25所述的被管理设备,其特征在于,该被管理设备还包括:
    监听单元,用于监听管理设备主动发送的联系报文;
    所述请求发送单元在所述监听单元监听到所述联系报文时,向所述管理设备发送的HTTP POST请求所包含的第一信息内容为空。
  29. 根据权利要求27或28所述的被管理设备,其特征在于,当所述第一信息内容为空时,所述响应接收单元从所述管理设备返回的HTTP RESPONSE中获取的第二信息包括控制命令。
  30. 根据权利要求29所述的被管理设备,其特征在于,该被管理设备还包括:
    执行单元,用于执行所述控制命令;
    所述请求发送单元,还用于将包含所述控制命令的执行结果的HTTP POST请求发送给所述管理设备。
  31. 根据权利要求29所述的被管理设备,其特征在于,所述响应接收单元,还用于接收到内容为空的HTTP RESPONSE后,确认所有控制命令发送完成。
  32. 根据权利要求28所述的被管理设备,其特征在于,所述监听单元,具体用于通过指定的TCP端口,监听到所述管理设备发送的内容为空的TCP报文时,确定接收到所述联系报文。
  33. 根据权利要求29所述的被管理设备,其特征在于,所述控制命令包括:
    重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
  34. 根据权利要求25至28任一权项所述的被管理设备,其特征在于,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
  35. 一种管理设备,其特征在于,该管理设备包括:
    请求接收单元,用于从被管理设备发送的HTTP POST请求中获取第一信息;
    响应发送单元,用于向所述被管理设备返回包含第二信息的HTTP REPONSE。
  36. 根据权利要求35所述的管理设备,其特征在于,所述第一信息包括:被管理设备的状态信息或心跳信息;
    所述第二信息包括:所述第一信息是否成功接收的信息。
  37. 根据权利要求36所述的管理设备,其特征在于,所述请求接收单元如果解析所述第一信息的内容为空,则确认所述被管理设备完成状态信息的发送。
  38. 根据权利要求35所述的管理设备,其特征在于,主动联系单元,用于主动向 所述被管理设备发送联系报文。
  39. 根据权利要求37或38所述的管理设备,其特征在于,当所述第一信息内容为空时,所述响应发送单元向所述被管理设备返回的HTTP RESPONSE中的第二信息包括控制命令。
  40. 根据权利要求39所述的管理设备,其特征在于,所述请求接收单元,用于从所述被管理设备发送的HTTP POST请求中获取所述控制命令的执行结果。
  41. 根据权利要求39所述的管理设备,其特征在于,所述响应发送单元,还用于当所有控制命令发送完成后,向所述被管理设备发送内容为空的HTTP RESPONSE。
  42. 根据权利要求38所述的管理设备,其特征在于,所述主动联系单元,具体用于向所述被管理设备的指定TCP端口发送内容为空的TCP报文。
  43. 根据权利要求39所述的管理设备,其特征在于,所述控制命令包括:
    重启命令、下线命令、卸载应用的命令、安装应用的命令、查杀进程的命令、查询服务状态的命令、查询应用安装列表的命令、清理环境的命令或恢复设置的命令。
  44. 根据权利要求35至38任一权项所述的管理设备,其特征在于,所述HTTP POST请求和HTTP RESPONSE所包含的信息采用SOAP或JSON形式封装。
  45. 一种智能电视系统,其特征在于,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;
    所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视端,用于与分配的服务提供设备建立连接并接收服务提供设备提供的互联网服务;所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
    所述服务器包括如权利要求35至44任一权项所述的管理设备;
    所述服务提供设备包括如权利要求25至34任一权项所述的被管理设备。
PCT/CN2016/084598 2015-06-11 2016-06-03 远程管理方法、被管理设备、管理设备和智能电视系统 Ceased WO2016197861A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510319066.1A CN106302615A (zh) 2015-06-11 2015-06-11 远程管理方法、被管理设备、管理设备和智能电视系统
CN201510319066.1 2015-06-11

Publications (1)

Publication Number Publication Date
WO2016197861A1 true WO2016197861A1 (zh) 2016-12-15

Family

ID=57502896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084598 Ceased WO2016197861A1 (zh) 2015-06-11 2016-06-03 远程管理方法、被管理设备、管理设备和智能电视系统

Country Status (2)

Country Link
CN (1) CN106302615A (zh)
WO (1) WO2016197861A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183946A (zh) * 2017-12-26 2018-06-19 深圳市海恒智能科技有限公司 图书自助设备的远程维护方法及系统
WO2020001110A1 (zh) * 2018-06-25 2020-01-02 阿里巴巴集团控股有限公司 一种信息的处理方法、装置、设备及系统
CN115996237A (zh) * 2021-10-15 2023-04-21 中煤科工集团智能矿山有限公司 用于物联网终端的远程管理方法、处理器及存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205157A (zh) * 2017-05-17 2017-09-26 贵阳朗玛信息技术股份有限公司 基于iptv的视频直播方法、装置及系统
CN108134713B (zh) * 2017-12-19 2020-07-10 新华三技术有限公司 一种通信方法及装置
CN108363610A (zh) * 2018-02-09 2018-08-03 华为技术有限公司 一种虚拟机监控插件的控制方法及设备
CN109743398B (zh) * 2019-01-14 2022-01-28 平安科技(深圳)有限公司 基于云计算的远程视频稽核方法、系统及计算机设备
CN110113495A (zh) * 2019-05-10 2019-08-09 北京奇艺世纪科技有限公司 App的远程控制方法、装置、电子设备及系统
CN112637309B (zh) * 2020-12-16 2023-01-13 航天信息股份有限公司海外业务分公司 被管设备安全远程操控装置及方法
CN115987749A (zh) * 2022-12-28 2023-04-18 凌云光技术股份有限公司 一种双向通信方法及应用
CN118233445A (zh) * 2023-10-17 2024-06-21 厦门海辰储能科技股份有限公司 储能管理方法、储能管理系统、计算机设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043388A (zh) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 检测Web接入用户终端是否在线的方法、设备和系统
CN101047554A (zh) * 2006-05-17 2007-10-03 华为技术有限公司 一种宽带接入网远端节点的管理方法和系统
CN101958925A (zh) * 2010-08-30 2011-01-26 北京星网锐捷网络技术有限公司 一种控制远程设备的方法以及装置
CN102761431A (zh) * 2011-04-29 2012-10-31 华为终端有限公司 事件上报方法及用户驻地设备
CN103974140A (zh) * 2013-02-06 2014-08-06 中国科学院声学研究所 一种基于tr069协议的大规模交互电视终端管理方法及系统
US20140362702A1 (en) * 2010-07-26 2014-12-11 Seven Networks, Inc. Mobile application traffic optimization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197706B (zh) * 2006-12-05 2010-05-19 中兴通讯股份有限公司 一种数字用户线用户端设备的远程管理方法
CN101217441B (zh) * 2008-01-16 2011-03-16 中兴通讯股份有限公司 无线射频识别阅读器的远程管理方法
EP2107716B1 (en) * 2008-04-04 2011-06-15 Alcatel Lucent Automatic configuration of a network device by an automatic configuration server by means of a Remote Management Protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047554A (zh) * 2006-05-17 2007-10-03 华为技术有限公司 一种宽带接入网远端节点的管理方法和系统
CN101043388A (zh) * 2007-03-27 2007-09-26 杭州华为三康技术有限公司 检测Web接入用户终端是否在线的方法、设备和系统
US20140362702A1 (en) * 2010-07-26 2014-12-11 Seven Networks, Inc. Mobile application traffic optimization
CN101958925A (zh) * 2010-08-30 2011-01-26 北京星网锐捷网络技术有限公司 一种控制远程设备的方法以及装置
CN102761431A (zh) * 2011-04-29 2012-10-31 华为终端有限公司 事件上报方法及用户驻地设备
CN103974140A (zh) * 2013-02-06 2014-08-06 中国科学院声学研究所 一种基于tr069协议的大规模交互电视终端管理方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
QI, SHAOAN ET AL.: "Terminal Management of IPTV Based on TR 069", DESIGNING TECHNIQUES OF POSTS AND TELECOMMUNICATIONS, 31 December 2011 (2011-12-31), ISSN: 1007-3043 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183946A (zh) * 2017-12-26 2018-06-19 深圳市海恒智能科技有限公司 图书自助设备的远程维护方法及系统
WO2020001110A1 (zh) * 2018-06-25 2020-01-02 阿里巴巴集团控股有限公司 一种信息的处理方法、装置、设备及系统
TWI699988B (zh) * 2018-06-25 2020-07-21 香港商阿里巴巴集團服務有限公司 資訊的處理方法、裝置、設備及系統
US11005947B2 (en) 2018-06-25 2021-05-11 Advanced New Technologies Co., Ltd. Network information processing
CN115996237A (zh) * 2021-10-15 2023-04-21 中煤科工集团智能矿山有限公司 用于物联网终端的远程管理方法、处理器及存储介质
CN115996237B (zh) * 2021-10-15 2023-12-05 中煤科工集团智能矿山有限公司 用于物联网终端的远程管理方法、处理器及存储介质

Also Published As

Publication number Publication date
CN106302615A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016197861A1 (zh) 远程管理方法、被管理设备、管理设备和智能电视系统
CN113163215B (zh) 基于云手机的直播方法和直播系统
US8756311B2 (en) Shared heartbeat service for managed devices
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN108886531B (zh) 使用服务层能力进行网络和应用管理
TWI658733B (zh) 實現視訊通話的方法及系統
US9553831B2 (en) Adaptive publish/subscribe system
CN110266810B (zh) 基于mqtt协议的消息接收方法、设备及存储介质
US12267385B2 (en) Integrated cloud system with lightweight gateway for premises automation
US9065666B2 (en) System and method of multi-media conferencing between universal plug and play (UPnP) enabled telephony devices and wireless area network (WAN) devices
WO2018219048A1 (zh) 一种直播方法、系统以及相关设备
KR20140091704A (ko) 엔드-유저 디바이스들의 원격 관리를 위한 발행/구독 브로커를 포함하는 시스템 및 각각의 엔드-유저 디바이스
WO2016197866A1 (zh) 网络唤醒方法、远程服务器和网络交换设备
CN106302365A (zh) 一种客户端、智能电视系统和相应的数据传输方法
WO2017020790A1 (zh) 多屏控制方法及装置
CN107332894B (zh) 直播方法、装置及系统、服务器、存储介质
CN120416313A (zh) 基于Websocket协议的基站通信方法、系统、电子装置和存储介质
US20150149629A1 (en) User online state querying method and apparatus
US20140201376A1 (en) Method and system for the handling of redundant long poll
CN114025005B (zh) 一种数据通讯方法、系统、电子设备及存储介质
CN104797004A (zh) 主从设备间实现自动组网的方法
WO2016202203A1 (zh) 设备连接方法、装置和智能电视系统
WO2017071655A1 (zh) 多机顶盒带宽分配方法及装置
US8972558B1 (en) Lightweight polling technique
CN105847173A (zh) 内容提供控制方法、终端设备和用户设备

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: 16806759

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: 16806759

Country of ref document: EP

Kind code of ref document: A1