CN105243016A - Method, apparatus and system for monitoring terminal device on test platform - Google Patents

Method, apparatus and system for monitoring terminal device on test platform Download PDF

Info

Publication number
CN105243016A
CN105243016A CN201510640953.9A CN201510640953A CN105243016A CN 105243016 A CN105243016 A CN 105243016A CN 201510640953 A CN201510640953 A CN 201510640953A CN 105243016 A CN105243016 A CN 105243016A
Authority
CN
China
Prior art keywords
terminal device
virtual machine
central server
test platform
monitor data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510640953.9A
Other languages
Chinese (zh)
Other versions
CN105243016B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510640953.9A priority Critical patent/CN105243016B/en
Publication of CN105243016A publication Critical patent/CN105243016A/en
Application granted granted Critical
Publication of CN105243016B publication Critical patent/CN105243016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a method, an apparatus and a system for monitoring a terminal device on a test platform. The method comprises: deploying a plurality of virtual machines on a PC machine, and deploying each virtual machine to build a connection with one or more terminal devices used for completing a test task; each virtual machine monitoring a running state of the connected one or more terminal devices to obtain corresponding monitoring data, and deploys a communication script on the PC machine; and the communication script obtaining the monitoring data from each virtual machine on the PC machine and sending the monitoring data to a central server, so that the central server analyzes and displays the monitoring data. According to the technical solution of the present invention, the running state of the terminal device on the test platform can be monitored, and can be analyzed and displayed by the central server so that the administrator conveniently learns the running state of the tested terminal device, facilitating supervision and maintenance of the terminal device on the test platform. The reaction is timely, quick and accurate, and labor costs are reduced.

Description

