CN105991736B - A kind of long-range control method and equipment - Google Patents
A kind of long-range control method and equipment Download PDFInfo
- Publication number
- CN105991736B CN105991736B CN201510087250.8A CN201510087250A CN105991736B CN 105991736 B CN105991736 B CN 105991736B CN 201510087250 A CN201510087250 A CN 201510087250A CN 105991736 B CN105991736 B CN 105991736B
- Authority
- CN
- China
- Prior art keywords
- operation interface
- main control
- controlled device
- control device
- controlled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000004044 response Effects 0.000 claims abstract description 58
- 230000006870 function Effects 0.000 claims description 45
- 230000005540 biological transmission Effects 0.000 abstract description 35
- 230000011664 signaling Effects 0.000 description 21
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of long-range control methods, remotely control for solving because to realize the technical problem for causing efficiency of transmission lower by transmitting video-frequency flow.The described method includes: receiving the first operation for the first operation interface shown on main control device;Wherein, first operation interface is operation interface corresponding with the second operation interface shown on controlled device;The corresponding operational order of first operation is sent to the controlled device;The operational order carries out the second operation corresponding with first operation to second operation interface according to the operational order for the controlled device, so that the controlled device realizes function identical with first function to be realized of operation;Receive the response message that the controlled device is sent;The response message is that the controlled device carries out the response message obtained after second operation according to the operational order to second operation interface.The invention also discloses corresponding equipment.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a remote control method and device.
Background
Remote control is a technology in which one computer (for example, referred to as a master or a client) remotely controls another computer (for example, referred to as a controlled or a server) over a network.
At present, to implement remote control between two electronic devices, a controlled end generally transmits an interface to be controlled to a main control end in a video stream manner, the main control end receives the video stream and then obtains the interface to be controlled, so as to operate on the interface to be controlled, and then the main control end sends an instruction corresponding to the operation to the controlled end, or the main control end sends the interface after operation to the controlled end in a video stream manner besides sending the instruction, so that the controlled end can perform corresponding operation according to the received instruction. After the operation is completed, if the controlled end wants to send the operation completed result to the main control end, the controlled end will also send the interface after the operation is completed in a video stream mode.
Therefore, in the prior art, remote control is basically realized by transmitting video streams, the requirement of video stream transmission on a network is high, real-time video stream transmission is greatly influenced under the condition that the network is unstable, the transmission efficiency is low, and even transmission cannot be realized, so that remote control cannot be realized. Moreover, the transmission of the video stream also needs to consume more traffic, which wastes transmission resources.
Disclosure of Invention
The embodiment of the invention provides a remote control method, which is used for solving the technical problem of low transmission efficiency caused by the fact that remote control is realized by transmitting video streams.
In a first aspect of the present invention, a remote control method is provided, including:
the method comprises the steps that a main control device receives first operation aiming at a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a 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 perform a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device can realize the same function as the function to be realized by the first operation;
the master control equipment receives a response message sent by the controlled equipment; and the response message is 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 main control device receives a first operation on a first operation interface displayed on the main control device, the method further includes:
the master control device receives the information of the second operation interface sent by the controlled device;
and the main control equipment determines and displays the first operation interface according to the information of the second operation interface.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the determining and displaying, by the master device, the first operation interface according to the information of the second operation interface includes:
the master control equipment determines an application corresponding to the second operation interface according to the information of the second operation interface;
and the master control equipment calls the application and displays the first operation interface in the application.
In a second aspect of the present invention, a remote control method is provided, including:
the controlled equipment receives an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
the controlled device performs 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 can 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;
the controlled device acquires an operation result corresponding to the second operation;
and the controlled equipment generates a response message according to the operation result and sends the response message to the main control equipment.
With reference to the second aspect, in a first possible implementation manner of the second aspect, before the controlled device receives the operation instruction sent by the main control device, the method further includes:
the controlled device receives a request message sent by the master control device, wherein the request message is used for requesting the controlled device to send the information of the second operation interface displayed on the controlled device to the master control device; the controlled equipment sends the information of the second operation interface to the main control equipment according to the request message; or
And the controlled equipment sends the information of the second operation interface to the main control equipment.
In a third aspect of the present invention, a master control device is provided, including:
the receiving module is used for receiving first operation aiming at a first operation interface displayed on the main control equipment; the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device;
the sending module is used for sending the operation instruction corresponding to the first operation to the controlled equipment; 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 can realize 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; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the master device further includes a determining module;
the receiving module is further configured to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the determination module is to: and determining and displaying the first operation interface according to the information of the second operation interface.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the determining module is specifically configured to:
determining an application corresponding to the second operation interface according to the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
In a fourth aspect of the present invention, there is provided a controlled device including:
the receiving module is used for receiving an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
the operation module is used for performing second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction so as to enable the controlled device to 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;
the acquisition module is used for acquiring an operation result corresponding to the second operation;
and the sending module is used for generating a response message by the controlled equipment according to the operation result and sending the response message to the main control equipment.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect,
the receiving module is further configured to: before receiving an operation instruction sent by a master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the sending module is further configured to: sending the information of the second operation interface to the main control equipment according to the request message;
or
The sending module is further configured to: and before the receiving module receives an operation instruction sent by a main control device, sending the information of the second operation interface to the main control device.
In a fifth aspect of the present invention, there is provided a master device comprising a memory, a processor and a transceiver connected to the same bus;
the memory to store instructions;
the transceiver is used for receiving a first operation aiming at a first operation interface displayed on the main control equipment; 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, acquire 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 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 can realize the same function as the function to be realized by the first operation;
the transceiver is further used for receiving a response message sent by the controlled device; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect,
the transceiver is further configured to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the processor is further configured to: and determining and displaying 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 first operation interface according to the information of the second operation interface, specifically:
determining an application corresponding to the second operation interface according to the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
A sixth aspect of the present invention provides a controlled device, comprising a memory, a processor, and a transceiver connected to the same bus;
the memory to store instructions;
the transceiver is used for receiving an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
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 realizes a function identical to a function to be realized by the first operation; the second operation interface is an operation interface corresponding to the first operation interface; acquiring an operation result corresponding to the second operation; and generating a response message according to the operation result, and sending the response message to the main control equipment through the transceiver.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect,
the transceiver is further configured to: before receiving an operation instruction sent by a master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the processor is further configured to: according to the request message, sending the information of the second operation interface to the main control equipment through the transceiver;
or
The transceiver is further configured to: and before receiving an operation instruction sent by the main control equipment, sending the information of the second operation interface to the main control equipment.
In the embodiment of the invention, the user can operate the main control device, the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, the controlled device responds according to the received instruction, and after the response is finished, the controlled device sends the response message to the main control device, so that the main control device knows whether the controlled device responds successfully or not, and knows how to operate subsequently. Therefore, in the embodiment of the invention, signaling is transmitted between the master control device and the controlled device instead of video streaming, transmission resources required for transmitting the signaling are obviously less than transmission resources required for transmitting the video streaming, more traffic is not required to be consumed, and the transmission resources can be saved. Even under the condition that the network is unstable, the transmission speed and the success rate can be ensured as much as possible because the transmission signaling does not need to consume more flow, thereby improving the efficiency of remote control. And the transmission rate of the signaling is higher than that of the video stream, so that the information transmission rate in the remote control process is improved.
Drawings
FIG. 1 is a main flowchart of a remote control method according to an embodiment of the present invention;
FIG. 2 is a main flow chart of another remote control method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a master control device according to an embodiment of the present invention;
FIG. 4 is a block diagram of a controlled device according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a main control device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a controlled device in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a remote control method, which comprises the following steps: the method comprises the steps that a main control device receives first operation aiming at a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a 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 perform a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device can realize the same function as the function to be realized by the first operation; the master control equipment receives a response message sent by the controlled equipment; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
In the embodiment of the invention, the user can operate the main control device, the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, the controlled device responds according to the received instruction, and after the response is finished, the controlled device sends the response message to the main control device, so that the main control device knows whether the controlled device responds successfully or not, and knows how to operate subsequently. Therefore, in the embodiment of the invention, signaling is transmitted between the master control device and the controlled device instead of video streaming, transmission resources required for transmitting the signaling are obviously less than transmission resources required for transmitting the video streaming, more traffic is not required to be consumed, and the transmission resources can be saved. Even under the condition that the network is unstable, the transmission speed and the success rate can be ensured as much as possible because the transmission signaling does not need to consume more flow, thereby improving the efficiency of remote control. And the transmission rate of the signaling is higher than that of the video stream, so that the information transmission rate in the remote control process is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified.
In the embodiment of the present invention, the controlled device is installed with an application to be controlled, and then, the master control device may also be installed with the same application, or one or any several "universal applications" may be installed in the master control device, where the "universal application" refers to one such application, and may provide a control interface 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 a corresponding operation interface as the operation interface to be controlled, which is to be controlled by the controlled device, the present invention does not limit whether the main control device is installed with the same application as that in the controlled device.
Meanwhile, the operation interface provided by the main control device may be the same operation interface as the operation interface to be controlled in the controlled device, or may be different operation interfaces, and in addition, the operation interface provided by the main control device and the operation interface to be controlled in the controlled device may correspond to the same application, or may also correspond to different applications.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Referring to fig. 1, an embodiment of the present invention provides a remote control method, and a main flow of the method is described as follows.
Step 101: the method comprises the steps that a main control device receives first operation aiming at a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device.
In the embodiment of the present invention, a typical application scenario is as follows: the master control device is a portable device such as a mobile phone and a PAD (PAD), the controlled device is a device such as an intelligent television, an intelligent refrigerator and an intelligent air conditioner, and both the master control device and the controlled device need to be provided with a display screen, namely a display unit.
Optionally, in this embodiment of the present invention, before step 101, the master device and the controlled device may first establish a connection. When the connection is established, the master device may be actively established, or the controlled device may be actively established.
The first method comprises the following steps: the master control device is actively established.
The master control device may directly select a specific controlled device to connect, or the master control device may provide a prompt message to the user, where the prompt message includes information of at least one controlled device, and the master control device determines that the controlled device is to be connected if the user can select information of one controlled device according to the prompt message.
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 to be controlled (namely the second operation interface) currently displayed on the display unit of the controlled device to the master control device.
After receiving the information of the second operation interface sent by the controlled device, the main control device may determine the application corresponding to the second operation interface, and may also determine which operation interface the second operation interface is in, so that the first operation interface corresponding to the second operation interface may be opened, and thus, the connection establishment is completed.
The first operation interface and the second operation interface may be the same operation interface, or may also be different operation interfaces, and in addition, the first operation interface and the second operation interface may correspond to the same application, or may also correspond to different applications, which is not limited in the present invention, as long as the same function as that which can be realized by operating the second operation interface can be realized by operating the first operation interface.
In the embodiment of the present invention, each application to be controlled may correspond to a unique piece of information for identifying the application, and further, if only one operation interface to be controlled is included in one application to be controlled, the controlled device may directly send the information of the application as the information of the operation interface to be controlled to the main control device, and the main control device may know which application should be specifically invoked and also know which operation interface should be opened according to the information of the application. If one application to be controlled includes multiple operation interfaces to be controlled, the controlled device may assign an identifier to each operation interface to be controlled in the application, for example, if one application to be controlled includes 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 the application a includes 3 operation interfaces to be controlled, the identifiers assigned to the 3 operation interfaces to be controlled by the controlled device are 1, 2, and 3, respectively, and if the information of the application a is a, the information corresponding to the 3 operation interfaces to be controlled is a1, a2, and A3, respectively. Therefore, after receiving the information of any one of the operation interfaces, the main control device can determine which operation interface is in which application according to the received information of the operation interface. As long as the master control device and the controlled device are well defined 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 knows which operation interface needs to be opened.
And the second method comprises the following steps: 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 a second operation interface in the embodiment of the present invention. And if the controlled equipment needs to receive the control of the main control equipment, the controlled equipment actively sends the information of the second operation interface to the main control equipment.
After receiving the information of the second operation interface sent by the controlled device, the main control device may determine the application corresponding to the second operation interface, and may also determine which operation interface the second operation interface is in, so that the first operation interface corresponding to the second operation interface may be opened, and thus, the connection establishment is completed.
After the connection is established, the user can control the controlled device through the operation of the first operation interface displayed on the main control device. For example, if the user performs an operation on the first operation interface, which is referred to as a first operation in the embodiment of the present invention, the master device may receive the first operation.
Optionally, in the embodiment of the present invention, when establishing the connection, whether the connection is actively established by the master control device or actively established by the controlled device, the master control device determines and displays the first operation interface according to the information of the second operation interface, including:
the master control equipment determines an application corresponding to the second operation interface according to the information of the second operation interface;
and the master control equipment calls the application and displays the first operation interface in the application.
That is, the main control device may determine the application corresponding to the second operation interface according to the information of the second operation interface. In the embodiment of the present invention, the master control device may directly determine the application corresponding to the second operation interface and installed in the master control device, and therefore, the application determined by the master control device and the application corresponding to the second operation interface and installed in the controlled device may be the same application or different applications, as long as the first operation interface provided by the application installed in the master control device and determined by the master control device can realize the same function as the second operation interface.
After the main control device determines the application, the application can be called, and a first operation interface is opened and displayed through the application.
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 a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device can achieve the same function as the function to be achieved by the first operation.
After receiving the first operation, the master device may obtain an operation instruction corresponding to the first operation, and thus, the master device may send the operation instruction to the controlled device. After receiving the operation instruction, the controlled device may perform a second operation on the second operation interface according to the operation instruction, where the first operation and the second operation may be the same operation or different operations, as long as the following conditions are satisfied: the functions that can be realized by performing the first operation on the first operation interface and by performing the second operation on the second operation interface are the same.
In the embodiment of the invention, the master control equipment sends the instruction to the controlled equipment, and the bit quantity occupied by the instruction is small, so that the transmission is convenient and the transmission efficiency is high.
Step 103: the master control equipment receives a response message sent by the controlled equipment; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
After the controlled device performs the second operation on the second operation interface, the response message may be generated according to the operation result, and the response message may be used to notify the master control device whether the controlled device successfully responds. For example, a bit may be used in the response message to carry the operation result, and 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 is failed. Of course, the controlled device may also adopt other ways to add the operation result to the response message. In short, the response message is a signaling, the controlled device only needs to transmit a signaling to the master control device, and the master control device can know whether the controlled device successfully responds, and the controlled device does not need to feed back the video stream to the master control device as in the prior art. In the embodiment of the invention, the controlled equipment feeds back the signaling with smaller bit quantity to the main control equipment, so that the transmission rate is improved, even under the condition of unstable network, the bit quantity occupied by the signaling is smaller, the transmission of the signaling is generally not influenced, the problem that the remote control cannot be realized because the video stream cannot be transmitted is avoided as much as possible, and the success rate of the remote control is improved.
Referring to fig. 2, based on the same inventive concept, an embodiment of the present invention provides another remote control method, and a main flow of the method is described as follows.
Step 201: the controlled equipment receives an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
step 202: the controlled device performs 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 can 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;
step 203: the controlled device acquires an operation result corresponding to the second operation;
step 204: and the controlled equipment generates a response message according to the operation result and sends the response message to the main control equipment.
Optionally, in this embodiment of the present invention, before the controlled device receives the operation instruction sent by the main control device, the method further includes:
the controlled device receives a request message sent by the master control device, wherein the request message is used for requesting the controlled device to send the information of the second operation interface displayed on the controlled device to the master control device;
the controlled equipment sends the information of the second operation interface to the main control equipment according to the request message; or
And the controlled equipment sends the information of the second operation interface to the main control equipment.
That is, before step 201 is executed, the master device and the controlled device may first establish a connection, and after the master device and the controlled device establish a connection, the user may perform an operation on a first operation interface displayed on the master device and used for controlling the controlled device, for example, the operation is referred to as a first operation. The method for establishing a connection between a master device and a controlled device is described in the flow of fig. 1.
After the user performs the first operation, the master control device may generate an operation instruction according to the first operation, and may send the operation instruction to the controlled device.
The second operation interface is displayed on the controlled device, and after receiving the operation instruction, the controlled device may perform an operation corresponding to the first operation on the second operation interface according to the operation instruction, for example, the operation is referred to as a second operation. The function that can be completed by the controlled device performing the second operation on the second operation interface is the same as the function that can be completed by the main control device performing the first operation on the first operation interface, and the second operation and the first operation may be the same operation or may be different operations, which is not limited in the present invention.
After the controlled device performs the second operation on the second operation interface, an operation result may be obtained, where the operation result is, for example, an operation success or an operation failure, and the controlled device may generate a response message according to the operation result and send the response message to the main control device, so that the main control device may know whether the controlled device successfully responds according to the response message, and determine how to perform the next operation.
In the embodiment of the present invention, the controlled device only needs to transmit a signaling (i.e., the response message) to the master control device, and the master control device can know whether the controlled device successfully responds, and the controlled device does not need to feed back the video stream to the master control device as in the prior art. In the embodiment of the invention, the controlled equipment feeds back the signaling with smaller bit quantity to the main control equipment, so that the transmission rate is improved, even under the condition of unstable network, the bit quantity occupied by the signaling is smaller, the transmission of the signaling is generally not influenced, the problem that the remote control cannot be realized because the video stream cannot be transmitted is avoided as much as possible, and the success rate of the remote control is improved.
In the embodiment of the present invention, the flow in fig. 2 corresponds to the flow in fig. 1, and all the contents that are not described in detail in the flow in fig. 2 have already been described in the flow in fig. 1.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides a master device, which may include a receiving module 301 and a sending module 302.
A receiving module 301, configured to receive a first operation on a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device;
a sending module 302, 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 perform a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device can realize the same function as the function to be realized by the first operation;
a receiving module 301, configured to receive a response message sent by the controlled device; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
Optionally, in this embodiment of the present invention, the master control device further includes a determining module;
the receiving module 301 is further configured to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the determination module is to: and determining and displaying the first operation interface according to the information of the second operation interface.
Optionally, in this embodiment of the present invention, the determining module is specifically configured to:
determining an application corresponding to the second operation interface according to the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
Referring to fig. 4, based on the same inventive concept, an embodiment of the present invention provides a controlled device, which may include a receiving module 401, an operating module 402, an obtaining module 403, and a sending module 404.
A receiving module 401, configured to receive an operation instruction sent by a master control device; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
an operation module 402, configured to perform, according to the operation instruction, a second operation corresponding to the first operation on a second operation interface displayed on the controlled device, so that the controlled device implements a function that is the same as a function to be implemented by the first operation; the second operation interface is an operation interface corresponding to the first operation interface;
an obtaining module 403, configured to obtain an operation result corresponding to the second operation;
a sending module 404, configured to generate a response message according to the operation result by the controlled device, and send the response message to the master control device.
Optionally, in the embodiment of the present invention,
the receiving module 401 is further configured to: before receiving an operation instruction sent by the master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the sending module 404 is further configured to: sending the information of the second operation interface to the main control equipment according to the request message;
or
The sending module 404 is further configured to: before the receiving module 401 receives an operation instruction sent by the main control device, the information of the second operation interface is sent to the main control device.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides a master device, which may include a memory 501 connected to a bus 500, a processor 502, and a transceiver 503.
A memory 501 for storing instructions required for the processor 502 to perform tasks;
a transceiver 503, configured to receive a first operation for a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device;
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 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 can realize the same function as the function to be realized by the first operation;
the transceiver 503 is further configured to receive a response message sent by the controlled device; and the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction.
Optionally, in the embodiment of the present invention,
the transceiver 503 is also used to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the processor 502 is further configured to: and determining and displaying the first operation interface according to the information of the second operation interface.
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 the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
Referring to fig. 6, based on the same inventive concept, an embodiment of the present invention provides a controlled device, which may include a memory 601 connected to a bus 600, a processor 602, and a transceiver 603.
A memory 601 for storing instructions required for the processor 602 to perform tasks;
the transceiver 603 is configured to receive an operation instruction sent by the master control device; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
a processor 602, 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 implements a function that is the same as a function to be implemented by the first operation; the second operation interface is an operation interface corresponding to the first operation interface; acquiring an operation result corresponding to the second operation; and generating a response message according to the operation result, and sending the response message to the master control device through the transceiver 603.
Optionally, in the embodiment of the present invention,
the transceiver 603 is also configured to: before receiving an operation instruction sent by a master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the processor 602 is further configured to: according to the request message, the information of the second operation interface is sent to the main control device through the transceiver 603;
or
The transceiver 603 is also configured to: and before receiving an operation instruction sent by the main control equipment, sending the information of the second operation interface to the main control equipment.
In the embodiment of the invention, the user can operate the main control device, the main control device sends the operation instruction corresponding to the operation performed by the user to the controlled device, the controlled device responds according to the received instruction, and after the response is finished, the controlled device sends the response message to the main control device, so that the main control device knows whether the controlled device responds successfully or not, and knows how to operate subsequently. Therefore, in the embodiment of the invention, signaling is transmitted between the master control device and the controlled device instead of video streaming, transmission resources required for transmitting the signaling are obviously less than transmission resources required for transmitting the video streaming, more traffic is not required to be consumed, and the transmission resources can be saved. Even under the condition that the network is unstable, the transmission speed and the success rate can be ensured as much as possible because the transmission signaling does not need to consume more flow, thereby improving the efficiency of remote control. And the transmission rate of the signaling is higher than that of the video stream, so that the information transmission rate in the remote control process is improved.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a base station, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method and the core idea of the present invention, and should not be construed as limiting the present invention. Those skilled in the art should also appreciate that they can easily conceive of various changes and substitutions within the technical scope of the present disclosure.
Claims (6)
1. A remote control method, comprising:
the method comprises the steps that a main control device receives first operation aiming at a first operation interface displayed on the main control device; the first operation interface is an operation interface corresponding to a 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 perform a second operation corresponding to the first operation on the second operation interface according to the operation instruction, so that the controlled device can realize the same function as the function to be realized by the first operation;
the master control equipment receives a response message sent by the controlled equipment; the response message is obtained after the controlled device performs the second operation on the second operation interface according to the operation instruction;
before the main control device receives a first operation for a first operation interface displayed on the main control device, the method further includes:
the master control device receives the information of the second operation interface sent by the controlled device;
the main control equipment determines and displays the first operation interface according to the information of the second operation interface;
the determining and displaying of the first operation interface by the main control device according to the information of the second operation interface includes:
the master control equipment determines an application corresponding to the second operation interface according to the information of the second operation interface;
and the master control equipment calls the application and displays the first operation interface in the application.
2. A remote control method, comprising:
the controlled equipment receives an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
the controlled device performs 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 can 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;
the controlled device acquires an operation result corresponding to the second operation;
the controlled equipment generates a response message according to the operation result and sends the response message to the main control equipment; wherein,
before the controlled device receives the operation instruction sent by the master control device, the method further includes:
the controlled device receives a request message sent by the master control device, wherein the request message is used for requesting the controlled device to send the information of the second operation interface displayed on the controlled device to the master control device; the controlled equipment sends the information of the second operation interface to the main control equipment according to the request message; or
The controlled equipment sends the information of the second operation interface to the main control equipment;
the information of the second operation interface is used for the main control device to determine an application corresponding to the second operation interface so as to call the application and display the first operation interface in the application.
3. A master device, comprising:
the receiving module is used for receiving first operation aiming at a first operation interface displayed on the main control equipment; the first operation interface is an operation interface corresponding to a second operation interface displayed on the controlled device;
the sending module is used for sending the operation instruction corresponding to the first operation to the controlled equipment; 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 can realize 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;
the main control equipment further comprises a determining module;
the receiving module is further configured to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the determination module is to: determining and displaying the first operation interface according to the information of the second operation interface;
wherein the determining module is specifically configured to:
determining an application corresponding to the second operation interface according to the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
4. A controlled device, comprising:
the receiving module is used for receiving an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
the operation module is used for performing second operation corresponding to the first operation on a second operation interface displayed on the controlled device according to the operation instruction so as to enable the controlled device to 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;
the acquisition module is used for acquiring an operation result corresponding to the second operation;
the sending module is used for generating a response message by the controlled equipment according to the operation result and sending the response message to the main control equipment; wherein,
the receiving module is further configured to: before receiving an operation instruction sent by a master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the sending module is further configured to: sending the information of the second operation interface to the main control equipment according to the request message; or
The sending module is further configured to: before the receiving module receives an operation instruction sent by a main control device, the information of the second operation interface is sent to the main control device
The information of the second operation interface is used for the main control device to determine an application corresponding to the second operation interface so as to call the application and display the first operation interface in the application.
5. A master device comprising a memory, a processor, and a transceiver connected to the same bus;
the memory to store instructions;
the transceiver is used for receiving a first operation aiming at a first operation interface displayed on the main control equipment; 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, acquire 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 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 can realize the same function as the function to be realized by the first operation;
the transceiver is further used for receiving 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;
wherein the transceiver is further configured to: before receiving a first operation aiming at a first operation interface displayed on the master control equipment, receiving information of the second operation interface sent by the controlled equipment;
the processor is further configured to: determining and displaying the first operation interface according to the information of the second operation interface;
the processor 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 the information of the second operation interface;
and calling the application and displaying the first operation interface in the application.
6. A controlled device comprising a memory, a processor and a transceiver connected to the same bus;
the memory to store instructions;
the transceiver is used for receiving an operation instruction sent by the main control equipment; the operation instruction is generated by the main control device according to received first operation performed on a first operation interface displayed on the main control device;
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 realizes a function identical to a function to be realized by the first operation; the second operation interface is an operation interface corresponding to the first operation interface; acquiring an operation result corresponding to the second operation; generating a response message according to the operation result, and sending the response message to the main control equipment through the transceiver; wherein,
the transceiver is further configured to: before receiving an operation instruction sent by a master control device, receiving a request message sent by the master control device, where the request message is used to request the controlled device to send information of the second operation interface displayed on the controlled device to the master control device; the processor is further configured to: according to the request message, sending the information of the second operation interface to the main control equipment through the transceiver; or
The transceiver is further configured to: before receiving an operation instruction sent by a main control device, sending the information of the second operation interface to the main control device;
the information of the second operation interface is used for the main control device to determine an application corresponding to the second operation interface so as to call the application and display the first operation interface in the application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510087250.8A CN105991736B (en) | 2015-02-25 | 2015-02-25 | A kind of long-range control method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510087250.8A CN105991736B (en) | 2015-02-25 | 2015-02-25 | A kind of long-range control method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105991736A CN105991736A (en) | 2016-10-05 |
CN105991736B true 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 kind of long-range control method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105991736B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107817962B (en) * | 2017-10-26 | 2021-05-04 | 百度在线网络技术(北京)有限公司 | Remote control method, device, control server and storage 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 as well as relevant 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 as well as relevant 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 |
Also Published As
Publication number | Publication date |
---|---|
CN105991736A (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10484197B2 (en) | Internet of Things (IoT) communication method, communication end, and user end | |
CN102377686B (en) | Message subscription system, method and device | |
CN108650667B (en) | Terminal scheduling method and device | |
CN104462033A (en) | Method and device for realizing editing operation among devices | |
CN104702665A (en) | Information sharing method and information sharing device | |
CN110446196B (en) | Gateway control method and device, gateway working method and device and electronic equipment | |
CN110808948B (en) | Remote procedure calling method, device and system | |
CN110912805B (en) | Message reading state synchronization method, terminal, server and system | |
CN103856374A (en) | Data transmission method, terminal and home interconnected system | |
JP2015529422A (en) | Smart home system based on call center and method for realizing the same | |
CN105357664A (en) | Wireless control system and data communication method thereof | |
CN110581976B (en) | Teleconferencing method, apparatus, computer system and readable storage medium | |
CN106302093B (en) | Communication method, system and server | |
CN108551477B (en) | Data transmission channel establishing system, network storage device, server and method | |
CN105991736B (en) | A kind of long-range control method and equipment | |
US20160100021A1 (en) | Information processing device, destination information updating method, and record medium | |
CN103795856A (en) | Information processing method and electronic device | |
CN102868766B (en) | A kind of mthods, systems and devices for realizing remote control | |
CN110035399B (en) | Message transmission method and related equipment | |
CN105933922B (en) | Information sending method, information receiving method and device | |
CN106488537B (en) | Sending method, device and mobile terminal | |
CN106230877B (en) | Remote management method, system and equipment of equipment | |
CN104468645A (en) | Control method, electronic equipment, and information transmission method and device | |
CN116017352A (en) | Vehicle-mounted system, terminal, vehicle and resource sharing method | |
CN105786367A (en) | Virtual desktop display method and 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 |