CN104536900A - Method and device for controlling mobile terminal - Google Patents

Method and device for controlling mobile terminal Download PDF

Info

Publication number
CN104536900A
CN104536900A CN201510030608.3A CN201510030608A CN104536900A CN 104536900 A CN104536900 A CN 104536900A CN 201510030608 A CN201510030608 A CN 201510030608A CN 104536900 A CN104536900 A CN 104536900A
Authority
CN
China
Prior art keywords
mobile terminal
steering order
main frame
running status
sends
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.)
Pending
Application number
CN201510030608.3A
Other languages
Chinese (zh)
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 Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510030608.3A priority Critical patent/CN104536900A/en
Publication of CN104536900A publication Critical patent/CN104536900A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method and device for controlling a mobile terminal. The method and device are used for remotely testing and controlling the mobile terminal. The method comprises the steps that an operation state, sent by a host, of the mobile terminal is received; a control command to the mobile terminal is generated according to the operation state; the host corresponding to the mobile terminal is determined; the control command is sent to the host corresponding to the mobile terminal, and the mobile terminal is indicated to execute the control command.

Description

Control method and the device of mobile terminal
Technical field
The disclosure relates to communication and computer disposal field, particularly relates to the method and device that control mobile terminal.
Background technology
Along with the development of electronic technology, mobile terminal is generally applied.Mobile terminal, except supporting basic call and SMS, can also install various application, and supports wireless communication.
Application miscellaneous is provided by numerous third-party vendors.The situation that the application of third-party vendor's exploitation runs on mobile terminals is also different.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method and the device that control mobile terminal.
According to the first aspect of disclosure embodiment, a kind of method controlling mobile terminal is provided, comprises:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, main frame is connected with mobile terminal, remote control equipment is by realizing the control to mobile terminal to the control of main frame, thus the test realized running status on mobile terminal, and determine whether send steering order according to running status, managed by the test case of steering order to mobile terminal.The present embodiment achieves Long-distance Control to mobile terminal and clustered control, improves control efficiency.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment provides several steering order, supports the various control to mobile terminal, can control the test case of mobile terminal more accurately comparatively comprehensively.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment can have multiple running status, can test mobile terminal more accurately and control comparatively comprehensively.
In one embodiment, before the running status of the mobile terminal that Receiving Host sends, described method also comprises:
Connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment medium-long range opertaing device passes through the mark set of main frame and the mark set of mobile terminal of acquisition, the main frame that tested mobile terminal is connected with mobile terminal can be known, be convenient to the communication with mobile terminal in the test process of mobile terminal.
According to the second aspect of disclosure embodiment, a kind of method controlling mobile terminal is provided, comprises:
Send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal;
Receive the running status of described mobile terminal feedback;
Described running status is transmitted to remote control equipment;
Receive the first steering order that described remote control equipment sends;
Discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
The described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, main frame is as the intermediary of remote control equipment and mobile terminal, for Long-distance Control provides support.Remote control equipment being sent instruction transformation is the discernible instruction of mobile terminal, is convenient to test the mobile terminal of various operating system.And owing to there being the support of main frame, remote controlled more mobile terminal, improves testing efficiency.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment provides several steering order, supports the various control to mobile terminal, can control the test case of mobile terminal more accurately comparatively comprehensively.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment can have multiple running status, can test mobile terminal more accurately and control comparatively comprehensively.
In one embodiment, described discernible second steering order of operating system that described first steering order received is converted to mobile terminal, comprising:
Determine and perform script corresponding to described first steering order;
Multiple second steering order is generated successively according to described script;
The described described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order, comprising:
Send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment can realize test to complex situations and control by multiple steering order.It is more accurate more comprehensively to make the Long-distance Control of mobile terminal.
In one embodiment, described method also comprises:
Execution result after described second steering order of execution that mobile terminal receive sends;
By WWW transmission mode, the described execution result received is sent to remote control equipment.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment medium-long range opertaing device can obtain the execution result of mobile terminal, more accurately can be obtained the situation of test by execution result more comprehensively.
According to the third aspect of disclosure embodiment, a kind of device controlling mobile terminal is provided, comprises:
Receiver module, for the running status of the mobile terminal that Receiving Host sends;
Generation module, for generating the steering order to described mobile terminal according to running status;
Determination module, for determining the described main frame that described mobile terminal is corresponding;
Sending module, sends described steering order for the described main frame corresponding to described mobile terminal, indicates described mobile terminal to perform described steering order.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
In one embodiment, described device also comprises:
Link block, for connecting with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
According to the fourth aspect of disclosure embodiment, a kind of device controlling mobile terminal is provided, comprises:
First sending module, obtain instruction for sending state to mobile terminal, request obtains the running status of mobile terminal;
First receiver module, for receiving the running status of described mobile terminal feedback;
Second sending module, for being transmitted to remote control equipment by described running status;
Second receiver module, for receiving the first steering order that described remote control equipment sends;
Modular converter, for discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
3rd sending module, sends described second steering order for the described mobile terminal corresponding to the second steering order, indicates described mobile terminal to perform described steering order.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
In one embodiment, described modular converter comprises:
Script submodule, for determining and performing script corresponding to described first steering order;
Generate submodule, for generating multiple second steering order successively according to described script;
Described 3rd sending module sends multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicates described mobile terminal progressively to perform multiple described steering order.
In one embodiment, described device also comprises:
3rd receiver module, for the execution result after described second steering order of execution that mobile terminal receive sends;
4th sending module, for sending to remote control equipment by WWW transmission mode by the described execution result received.
According to the 5th aspect of disclosure embodiment, a kind of device controlling mobile terminal is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
According to the 6th aspect of disclosure embodiment, a kind of device controlling mobile terminal is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
According to the IP address of the mobile terminal that this locality has, send IP connection request to mobile terminal;
The screenshot picture of described mobile terminal transmission and the directional information of screenshot picture is received by IP layer;
Described screenshot picture is shown according to described directional information.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment.
Fig. 2 is the block diagram of a kind of system according to an exemplary embodiment.
Fig. 3 is the schematic diagram at the interface of a kind of remote control equipment according to an exemplary embodiment.
Fig. 4 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment.
Fig. 5 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment.
Fig. 6 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment.
Fig. 7 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment.
Fig. 8 is a kind of block diagram controlling the device of mobile terminal according to an exemplary embodiment.
Fig. 9 is a kind of block diagram controlling the device of mobile terminal according to an exemplary embodiment.
Figure 10 is a kind of block diagram controlling the device of mobile terminal according to an exemplary embodiment.
Figure 11 is the block diagram of a kind of modular converter according to an exemplary embodiment.
Figure 12 is a kind of block diagram controlling the device of mobile terminal according to an exemplary embodiment.
Figure 13 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
In correlation technique, in order to detect various application ruuning situation on mobile terminals, especially, mobile terminal can be connected on main frame simultaneously to the test of multiple mobile terminal to realize.The running status of mobile terminal is checked by main frame.If operated each main frame by manual type, check the ruuning situation of each mobile terminal one by one, will more manpower be consumed.And maintainer needs to keep on main frame side, the limited amount of the mobile terminal tested simultaneously, exist the control of mobile terminal and postpone, efficiency is lower.
Fig. 1 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment, and as shown in Figure 1, the method can be realized by computing machine, comprises the following steps:
In a step 101, the running status of the mobile terminal of Receiving Host transmission.
In a step 102, the steering order to described mobile terminal is generated according to running status.
In step 103, the described main frame that described mobile terminal is corresponding is determined.
At step 104, the described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
The present embodiment is realized by remote control equipment, and remote control equipment is connected with main frame by internet, and main frame is connected with mobile terminal by wired or near radio mode, as shown in Figure 2.A main frame can connect 3,4 mobile terminals.Multiple main frame and mobile terminal can set up into a test machine room.Remote control equipment can long-range connection and control test machine room in All hosts.
The various application of running of mobile terminal, tests each application operation conditions on mobile terminals.Remote control equipment can obtain the running status of mobile terminal, checks whether test process goes wrong.Remote control equipment, with reference to running status, as required to mobile terminal sending controling instruction, controls mobile terminal.This steering order can have multiple, and as required, mobile terminal feeds back some information, or requires that mobile terminal performs some operation.By steering order, can test case be checked to mobile terminal and perform test operation, realize testing more accurately mobile terminal comparatively comprehensively.
Such as, main frame adopts (SuSE) Linux OS, remote control equipment adopts SSH (Secure Shell, security protocol) agreement be connected with main frame and communicate, and the agreement that is remote control equipment adopts the operating system of main frame to support carries out connecting and communicating.Remote control equipment directly logs in main frame by the IP (Internet protocol) of main frame.The operating system of mobile terminal is for Android operation system.Main frame and mobile terminal are communicated by adb (Android Debug Bridge, Android debugging bridge) order.
Such as, remote control equipment is connected with 3 main frames, is main frame 1, main frame 2 and main frame 3 respectively.Each main frame connects 3 mobile terminals, and main frame 1 connects mobile terminal 11-13, and main frame 2 connects mobile terminal 21-23, and main frame 3 connects mobile terminal 31-33.The running status of the mobile terminal 11-13/21-23/31-33 that remote control equipment Receiving Host 1, main frame 2 and main frame 3 send.Tester recognizes the running status of each mobile terminal by remote control equipment.If tester wants to control mobile terminal 13, more detailed information is checked as wanted, or require that mobile terminal 13 performs some process, then to remote control equipment input command, remote control equipment determination mobile terminal 13 respective hosts 1, to main frame 1 sending controling instruction, steering order is sent to mobile terminal 13 by instruction main frame 1.Steering order is transmitted to mobile terminal 13 by main frame 1.Mobile terminal 13 performs this steering order.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.Steering order can also comprise other instruction.
The present embodiment supports the various control to mobile terminal, can control the test case of mobile terminal more accurately comparatively comprehensively.
Such as, to restart.After tester sees the running status of each mobile terminal, may find that the running status of mobile terminal has problem, or based on other reason, think and need to restart mobile terminal.Remote control equipment exports " restarting " button, can be corresponding " restarting " button under the interface of a mobile terminal.Tester clicks " restarting " button.Remote control equipment determines according to " restarting " button the mobile terminal that this button is corresponding, then generates " restarting " steering order (comprising the mark of host ip and mobile terminal) for this mobile terminal.Or remote control equipment exports " a restarting " button.Tester clicks " restarting " button.Remote control equipment ejects input frame, and tester inputs the mark of host ip and mobile terminal in input frame.Remote control equipment generates " restarting " steering order (comprising the mark of host ip and mobile terminal) for this mobile terminal.
Tester clicks " restarting " button.Remote control equipment, under the clicking trigger of tester, generates " restarting " steering order.Remote control equipment sends " restarting " steering order to main frame.Main frame " will be restarted " steering order and will be converted to the discernible instruction of mobile terminal, as be converted to adb restart instruction.Mobile terminal performs adb restart instruction, restarts.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
The present embodiment can have multiple running status, can test mobile terminal more accurately and control comparatively comprehensively.
Such as, as shown in Figure 3, remote control equipment can show the running status received.The current interface of 3 mobile terminals has been shown in Fig. 3.M2-1 represents that first mobile terminal that main frame 2 connects, M2-2 represent that second mobile terminal that main frame 2 connects, M2S-1 represent the 3rd mobile terminal that main frame 2 connects.ID is the mark of mobile terminal, and IP is the IP of main frame.Adb and mdb represents two kinds of connection status.Remote control equipment can make tester watch the interface of mobile terminal by interface sectional drawing, understands the ruuning situation of mobile terminal.
In one embodiment, before the running status of the mobile terminal that Receiving Host sends, described method also comprises: steps A.
In step, connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
The present embodiment medium-long range opertaing device can be connected with multiple main frame, adopts the continuation mode that the operating system of main frame is supported.Can obtain the mark of main frame during connection, the mark of multiple main frame forms the mark set of main frame.The mark set of mobile terminal pre-configured for this locality is sent to remote control equipment by main frame.The mark set of this pre-configured mobile terminal is configured after being connected with main frame by mobile terminal by technician.Remote control equipment carries out traversal access according to the mark set of main frame and the mark set of mobile terminal to main frame and mobile terminal, checks the connection status of All hosts and mobile terminal.Send due to mobile terminal may be had and connect fault, so the mobile terminal viewed may be less than the mobile terminal marked in the mark set of mobile terminal.Few part mobile terminal is the mobile terminal connecting fault.
The implementation procedure that remote control equipment side controls mobile terminal is introduced in detail below by embodiment.
Fig. 4 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment, and as shown in Figure 4, the method can be realized by computing machine, comprises the following steps:
In step 401, connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
In step 402, the running status of the mobile terminal of Receiving Host transmission.
In step 403, the steering order to described mobile terminal is generated according to running status.
In step 404, the described main frame that described mobile terminal is corresponding is determined.
In step 405, the described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
Below mainly introduce the implementation procedure controlling mobile terminal from remote control equipment side, control the implementation procedure of mobile terminal below from host computer side introduction.
Fig. 5 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment, and as shown in Figure 5, the method can be realized by computing machine, comprises the following steps:
In step 501, send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal.
In step 502, the running status of described mobile terminal feedback is received.
In step 503, described running status is transmitted to remote control equipment.
In step 504, the first steering order that described remote control equipment sends is received.
In step 505, discernible second steering order of operating system described first steering order received being converted to mobile terminal.
In step 506, the described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order.
In the present embodiment, main frame is as the intermediary of remote control equipment and mobile terminal, for Long-distance Control provides support.Remote control equipment being sent instruction transformation is the discernible instruction of mobile terminal, is convenient to test the mobile terminal of various operating system.And owing to there being the support of main frame, remote controlled more mobile terminal, improves testing efficiency.
Such as, technician is connected needing the mobile terminal carrying out testing with main frame.Main frame sends state to mobile terminal and obtains instruction, as utilized the utilization rate of the CPU of adb shell-command timing acquisition current device and internal memory loss situation and record.The running status of acquisition can be sent to remote control equipment by main frame, also the mean value of running status within a period of time can be sent to remote control equipment, or by remote control equipment according to the running status calculating mean value voluntarily obtained.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
In one embodiment, the steering order that remote control equipment sends may need to carry out multiple treatment step for mobile terminal.Then, step 505 comprises: step B1-step B2.Step 506 comprises: step B3.
In step bl is determined., determine and perform script corresponding to described first steering order.
In step B2, generate multiple second steering order successively according to described script.
In step B3, send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
Such as, to reset to example, reset and refer to mobile terminal factory reset.After tester sees the running status of each mobile terminal, may find that the running status of mobile terminal has problem, or based on other reason, think and need to reset mobile terminal.Remote control equipment exports " replacement " button, and tester clicks " replacement " button.Remote control equipment, under the clicking trigger of tester, generates " replacement " steering order.Remote control equipment sends " replacement " steering order to main frame.Host lookup also runs uiautomator (a kind of Android automatic test script) script write in advance corresponding to " replacement " steering order, by the setting-> developer option-> factory reset on automatically clicking mobile terminal." setting ", " developer's option " and " factory reset " these three operations are clicked in simulation, corresponding second steering order of each operation.Main frame Run Script, sends " setting " steering order to mobile terminal.Mobile terminal simulation is clicked " setting " and enters next step, completes to main frame feedback.Main frame sends " developer's option " steering order to mobile terminal again.Mobile terminal simulation is clicked " developer's option " and enters next step, completes to main frame feedback.Main frame sends " factory reset " steering order to mobile terminal again.Mobile terminal simulation is clicked " factory reset " and performs " factory reset ".
The present embodiment can realize test to complex situations and control by multiple steering order.It is more accurate more comprehensively to make the Long-distance Control of mobile terminal.
In one embodiment, mobile terminal is different to the process of various second steering order, after processing some second steering order, only needs to complete to main frame feedback.For some the second steering order, after mobile terminal process, can execution result be produced, need, by main frame, execution result is fed back to remote control equipment, be convenient to tester and fully understand running status.Then, described method also comprises: step C1 and step C2.
In step C1, the execution result after described second steering order of execution that mobile terminal receive sends.
In step C2, by WWW transmission mode, the described execution result received is sent to remote control equipment.
Such as, for sectional drawing.Although mobile terminal can periodically to remote control equipment feedback sectional drawing, tester also can based on the sectional drawing of certain certain mobile terminal of reason initiative feedback current interface.Remote control equipment exports " sectional drawing " button, and tester clicks " sectional drawing " button.Remote control equipment, under the clicking trigger of tester, generates " sectional drawing " steering order.Remote control equipment sends " sectional drawing " steering order to main frame." sectional drawing " steering order is converted to the discernible instruction of mobile terminal by main frame, as be converted to adb instruction.Mobile terminal performs adb instruction, carries out sectional drawing, and the picture obtained after sectional drawing is sent to remote control equipment by main frame.
The implementation procedure that host computer side controls mobile terminal is introduced in detail below by embodiment.
Fig. 6 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment, and as shown in Figure 6, the method can be realized by computing machine, comprises the following steps:
In step 601, send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal.
In step 602, the running status of described mobile terminal feedback is received.
In step 603, described running status is transmitted to remote control equipment.
In step 604, the first steering order that described remote control equipment sends is received.
In step 605, determine and perform script corresponding to described first steering order.
In step 606, multiple second steering order is generated successively according to described script.
In step 607, send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
In step 608, mobile terminal receive send described second steering order of execution after execution result.
In step 609, by WWW transmission mode, the described execution result received is sent to remote control equipment.
The implementation procedure controlling mobile terminal when remote control equipment and host computer side combine is introduced in detail below by embodiment.
Fig. 7 is a kind of process flow diagram controlling the method for mobile terminal according to an exemplary embodiment, and as shown in Figure 7, the method can be realized by multiple computing machine, comprises the following steps:
In step 701, remote control equipment and described main frame connect, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
In a step 702, mobile terminal period to main frame send running status.
In step 703, the running status received is transmitted to remote control equipment by main frame.
In step 704, remote control equipment is according to first steering order of running status generation to described mobile terminal.
In step 705, remote control equipment determines the described main frame that described mobile terminal is corresponding.
In step 706, remote control equipment sends described first steering order to the described main frame that described mobile terminal is corresponding, indicates described mobile terminal to perform described first steering order.
In step 707, discernible second steering order of operating system that described first steering order received is converted to mobile terminal by main frame.
In step 708, main frame sends described second steering order to the described mobile terminal that the second steering order is corresponding.
In step 709, mobile terminal receives and performs the second steering order.
Control the implementation procedure of mobile terminal by being described above to have separated, this process is realized by mobile terminal and computing machine, is introduced respectively below for the inner structure of two equipment and function.
Fig. 8 is a kind of device schematic diagram controlling mobile terminal according to an exemplary embodiment.With reference to Fig. 8, this device comprises: receiver module 801, generation module 802, determination module 803 and sending module 804.
Receiver module 801, for the running status of the mobile terminal that Receiving Host sends.
Generation module 802, for generating the steering order to described mobile terminal according to running status.
Determination module 803, for determining the described main frame that described mobile terminal is corresponding.
Sending module 804, sends described steering order for the described main frame corresponding to described mobile terminal, indicates described mobile terminal to perform described steering order.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
In one embodiment, as shown in Figure 9, described device also comprises: link block 805.
Link block 805, for connecting with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
Figure 10 is a kind of device schematic diagram controlling mobile terminal according to an exemplary embodiment.With reference to Figure 10, this device comprises: the first sending module 1001, first receiver module 1002, second sending module 1003, second receiver module 1004, modular converter 1005 and the 3rd sending module 1006.
First sending module 1001, obtain instruction for sending state to mobile terminal, request obtains the running status of mobile terminal.
First receiver module 1002, for receiving the running status of described mobile terminal feedback.
Second sending module 1003, for being transmitted to remote control equipment by described running status.
Second receiver module 1004, for receiving the first steering order that described remote control equipment sends.
Modular converter 1005, for discernible second steering order of operating system that described first steering order received is converted to mobile terminal.
3rd sending module 1006, sends described second steering order for the described mobile terminal corresponding to the second steering order, indicates described mobile terminal to perform described steering order.
In one embodiment, described steering order comprises: restart, reset and at least one item in sectional drawing.
In one embodiment, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
In one embodiment, as shown in figure 11, described modular converter 1005 comprises: script submodule 10051 and generation submodule 10052.
Script submodule 10051, for determining and performing script corresponding to described first steering order.
Generate submodule 10052, for generating multiple second steering order successively according to described script.
Described 3rd sending module 1006 sends multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicates described mobile terminal progressively to perform multiple described steering order.
In one embodiment, as shown in figure 12, described device also comprises: the 3rd receiver module 1007 and the 4th sending module 1008.
3rd receiver module 1007, for the execution result after described second steering order of execution that mobile terminal receive sends.
4th sending module 1008, for sending to remote control equipment by WWW transmission mode by the described execution result received.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 13 is the block diagram of a kind of device 1300 for controlling mobile terminal according to an exemplary embodiment.Such as, device 1300 may be provided in a computing machine.With reference to Figure 13, device 1300 comprises processing components 1322, and it comprises one or more processor further, and the memory resource representated by storer 1332, can such as, by the instruction of the execution of processing element 1322, application program for storing.The application program stored in storer 1332 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1322 is configured to perform instruction, controls mobile terminal to perform the above method.
Device 1300 can also comprise the power management that a power supply module 1326 is configured to actuating unit 1300, and a wired or wireless network interface 1350 is configured to device 1300 to be connected to network, and input and output (I/O) interface 1358.Device 1300 can operate the operating system based on being stored in storer 1332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Control a device for mobile terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
Described processor can also be configured to:
Described steering order comprises: restart, reset and at least one item in sectional drawing.
Described processor can also be configured to:
Described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
Described processor can also be configured to:
Before the running status of the mobile terminal that Receiving Host sends, described method also comprises:
Connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method controlling mobile terminal, described method comprises:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
Instruction in described storage medium can also comprise:
Described steering order comprises: restart, reset and at least one item in sectional drawing.
Instruction in described storage medium can also comprise:
Described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
Instruction in described storage medium can also comprise:
Before the running status of the mobile terminal that Receiving Host sends, described method also comprises:
Connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
Control a device for mobile terminal, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal;
Receive the running status of described mobile terminal feedback;
Described running status is transmitted to remote control equipment;
Receive the first steering order that described remote control equipment sends;
Discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
The described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order.
Described processor can also be configured to:
Described steering order comprises: restart, reset and at least one item in sectional drawing.
Described processor can also be configured to:
Described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
Described processor can also be configured to:
Described discernible second steering order of operating system that described first steering order received is converted to mobile terminal, comprising:
Determine and perform script corresponding to described first steering order;
Multiple second steering order is generated successively according to described script;
The described described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order, comprising:
Send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
Described processor can also be configured to:
Described method also comprises:
Execution result after described second steering order of execution that mobile terminal receive sends;
By WWW transmission mode, the described execution result received is sent to remote control equipment.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method controlling mobile terminal, described method comprises:
Send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal;
Receive the running status of described mobile terminal feedback;
Described running status is transmitted to remote control equipment;
Receive the first steering order that described remote control equipment sends;
Discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
The described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order.
Instruction in described storage medium can also comprise:
Described steering order comprises: restart, reset and at least one item in sectional drawing.
Instruction in described storage medium can also comprise:
Described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
Instruction in described storage medium can also comprise:
Described discernible second steering order of operating system that described first steering order received is converted to mobile terminal, comprising:
Determine and perform script corresponding to described first steering order;
Multiple second steering order is generated successively according to described script;
The described described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order, comprising:
Send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
Instruction in described storage medium can also comprise:
Described method also comprises:
Execution result after described second steering order of execution that mobile terminal receive sends;
By WWW transmission mode, the described execution result received is sent to remote control equipment.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. control a method for mobile terminal, it is characterized in that, comprising:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
2. the method for control mobile terminal according to claim 1, is characterized in that, described steering order comprises: restart, reset and at least one item in sectional drawing.
3. the method for control mobile terminal according to claim 1, is characterized in that, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
4. the method for control mobile terminal according to claim 1, is characterized in that, before the running status of the mobile terminal that Receiving Host sends, described method also comprises:
Connect with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
5. control a method for mobile terminal, it is characterized in that, comprising:
Send state to mobile terminal and obtain instruction, request obtains the running status of mobile terminal;
Receive the running status of described mobile terminal feedback;
Described running status is transmitted to remote control equipment;
Receive the first steering order that described remote control equipment sends;
Discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
The described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order.
6. the method for control mobile terminal according to claim 5, is characterized in that, described steering order comprises: restart, reset and at least one item in sectional drawing.
7. the method for control mobile terminal according to claim 5, is characterized in that, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
8. the method for control mobile terminal according to claim 5, is characterized in that, described discernible second steering order of operating system that described first steering order received is converted to mobile terminal, comprising:
Determine and perform script corresponding to described first steering order;
Multiple second steering order is generated successively according to described script;
The described described mobile terminal corresponding to the second steering order sends described second steering order, indicates described mobile terminal to perform described steering order, comprising:
Send multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicate described mobile terminal progressively to perform multiple described steering order.
9. the method for control mobile terminal according to claim 5, is characterized in that, described method also comprises:
Execution result after described second steering order of execution that mobile terminal receive sends;
By WWW transmission mode, the described execution result received is sent to remote control equipment.
10. control a device for mobile terminal, it is characterized in that, comprising:
Receiver module, for the running status of the mobile terminal that Receiving Host sends;
Generation module, for generating the steering order to described mobile terminal according to running status;
Determination module, for determining the described main frame that described mobile terminal is corresponding;
Sending module, sends described steering order for the described main frame corresponding to described mobile terminal, indicates described mobile terminal to perform described steering order.
The device of 11. control mobile terminals according to claim 10, it is characterized in that, described steering order comprises: restart, reset and at least one item in sectional drawing.
The device of 12. control mobile terminals according to claim 10, it is characterized in that, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
The device of 13. control mobile terminals according to claim 10, it is characterized in that, described device also comprises:
Link block, for connecting with described main frame, the mark set obtaining main frame and the mark set of mobile terminal be connected with main frame.
14. 1 kinds of devices controlling mobile terminal, is characterized in that, comprising:
First sending module, obtain instruction for sending state to mobile terminal, request obtains the running status of mobile terminal;
First receiver module, for receiving the running status of described mobile terminal feedback;
Second sending module, for being transmitted to remote control equipment by described running status;
Second receiver module, for receiving the first steering order that described remote control equipment sends;
Modular converter, for discernible second steering order of operating system that described first steering order received is converted to mobile terminal;
3rd sending module, sends described second steering order for the described mobile terminal corresponding to the second steering order, indicates described mobile terminal to perform described steering order.
The device of 15. control mobile terminals according to claim 14, it is characterized in that, described steering order comprises: restart, reset and at least one item in sectional drawing.
The device of 16. control mobile terminals according to claim 14, it is characterized in that, described running status comprises: CPU usage, internal memory damage at least one item in information and interface sectional drawing.
The device of 17. control mobile terminals according to claim 14, it is characterized in that, described modular converter comprises:
Script submodule, for determining and performing script corresponding to described first steering order;
Generate submodule, for generating multiple second steering order successively according to described script;
Described 3rd sending module sends multiple described second steering order successively to the described mobile terminal that the second steering order is corresponding, indicates described mobile terminal progressively to perform multiple described steering order.
The device of 18. control mobile terminals according to claim 14, it is characterized in that, described device also comprises:
3rd receiver module, for the execution result after described second steering order of execution that mobile terminal receive sends;
4th sending module, for sending to remote control equipment by WWW transmission mode by the described execution result received.
19. 1 kinds of devices controlling mobile terminal, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The running status of the mobile terminal that Receiving Host sends;
The steering order to described mobile terminal is generated according to running status;
Determine the described main frame that described mobile terminal is corresponding;
The described main frame corresponding to described mobile terminal sends described steering order, indicates described mobile terminal to perform described steering order.
20. 1 kinds of devices controlling mobile terminal, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
According to the IP address of the mobile terminal that this locality has, send IP connection request to mobile terminal;
The screenshot picture of described mobile terminal transmission and the directional information of screenshot picture is received by IP layer;
Described screenshot picture is shown according to described directional information.
CN201510030608.3A 2015-01-21 2015-01-21 Method and device for controlling mobile terminal Pending CN104536900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510030608.3A CN104536900A (en) 2015-01-21 2015-01-21 Method and device for controlling mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510030608.3A CN104536900A (en) 2015-01-21 2015-01-21 Method and device for controlling mobile terminal

Publications (1)

Publication Number Publication Date
CN104536900A true CN104536900A (en) 2015-04-22

Family

ID=52852430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510030608.3A Pending CN104536900A (en) 2015-01-21 2015-01-21 Method and device for controlling mobile terminal

Country Status (1)

Country Link
CN (1) CN104536900A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516429A (en) * 2015-12-07 2016-04-20 腾讯科技(深圳)有限公司 Method and system for processing offline of terminal
WO2017020722A1 (en) * 2015-08-04 2017-02-09 阿里巴巴集团控股有限公司 Virtual machine based data transmission method, device and system
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device
CN109542754A (en) * 2017-09-22 2019-03-29 阿里巴巴集团控股有限公司 The cut-in method of mobile device, the adjustment method of application program, device and system
CN109684019A (en) * 2018-12-26 2019-04-26 苏州乐麟无线信息科技有限公司 A kind of display methods and device of terminal data
CN110941252A (en) * 2018-09-25 2020-03-31 比亚迪股份有限公司 Vehicle-mounted equipment testing method and system
CN113268407A (en) * 2020-02-17 2021-08-17 北京沃东天骏信息技术有限公司 Page testing method and device, computer storage medium and electronic equipment
CN114745313A (en) * 2022-04-11 2022-07-12 中国电信股份有限公司 Terminal remote testing method and device, electronic equipment and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151452A1 (en) * 2010-12-14 2012-06-14 Microsoft Corporation Remote debugging of server side code without blocking or high-level privileges
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息***有限公司 Automatic testing method of Android program
CN103577320A (en) * 2012-08-07 2014-02-12 卓望数码技术(深圳)有限公司 Testing method and system of remote terminals
CN104281520A (en) * 2013-07-10 2015-01-14 腾讯科技(深圳)有限公司 Tracking and debugging method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151452A1 (en) * 2010-12-14 2012-06-14 Microsoft Corporation Remote debugging of server side code without blocking or high-level privileges
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息***有限公司 Automatic testing method of Android program
CN103577320A (en) * 2012-08-07 2014-02-12 卓望数码技术(深圳)有限公司 Testing method and system of remote terminals
CN104281520A (en) * 2013-07-10 2015-01-14 腾讯科技(深圳)有限公司 Tracking and debugging method, device and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020722A1 (en) * 2015-08-04 2017-02-09 阿里巴巴集团控股有限公司 Virtual machine based data transmission method, device and system
CN105516429A (en) * 2015-12-07 2016-04-20 腾讯科技(深圳)有限公司 Method and system for processing offline of terminal
CN105516429B (en) * 2015-12-07 2019-12-17 腾讯科技(深圳)有限公司 terminal offline processing method and system
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device
CN107168841B (en) * 2017-05-25 2020-05-12 北京云测信息技术有限公司 Remote testing method and device for mobile equipment
CN109542754A (en) * 2017-09-22 2019-03-29 阿里巴巴集团控股有限公司 The cut-in method of mobile device, the adjustment method of application program, device and system
CN109542754B (en) * 2017-09-22 2021-08-13 阿里巴巴集团控股有限公司 Access method of mobile equipment, debugging method, device and system of application program
CN110941252A (en) * 2018-09-25 2020-03-31 比亚迪股份有限公司 Vehicle-mounted equipment testing method and system
CN109684019A (en) * 2018-12-26 2019-04-26 苏州乐麟无线信息科技有限公司 A kind of display methods and device of terminal data
CN113268407A (en) * 2020-02-17 2021-08-17 北京沃东天骏信息技术有限公司 Page testing method and device, computer storage medium and electronic equipment
CN114745313A (en) * 2022-04-11 2022-07-12 中国电信股份有限公司 Terminal remote testing method and device, electronic equipment and readable medium

