Background technology
Along with popularizing as data processing equipments such as PC, notebook computer, work station, servers, no matter be individual, family, school, enterprise or factory, the making of data, preserve with the process of transmitting in, all must be dependent on aforesaid these data processing equipments; On the other hand, the universalness of the network architecture, then improving data transmission efficiency more.
Generally, in order to ensure the server quality, need utilize the actual user of client simulation of relative populations that server is carried out performance test.The performance test purpose that is applied to client is in order to investigate the performance of client application, the inlet of test is a client, and it mainly includes dependence test projects such as for example concurrent performance test, pressure test, fatigue strength test, big data quantity test and velocity test.
(Stress Testing) is example with pressure test, and it is by the bottleneck of determining system or the performance point that can not receive, other test of maximum service level that comes the acquisition system to provide.In present method of testing, can utilize the stress test program that is arranged on the local terminal service end this server to be carried out pressure test, to evaluate and test Network Transmission and the service quality of this server under the big pressure test conditions of remote subscriber end by the network utilisation remote client end.
But, in above-mentioned method of testing, in the general monitoring measuring executing process, observation interface is disposed at local service end place, corresponding configuration is not in the remote client end of carrying out test, so in test process, the user can only the local service end by observation interface observe title that test program moving and for example comprising the operation test, zero-time or running time etc. state information, but the remote client end of carrying out test jobs does not show relevant test mode information.So easily cause risk, the user who is remote client end is because of failing to learn that the client at its place is in test mode, the user often takes for this client and is in idle condition and closes this client, so will interrupt this pressure test operation, cause needing to open client also again to this client executing test jobs, so not only reduce the progress and the efficient of test jobs, also can influence the accuracy of whole test jobs.
Therefore, how a kind of test mode that overcomes the disappearance of above-mentioned existing remote test technology is provided, to provide the test prompts function to the remote client end of carrying out test jobs, thereby the user who makes remote client end learns the process of this test jobs immediately, avoid taking place as the facts that this client in the prior art is caused test jobs to interrupt by wrong closing in carrying out test process, real is present problem demanding prompt solution.
Summary of the invention
Disappearance in view of above-mentioned prior art, main purpose of the present invention is to provide a kind of remote testing prompt system and method, when test program is arranged between local terminal service end and the remote client end just in operation, the also exportable test run state information of this remote client end, thus in time prompting is positioned at the present of living in state of the user of this client relevant for client.
Another object of the present invention is to provide a kind of remote testing prompt system and method, when the local terminal service end is carried out test jobs to remote client end, the user that prompting is positioned at this remote client end is carrying out test jobs about this client, avoid in carrying out test process, being caused the drawback of test jobs interruption and influence test effect, can improve testing efficiency relatively thus by wrong closing as existing this client of remote test technology.
For reaching above-mentioned and other purposes, the present invention promptly provides a kind of remote testing prompt system and method.This remote testing prompt system is applied at least one client, and this client by network system and network connections to service end, wherein, this service end is mounted with in order to the test program to this client executing test jobs, this remote testing prompt system comprises network service monitoring module, it detects between this service end and this client whether transfer of data is arranged in order to carry out this test program in this service end so that this client is carried out test jobs, when detecting when between this service end and this client transfer of data being arranged, promptly produce triggering signal and exported; Read module, it is in order to after receiving this network service monitoring triggering signal that module produced, by network system this triggering signal is sent to this service end, reading the test run state information corresponding from this service end, and the test run state information that is read is reached the client that proposes this triggering signal by this network system with this test program; And the output module, it exports the client that proposes this triggering signal in order to the test run state information that this is read module and read.
Above-mentioned this network service is monitored module and is comprised again when detecting and produce stop signal when this service end is finished test jobs to this client, to make this output module this client is exported relevant for the complete information of this test jobs.
In one embodiment, this test run state information comprises the zero-time of the version and the test jobs of test program.In addition, this state information is exported with wherein a kind of way of output of text, Hypertext Markup Language (HTML) and Flash animation.
The present invention provides a kind of remote testing reminding method again, service end by network system so that remote client end is carried out test jobs, make this remote client end in time export the test run state information, wherein, this service end is mounted with in order to the test program to this client executing test jobs, and this remote testing reminding method comprises that service end carries out the test program pair client that is connected with this service end network and carry out test jobs; Detect whether carried out transfer of data between this service end and the client, then produce triggering signal if having, and this triggering signal is sent to this service end by this network system, otherwise repeat this detecting operation; Make this service end read the test run state information corresponding, and the test run state information that is read is reached the client that proposes this triggering signal by this network system with this test program according to this triggering signal; And make this client with received test run state information output.
Remote testing prompt system of the present invention and method, it is characterized by the client of setting up network connections with this service end is being detected, with when this service end operation test program the client that is connected with its network is carried out test jobs and detects this service end and client when transfer of data is arranged, read test run state information that should test program from this service end, and export this test run state information to client, thereby prompting is positioned at the user of this client relevant for this client current state, avoid being in to carry out in the test process being closed, cause test jobs to interrupt and influence test effect by mistake as this client in the existing remote test technology.
Embodiment
Below by particular specific embodiment explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this specification disclosed.The present invention also can be implemented or be used by other different specific embodiments, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
Be illustrated in figure 1 as the basic framework block schematic diagram of remote testing prompt system of the present invention, remote testing prompt system 1 of the present invention is applied at least one client 20, and this client 20 by network system 2 and network connections to service end 22, wherein, this service end 22 is mounted with the test program 220 in order to client 20 is tested.In the present embodiment, this client 20 and service end 22 are the data processing equipments that for example have the network interface that network linking function is provided, more specifically, this client 20 and service end 22 are the network equipments that for example are in the master-slave network framework, wherein, this master-slave network framework for example is network network systems 2 such as (Extranet) between world-wide web (Internet), enterprise network (Intranet) or enterprise; This data processing equipment is that PC (PC), notebook computer (NB), work station (Workstation), server (server) or other have the device of data-handling capacity.Service end 22 for example is dependence test projects such as concurrent performance test, pressure test (Stress Testing), fatigue strength test, big data quantity test and velocity test by the test jobs that network carries out client 20, in the present embodiment, this test jobs is the example person of describing with the pressure test of network performance, and its general employing for example is applied to the WinPie under windows workspace system (Windows) environment or is applied to test programs such as LinuxVSS under the Linux operating system environment.
As shown in Figure 1, this remote testing prompt system 1 comprises that the network service monitors module 10, reads module 12 and output module 14, below promptly this remote testing prompt system 1 is elaborated.
This network service monitor module 10 in order to, carry out 220 pairs of test programs when this service end 22 and carry out client 20 that network is connected when carrying out test jobs with it, between detecting service end 22 and the client 20 whether the transfer of data of carrying out is arranged, illustrate that then client 20 testing if having, and carry out the relevant exchanges data of test process with this service end 22, for example client 20 data that will test gained are sent to service end 22 by network system 2, service end 22 then is sent to client 20 for its execution with each instruction in the test process by network system 2, in the present invention, monitor when the network service and produce triggering signal when between module 10 detecting service ends 22 and the client 20 transfer of data of carrying out being arranged and exported.In the present embodiment, this network service monitoring module 10 is meant to be detected the network interface 200 in order to the network connection of client 20, if detect when the test data transmission is arranged on this network interface 200, promptly this client 20 of decidable is just carried out test jobs by this service end 22.
This reads module 12 when receiving after this network service monitors the triggering signal that module 10 produced, and reads the state information corresponding with this test program 220 by this network system 2 from this service end 22.In the present embodiment, this state information can be obtained by the catalogue of this test program 220 of access under this service end 22, it can include the state informations such as zero-time of the version and the test jobs of this test program 220, but not as limit, for example this state information can comprise that again this finishes the running time or the estimated time of test jobs.
This output module 14 reads the test run state information that module 12 read with this and exports this client that is performed test jobs 20 to, providing the remote testing prompt facility to the user who is positioned at this client 20, thereby it learns that this client 20 carrying out the state information of dependence test operation and relevant this test jobs.In the present embodiment, this state information is exported in text (txt) mode, but not as limit, it also can adopt for example way of output such as Hypertext Markup Language (HTML) or Flash animation.
Follow-up, this network service is monitored module 10 and is comprised again when detecting this service end 22 generation stop signal when having finished test jobs to this client 20, to stop corresponding detecting action, and making this output module 14 in the complete relevant information of these client 20 these test jobs of output thereupon, the user who is positioned at this client 20 with prompting has finished this test jobs.
Use remote testing prompt system 1 of the present invention and carry out remote testing reminding method flow process of the present invention as shown in Figure 2, and please cooperate Fig. 1 simultaneously, this method comprises following implementation step: at step S200, service end 22 is carried out test program 220 so that the client 20 that is connected with its network is carried out test jobs.Then proceed to step S201.
At step S201, the network interface 200 that makes the network service monitor 10 pairs of these clients 20 of module is detected, and whether receives the access data that this service end 22 is transmitted to detect this network interface 200.Then, proceed to step S202.
At step S202, according to received access data, judge with further whether this client 20 is carrying out test jobs, if, then proceed to step S204, otherwise, if not, then return to step S201.
At step S204, make this network service monitor module 10 and produce triggering signal.Then, proceed to step S206.
At step S206, make this read module 12 when receiving after this network service monitors the triggering signal that module 10 produced, by network system this triggering signal is sent to this service end, read the test run state information corresponding with this service end 22 certainly, and the test run state information that is read is reached the client that proposes this triggering signal by this network system with this test program 220.Then, proceed to step S208.
At step S208, make this output module 14 that this state information that reads the test run that module 12 read is exported to and propose this triggering signal and be performed on the client 20 of test jobs.Then, proceed to step S210.
At step S210, judge whether this service end 22 finishes test jobs to this client 20, if, then proceed to step S212, otherwise, if not, then continue the detecting action of step S210.
At step S212, make this network service monitor module 10 and produce stop signal.Then, proceed to step S214.
At step S214, make this network service monitor module 10 according to this stop signal, stop detecting action, and export the complete relevant information of this test jobs in this client with seasonal this output module 14 to this client.
In sum, than prior art, remote testing prompt system of the present invention and method, mainly be that the client of setting up network connections with this service end is detected, detect whether transfer of data is arranged between this service end and this client when carrying out test jobs when this service end operation test program and to the client that is connected with its network, when detecting when between this service end and this client transfer of data being arranged, promptly read the test run state information corresponding from this service end with this test program by network system, and export this test run state information to client, thereby provide the user of the prompt facility of state information to this client, make it learn that this client carrying out test jobs, avoid as having now in the measuring technology because of the state information prompt facility can't be provided at the client place, and the user who makes this client can't grasp the operating position of this client, cause this client in carrying out test process, to be closed by mistake, interrupt test operation and influence the test effect, therefore, can improve testing efficiency relatively by remote testing prompt system of the present invention and method.
The foregoing description only is illustrative principle of the present invention and effect thereof, but not is used to limit the present invention, and also, the present invention in fact still can do other changes.Therefore, any those skilled in the art all can make amendment to the foregoing description under spirit of the present invention and category.So the scope of the present invention, claim is listed as described later.