CN108989459B - Method and device for controlling terminal and computer readable storage medium - Google Patents

Method and device for controlling terminal and computer readable storage medium Download PDF

Info

Publication number
CN108989459B
CN108989459B CN201810957358.1A CN201810957358A CN108989459B CN 108989459 B CN108989459 B CN 108989459B CN 201810957358 A CN201810957358 A CN 201810957358A CN 108989459 B CN108989459 B CN 108989459B
Authority
CN
China
Prior art keywords
terminal
cloud server
instruction
control instruction
target process
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
CN201810957358.1A
Other languages
Chinese (zh)
Other versions
CN108989459A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810957358.1A priority Critical patent/CN108989459B/en
Publication of CN108989459A publication Critical patent/CN108989459A/en
Application granted granted Critical
Publication of CN108989459B publication Critical patent/CN108989459B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The disclosure relates to a method and a device for controlling a terminal and a computer readable storage medium, and relates to the technical field of terminals. The method comprises the following steps: the first terminal sends a process information acquisition request to the cloud server, and the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal, so that the first terminal can receive process information of a current running process of the second terminal, which is returned by the cloud server, and generate a control instruction of a target process in the current running process according to the process information. And then sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction. Therefore, the first terminal can effectively control the current running process of the second terminal through the cloud server.

Description

Method and device for controlling terminal and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling a terminal, and a computer-readable storage medium.
Background
Parents usually wear terminals for children in order to contact their children in time, but with the continuous development of terminal technology, game applications installed on the terminals are more and more, and the time spent by the children on the terminals is more and more, thereby delaying the academic industry. Therefore, in order for parents to effectively control the terminal of a child while the child wears the terminal, a method for controlling the terminal is needed.
For convenience of description, a terminal used by a parent is referred to as a first terminal, and a terminal used by a child is referred to as a second terminal. At present, after a parent wears a terminal for a child, in order to ensure the personal safety of the child, the parent usually controls a second terminal to return position information of the second terminal through a first terminal so as to obtain the position information of the child.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for controlling a terminal, and a computer-readable storage medium.
In a first aspect, a method for controlling a terminal is provided, where the method is applied to a first terminal, and the method includes:
sending a process information acquisition request to a cloud server, wherein the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal;
receiving process information of a current running process of the second terminal returned by the cloud server, and generating a control instruction of a target process in the current running process according to the process information;
and sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction.
In the embodiment of the disclosure, a first terminal sends a process information acquisition request to a cloud server, and because the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal, the first terminal may receive process information of a currently running process of the second terminal, which is returned by the cloud server, and generate a control instruction for a target process in the currently running process according to the process information. And then sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction. Therefore, the first terminal can effectively control the current running process of the second terminal through the cloud server.
Optionally, the generating a control instruction for a target process in the currently running process according to the process information includes:
selecting a target process from the current running process according to the process information;
displaying a control interface corresponding to the target process, wherein the control interface comprises at least one operation button;
and generating a control instruction corresponding to the selected operation button.
In the embodiment of the disclosure, after the target process is selected from the current running processes, the control instruction is generated based on the control interface corresponding to the displayed target process, which is convenient for the user to operate the target process.
Optionally, the generating a control instruction corresponding to the selected operation button includes:
when the selected operation button is an exit button, generating an exit instruction for exiting the target process; or,
when the selected operation button is a forbidden button, generating a forbidden instruction for forbidding the running of the target process; or,
and when the selected operation button is an authority setting button, acquiring the use authority of the target process, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
In the embodiment of the disclosure, the first terminal may generate a plurality of different control instructions for the target process, including an exit instruction, a disable instruction, and an authority setting instruction, so as to provide a plurality of choices for the user and improve user experience.
Optionally, before sending the process information acquisition request to the cloud server, the method further includes:
determining whether the first terminal logs in the cloud server;
and when the first terminal logs in the cloud server, executing the step of sending a process information acquisition request to the cloud server.
In the embodiment of the disclosure, before the first terminal interacts with the cloud server, whether the first terminal logs in the cloud server or not can be further determined, and after the first terminal logs in the cloud server is determined, the interaction is performed, so that the first terminal and the cloud server can be guaranteed to be successfully interacted.
Optionally, before sending the process information acquisition request to the cloud server, the method further includes:
and sending an association request to the cloud server, wherein the association request carries a second identifier of the second terminal, an exit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the exit password is set as a password when the second terminal exits from the cloud server.
In the embodiment of the disclosure, before the first terminal interacts with the cloud server, the first terminal may further request the cloud server to associate the first terminal with the second terminal, and the first terminal sets an exit password for the second terminal to exit from the login cloud server, that is, only when the second terminal obtains the login password, the first terminal may exit from the login cloud server, thereby ensuring that the first terminal can effectively control the second terminal.
In a second aspect, a method for controlling a terminal is provided, and is applied to a second terminal, and the method includes:
collecting process information of a current running process;
sending the process information to a cloud server, so that the cloud server forwards the process information to a first terminal when the first terminal associated with the second terminal acquires the process information;
and receiving a control instruction of the first terminal to a target process in the current running process, which is returned by the cloud server, and executing a control operation corresponding to the control instruction.
In the embodiment of the disclosure, the second terminal may collect process information of a currently running process and send the process information to the cloud server, so that the cloud server forwards the process information to the first terminal when the first terminal associated with the second terminal acquires the process information. Because the first terminal can receive the process information of the second terminal, when the first terminal sends a control instruction to the target process, the second terminal can receive the control instruction of the first terminal to the target process in the current running process, which is returned by the cloud server, and execute the control operation corresponding to the control instruction. Therefore, the second terminal can effectively receive the control of the first terminal on the current running process of the second terminal through the cloud server.
Optionally, the executing the control operation corresponding to the control instruction includes:
when the control instruction is an exit instruction, exiting the target process; or,
when the control instruction is a disable instruction, setting the attribute of the target process to be disabled; or,
and when the control instruction is an authority setting instruction, setting the use authority of the target process as the use authority contained in the authority setting instruction, wherein the use authority comprises a use time period and/or a use duration.
In the embodiment of the disclosure, since the first terminal can generate a plurality of different control instructions, the second terminal can execute a plurality of different control operations corresponding to the plurality of different control instructions for the target process, including exiting, setting attribute as forbidden and setting permission, so as to provide a plurality of choices for the user and improve user experience.
Optionally, after the setting of the usage right of the target process as the usage right included in the right setting instruction, the method further includes:
detecting whether the current time is in the use time period or not, and exiting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and detecting whether the running time of the target application reaches the use time, and exiting the target process when the running time reaches the use time.
In the embodiment of the present disclosure, the usage right includes a usage time period and/or a usage duration, and therefore, after the right is set for the target process, it may be further detected whether the current time of using the second terminal is within the usage time period, and/or whether the running duration reaches the usage duration, and if not, the target process is exited, further ensuring that the second terminal is effectively controlled by the first terminal.
Optionally, before the sending the process information to the cloud server, the method further includes:
determining whether the second terminal logs in the cloud server;
and when the second terminal logs in the cloud server, executing the step of sending the process information of the second terminal running process to the cloud server.
In the embodiment of the disclosure, before the second terminal interacts with the cloud server, whether the second terminal logs in the cloud server or not can be further determined, and after the second terminal logs in the cloud server is determined, the interaction is performed, so that the second terminal and the cloud server can be guaranteed to be successfully interacted.
In a third aspect, an apparatus for controlling a terminal is provided, which is applied to a first terminal, and includes:
the sending module is used for sending a process information obtaining request to the cloud server, wherein the process information obtaining request carries a terminal identifier of a second terminal associated with the first terminal;
the generating module is used for receiving process information of a currently running process of the second terminal returned by the cloud server and generating a control instruction of a target process in the currently running process according to the process information;
the control module is configured to send the control instruction to the cloud server, so that the cloud server forwards the control instruction to the second terminal, where the control instruction is used to control the second terminal to execute a control operation corresponding to the control instruction.
Optionally, the generating module includes:
the selection submodule is used for selecting a target process from the current running process according to the process information;
the display sub-module is used for displaying a control interface corresponding to the target process, and the control interface comprises at least one operation button;
and the generation submodule is used for generating a control instruction corresponding to the selected operation button.
Optionally, the generating sub-module includes:
a first generating unit, configured to generate an exit instruction for exiting the target process when the selected operation button is an exit button; or,
a second generating unit, configured to generate a disable instruction for prohibiting the target process from being executed when the selected operation button is a disable button; or,
and the third generating unit is used for acquiring the use authority of the target process when the selected operation button is an authority setting button, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
Optionally, the apparatus further comprises:
the determining module is used for determining whether the first terminal logs in the cloud server or not;
and the triggering module is used for triggering the sending module to send the process information obtaining request to the cloud server when the first terminal logs in the cloud server.
Optionally, the apparatus further comprises:
and the association module is used for sending an association request to the cloud server, wherein the association request carries a second identifier of the second terminal, a quit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the quit password is set as a password when the second terminal quits and logs in the cloud server.
In a fourth aspect, a control terminal device is provided, which is applied to a second terminal, and includes:
the acquisition module is used for acquiring the process information of the current running process;
a sending module, configured to send the process information to a cloud server, so that the cloud server forwards the process information to a first terminal associated with the second terminal when the first terminal acquires the process information;
and the execution module is used for receiving a control instruction of the first terminal to a target process in the current running process, which is returned by the cloud server, and executing a control operation corresponding to the control instruction.
Optionally, the execution module includes:
the quit submodule is used for quitting the target process when the control instruction is a quit instruction; or,
the disabling submodule is used for setting the attribute of the target process to be disabled when the control instruction is a disabling instruction; or,
and the permission setting submodule is used for setting the use permission of the target process as the use permission contained in the permission setting instruction when the control instruction is the permission setting instruction, and the use permission comprises a use time period and/or a use duration.
Optionally, the apparatus further comprises:
the first detection module is used for detecting whether the current time is in the use time period or not, and quitting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and the second detection module is used for detecting whether the running time of the target application reaches the use time, and exiting the target process when the running time reaches the use time.
Optionally, the apparatus further comprises:
the determining module is used for determining whether the second terminal logs in the cloud server;
and the triggering module is used for triggering the sending module to send the process information of the running process of the second terminal to the cloud server when the second terminal logs in the cloud server.
In a fifth aspect, a control terminal device is provided, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a sixth aspect, there is provided a control terminal apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the second aspect described above.
In a seventh aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of any of the second aspects above.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of any of the first aspects above.
A tenth aspect provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of any of the second aspects above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method of controlling a terminal according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of controlling a terminal according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of controlling a terminal according to an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus for controlling a terminal according to an example embodiment.
Fig. 5 is a block diagram illustrating an apparatus for controlling a terminal according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for controlling a terminal according to an example embodiment.
Fig. 7 is a block diagram illustrating an apparatus for controlling a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure is introduced:
with the continuous development of terminal technology, more and more game applications are installed on the terminal, and the applications are strongly pursued by a large number of users, but simultaneously, the applications bring great negative effects to the users. For example, pupils have poor self-control, and when holding the terminal, they are often attracted to the game application installed on the terminal, and further, the time spent on the terminal is increased, resulting in a delay in learning and/or a loss of property. For this reason, some game application merchants introduced health systems of player age limits and online time, but still could not effectively improve the negative impact that the game brings to the user, like students who delay the industry because of handwalks and even news that parents spend a lot of money on them. On the other hand, the terminal has become an increasingly indispensable necessity in life at present, and therefore parents must not wear the terminal to children.
At present, parents wear terminals for children mainly to ensure the life safety of the children, and for this reason, parents usually control a second terminal worn by the children to return position information of the second terminal through a first terminal, so as to acquire the position information of the children. Oral education is often performed when the household finds that children spend much time on the terminal. However, on the one hand, oral education does not work effectively, and on the other hand, only the position information of the child is acquired through the terminal, and the function of the terminal is not sufficiently exerted. Therefore, the embodiment of the present disclosure provides a method for controlling a terminal, by which a parent can effectively control a child to use the terminal, and fully exert the functions of the terminal.
Fig. 1 is a flowchart illustrating a method of controlling a terminal, which is applied to a first terminal, as shown in fig. 1, according to an exemplary embodiment, and includes the following steps.
In step 101, a process information acquisition request is sent to a cloud server, where the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal.
In step 102, process information of the currently running process of the second terminal, which is returned by the cloud server, is received, and a control instruction for a target process in the currently running process is generated according to the process information.
In step 103, the control instruction is sent to the cloud server, so that the cloud server forwards the control instruction to the second terminal, where the control instruction is used to control the second terminal to execute a control operation corresponding to the control instruction.
Optionally, generating a control instruction for a target process in the currently running process according to the process information includes:
selecting a target process from the current running process according to the process information;
displaying a control interface corresponding to the target process, wherein the control interface comprises at least one operation button;
and generating a control instruction corresponding to the selected operation button.
Optionally, generating a control instruction corresponding to the selected operation button includes:
when the selected operation button is an exit button, generating an exit instruction for exiting the target process; or,
when the selected operation button is a forbidden button, generating a forbidden instruction for forbidding the running of the target process; or,
and when the selected operation button is an authority setting button, acquiring the use authority of the target process, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
Optionally, before sending the process information acquisition request to the cloud server, the method further includes:
determining whether the first terminal logs in the cloud server;
and when the first terminal logs in the cloud server, executing the step of sending a process information acquisition request to the cloud server.
Optionally, before sending the process information acquisition request to the cloud server, the method further includes:
and sending an association request to the cloud server, wherein the association request carries a second identifier of the second terminal, an exit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the exit password is set as a password when the second terminal exits from the cloud server.
In the embodiment of the disclosure, a first terminal sends a process information acquisition request to a cloud server, and because the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal, the first terminal may receive process information of a currently running process of the second terminal, which is returned by the cloud server, and generate a control instruction for a target process in the currently running process according to the process information. And then sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction. Therefore, the first terminal can effectively control the current running process of the second terminal through the cloud server.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 2 is a flowchart illustrating a method of controlling a terminal, which is applied to a second terminal, as shown in fig. 2, according to an exemplary embodiment, and includes the following steps.
In step 201, process information of a currently running process is collected.
In step 202, the process information is sent to a cloud server, so that the cloud server forwards the process information to a first terminal associated with the second terminal when the first terminal acquires the process information.
In step 203, a control instruction of the first terminal to a target process in the currently running process, which is returned by the cloud server, is received, and a control operation corresponding to the control instruction is executed.
Optionally, executing a control operation corresponding to the control instruction includes:
when the control instruction is an exit instruction, exiting the target process; or,
when the control instruction is a disable instruction, setting the attribute of the target process to be disabled; or,
and when the control instruction is an authority setting instruction, setting the use authority of the target process as the use authority contained in the authority setting instruction, wherein the use authority comprises a use time period and/or a use duration.
Optionally, after the usage right of the target process is set as the usage right included in the right setting instruction, the method further includes:
detecting whether the current time is in the use time period or not, and exiting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and detecting whether the running time of the target application reaches the use time, and exiting the target process when the running time reaches the use time.
Optionally, before sending the process information to the cloud server, the method further includes:
determining whether the second terminal logs in the cloud server;
and when the second terminal logs in the cloud server, executing the step of sending the process information of the running process of the second terminal to the cloud server.
In the embodiment of the disclosure, the second terminal may collect process information of a currently running process and send the process information to the cloud server, so that the cloud server forwards the process information to the first terminal when the first terminal associated with the second terminal acquires the process information. Because the first terminal can receive the process information of the second terminal, when the first terminal sends a control instruction to the target process, the second terminal can receive the control instruction of the first terminal to the target process in the current running process, which is returned by the cloud server, and execute the control operation corresponding to the control instruction. Therefore, the second terminal can effectively receive the control of the first terminal on the current running process of the second terminal through the cloud server.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 3 is a flowchart illustrating a method of controlling a terminal according to an exemplary embodiment, which will be described in detail with reference to fig. 1. As shown in fig. 3, the method includes the following steps.
In step 301, the second terminal collects process information of a currently running process and sends the process information to the cloud server.
In order to facilitate a user to check and control the currently running process of the second terminal on the first terminal through the cloud server, the second terminal can acquire process information of the currently running process and send the process information to the cloud server.
In a possible embodiment, the second terminal may actively acquire the process information of the currently running process, or may passively acquire the process information of the currently running process. When the second terminal passively collects the process information of the currently running process, the second terminal can receive a first process collection instruction sent by the cloud server, and then collects the process information of the currently running process under the trigger of the first process collection instruction. The first process acquisition instruction is used for instructing the second terminal to acquire the process information of the current running process.
It should be noted that the collected process information may include a process identifier, a time for starting to run the process, and a time length for the process to have run at the collection time. For example, the currently running process of the second terminal is game process 1, the identifier of game process 1 is game 1, the time for starting running game process 1 is 10:00, the acquisition time for acquiring the process information of game process 1 is 10:30, and the running time of game process 1 is 30min after the acquisition time. Therefore, the progress information of the game progress 1 is collected as the game 1, the time for starting the progress running is 10:00, and the running time is 30 min. Of course, the process information may also include other information of the process, which is not limited in this disclosure.
In addition, the second terminal may send the process information to the cloud server after acquiring the process information of the currently running process.
It should be noted that after the second terminal collects the process information of the current running process, it may be determined whether the second terminal logs in the cloud server, and when it is determined that the second terminal logs in the cloud server, the process information is sent to the cloud server.
In another possible embodiment, the second terminal may collect process information of a process running at a current time, and may also collect process information of a process running at a specified time before the current time. Under the condition, the second terminal can store the process information of the running process in real time, and when the second terminal collects the process information, the stored process information of the running process can be obtained.
It should be noted that the second terminal may actively acquire the process information of the process running at the specified time before the current time, or may passively acquire the process information of the process running at the specified time before the current time. When the second terminal passively acquires the process information of the process running at the specified time before the current time, the second terminal may receive a second process acquisition instruction sent by the cloud server, and then acquire the process information of the process running at the specified time before the current time under the trigger of the second process acquisition instruction. The second process acquisition instruction can carry a first designated time at which the running process needs to be acquired, and the second process acquisition instruction is used for instructing the second terminal to acquire the process information of the running process at the first designated time.
It should be noted that, in another possible embodiment, the collected process information may include a process identifier, a time when the process starts to run, and a time when the process ends to run. For example, the current time is 10:00, the second terminal needs to collect the process information of the running process with the first designated time being 9:00, the running process with the 9:00 is game process 1, the identifier of the game process 1 is game 1, the time for starting running the game process 1 is 8:30, and the time for finishing running the game process 1 is 9: 10. Therefore, the progress information of the game progress 1 is collected as the game 1, the time for starting the progress is 8:30, and the time for ending the progress of the game progress 1 is 9: 10. Of course, the process information may also include other information of the process, which is not limited in this disclosure.
In addition, the second terminal may send the process information to the cloud server after acquiring the process information of the running process at the specified time before the current time.
It should be noted that after the second terminal finishes collecting the process information of the running process at the specified time before the current time, whether the second terminal logs in the cloud server or not can be determined, and when it is determined that the second terminal logs in the cloud server, the process information is sent to the cloud server.
In step 302, the first terminal sends a process information acquisition request to the cloud server, where the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal.
When a parent wants to view and control the process information of the running process of the second terminal of the child, a process information acquisition request can be sent to the cloud server through the first terminal, and the process information acquisition request can carry the terminal identification of the second terminal related to the first terminal.
In a possible embodiment, the process information acquisition request sent by the first terminal to the cloud server is used to acquire the process information of the currently running process of the second terminal, and therefore, in this case, the process information acquisition request may further include instruction information for acquiring the currently running process of the second terminal.
In another possible embodiment, the process information obtaining request sent by the first terminal to the cloud server may also be used to obtain process information of a process executed at a specified time before the current time of the second terminal, and therefore, in this case, the process information obtaining request may include instruction information for obtaining the process executed at the first specified time by the second terminal. For example, when the current time is 10:00, the process information acquisition request sent by the first terminal to the cloud server is used for acquiring the process information of the process run by the second terminal 9: 00.
It should be noted that, the first terminal may determine whether the first terminal logs in the cloud server, and when it is determined that the first terminal logs in the cloud server, send the process information acquisition request to the cloud server.
In addition, before the first terminal sends the process information acquisition request to the cloud server, the first terminal can be associated with the first terminal through the cloud server and a password for the second terminal to log out of the cloud server can be set. Optionally, the first terminal may send an association request to the cloud server, where the association request carries a second identifier of the second terminal, a logout password, and a first identifier corresponding to the first terminal, and when receiving a process information acquisition request sent by the first terminal, the cloud server may analyze the process information acquisition request to obtain the second identifier of the second terminal, the logout password, and the first identifier corresponding to the first terminal, then associate the first terminal with the second terminal, and set the logout password as a password when the second terminal logs out of the login cloud server.
It should be noted that, in order to ensure that the parent can check and control the process of the second terminal running at any time through the first terminal, the parent can set a password for the second terminal to log out of the cloud server through the first terminal, and when sending a process information acquisition request to the cloud server, carry the password in the request. Therefore, only when the child knows the password, the second terminal can be controlled to quit the login cloud server through the password, otherwise, the second terminal is always in the state of logging in the cloud server, and the parent can check and control the process of running of the second terminal at any time through the first terminal.
In another possible embodiment, in order to ensure that a household can check and control the running process of the second terminal at any time through the first terminal, in addition to setting a password for the second terminal to log out of the login cloud server, a use password may be set for an APP (Application, Application program) corresponding to the cloud server, and the APPs are installed in the first terminal and the second terminal. Optionally, the first terminal sends, to the cloud server, the association request that may carry the second identifier, the usage password, and the first identifier corresponding to the first terminal of the second terminal, and therefore, when associating the first terminal with the second terminal, the cloud server may set the usage password as the usage password of the APP installed on the second terminal. Because first terminal passes through the cloud ware when being associated with the second terminal, first terminal and second terminal all are in the state of logging in the cloud ware, consequently, after this APP backstage operation at second terminal, when child uses this APP again, then need control this APP through using the password, under the condition that child does not know this use password, this APP will be in the open mode always, also be in the state of logging in the cloud ware always for the second terminal that also, the head of a family also just can look over and control the process that the second terminal moved at any time through first terminal.
In step 303, the first terminal receives process information of the currently running process of the second terminal, which is returned by the cloud server, and generates a control instruction for a target process in the currently running process according to the process information.
When the first terminal generates a control instruction for a target process in the currently running process according to the process information, the first terminal may select the target process from the currently running process according to the process information, display a control interface corresponding to the target process, where the control interface includes at least one operation button, and then generate the control instruction corresponding to the selected operation button.
It should be noted that the second terminal may currently run a plurality of different processes, and control interfaces corresponding to different processes may be different, so that after the captain selects a target process from the currently running processes according to the process information, the control interface corresponding to the target process may be displayed, where the control interface includes at least one operation button. The at least one operation button may include an exit button, a disable button, and a permission setting button. Of course, the control interface may further include other information, for example, the location information of the second terminal when the second terminal runs the target process, the power information of the second terminal when the second terminal runs the target process, and the like.
Further, the first terminal may generate different control instructions according to different operation buttons in the control interface corresponding to the displayed target process. When the selected operation button is an exit button, generating an exit instruction for exiting the target process; when the selected operation button is a forbidden button, generating a forbidden instruction for forbidding the running of the target process; and when the selected operation button is the authority setting button, acquiring the use authority of the target process, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
It should be noted that, when the selected operation button is the authority setting button, the acquiring of the usage authority of the target process may be: when the selected operation button is the authority setting button, the first terminal displays a control interface corresponding to the authority setting button, the control interface comprises a use time period button and/or a use duration button, and then the use authority of the selected use time period button or a target process corresponding to the use duration button is obtained.
When the parent selects the use time period button in the control interface corresponding to the displayed permission setting button, a specific use time period may be set for the target process, for example, the use time period of the game application is set to 10: 00-10:15. When the parent selects the duration of use button, a specific duration of use may be set for the target process, for example, setting the duration of use of the game application to 15 min.
In addition, the control instruction may further include a second designated time, where the second designated time is used to control the second terminal to execute the control operation corresponding to the control instruction at the second designated time. The second designated time may be the current time, a time before the current time, or a time after the current time.
In step 304, the first terminal sends a control instruction to the cloud server, so that the cloud server forwards the control instruction to the second terminal.
The first terminal may send the control command to the cloud server after generating the control command, and the cloud server may forward the control command to the second terminal when receiving the control command,
in step 305, the second terminal receives a control instruction, returned by the cloud server, of the first terminal to the target process in the currently running process, and executes a control operation corresponding to the control instruction.
Because the control instruction generated by the first terminal comprises the exit instruction, the disable instruction and the authority setting instruction, when the second terminal receives the control instruction, the second terminal can be controlled to execute the operation corresponding to the control instruction. When the control instruction is an exit instruction, exiting the target process; when the control instruction is a disable instruction, setting the attribute of the target process to be disabled; and when the control instruction is an authority setting instruction, setting the use authority of the target process as the use authority contained in the authority setting instruction, wherein the use authority comprises a use time period and/or a use duration.
It should be noted that, after the second terminal sets the usage right of the target process as the usage right included in the right setting instruction, since the usage right includes a usage time period and/or a usage duration, the second terminal may also detect whether the current time is within the usage time period, and quit the target process when the current time is not within the usage time period; and/or detecting whether the running time of the target application reaches the use time, and exiting the target process when the running time reaches the use time. That is, the child can only control the target process to run during the usage period and/or usage duration included in the permission setting instruction.
In the embodiment of the disclosure, a first terminal sends a process information acquisition request to a cloud server, and because the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal, the first terminal may receive process information of a currently running process of the second terminal, which is returned by the cloud server, and generate a control instruction for a target process in the currently running process according to the process information. And then sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction. Therefore, the first terminal can effectively control the current running process of the second terminal through the cloud server.
Fig. 4 is a block diagram illustrating an apparatus 400 for controlling a terminal according to an example embodiment. As shown in fig. 4, the apparatus includes a transmitting module 401, a generating module 402 and a control module 403.
A sending module 401, configured to send a process information obtaining request to a cloud server, where the process information obtaining request carries a terminal identifier of a second terminal associated with the first terminal;
a generating module 402, configured to receive process information of a currently running process of the second terminal, where the process information is returned by the cloud server, and generate a control instruction for a target process in the currently running process according to the process information;
the control module 403 is configured to send the control instruction to the cloud server, so that the cloud server forwards the control instruction to the second terminal, where the control instruction is used to control the second terminal to execute a control operation corresponding to the control instruction.
Optionally, the generating module includes:
the selection submodule is used for selecting a target process from the current running process according to the process information;
the display submodule is used for displaying a control interface corresponding to the target process, and the control interface comprises at least one operation button;
and the generation submodule is used for generating a control instruction corresponding to the selected operation button.
Optionally, the generating sub-module includes:
a first generating unit, configured to generate an exit instruction for exiting the target process when the selected operation button is an exit button; or,
a second generation unit configured to generate a disable instruction for prohibiting the target process from being executed when the selected operation button is a disable button; or,
and the third generating unit is used for acquiring the use authority of the target process when the selected operation button is an authority setting button, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
Optionally, the apparatus further comprises:
the determining module is used for determining whether the first terminal logs in the cloud server or not;
and the triggering module is used for triggering the sending module to send the process information obtaining request to the cloud server when the first terminal logs in the cloud server.
Optionally, the apparatus further comprises:
and the association module is used for sending an association request to the cloud server, wherein the association request carries a second identifier of the second terminal, an exit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the exit password is set as a password when the second terminal exits from the cloud server.
In the embodiment of the disclosure, a first terminal sends a process information acquisition request to a cloud server, and because the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal, the first terminal may receive process information of a currently running process of the second terminal, which is returned by the cloud server, and generate a control instruction for a target process in the currently running process according to the process information. And then sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction is used for controlling the second terminal to execute the control operation corresponding to the control instruction. Therefore, the first terminal can effectively control the current running process of the second terminal through the cloud server.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating an apparatus 500 for controlling a terminal according to an example embodiment. As shown in fig. 5, the apparatus includes an acquisition module 501, a transmission module 502 and an execution module 503.
An acquisition module 501, configured to acquire process information of a currently running process;
a sending module 502, configured to send the process information to a cloud server, so that the cloud server forwards the process information to a first terminal associated with the second terminal when the first terminal acquires the process information;
the executing module 503 is configured to receive a control instruction, returned by the cloud server, of the first terminal to a target process in the currently running process, and execute a control operation corresponding to the control instruction.
Optionally, the executing module includes:
the quit submodule is used for quitting the target process when the control instruction is a quit instruction; or,
the disabling submodule is used for setting the attribute of the target process to be disabled when the control instruction is a disabling instruction; or,
and the permission setting submodule is used for setting the use permission of the target process as the use permission contained in the permission setting instruction when the control instruction is the permission setting instruction, and the use permission comprises a use time period and/or a use duration.
Optionally, the apparatus further comprises:
the first detection module is used for detecting whether the current time is in the use time period or not, and quitting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and the second detection module is used for detecting whether the running time of the target application reaches the use time, and quitting the target process when the running time reaches the use time.
Optionally, the apparatus further comprises:
the determining module is used for determining whether the second terminal logs in the cloud server or not;
and the triggering module is used for triggering the sending module to send the process information of the running process of the second terminal to the cloud server when the second terminal logs in the cloud server.
In the embodiment of the disclosure, the second terminal may collect process information of a currently running process and send the process information to the cloud server, so that the cloud server forwards the process information to the first terminal when the first terminal associated with the second terminal acquires the process information. Because the first terminal can receive the process information of the second terminal, when the first terminal sends a control instruction to the target process, the second terminal can receive the control instruction of the first terminal to the target process in the current running process, which is returned by the cloud server, and execute the control operation corresponding to the control instruction. Therefore, the second terminal can effectively receive the control of the first terminal on the current running process of the second terminal through the cloud server.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating an apparatus 600 for controlling a terminal according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods provided by the embodiments shown in fig. 1 or fig. 2 and described above.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform a method of controlling the terminal.
A computer program product comprising instructions which, when executed by a processor of a terminal, enable the terminal to perform the method of controlling a terminal of fig. 1 and 2 as described above.
Fig. 7 is a block diagram illustrating an apparatus 700 for controlling a terminal according to an example embodiment. For example, the apparatus 700 may be provided as a server. Referring to fig. 7, the apparatus 700 includes a processor 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by the processor 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processor 722 is configured to execute instructions to perform the methods provided by the embodiments illustrated in fig. 1 and 2 described above.
The apparatus 700 may also include a power component 726 configured to perform power management of the apparatus 700, a wired or wireless network interface 750 configured to connect the apparatus 700 to a network, and an input output (I/O) interface 758. The apparatus 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 732 that includes instructions, which are executable by the processor 722 of the device 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a server, enable the server to perform a control terminal method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof.

Claims (18)

1. A method for controlling a terminal, applied to a first terminal, the method comprising:
sending an association request to a cloud server, wherein the association request carries a second identifier of a second terminal, an exit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the exit password is set as a password when the second terminal exits from logging in the cloud server;
sending a process information acquisition request to the cloud server, wherein the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal;
receiving process information of a current running process of the second terminal returned by the cloud server, and selecting a target process from the current running process according to the process information;
displaying a control interface corresponding to the target process, wherein the control interface comprises at least one operation button and position information of the second terminal when the target process is operated;
generating a control instruction corresponding to the selected operation button;
sending the control instruction to the cloud server so that the cloud server forwards the control instruction to the second terminal, wherein the control instruction comprises a second specified time and is used for controlling the second terminal to execute the control operation corresponding to the control instruction at the second specified time, and an application program installed on the second terminal and corresponding to the cloud server is provided with a use password.
2. The method of claim 1, wherein the generating the control instruction corresponding to the selected operation button comprises:
when the selected operation button is an exit button, generating an exit instruction for exiting the target process; or,
when the selected operation button is a forbidden button, generating a forbidden instruction for forbidding the running of the target process; or,
and when the selected operation button is an authority setting button, acquiring the use authority of the target process, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
3. The method of claim 1, wherein prior to sending the process information acquisition request to the cloud server, the method further comprises:
determining whether the first terminal logs in the cloud server;
and when the first terminal logs in the cloud server, executing the step of sending a process information acquisition request to the cloud server.
4. A method for controlling a terminal, applied to a second terminal, the method comprising:
collecting process information of a current running process;
sending the process information to a cloud server, so that the cloud server forwards the process information to a first terminal when the first terminal associated with the second terminal acquires the process information; the first terminal is used for sending an association request to the cloud server, wherein the association request carries a second identifier of a second terminal, a quit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the quit password is set as a password when the second terminal quits and logs in the cloud server;
receiving a control instruction, returned by the cloud server, of the first terminal to a target process in the currently running process, and executing a control operation corresponding to the control instruction at a second designated time, wherein the control instruction comprises the second designated time, and an application program, corresponding to the cloud server, installed on the second terminal is provided with a use password; the target process is selected from the current running process by the first terminal according to the process information, the control instruction is an instruction corresponding to the selected operation button generated after the control interface corresponding to the target process is displayed by the first terminal, and the control interface comprises at least one operation button and position information of the second terminal when the target process is run.
5. The method of claim 4, wherein the executing the control operation corresponding to the control instruction comprises:
when the control instruction is an exit instruction, exiting the target process; or,
when the control instruction is a disable instruction, setting the attribute of the target process to be disabled; or,
and when the control instruction is an authority setting instruction, setting the use authority of the target process as the use authority contained in the authority setting instruction, wherein the use authority comprises a use time period and/or a use duration.
6. The method of claim 5, wherein after the setting of the usage right of the target process to the usage right contained in the right setting instruction, the method further comprises:
detecting whether the current time is in the use time period or not, and exiting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and detecting whether the running time of the target process reaches the use time, and exiting the target process when the running time reaches the use time.
7. The method of any one of claims 4-6, wherein prior to sending the progress information to the cloud server, the method further comprises:
determining whether the second terminal logs in the cloud server;
and when the second terminal logs in the cloud server, executing the step of sending the process information of the second terminal running process to the cloud server.
8. An apparatus for controlling a terminal, applied to a first terminal, the apparatus comprising:
the association module is used for sending an association request to a cloud server, wherein the association request carries a second identifier of a second terminal, a quit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the quit password is set as a password when the second terminal quits and logs in the cloud server;
a sending module, configured to send a process information acquisition request to the cloud server, where the process information acquisition request carries a terminal identifier of a second terminal associated with the first terminal;
the selection submodule is used for receiving the process information of the current running process of the second terminal returned by the cloud server and selecting a target process from the current running process according to the process information;
the display sub-module is used for displaying a control interface corresponding to the target process, wherein the control interface comprises at least one operation button and position information of the second terminal when the target process is operated;
the generation submodule is used for generating a control instruction corresponding to the selected operation button;
the control module is configured to send the control instruction to the cloud server, so that the cloud server forwards the control instruction to the second terminal, where the control instruction includes a second specified time and is used to control the second terminal to execute a control operation corresponding to the control instruction, and an application program installed on the second terminal and corresponding to the cloud server is provided with a use password.
9. The apparatus of claim 8, wherein the generating sub-module comprises:
a first generating unit, configured to generate an exit instruction for exiting the target process when the selected operation button is an exit button; or,
a second generating unit, configured to generate a disable instruction for prohibiting the target process from being executed when the selected operation button is a disable button; or,
and the third generating unit is used for acquiring the use authority of the target process when the selected operation button is an authority setting button, wherein the use authority comprises a use time period and/or a use duration, and generating an authority setting instruction containing the use authority.
10. The apparatus of claim 8, wherein the apparatus further comprises:
the determining module is used for determining whether the first terminal logs in the cloud server or not;
and the triggering module is used for triggering the sending module to send the process information obtaining request to the cloud server when the first terminal logs in the cloud server.
11. An apparatus for controlling a terminal, applied to a second terminal, the apparatus comprising:
the acquisition module is used for acquiring the process information of the current running process;
a sending module, configured to send the process information to a cloud server, so that the cloud server forwards the process information to a first terminal associated with the second terminal when the first terminal acquires the process information; the first terminal is used for sending an association request to the cloud server, wherein the association request carries a second identifier of a second terminal, a quit password and a first identifier corresponding to the first terminal, so that the cloud server associates the first terminal with the second terminal, and the quit password is set as a password when the second terminal quits and logs in the cloud server;
the execution module is used for receiving a control instruction of the first terminal to a target process in the current running process, which is returned by the cloud server, and executing a control operation corresponding to the control instruction at a second designated time, wherein the control instruction comprises the second designated time, and an application program which is installed on the second terminal and corresponds to the cloud server is provided with a use password; the target process is selected from the current running process by the first terminal according to the process information, the control instruction is an instruction corresponding to the selected operation button generated after the control interface corresponding to the target process is displayed by the first terminal, and the control interface comprises at least one operation button and position information of the second terminal when the target process is run.
12. The apparatus of claim 11, wherein the execution module comprises:
the quit submodule is used for quitting the target process when the control instruction is a quit instruction; or,
the disabling submodule is used for setting the attribute of the target process to be disabled when the control instruction is a disabling instruction; or,
and the permission setting submodule is used for setting the use permission of the target process as the use permission contained in the permission setting instruction when the control instruction is the permission setting instruction, and the use permission comprises a use time period and/or a use duration.
13. The apparatus of claim 12, wherein the apparatus further comprises:
the first detection module is used for detecting whether the current time is in the use time period or not, and quitting the target process when the current time is not in the use time period; and/or the presence of a gas in the gas,
and the second detection module is used for detecting whether the running time of the target process reaches the use time, and quitting the target process when the running time reaches the use time.
14. The apparatus of any one of claims 11-13, further comprising:
the determining module is used for determining whether the second terminal logs in the cloud server;
and the triggering module is used for triggering the sending module to send the process information of the running process of the second terminal to the cloud server when the second terminal logs in the cloud server.
15. An apparatus for controlling a terminal, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-3.
16. An apparatus for controlling a terminal, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 4-7.
17. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-3.
18. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 4-7.
CN201810957358.1A 2018-08-21 2018-08-21 Method and device for controlling terminal and computer readable storage medium Active CN108989459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810957358.1A CN108989459B (en) 2018-08-21 2018-08-21 Method and device for controlling terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810957358.1A CN108989459B (en) 2018-08-21 2018-08-21 Method and device for controlling terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108989459A CN108989459A (en) 2018-12-11
CN108989459B true CN108989459B (en) 2021-11-02