Similar Documents

Publication Publication Date Title
CN104536900A (en) Method and device for controlling mobile terminal
CN104679659A (en) Testing method and testing device of application program as well as electronic equipment
CN103973858B (en) The Auto-Test System of mobile terminal
CN103634592A (en) Automatic test method and system for intelligent televisions
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN110784879B (en) Network mode switching test method, system, equipment and medium of communication module
CN103927256A (en) Method for controlling multiple Android devices
CN107277193B (en) Method, device and system for managing address of baseboard management controller
CN108345533A (en) A kind of application program adjustment method, equipment and server
CN109194535A (en) A kind of terminal test system and method
CN113986270B (en) Distributed application deployment method and device, storage medium and electronic equipment
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN113709243B (en) Equipment remote control method and device, electronic equipment and storage medium
WO2017016386A1 (en) Method and device for implementing radio remote unit fault analysis
CN113064618A (en) System and method for simulating new energy vehicle conformance detection
CN105573905A (en) Software compatibility testing method and system
CN112463610A (en) Test process control method and device
CN109634856B (en) IOS intelligent terminal remote real machine debugging system and method based on cloud service
CN111751694A (en) Multi-processor fusion measurement and control system, method and tester for microwave semiconductor device
WO2016201997A1 (en) Automatic testing method, device and system
CN114490226B (en) Prototype verification method and device of FPGA chip, computer equipment and medium
CN105243015B (en) Method and system for automatically testing software
CN104363143A (en) Port mapping test method of wireless router
CN114924546A (en) Calibration system and method for hardware-in-loop test
CN114461337A (en) Cloud simulation system and method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150422