To the methods, devices and systems that the terminal device on test platform is monitored
Technical field
The present invention relates to computer technology, be specifically related to the methods, devices and systems that the terminal device on test platform is monitored.
Background technology
Along with the development of infotech, the intelligent terminals such as mobile phone role in the life of people is more and more important, the function be attached on these terminal devices also gets more and more, and in order to realize the exploitation to these functions, needs to utilize test platform to carry out task test to terminal device.But traditional test platform needs staff to arrive the operation conditions of on-the-spot type patrol terminal equipment, whether the connection comprising equipment whether normal, storage space is sufficient etc., at substantial manpower, and be also difficult to ensure the quick and accurate of feedback by the field observation of people, affect the monitoring to test platform and maintenance.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of methods, devices and systems monitored terminal device on test platform overcoming the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide a kind of method monitored the terminal device on test platform, the method comprises:
At the multiple virtual machine of PC deploy, and dispose each virtual machine and connect for the one or more terminal devices completing test assignment;
The running status of each virtual machine to the one or more terminal devices be connected is monitored, and obtains corresponding monitor data.
Further,
At described PC deploy Telescript;
Described Telescript obtains monitor data from each virtual machine described PC and is sent to central server, to be analyzed and show by central server to monitor data.
Alternatively, the running status of described terminal device comprises one or more as follows:
Whether the connection between terminal device and virtual machine is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
Alternatively, the method comprises further:
Described Telescript receives the assignment instructions that described central server issues after analysis monitoring data, and is issued to each virtual machine on described PC;
Virtual machine on described PC selects corresponding tasks carrying program according to assignment instructions from the tasks carrying collection of programs preset, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
Alternatively, described assignment instructions comprise following in one or more:
Recover the connection between the terminal device of off-line and virtual machine;
The internal memory of cleaning terminal device;
Refresh the plan of terminal device;
The external storage space of cleaning terminal device;
The journal file that designated program on cleaning terminal device produces.
Alternatively, the method comprises further:
Described Telescript obtains the task action result of corresponding task executive routine from each virtual machine described PC, and task action result is sent to central server.
Alternatively, described at the multiple virtual machine of PC deploy, and describedly to comprise at described PC deploy Telescript:
PC described in Telnet, starts at the one or more virtual machine of described PC deploy, and the Telescript preset in described PC deploy starting.
According to another aspect of the present invention, provide a kind of device monitored the terminal device on test platform, this device comprises: multiple virtual machine unit, and communication unit;
Each virtual machine unit, is suitable for connecting with the one or more terminal devices for completing test assignment, and monitors the running status of the one or more terminal devices be connected, and obtains corresponding monitor data.
Described communication unit, is suitable for obtaining monitor data from each virtual machine unit and being sent to central server, to be analyzed and show by central server to monitor data.
Alternatively, the running status of the terminal device of virtual machine unit monitors comprises one or more as follows:
Whether the connection between terminal device and virtual machine unit is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
Alternatively, described communication unit, is further adapted for the assignment instructions receiving described central server and issue after analysis monitoring data, and is issued to each virtual machine unit;
Each virtual machine unit, is suitable for from the tasks carrying collection of programs preset, selecting corresponding tasks carrying program according to assignment instructions, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
Alternatively, the assignment instructions that described communication unit receives comprise following in one or more:
Recover the connection between the terminal device of off-line and virtual machine unit;
The internal memory of cleaning terminal device;
Refresh the plan of terminal device;
The external storage space of cleaning terminal device;
The journal file that designated program on cleaning terminal device produces.
Alternatively, described communication unit, is further adapted for the task action result obtaining corresponding task executive routine from each virtual machine unit, task action result is sent to central server.
According to another aspect of the present invention, provide a kind of system monitored the terminal device on test platform, this system comprises: central server and one or more device monitored the terminal device on test platform as above described in any one;
Described device, is suitable for monitor data to be sent to central server;
Described central server, is suitable for showing monitor data and analyzing.
Alternatively, described central server, is suitable for being found by analysis monitoring data,
During terminal device off-line, issue the assignment instructions of the connection between terminal device and virtual machine unit recovering off-line to corresponding virtual machine;
When the memory usage of terminal device is higher than first threshold, issue the assignment instructions of the internal memory of cleaning terminal device to corresponding virtual machine;
When the CPU processing speed of terminal device is lower than Second Threshold, issue the assignment instructions of the plan refreshing terminal device to corresponding virtual machine;
When the utilization rate of the external storage space of terminal device is higher than the 3rd threshold value, issue the assignment instructions of the external storage space of cleaning terminal device to corresponding virtual machine.
When the journal file that designated program on terminal device produces meets preset cleaning condition, issue the assignment instructions of the journal file that the designated program on cleaning terminal device produces to corresponding virtual machine.
Alternatively, described central server, is further adapted for and receives the task action result corresponding with the assignment instructions issued, and sends warning message when task action result represents tasks carrying failure by the warning channel preset.
Alternatively, this system comprises further:
Deployment machine, is suitable for device described in Telnet, starts at the one or more virtual machine unit of described device machine deploy, and the Telescript preset in described device machine deploy starting.
From the above, technical scheme provided by the invention, at the multiple virtual machine of PC deploy, each virtual machine is connected with one or more terminal device for testing, monitor data is obtained by virtual machine monitoring terminal device running status, and passage is deployed in the Telescript on PC that the monitor data of acquisition is sent to central server, is undertaken analyzing and showing by central server, achieve the monitoring of the running status to the terminal device on test platform.The present invention utilizes the virtual machine and Telescript realization monitoring disposed, and monitor message is sent to central server carry out analysis show, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard; Automaticity is high, does not need people to check to scene, and reaction is quick in time and accurate, saves human cost.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention process flow diagram to the method that the terminal device on test platform is monitored;
Fig. 2 shows a kind of according to an embodiment of the invention schematic diagram to the device that the terminal device on test platform is monitored;
Fig. 3 shows a kind of according to an embodiment of the invention schematic diagram to the system that the terminal device on test platform is monitored;
Fig. 4 shows a kind of in accordance with another embodiment of the present invention schematic diagram to the system that the terminal device on test platform is monitored.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows a kind of according to an embodiment of the invention process flow diagram to the method that the terminal device on test platform is monitored.As shown in Figure 1, the method comprises:
Step S110, at the multiple virtual machine of PC deploy, and disposes each virtual machine and connects for the one or more terminal devices completing test assignment.
Step S120, the running status of each virtual machine to the one or more terminal devices be connected is monitored, and obtains corresponding monitor data.
Step S130, at described PC deploy Telescript.
Step S140, Telescript obtains monitor data from each virtual machine PC and is sent to central server, to be analyzed and show by central server to monitor data.
Visible, method shown in Fig. 1, at the multiple virtual machine of PC deploy, each virtual machine is connected with one or more terminal device for testing, monitor data is obtained by virtual machine monitoring terminal device running status, and passage is deployed in the Telescript on PC that the monitor data of acquisition is sent to central server, is undertaken analyzing and showing by central server, achieve the monitoring of the running status to the terminal device on test platform.The present invention utilizes the virtual machine and Telescript realization monitoring disposed, and monitor message is sent to central server carry out analysis show, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard; Automaticity is high, does not need people to check to scene, and reaction is quick in time and accurate, saves human cost.
Preferably, be deployed in the one or more virtual machines on PC, each virtual machine and one connect for the terminal device completing test assignment, i.e. each ADB (AndroidDebugBridge, Android debugging bridge) be only a terminal device service, therebetween contact strengthens, and can ensure that the enforcement of this programme is more stable, occur the situation of terminal device off-line when effectively avoiding connecting multiple terminal device.
Wherein, the step S110 of method shown in Fig. 1, comprises at the multiple virtual machine of PC deploy: Telnet PC, starts at the one or more virtual machine of PC deploy.The step S130 of method shown in Fig. 1, comprises at described PC deploy Telescript: Telnet PC, PC deploy preset Telescript and start; Particularly, this shell script is that Daemon program is guarded on the backstage of PC, can be run by Python script.
In one embodiment of the invention, the step S120 of method shown in Fig. 1, the running status of the terminal device that virtual machine is monitored comprise following in one or more:
Whether the connection between terminal device and virtual machine is normal; The memory usage of terminal device; The CPU processing speed of terminal device; The utilization rate of the external storage space of terminal device; The journal file that terminal device produces when running designated program.
Further, for one concerning the scheme that the terminal device on test platform is monitored, the function of central server only should not be confined to collection to monitor data and analysis, also should carry out response process to different monitoring analysis results.Then in one embodiment of the invention, the method shown in Fig. 1 comprises further:
Step S150, the assignment instructions that Telescript receiving center server issues after analysis monitoring data, and be issued to each virtual machine on PC.
Step S160, the virtual machine on PC selects corresponding tasks carrying program according to assignment instructions from the tasks carrying collection of programs preset, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
Wherein, described assignment instructions comprises: recover the connection between the terminal device of off-line and virtual machine; The internal memory of cleaning terminal device; Refresh the plan of terminal device; The external storage space of cleaning terminal device; The journal file that produces of designated program on cleaning terminal device etc. one or more.
Above by the multiple virtual machine of PC deploy, each virtual machine and one or more terminal device for testing connect, whether the connection between virtual machine monitoring terminal device and virtual machine is normal, memory usage, CPU processing speed, the states such as the journal file produced when external storage space utilization rate and operation designated program, obtain corresponding monitor data, and by Telescript, the monitor data of acquisition is sent to central server, by central server, monitor data is analyzed, and issued the process of corresponding assignment instructions after analysis to each virtual machine by Telescript, specifically:
When monitor data represents terminal device off-line, central server issues the assignment instructions of the connection between terminal device and virtual machine unit recovering off-line to corresponding virtual machine by Telescript; When monitor data represents the memory usage of terminal device higher than first threshold, central server issues the assignment instructions of the internal memory of cleaning terminal device to corresponding virtual machine by Telescript; When monitor data represents the CPU processing speed of terminal device lower than Second Threshold, central server issues the assignment instructions of the plan refreshing terminal device to corresponding virtual machine by Telescript; When monitor data represents the utilization rate of the external storage space of terminal device higher than the 3rd threshold value, central server issues the assignment instructions of the external storage space of cleaning terminal device to corresponding virtual machine by Telescript; When the journal file that the designated program that monitor data represents on terminal device produces meets preset cleaning condition, central server issues the assignment instructions of the journal file that the designated program on cleaning terminal device produces to corresponding virtual machine by Telescript.
Each virtual machine, according to the assignment instructions issued, selects corresponding tasks carrying program from the tasks carrying collection of programs preset, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
Visible, this method embodiment can realize monitoring the running status of the terminal device on test platform, respective handling is carried out to operation conditionss such as terminal device off-line, low memory, too much, the external memory space inadequate of cpu process and generation daily record garbage files, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard.
It should be noted that, the example of above-mentioned functions is only for illustration of the enforcement principle of this programme, should not be construed as limiting the methodological function monitored the running status of the terminal device on test platform in the present invention and setting, the title of above-mentioned functions also should not be construed as limiting title of the present invention.
In addition, Telescript also runs for obtaining virtual machine the journal file and the status data such as memory information that produce, and this status data is sent to central server, and the assignment instructions issued after this status data of centre server analyses is sent to each virtual machine.
Central server receives and the status data of analyzing virtual machine, when the daily record quantity on virtual machine or internal memory rubbish meet pre-conditioned, issues the instruction of cleaning daily record or rubbish.
Each virtual machine receives the instruction of cleaning daily record or the rubbish issued, and runs pre-set programs, cleaning daily record or rubbish.
On the basis of the above, the method shown in Fig. 1 comprises further:
Step S170, Telescript obtains the task action result of corresponding task executive routine from each virtual machine described PC, and task action result is sent to central server.
Utilize the communication script be arranged on PC, obtain the corresponding task execution result of virtual machines performing tasks, and this task action result is sent to central server, be convenient to understand tasks carrying situation, the Timeliness coverage when tasks carrying failure is so that process further (as reported to the police), guarantee that task performs smoothly, improve accuracy and the reliability of monitoring.
Fig. 2 shows a kind of according to an embodiment of the invention schematic diagram to the device that the terminal device on test platform is monitored.As shown in Figure 2, this comprises the device 200 that the terminal device on test platform is monitored: multiple virtual machine unit 220, and communication unit 210.
Each virtual machine unit 220, is suitable for connecting with the one or more terminal devices for completing test assignment, and monitors the running status of the one or more terminal devices be connected, and obtains corresponding monitor data.
Described communication unit 210, is suitable for obtaining monitor data from each virtual machine unit and being sent to central server, to be analyzed and show by central server to monitor data.
Visible, in the device shown in Fig. 2, the running status of virtual machine unit to the terminal device be attached thereto is monitored, central server is sent to by communication unit after obtaining monitor data, by central server monitor data analyzed and show, can monitor the running status of the terminal device on test platform, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard; And the present invention utilizes the virtual machine unit disposed and communication unit to realize monitoring, and monitor message is sent to central server and shows, automaticity is high, does not need people to check to scene, and reaction in time fast and accurately, save human cost.
In one embodiment of the invention, the running status of the terminal device of virtual machine unit 220 monitoring comprises one or more as follows: whether the connection between terminal device and virtual machine unit is normal; The memory usage of terminal device; The CPU processing speed of terminal device; The utilization rate of the external storage space of terminal device; The journal file that terminal device produces when running designated program.
In one embodiment of the invention, communication unit 210, is further adapted for the assignment instructions that receiving center server issues after analysis monitoring data, and is issued to each virtual machine unit; Each virtual machine unit 220, is suitable for from the tasks carrying collection of programs preset, selecting corresponding tasks carrying program according to assignment instructions, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
On this basis, the assignment instructions that communication unit 210 receives comprise following in one or more: recover the connection between the terminal device of off-line and virtual machine unit; The internal memory of cleaning terminal device; Refresh the plan of terminal device; The external storage space of cleaning terminal device; The journal file that designated program on cleaning terminal device produces.
On this basis, communication unit 210, is further adapted for the task action result obtaining corresponding task executive routine from each virtual machine unit 220, task action result is sent to central server.
It should be noted that, each embodiment of Fig. 2 shown device is corresponding identical with each embodiment of method shown in Fig. 1 above, describes in detail above, does not repeat them here.
Fig. 3 shows a kind of according to an embodiment of the invention schematic diagram to the system that the terminal device on test platform is monitored.This comprises the system 300 that the terminal device on test platform is monitored: central server 320 and one or more device 310 monitored the terminal device on test platform, and this device 310 monitored the terminal device on test platform is identical with the device 200 monitored the terminal device on test platform as above described in any one.
To the device 310 that the terminal device on test platform is monitored, be suitable for monitor data to be sent to central server 320.
Central server 320, is suitable for showing monitor data and analyzing.
In one embodiment of the invention, central server 320, be suitable for performing following operation by analysis monitoring data: when finding terminal device off-line, issue the assignment instructions of the connection between terminal device and virtual machine unit recovering off-line to corresponding virtual machine.When finding the memory usage of terminal device higher than first threshold, issue the assignment instructions of the internal memory of cleaning terminal device to corresponding virtual machine.When finding the CPU processing speed of terminal device lower than Second Threshold, issue the assignment instructions of the plan refreshing terminal device to corresponding virtual machine.When the utilization rate of the external storage space of discovery terminal device is higher than the 3rd threshold value, issue the assignment instructions of the external storage space of cleaning terminal device to corresponding virtual machine.When the journal file that the designated program found on terminal device produces meets preset cleaning condition, issue the assignment instructions of the journal file that the designated program on cleaning terminal device produces to corresponding virtual machine.
Visible, the system of the present embodiment can realize monitoring the running status of the terminal device on test platform, respective handling is carried out to operation conditionss such as terminal device off-line, low memory, too much, the external memory space inadequate of cpu process and generation daily record garbage files, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard.
On this basis, central server 320, be further adapted for and receive the task action result corresponding with the assignment instructions issued, warning message is sent by the warning channel preset when task action result represents tasks carrying failure, the position of the terminal device of tasks carrying failure, IP address and model are described, fast and easy searches out this terminal device and processes.
Fig. 4 shows a kind of in accordance with another embodiment of the present invention schematic diagram to the system that the terminal device on test platform is monitored.As shown in Figure 4, this comprises the system 400 that the terminal device on test platform is monitored: central server 420, one or more device 410 of monitoring the terminal device on test platform and deployment machine 430.
To the device 410 that the terminal device on test platform is monitored, identical with the device 200 monitored the terminal device on test platform as above described in any one, be suitable for monitor data to be sent to central server 420.
Central server 420, is suitable for showing monitor data and analyzing.
Deployment machine 430, be suitable for Telnet device, start at the one or more virtual machine unit of device 410 deploy monitored the terminal device on test platform, and the communication unit preset in described device 410 deploy monitored the terminal device on test platform starting.
In sum, technical scheme provided by the invention, at the multiple virtual machine of PC deploy, each virtual machine is connected with one or more terminal device for testing, monitor data is obtained by virtual machine monitoring terminal device running status, and passage is deployed in the Telescript on PC that the monitor data of acquisition is sent to central server, is undertaken analyzing and showing by central server, achieve the monitoring of the running status to the terminal device on test platform.The present invention utilizes the virtual machine and Telescript realization monitoring disposed, and monitor message is sent to central server carry out analysis show, facilitate managerial personnel to know the running status of the terminal device participating in test, be convenient to supervise terminal device on test platform and safeguard; Automaticity is high, does not need people to check to scene, and reaction is quick in time and accurate, saves human cost.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual bench or miscellaneous equipment with display at this algorithm provided.Various fexible unit also can with use based on together with this teaching.According to description above, the structure constructed required by this kind of device is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in the device and system and system that microprocessor or digital signal processor (DSP) can be used in practice to realize monitoring the terminal device on test platform according to the embodiment of the present invention a kind of.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method monitored the terminal device on test platform, wherein, the method comprises:
At the multiple virtual machine of PC deploy, and dispose each virtual machine and connect for the one or more terminal devices completing test assignment;
The running status of each virtual machine to the one or more terminal devices be connected is monitored, and obtains corresponding monitor data.
Further,
At described PC deploy Telescript;
Described Telescript obtains monitor data from each virtual machine described PC and is sent to central server, to be analyzed and show by central server to monitor data.
A2, method as described in A1, wherein, the running status of described terminal device comprise following in one or more:
Whether the connection between terminal device and virtual machine is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
A3, method as described in A1, wherein, the method comprises further:
Described Telescript receives the assignment instructions that described central server issues after analysis monitoring data, and is issued to each virtual machine on described PC;
Virtual machine on described PC selects corresponding tasks carrying program according to assignment instructions from the tasks carrying collection of programs preset, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
A4, method as described in A3, wherein, described assignment instructions comprise following in one or more:
Recover the connection between the terminal device of off-line and virtual machine;
The internal memory of cleaning terminal device;
Refresh the plan of terminal device;
The external storage space of cleaning terminal device;
The journal file that designated program on cleaning terminal device produces.
A5, method as described in A3, wherein, the method comprises further:
Described Telescript obtains the task action result of corresponding task executive routine from each virtual machine described PC, and task action result is sent to central server.
A6, method as described in A1, wherein, described at the multiple virtual machine of PC deploy, and describedly to comprise at described PC deploy Telescript:
PC described in Telnet, starts at the one or more virtual machine of described PC deploy, and the Telescript preset in described PC deploy starting.
The invention also discloses B7, a kind of device monitored the terminal device on test platform, wherein, this device comprises: multiple virtual machine unit, and communication unit;
Each virtual machine unit, is suitable for connecting with the one or more terminal devices for completing test assignment, and monitors the running status of the one or more terminal devices be connected, and obtains corresponding monitor data.
Described communication unit, is suitable for obtaining monitor data from each virtual machine unit and being sent to central server, to be analyzed and show by central server to monitor data.
B8, device as described in B7, wherein, the running status of the terminal device of virtual machine unit monitors comprise following in one or more:
Whether the connection between terminal device and virtual machine unit is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
B9, device as described in B7, wherein,
Described communication unit, is further adapted for the assignment instructions receiving described central server and issue after analysis monitoring data, and is issued to each virtual machine unit;
Each virtual machine unit, is suitable for from the tasks carrying collection of programs preset, selecting corresponding tasks carrying program according to assignment instructions, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
B10, device as described in B9, wherein, the assignment instructions that described communication unit receives comprise following in one or more:
Recover the connection between the terminal device of off-line and virtual machine unit;
The internal memory of cleaning terminal device;
Refresh the plan of terminal device;
The external storage space of cleaning terminal device;
The journal file that designated program on cleaning terminal device produces.
B11, device as described in B9, wherein,
Described communication unit, is further adapted for the task action result obtaining corresponding task executive routine from each virtual machine unit, task action result is sent to central server.
The invention also discloses C12, a kind of system monitored the terminal device on test platform, wherein, this system comprises: central server and one or more device monitored the terminal device on test platform according to any one of B7-B11;
Described device, is suitable for monitor data to be sent to central server;
Described central server, is suitable for showing monitor data and analyzing.
C13, system as described in C12, wherein, described central server, is suitable for being found by analysis monitoring data,
During terminal device off-line, issue the assignment instructions of the connection between terminal device and virtual machine unit recovering off-line to corresponding virtual machine;
When the memory usage of terminal device is higher than first threshold, issue the assignment instructions of the internal memory of cleaning terminal device to corresponding virtual machine;
When the CPU processing speed of terminal device is lower than Second Threshold, issue the assignment instructions of the plan refreshing terminal device to corresponding virtual machine;
When the utilization rate of the external storage space of terminal device is higher than the 3rd threshold value, issue the assignment instructions of the external storage space of cleaning terminal device to corresponding virtual machine.
When the journal file that designated program on terminal device produces meets preset cleaning condition, issue the assignment instructions of the journal file that the designated program on cleaning terminal device produces to corresponding virtual machine.
C14, system as described in C13, wherein,
Described central server, is further adapted for and receives the task action result corresponding with the assignment instructions issued, and sends warning message when task action result represents tasks carrying failure by the warning channel preset.
C15, system as described in C12, wherein, this system comprises further:
Deployment machine, is suitable for device described in Telnet, disposes one or more virtual machine unit on such devices and starts, and dispose default Telescript on such devices and start.

Claims (10)

1. to the method that the terminal device on test platform is monitored, wherein, the method comprises:
At the multiple virtual machine of PC deploy, and dispose each virtual machine and connect for the one or more terminal devices completing test assignment;
The running status of each virtual machine to the one or more terminal devices be connected is monitored, and obtains corresponding monitor data.
Further,
At described PC deploy Telescript;
Described Telescript obtains monitor data from each virtual machine described PC and is sent to central server, to be analyzed and show by central server to monitor data.
2. the method for claim 1, wherein the running status of described terminal device comprises one or more as follows:
Whether the connection between terminal device and virtual machine is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
3. the method for claim 1, wherein the method comprises further:
Described Telescript receives the assignment instructions that described central server issues after analysis monitoring data, and is issued to each virtual machine on described PC;
Virtual machine on described PC selects corresponding tasks carrying program according to assignment instructions from the tasks carrying collection of programs preset, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
4. method as claimed in claim 3, wherein, described assignment instructions comprise following in one or more:
Recover the connection between the terminal device of off-line and virtual machine;
The internal memory of cleaning terminal device;
Refresh the plan of terminal device;
The external storage space of cleaning terminal device;
The journal file that designated program on cleaning terminal device produces.
5. method as claimed in claim 3, wherein, the method comprises further:
Described Telescript obtains the task action result of corresponding task executive routine from each virtual machine described PC, and task action result is sent to central server.
6. the method for claim 1, wherein describedly at the multiple virtual machine of PC deploy to comprise at described PC deploy Telescript:
PC described in Telnet, starts at the one or more virtual machine of described PC deploy, and the Telescript preset in described PC deploy starting.
7. to the device that the terminal device on test platform is monitored, wherein, this device comprises: multiple virtual machine unit, and communication unit;
Each virtual machine unit, is suitable for connecting with the one or more terminal devices for completing test assignment, and monitors the running status of the one or more terminal devices be connected, and obtains corresponding monitor data.
Described communication unit, is suitable for obtaining monitor data from each virtual machine unit and being sent to central server, to be analyzed and show by central server to monitor data.
8. device as claimed in claim 7, wherein, the running status of the terminal device of virtual machine unit monitors comprise following in one or more:
Whether the connection between terminal device and virtual machine unit is normal;
The memory usage of terminal device;
The CPU processing speed of terminal device;
The utilization rate of the external storage space of terminal device;
The journal file that terminal device produces when running designated program.
9. device as claimed in claim 7, wherein,
Described communication unit, is further adapted for the assignment instructions receiving described central server and issue after analysis monitoring data, and is issued to each virtual machine unit;
Each virtual machine unit, is suitable for from the tasks carrying collection of programs preset, selecting corresponding tasks carrying program according to assignment instructions, and runs this tasks carrying program to complete corresponding task on the terminal device be connected.
10. to the system that the terminal device on test platform is monitored, wherein, this system comprises: central server and one or more device monitored the terminal device on test platform as claimed in any one of claims 7-9;
Described device, is suitable for monitor data to be sent to central server;
Described central server, is suitable for showing monitor data and analyzing.
CN201510640953.9A 2015-09-30 2015-09-30 The methods, devices and systems being monitored to the terminal device on test platform Active CN105243016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510640953.9A CN105243016B (en) 2015-09-30 2015-09-30 The methods, devices and systems being monitored to the terminal device on test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510640953.9A CN105243016B (en) 2015-09-30 2015-09-30 The methods, devices and systems being monitored to the terminal device on test platform

Publications (2)

Publication Number Publication Date
CN105243016A true CN105243016A (en) 2016-01-13
CN105243016B CN105243016B (en) 2018-04-17

Family

ID=55040669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510640953.9A Active CN105243016B (en) 2015-09-30 2015-09-30 The methods, devices and systems being monitored to the terminal device on test platform

Country Status (1)

Country Link
CN (1) CN105243016B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939393A (en) * 2016-06-30 2016-09-14 北京奇虎科技有限公司 Task operating state monitoring method and system
CN107577546A (en) * 2017-07-21 2018-01-12 北京奇艺世纪科技有限公司 A kind of information processing method, device and electronic equipment
CN108093416A (en) * 2017-11-30 2018-05-29 厦门市美亚柏科信息股份有限公司 A kind of acquisition method and terminal of mobile APP propelling datas
CN108829577A (en) * 2018-04-26 2018-11-16 四川斐讯信息技术有限公司 A kind of automated testing method of application program capacity
WO2019218513A1 (en) * 2018-05-16 2019-11-21 平安科技(深圳)有限公司 Apparatus and method for monitoring testing process, and computer-readable storage medium
CN114598617A (en) * 2021-03-26 2022-06-07 公安部第三研究所 Device for realizing large-scale multi-task parallel detection processing aiming at security monitoring networking
CN114968456A (en) * 2022-05-07 2022-08-30 麒麟合盛网络技术股份有限公司 Method and device for controlling terminal
CN115174448A (en) * 2022-05-20 2022-10-11 复旦大学 Container-based network probe control method
CN116578443A (en) * 2023-05-09 2023-08-11 中工数保(北京)科技有限公司 Industrial control equipment data acquisition and backup method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110578A1 (en) * 2009-07-22 2012-05-03 Yu Yang Data processing system and method
CN104484273A (en) * 2014-12-19 2015-04-01 广州博冠信息科技有限公司 Test method for application program, device and system
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110578A1 (en) * 2009-07-22 2012-05-03 Yu Yang Data processing system and method
CN104750585A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Terminal detecting method and terminal detecting device
CN104484273A (en) * 2014-12-19 2015-04-01 广州博冠信息科技有限公司 Test method for application program, device and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BIGCONVIENCE: "Android中查看内存的使用情况集常用adb命令", 《HTTP://BLOG.CSDN.NET/BIGCONVIENCE/ARTICLE/DETAILS/35553983》 *
孙弋等: "《Android微博应用开发实践》", 30 April 2014 *
慕春棣: "《嵌入式***的构建》", 31 August 2004 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105939393A (en) * 2016-06-30 2016-09-14 北京奇虎科技有限公司 Task operating state monitoring method and system
CN107577546A (en) * 2017-07-21 2018-01-12 北京奇艺世纪科技有限公司 A kind of information processing method, device and electronic equipment
CN108093416A (en) * 2017-11-30 2018-05-29 厦门市美亚柏科信息股份有限公司 A kind of acquisition method and terminal of mobile APP propelling datas
CN108829577A (en) * 2018-04-26 2018-11-16 四川斐讯信息技术有限公司 A kind of automated testing method of application program capacity
WO2019218513A1 (en) * 2018-05-16 2019-11-21 平安科技(深圳)有限公司 Apparatus and method for monitoring testing process, and computer-readable storage medium
CN114598617A (en) * 2021-03-26 2022-06-07 公安部第三研究所 Device for realizing large-scale multi-task parallel detection processing aiming at security monitoring networking
CN114968456A (en) * 2022-05-07 2022-08-30 麒麟合盛网络技术股份有限公司 Method and device for controlling terminal
CN114968456B (en) * 2022-05-07 2024-03-08 麒麟合盛网络技术股份有限公司 Method and device for controlling terminal
CN115174448A (en) * 2022-05-20 2022-10-11 复旦大学 Container-based network probe control method
CN115174448B (en) * 2022-05-20 2023-11-24 复旦大学 Network probe control method based on container
CN116578443A (en) * 2023-05-09 2023-08-11 中工数保(北京)科技有限公司 Industrial control equipment data acquisition and backup method and related equipment

Also Published As

Publication number Publication date
CN105243016B (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN105243016A (en) Method, apparatus and system for monitoring terminal device on test platform
Koroglu et al. Qbe: Qlearning-based exploration of android applications
US20190196894A1 (en) Detecting and analyzing performance anomalies of client-server based applications
CN107807877B (en) Code performance testing method and device
CN108521339B (en) Feedback type node fault processing method and system based on cluster log
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN105357030B (en) Offline restoration methods, the device and system of a kind of terminal device on test platform
CN103034575B (en) Collapse analytical approach and device
CN112000502B (en) Processing method and device for mass error logs, electronic device and storage medium
CN105787364B (en) Automatic testing method, device and system for tasks
CN103049373B (en) A kind of localization method of collapse and device
CN105512015A (en) Android target application crash calculation method and device
CN110147327B (en) Multi-granularity-based web automatic test management method
CN104360921A (en) Method, device and system for monitoring performance of mobile terminal
CN108595343A (en) The test method and device of application program
CN105760307A (en) Testing method, device and system of intelligent terminal
CN105574416A (en) Detection method and device of browser bug
CN108984363A (en) A kind of method and system of concurrent testing
CN107329898A (en) Terminal interface automated testing method and system
CN105577472A (en) Data acquisition test method and device
CN112463432A (en) Inspection method, device and system based on index data
CN113760652A (en) Method, system, device and storage medium for full link monitoring based on application
CN106126419A (en) The adjustment method of a kind of application program and device
CN104991866A (en) Debugging method and device of JS program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220708

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co., Ltd

TR01 Transfer of patent right