Family

ID=64554132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810957358.1A Active CN108989459B (en) 2018-08-21 2018-08-21 Method and device for controlling terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108989459B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446031B (en) * 2018-12-13 2022-04-08 创维集团智能科技有限公司 Control method of terminal equipment, terminal and readable storage medium
CN113422815B (en) 2018-12-17 2023-03-24 北京百度网讯科技有限公司 Remote control method, device, equipment and computer readable storage medium
CN109951473B (en) * 2019-03-12 2021-06-04 北京三快在线科技有限公司 Function triggering method, system, electronic device and computer readable storage medium
CN111078434B (en) * 2019-12-17 2024-01-23 联想(北京)有限公司 Control method, device and terminal
CN112068876A (en) * 2020-08-14 2020-12-11 北京达佳互联信息技术有限公司 Process management method, device and system
CN113938510A (en) * 2021-09-29 2022-01-14 青岛海信移动通信技术股份有限公司 Terminal equipment and terminal control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790417A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of long-range control method, terminal and system
CN107197091A (en) * 2017-05-19 2017-09-22 广东小天才科技有限公司 Terminal control method, terminal control device, terminal equipment and computer readable storage medium
CN108304297A (en) * 2018-02-09 2018-07-20 北京航智信息技术有限公司 Realize the method and device of remote control student's mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188227A (en) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 Method and system for conducting parental control over mobile equipment
CA2970613A1 (en) * 2013-12-19 2015-06-25 Websafety, Inc. Devices and methods for improving web safety and deterrence of cyberbullying
CN105245566A (en) * 2015-08-28 2016-01-13 广东小天才科技有限公司 Monitoring method, device and system of learning terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790417A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of long-range control method, terminal and system
CN107197091A (en) * 2017-05-19 2017-09-22 广东小天才科技有限公司 Terminal control method, terminal control device, terminal equipment and computer readable storage medium
CN108304297A (en) * 2018-02-09 2018-07-20 北京航智信息技术有限公司 Realize the method and device of remote control student's mobile terminal

Also Published As

Publication number Publication date
CN108989459A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108989459B (en) Method and device for controlling terminal and computer readable storage medium
US9588805B2 (en) Method and terminal device for controlling background application
US9674284B2 (en) Method and device for detecting state of networking channel
US9800666B2 (en) Method and client terminal for remote assistance
US20170344192A1 (en) Method and device for playing live videos
EP3220651A1 (en) Live video broadcasting method and device
US10425403B2 (en) Method and device for accessing smart camera
US20160352661A1 (en) Video communication method and apparatus
EP3136793A1 (en) Method and apparatus for awakening electronic device
US10216711B2 (en) Information collection method and apparatus
US10523494B2 (en) Method and apparatus for processing network failure
EP3116165B1 (en) Method and device for testing a terminal
CN109284149B (en) Method and device for starting application program
US10379602B2 (en) Method and device for switching environment picture
US20190235745A1 (en) Method and device for displaying descriptive information
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
EP3203690B1 (en) Message transmission method and apparatus, and electronic device
US10111026B2 (en) Detecting method and apparatus, and storage medium
CN107562500B (en) Debugging device, method and equipment
CN107911380B (en) Identity verification method and device
EP2985697A1 (en) Method and device for controlling router plug-in
CN105786561B (en) Method and device for calling process
US10516849B2 (en) Video call method, apparatus and system
CN108159686B (en) Method and device for projection of projection equipment and storage medium
CN107656769B (en) Application starting method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant