WO2017201840A1 - Remote control method and terminal - Google Patents
Remote control method and terminal Download PDFInfo
- Publication number
- WO2017201840A1 WO2017201840A1 PCT/CN2016/090177 CN2016090177W WO2017201840A1 WO 2017201840 A1 WO2017201840 A1 WO 2017201840A1 CN 2016090177 W CN2016090177 W CN 2016090177W WO 2017201840 A1 WO2017201840 A1 WO 2017201840A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- record information
- application
- operation record
- unit
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000009434 installation Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 4
- 230000006870 function Effects 0.000 description 24
- 238000012795 verification Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/04—Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
Definitions
- the present application relates to, but is not limited to, the field of terminal remote control, and in particular, to a remote control method and terminal.
- a typical one can be implemented by using a remote control method in which an operation command is preset or a remote desktop login method.
- pre-set operations need to be performed between the two terminals, and in order to improve compatibility and reduce implementation complexity, the preset operations are often relatively simple operations, but this method is flexible. Poor performance, not easy to operate; for remote desktop login, not only need to operate both sides, but also must have a very stable network environment, otherwise it will cause a lot of delay, not easy to operate.
- the embodiment of the invention provides a remote control method and a terminal, which improves the flexibility of remote control between terminals, facilitates user operation, satisfies the user's rich demand for remote control, and provides a good user experience.
- a remote control method applied to a first terminal, the method comprising: receiving at least one operation; writing the at least one operation to operation record information; and transmitting the operation record information to a second terminal, wherein The operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
- the method further includes: before sending the operation record information to the second terminal, receiving a device identifier of the second terminal; and the device identifier of the first terminal itself and the second terminal The device ID is associated with the save.
- the sending the operation record information to the second terminal includes: obtaining a user identity identifier of the second terminal; and sending the operation record information to the second terminal according to the user identity identifier .
- the sending the operation record information to the second terminal further includes: carrying an authentication message in the operation record information, and sending the message to the second terminal, where the authentication message is used in the The second terminal verifies the legality of the operation record information.
- the writing the operation record information to the at least one operation comprises: sequentially adding a sequence mark to each of the at least one operation; and sequentially writing at least one operation after adding the sequence mark to the operation record information.
- a remote control method is applied to a second terminal, the method comprising: receiving operation record information from the first terminal; parsing the operation record information to obtain at least one operation; performing the at least one operation to implement the at least one operation At least one function corresponding to an operation.
- the method further includes: extracting the authentication information carried in the operation record information before parsing the operation record information to obtain at least one operation; and when the authentication information indicates that the operation record information is legal And parsing the operation record information to obtain the at least one operation.
- the performing the at least one operation comprises: performing the at least one operation in sequence according to a sequence mark corresponding to each of the at least one operation.
- the performing the at least one operation further includes: when the at least one operation includes an operation of opening the first application, detecting whether the at least one application currently installed by the second terminal itself includes the first An application; if the first application is currently included in the at least one application that is currently installed by the second terminal, performing the operation of opening the first application; if the second terminal is not currently installed in the at least one application Including the first application, sending a download request for requesting downloading the first application, and performing the operation of opening the first application after the first application download and installation is completed.
- a terminal includes: a first receiving unit, a recording unit, and a transmitting unit.
- a first receiving unit configured to receive at least one operation
- a recording unit configured to write the at least one operation to the operation record information
- a sending unit configured to transmit the operation record information to the second terminal, wherein the The operation record information is used to instruct the second terminal to implement the at least At least one function corresponding to an operation.
- the terminal further includes a storage unit.
- the first receiving unit is further configured to: before the sending unit sends the operation record information to the second terminal, receive a device identifier of the second terminal; the storage unit is configured to: The device identifier of the first terminal itself is saved in association with the device identifier of the second terminal.
- the sending, by the sending unit, the operation record information to the second terminal includes: obtaining a user identity of the second terminal; and sending, according to the user identity identifier, the operation record information to the Two terminals.
- the sending by the sending unit, the operation record information to the second terminal, further comprising: carrying an authentication message in the operation record information, and sending the message to the second terminal, where the authentication message is used by Verifying the legitimacy of the operation record information at the second terminal.
- the recording unit writes the operation record information by the at least one operation, including: sequentially adding a sequence mark to each of the at least one operation; and sequentially writing at least one operation after adding the sequence mark to the The operation record information.
- a terminal includes: a second receiving unit, a parsing unit, and an executing unit.
- a second receiving unit configured to receive operation record information from the first terminal; a parsing unit configured to parse the operation record information to obtain at least one operation; and an execution unit configured to perform the at least one operation to implement the at least one At least one function corresponding to an operation.
- the parsing unit is further configured to: after parsing the operation record information, obtain at least one operation, extract authentication information carried in the operation record information; and when the authentication information indicates the operation record When the information is legal, the operation record information is parsed to obtain the at least one operation.
- the performing, by the execution unit, the at least one operation further comprises: performing the at least one operation in sequence according to a sequence mark corresponding to each of the at least one operation.
- the performing, by the execution unit, the at least one operation further includes: detecting, when the at least one operation includes the operation of opening the first application, whether the at least one application currently installed by the second terminal itself includes the The first application is performed; if the first application is included in at least one application currently installed by the second terminal itself, performing the operation of opening the first application; If the first application is not included in the at least one application currently installed by the second terminal, the download request for downloading the first application is sent, and after the first application download and installation is completed, the opening is performed. The operation of the first application.
- a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the remote control method.
- the embodiment of the present invention provides a remote control method and a terminal.
- the first terminal needs to operate another remote terminal, that is, the second terminal
- the first terminal writes the at least one operation after receiving at least one operation.
- the operation record information that is, recording the operation required by the second terminal
- the first terminal transmitting the at least one operation to the second terminal, so that the second terminal can perform the at least one operation to implement the corresponding at least one function,
- remote control between terminals is achieved.
- the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control; data between the first terminal and the second terminal
- the interaction only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
- FIG. 1 is a schematic flowchart of a method for performing remote control on a first terminal side according to Embodiment 1 of the present invention
- FIG. 2 is a schematic flowchart of a method for controlling downloading a movie A by a first terminal according to Embodiment 2 of the present invention
- FIG. 3 is a schematic flow chart of a method for controlling a camera to turn on a flash by a first terminal according to Embodiment 3 of the present invention
- FIG. 4 is a schematic flowchart of a method for performing remote control by a second terminal according to Embodiment 4 of the present invention.
- FIG. 5 is a schematic flowchart of a remote control system performing remote control method according to Embodiment 6 of the present invention.
- FIG. 6 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention.
- FIG. 7 is another schematic structural diagram of a terminal in Embodiment 8 of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- An embodiment of the present invention provides a remote control method, where the method is applied to a first terminal, where the first terminal can implement control on another terminal in the remote network, that is, the second terminal, that is, the first terminal can The second terminal implements remote control.
- the first terminal and the second terminal may be smart phones, tablet computers, smart watches, etc., which are not limited in the embodiment of the present invention.
- FIG. 1 is a schematic flowchart of a method for performing remote control on a first terminal side according to Embodiment 1 of the present invention. Referring to FIG. 1 , the method includes steps S101-S103:
- S101 Receive at least one operation.
- the first terminal user when the first terminal user needs to remotely control the second terminal, first, the first terminal user starts the remote control function on the first terminal, for example, opens the remote control application, or opens the remote control function in the system setting.
- the switch, or the remote control function is turned on by a preset gesture operation, such that the first terminal enters the control mode.
- the user performs at least one operation on the current interface such as the desktop interface of the first terminal and the operation interface of an application.
- at least one operation may be a touch operation, or may be a voice operation, and may also be a user's click operation on the current interface by using a mouse.
- the first terminal first needs to pair with the second terminal before performing remote control. Then, before the step S101, the method may further include: receiving the device identifier of the second terminal; and saving the device identifier of the first terminal itself with the device identifier of the second terminal.
- the device identifier may be an International Mobile Equipment Identity (IMEI) of the terminal, a model of the terminal, and a media access control (MAC, Media Access). Control, etc., etc., are not limited in the embodiment of the present invention.
- IMEI International Mobile Equipment Identity
- MAC Media Access
- Control, etc., etc. are not limited in the embodiment of the present invention.
- S102 Write at least one operation to the operation record information.
- the first terminal may record at least one operation performed by the user in the form of an operation instruction, audio or video, and write it to the operation record information.
- the first terminal records at least one operation in the form of an operation instruction, that is, the first terminal may The operation instruction corresponding to the at least one operation is recorded, and the operation record information is written; if the at least one operation received by the first terminal is a voice operation, the first terminal may further record at least one operation in the form of a voice instruction.
- the first terminal records the voice command corresponding to the voice operation input by the user, and writes the operation record information; if at least one operation received by the first terminal is a touch operation or a mouse click operation, A terminal may also record at least one operation in the form of video, that is, the first terminal may record the operation performed by the user on the current interface into a video, and then write the video into the operation record information.
- the first terminal may further sequentially for each operation in order to accurately record the operation sequence of each operation of the at least one operation.
- the operation adds a sequence flag, and the added at least one operation is sequentially written into the operation record information.
- the operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
- the first terminal may, but is not limited to, transmit the operation record information to the second terminal in the following manners.
- the device identifier of the second terminal can be directly called, and the device identifier of the second terminal can be directly used to record the operation record.
- Sending to the second terminal; or the first terminal may first obtain the user identification information of the second terminal that is pre-stored from the local/server, such as the Subscriber Identity Module (SIM) identifier of the second terminal, and the instant chat application. Account name, etc., will operate The record information is sent to the second terminal.
- SIM Subscriber Identity Module
- the first terminal may also be associated with multiple terminals. Then, when the first terminal is to send an operation record, all associated terminals may be displayed on the current interface or the floating window for the user to select, and then according to the The device identifier or the user identity identifier of the second terminal selected by the user sends the operation record information to the second terminal.
- the address book is called or an input box is provided to the user for the user to select therein, and then according to the user identity information of the second terminal selected by the user, The operation record information is sent to the second terminal.
- the above-mentioned operation record information is sent to the second terminal, which can be implemented by other methods, and can be set by a person skilled in the art, which is not limited by the embodiment of the present invention.
- the user may operate the first terminal to turn off the remote control function, or suspend the at least one operation to write the operation record information, which is not limited in the embodiment of the present invention.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the process of recording at least one operation by the "operation instruction" will be described as an example.
- the simplest file organization rule is taken as an example for description, and the synchronization control operation performed may be a system setting or a mobile phone application operation.
- the operation record information formed by the operation of downloading the movie A by the first terminal is taken as an example.
- FIG. 2 is a schematic flowchart of a method for controlling downloading a movie A by a first terminal according to Embodiment 2 of the present invention. As shown in FIG. 2, the method includes steps S201-S209:
- S201 The first terminal starts the remote control function.
- S202 The first terminal receives an operation of the user clicking to start the movie application.
- S204 The first terminal automatically records and writes the operation record information “01#Open Movie Application” in the background.
- S205 The first terminal receives an operation of the user searching for the movie A in the movie application.
- S206 The first terminal automatically records and writes the operation record information “02#Search Movie A” in the background.
- S207 The first terminal receives the user clicking the download operation in the movie application.
- S208 The first terminal automatically records and writes the operation record information “03#Click to download” in the background.
- S209 The first terminal stops recording, and sends operation record information to the second terminal.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- FIG. 3 is a schematic flowchart of a method for a first terminal to control a camera to open a flash according to a third embodiment of the present invention. As shown in FIG. 3, the method includes steps S301-S306:
- S301 The first terminal starts the remote control function, and turns on the microphone.
- S302 The first terminal receives a voice operation of the camera that is input by the user.
- S303 The first terminal automatically records in the background, writes the voice instruction into the operation record information, and adds the sequence mark “01#”.
- S304 The first terminal receives a voice operation of the open flash input by the user.
- S305 The first terminal automatically records in the background, writes the voice instruction into the operation record information, and adds the sequence mark “02#”.
- S306 The first terminal stops recording the voice, and sends the operation record information to the second terminal.
- the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control;
- the data interaction between the second terminals only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
- Embodiment 4 is a diagrammatic representation of Embodiment 4:
- the present embodiment provides a remote control method, which is applied to a second terminal, and the second terminal is consistent with the second terminal in the one or more embodiments.
- FIG. 4 is a schematic flowchart of a method for performing remote control by a second terminal according to Embodiment 4 of the present invention. As shown in FIG. 4, the method includes steps S401-S403:
- S401 Receive operation record information from the first terminal.
- S402 Parse the operation record information to obtain at least one operation.
- S403 Perform at least one operation to implement at least one function corresponding to the at least one operation.
- the second terminal may sequentially perform at least one operation in accordance with an order mark corresponding to each of the at least one operation.
- the foregoing S403 may include: detecting, when the at least one operation includes the operation of opening the first application, detecting whether the at least one application currently installed by the second terminal itself includes the first An application; if the first application is currently included in the at least one application that is currently installed by the second terminal, performing an operation of opening the first application; if the second terminal itself does not include the at least one application currently installed
- the first application sends a download request for requesting to download the first application, and after the first application download and installation is completed, performs an operation of opening the first application.
- the second terminal first detects whether the application is installed by itself, and if the application is installed by itself, performs the operation of opening the first application, if If the application is not installed, the server is first requested to install and install the first application, and after the installation is completed, the operation of opening the first application is performed, thereby expanding the operation range of the remote control between the terminals and improving the intelligence of the terminal. In turn, it is convenient for users to operate and provides a good user experience.
- Embodiment 5 is a diagrammatic representation of Embodiment 5:
- the authentication process between the first terminal and the second terminal may also be performed.
- the foregoing S103 may include: the first terminal carries the authentication message in the operation record information and sends the message to the second terminal; and the second terminal can verify the validity of the operation record information according to the authentication message after the receiving end reaches the operation record.
- the foregoing authentication information may be a fixed verification code, or may be a random verification code, and may also be a device identifier of the first terminal and/or the second terminal, a user identity, and the like, which are not limited in the embodiment of the present invention.
- the first terminal will carry the operation record information of the authentication message.
- S401 may include: extracting the authentication information carried in the operation record information; and when the authentication information indicates that the operation record information is legal, parsing the operation record information to obtain at least one operation.
- the second terminal after receiving the operation record information sent by the first terminal, the second terminal first extracts the authentication information therein, and then performs authentication based on the authentication information, for example, the authentication information is a fixed verification code, then the second After the terminal extracts the authentication information carried in the operation record information, that is, the verification code, it compares with the verification code pre-agreed by the first terminal, and if the verification code carried in the operation record information and the first terminal pre-agreed the verification If the code comparison is consistent, the operation record information is legal. If the verification code carried in the operation record information is inconsistent with the verification code pre-agreed by the first terminal, the operation record information is illegal. Further, when the authentication information indicates that the operation record information is legal, the second terminal parses the operation record information to obtain the at least one operation.
- the present embodiment provides a method for remote control, which is applied to a remote control system, where the system includes at least a first terminal, a second terminal, and a network side device.
- FIG. 5 is a schematic flowchart of a remote control system performing remote control method according to Embodiment 6 of the present invention. As shown in FIG. 5, the method includes steps S501-S509:
- S501 The first terminal starts the remote control function.
- the first terminal receives at least one operation performed by the user, and writes at least one operation into the operation record information.
- S503 The first terminal sends the operation record information to the second terminal.
- S504 The second terminal performs security authentication work.
- S505 If the security authentication is passed, the second terminal parses the operation record information to obtain at least one operation; if the security authentication fails, the second terminal does not respond, and discards the operation record information.
- S506 The second terminal performs at least one operation.
- the second terminal records the execution result, and feeds back the corresponding execution result data to the first terminal.
- S508 The first terminal receives the execution result data, and performs verification on the execution result data.
- the first terminal determines, according to the data check, whether the execution result data meets the expected remote control purpose; wherein, when the execution result data meets the expected result, the process ends; when the execution result data does not meet the expected result, return to S502. .
- an embodiment of the present invention provides a terminal that is consistent with the first terminal described in one or more of the foregoing embodiments.
- FIG. 6 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention. As shown in FIG. 6, the terminal includes: a first receiving unit 61, a recording unit 62, and a sending unit 63.
- the first receiving unit 61 is configured to receive at least one operation; the recording unit 62 is configured to write at least one operation into the operation record information; and the sending unit 63 is configured to send the operation record information to the second terminal, wherein the operation record information is And configured to instruct the second terminal to implement at least one function corresponding to the at least one operation.
- the terminal further includes a storage unit
- the first receiving unit 61 is further configured to: before the sending unit sends the operation record information to the second terminal, receive the device identifier of the second terminal; It is set to save the device identifier of the first terminal itself and the device identifier of the second terminal.
- the sending, by the sending unit 63, the operation record information to the second terminal includes: obtaining a user identity identifier of the second terminal; and sending the operation record information to the second terminal according to the user identity identifier.
- the sending, by the sending unit 63, the operation record information to the second terminal further includes: carrying the authentication message in the operation record information and sending the message to the second terminal, where the authentication message is used for the second terminal verification operation record The legality of the information.
- the recording unit 62 writes the at least one operation to the operation record information, including: sequentially recording each of the at least one operation, and adding a sequence mark for each operation in sequence; at least one of the added order marks is added The operation sequentially writes the operation record information.
- the embodiment of the present invention further provides a terminal that is consistent with the second terminal described in one or more of the foregoing embodiments.
- the terminal in this embodiment may be physically or in combination with the terminal in the seventh embodiment, which is not limited in the embodiment of the present invention.
- FIG. 7 is another schematic structural diagram of a terminal according to Embodiment 8 of the present invention. As shown in FIG. 7, the terminal includes: a second receiving unit 71, a parsing unit 72, and an executing unit 73.
- the second receiving unit 71 is configured to receive operation record information from the first terminal; the parsing unit 72 is configured to parse the operation record information to obtain at least one operation; and the execution unit 73 is configured to perform at least one operation to implement at least one operation At least one function corresponding to it.
- the parsing unit 72 is further configured to: after parsing the operation record information, obtaining at least one operation, extracting the authentication information carried in the operation record information; and when the authentication information indicates that the operation record information is legal, parsing the operation record Information, get at least one operation.
- executing the at least one operation by the execution unit 73 further comprises: performing at least one operation in sequence according to the sequence mark corresponding to each of the at least one operation.
- the performing, by the execution unit 73, the at least one operation further comprises: detecting, when the at least one operation of the first application is included in the at least one operation, whether the first application is included in the at least one application currently installed by the second terminal; If the first application is included in the at least one application that is currently installed by the second terminal, the operation of opening the first application is performed, and if the first application is not included in the at least one application currently installed by the second terminal, And sending a download request for requesting to download the first application, and after the first application download and installation is completed, performing an operation of opening the first application.
- a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the remote control method.
- embodiments of the present invention can be provided as a method, system, or computer program product.
- embodiments of the invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware.
- embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
- Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the embodiment of the present invention provides a remote control method and a terminal.
- the first terminal needs to operate another remote terminal, that is, the second terminal
- the first terminal writes the at least one operation after receiving at least one operation.
- the operation record information that is, recording the operation required by the second terminal
- the first terminal transmitting the at least one operation to the second terminal, so that the second terminal can execute
- the at least one operation implements at least one corresponding function, thereby implementing remote control between the terminals.
- the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control; data between the first terminal and the second terminal
- the interaction only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
Abstract
Disclosed in the embodiments of the present invention are a remote control method and a terminal. The method comprises: receiving at least one operation; writing the at least one operation into operation record information; sending the operation record information to a second terminal, the operation record information being used for instructing the second terminal to realize the at least one function corresponding to the at least one operation.
Description
本申请涉及但不限于终端远程控制领域,尤其涉及一种远程控制方法及终端。The present application relates to, but is not limited to, the field of terminal remote control, and in particular, to a remote control method and terminal.
在相关技术中,用户如果想要通过一个终端远程控制另一个终端,比较典型的,可以采用预先设置操作命令的远程控制方式或者远程桌面登录方式来实现。In the related art, if the user wants to remotely control another terminal through one terminal, a typical one can be implemented by using a remote control method in which an operation command is preset or a remote desktop login method.
但是,针对预先设定命令的方式,两个终端之间需要预先设定操作,而为了提高兼容性以及降低实现复杂度,预先设定的操作往往都是比较简单的操作,但是这种方式灵活性差,不便于操作;针对远程桌面登录方式,则不仅需要双方都要进行操作,还必须要有十分稳定的网络环境,否则会造成很大的延时,不便于操作。However, for the way of pre-setting commands, pre-set operations need to be performed between the two terminals, and in order to improve compatibility and reduce implementation complexity, the preset operations are often relatively simple operations, but this method is flexible. Poor performance, not easy to operate; for remote desktop login, not only need to operate both sides, but also must have a very stable network environment, otherwise it will cause a lot of delay, not easy to operate.
目前相关技术中并不存在一种合理的终端间远程控制的方法。At present, there is no reasonable method for remote control between terminals in the related art.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种远程控制方法及终端,提高了终端间远程控制的灵活性,方便用户操作,满足用户对远程控制的丰富需求,提供了良好的用户体验。The embodiment of the invention provides a remote control method and a terminal, which improves the flexibility of remote control between terminals, facilitates user operation, satisfies the user's rich demand for remote control, and provides a good user experience.
一种远程控制方法,应用于第一终端,所述方法包括:接收至少一个操作;将所述至少一个操作写入操作记录信息;将所述操作记录信息发送给第二终端,其中,所述操作记录信息用于指示所述第二终端实现所述至少一个操作所对应的至少一个功能。A remote control method, applied to a first terminal, the method comprising: receiving at least one operation; writing the at least one operation to operation record information; and transmitting the operation record information to a second terminal, wherein The operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
可选地,所述方法还包括:在将所述操作记录信息发送给第二终端之前,接收所述第二终端的设备标识;将所述第一终端自身的设备标识与所述第二终端的设备标识关联保存。
Optionally, the method further includes: before sending the operation record information to the second terminal, receiving a device identifier of the second terminal; and the device identifier of the first terminal itself and the second terminal The device ID is associated with the save.
可选地,所述将所述操作记录信息发送给第二终端包括:获得所述第二终端的用户身份标识;根据所述用户身份标识,将所述操作记录信息发送给所述第二终端。Optionally, the sending the operation record information to the second terminal includes: obtaining a user identity identifier of the second terminal; and sending the operation record information to the second terminal according to the user identity identifier .
可选地,所述将所述操作记录信息发送给第二终端还包括:将鉴权消息携带在所述操作记录信息中发送给所述第二终端,其中,所述鉴权消息用于所述第二终端验证所述操作记录信息的合法性。Optionally, the sending the operation record information to the second terminal further includes: carrying an authentication message in the operation record information, and sending the message to the second terminal, where the authentication message is used in the The second terminal verifies the legality of the operation record information.
可选地,所述将所述至少一个操作写入操作记录信息包括:依次为所述至少一个操作中的每一个操作添加顺序标记;将添加顺序标记后的至少一个操作依次写入所述操作记录信息。Optionally, the writing the operation record information to the at least one operation comprises: sequentially adding a sequence mark to each of the at least one operation; and sequentially writing at least one operation after adding the sequence mark to the operation record information.
一种远程控制方法,应用于第二终端,所述方法包括:接收来自第一终端的操作记录信息;解析所述操作记录信息,获得至少一个操作;执行所述至少一个操作,实现所述至少一个操作所对应的至少一个功能。A remote control method is applied to a second terminal, the method comprising: receiving operation record information from the first terminal; parsing the operation record information to obtain at least one operation; performing the at least one operation to implement the at least one operation At least one function corresponding to an operation.
可选地,所述方法还包括:在解析所述操作记录信息,获得至少一个操作之前,提取所述操作记录信息中携带的鉴权信息;当所述鉴权信息表明所述操作记录信息合法时,解析所述操作记录信息,获得所述至少一个操作。Optionally, the method further includes: extracting the authentication information carried in the operation record information before parsing the operation record information to obtain at least one operation; and when the authentication information indicates that the operation record information is legal And parsing the operation record information to obtain the at least one operation.
可选地,所述执行所述至少一个操作包括:按照所述至少一个操作中每一个操作所对应的顺序标记,依次执行所述至少一个操作。Optionally, the performing the at least one operation comprises: performing the at least one operation in sequence according to a sequence mark corresponding to each of the at least one operation.
可选地,所述执行所述至少一个操作还包括:当所述至少一个操作中包括打开第一应用的操作时,检测所述第二终端自身当前安装的至少一个应用中是否包括所述第一应用;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行所述打开第一应用的操作;如果所述第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载所述第一应用的下载请求,并在所述第一应用下载安装完成后,执行所述打开第一应用的操作。Optionally, the performing the at least one operation further includes: when the at least one operation includes an operation of opening the first application, detecting whether the at least one application currently installed by the second terminal itself includes the first An application; if the first application is currently included in the at least one application that is currently installed by the second terminal, performing the operation of opening the first application; if the second terminal is not currently installed in the at least one application Including the first application, sending a download request for requesting downloading the first application, and performing the operation of opening the first application after the first application download and installation is completed.
一种终端,包括:第一接收单元、记录单元和发送单元。A terminal includes: a first receiving unit, a recording unit, and a transmitting unit.
第一接收单元,设置为接收至少一个操作;记录单元,设置为将所述至少一个操作写入操作记录信息;发送单元,设置为将所述操作记录信息发送给第二终端,其中,所述操作记录信息用于指示所述第二终端实现所述至少
一个操作所对应的至少一个功能。a first receiving unit configured to receive at least one operation; a recording unit configured to write the at least one operation to the operation record information; and a sending unit configured to transmit the operation record information to the second terminal, wherein the The operation record information is used to instruct the second terminal to implement the at least
At least one function corresponding to an operation.
可选地,所述终端还包括,存储单元。Optionally, the terminal further includes a storage unit.
所述第一接收单元,还设置为在所述发送单元将所述操作记录信息发送给所述第二终端之前,接收所述第二终端的设备标识;所述存储单元,设置为将所述第一终端自身的设备标识与所述第二终端的设备标识关联保存。The first receiving unit is further configured to: before the sending unit sends the operation record information to the second terminal, receive a device identifier of the second terminal; the storage unit is configured to: The device identifier of the first terminal itself is saved in association with the device identifier of the second terminal.
可选地,所述发送单元将所述操作记录信息发送给第二终端包括:获得所述第二终端的用户身份标识;根据所述用户身份标识,将所述操作记录信息发送给所述第二终端。Optionally, the sending, by the sending unit, the operation record information to the second terminal includes: obtaining a user identity of the second terminal; and sending, according to the user identity identifier, the operation record information to the Two terminals.
可选地,所述发送单元将所述操作记录信息发送给第二终端还包括:将鉴权消息携带在所述操作记录信息中发送给所述第二终端,其中,所述鉴权消息用于所述第二终端验证所述操作记录信息的合法性。Optionally, the sending, by the sending unit, the operation record information to the second terminal, further comprising: carrying an authentication message in the operation record information, and sending the message to the second terminal, where the authentication message is used by Verifying the legitimacy of the operation record information at the second terminal.
可选地,所述记录单元将所述至少一个操作写入操作记录信息包括:依次为所述至少一个操作中的每一个操作添加顺序标记;将添加顺序标记后的至少一个操作依次写入所述操作记录信息。Optionally, the recording unit writes the operation record information by the at least one operation, including: sequentially adding a sequence mark to each of the at least one operation; and sequentially writing at least one operation after adding the sequence mark to the The operation record information.
一种终端,包括:第二接收单元、解析单元和执行单元。A terminal includes: a second receiving unit, a parsing unit, and an executing unit.
第二接收单元,设置为接收来自第一终端的操作记录信息;解析单元,设置为解析所述操作记录信息,获得至少一个操作;执行单元,设置为执行所述至少一个操作,实现所述至少一个操作所对应的至少一个功能。a second receiving unit configured to receive operation record information from the first terminal; a parsing unit configured to parse the operation record information to obtain at least one operation; and an execution unit configured to perform the at least one operation to implement the at least one At least one function corresponding to an operation.
可选地,所述解析单元还设置为:在解析所述操作记录信息,获得至少一个操作之前,提取所述操作记录信息中携带的鉴权信息;当所述鉴权信息表明所述操作记录信息合法时,解析所述操作记录信息,获得所述至少一个操作。Optionally, the parsing unit is further configured to: after parsing the operation record information, obtain at least one operation, extract authentication information carried in the operation record information; and when the authentication information indicates the operation record When the information is legal, the operation record information is parsed to obtain the at least one operation.
可选地,所述执行单元执行所述至少一个操作还包括:按照所述至少一个操作中每一个操作所对应的顺序标记,依次执行所述至少一个操作。Optionally, the performing, by the execution unit, the at least one operation further comprises: performing the at least one operation in sequence according to a sequence mark corresponding to each of the at least one operation.
可选地,所述执行单元执行所述至少一个操作还包括:当所述至少一个操作中包括打开第一应用的操作时,检测所述第二终端自身当前安装的至少一个应用中是否包括所述第一应用;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行所述打开第一应用的操作;如果所述
第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载所述第一应用的下载请求,并在所述第一应用下载安装完成后,执行所述打开第一应用的操作。Optionally, the performing, by the execution unit, the at least one operation further includes: detecting, when the at least one operation includes the operation of opening the first application, whether the at least one application currently installed by the second terminal itself includes the The first application is performed; if the first application is included in at least one application currently installed by the second terminal itself, performing the operation of opening the first application;
If the first application is not included in the at least one application currently installed by the second terminal, the download request for downloading the first application is sent, and after the first application download and installation is completed, the opening is performed. The operation of the first application.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的远程控制方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the remote control method.
本发明实施例提供一种远程控制方法及终端,当第一终端需要对远程的另一终端,即第二终端进行操作时,第一终端在接收到至少一个操作后,将这至少一个操作写入操作记录信息,也就是将需要第二终端执行的操作记录下来,第一终端将这至少一个操作发送给第二终端,使得第二终端能够执行这至少一个操作,实现对应的至少一个功能,进而实现终端间的远程控制。,由于对至少一个操作并无限制,第二终端能够实现更多的功能,提高灵活性,方便了用户操作,满足用户对远程控制的丰富需求;由于第一终端与第二终端之间的数据交互仅在发送操作记录信息的时候,并不需要稳定的网络环境支持,方便了用户操作,提供了良好的用户体验。The embodiment of the present invention provides a remote control method and a terminal. When the first terminal needs to operate another remote terminal, that is, the second terminal, the first terminal writes the at least one operation after receiving at least one operation. Entering the operation record information, that is, recording the operation required by the second terminal, the first terminal transmitting the at least one operation to the second terminal, so that the second terminal can perform the at least one operation to implement the corresponding at least one function, In turn, remote control between terminals is achieved. Since there is no restriction on at least one operation, the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control; data between the first terminal and the second terminal The interaction only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例一中的第一终端侧执行远程控制的方法流程示意图;1 is a schematic flowchart of a method for performing remote control on a first terminal side according to Embodiment 1 of the present invention;
图2为本发明实施例二中的第一终端控制下载电影A的方法流程示意图;2 is a schematic flowchart of a method for controlling downloading a movie A by a first terminal according to Embodiment 2 of the present invention;
图3为本发明实施例三中的第一终端控制相机打开闪光灯的方法流程示意图;3 is a schematic flow chart of a method for controlling a camera to turn on a flash by a first terminal according to Embodiment 3 of the present invention;
图4为本发明实施例四中的第二终端执行远程控制的方法流程示意图;4 is a schematic flowchart of a method for performing remote control by a second terminal according to Embodiment 4 of the present invention;
图5为本发明实施例六中的远程控制系统执行远程控制方法的流程示意图;5 is a schematic flowchart of a remote control system performing remote control method according to Embodiment 6 of the present invention;
图6为本发明实施例七中的终端的一种结构示意图;6 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention;
图7为本发明实施例八中的终端的另一种结构示意图。
FIG. 7 is another schematic structural diagram of a terminal in Embodiment 8 of the present invention.
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
实施例一:Embodiment 1:
本发明实施例提供一种远程控制方法,该方法应用于第一终端,该第一终端能够对远程网络中的另一终端,即第二终端实现控制,也就是说,第一终端能够对第二终端实现远程控制。An embodiment of the present invention provides a remote control method, where the method is applied to a first terminal, where the first terminal can implement control on another terminal in the remote network, that is, the second terminal, that is, the first terminal can The second terminal implements remote control.
在实际应用中,上述第一终端和第二终端均可以为智能手机、平板电脑、智能手表等,本发明实施例不做限定。In the actual application, the first terminal and the second terminal may be smart phones, tablet computers, smart watches, etc., which are not limited in the embodiment of the present invention.
图1为本发明实施例一中的第一终端侧执行远程控制的方法流程示意图,参见图1所示,该方法包括步骤S101-S103:FIG. 1 is a schematic flowchart of a method for performing remote control on a first terminal side according to Embodiment 1 of the present invention. Referring to FIG. 1 , the method includes steps S101-S103:
S101:接收至少一个操作。S101: Receive at least one operation.
这里,当第一终端用户需要对第二终端进行远程控制时,首先,第一终端用户开启第一终端上远程控制功能,比如,打开远程控制的应用程序,或者在系统设置中打开远程控制功能的开关,或者通过预设的手势操作开启远程控制功能,如此,第一终端进入控制模式。接下来,用户在第一终端的桌面界面、某一个应用的操作界面等当前界面上进行至少一个操作。此时,至少一个操作可以为触摸操作,也可以为语音操作,还可以为用户在当前界面上用鼠标的点选操作,当然,在实际应用中,还存在对第一终端的其它形式的操作,本领域技术人员可以理解地,在本发明实施例中仅以触摸操作、语音操作以及点选操作为例进行说明,本发明实施例不做限定。在实际应用中,上述开启第一终端的远程控制功能还可以通过其它方式实现,本领域技术人员可自行设定,本发明实施例不做限定。Here, when the first terminal user needs to remotely control the second terminal, first, the first terminal user starts the remote control function on the first terminal, for example, opens the remote control application, or opens the remote control function in the system setting. The switch, or the remote control function is turned on by a preset gesture operation, such that the first terminal enters the control mode. Next, the user performs at least one operation on the current interface such as the desktop interface of the first terminal and the operation interface of an application. At this time, at least one operation may be a touch operation, or may be a voice operation, and may also be a user's click operation on the current interface by using a mouse. Of course, in actual applications, there are other forms of operations on the first terminal. It is to be understood by those skilled in the art that in the embodiment of the present invention, only the touch operation, the voice operation, and the click operation are taken as an example, and the embodiment of the present invention is not limited. In the actual application, the remote control function of the first terminal is also implemented by other methods, which can be set by a person skilled in the art, which is not limited by the embodiment of the present invention.
在另一实施例中,在进行远程控制之前,第一终端首先需要与第二终端进行配对。那么,在S101之前,上述方法还可以包括:接收第二终端的设备标识;将第一终端自身的设备标识与第二终端的设备标识关联保存。In another embodiment, the first terminal first needs to pair with the second terminal before performing remote control. Then, before the step S101, the method may further include: receiving the device identifier of the second terminal; and saving the device identifier of the first terminal itself with the device identifier of the second terminal.
这里,上述设备标识可以为终端的国际移动设备标识(IMEI,International Mobile Equipment Identity)、终端的型号、媒体访问控制(MAC,Media Access
Control)地址等,本发明实施例不做限定。Here, the device identifier may be an International Mobile Equipment Identity (IMEI) of the terminal, a model of the terminal, and a media access control (MAC, Media Access).
Control, etc., etc., are not limited in the embodiment of the present invention.
S102:将至少一个操作写入操作记录信息。S102: Write at least one operation to the operation record information.
这里,第一终端可以采用如操作指令、音频或者视频等形式来记录用户进行的至少一个操作,并将其写入操作记录信息。Here, the first terminal may record at least one operation performed by the user in the form of an operation instruction, audio or video, and write it to the operation record information.
例如,如果第一终端接收到的至少一个操作为触摸操作、语音操作或者鼠标的点选操作时,第一终端采用操作指令的形式来记录至少一个操作的,也就是说,第一终端可以将上述至少一个操作所对应的操作指令记录下来,并写入操作记录信息;如果第一终端接收到的至少一个操作为语音操作时,第一终端还可以采用语音指令的形式来记录至少一个操作,也就是说,第一终端将用户输入的语音操作所对应语音指令记录下来,并写入操作记录信息那么;如果第一终端接收到的至少一个操作为触摸操作或者鼠标的点选操作时,第一终端还可以采用视频的形式来记录至少一个操作的,也就是说,第一终端可以对用户在当前界面上进行的操作录制成视频,然后将该视频写入操作记录信息。For example, if the at least one operation received by the first terminal is a touch operation, a voice operation, or a click operation of a mouse, the first terminal records at least one operation in the form of an operation instruction, that is, the first terminal may The operation instruction corresponding to the at least one operation is recorded, and the operation record information is written; if the at least one operation received by the first terminal is a voice operation, the first terminal may further record at least one operation in the form of a voice instruction. That is, the first terminal records the voice command corresponding to the voice operation input by the user, and writes the operation record information; if at least one operation received by the first terminal is a touch operation or a mouse click operation, A terminal may also record at least one operation in the form of video, that is, the first terminal may record the operation performed by the user on the current interface into a video, and then write the video into the operation record information.
可选地,第一终端在将上述至少一个操作以操作指令或者语音指令写入操作记录信息之前,为了准确记录至少一个操作中的每一个操作的操作顺序,第一终端还可以依次为每一个操作添加顺序标记,将添加后的至少一个操作依次写入所述操作记录信息。Optionally, before the at least one operation is written into the operation record information by using the operation instruction or the voice instruction, the first terminal may further sequentially for each operation in order to accurately record the operation sequence of each operation of the at least one operation. The operation adds a sequence flag, and the added at least one operation is sequentially written into the operation record information.
S103:将操作记录信息发送给第二终端。S103: Send operation record information to the second terminal.
其中,操作记录信息用于指示第二终端实现至少一个操作所对应的至少一个功能。The operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
这里,第一终端可以且不限于采用以下几种方式将操作记录信息发送给第二终端。Here, the first terminal may, but is not limited to, transmit the operation record information to the second terminal in the following manners.
第一种方式,当第一终端要发送操作记录时,由于之前第一终端与第二终端的设备标识已关联保存,所以,第一终端可以直接调用第二终端的设备标识,将操作记录信息发送给第二终端;或者第一终端可以先从本地/服务器获得参照预先存储的第二终端的用户标识信息,如第二终端的用户身份识别模块(SIM,Subscriber Identity Module)标识、即时聊天应用账户名等,将操
作记录信息发送给第二终端。In the first mode, when the first terminal is to send the operation record, the device identifier of the second terminal can be directly called, and the device identifier of the second terminal can be directly used to record the operation record. Sending to the second terminal; or the first terminal may first obtain the user identification information of the second terminal that is pre-stored from the local/server, such as the Subscriber Identity Module (SIM) identifier of the second terminal, and the instant chat application. Account name, etc., will operate
The record information is sent to the second terminal.
可选地,第一终端还可以跟多个终端关联,那么,当第一终端要发送操作记录时,可以将所有关联的终端显示在当前界面或者悬浮窗口上,以供用户选择,然后再根据用户所选中的第二终端的设备标识或者用户身份标识,将操作记录信息发送给第二终端。Optionally, the first terminal may also be associated with multiple terminals. Then, when the first terminal is to send an operation record, all associated terminals may be displayed on the current interface or the floating window for the user to select, and then according to the The device identifier or the user identity identifier of the second terminal selected by the user sends the operation record information to the second terminal.
第二种方式,当第一终端要发送操作记录信息时,调用通讯录或者提供一个输入框给用户,以供用户在其中选择,然后再根据用户所选中的第二终端的用户身份信息,将操作记录信息发送给第二终端。In the second mode, when the first terminal wants to send the operation record information, the address book is called or an input box is provided to the user for the user to select therein, and then according to the user identity information of the second terminal selected by the user, The operation record information is sent to the second terminal.
当然,在实际应用中,上述将操作记录信息发送给第二终端还可以通过其它方式实现,本领域技术人员可自行设定,本发明实施例不做限定。Of course, in the actual application, the above-mentioned operation record information is sent to the second terminal, which can be implemented by other methods, and can be set by a person skilled in the art, which is not limited by the embodiment of the present invention.
可选地,在用户完成操作时,用户可以操作第一终端关闭远程控制功能,或者暂停将至少一个操作写入操作记录信息,本发明实施例不作限定。Optionally, when the user completes the operation, the user may operate the first terminal to turn off the remote control function, or suspend the at least one operation to write the operation record information, which is not limited in the embodiment of the present invention.
至此,便完成了第一终端侧记录至少一个操作并发送给第二终端的过程。At this point, the process of recording at least one operation on the first terminal side and transmitting to the second terminal is completed.
实施例二:Embodiment 2:
基于上述实施例一,以“操作指令”记录至少一个操作的过程为例进行说明。这里,以最简单的文件组织规则为例进行描述,所进行的同步控制操作可以是系统设置,也可以是手机应用操作等。在此为了明确本发明实施例的适用范围的广泛、可定制、即时性,以第一终端记录“下载电影A”的操作所形成的操作记录信息为例。Based on the above-described first embodiment, the process of recording at least one operation by the "operation instruction" will be described as an example. Here, the simplest file organization rule is taken as an example for description, and the synchronization control operation performed may be a system setting or a mobile phone application operation. Herein, in order to clarify the wide range of the applicable scope of the embodiment of the present invention, the operation record information formed by the operation of downloading the movie A by the first terminal is taken as an example.
图2为本发明实施例二中的第一终端控制下载电影A的方法流程示意图,如图2所示,该方法包括步骤S201-S209:FIG. 2 is a schematic flowchart of a method for controlling downloading a movie A by a first terminal according to Embodiment 2 of the present invention. As shown in FIG. 2, the method includes steps S201-S209:
S201:第一终端开启远程控制功能。S201: The first terminal starts the remote control function.
S202:第一终端接收用户点击启动电影应用的操作。S202: The first terminal receives an operation of the user clicking to start the movie application.
S204:第一终端在后台自动记录并写入操作记录信息“01#打开电影应用”。S204: The first terminal automatically records and writes the operation record information “01#Open Movie Application” in the background.
S205:第一终端接收用户在电影应用中搜索电影A的操作。S205: The first terminal receives an operation of the user searching for the movie A in the movie application.
S206:第一终端在后台自动记录并写入操作记录信息“02#搜索电影A”。
S206: The first terminal automatically records and writes the operation record information “02#Search Movie A” in the background.
S207:第一终端接收用户在电影应用中点击下载操作。S207: The first terminal receives the user clicking the download operation in the movie application.
S208:第一终端在后台自动记录并写入操作记录信息“03#点击下载”。S208: The first terminal automatically records and writes the operation record information “03#Click to download” in the background.
S209:第一终端停止记录,并将操作记录信息发送给第二终端。S209: The first terminal stops recording, and sends operation record information to the second terminal.
实施例三:Embodiment 3:
基于上述实施例一,以“语音指令”记录至少一个操作的过程为例进行说明。在此为了明确本发明实施例的适用范围的广泛、可定制、即时性,以第一终端记录“打开相机闪光灯”的操作所形成的操作记录信息为例。Based on the above-mentioned first embodiment, a process of recording at least one operation by "voice command" will be described as an example. Herein, in order to clarify the wide range, customizable, and immediacy of the scope of application of the embodiment of the present invention, the operation record information formed by the operation of the first terminal recording "turning on the camera flash" is taken as an example.
图3为本发明实施例三中的第一终端控制相机打开闪光灯的方法流程示意图,如图3所示,该方法包括步骤S301-S306:FIG. 3 is a schematic flowchart of a method for a first terminal to control a camera to open a flash according to a third embodiment of the present invention. As shown in FIG. 3, the method includes steps S301-S306:
S301:第一终端开启远程控制功能,并开启麦克风。S301: The first terminal starts the remote control function, and turns on the microphone.
S302:第一终端接收用户输入的打开相机的语音操作。S302: The first terminal receives a voice operation of the camera that is input by the user.
S303:第一终端后台自动录音,将语音指令写入操作记录信息,同时添加顺序标记“01#”。S303: The first terminal automatically records in the background, writes the voice instruction into the operation record information, and adds the sequence mark “01#”.
S304:第一终端接收用户输入的打开闪光灯的语音操作。S304: The first terminal receives a voice operation of the open flash input by the user.
S305:第一终端后台自动录音,将语音指令写入操作记录信息,同时添加顺序标记“02#”。S305: The first terminal automatically records in the background, writes the voice instruction into the operation record information, and adds the sequence mark “02#”.
S306:第一终端停止录制语音,并将操作记录信息发送给第二终端。S306: The first terminal stops recording the voice, and sends the operation record information to the second terminal.
在上述实施例一至三中,由于对至少一个操作并无限制,第二终端能够实现更多的功能,提高灵活性,方便了用户操作,满足用户对远程控制的丰富需求;由于第一终端与第二终端之间的数据交互仅在发送操作记录信息的时候,并不需要稳定的网络环境支持,方便了用户操作,提供了良好的用户体验。In the first embodiment to the third embodiment, since there is no limitation on at least one operation, the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control; The data interaction between the second terminals only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
实施例四:Embodiment 4:
基于同一发明构思,本实施例提供一种远程控制方法,应用于第二终端,该第二终端与上述一个或者多个实施例中所述的第二终端一致。Based on the same inventive concept, the present embodiment provides a remote control method, which is applied to a second terminal, and the second terminal is consistent with the second terminal in the one or more embodiments.
图4为本发明实施例四中的第二终端执行远程控制的方法流程示意图,如图4所示,该方法包括步骤S401-S403:
4 is a schematic flowchart of a method for performing remote control by a second terminal according to Embodiment 4 of the present invention. As shown in FIG. 4, the method includes steps S401-S403:
S401:接收来自第一终端的操作记录信息。S401: Receive operation record information from the first terminal.
S402:解析操作记录信息,获得至少一个操作。S402: Parse the operation record information to obtain at least one operation.
S403:执行至少一个操作,以实现至少一个操作所对应的至少一个功能。S403: Perform at least one operation to implement at least one function corresponding to the at least one operation.
这里,当上述至少一个操作为多个操作时,第二终端可以按照至少一个操作中每一个操作所对应的顺序标记,依次执行至少一个操作。Here, when the at least one operation is a plurality of operations, the second terminal may sequentially perform at least one operation in accordance with an order mark corresponding to each of the at least one operation.
可选地,为了满足用户对终端间远程控制的丰富需求,上述S403可以包括:当至少一个操作中包括打开第一应用的操作时,检测第二终端自身当前安装的至少一个应用中是否包括第一应用;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行打开第一应用的操作;如果所述第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载第一应用的下载请求,并在第一应用下载安装完成后,执行打开第一应用的操作。Optionally, in order to meet the rich demand of the user for the remote control between the terminals, the foregoing S403 may include: detecting, when the at least one operation includes the operation of opening the first application, detecting whether the at least one application currently installed by the second terminal itself includes the first An application; if the first application is currently included in the at least one application that is currently installed by the second terminal, performing an operation of opening the first application; if the second terminal itself does not include the at least one application currently installed The first application sends a download request for requesting to download the first application, and after the first application download and installation is completed, performs an operation of opening the first application.
这里,也就是说,当至少一个操作中包括打开第一应用的操作时,第二终端先检测自身有没有安装该应用,如果自身安装了该应用,则执行上述打开第一应用的操作,如果没有安装该应用,则先请求服务器系在并安装第一应用,并在安装完成后,再执行打开第一应用的操作,这样,扩展了终端间远程控制的操作范围,提高终端的智能程度,进而方便用户操作,提供良好的用户体验。Here, that is, when at least one operation includes an operation of opening the first application, the second terminal first detects whether the application is installed by itself, and if the application is installed by itself, performs the operation of opening the first application, if If the application is not installed, the server is first requested to install and install the first application, and after the installation is completed, the operation of opening the first application is performed, thereby expanding the operation range of the remote control between the terminals and improving the intelligence of the terminal. In turn, it is convenient for users to operate and provides a good user experience.
实施例五:Embodiment 5:
在上述实施例一和实施例四的基础上,为了保证信息安全,验证操作记录信息的合法性,第一终端和第二终端之间还可以进行鉴权的过程。On the basis of the foregoing first embodiment and the fourth embodiment, in order to ensure information security and verify the legality of the operation record information, the authentication process between the first terminal and the second terminal may also be performed.
那么,上述S103可以包括:第一终端将鉴权消息携带在操作记录信息中发送给第二终端;第二终端在接收端到操作记录之后能够根据鉴权消息验证操作记录信息的合法性。Then, the foregoing S103 may include: the first terminal carries the authentication message in the operation record information and sends the message to the second terminal; and the second terminal can verify the validity of the operation record information according to the authentication message after the receiving end reaches the operation record.
这里,上述鉴权信息可以为固定的验证码,也可以为随机的验证码,还可以为第一终端和/或第二终端的设备标识、用户身份标识等,本发明实施例不作限定。Here, the foregoing authentication information may be a fixed verification code, or may be a random verification code, and may also be a device identifier of the first terminal and/or the second terminal, a user identity, and the like, which are not limited in the embodiment of the present invention.
可选地,在第二终端侧,在第一终端将携带有鉴权消息的操作记录信息
发送给第二终端的情况下,S401可以包括:提取操作记录信息中携带的鉴权信息;当鉴权信息表明操作记录信息合法时,解析操作记录信息,获得至少一个操作。Optionally, on the second terminal side, the first terminal will carry the operation record information of the authentication message.
In the case of being sent to the second terminal, S401 may include: extracting the authentication information carried in the operation record information; and when the authentication information indicates that the operation record information is legal, parsing the operation record information to obtain at least one operation.
这里,第二终端接收第一终端发来的操作记录信息之后,先提取其中的鉴权信息,然后,基于鉴权信息进行鉴权,例如,鉴权信息为固定的验证码,那么,第二终端提取到操作记录信息中携带的鉴权信息,即验证码后,就跟与第一终端预先约定的验证码进行比对,如果操作记录信息中携带的验证码与第一终端预先约定的验证码比对一致,则表明操作记录信息合法,如果操作记录信息中携带的验证码与第一终端预先约定的验证码比对不一致,则表明操作记录信息非法。进而,当鉴权信息表明操作记录信息合法时,第二终端解析操作记录信息,获得上述至少一个操作。Here, after receiving the operation record information sent by the first terminal, the second terminal first extracts the authentication information therein, and then performs authentication based on the authentication information, for example, the authentication information is a fixed verification code, then the second After the terminal extracts the authentication information carried in the operation record information, that is, the verification code, it compares with the verification code pre-agreed by the first terminal, and if the verification code carried in the operation record information and the first terminal pre-agreed the verification If the code comparison is consistent, the operation record information is legal. If the verification code carried in the operation record information is inconsistent with the verification code pre-agreed by the first terminal, the operation record information is illegal. Further, when the authentication information indicates that the operation record information is legal, the second terminal parses the operation record information to obtain the at least one operation.
实施例六:Example 6:
在上述实施例一至五任一项的基础上,本实施例提供一种远程控制的方法,应用于一远程控制系统,该系统中至少包括第一终端、第二终端以及网络侧设备。On the basis of any one of the foregoing embodiments, the present embodiment provides a method for remote control, which is applied to a remote control system, where the system includes at least a first terminal, a second terminal, and a network side device.
图5为本发明实施例六中的远程控制系统执行远程控制方法的流程示意图,如图5所示,该方法包括步骤S501-S509:FIG. 5 is a schematic flowchart of a remote control system performing remote control method according to Embodiment 6 of the present invention. As shown in FIG. 5, the method includes steps S501-S509:
S501:第一终端开启远程控制功能。S501: The first terminal starts the remote control function.
S502:第一终端接收用户进行的至少一个操作,并将至少一个操作写入操作记录信息。S502: The first terminal receives at least one operation performed by the user, and writes at least one operation into the operation record information.
S503:第一终端将操作记录信息发送到第二终端。S503: The first terminal sends the operation record information to the second terminal.
S504:第二终端进行安全鉴权工作。S504: The second terminal performs security authentication work.
S505:如果安全鉴权通过,则第二终端对操作记录信息进行解析,获得至少一个操作;如果安全鉴权不通过,则第二终端不予响应,丢弃操作记录信息。S505: If the security authentication is passed, the second terminal parses the operation record information to obtain at least one operation; if the security authentication fails, the second terminal does not respond, and discards the operation record information.
S506:第二终端执行至少一个操作。S506: The second terminal performs at least one operation.
S507:第二终端记录执行结果,并将相应的执行结果数据反馈给第一终端。
S507: The second terminal records the execution result, and feeds back the corresponding execution result data to the first terminal.
S508:第一终端接收执行结果数据,并对执行结果数据进行校验。S508: The first terminal receives the execution result data, and performs verification on the execution result data.
S509:第一终端根据数据校验,判断执行结果数据是否符合预期的远程控制目的;其中,当执行结果数据符合预期时,则结束本流程;当执行结果数据不符合预期时,,则返回S502。S509: The first terminal determines, according to the data check, whether the execution result data meets the expected remote control purpose; wherein, when the execution result data meets the expected result, the process ends; when the execution result data does not meet the expected result, return to S502. .
实施例七:Example 7:
基于同一发明构思,本发明实施例提供一种终端,该终端与上述一个或者多个实施例中所述的第一终端一致。Based on the same inventive concept, an embodiment of the present invention provides a terminal that is consistent with the first terminal described in one or more of the foregoing embodiments.
图6为本发明实施例七中的终端的一种结构示意图,如图6所示,该终端包括:第一接收单元61、记录单元62和发送单元63。FIG. 6 is a schematic structural diagram of a terminal in Embodiment 7 of the present invention. As shown in FIG. 6, the terminal includes: a first receiving unit 61, a recording unit 62, and a sending unit 63.
第一接收单元61,设置为接收至少一个操作;记录单元62,设置为将至少一个操作写入操作记录信息;发送单元63,设置为将操作记录信息发送给第二终端,其中,操作记录信息用于指示第二终端实现至少一个操作所对应的至少一个功能。The first receiving unit 61 is configured to receive at least one operation; the recording unit 62 is configured to write at least one operation into the operation record information; and the sending unit 63 is configured to send the operation record information to the second terminal, wherein the operation record information is And configured to instruct the second terminal to implement at least one function corresponding to the at least one operation.
在本发明其它实施例中,上述终端还包括,存储单元;第一接收单元61,还设置为在发送单元将操作记录信息发送给第二终端之前,接收第二终端的设备标识;存储单元,设置为将第一终端自身的设备标识与第二终端的设备标识关联保存。In another embodiment of the present invention, the terminal further includes a storage unit, and the first receiving unit 61 is further configured to: before the sending unit sends the operation record information to the second terminal, receive the device identifier of the second terminal; It is set to save the device identifier of the first terminal itself and the device identifier of the second terminal.
可选地,发送单元63将所述操作记录信息发送给第二终端包括:获得第二终端的用户身份标识;根据用户身份标识,将操作记录信息发送给第二终端。Optionally, the sending, by the sending unit 63, the operation record information to the second terminal includes: obtaining a user identity identifier of the second terminal; and sending the operation record information to the second terminal according to the user identity identifier.
可选地,发送单元63将所述操作记录信息发送给第二终端还包括:将鉴权消息携带在操作记录信息中发送给第二终端,其中,鉴权消息用于第二终端验证操作记录信息的合法性。Optionally, the sending, by the sending unit 63, the operation record information to the second terminal further includes: carrying the authentication message in the operation record information and sending the message to the second terminal, where the authentication message is used for the second terminal verification operation record The legality of the information.
可选地,记录单元62将所述至少一个操作写入操作记录信息包括:依次记录至少一个操作中的每一个操作,并按照顺序为每一个操作添加顺序标记;将添加顺序标记后的至少一个操作依次写入操作记录信息。Optionally, the recording unit 62 writes the at least one operation to the operation record information, including: sequentially recording each of the at least one operation, and adding a sequence mark for each operation in sequence; at least one of the added order marks is added The operation sequentially writes the operation record information.
这里需要指出的是:以上终端实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本发明
终端实施例中未披露的技术细节,请参照本发明方法实施例的描述而理解,为节约篇幅,因此不再赘述。It should be noted here that the description of the above terminal embodiment is similar to the description of the above method embodiment, and has similar advantageous effects as the method embodiment, and therefore will not be described again. For the present invention
The technical details that are not disclosed in the embodiment of the present invention are understood by referring to the description of the method embodiment of the present invention.
实施例八:Example 8:
本发明实施例还提供一种终端,该终端与上述一个或者多个实施例中所述的第二终端一致。这里,本实施例中的终端可以与上述实施例七中的终端在物理上合设或者分设,本发明实施例不做限定。The embodiment of the present invention further provides a terminal that is consistent with the second terminal described in one or more of the foregoing embodiments. Here, the terminal in this embodiment may be physically or in combination with the terminal in the seventh embodiment, which is not limited in the embodiment of the present invention.
图7为本发明实施例八中的终端的另一种结构示意图,如图7所示,该终端包括:第二接收单元71、解析单元72和执行单元73。FIG. 7 is another schematic structural diagram of a terminal according to Embodiment 8 of the present invention. As shown in FIG. 7, the terminal includes: a second receiving unit 71, a parsing unit 72, and an executing unit 73.
第二接收单元71,设置为接收来自第一终端的操作记录信息;解析单元72,设置为解析操作记录信息,获得至少一个操作;执行单元73,设置为执行至少一个操作,以实现至少一个操作所对应的至少一个功能。The second receiving unit 71 is configured to receive operation record information from the first terminal; the parsing unit 72 is configured to parse the operation record information to obtain at least one operation; and the execution unit 73 is configured to perform at least one operation to implement at least one operation At least one function corresponding to it.
可选地,解析单元72还设置为:在解析所述操作记录信息,获得至少一个操作之前,提取操作记录信息中携带的鉴权信息;当鉴权信息表明操作记录信息合法时,解析操作记录信息,获得至少一个操作。Optionally, the parsing unit 72 is further configured to: after parsing the operation record information, obtaining at least one operation, extracting the authentication information carried in the operation record information; and when the authentication information indicates that the operation record information is legal, parsing the operation record Information, get at least one operation.
可选地,执行单元73执行所述至少一个操作还包括:按照至少一个操作中每一个操作所对应的顺序标记,依次执行至少一个操作。Optionally, executing the at least one operation by the execution unit 73 further comprises: performing at least one operation in sequence according to the sequence mark corresponding to each of the at least one operation.
可选地,执行单元73执行所述至少一个操作还包括:当至少一个操作中包括打开第一应用的操作时,检测第二终端自身当前安装的至少一个应用中是否包括第一应用;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行打开第一应用的操作;如果所述第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载第一应用的下载请求,并在第一应用下载安装完成后,执行打开第一应用的操作。Optionally, the performing, by the execution unit 73, the at least one operation further comprises: detecting, when the at least one operation of the first application is included in the at least one operation, whether the first application is included in the at least one application currently installed by the second terminal; If the first application is included in the at least one application that is currently installed by the second terminal, the operation of opening the first application is performed, and if the first application is not included in the at least one application currently installed by the second terminal, And sending a download request for requesting to download the first application, and after the first application download and installation is completed, performing an operation of opening the first application.
这里需要指出的是:以上终端实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本发明终端实施例中未披露的技术细节,请参照本发明方法实施例的描述而理解,为节约篇幅,因此不再赘述。It should be noted here that the description of the above terminal embodiment is similar to the description of the above method embodiment, and has similar advantageous effects as the method embodiment, and therefore will not be described again. For the technical details that are not disclosed in the embodiment of the present invention, please refer to the description of the method embodiment of the present invention, and the details are not described herein.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的远程控制方法。
A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the remote control method.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明实施例可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, embodiments of the invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明实施例是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明可选实施例而已,并非用于限定本发明实施例的保护范围。The above is only an alternative embodiment of the present invention, and is not intended to limit the scope of protection of the embodiments of the present invention.
本发明实施例提供一种远程控制方法及终端,当第一终端需要对远程的另一终端,即第二终端进行操作时,第一终端在接收到至少一个操作后,将这至少一个操作写入操作记录信息,也就是将需要第二终端执行的操作记录下来,第一终端将这至少一个操作发送给第二终端,使得第二终端能够执行
这至少一个操作,实现对应的至少一个功能,进而实现终端间的远程控制。,由于对至少一个操作并无限制,第二终端能够实现更多的功能,提高灵活性,方便了用户操作,满足用户对远程控制的丰富需求;由于第一终端与第二终端之间的数据交互仅在发送操作记录信息的时候,并不需要稳定的网络环境支持,方便了用户操作,提供了良好的用户体验。
The embodiment of the present invention provides a remote control method and a terminal. When the first terminal needs to operate another remote terminal, that is, the second terminal, the first terminal writes the at least one operation after receiving at least one operation. Entering the operation record information, that is, recording the operation required by the second terminal, the first terminal transmitting the at least one operation to the second terminal, so that the second terminal can execute
The at least one operation implements at least one corresponding function, thereby implementing remote control between the terminals. Since there is no restriction on at least one operation, the second terminal can implement more functions, improve flexibility, facilitate user operation, and satisfy the user's rich demand for remote control; data between the first terminal and the second terminal The interaction only needs to support the stable network environment when sending the operation record information, which is convenient for the user to operate and provides a good user experience.
Claims (18)
- 一种远程控制方法,应用于第一终端,所述方法包括:A remote control method is applied to a first terminal, the method comprising:接收至少一个操作;Receiving at least one operation;将所述至少一个操作写入操作记录信息;Writing the at least one operation to the operation record information;将所述操作记录信息发送给第二终端,其中,所述操作记录信息用于指示所述第二终端实现所述至少一个操作所对应的至少一个功能。Sending the operation record information to the second terminal, where the operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
- 根据权利要求1所述的远程控制方法,所述方法还包括:The remote control method according to claim 1, further comprising:在将所述操作记录信息发送给第二终端之前,接收所述第二终端的设备标识;Receiving the device identifier of the second terminal before transmitting the operation record information to the second terminal;将所述第一终端自身的设备标识与所述第二终端的设备标识关联保存。And saving the device identifier of the first terminal itself with the device identifier of the second terminal.
- 根据权利要求1所述的远程控制方法,其中,所述将所述操作记录信息发送给第二终端包括:The remote control method according to claim 1, wherein the transmitting the operation record information to the second terminal comprises:获得所述第二终端的用户身份标识;Obtaining a user identity of the second terminal;根据所述用户身份标识,将所述操作记录信息发送给所述第二终端。And sending the operation record information to the second terminal according to the user identity.
- 根据权利要求1所述的远程控制方法,其中,所述将所述操作记录信息发送给第二终端还包括:The remote control method according to claim 1, wherein the transmitting the operation record information to the second terminal further comprises:将鉴权消息携带在所述操作记录信息中发送给所述第二终端,其中,所述鉴权消息用于所述第二终端验证所述操作记录信息的合法性。The authentication message is carried in the operation record information and sent to the second terminal, where the authentication message is used by the second terminal to verify the validity of the operation record information.
- 根据权利要求1所述的远程控制方法,其中,所述将所述至少一个操作写入操作记录信息包括:The remote control method according to claim 1, wherein the writing the operation record information to the at least one operation comprises:依次为所述至少一个操作中的每一个操作添加顺序标记;Adding a sequence mark to each of the at least one operation in sequence;将添加顺序标记后的至少一个操作依次写入所述操作记录信息。At least one operation after adding the order mark is sequentially written to the operation record information.
- 一种远程控制方法,应用于第二终端,所述方法包括:A remote control method is applied to a second terminal, the method comprising:接收来自第一终端的操作记录信息;Receiving operation record information from the first terminal;解析所述操作记录信息,获得至少一个操作;Parsing the operation record information to obtain at least one operation;执行所述至少一个操作,实现所述至少一个操作所对应的至少一个功能。 Performing the at least one operation to implement at least one function corresponding to the at least one operation.
- 根据权利要求6所述的远程控制方法,所述方法还包括:The remote control method according to claim 6, further comprising:在解析所述操作记录信息,获得至少一个操作之前,提取所述操作记录信息中携带的鉴权信息;Extracting the authentication information carried in the operation record information before parsing the operation record information to obtain at least one operation;当所述鉴权信息表明所述操作记录信息合法时,解析所述操作记录信息,获得所述至少一个操作。When the authentication information indicates that the operation record information is legal, the operation record information is parsed to obtain the at least one operation.
- 根据权利要求6所述的远程控制方法,其中,所述执行所述至少一个操作包括:The remote control method according to claim 6, wherein said performing said at least one operation comprises:按照所述至少一个操作中每一个操作所对应的顺序标记,依次执行所述至少一个操作。The at least one operation is sequentially performed in accordance with a sequence mark corresponding to each of the at least one operation.
- 根据权利要求6所述的远程控制方法,其中,所述执行所述至少一个操作还包括:The remote control method according to claim 6, wherein said performing said at least one operation further comprises:当所述至少一个操作中包括打开第一应用的操作时,检测所述第二终端自身当前安装的至少一个应用中是否包括所述第一应用;When the operation of the first application is included in the at least one operation, detecting whether the first application is included in at least one application currently installed by the second terminal itself;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行所述打开第一应用的操作;If the first application is included in at least one application currently installed by the second terminal itself, performing the operation of opening the first application;如果所述第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载所述第一应用的下载请求,并在所述第一应用下载安装完成后,执行所述打开第一应用的操作。And if the first application is not included in the at least one application currently installed by the second terminal, sending a download request for requesting to download the first application, and after the first application download and installation is completed, executing The operation of opening the first application is performed.
- 一种终端,包括:第一接收单元、记录单元和发送单元;A terminal includes: a first receiving unit, a recording unit, and a sending unit;所述第一接收单元,设置为接收至少一个操作;The first receiving unit is configured to receive at least one operation;所述记录单元,设置为将所述至少一个操作写入操作记录信息;The recording unit is configured to write the at least one operation into operation record information;所述发送单元,设置为将所述操作记录信息发送给第二终端,其中,所述操作记录信息用于指示所述第二终端实现所述至少一个操作所对应的至少一个功能。The sending unit is configured to send the operation record information to the second terminal, where the operation record information is used to indicate that the second terminal implements at least one function corresponding to the at least one operation.
- 根据权利要10所述的终端,所述终端还包括,存储单元;The terminal according to claim 10, the terminal further comprising: a storage unit;所述第一接收单元,还设置为在所述发送单元将所述操作记录信息发送给所述第二终端之前,接收所述第二终端的设备标识; The first receiving unit is further configured to receive the device identifier of the second terminal before the sending unit sends the operation record information to the second terminal;所述存储单元,设置为将所述第一终端自身的设备标识与所述第二终端的设备标识关联保存。The storage unit is configured to save the device identifier of the first terminal itself and the device identifier of the second terminal.
- 根据权利要求10所述的终端,其中,所述发送单元将所述操作记录信息发送给第二终端包括:获得所述第二终端的用户身份标识;根据所述用户身份标识,将所述操作记录信息发送给所述第二终端。The terminal according to claim 10, wherein the sending, by the sending unit, the operation record information to the second terminal comprises: obtaining a user identity of the second terminal; and performing the operation according to the user identity Recording information is sent to the second terminal.
- 根据权利要求10所述的终端,其中,所述发送单元将所述操作记录信息发送给第二终端还包括:将鉴权消息携带在所述操作记录信息中发送给所述第二终端,其中,所述鉴权消息用于所述第二终端验证所述操作记录信息的合法性。The terminal according to claim 10, wherein the sending, by the sending unit, the operation record information to the second terminal further comprises: carrying an authentication message in the operation record information, and sending the message to the second terminal, where The authentication message is used by the second terminal to verify the validity of the operation record information.
- 根据权利要求10所述的终端,其中,所述记录单元将所述至少一个操作写入操作记录信息包括:依次为所述至少一个操作中的每一个操作添加顺序标记;将添加顺序标记后的至少一个操作依次写入所述操作记录信息。The terminal according to claim 10, wherein said recording unit writes said at least one operation to operation record information comprising: sequentially adding a sequence flag for each of said at least one operation; At least one operation sequentially writes the operation record information.
- 一种终端,包括:第二接收单元、解析单元和执行单元;A terminal includes: a second receiving unit, a parsing unit, and an executing unit;所述第二接收单元,设置为接收来自第一终端的操作记录信息;The second receiving unit is configured to receive operation record information from the first terminal;所述解析单元,设置为解析所述操作记录信息,获得至少一个操作;The parsing unit is configured to parse the operation record information to obtain at least one operation;所述执行单元,设置为执行所述至少一个操作,实现所述至少一个操作所对应的至少一个功能。The execution unit is configured to perform the at least one operation to implement at least one function corresponding to the at least one operation.
- 根据权利要求15所述的终端,所述解析单元还设置为:在解析所述操作记录信息,获得至少一个操作之前,提取所述操作记录信息中携带的鉴权信息;当所述鉴权信息表明所述操作记录信息合法时,解析所述操作记录信息,获得所述至少一个操作。The terminal according to claim 15, the parsing unit is further configured to: after parsing the operation record information, obtain at least one operation, extract authentication information carried in the operation record information; and when the authentication information is When the operation record information is legal, the operation record information is parsed to obtain the at least one operation.
- 根据权利要求15所述的终端,其中,所述执行单元执行所述至少一个操作还包括:按照所述至少一个操作中每一个操作所对应的顺序标记,依次执行所述至少一个操作。The terminal according to claim 15, wherein the execution unit performing the at least one operation further comprises sequentially performing the at least one operation in accordance with a sequence flag corresponding to each of the at least one operation.
- 根据权利要求15所述的终端,其中,所述执行单元执行所述至少一个操作还包括:当所述至少一个操作中包括打开第一应用的操作时,检测所述第二终端自身当前安装的至少一个应用中是否包括所述第一应用;如果所述第二终端自身当前安装的至少一个应用中包括所述第一应用,则执行所述 打开第一应用的操作;如果所述第二终端自身当前安装的至少一个应用中不包括所述第一应用,则发送用于请求下载所述第一应用的下载请求,并在所述第一应用下载安装完成后,执行所述打开第一应用的操作。 The terminal according to claim 15, wherein the performing, by the execution unit, the at least one operation further comprises: detecting, when the at least one operation includes an operation of opening the first application, currently installing the second terminal itself Whether the first application is included in at least one application; if the first application is included in at least one application currently installed by the second terminal itself, performing the Opening an operation of the first application; if the first application is not included in the at least one application currently installed by the second terminal, sending a download request for requesting to download the first application, and at the first After the application download is completed, the operation of opening the first application is performed.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610362541.8A CN107438089A (en) | 2016-05-26 | 2016-05-26 | A kind of long-range control method and terminal |
CN201610362541.8 | 2016-05-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017201840A1 true WO2017201840A1 (en) | 2017-11-30 |
Family
ID=60412813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/090177 WO2017201840A1 (en) | 2016-05-26 | 2016-07-15 | Remote control method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107438089A (en) |
WO (1) | WO2017201840A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352347A (en) * | 2018-12-24 | 2020-06-30 | 青岛海尔洗衣机有限公司 | Control method of household appliance and household appliance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685389A (en) * | 2012-09-13 | 2014-03-26 | 卓望数码技术(深圳)有限公司 | System and method for realizing user interface interaction through remotely controlling data terminal |
US20140167936A1 (en) * | 2012-12-14 | 2014-06-19 | Electronics And Telecommunications Research Institute | Remote control apparatus and method using dynamic script |
CN103973548A (en) * | 2014-05-09 | 2014-08-06 | 小米科技有限责任公司 | Remote control method and device |
CN104991772A (en) * | 2015-06-30 | 2015-10-21 | 努比亚技术有限公司 | Remote operation guide method and apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103616860B (en) * | 2013-11-08 | 2017-02-15 | 海信集团有限公司 | Method and device for remote control of household appliances |
CN105611029A (en) * | 2014-10-29 | 2016-05-25 | 小米科技有限责任公司 | Method and device for controlling reminding function of terminal equipment |
CN105391845A (en) * | 2015-10-08 | 2016-03-09 | 广东欧珀移动通信有限公司 | Remote operation method and device for mobile intelligent terminal |
CN105491229B (en) * | 2015-11-26 | 2019-01-04 | 小米科技有限责任公司 | The method and apparatus of remote control mobile terminal |
-
2016
- 2016-05-26 CN CN201610362541.8A patent/CN107438089A/en active Pending
- 2016-07-15 WO PCT/CN2016/090177 patent/WO2017201840A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685389A (en) * | 2012-09-13 | 2014-03-26 | 卓望数码技术(深圳)有限公司 | System and method for realizing user interface interaction through remotely controlling data terminal |
US20140167936A1 (en) * | 2012-12-14 | 2014-06-19 | Electronics And Telecommunications Research Institute | Remote control apparatus and method using dynamic script |
CN103973548A (en) * | 2014-05-09 | 2014-08-06 | 小米科技有限责任公司 | Remote control method and device |
CN104991772A (en) * | 2015-06-30 | 2015-10-21 | 努比亚技术有限公司 | Remote operation guide method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107438089A (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107659416B (en) | Conference record sharing method and device, conference terminal and storage medium | |
TWI619025B (en) | Method, medium, system, and device for continuing an application session on a different device | |
JP6246232B2 (en) | Audio control process | |
CN105243318B (en) | Method and device for determining control authority of user equipment and terminal equipment | |
WO2017211020A1 (en) | Television control method and apparatus | |
WO2017113840A1 (en) | Information recommending method and device | |
US9880584B2 (en) | Method and apparatus for executing application in device | |
CN103412789A (en) | Method and system for starting application program as well as mobile terminal | |
EP2753048B1 (en) | Apparatus and method for providing a near field communication function in a portable terminal | |
TW201025129A (en) | Method, apparatus, and computer program product for managing software versions | |
WO2014166227A1 (en) | Method, apparatus, and device for adding plug-in in address book | |
CN102982052A (en) | Method and apparatus for splitting media files | |
CN106664504B (en) | Control of device activity | |
WO2016150191A1 (en) | Data sharing method and device | |
TW201520896A (en) | A method for operating a program and a device thereof | |
CN105573128B (en) | User device, driving method thereof, service providing apparatus, and driving method thereof | |
WO2015096597A1 (en) | Method and device for browsing document by multiple devices | |
US20170163787A1 (en) | Method and electronic device for upgrading or downgrading system | |
US20170269961A1 (en) | Application program switching method and apparatus, and electronic terminal | |
EP3171608B1 (en) | Playing device grouping control method and user terminal | |
CN104468499A (en) | Determining format compatibility across a data processing device and another data processing device prior to transfer of a multimedia file therebetween | |
WO2016124008A1 (en) | Voice control method, apparatus and system | |
WO2017201840A1 (en) | Remote control method and terminal | |
CN104333563A (en) | Method of information processing and electronic equipment | |
CN103870544A (en) | Method and device for virtually operating file, and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16902827 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16902827 Country of ref document: EP Kind code of ref document: A1 |