CN105991736A - Remote control method and device - Google Patents
Remote control method and device Download PDFInfo
- Publication number
- CN105991736A CN105991736A CN201510087250.8A CN201510087250A CN105991736A CN 105991736 A CN105991736 A CN 105991736A CN 201510087250 A CN201510087250 A CN 201510087250A CN 105991736 A CN105991736 A CN 105991736A
- Authority
- CN
- China
- Prior art keywords
- operation interface
- main control
- controlled device
- control device
- operational order
- 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.)
- Granted
Links
Landscapes
- Selective Calling Equipment (AREA)
Abstract
本发明公开了一种远程控制方法,用于解决远程控制因为要通过传输视频流来实现而导致传输效率较低的技术问题。所述方法包括:接收针对主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。本发明还公开了相应的设备。
The invention discloses a remote control method, which is used to solve the technical problem of low transmission efficiency because the remote control is realized by transmitting video streams. The method includes: receiving a first operation on a first operation interface displayed on the master device; wherein, the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device; An operation instruction corresponding to the first operation is sent to the controlled device; the operation instruction is used for the controlled device to perform a second operation corresponding to the first operation on the second operation interface according to the operation instruction , so that the controlled device realizes the same function as the function to be realized by the first operation; receives a response message sent by the controlled device; A response message obtained after the second operation is performed on the second operation interface. The invention also discloses corresponding equipment.
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种远程控制方法及设备。The invention relates to the field of communication technology, in particular to a remote control method and equipment.
背景技术Background technique
远程控制是在网络上由一台计算机(例如称为主控端或客户端)远距离去控制另一台计算机(例如称为被控端或服务器端)的技术。Remote control is a technology in which a computer (such as a master or client) remotely controls another computer (such as a controlled or server) on a network.
目前,两台电子设备之间要实现远程控制,那么一般是被控端将待控制的界面通过视频流的方式传输给主控端,主控端接收该视频流后即可获取该待控制的界面,从而针对待控制的界面进行操作,之后主控端再将该操作对应的指令发送给被控端,或者主控端除了发送指令外,也要将操作之后的界面通过视频流的方式发送给被控端,从而被控端可以根据接收的指令进行相应的操作。被控端在操作完成后,若要将操作完成的结果发送给主控端,则还是会将操作完成后的界面通过视频流的方式来进行发送。At present, to realize remote control between two electronic devices, generally the controlled terminal transmits the interface to be controlled to the main control terminal through video stream, and the main control terminal can obtain the to-be-controlled interface after receiving the video stream. Interface, so as to operate on the interface to be controlled, and then the master control end sends the command corresponding to the operation to the controlled end, or the master control end not only sends the command, but also sends the interface after the operation through the video stream To the controlled end, so that the controlled end can perform corresponding operations according to the received instructions. After the controlled end completes the operation, if it wants to send the result of the operation to the master control end, it will still send the completed interface through the video stream.
可见,现有技术中基本都是通过传输视频流来实现远程控制,而视频流的传输对网络的要求较高,在网络不稳定的情况下,实时的视频流传输会受到较大影响,传输效率较低,甚至可能无法传输,从而无法实现远程控制。并且,视频流的传输也需要耗费较多的流量,较为浪费传输资源。It can be seen that in the prior art, remote control is basically realized by transmitting video streams, and the transmission of video streams has higher requirements on the network. When the network is unstable, real-time video stream transmission will be greatly affected. Less efficient and may not even transmit, making remote control impossible. Moreover, the transmission of the video stream also consumes a lot of traffic, which wastes transmission resources.
发明内容Contents of the invention
本发明实施例提供一种远程控制方法,用于解决远程控制因为要通过传输视频流来实现而导致传输效率较低的技术问题。An embodiment of the present invention provides a remote control method, which is used to solve the technical problem of low transmission efficiency because remote control is implemented by transmitting video streams.
本发明的第一方面,提供一种远程控制方法,包括:A first aspect of the present invention provides a remote control method, including:
主控设备接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;The master control device receives a first operation on the first operation interface displayed on the master control device; wherein the first operation interface is an operation interface corresponding to the second operation interface displayed on the controlled device;
所述主控设备将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;The master control device sends an operation instruction corresponding to the first operation to the controlled device; the operation instruction is used for the controlled device to communicate with the second operation interface according to the operation instruction. performing a second operation corresponding to the first operation, so that the controlled device realizes the same function as the function to be realized by the first operation;
所述主控设备接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。The master control device receives a response message sent by the controlled device; the response message is a response message obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
结合第一方面,在第一方面的第一种可能的实现方式中,在主控设备接收针对所述主控设备上显示的第一操作界面的第一操作之前,还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, before the master control device receives the first operation on the first operation interface displayed on the master control device, the method further includes:
所述主控设备接收所述被控设备发送的所述第二操作界面的信息;The controlling device receives the information of the second operation interface sent by the controlled device;
所述主控设备根据所述第二操作界面的信息,确定并显示所述第一操作界面。The main control device determines and displays the first operation interface according to the information on the second operation interface.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述主控设备根据所述第二操作界面的信息,确定并显示所述第一操作界面,包括:With reference to the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the main control device determines and displays the first operation according to information on the second operation interface interface, including:
所述主控设备根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;The main control device determines the application corresponding to the second operation interface according to the information of the second operation interface;
所述主控设备调用所述应用,并显示所述应用中的所述第一操作界面。The main control device invokes the application, and displays the first operation interface in the application.
本发明的第二方面,提供一种远程控制方法,包括:A second aspect of the present invention provides a remote control method, including:
被控设备接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;The controlled device receives an operation instruction sent by the master device; the operation instruction is an operation instruction generated by the master device according to the received first operation performed on the first operation interface displayed on the master device;
所述被控设备根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;The controlled device performs a second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device realizes Operate the same function as the function to be realized; the second operation interface is an operation interface corresponding to the first operation interface;
所述被控设备获取进行所述第二操作后所对应的操作结果;The controlled device acquires an operation result corresponding to the second operation;
所述被控设备根据所述操作结果生成响应消息,并将所述响应消息发送给所述主控设备。The controlled device generates a response message according to the operation result, and sends the response message to the master control device.
结合第二方面,在第二方面的第一种可能的实现方式中,在被控设备接收主控设备发送的操作指令之前,还包括:With reference to the second aspect, in the first possible implementation manner of the second aspect, before the controlled device receives the operation instruction sent by the master device, it further includes:
所述被控设备接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;所述被控设备根据所述请求消息,将所述第二操作界面的信息发送给所述主控设备;或The controlled device receives a request message sent by the master device, where the request message is used to request the controlled device to send information about the second operation interface displayed on the controlled device to the master a controlled device; the controlled device sends the information of the second operation interface to the master device according to the request message; or
所述被控设备将所述第二操作界面的信息发送给所述主控设备。The controlled device sends the information of the second operation interface to the master control device.
本发明的第三方面,提供一种主控设备,包括:A third aspect of the present invention provides a master control device, including:
接收模块,用于接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;A receiving module, configured to receive a first operation on the first operation interface displayed on the master device; wherein the first operation interface is an operation interface corresponding to the second operation interface displayed on the controlled device;
发送模块,用于将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;A sending module, configured to send an operation instruction corresponding to the first operation to the controlled device; the operation instruction is used for the controlled device to communicate with the second operation interface according to the operation instruction. performing a second operation corresponding to the first operation, so that the controlled device realizes the same function as the function to be realized by the first operation;
所述接收模块,还用于接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。The receiving module is further configured to receive a response message sent by the controlled device; the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction Respond to the message.
结合第三方面,在第三方面的第一种可能的实现方式中,所述主控设备还包括确定模块;With reference to the third aspect, in a first possible implementation manner of the third aspect, the master control device further includes a determination module;
所述接收模块还用于:在接收针对所述主控设备上显示的第一操作界面的第一操作之前,接收所述被控设备发送的所述第二操作界面的信息;The receiving module is further configured to: receive the information of the second operation interface sent by the controlled device before receiving the first operation on the first operation interface displayed on the master device;
所述确定模块用于:根据所述第二操作界面的信息,确定并显示所述第一操作界面。The determination module is configured to: determine and display the first operation interface according to the information of the second operation interface.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述确定模块具体用于:With reference to the first possible implementation of the third aspect, in a second possible implementation of the third aspect, the determining module is specifically configured to:
根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;determining an application corresponding to the second operation interface according to information on the second operation interface;
调用所述应用,并显示所述应用中的所述第一操作界面。calling the application, and displaying the first operation interface in the application.
本发明的第四方面,提供一种被控设备,包括:A fourth aspect of the present invention provides a controlled device, including:
接收模块,用于接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;The receiving module is configured to receive an operation instruction sent by the main control device; the operation instruction is an operation generated by the main control device according to the received first operation performed on the first operation interface displayed on the main control device instruction;
操作模块,用于根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;An operation module, configured to perform a second operation corresponding to the first operation on the second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device realizes the operation corresponding to the first operation. Operate the same function as the function to be realized; the second operation interface is an operation interface corresponding to the first operation interface;
获取模块,用于获取进行所述第二操作后所对应的操作结果;An acquisition module, configured to acquire a corresponding operation result after performing the second operation;
发送模块,用于所述被控设备根据所述操作结果生成响应消息,并将所述响应消息发送给所述主控设备。A sending module, configured for the controlled device to generate a response message according to the operation result, and send the response message to the master control device.
结合第四方面,在第四方面的第一种可能的实现方式中,In combination with the fourth aspect, in the first possible implementation of the fourth aspect,
所述接收模块还用于:在接收主控设备发送的操作指令之前,接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;所述发送模块还用于:根据所述请求消息,将所述第二操作界面的信息发送给所述主控设备;The receiving module is further configured to: before receiving the operation instruction sent by the master device, receive a request message sent by the master device, the request message is used to request the controlled device to display on the controlled device sending the information of the second operation interface to the main control device; the sending module is further configured to: send the information of the second operation interface to the main control device according to the request message;
或or
所述发送模块还用于:在所述接收模块接收主控设备发送的操作指令之前,将所述第二操作界面的信息发送给所述主控设备。The sending module is further configured to: send the information of the second operation interface to the main control device before the receiving module receives the operation instruction sent by the main control device.
本发明的第五方面,提供一种主控设备,包括连接到同一总线的存储器、处理器和收发器;A fifth aspect of the present invention provides a master control device, including a memory, a processor, and a transceiver connected to the same bus;
所述存储器,用于存储指令;The memory is used to store instructions;
所述收发器,用于接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;The transceiver is configured to receive a first operation on a first operation interface displayed on the master device; wherein the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device ;
所述处理器,用于执行所述指令,获取与所述第一操作对应的操作指令,并通过所述收发器将所述操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;The processor is configured to execute the instruction, obtain an operation instruction corresponding to the first operation, and send the operation instruction to the controlled device through the transceiver; the operation instruction is used for the The controlled device performs a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device realizes the same function as the function to be realized by the first operation ;
所述收发器,还用于接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。The transceiver is further configured to receive a response message sent by the controlled device; the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction Respond to the message.
结合第五方面,在第五方面的第一种可能的实现方式中,In combination with the fifth aspect, in the first possible implementation of the fifth aspect,
所述收发器还用于:在接收针对所述主控设备上显示的第一操作界面的第一操作之前,接收所述被控设备发送的所述第二操作界面的信息;The transceiver is further configured to: before receiving the first operation on the first operation interface displayed on the master device, receive the information of the second operation interface sent by the controlled device;
所述处理器还用于:根据所述第二操作界面的信息,确定并显示所述第一操作界面。The processor is further configured to: determine and display the first operation interface according to the information of the second operation interface.
结合第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述处理器还用于根据所述第二操作界面的信息,确定并显示所述第一操作界面,具体为:With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the processor is further configured to determine and display the second operation interface according to information on the second operation interface. An operation interface, specifically:
根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;determining an application corresponding to the second operation interface according to information on the second operation interface;
调用所述应用,并显示所述应用中的所述第一操作界面。calling the application, and displaying the first operation interface in the application.
本发明的第六方面,提供一种被控设备,包括连接到同一总线的存储器、处理器和收发器;A sixth aspect of the present invention provides a controlled device, including a memory, a processor, and a transceiver connected to the same bus;
所述存储器,用于存储指令;The memory is used to store instructions;
所述收发器,用于接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;The transceiver is configured to receive an operation instruction sent by the master control device; the operation instruction is generated by the master control device according to the received first operation performed on the first operation interface displayed on the master control device operating instructions;
所述处理器,用于执行所述指令,根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;获取进行所述第二操作后所对应的操作结果;根据所述操作结果生成响应消息,并通过所述收发器将所述响应消息发送给所述主控设备。The processor is configured to execute the instruction, and perform a second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device The device realizes the same function as the function to be realized by the first operation; the second operation interface is an operation interface corresponding to the first operation interface; the operation result corresponding to the second operation is acquired; according to A response message is generated as a result of the operation, and the response message is sent to the master control device through the transceiver.
结合第六方面,在第六方面的第一种可能的实现方式中,In combination with the sixth aspect, in the first possible implementation of the sixth aspect,
所述收发器还用于:在接收主控设备发送的操作指令之前,接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;所述处理器还用于:根据所述请求消息,通过所述收发器将所述第二操作界面的信息发送给所述主控设备;The transceiver is further configured to: before receiving the operation instruction sent by the master device, receive a request message sent by the master device, the request message is used to request the controlled device to display on the controlled device Send the information of the second operation interface to the main control device; the processor is further configured to: send the information of the second operation interface to the main control device through the transceiver according to the request message control equipment;
或or
所述收发器还用于:在接收主控设备发送的操作指令之前,将所述第二操作界面的信息发送给所述主控设备。The transceiver is further configured to: send the information of the second operation interface to the main control device before receiving the operation instruction sent by the main control device.
本发明实施例中,用户可以对主控设备进行操作,主控设备将用户进行的操作所对应的操作指令发给被控设备,被控设备根据接收的指令进行响应,在响应完毕后,被控设备向主控设备发送响应消息,这样主控设备就知道被控设备是否响应成功,从而知晓后续应该如何操作。可见,本发明实施例中,在主控设备和被控设备之间传输的都是信令,而非视频流,传输信令所需的传输资源显然比传输视频流所需的传输资源少,无需耗费较多的流量,可以节省传输资源。即使在网络不稳定的情况下,因为传输信令无需耗费较多的流量,也可以尽量保证传输的速率和成功率,从而提高远程控制的效率。并且,信令的传输速率高于视频流的传输速率,提高了远程控制过程中的信息传输速率。In the embodiment of the present invention, the user can operate the main control device, and the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, and the controlled device responds according to the received instruction. After the response is completed, the controlled device The control device sends a response message to the master control device, so that the master control device knows whether the controlled device responds successfully, and thus knows how to operate in the future. It can be seen that in the embodiment of the present invention, signaling is transmitted between the master device and the controlled device instead of video streams, and the transmission resources required for transmitting signaling are obviously less than those required for transmitting video streams. There is no need to consume more traffic, and transmission resources can be saved. Even in the case of an unstable network, because the transmission signaling does not need to consume more traffic, the transmission rate and success rate can be guaranteed as much as possible, thereby improving the efficiency of remote control. Moreover, the signaling transmission rate is higher than the video stream transmission rate, which increases the information transmission rate in the remote control process.
附图说明Description of drawings
图1为本发明实施例中一种远程控制方法的主要流程图;Fig. 1 is the main flowchart of a kind of remote control method in the embodiment of the present invention;
图2为本发明实施例中另一种远程控制方法的主要流程图;Fig. 2 is the main flowchart of another remote control method in the embodiment of the present invention;
图3为本发明实施例中主控设备的结构框图;FIG. 3 is a structural block diagram of a master control device in an embodiment of the present invention;
图4为本发明实施例中被控设备的结构框图;FIG. 4 is a structural block diagram of a controlled device in an embodiment of the present invention;
图5为本发明实施例中主控设备的结构示意图;FIG. 5 is a schematic structural diagram of a master control device in an embodiment of the present invention;
图6为本发明实施例中被控设备的结构示意图。FIG. 6 is a schematic structural diagram of a controlled device in an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供一种远程控制方法,所述方法包括:主控设备接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;所述主控设备将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述主控设备接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。An embodiment of the present invention provides a remote control method, the method comprising: a master control device receiving a first operation on a first operation interface displayed on the master control device; The operation interface corresponding to the second operation interface displayed on the device; the master control device sends the operation instruction corresponding to the first operation to the controlled device; the operation instruction is used by the controlled device according to the The operation instruction performs a second operation corresponding to the first operation on the second operation interface, so that the controlled device realizes the same function as the function to be realized by the first operation; the master control device receives A response message sent by the controlled device; the response message is a response message obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
本发明实施例中,用户可以对主控设备进行操作,主控设备将用户进行的操作所对应的操作指令发给被控设备,被控设备根据接收的指令进行响应,在响应完毕后,被控设备向主控设备发送响应消息,这样主控设备就知道被控设备是否响应成功,从而知晓后续应该如何操作。可见,本发明实施例中,在主控设备和被控设备之间传输的都是信令,而非视频流,传输信令所需的传输资源显然比传输视频流所需的传输资源少,无需耗费较多的流量,可以节省传输资源。即使在网络不稳定的情况下,因为传输信令无需耗费较多的流量,也可以尽量保证传输的速率和成功率,从而提高远程控制的效率。并且,信令的传输速率高于视频流的传输速率,提高了远程控制过程中的信息传输速率。In the embodiment of the present invention, the user can operate the main control device, and the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, and the controlled device responds according to the received instruction. After the response is completed, the controlled device The control device sends a response message to the master control device, so that the master control device knows whether the controlled device responds successfully, and thus knows how to operate in the future. It can be seen that in the embodiment of the present invention, signaling is transmitted between the master device and the controlled device instead of video streams, and the transmission resources required for transmitting signaling are obviously less than those required for transmitting video streams. There is no need to consume more traffic, and transmission resources can be saved. Even in the case of an unstable network, because the transmission signaling does not need to consume more traffic, the transmission rate and success rate can be guaranteed as much as possible, thereby improving the efficiency of remote control. Moreover, the signaling transmission rate is higher than the video stream transmission rate, which increases the information transmission rate in the remote control process.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are often used herein interchangeably. The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual objects are an "or" relationship.
本发明实施例中,被控设备中安装有待控制的应用,那么,主控设备中也可以安装相同的应用,或者,主控设备中可以安装一个或任意几个“万能应用”,所谓“万能应用”是指,通过一个这种应用,可以提供一个或多个应用所对应的控制界面。即,本发明实施例中,只要主控设备能够提供与被控设备所要控制的待控制的操作界面相同或相应的操作界面即可,对于主控设备中是否安装了与被控设备中相同的应用,本发明不作限制。In the embodiment of the present invention, if the application to be controlled is installed in the controlled device, the same application can also be installed in the master device, or one or several "universal applications" can be installed in the master device, so-called "universal application". "Application" means that one such application can provide control interfaces corresponding to one or more applications. That is, in the embodiment of the present invention, as long as the main control device can provide the same or corresponding operation interface as the operation interface to be controlled by the controlled device, whether the same application, the present invention is not limited.
同时,主控设备所提供的操作界面,与,可以是相同的操作界面,或者也可以是不同的操作界面,另外,主控设备所提供的操作界面,与被控设备中的待控制的操作界面,可以对应于同一应用,或者也可以对应于不同的应用,本发明均不限制,只要通过对主控设备所提供的操作界面进行操作能够实现与对被控设备中的待控制的操作界面进行操作所能实现的功能相同的功能即可。At the same time, the operation interface provided by the master control device may be the same as or different from the operation interface provided by the master control device. The interface can correspond to the same application, or it can also correspond to different applications. The present invention is not limited, as long as the operation interface provided by the master device can be realized by operating the operation interface to be controlled in the controlled device. The same function as the function that can be realized by performing the operation is sufficient.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.
请参见图1,本发明实施例提供一种远程控制方法,所述方法的主要流程描述如下。Referring to FIG. 1 , an embodiment of the present invention provides a remote control method, and the main flow of the method is described as follows.
步骤101:主控设备接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面。Step 101: The master control device receives a first operation on a first operation interface displayed on the master control device; wherein the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device.
本发明实施例中,一种典型的应用场景为:主控设备是手机、PAD(平板电脑)等便携式设备,被控设备是智能电视、智能冰箱、智能空调等设备,当然主控设备和被控设备都需要具有显示屏,即显示单元。In the embodiment of the present invention, a typical application scenario is: the main control device is a portable device such as a mobile phone, a PAD (tablet computer), and the controlled device is a smart TV, a smart refrigerator, a smart air conditioner, etc. Of course, the main control device and the controlled device All control devices need to have a display screen, that is, a display unit.
可选的,本发明实施例中,在步骤101之前,主控设备和被控设备可以首先建立连接。建立连接时,可以是主控设备主动建立,或者也可以是被控设备主动建立。Optionally, in this embodiment of the present invention, before step 101, the controlling device and the controlled device may first establish a connection. When establishing a connection, it may be established actively by the controlling device, or it may be established actively by the controlled device.
第一种:主控设备主动建立。The first type: the main control device actively establishes.
主控设备可以直接选择特定的被控设备进行连接,或者,主控设备可以为用户提供一个提示信息,该提示信息中包括有至少一个被控设备的信息,用户可以根据该提示信息选择一个被控设备的信息,则主控设备确定要连接该被控设备。The master control device can directly select a specific controlled device to connect to, or the master control device can provide the user with a prompt message, which includes information about at least one controlled device, and the user can select a controlled device according to the prompt message. If the information of the controlled device is not obtained, the master control device determines to connect to the controlled device.
主控设备向被控设备发送触发消息,被控设备接收到该触发消息后,将被控设备的显示单元上当前显示的、待控制的操作界面(即所述第二操作界面)的信息发送给主控设备。The master control device sends a trigger message to the controlled device, and after receiving the trigger message, the controlled device sends the information of the operation interface (that is, the second operation interface) currently displayed on the display unit of the controlled device to be controlled. to the master device.
主控设备接收到被控设备发送的第二操作界面的信息后,可以确定第二操作界面所对应的应用,也可以确定第二操作界面是该应用中的哪个操作界面,从而可以打开与第二操作界面对应的第一操作界面,至此,连接建立完毕。After receiving the information of the second operation interface sent by the controlled device, the main control device can determine the application corresponding to the second operation interface, and can also determine which operation interface in the application the second operation interface is, so that it can open the application corresponding to the second operation interface. The second operation interface corresponds to the first operation interface, so far, the connection is established.
其中,第一操作界面与第二操作界面可以是相同的操作界面,或者也可以是不同的操作界面,另外,第一操作界面与第二操作界面可以对应于同一应用,或者也可以对应于不同的应用,本发明均不限制,只要通过对第一操作界面进行操作能够实现与对第二操作界面进行操作所能实现的功能相同的功能即可。Wherein, the first operation interface and the second operation interface may be the same operation interface, or may be different operation interfaces. In addition, the first operation interface and the second operation interface may correspond to the same application, or may correspond to different applications. The application of the present invention is not limited, as long as the same function as the function that can be realized by operating the second operation interface can be realized by operating the first operation interface.
本发明实施例中,每个待控制的应用可以对应一个唯一用于标识该应用的信息,更进一步,一个待控制的应用中,如果只包括一个待控制的操作界面,则被控设备可以将该应用的信息直接作为该待控制的操作界面的信息发送给主控设备,主控设备根据该应用的信息,就可以知道具体应调用哪个应用,同时也知道应该打开哪个操作界面。而如果一个待控制的应用中包括有多个待控制的操作界面,那么,被控设备可以为该应用中每个待控制的操作界面分配一个标识,例如,如果一个待控制的应用中包括有多个待控制的操作界面,那么其中每个待控制的操作界面对应的唯一用于标识该操作界面的信息就可以是:该应用的信息+该操作界面的标识。例如,应用A包括有3个待控制的操作界面,则被控设备为这3个待控制的操作界面分别分配的标识为1、2、3,应用A的信息为A,则,这3个待控制的操作界面所对应的信息就分别为A1、A2和A3。这样,主控设备在接收到其中任一个操作界面的信息后,都可以根据接收的操作界面的信息确定出该操作界面是哪个应用中的哪个操作界面。只要主控设备与被控设备事先约定好,则被控设备只需将待控制的操作界面的信息发送给主控设备,主控设备就知道需要打开哪个操作界面。In the embodiment of the present invention, each application to be controlled can correspond to a unique information used to identify the application. Furthermore, if an application to be controlled only includes one operation interface to be controlled, the controlled device can use the The information of the application is directly sent to the main control device as the information of the operation interface to be controlled, and the main control device can know which application should be called and which operation interface should be opened according to the information of the application. And if an application to be controlled includes multiple operation interfaces to be controlled, then the controlled device can assign an identifier to each operation interface to be controlled in the application, for example, if an application to be controlled includes If there are multiple operation interfaces to be controlled, the unique information for identifying the operation interface corresponding to each operation interface to be controlled may be: the information of the application + the identification of the operation interface. For example, if application A includes three operation interfaces to be controlled, the controlled device assigns 1, 2, and 3 to the three operation interfaces to be controlled, and the information of application A is A. Then, the three The information corresponding to the operation interface to be controlled is respectively A1, A2 and A3. In this way, after receiving the information of any one of the operation interfaces, the main control device can determine which operation interface in which application the operation interface is based on the received information of the operation interface. As long as the master control device and the controlled device have agreed in advance, the controlled device only needs to send the information of the operation interface to be controlled to the master control device, and the master control device will know which operation interface needs to be opened.
第二种:被控设备主动建立。The second type: the controlled device is actively established.
被控设备上打开了一个待控制的操作界面,例如本发明实施例中将该操作界面称为第二操作界面。被控设备需要接受主控设备的控制,则被控设备主动向主控设备发送第二操作界面的信息。An operation interface to be controlled is opened on the controlled device, for example, the operation interface is referred to as the second operation interface in the embodiment of the present invention. The controlled device needs to accept the control of the master device, and the controlled device actively sends the information of the second operation interface to the master device.
主控设备接收到被控设备发送的第二操作界面的信息后,可以确定第二操作界面所对应的应用,也可以确定第二操作界面是该应用中的哪个操作界面,从而可以打开与第二操作界面对应的第一操作界面,至此,连接建立完毕。After receiving the information of the second operation interface sent by the controlled device, the main control device can determine the application corresponding to the second operation interface, and can also determine which operation interface in the application the second operation interface is, so that it can open the application corresponding to the second operation interface. The second operation interface corresponds to the first operation interface, so far, the connection is established.
在连接建立之后,用户可以通过对主控设备上显示的第一操作界面的操作来控制被控设备。例如用户对第一操作界面进行了一个操作,本发明实施例中将该操作称为第一操作,那么主控设备可以接收该第一操作。After the connection is established, the user can control the controlled device by operating the first operation interface displayed on the master device. For example, if the user performs an operation on the first operation interface, which is referred to as the first operation in the embodiment of the present invention, the master control device may receive the first operation.
可选的,本发明实施例中,在建立连接时,无论是由主控设备主动建立,还是由被控设备主动建立,所述主控设备根据所述第二操作界面的信息,确定并显示所述第一操作界面,包括:Optionally, in this embodiment of the present invention, when a connection is established, whether it is actively established by the master control device or by the controlled device, the master control device determines and displays the The first operation interface includes:
所述主控设备根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;The main control device determines the application corresponding to the second operation interface according to the information of the second operation interface;
所述主控设备调用所述应用,并显示所述应用中的所述第一操作界面。The main control device invokes the application, and displays the first operation interface in the application.
即,主控设备根据第二操作界面的信息,就可以确定与第二操作界面对应的应用。本发明实施例中,主控设备可以直接确定在主控设备中安装的、与第二操作界面对应的应用,因此,主控设备所确定的应用,与安装在被控设备中的、第二操作界面对应的应用,可以是同一应用,或者也可以是不同的应用,只要通过主控设备确定出的安装在主控设备中的该应用所提供的第一操作界面能够实现与第二操作界面相同的功能即可。That is, the main control device can determine the application corresponding to the second operation interface according to the information on the second operation interface. In the embodiment of the present invention, the master control device can directly determine the application installed in the master device and corresponding to the second operation interface. Therefore, the application determined by the master control device is different from the second operation interface installed in the controlled device. The application corresponding to the operation interface may be the same application, or may be a different application, as long as the first operation interface provided by the application installed in the main control device determined by the main control device can realize the same operation as the second operation interface. The same function will do.
主控设备在确定该应用之后,即可调用该应用,并通过该应用打开并显示第一操作界面。After determining the application, the main control device can invoke the application, and open and display the first operation interface through the application.
步骤102:所述主控设备将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能。Step 102: The master control device sends an operation instruction corresponding to the first operation to the controlled device; the operation instruction is used for the controlled device to perform operations on the second operation interface according to the operation instruction. A second operation corresponding to the first operation, so that the controlled device realizes the same function as the function to be realized by the first operation.
在接收第一操作之后,主控设备可以获得第一操作对应的操作指令,从而,主控设备可以将操作指令发送给被控设备。被控设备在接收到该操作指令后,可以根据该操作指令对第二操作界面进行第二操作,第一操作与第二操作可以是相同的操作,或者也可以是不同的操作,只要满足以下条件即可:通过对第一操作界面执行第一操作,和通过对第二操作界面执行第二操作,所能够实现的功能相同。After receiving the first operation, the master control device may obtain an operation instruction corresponding to the first operation, so that the master control device may send the operation instruction to the controlled device. After receiving the operation instruction, the controlled device can perform a second operation on the second operation interface according to the operation instruction. The first operation and the second operation can be the same operation or different operations, as long as the following conditions are met: The only condition is: the functions that can be realized by performing the first operation on the first operation interface and the second operation on the second operation interface are the same.
本发明实施例中,主控设备发送给被控设备的是指令,而指令所占用的比特量较小,便于传输,且传输效率较高。In the embodiment of the present invention, what the master control device sends to the controlled device is an instruction, and the bit amount occupied by the instruction is small, which is convenient for transmission and has high transmission efficiency.
步骤103:所述主控设备接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。Step 103: The master control device receives a response message sent by the controlled device; the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction Respond to the message.
被控设备在对第二操作界面进行第二操作之后,可以根据操作结果生成该响应消息,该响应消息可以用于告知主控设备,被控设备是否响应成功。例如,该响应消息中可以用一个比特来承载该操作结果,若该比特的值为“1”,表明响应成功,若该比特的值为“0”,表明响应失败。当然,被控设备也可以采用其他方式来将该操作结果添加到响应消息中。总之,该响应消息是一个信令,被控设备只需向主控设备传输一个信令,主控设备就可以知道被控设备是否响应成功,而被控设备无需像现有技术中那样要向主控设备反馈视频流。本发明实施例中,被控设备向主控设备反馈的是比特量较小的信令,提高了传输速率,即使在网络不稳定的情况下,因为信令所占用的比特量较小,因此一般也不会影响到到信令的传输,尽量避免了因无法传输视频流而导致远程控制无法实现,提高了远程控制的成功率。After the controlled device performs the second operation on the second operation interface, it may generate the response message according to the operation result, and the response message may be used to inform the controlling device whether the controlled device responds successfully. For example, a bit may be used in the response message to carry the operation result. If the value of the bit is "1", it indicates that the response is successful, and if the value of the bit is "0", it indicates that the response fails. Of course, the controlled device may also use other methods to add the operation result to the response message. In short, the response message is a signaling, and the controlled device only needs to transmit a signaling to the master device, and the master device can know whether the controlled device responds successfully, and the controlled device does not need to send a signal to the master device as in the prior art. The main control device feeds back the video stream. In the embodiment of the present invention, the controlled device feeds back signaling with a small amount of bits to the master device, which improves the transmission rate. Generally, it will not affect the transmission of signaling, and try to avoid the failure of remote control due to the inability to transmit video streams, and improve the success rate of remote control.
请参见图2,基于同一发明构思,本发明实施例提供另一种远程控制方法,所述方法的主要流程描述如下。Referring to FIG. 2 , based on the same inventive concept, an embodiment of the present invention provides another remote control method, and the main flow of the method is described as follows.
步骤201:被控设备接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;Step 201: The controlled device receives an operation instruction sent by the master device; the operation instruction is generated by the master device according to the received first operation on the first operation interface displayed on the master device operating instructions;
步骤202:所述被控设备根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;Step 202: The controlled device performs a second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device realizes The same function as the function to be realized by the first operation; the second operation interface is an operation interface corresponding to the first operation interface;
步骤203:所述被控设备获取进行所述第二操作后所对应的操作结果;Step 203: The controlled device obtains the corresponding operation result after performing the second operation;
步骤204:所述被控设备根据所述操作结果生成响应消息,并将所述响应消息发送给所述主控设备。Step 204: The controlled device generates a response message according to the operation result, and sends the response message to the master control device.
可选的,本发明实施例中,在被控设备接收主控设备发送的操作指令之前,还包括:Optionally, in this embodiment of the present invention, before the controlled device receives the operation instruction sent by the master device, it further includes:
所述被控设备接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;The controlled device receives a request message sent by the master device, where the request message is used to request the controlled device to send information about the second operation interface displayed on the controlled device to the master control equipment;
所述被控设备根据所述请求消息,将所述第二操作界面的信息发送所述主控设备;或The controlled device sends the information of the second operation interface to the master device according to the request message; or
所述被控设备将所述第二操作界面的信息发送给所述主控设备。The controlled device sends the information of the second operation interface to the master control device.
即,在执行步骤201之前,主控设备和被控设备可以首先建立连接,在主控设备和被控设备建立连接之后,用户可以对主控设备上显示的、用于控制被控设备的第一操作界面进行操作,例如将该操作称为第一操作。具体主控设备和被控设备建立连接的方法,在图1流程中已有描述。That is, before step 201 is performed, the master device and the controlled device may establish a connection first, and after the master device and the controlled device establish a connection, the user may control the controlled device displayed on the master device. An operation interface is used for operation, for example, this operation is referred to as the first operation. The specific method for establishing a connection between the master device and the controlled device has been described in the flow chart in FIG. 1 .
在用户进行第一操作之后,主控设备即可根据第一操作生成操作指令,并可以将该操作指令发送给被控设备。After the user performs the first operation, the master control device can generate an operation instruction according to the first operation, and can send the operation instruction to the controlled device.
被控设备上显示有第二操作界面,被控设备接收该操作指令后,即可根据该操作指令,对第二操作界面进行与第一操作相应的操作,例如将该操作称为第二操作。被控设备对该第二操作界面进行第二操作所能够完成的功能,与主控设备对第一操作界面进行第一操作所能够完成的功能相同,第二操作与第一操作可以是相同的操作,或者也可以是不同的操作,本发明不作限制。There is a second operation interface displayed on the controlled device. After receiving the operation instruction, the controlled device can perform operations corresponding to the first operation on the second operation interface according to the operation instruction. For example, this operation is called the second operation . The function that the controlled device can perform the second operation on the second operation interface is the same as the function that the master control device can perform the first operation on the first operation interface, and the second operation can be the same as the first operation operation, or may also be a different operation, which is not limited in the present invention.
被控设备在对第二操作界面进行第二操作后,即可获得一个操作结果,该操作结果例如是操作成功或操作失败,则被控设备可以根据该操作结果生成响应消息,并将该响应消息发送给主控设备,从而主控设备根据该响应消息就可以知道被控设备是否响应成功,从而确定下一步该如何操作。After the controlled device performs the second operation on the second operation interface, it can obtain an operation result, such as operation success or operation failure, then the controlled device can generate a response message according to the operation result, and send the response The message is sent to the master control device, so that the master control device can know whether the controlled device responds successfully according to the response message, so as to determine how to operate in the next step.
本发明实施例中,被控设备只需向主控设备传输一个信令(即该响应消息),主控设备就可以知道被控设备是否响应成功,而被控设备无需像现有技术中那样要向主控设备反馈视频流。本发明实施例中,被控设备向主控设备反馈的是比特量较小的信令,提高了传输速率,即使在网络不稳定的情况下,因为信令所占用的比特量较小,因此一般也不会影响到到信令的传输,尽量避免了因无法传输视频流而导致远程控制无法实现,提高了远程控制的成功率。In the embodiment of the present invention, the controlled device only needs to transmit a signaling (that is, the response message) to the master device, and the master device can know whether the controlled device responds successfully, and the controlled device does not need to It is necessary to feed back the video stream to the master device. In the embodiment of the present invention, the controlled device feeds back signaling with a small amount of bits to the master device, which improves the transmission rate. Generally, it will not affect the transmission of signaling, and try to avoid the failure of remote control due to the inability to transmit video streams, and improve the success rate of remote control.
本发明实施例中,图2流程与图1流程是相应的流程,凡是在图2流程中没有详细介绍的内容,在图1流程中都已有描述。In the embodiment of the present invention, the flow chart in FIG. 2 and the flow chart in FIG. 1 are corresponding flows, and any content not described in detail in the flow chart in FIG. 2 has been described in the flow chart in FIG. 1 .
请参见图3,基于同一发明构思,本发明实施例提供一种主控设备,所述主控设备可以包括接收模块301和发送模块302。Referring to FIG. 3 , based on the same inventive concept, an embodiment of the present invention provides a master control device, and the master control device may include a receiving module 301 and a sending module 302 .
接收模块301,用于接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;The receiving module 301 is configured to receive a first operation on the first operation interface displayed on the master device; wherein the first operation interface is an operation interface corresponding to the second operation interface displayed on the controlled device;
发送模块302,用于将所述第一操作对应的操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;The sending module 302 is configured to send an operation instruction corresponding to the first operation to the controlled device; the operation instruction is used for the controlled device to communicate with the second operation interface according to the operation instruction. a second operation corresponding to the first operation, so that the controlled device realizes the same function as the function to be realized by the first operation;
接收模块301,还用于接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。The receiving module 301 is further configured to receive a response message sent by the controlled device; the response message is a response obtained by the controlled device after performing the second operation on the second operation interface according to the operation instruction information.
可选的,本发明实施例中,所述主控设备还包括确定模块;Optionally, in the embodiment of the present invention, the main control device further includes a determination module;
接收模块301还用于:在接收针对所述主控设备上显示的第一操作界面的第一操作之前,接收所述被控设备发送的所述第二操作界面的信息;The receiving module 301 is further configured to: before receiving the first operation on the first operation interface displayed on the master device, receive the information of the second operation interface sent by the controlled device;
所述确定模块用于:根据所述第二操作界面的信息,确定并显示所述第一操作界面。The determination module is configured to: determine and display the first operation interface according to the information of the second operation interface.
可选的,本发明实施例中,所述确定模块具体用于:Optionally, in the embodiment of the present invention, the determination module is specifically used to:
根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;determining an application corresponding to the second operation interface according to information on the second operation interface;
调用所述应用,并显示所述应用中的所述第一操作界面。calling the application, and displaying the first operation interface in the application.
请参见图4,基于同一发明构思,本发明实施例提供一种被控设备,所述被控设备可以包括接收模块401、操作模块402、获取模块403和发送模块404。Referring to FIG. 4 , based on the same inventive concept, an embodiment of the present invention provides a controlled device, and the controlled device may include a receiving module 401 , an operating module 402 , an acquiring module 403 and a sending module 404 .
接收模块401,用于接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;The receiving module 401 is configured to receive an operation instruction sent by the main control device; the operation instruction is generated by the main control device according to the received first operation performed on the first operation interface displayed on the main control device operating instructions;
操作模块402,用于根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;An operation module 402, configured to perform a second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device realizes the operation corresponding to the first operation. The same function as the function to be realized by an operation; the second operation interface is an operation interface corresponding to the first operation interface;
获取模块403,用于获取进行所述第二操作后所对应的操作结果;An obtaining module 403, configured to obtain a corresponding operation result after performing the second operation;
发送模块404,用于所述被控设备根据所述操作结果生成响应消息,并将所述响应消息发送给所述主控设备。A sending module 404, configured for the controlled device to generate a response message according to the operation result, and send the response message to the master control device.
可选的,本发明实施例中,Optionally, in the embodiment of the present invention,
接收模块401还用于:在接收所述主控设备发送的操作指令之前,接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;发送模块404还用于:根据所述请求消息,将所述第二操作界面的信息发送给所述主控设备;The receiving module 401 is further configured to: before receiving the operation instruction sent by the master device, receive a request message sent by the master device, the request message is used to request the controlled device to The displayed information of the second operation interface is sent to the main control device; the sending module 404 is further configured to: send the information of the second operation interface to the main control device according to the request message;
或or
发送模块404还用于:在接收模块401接收主控设备发送的操作指令之前,将所述第二操作界面的信息发送给所述主控设备。The sending module 404 is further configured to: send the information of the second operation interface to the main control device before the receiving module 401 receives the operation instruction sent by the main control device.
请参见图5,基于同一发明构思,本发明实施例提供一种主控设备,所述主控设备可以包括连接到总线500的存储器501、处理器502和收发器503。Referring to FIG. 5 , based on the same inventive concept, an embodiment of the present invention provides a master control device, and the master control device may include a memory 501 connected to a bus 500 , a processor 502 and a transceiver 503 .
存储器501,用于存储处理器502执行任务所需的指令;The memory 501 is used to store instructions required by the processor 502 to perform tasks;
收发器503,用于接收针对所述主控设备上显示的第一操作界面的第一操作;其中,所述第一操作界面为与被控设备上显示的第二操作界面对应的操作界面;The transceiver 503 is configured to receive a first operation on the first operation interface displayed on the master device; wherein the first operation interface is an operation interface corresponding to the second operation interface displayed on the controlled device;
处理器502,用于执行所述指令,获取与所述第一操作对应的操作指令,并通过收发器503将所述操作指令发送给所述被控设备;所述操作指令用于所述被控设备根据所述操作指令对所述第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;The processor 502 is configured to execute the instruction, obtain an operation instruction corresponding to the first operation, and send the operation instruction to the controlled device through the transceiver 503; the operation instruction is used for the controlled device The controlled device performs a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device realizes the same function as the function to be realized by the first operation;
收发器503,还用于接收所述被控设备发送的响应消息;所述响应消息为所述被控设备根据所述操作指令对所述第二操作界面进行所述第二操作后得到的响应消息。The transceiver 503 is further configured to receive a response message sent by the controlled device; the response message is a response obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction information.
可选的,本发明实施例中,Optionally, in the embodiment of the present invention,
收发器503还用于:在接收针对所述主控设备上显示的第一操作界面的第一操作之前,接收所述被控设备发送的所述第二操作界面的信息;The transceiver 503 is further configured to: receive the information of the second operation interface sent by the controlled device before receiving the first operation on the first operation interface displayed on the master control device;
处理器502还用于:根据所述第二操作界面的信息,确定并显示所述第一操作界面。The processor 502 is further configured to: determine and display the first operation interface according to the information of the second operation interface.
可选的,本发明实施例中,处理器502还用于根据所述第二操作界面的信息,确定并显示所述第一操作界面,具体为:Optionally, in this embodiment of the present invention, the processor 502 is further configured to determine and display the first operation interface according to the information of the second operation interface, specifically:
根据所述第二操作界面的信息,确定与所述第二操作界面对应的应用;determining an application corresponding to the second operation interface according to information on the second operation interface;
调用所述应用,并显示所述应用中的所述第一操作界面。calling the application, and displaying the first operation interface in the application.
请参见图6,基于同一发明构思,本发明实施例提供一种被控设备,所述被控设备可以包括连接到总线600的存储器601、处理器602和收发器603。Referring to FIG. 6 , based on the same inventive concept, an embodiment of the present invention provides a controlled device, and the controlled device may include a memory 601 connected to a bus 600 , a processor 602 and a transceiver 603 .
存储器601,用于存储处理器602执行任务所需的指令;The memory 601 is used to store instructions required by the processor 602 to perform tasks;
收发器603,用于接收主控设备发送的操作指令;所述操作指令为所述主控设备根据接收的、针对所述主控设备上显示的第一操作界面进行的第一操作所生成的操作指令;The transceiver 603 is configured to receive an operation instruction sent by the master control device; the operation instruction is generated by the master control device according to the received first operation performed on the first operation interface displayed on the master control device operating instructions;
处理器602,用于执行所述指令,根据所述操作指令,对所述被控设备上显示的第二操作界面进行与所述第一操作相应的第二操作,以使所述被控设备实现与所述第一操作所要实现的功能相同的功能;所述第二操作界面为与所述第一操作界面对应的操作界面;获取进行所述第二操作后所对应的操作结果;根据所述操作结果生成响应消息,并通过收发器603将所述响应消息发送给所述主控设备。The processor 602 is configured to execute the instruction, and perform a second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction, so that the controlled device Realize the same function as the function to be realized by the first operation; the second operation interface is an operation interface corresponding to the first operation interface; obtain the corresponding operation result after performing the second operation; according to the Generate a response message based on the above operation result, and send the response message to the main control device through the transceiver 603 .
可选的,本发明实施例中,Optionally, in the embodiment of the present invention,
收发器603还用于:在接收主控设备发送的操作指令之前,接收所述主控设备发送的请求消息,所述请求消息用于请求所述被控设备将所述被控设备上显示的所述第二操作界面的信息发送给所述主控设备;处理器602还用于:根据所述请求消息,通过收发器603将所述第二操作界面的信息发送给所述主控设备;The transceiver 603 is further configured to: before receiving the operation instruction sent by the master device, receive a request message sent by the master device, where the request message is used to request the controlled device to display the The information of the second operation interface is sent to the main control device; the processor 602 is further configured to: send the information of the second operation interface to the main control device through the transceiver 603 according to the request message;
或or
收发器603还用于:在接收主控设备发送的操作指令之前,将所述第二操作界面的信息发送给所述主控设备。The transceiver 603 is further configured to: before receiving the operation instruction sent by the main control device, send the information of the second operation interface to the main control device.
本发明实施例中,用户可以对主控设备进行操作,主控设备将用户进行的操作所对应的操作指令发给被控设备,被控设备根据接收的指令进行响应,在响应完毕后,被控设备向主控设备发送响应消息,这样主控设备就知道被控设备是否响应成功,从而知晓后续应该如何操作。可见,本发明实施例中,在主控设备和被控设备之间传输的都是信令,而非视频流,传输信令所需的传输资源显然比传输视频流所需的传输资源少,无需耗费较多的流量,可以节省传输资源。即使在网络不稳定的情况下,因为传输信令无需耗费较多的流量,也可以尽量保证传输的速率和成功率,从而提高远程控制的效率。并且,信令的传输速率高于视频流的传输速率,提高了远程控制过程中的信息传输速率。In the embodiment of the present invention, the user can operate the main control device, and the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, and the controlled device responds according to the received instruction. After the response is completed, the controlled device The control device sends a response message to the master control device, so that the master control device knows whether the controlled device responds successfully, and thus knows how to operate in the future. It can be seen that in the embodiment of the present invention, signaling is transmitted between the master device and the controlled device instead of video streams, and the transmission resources required for transmitting signaling are obviously less than those required for transmitting video streams. There is no need to consume more traffic, and transmission resources can be saved. Even in the case of an unstable network, because the transmission signaling does not need to consume more traffic, the transmission rate and success rate can be guaranteed as much as possible, thereby improving the efficiency of remote control. Moreover, the signaling transmission rate is higher than the video stream transmission rate, which increases the information transmission rate in the remote control process.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者基站等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for enabling a computer device (which may be a personal computer, a server, or a base station, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,以上实施例仅用以对本申请的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明的方法及其核心思想,不应理解为对本发明的限制。本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。As mentioned above, the above embodiments are only used to introduce the technical solutions of the present application in detail, but the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention, and should not be construed as limiting the present invention. Within the technical scope disclosed in the present invention, any changes or substitutions that can be easily conceived by those skilled in the art shall fall within the protection scope of the present invention.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510087250.8A CN105991736B (en) | 2015-02-25 | 2015-02-25 | A remote control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510087250.8A CN105991736B (en) | 2015-02-25 | 2015-02-25 | A remote control method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105991736A true CN105991736A (en) | 2016-10-05 |
| CN105991736B CN105991736B (en) | 2019-03-19 |
Family
ID=57037694
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510087250.8A Active CN105991736B (en) | 2015-02-25 | 2015-02-25 | A remote control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105991736B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107817962A (en) * | 2017-10-26 | 2018-03-20 | 百度在线网络技术(北京)有限公司 | A kind of long-range control method, device, control server and storage medium |
| CN118282791A (en) * | 2024-03-28 | 2024-07-02 | 九牧厨卫股份有限公司 | Remote control method, device, system, equipment and medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102932695A (en) * | 2012-11-02 | 2013-02-13 | 华为技术有限公司 | Remote control method, intelligent terminal and intelligent remote control system |
| CN102984233A (en) * | 2012-11-19 | 2013-03-20 | 北京奇虎科技有限公司 | Device and method for transmitting data in remote assistance |
| CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
| CN104135683A (en) * | 2014-07-16 | 2014-11-05 | 深圳创维数字技术股份有限公司 | Remote control method for intelligent equipment, related equipment and system |
| CN104184805A (en) * | 2014-08-13 | 2014-12-03 | Tcl通讯(宁波)有限公司 | Method and system for carrying out remote real-time control on mobile terminals |
-
2015
- 2015-02-25 CN CN201510087250.8A patent/CN105991736B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102932695A (en) * | 2012-11-02 | 2013-02-13 | 华为技术有限公司 | Remote control method, intelligent terminal and intelligent remote control system |
| CN102984233A (en) * | 2012-11-19 | 2013-03-20 | 北京奇虎科技有限公司 | Device and method for transmitting data in remote assistance |
| CN103763392A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Control method, device and system for equipment |
| CN104135683A (en) * | 2014-07-16 | 2014-11-05 | 深圳创维数字技术股份有限公司 | Remote control method for intelligent equipment, related equipment and system |
| CN104184805A (en) * | 2014-08-13 | 2014-12-03 | Tcl通讯(宁波)有限公司 | Method and system for carrying out remote real-time control on mobile terminals |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107817962A (en) * | 2017-10-26 | 2018-03-20 | 百度在线网络技术(北京)有限公司 | A kind of long-range control method, device, control server and storage medium |
| CN107817962B (en) * | 2017-10-26 | 2021-05-04 | 百度在线网络技术(北京)有限公司 | Remote control method, device, control server and storage medium |
| CN118282791A (en) * | 2024-03-28 | 2024-07-02 | 九牧厨卫股份有限公司 | Remote control method, device, system, equipment and medium |
| CN118282791B (en) * | 2024-03-28 | 2025-12-30 | 九牧厨卫股份有限公司 | A remote control method, device, system, equipment, and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105991736B (en) | 2019-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101532369B1 (en) | Remote control device and method of portable terminal | |
| WO2021217964A1 (en) | Screen projection method and apparatus, electronic device, and storage medium | |
| EP4099690A1 (en) | Enhanced video call method and system, and electronic device | |
| WO2019134306A1 (en) | Message processing method, device, terminal apparatus, and readable storage medium | |
| US9065788B2 (en) | Method, device and system for voice communication | |
| CN104144093A (en) | Intelligent device control method, relevant device and system | |
| WO2014067256A1 (en) | Remote control method, intelligent terminal and intelligent remote control system | |
| CN110166439B (en) | Device sharing method, terminal, router and server | |
| CN108650667B (en) | Terminal scheduling method and device | |
| CN103856374A (en) | Data transmission method, terminal and home interconnected system | |
| WO2021228131A1 (en) | Information transmission method and apparatus, and electronic device | |
| CN107770881A (en) | Transmit the method and device of data | |
| KR102133514B1 (en) | Status message service providing method of electronic apparatus and electronic apparatus thereof | |
| CN107479911A (en) | Download method, user equipment and the application server of application program | |
| CN110581976B (en) | Teleconferencing method, apparatus, computer system and readable storage medium | |
| JP6345254B2 (en) | Video communication termination method and apparatus | |
| CN106302093B (en) | Communication method, system and server | |
| CN105991736A (en) | Remote control method and device | |
| CN106210362A (en) | Call method and device | |
| CN103795856A (en) | Information processing method and electronic device | |
| CN117411827A (en) | Data transmission method and device, storage medium and computer equipment | |
| CN103873682B (en) | A kind of information processing method and electronic equipment | |
| CN113556716B (en) | Image content sharing method, device and head-mounted display device | |
| CN107155083B (en) | Multi-terminal multimedia data processing method, device and system | |
| CN106488537B (en) | Sending method, device and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |