CN106713319B - Remote control method, device and system between terminals and mobile terminal - Google Patents

Remote control method, device and system between terminals and mobile terminal Download PDF

Info

Publication number
CN106713319B
CN106713319B CN201611209215.XA CN201611209215A CN106713319B CN 106713319 B CN106713319 B CN 106713319B CN 201611209215 A CN201611209215 A CN 201611209215A CN 106713319 B CN106713319 B CN 106713319B
Authority
CN
China
Prior art keywords
remote control
client
application program
control instruction
service data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611209215.XA
Other languages
Chinese (zh)
Other versions
CN106713319A (en
Inventor
汤涌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201611209215.XA priority Critical patent/CN106713319B/en
Publication of CN106713319A publication Critical patent/CN106713319A/en
Application granted granted Critical
Publication of CN106713319B publication Critical patent/CN106713319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a remote control method, a device and a system between terminals and a mobile terminal. The method comprises the following steps: receiving a request for establishing a remote control relationship between a second client on a control terminal and the first client, wherein the request for establishing comprises account information of the second client; accessing a controlled terminal system, and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system; and when the service data service is determined to be integrated in the controlled terminal system, establishing the remote control relationship between the second client and the first client according to the account information of the second client, and triggering the control terminal to execute a remote control function on the controlled terminal. The technical scheme ensures that the method for realizing remote control is more practical and the user experience is better on the premise of establishing the remote control connection between the first client and the second client.

Description

Remote control method, device and system between terminals and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a system, and a mobile terminal for remote control between terminals.
Background
The frequency of the mobile phone used as an indispensable communication tool in daily life of users is very high every day. But for some users (such as the elderly and children), situations are often encountered in which the mobile phone is not operated or the application program on the mobile phone is not operated. If the user goes outside, a remote control request needs to be sent to the relatives and friends at this time, so that the relatives and friends assist the user to operate through the remote control function, and the effect of assisting the user to operate the mobile phone anytime and anywhere is further achieved.
In the prior art, when other mobile phones are controlled by the remote control function of the mobile phone client, the system bottom layer is required to grant operation authority, and after the client is installed for the first time and authority is granted, a user can use the remote control function of the client. Although this approach can achieve the purpose of remotely assisting the user in operating the mobile phone, there are some disadvantages, especially after the user uninstalls the client from the mobile phone, the user cannot guarantee to continue using the remote control function even if the client is installed back again, because the system has identified the client as a new application installation package APK, which has no authority granted by the system bottom layer.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method, an apparatus, a system and a mobile terminal for remote control between terminals that overcome or at least partially solve the above problems.
According to one aspect of the present invention, there is provided a method for remotely controlling terminals, which is applied to a first client on a controlled terminal, where an application program of the first client includes an application main body and a service data service corresponding to the application main body, and the method includes:
receiving a request for establishing a remote control relationship between a second client on a control terminal and the first client, wherein the request for establishing comprises account information of the second client;
accessing a controlled terminal system, and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system;
and when the service data service is determined to be integrated in the controlled terminal system, establishing the remote control relationship between the second client and the first client according to the account information of the second client, and triggering the control terminal to execute a remote control function on the controlled terminal.
Optionally, triggering the control terminal to execute a remote control function on the controlled terminal, including:
receiving a remote control instruction sent by the second client, wherein the remote control instruction comprises remote control operation executed on the control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling the service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service.
Optionally, the executing, by the service data service, a remote control function corresponding to the remote control instruction on the controlled terminal includes:
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain the remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
Optionally, the remote control instruction includes a signature written by using a preset signature algorithm;
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not, wherein the method comprises the following steps:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, the remote control operation is encrypted in advance by adopting a preset encryption algorithm;
sending the remote control operation to an application main body of the first client, including:
acquiring a preset decryption algorithm corresponding to the preset encryption algorithm;
decrypting the remote control operation by using the preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
According to another aspect of the present invention, there is provided a method for remotely controlling between terminals, which is applied to a second client on a control terminal, where an application program of the second client includes an application program main body and a service data service integrated in a control terminal system corresponding to the application program main body, and the method includes:
generating a request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the request for establishing the remote control relationship comprises account information of the second client, and a service data service corresponding to an application program main body of the first client is integrated in a system of the controlled terminal;
sending the establishment request to the first client;
and receiving a response request returned by the first client aiming at the establishment request, establishing the remote control relationship between the second client and the first client according to the response request, and executing a remote control function on the controlled terminal.
Optionally, sending the establishment request to the first client includes:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the service data service corresponding to the application program main body of the second client is integrated in the control terminal system, sending the establishment request to the first client.
Optionally, the executing a remote control function on the controlled terminal includes:
receiving remote control operation executed by a user on the control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including the remote control operation;
and sending the remote control instruction to the first client, and executing a remote control function corresponding to the remote control instruction by the first client.
Optionally, sending the remote control instruction to the first client includes:
generating a signature for the remote control instruction by using an application program main body of the second client and adopting a preset signature algorithm; or, calling a service data service corresponding to the application program main body of the second client from the control terminal system, and generating a signature aiming at the remote control instruction by using the called service data service and a preset signature algorithm;
writing the signature to the remote control instruction;
sending a remote control instruction including the signature to the first client;
and the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, generating a remote control instruction including the remote control operation includes:
encrypting the remote control operation by adopting a preset encryption algorithm;
generating a remote control instruction including the encrypted remote control operation.
According to another aspect of the present invention, there is provided an inter-terminal remote control apparatus, applied to a first client on a controlled terminal, an application program of the first client including an application main body and a service data service corresponding thereto, the apparatus including:
the system comprises a receiving module, a remote control module and a control module, wherein the receiving module is suitable for receiving a request for establishing a remote control relationship between a second client on a control terminal and a first client, and the request for establishing comprises account information of the second client;
the judging module is suitable for accessing a controlled terminal system and judging whether the controlled terminal system is integrated with the service data service corresponding to the application program main body of the first client;
and the first execution module is suitable for establishing the remote control relationship between the second client and the first client according to the account information of the second client and triggering the control terminal to execute a remote control function on the controlled terminal when the service data service is determined to be integrated in the controlled terminal system.
Optionally, the first execution module is further adapted to:
receiving a remote control instruction sent by the second client, wherein the remote control instruction comprises remote control operation executed on the control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling the service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service.
Optionally, the first execution module is further adapted to:
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain the remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
Optionally, the remote control instruction includes a signature written by using a preset signature algorithm; the first execution module is further adapted to:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, the remote control operation is encrypted in advance by adopting a preset encryption algorithm; the first execution module is further adapted to:
acquiring a preset decryption algorithm corresponding to the preset encryption algorithm;
decrypting the remote control operation by using the preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
According to another aspect of the present invention, there is provided an inter-terminal remote control apparatus, applied to a second client on a control terminal, an application program of the second client including an application main body and a service data service integrated in a control terminal system corresponding thereto, the apparatus including:
the generation module is suitable for generating an establishment request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the establishment request comprises account information of the second client, and a service data service corresponding to an application program main body of the first client is integrated in a system of the controlled terminal;
a sending module adapted to send the establishment request to the first client;
and the second execution module is suitable for receiving a response request returned by the first client aiming at the establishment request, establishing the remote control relationship between the second client and the first client according to the response request and executing a remote control function on the controlled terminal.
Optionally, the sending module is further adapted to:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the service data service corresponding to the application program main body of the second client is integrated in the control terminal system, sending the establishment request to the first client.
Optionally, the second execution module is further adapted to:
receiving remote control operation executed by a user on the control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including the remote control operation;
and the sending module is suitable for sending the remote control instruction to the first client, and the first client executes a remote control function corresponding to the remote control instruction.
Optionally, the sending module is further adapted to:
generating a signature for the remote control instruction by using an application program main body of the second client and adopting a preset signature algorithm; or, calling a service data service corresponding to the application program main body of the second client from the control terminal system, and generating a signature aiming at the remote control instruction by using the called service data service and a preset signature algorithm;
writing the signature to the remote control instruction;
sending a remote control instruction including the signature to the first client;
and the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, the second execution module is further adapted to:
encrypting the remote control operation by adopting a preset encryption algorithm;
generating a remote control instruction including the encrypted remote control operation.
According to another aspect of the present invention, a remote control system between terminals is provided, including a controlled terminal, a control terminal and a server, where the controlled terminal is installed with a first client, the control terminal is installed with a second client, and application programs of the first client and the second client include an application main body and a service data service corresponding thereto, where:
the second client is suitable for generating a request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the request for establishing comprises account information of the second client and account information of the first client; sending the establishment request to the server;
the server is suitable for receiving the establishment request from the second client and forwarding the establishment request to the first client according to the account information of the first client;
the first client is suitable for receiving the establishment request forwarded by the server, accessing a controlled terminal system and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system; when the service data service is determined to be integrated in the controlled terminal system, returning a response request to the server aiming at the establishment request;
the server is further suitable for receiving a response request returned by the first client and forwarding the response request to the second client;
the second client is also suitable for receiving a response request from the server, establishing the remote control relationship between the second client and the first client according to the response request and the account information of the second client, and executing a remote control function on the controlled terminal.
According to another aspect of the present invention, there is provided a mobile terminal including a processor and a memory for storing a program for performing the inter-terminal remote control method described above, the processor being configured to execute the program stored in the memory.
By adopting the technical scheme provided by the invention, the controlled terminal can access the controlled terminal system when receiving a request for establishing a remote control relationship between a second client on the control terminal and a first client on the controlled terminal, judge whether the controlled terminal system is integrated with the service data service corresponding to the application program main body of the first client, establish the remote control relationship between the second client and the first client when determining the service data service corresponding to the application program main body of the first client, and trigger the control terminal to execute the remote control function on the controlled terminal, so that the control terminal can execute the remote control operation without granting the control authority through a system bottom layer when remotely controlling the controlled terminal and only by verifying the service data service corresponding to the application program theme integrated with the first client in the controlled terminal system, the method not only enables permission to be granted more conveniently during remote control operation, but also avoids the situation that the control permission cannot be granted because the bottom layer of the system is considered as a strange application program installation package when a first client is not installed for the first time, and further the remote control cannot be realized between terminals.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a method of remote control between terminals according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method of remote control between terminals according to another embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for remote control between terminals according to a first embodiment of the present invention;
fig. 4 is a schematic block diagram of a remote control device between terminals according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a remote control device between terminals according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of a remote control system between terminals according to another embodiment of the present invention;
fig. 7 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The remote control method between terminals provided by the invention relates to two execution main bodies, namely a first client on a controlled terminal and a second client on a control terminal. The second client is used for initiating a request for establishing a remote control relationship to the first client, remotely controlling the controlled terminal according to the operation on the control terminal after the remote control relationship is successfully established, the first client is used for establishing the remote control relationship between the first client and the controlled terminal after receiving the request for establishing the remote control relationship initiated by the second client, and executing corresponding operation under the remote control of the control terminal after the remote control relationship is successfully established, so that the remote control between the terminals is realized. The following describes the remote control method between terminals according to the present invention from the perspective of the first client and the second client, respectively.
First client on controlled terminal
Fig. 1 is a schematic flowchart of a method for remote control between terminals according to an embodiment of the present invention. The remote control method between the terminals is applied to a first client on the controlled terminal, wherein an application program of the first client comprises an application program main body and service data service corresponding to the application program main body. As shown in fig. 1, the method may generally include the following steps S101-S103:
step S101, receiving a request for establishing a remote control relationship between a second client and a first client on a control terminal, wherein the request comprises account information of the second client.
Step S102, accessing the controlled terminal system, and judging whether the controlled terminal system is integrated with the service data service corresponding to the application program main body of the first client.
And step S103, when the service data service is integrated in the controlled terminal system, establishing a remote control relationship between the second client and the first client according to the account information of the second client, and triggering the control terminal to execute a remote control function on the controlled terminal.
By adopting the technical scheme provided by the invention, the controlled terminal can access the controlled terminal system when receiving a request for establishing a remote control relationship between a second client on the control terminal and a first client on the controlled terminal, judge whether the controlled terminal system is integrated with the service data service corresponding to the application program main body of the first client, establish the remote control relationship between the second client and the first client when determining the service data service corresponding to the application program main body of the first client, and trigger the control terminal to execute the remote control function on the controlled terminal, so that the control terminal can execute the remote control operation without granting the control authority through a system bottom layer when remotely controlling the controlled terminal and only by verifying the service data service corresponding to the application program theme integrated with the first client in the controlled terminal system, the method not only enables permission to be granted more conveniently during remote control operation, but also avoids the situation that the control permission cannot be granted because the bottom layer of the system is considered as a strange application program installation package when a first client is not installed for the first time, and further the remote control cannot be realized between terminals.
The following describes the above steps S101 to S103 in detail.
Step S101 is executed first, that is, a request for establishing a remote control relationship between a second client and a first client on a control terminal is received, where the request includes account information of the second client. The first client and the second client both have a remote control function.
And then, step S102 is executed, that is, the controlled terminal system is accessed, and whether the service data service corresponding to the application main body of the first client is integrated in the controlled terminal system is judged. The application program of the first client includes an application program main body and a service data service, in the prior art, the application program main body and the service data service are packaged as a whole into an application program APK, while in this embodiment, the application program main body and the service data service are separately packaged, specifically, the service data service of the first client is integrated in a controlled terminal system in advance, and when a user downloads and installs the first client, the user only needs to download the application program main body of the first client actually. When judging whether the service data service corresponding to the application main body of the first client is integrated in the controlled terminal system, the judgment can be carried out according to the preset data names of the application main body and the service data service.
The controlled terminal system is divided into at least three partitions, namely, priv-app, system-app and app 47:28, the system-app partition is mainly used for storing conventionally downloaded application programs, namely files ending in an APK format, and the priv-app partition and the app 47:28 partition are mainly used for storing the application programs carried by the system, and the partitions have higher authority compared with the system-app partition and the app 47:28 partition, namely, only users obtaining ROOT authority can access the partitions. Therefore, in order to enable the remote control between the terminals to have security, the service data service can be integrated in the priv-app partition in the controlled terminal system, so that the first client triggers the control terminal to execute the remote control operation on the controlled terminal when the service data service is integrated in the controlled terminal system, which is actually equivalent to that the first client is endowed with the bottom system authority, but the mode is more convenient compared with the mode of directly endowing the authority item through the system bottom.
When it is determined that the service data service corresponding to the application program main body of the first client is integrated in the controlled terminal system, step S103 is continuously executed, that is, a remote control relationship is established between the second client and the first client according to the account information of the second client, and the control terminal is triggered to execute a remote control function on the controlled terminal.
In one embodiment, the control terminal may be triggered to perform a remote control function on the controlled terminal according to the following steps: firstly, a remote control instruction sent by a second client is received, wherein the remote control instruction comprises remote control operation executed on a control terminal, and the remote control operation comprises at least one of clicking, moving and doodling. And secondly, calling the service data service corresponding to the application program main body of the first client from the controlled terminal system. And thirdly, executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service. When the service data service is used for executing the remote control function corresponding to the remote control instruction on the controlled terminal, the service data service is used for analyzing the remote control instruction to obtain the remote control operation in the remote control instruction, then the remote control operation is sent to the application program main body of the first client, and the application program main body of the first client controls the controlled terminal to execute the remote control function corresponding to the remote control operation.
In one embodiment, in order to provide security for remote control operation between terminals, when the service data service is used to analyze the remote control command, the service data service is used to check the remote control command to determine whether the source of the remote control command is legal, and if so, the remote control command is analyzed to analyze the remote control operation in the remote control command. Otherwise, the remote control instruction is not analyzed, and prompt information for prompting that the control source is illegal can be output.
In the above embodiment, when the remote control instruction includes the signature written by using the preset signature algorithm, whether the source of the remote control instruction is legal may be determined by the following method: the method comprises the steps of firstly, obtaining a signature in a remote control instruction by using a service data service, then obtaining a preset correct signature, comparing the signature in the remote control instruction with the correct signature, determining that the source of the remote control instruction is legal when the comparison result is consistent, and determining that the source of the remote control instruction is illegal when the comparison result is inconsistent. The correct signature can be a signature agreed by the first client and the second client in advance, and can be stored in the first client or the server, so that the service data service can acquire the correct signature and compare the correct signature with the signature carried in the remote control instruction. The preset signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
In one embodiment, in order to provide security for the remote control operation between the terminals, the remote control operation may be encrypted in advance by using a preset encryption algorithm. The preset encryption algorithm may be any symmetric encryption algorithm or asymmetric encryption algorithm, such as MD5, RSA, SHA, and the like. When the remote control operation can be also encrypted by adopting a preset encryption algorithm in advance, the remote control operation analyzed by the service data service is only a messy code at the moment, and therefore the remote control operation needs to be decrypted and can be sent to the application program main body of the first client. Specifically, a preset decryption algorithm corresponding to the preset encryption algorithm is obtained, the obtained preset decryption algorithm is used for decrypting the remote control operation, the decrypted remote control operation is obtained, the decrypted remote control operation is sent to the application program main body of the first client, and the application program main body of the first client controls the controlled terminal to execute a remote control function corresponding to the remote control operation. The first client side can obtain a preset decryption algorithm corresponding to the preset encryption algorithm from the local controlled terminal or the server side.
In addition, the remote control operation may be encryption performed by using any one of the preset encryption algorithms, or encryption performed by using a mixed encryption manner of a plurality of preset encryption algorithms. For example, a part of data in the remote control operation is encrypted by using the MD5 encryption algorithm, and another part of data is encrypted by using the RSA encryption algorithm, so when decrypting the remote control operation, it is first determined which part of data in the remote control operation is encrypted by using the MD5 encryption algorithm and which part of data is encrypted by using the RSA encryption algorithm according to a predetermined hybrid encryption method, and then the two parts of data are decrypted in different manners according to the respective decryption algorithms corresponding to the MD5 encryption algorithm and the RSA encryption algorithm. Obviously, the more kinds of encryption algorithms of the hybrid encryption, the higher the security of the remote control operation.
Controlling a second client on a terminal
Fig. 2 is a schematic flow chart of a method for remote control between terminals according to an embodiment of the present invention. The remote control method between the terminals is applied to a second client on the control terminal, wherein an application program of the second client comprises an application program main body and a service data service corresponding to the application program main body. As shown in fig. 2, the method may generally include the following steps S201-S203:
step S201, a request for establishing a remote control relationship between the second client and the first client on the controlled terminal is generated, where the request includes account information of the second client.
The account information of the second client is the account information for controlling the terminal user to log in the second client.
Step S202, sending a setup request to the first client.
Before sending the establishment request to the first client, the control terminal system needs to be accessed first, whether the service data service corresponding to the application program main body of the second client is integrated in the control terminal system or not is judged, and when the service data service corresponding to the application program main body of the second client is integrated in the control terminal system is determined, the establishment request is sent to the first client. The application program of the second client includes an application program main body and a service data service, in the prior art, the application program main body and the service data service are packaged as a whole into the application program APK, while in this embodiment, the application program main body and the service data service are separately packaged, specifically, the service data service of the second client is integrated in the controlled terminal system in advance, and when a user downloads and installs the second client, the user only needs to download the application program main body of the second client actually. When judging whether the service data service corresponding to the application main body of the second client is integrated in the controlled terminal system, the judgment can be carried out according to the preset data names of the application main body and the service data service.
The control terminal system is divided into at least three partitions, namely, a priv-app partition, a system-app partition and an app 47:28 partition, wherein the system-app partition is mainly used for storing conventionally downloaded application programs, namely files ending in an APK format, and the priv-app partition and the app 47:28 partition are mainly used for storing the application programs carried by the system, and the partitions have higher authority compared with the system-app partition and the app 47:28 partition, namely, only users obtaining ROOT authority can access the partitions. Therefore, in order to enable the remote control between the terminals to have security, the service data service can be integrated in the priv-app partition in the control terminal system, so that the second client executes the remote control operation on the controlled terminal when the service data service is integrated in the control terminal system, which is actually equivalent to that the second client is endowed with the bottom-layer system authority, but the mode is more convenient compared with the mode of directly endowing the authority item through the system bottom layer.
Step S203, receiving a response request returned by the first client to the establishment request, establishing a remote control relationship between the second client and the first client according to the response request, and executing a remote control function on the controlled terminal.
Specifically, the remote control function can be executed on the controlled terminal as follows: firstly, receiving remote control operation executed by a user on a control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling; secondly, generating a remote control instruction comprising remote control operation; and thirdly, sending the remote control instruction to the first client, and executing the remote control function corresponding to the remote control instruction by the first client.
In one embodiment, to provide security for remote control operations between terminals, a preset encryption algorithm may be used to encrypt the remote control operations, and then a remote control command including the encrypted remote control operations may be generated. The preset encryption algorithm may be any symmetric encryption algorithm or asymmetric encryption algorithm, such as MD5, RSA, SHA, and the like. When the remote control operation is encrypted by adopting the preset encryption algorithm in advance, even if the remote control instruction is hijacked, the specific remote control operation cannot be known by other terminals, so that the embodiment can avoid the condition that the remote control instruction is illegally remotely controlled by the controlled terminal after being hijacked by other terminals by encrypting the remote control operation, and ensure the safety of data on the controlled terminal.
In this embodiment, any one of the preset encryption algorithms may be used to encrypt the remote control operation, or a mixed encryption manner of multiple preset encryption algorithms may be used to encrypt the remote control operation. For example, when the remote control operation is encrypted by using a hybrid encryption algorithm of the MD5 encryption algorithm and the RSA encryption algorithm, a part of data in the remote control operation may be selected and encrypted by using the MD5 encryption algorithm, while another part of data in the remote control operation is encrypted by using the RSA encryption algorithm. Obviously, the more kinds of encryption algorithms of the hybrid encryption, the higher the security of the remote control operation.
In one embodiment, in order to provide security for remote control operations between terminals, a signature may be written in the generated remote control instruction, so that after the controlled terminal receives the remote control instruction, whether the source of the remote control instruction is legal or not may be verified in a manner of verifying the signature, and then, the remote control instruction with the legal source is analyzed and corresponding operations are executed. Therefore, when the remote control instruction is sent, a signature for the remote control instruction may be generated by using a preset signature algorithm, the generated signature may be written into the remote control instruction, and the remote control instruction including the signature may be sent to the first client. The method for generating the signature by adopting the preset signature algorithm comprises any one of the following methods: generating a signature aiming at a remote control instruction by using an application program main body and adopting a preset signature algorithm; and secondly, calling the service data service from the control terminal system, and generating a signature aiming at the remote control instruction by using the service data service and adopting a preset signature algorithm. The pre-set signature algorithm may include a platform signature algorithm and/or a digital signature algorithm.
By adopting the technical scheme provided by the invention, the service data service corresponding to the application program theme of the second client side can be integrated in the control terminal system in advance, so that when the controlled terminal is remotely controlled by the control terminal, the control authority does not need to be granted through the bottom layer of the system, and the remote control operation can be executed only by verifying the service data service corresponding to the application program theme of the second client side integrated in the controlled terminal system, thereby not only ensuring the authority granting in the remote control operation to be simpler and more convenient, but also avoiding the situation that the control authority cannot be granted because the bottom layer of the system is a strange application program installation package when the second client side is not installed for the first time, and further causing the terminal to be incapable of realizing the remote control, therefore, the method for realizing the remote control under the premise of establishing the remote control connection between the first client side and the second client side by adopting the technical scheme is more practical, the user experience is also better.
The method for remote control between terminals according to the present invention is described below with reference to an embodiment.
Example one
In a specific embodiment, an execution main body of the remote control method between terminals includes a first client on a controlled terminal and a second client on a control terminal, where application programs of the first client and the second client both include an application main body and a service data service corresponding to the application main body. As shown in fig. 3, the method comprises the following steps S301-S312:
step S301, the second client generates a request for establishing a remote control relationship with the first client on the controlled terminal, wherein the request for establishing includes account information of the second client.
For example, when a control terminal user needs to remotely assist a controlled terminal, an interface for initiating a request for establishing a remote control relationship on a second client is opened, a "request for friend remote assistance" option and a "assist friends to use mobile phones" option are displayed on the interface, after the user selects the "assist friends to use mobile phones" option, the control terminal enters the interface for inputting information of remotely assisted friends, the user can select contacts from an address list of the control terminal as remotely assisted friends, or can input information such as the address numbers of the remotely assisted friends or names of the remotely assisted friends in the address list on the current interface to complete the setting of the remotely assisted friends, and then the control terminal can initiate a request for establishing a remote control relationship to a controlled terminal where the remotely assisted friends are located. In addition, the option "request friend remote assistance" displayed on the interface refers to an option that should be triggered when the current terminal serves as a controlled terminal, that is, when the option "request friend remote assistance" is triggered, it is equivalent to that the current terminal serves as the controlled terminal to initiate a request for establishing a remote control relationship to another terminal, and when the other terminal accepts the request, the other terminal is the control terminal.
Step S302, the second client sends the request for establishing the remote control relationship to the first client.
Step S303, when receiving the establishment request, the first client initiates a response to establish the remote control relationship to the second client according to the account information of the second client.
And step S304, the second client establishes a remote control relationship with the first client according to the response of the first client, and encrypts the remote control operation by adopting a preset encryption algorithm after receiving the remote control operation executed by the user on the control terminal.
The remote control operation comprises at least one of clicking, moving and doodling. The predetermined encryption algorithm may be any symmetric encryption algorithm or asymmetric encryption algorithm, such as MD5, RSA, SHA, etc.
Step S305, the second client generates a remote control instruction including the encrypted remote control operation, and generates and writes a signature for the remote control instruction by using a preset signature algorithm.
Step S306, the second client sends the remote control instruction to the first client.
Step S307, when the first client receives the remote control instruction, accessing the controlled terminal system, and judging whether the service data service corresponding to the application program main body of the first client is integrated in the controlled terminal system; if yes, go to step S308; if not, go to step S312.
Step S308, the first client acquires and verifies the signature in the remote control instruction, and judges whether the source of the remote control instruction is legal or not according to the verification result; if yes, go to step S309; if not, go to step S312.
In the step, firstly, a service data service integrated in a controlled terminal system is called to obtain a signature in a remote control instruction, then a preset correct signature is obtained, the signature in the remote control instruction is compared with the correct signature, when the comparison result is consistent, the source of the remote control instruction can be determined to be legal, and when the comparison result is inconsistent, the source of the remote control instruction can be determined to be illegal. The correct signature can be a signature agreed by the first client and the second client in advance, and can be stored in the first client or the server, so that the service data service can acquire the correct signature and compare the correct signature with the signature carried in the remote control instruction. The preset signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
Step S309, the first client analyzes the remote control instruction to obtain the encrypted remote control operation.
Step S310, the first client acquires a decryption algorithm corresponding to the preset encryption algorithm to decrypt the remote control operation, and the decrypted remote control operation is acquired.
And step 311, the first client controls the controlled terminal to execute corresponding operation according to the decrypted remote control operation.
In step S312, a prompt message indicating that the remote control operation cannot be performed is output.
Therefore, by adopting the technical scheme of the first embodiment of the invention, the remote control function of the control terminal to the controlled terminal can be realized only when the service data service corresponding to the application program main body of the first client is integrated in the controlled terminal system is determined, so that when the controlled terminal is remotely controlled by the control terminal, the control authority does not need to be granted through the system bottom layer, and the remote control operation can be executed only by verifying the service data service corresponding to the application program theme of the first client in the controlled terminal system, thereby not only facilitating the authority grant during the remote control operation, but also avoiding the situation that the system bottom layer is regarded as a strange application program installation package and cannot grant the control authority when the first client is not installed for the first time, and further causing the remote control between the terminals to be incapable of realizing, therefore, the technical scheme realizes the remote control on the premise of establishing the remote control connection between the first client and the second client, the user experience is also better.
Fig. 4 is a schematic block diagram of a remote control device between terminals according to an embodiment of the present invention. The device is applied to a first client on a controlled terminal, an application program of the first client includes an application program main body and a service data service integrated in a control terminal system corresponding to the application program main body, as shown in fig. 4, the device includes:
a receiving module 410, adapted to receive an establishment request for establishing a remote control relationship between a second client and a first client on a control terminal, where the establishment request includes account information of the second client;
a judging module 420, coupled to the receiving module 410, adapted to access the controlled terminal system and judge whether a service data service corresponding to the application main body of the first client is integrated in the controlled terminal system;
and the first execution module 430 is coupled with the judgment module 420 and is adapted to establish a remote control relationship between the second client and the first client according to the account information of the second client and trigger the control terminal to execute a remote control function on the controlled terminal when it is determined that the service data service is integrated in the controlled terminal system.
In one embodiment, the first execution module 430 is further adapted to:
receiving a remote control instruction sent by a second client, wherein the remote control instruction comprises remote control operation executed on a control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction on the controlled terminal by using the service data service.
In one embodiment, the first execution module 430 is further adapted to:
the service data service is used for verifying the remote control instruction so as to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
In one embodiment, the remote control command comprises a signature written by adopting a preset signature algorithm; the first execution module 430 is further adapted to:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
In one embodiment, the pre-set signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
In one embodiment, the remote control operation is encrypted in advance using a preset encryption algorithm; the first execution module 430 is further adapted to:
acquiring a preset decryption algorithm corresponding to a preset encryption algorithm;
decrypting the remote control operation by using a preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
Fig. 5 is a schematic block diagram of a remote control device between terminals according to another embodiment of the present invention. The apparatus is applied to a second client on a control terminal, an application program of the second client includes an application program main body and a service data service integrated in a control terminal system corresponding to the application program main body, as shown in fig. 5, the apparatus includes:
a generating module 510, adapted to generate an establishment request for establishing a remote control relationship between a second client and a first client on a controlled terminal, where the establishment request includes account information of the second client;
a sending module 520, coupled to the generating module 510, adapted to send a setup request to the first client;
and a second executing module 530, coupled to the sending module 520, adapted to receive a response request returned by the first client for the establishment request, establish a remote control relationship between the second client and the first client according to the response request, and execute a remote control function on the controlled terminal.
In one embodiment, the sending module 520 is further adapted to:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the control terminal system is determined to be integrated with the service data service, sending an establishment request to the first client.
In one embodiment, the second execution module 530 is further adapted to:
receiving remote control operation executed by a user on a control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including a remote control operation;
and the sending module is suitable for sending the remote control instruction to the first client, and the first client executes the remote control function corresponding to the remote control instruction.
In one embodiment, the sending module 520 is further adapted to:
generating a signature aiming at the remote control instruction by utilizing an application program main body and adopting a preset signature algorithm; or, calling a service data service from the control terminal system, and generating a signature aiming at the remote control instruction by using the service data service and adopting a preset signature algorithm;
writing the signature into a remote control instruction;
sending the remote control instruction including the signature to the first client;
the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
In one embodiment, the pre-set signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
In one embodiment, the second execution module 530 is further adapted to:
encrypting the remote control operation by adopting a preset encryption algorithm;
and generating a remote control instruction comprising the encrypted remote control operation.
It should be understood by those skilled in the art that the remote control device between terminals in fig. 4 and 5 can be used to implement the foregoing remote control scheme between terminals, and the detailed description thereof should be similar to that of the foregoing method, and is not repeated herein to avoid complexity.
Fig. 6 is a schematic block diagram of a remote control system between terminals according to another embodiment of the present invention. The system comprises a controlled terminal 610, a server 620 and a control terminal 630, wherein a first client is installed on the controlled terminal 610, a second client is installed on the control terminal 630, and application programs of the first client and the second client comprise an application program main body and service data service corresponding to the application program main body, wherein:
the second client is suitable for generating a request for establishing a remote control relationship between the second client and the first client on the controlled terminal 610, and the request for establishing comprises account information of the second client and account information of the first client; sending a setup request to server 620;
the server 620 is suitable for receiving the establishment request from the second client and forwarding the establishment request to the first client according to the account information of the first client;
the first client is adapted to receive the establishment request forwarded by the server 620, access the controlled terminal system, and judge whether the service data service corresponding to the application program main body of the first client is integrated in the controlled terminal system; when the service data service is determined to be integrated in the controlled terminal system, a response request is returned to the server 620 aiming at the establishment request;
the server 620 is further adapted to receive a response request returned by the first client, and forward the response request to the second client;
the second client is further adapted to receive a response request from the server 620, establish a remote control relationship between the second client and the first client according to the response request and the account information of the second client, and execute a remote control function on the controlled terminal 610.
Based on the remote control system between the terminals, in one embodiment, the remote control relationship between the second client and the first client may be established according to the following steps:
step one, a second client on the control terminal 630 generates an establishment request for establishing a remote control relationship with a first client, and sends the establishment request to the server 620, wherein the establishment request includes account information of the second client and account information of the first client.
Step two, the server 620 receives the establishment request from the second client, and forwards the establishment request to the first client according to the account information of the first client.
Step three, after receiving the establishment request forwarded by the server 620, the first client accesses the controlled terminal system and judges whether the service data service corresponding to the application program main body of the first client is integrated in the controlled terminal system; and when the controlled terminal system is determined to be integrated with the service data service, returning a response request to the server 620 aiming at the establishment request.
Step four, the server 620 receives the response request returned by the first client, and forwards the response request to the second client.
Step five, the second client receives the response request from the server 620, and establishes a remote control relationship between the second client and the first client according to the response request and the account information of the second client.
In one embodiment, when the control terminal 630 executes a remote control function on the controlled terminal 610 based on the second client, first, the second client generates a remote control instruction including an operation identifier and account information of the second client according to an operation (for example, a sliding operation on an interface, a doodling operation, a triggering operation or a moving operation on an application, or the like) of the user on the control terminal 630, and sends the remote control instruction to the server 620; secondly, after receiving the remote control instruction, the server 620 determines account information of a first client establishing a remote control relationship with the account information of a second client according to the account information of the second client carried in the remote control instruction, and forwards the remote control instruction to the first client according to the account information of the first client; finally, the first client parses the remote control instruction to obtain an operation identifier, and then executes an operation corresponding to the operation identifier on the controlled terminal 610.
Fig. 7 shows only a portion related to the embodiment of the present invention for convenience of description, and please refer to the method portion in the embodiment of the present invention for details that are not disclosed. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 7 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 7, the handset includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless-fidelity (Wi-Fi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the handset configuration shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 7:
the RF circuit 710 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 may execute various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 750, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 741 and/or a backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a cell phone. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, and then processes the audio data output processor 780, and then transmits the audio data to, for example, another cellular phone through the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 770, and provides wireless broadband Internet access for the user. Although fig. 7 shows the WiFi module 770, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The handset also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system, so that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 780 included in the terminal further has the following functions:
receiving a request for establishing a remote control relationship between a second client on a control terminal and the first client, wherein the request for establishing comprises account information of the second client;
accessing a controlled terminal system, and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system;
and when the service data service is determined to be integrated in the controlled terminal system, establishing the remote control relationship between the second client and the first client according to the account information of the second client, and triggering the control terminal to execute a remote control function on the controlled terminal.
Optionally, the processor 780 also has the following functions:
receiving a remote control instruction sent by the second client, wherein the remote control instruction comprises remote control operation executed on the control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling the service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service.
Optionally, the processor 780 also has the following functions:
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain the remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
Optionally, the remote control instruction includes a signature written by using a preset signature algorithm;
the processor 780 also has the following functions:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, the remote control operation is encrypted in advance by adopting a preset encryption algorithm;
the processor 780 also has the following functions:
acquiring a preset decryption algorithm corresponding to the preset encryption algorithm;
decrypting the remote control operation by using the preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
The processor 780 also has the following functions:
generating a request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the request for establishing comprises account information of the second client;
sending the establishment request to the first client;
and receiving a response request returned by the first client aiming at the establishment request, establishing the remote control relationship between the second client and the first client according to the response request, and executing a remote control function on the controlled terminal.
Optionally, the processor 780 also has the following functions:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the service data service is determined to be integrated in the control terminal system, sending the establishment request to the first client.
Optionally, the processor 780 also has the following functions:
receiving remote control operation executed by a user on the control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including the remote control operation;
and sending the remote control instruction to the first client, and executing a remote control function corresponding to the remote control instruction by the first client.
Optionally, the processor 780 also has the following functions:
generating a signature for the remote control instruction by using the application program main body and adopting a preset signature algorithm; or, the service data service is called from the control terminal system, and a signature aiming at the remote control instruction is generated by using the service data service and adopting a preset signature algorithm;
writing the signature to the remote control instruction;
sending a remote control instruction including the signature to the first client;
and the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
Optionally, the preset signature algorithm includes a platform signature algorithm and/or a digital signature algorithm.
Optionally, the processor 780 also has the following functions:
encrypting the remote control operation by adopting a preset encryption algorithm;
generating a remote control instruction including the encrypted remote control operation.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an inter-terminal remote control device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (26)

1. A remote control method between terminals is applied to a first client on a controlled terminal, an application program of the first client comprises an application program main body and service data service corresponding to the application program main body, and the method comprises the following steps:
receiving a request for establishing a remote control relationship between a second client on a control terminal and the first client, wherein the request for establishing comprises account information of the second client;
accessing a controlled terminal system, and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system;
and when the service data service is determined to be integrated in the controlled terminal system, establishing the remote control relationship between the second client and the first client according to the account information of the second client, and triggering the control terminal to execute a remote control function on the controlled terminal.
2. The method of claim 1, wherein triggering the control terminal to perform a remote control function on the controlled terminal comprises:
receiving a remote control instruction sent by the second client, wherein the remote control instruction comprises remote control operation executed on the control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling the service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service.
3. The method of claim 2, wherein executing a remote control function corresponding to the remote control instruction on the controlled terminal by using the service data service comprises:
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain the remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
4. The method according to claim 3, wherein the remote control instruction comprises a signature written by adopting a preset signature algorithm;
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not, wherein the method comprises the following steps:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
5. The method according to claim 4, wherein the pre-set signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
6. The method according to any one of claims 3-5, wherein the remote control operation is pre-encrypted with a preset encryption algorithm;
sending the remote control operation to an application main body of the first client, including:
acquiring a preset decryption algorithm corresponding to the preset encryption algorithm;
decrypting the remote control operation by using the preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
7. A remote control method between terminals is applied to a second client on a control terminal, an application program of the second client comprises an application program main body and a service data service integrated in a control terminal system corresponding to the application program main body, and the method comprises the following steps:
generating a request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the request for establishing the remote control relationship comprises account information of the second client, and a service data service corresponding to an application program main body of the first client is integrated in a system of the controlled terminal;
sending the establishment request to the first client;
and receiving a response request returned by the first client aiming at the establishment request, establishing the remote control relationship between the second client and the first client according to the response request, and executing a remote control function on the controlled terminal.
8. The method of claim 7, wherein sending the setup request to the first client comprises:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the service data service corresponding to the application program main body of the second client is integrated in the control terminal system, sending the establishment request to the first client.
9. The method of claim 8, wherein performing a remote control function on the controlled terminal comprises:
receiving remote control operation executed by a user on the control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including the remote control operation;
and sending the remote control instruction to the first client, and executing a remote control function corresponding to the remote control instruction by the first client.
10. The method of claim 9, wherein sending the remote control instruction to the first client comprises:
generating a signature for the remote control instruction by using an application program main body of the second client and adopting a preset signature algorithm; or, calling a service data service corresponding to the application program main body of the second client from the control terminal system, and generating a signature aiming at the remote control instruction by using the called service data service and a preset signature algorithm;
writing the signature to the remote control instruction;
sending a remote control instruction including the signature to the first client;
and the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
11. The method according to claim 10, wherein the pre-set signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
12. The method of any of claims 9-11, wherein generating a remote control instruction including the remote control operation comprises:
encrypting the remote control operation by adopting a preset encryption algorithm;
generating a remote control instruction including the encrypted remote control operation.
13. A remote control device between terminals is applied to a first client on a controlled terminal, an application program of the first client comprises an application program main body and a service data service corresponding to the application program main body, and the device comprises:
the system comprises a receiving module, a remote control module and a control module, wherein the receiving module is suitable for receiving a request for establishing a remote control relationship between a second client on a control terminal and a first client, and the request for establishing comprises account information of the second client;
the judging module is suitable for accessing a controlled terminal system and judging whether the controlled terminal system is integrated with the service data service corresponding to the application program main body of the first client;
and the first execution module is suitable for establishing the remote control relationship between the second client and the first client according to the account information of the second client and triggering the control terminal to execute a remote control function on the controlled terminal when the service data service is determined to be integrated in the controlled terminal system.
14. The apparatus of claim 13, wherein the first execution module is further adapted to:
receiving a remote control instruction sent by the second client, wherein the remote control instruction comprises remote control operation executed on the control terminal, and the remote control operation comprises at least one of clicking, moving and doodling;
calling the service data service from the controlled terminal system;
and executing a remote control function corresponding to the remote control instruction to the controlled terminal by using the service data service.
15. The apparatus of claim 14, wherein the first execution module is further adapted to:
verifying the remote control instruction by using the service data service to judge whether the source of the remote control instruction is legal or not;
if so, analyzing the remote control instruction to obtain the remote control operation;
and sending the remote control operation to an application program main body of the first client, and executing a remote control function corresponding to the remote control operation by the application program main body.
16. The device of claim 15, wherein the remote control instruction comprises a signature written by using a preset signature algorithm; the first execution module is further adapted to:
acquiring a signature in the remote control instruction by using the service data service;
acquiring a preset correct signature, and comparing the signature in the remote control instruction with the correct signature to obtain a comparison result;
and when the comparison result is consistent, determining that the source of the remote control instruction is legal.
17. The apparatus according to claim 16, wherein the pre-set signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
18. The apparatus according to any one of claims 15-17, wherein the remote control operation is pre-encrypted with a preset encryption algorithm; the first execution module is further adapted to:
acquiring a preset decryption algorithm corresponding to the preset encryption algorithm;
decrypting the remote control operation by using the preset decryption algorithm to obtain the decrypted remote control operation;
and sending the decrypted remote control operation to an application program main body of the first client.
19. A remote control device between terminals is applied to a second client on a control terminal, an application program of the second client comprises an application program main body and a service data service integrated in a control terminal system corresponding to the application program main body, and the device comprises:
the generation module is suitable for generating an establishment request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the establishment request comprises account information of the second client, and a service data service corresponding to an application program main body of the first client is integrated in a system of the controlled terminal;
a sending module adapted to send the establishment request to the first client;
and the second execution module is suitable for receiving a response request returned by the first client aiming at the establishment request, establishing the remote control relationship between the second client and the first client according to the response request and executing a remote control function on the controlled terminal.
20. The apparatus of claim 19, wherein the transmitting means is further adapted to:
accessing the control terminal system, and judging whether a service data service corresponding to the application program main body of the second client is integrated in the control terminal system;
and when the service data service corresponding to the application program main body of the second client is integrated in the control terminal system, sending the establishment request to the first client.
21. The apparatus of claim 20, wherein the second performing means is further adapted to:
receiving remote control operation executed by a user on the control terminal, wherein the remote control operation comprises at least one of clicking, moving and doodling;
generating a remote control instruction including the remote control operation;
and the sending module is suitable for sending the remote control instruction to the first client, and the first client executes a remote control function corresponding to the remote control instruction.
22. The apparatus of claim 20, wherein the transmitting means is further adapted to:
generating a signature for the remote control instruction by using an application program main body of the second client and adopting a preset signature algorithm; or, calling a service data service corresponding to the application program main body of the second client from the control terminal system, and generating a signature aiming at the remote control instruction by using the called service data service and a preset signature algorithm;
writing the signature to the remote control instruction;
sending a remote control instruction including the signature to the first client;
and the signature is used for verifying whether the source of the remote control instruction is legal or not by the first client.
23. The apparatus according to claim 22, wherein the pre-set signature algorithm comprises a platform signature algorithm and/or a digital signature algorithm.
24. The apparatus according to any of claims 21-23, wherein the second performing means is further adapted to:
encrypting the remote control operation by adopting a preset encryption algorithm;
generating a remote control instruction including the encrypted remote control operation.
25. The utility model provides a remote control system between terminal, includes controlled terminal, control terminal and server, install first client on the controlled terminal, install the second client on the control terminal, just first client with the application of second client includes application main part and the service data service who corresponds rather than, wherein:
the second client is suitable for generating a request for establishing a remote control relationship between the second client and a first client on a controlled terminal, wherein the request for establishing comprises account information of the second client and account information of the first client; sending the establishment request to the server;
the server is suitable for receiving the establishment request from the second client and forwarding the establishment request to the first client according to the account information of the first client;
the first client is suitable for receiving the establishment request forwarded by the server, accessing a controlled terminal system and judging whether a service data service corresponding to an application program main body of the first client is integrated in the controlled terminal system; when the service data service is determined to be integrated in the controlled terminal system, returning a response request to the server aiming at the establishment request;
the server is further suitable for receiving a response request returned by the first client and forwarding the response request to the second client;
the second client is also suitable for receiving a response request from the server, establishing the remote control relationship between the second client and the first client according to the response request and the account information of the second client, and executing a remote control function on the controlled terminal.
26. A mobile terminal comprising a processor and a memory:
the memory is used for storing a program for executing the method of any one of claims 1 to 6 and claims 7 to 12,
the processor is configured to execute programs stored in the memory.
CN201611209215.XA 2016-12-23 2016-12-23 Remote control method, device and system between terminals and mobile terminal Active CN106713319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611209215.XA CN106713319B (en) 2016-12-23 2016-12-23 Remote control method, device and system between terminals and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611209215.XA CN106713319B (en) 2016-12-23 2016-12-23 Remote control method, device and system between terminals and mobile terminal

Publications (2)

Publication Number Publication Date
CN106713319A CN106713319A (en) 2017-05-24
CN106713319B true CN106713319B (en) 2020-01-14

Family

ID=58895633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611209215.XA Active CN106713319B (en) 2016-12-23 2016-12-23 Remote control method, device and system between terminals and mobile terminal

Country Status (1)

Country Link
CN (1) CN106713319B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165062A (en) * 2018-07-24 2019-01-08 苏宁易购集团股份有限公司 A kind of terminal remote assists control method and system
CN110971688B (en) * 2019-11-29 2023-05-12 金蝶软件(中国)有限公司 Data export method and related equipment
CN111526075A (en) * 2020-04-15 2020-08-11 珠海格力电器股份有限公司 Intelligent device control method, storage medium and electronic device
CN113034811A (en) * 2021-03-23 2021-06-25 深圳市顺易通信息技术有限公司 Intelligent electronic cabinet supporting remote control protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067392A (en) * 2012-12-28 2013-04-24 中国人民解放军理工大学 Security access control method based on Android terminal
CN103237047A (en) * 2013-03-11 2013-08-07 广东欧珀移动通信有限公司 Remote controlled and control method
WO2015078166A1 (en) * 2013-11-28 2015-06-04 中兴通讯股份有限公司 Load processing method and device for system application installation package, and terminal
CN106203006A (en) * 2016-08-31 2016-12-07 北京鼎源科技有限公司 Android application reinforcement means based on dex Yu so file Dynamic Execution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067392A (en) * 2012-12-28 2013-04-24 中国人民解放军理工大学 Security access control method based on Android terminal
CN103237047A (en) * 2013-03-11 2013-08-07 广东欧珀移动通信有限公司 Remote controlled and control method
WO2015078166A1 (en) * 2013-11-28 2015-06-04 中兴通讯股份有限公司 Load processing method and device for system application installation package, and terminal
CN106203006A (en) * 2016-08-31 2016-12-07 北京鼎源科技有限公司 Android application reinforcement means based on dex Yu so file Dynamic Execution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Android安全研究进展";卿斯汉;《软件学报》;20160131;全文 *

Also Published As

Publication number Publication date
CN106713319A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US20210336780A1 (en) Key updating method, apparatus, and system
US10880746B2 (en) Network connection method, apparatus, storage medium and terminal
US11488234B2 (en) Method, apparatus, and system for processing order information
EP3270245B1 (en) Method, server, mobile terminal and apparatus for interacting data with vehicle-mounted machine
CN110417543B (en) Data encryption method, device and storage medium
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
CN106598584B (en) Method, device and system for processing resource file
CN107483213B (en) Security authentication method, related device and system
CN106713319B (en) Remote control method, device and system between terminals and mobile terminal
CN111355707B (en) Data processing method and related equipment
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
WO2014000652A1 (en) Browser plug-in installation method, device and terminal
CN109937583A (en) The method and terminal of data sharing
CN106534324B (en) A kind of data sharing method and Cloud Server
CN106255102B (en) Terminal equipment identification method and related equipment
CN107911818B (en) Method and device for data transmission between mobile terminals and mobile terminal
CN107153792B (en) Data security processing method and device and mobile terminal
CN110941821A (en) Data processing method, device and storage medium
WO2018049894A1 (en) Data transmission method and device
US20180007019A1 (en) Method and apparatus for encrypting and decrypting picture, and device
JP7148045B2 (en) AUTHENTICATION WINDOW DISPLAY METHOD, TERMINAL, COMPUTER-READABLE STORAGE MEDIUM AND COMPUTER PROGRAM
CN106447325B (en) NFC communication-based processing method and device and mobile terminal
CN104573437A (en) Information authentication method, device and terminal
WO2016106774A1 (en) Pattern lock unlocking method and terminal
CN109086595B (en) Service account switching method, system, device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170721

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant