CN104144084B - The monitoring method and device of the SOT state of termination - Google Patents
The monitoring method and device of the SOT state of termination Download PDFInfo
- Publication number
- CN104144084B CN104144084B CN201310173245.XA CN201310173245A CN104144084B CN 104144084 B CN104144084 B CN 104144084B CN 201310173245 A CN201310173245 A CN 201310173245A CN 104144084 B CN104144084 B CN 104144084B
- Authority
- CN
- China
- Prior art keywords
- simulation test
- server
- test terminal
- test
- test lead
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses the monitoring method and device of a kind of SOT state of termination, by the way that whether when test lead server normally connects with cloud server and is normally connected with the corresponding simulation test terminal in the test lead server, monitoring the test lead server being capable of normal communication with the corresponding simulation test terminal;Record be capable of normal communication the simulation test terminal status information and/or can not normal communication the simulation test terminal status information, and the method by the status information feedback of the simulation test terminal of record to the test lead server to be shown, there is the whether available beneficial effect of simulation test terminal disposed in automatic monitoring test environment;Further, the status information of each simulation test terminal can be fed back to test lead server in time, so that test lead server shows the status information of each simulation test terminal to user terminal, so as to eliminate the whether available human cost of each simulation test terminal of user terminal manual test.
Description
Technical field
The present invention relates to Internet technology, further relates to move cloud measuring technology, more particularly to a kind of monitoring of the SOT state of termination
Method and device.
Background technology
Mobile cloud test is in terminal(Such as mobile phone)Developed rapidly using needing to test under the problems such as substantial amounts of type is adapted to
Come, the conventional deployment architecture of mobile cloud test system is that a server connects more station terminal equipment, and user terminal is by accessing web
Whether the page can test corresponding App applications under such as test environment of biconditional operation real equipment can be with corresponding terminating machine
Type matches;At present, testing tool commonly used in the trade has Testin(Cloud survey grid network)、MTC(Mobile Testing Center,
Mobile cloud test center)Deng;By taking Testin testing tools as an example, Testin deploys the simulation of the multi-section of money more than 300 1000 beyond the clouds
Terminal is tested, and the Intelligent test terminal of these open simulations is tested to global mobile Development person or user, developer
Only in Testin platforms the App of oneself need to be submitted apply, selection needs network, the type tested, can carried out online automatic
Change test, and standard testing report corresponding to output automatically.
Whether currently used testing tool can only match to App applications with corresponding terminal models is tested, and
It can not then ensure for the availability for testing the simulation test terminal standing state disposed in test environment early stage, be required to lead to
Cross the page that user terminal can be accessed directly and detect whether above-mentioned simulation test terminal can use one by one manually;Existing testing tool without
Whether the current test mode of every simulation test terminal being disposed in method Fast Monitoring test environment can use.
The content of the invention
The main purpose of the embodiment of the present invention is to provide the monitoring method and device of a kind of SOT state of termination, it is intended to solves current
Mobile cloud test can not monitor the problem of whether the simulation test terminal disposed in test environment can be used.
The embodiment of the invention discloses a kind of monitoring method of the SOT state of termination, comprise the following steps:
When test lead server is normally connected with cloud server, the test lead server and corresponding high in the clouds are detected
Whether the simulation test terminal in server normally connects;
When the test lead server normally connects with the corresponding simulation test terminal, the test lead clothes are monitored
Whether be engaged in device being capable of normal communication with the corresponding simulation test terminal;
Record be capable of normal communication the simulation test terminal status information and/or can not normal communication it is described
The status information of simulation test terminal, and by the status information feedback of the simulation test terminal of record to the test lead server
To be shown.
A kind of supervising device of the SOT state of termination is also disclosed in the embodiment of the present invention, including:
Connection detection module, for when test lead server is normally connected with cloud server, detecting the test lead
Whether server normally connects with the simulation test terminal in corresponding cloud server;
Communication monitor module, for normally being connected with the corresponding simulation test terminal in the test lead server
When, whether monitor the test lead server being capable of normal communication with the corresponding simulation test terminal;
State recording module, for recording the status information and/or not for the simulation test terminal for being capable of normal communication
It is capable of the status information of the simulation test terminal of normal communication, and by the status information feedback of the simulation test terminal of record
To the test lead server to be shown.
The embodiment of the present invention is taken by when test lead server is normally connected with cloud server, detecting the test lead
Whether business device normally connects with the simulation test terminal in corresponding cloud server;The test lead server with it is corresponding
When the simulation test terminal normally connects, monitor the test lead server and whether can with the corresponding simulation test terminal
Enough normal communications;Record be capable of the simulation test terminal of normal communication status information and/or can not normal communication
The status information of the simulation test terminal, and the status information feedback of the simulation test terminal of record to the test lead is taken
It is engaged in method of the device to be shown, has the simulation test terminal disposed in automatic monitoring test environment whether available beneficial to effect
Fruit;Further, the status information of each simulation test terminal can be fed back to test lead server in time, so that test lead takes
Business device shows the status information of each simulation test terminal to user terminal, so as to eliminate each simulation test of user terminal manual test
The whether available human cost of terminal.
Brief description of the drawings
Fig. 1 is the monitoring method first embodiment schematic flow sheet of the SOT state of termination of the present invention;
Fig. 2 is the monitoring method second embodiment schematic flow sheet of the SOT state of termination of the present invention;
Fig. 3 is the monitoring method 3rd embodiment schematic flow sheet of the SOT state of termination of the present invention;
Fig. 4 is to monitor test lead server in the monitoring method of the SOT state of termination of the present invention to be with corresponding simulation test terminal
It is no being capable of the embodiment schematic flow sheet of normal communication one;
Fig. 5 is the supervising device first embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention;
Fig. 6 is the supervising device second embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention;
Fig. 7 is the supervising device 3rd embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this
The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Reference picture 1, Fig. 1 are the monitoring method first embodiment schematic flow sheets of the SOT state of termination of the present invention;As shown in figure 1,
The monitoring method of the SOT state of termination of the present invention comprises the following steps:
Step S01, when test lead server is normally connected with cloud server, detect the test lead server with it is right
Whether the simulation test terminal in the cloud server answered normally connects;If so, then perform step S02;
Before whether the state for each simulation test terminal disposed in monitoring cloud server available, first first detect
Whether test lead server is normally connected with cloud server;In the situation that test lead server is normally connected with cloud server
Under, following policer operations can be carried out;When test lead server can not be normally connected with cloud server, if it has to
Stop this monitoring to each simulation test terminal.When test lead server is normally connected with cloud server, continue to detect
Whether the test lead server can normally connect with the simulation test terminal in corresponding cloud server;Meanwhile also may be used
To obtain the facility information for all test lead servers being connected with cloud server.
In a preferred embodiment, when test lead server can not be normally connected with cloud server, can send
Corresponding warning information, for example, send alarm message, alarm email, prompt message etc. be used to prompting background maintenance personnel so as to and
Shi Jinhang is safeguarded.
Further, monitoring system can configure the reception for whether sending corresponding warning information and the warning information
End.
Whether step S02, monitor the test lead server being capable of normal communication with the corresponding simulation test terminal;
Detecting that the test lead server can normally connect with the simulation test terminal in corresponding cloud server
Whether when connecing, monitoring the test lead server being capable of normal communication with the corresponding simulation test terminal.Monitor the test lead
Server and the corresponding simulation test terminal whether can normal communication can be understood as:In test lead server to correspondingly
Simulation test terminal send solicited message when, whether simulation test terminal corresponding to monitoring can be returned for the solicited message
Corresponding response message is returned to the test lead server.
After test lead server sends solicited message to corresponding simulation test terminal, monitoring system monitors the survey
When examination end server receives the response message that the simulation test terminal returns, identify the test lead server with it is corresponding
The simulation test terminal being capable of normal communication;In test lead server solicited message is sent to corresponding simulation test terminal
Afterwards, when monitoring system monitors the test lead server and is not received by the response message that the simulation test terminal returns,
Identify that the test lead server is unable to normal communication with the corresponding simulation test terminal.
In a preferred embodiment, surveyed in the test lead server with the simulation in corresponding cloud server
When examination terminal can not be connected normally, terminate this monitoring to simulation test terminal;Or send the abnormal warning information of connection
To the test lead server;Or obtain and record the IP address of the abnormal test lead server of connection, for data
Used during analysis.
Step S03, record be capable of normal communication the simulation test terminal status information and/or can not positive normal open
The status information of the simulation test terminal of news, and by the status information feedback of the simulation test terminal of record to the test
Server is held to be shown.
Whether the test lead server monitored according to step S02 is capable of the prison of normal communication with corresponding simulation test terminal
Result is controlled, records status information corresponding to each simulation test terminal;In test lead server and corresponding simulation test terminal energy
During enough normal communications, the status information for recording the simulation test terminal is normal connection;In test lead server and corresponding mould
When plan test terminal is unable to normal communication, the status information for recording the simulation test terminal connects to be abnormal.By each mould of record
Intend the status information feedback of test terminal to the test lead server to be shown.
Further, monitoring system can also record and preserve the solicited status of each simulation test terminal, return value and should
The monitoring log information of monitoring system itself.
Further, monitoring system can be according to predetermined period(Such as 12 hours, 24 hours)To each simulation test terminal
Carry out condition monitoring.
In a preferred embodiment, the status information feedback of each simulation test terminal by record is to the test
End server is included with carrying out display:
Status information of the status information for normal connection and all simulation test terminals connected extremely is fed back into institute
Test lead server is stated, so that the test lead server is directly by normally connection or abnormal corresponding to each simulation test terminal
The status information of connection is shown;
Or status information of the status information for normal connection and all simulation test terminals connected extremely is fed back
It is arranged to hidden to the test lead server, but by the dispaly state that status information is the simulation test terminal connected extremely
Hide, so that the test lead server only shows each simulation test terminal normally connected, do not show that the simulation connected extremely is surveyed
Try terminal;
Or only status information feedback to the test lead that status information is the simulation test terminal normally connected is taken
Business device, so that the test lead server only shows each simulation test terminal normally connected.
It will be understood by those skilled in the art that test lead server show corresponding to each simulation test terminal normally connection or
Extremely the display mode of the status information connected can be shown by web page, can also be entered by Application Program Interface
Row display, can also be shown, the present embodiment shows each simulation test terminal-pair to test lead server by other means
The display mode for the status information answered is not construed as limiting.
The present embodiment in test lead server with cloud server by being normally connected and detecting the test lead server
When normally being connected with the simulation test terminal in corresponding cloud server, monitor the test lead server with it is corresponding described
Whether simulation test terminal being capable of normal communication;Record be capable of normal communication the simulation test terminal status information and/
Or can not normal communication the simulation test terminal status information, and by the status information of the simulation test terminal of record
Method of the test lead server to be shown is fed back to, has the simulation test disposed in automatic monitoring test environment whole
End whether available beneficial effect.
Fig. 2 is refer to, Fig. 2 is the monitoring method second embodiment schematic flow sheet of the SOT state of termination of the present invention;The present embodiment
Difference with embodiment described in Fig. 1 is to increase only step S11 and step S12, and the present embodiment is only to step step S11 and step
Rapid S12 is described, and other steps involved by the monitoring method about the SOT state of termination of the present invention refer to related embodiment
Specifically describe, will not be repeated here.
As shown in Fig. 2 the monitoring method of the SOT state of termination of the present invention step S02, the monitoring test lead server with it is right
Whether the simulation test terminal answered can also include before normal communication:In the test lead server and corresponding simulation
When test terminal normally connects, step S11 is performed, taken according to the test lead that exception is connected with simulation test terminal of storage
The IP address of business device, identify whether the IP address of the test lead server of the simulation test terminal connection is different with the connection of record
The IP address of the normal test lead server is consistent;If so, then perform step S12;If it is not, then perform step S02;
Step S12, the status information for recording the simulation test terminal connects to be abnormal;
Whether step S02, monitor the test lead server being capable of normal communication with the corresponding simulation test terminal.
When test lead server is normally connected with cloud server, all test leads being connected with cloud server are obtained
The facility information of server;When the test lead server can not be connected normally with the corresponding simulation test terminal, only
The IP address of the test lead server of recording exceptional connection, and by the test lead server connected extremely of record
IP address is stored.Or the facility information according to the test lead server, obtain all test lead servers
IP address, when the test lead server can not be connected normally with the corresponding simulation test terminal, mark abnormal connection
The test lead server IP address.
When the test lead server normally connects with the corresponding simulation test terminal, the simulation is identified first
Test the test lead server of terminal connection IP address whether the IP of the test lead server abnormal with the connection of record
Address is consistent;If test of the IP address of the test lead server of the simulation test terminal connection with being marked as being connected exception
Hold the IP address of server consistent, then the status information for directly recording the simulation test terminal connects to be abnormal.In the mould
Intend the IP address of test lead server of the IP address of the test lead server of test terminal connection with being marked as being connected exception
It is inconsistent, perform step S02, monitor the test lead server whether being capable of positive normal open with the corresponding simulation test terminal
News, and then perform the flow being subsequently monitored to the state of simulation test terminal.
The present embodiment will be by when the test lead server normally connects with corresponding simulation test terminal, will first simulate
The IP address of the test lead server of test terminal connection and the test lead that exception is connected with simulation test terminal of storage
After the IP address of server is compared, then monitors the test lead server and whether can with the corresponding simulation test terminal
The method of enough normal communications, has the beneficial effect for saving the simulation test terminal monitoring time.
Fig. 3 is refer to, Fig. 3 is the monitoring method 3rd embodiment schematic flow sheet of the SOT state of termination of the present invention;The present embodiment
Difference with embodiment described in Fig. 2 is to increase only step S04;Only step S04 is specifically described for the present embodiment, relevant
Other steps involved by the monitoring method of the SOT state of termination of the present invention refer to the specific descriptions of related embodiment, no longer superfluous herein
State.
As shown in figure 3, the monitoring method of the SOT state of termination of the present invention also includes after step S03:
Step S04, according to the status information of the simulation test terminal of record, the simulation of renewal cloud server storage
Test terminal's status information list.
According to the status information of the step S03 each simulation test terminals recorded, the simulation of renewal cloud server storage is surveyed
Try the state information list of terminal;For example the preceding status information for once monitoring certain simulation test terminal is normal connection, and this
The secondary status information for monitoring the simulation test terminal is then abnormal connection, then in time that the simulation test of cloud server storage is whole
In the state information list at end to should the status information of simulation test terminal abnormal connection is updated to by normal connection.
Further, can be surveyed according to the status information of the simulation test terminal of record, monitoring system with statistical simulation
The mortality of examination terminal connection, the number of simulation test terminal connected extremely etc..Such as using curve map, block diagram or
Cake chart etc., by certain a period of time(Such as one week or one month)All simulation test terminal connections on cloud server
The total frequency of failure, the number of each simulation test terminal connection failure, the number of each simulation test terminal connection failure exist
The data such as the accounting of total frequency of failure is how many are counted, so that attendant analyzed monitoring system, is safeguarded.
The present embodiment updates cloud server storage by the status information of the simulation test terminal according to record
The method of simulation test terminal's status information list, weight is provided subsequently to carry out analysis to the monitoring data of simulation test terminal
Will foundation.
Fig. 4 is refer to, Fig. 4 is to monitor test lead server and corresponding simulation in the monitoring method of the SOT state of termination of the present invention
Whether test terminal being capable of the embodiment schematic flow sheet of normal communication one;The present embodiment is only to step S02, the monitoring test lead
Server and the corresponding simulation test terminal whether can normal communication be further described, the relevant SOT state of termination of the present invention
Monitoring method involved by other steps refer to the specific descriptions of related embodiment, will not be repeated here.
As shown in figure 4, in the monitoring method of the SOT state of termination of the present invention, step S02, monitor the test lead server with it is right
The simulation test terminal answered whether can normal communication include:
Step S21, the test lead server is controlled to send a solicited message to institute by application programming interface
State simulation test terminal;
Step S22, detect whether the simulation test terminal returns to corresponding response message to the test lead server;
If so, then perform step S23;If it is not, then perform step S24;
Step S23, identify that the test lead server being capable of normal communication with the corresponding simulation test terminal;
Monitoring system passes through API(Application Program Interface, application programming interface)For the first time
Check whether test lead server is connected normally with the simulation test terminal, i.e., send out the test lead server by API
A solicited message is sent to the simulation test terminal, and whether simulation test terminal corresponding to detection returns to corresponding response letter
Cease to the test lead server;If response message corresponding to the return of simulation test terminal is monitored to the test lead service
Device, then identify that the test lead server being capable of normal communication with the corresponding simulation test terminal;If monitor simulation
Testing terminal, response message corresponding to return to the test lead server, does not then perform step S24.
Step S24, concurrent at least two communications of the test lead server are controlled by the application programming interface
Solicited message is to the simulation test terminal;
Step S25, detect whether the simulation test terminal returns to corresponding response message to the test lead server;
If so, then perform step S23;If it is not, then perform step S26;
Step S26, identify that the test lead server is unable to normal communication with the corresponding simulation test terminal.
Monitoring simulation test terminal, response message to the test lead server, does not then pass through corresponding to return
API carries out second and checked;When carrying out second and checking, making the test lead server by API, concurrently a plurality of solicited message is extremely
The simulation test terminal, and whether simulation test terminal corresponding to detection returns to corresponding response message to the test lead and takes
Business device;If monitoring response message corresponding to the return of simulation test terminal, to the test lead server, identifies the test
Hold server being capable of normal communication with the corresponding simulation test terminal;If monitor the not return pair of simulation test terminal
The response message answered then identifies the test lead server and the corresponding simulation test terminal to the test lead server
It is unable to normal communication.
In a preferred embodiment, the test lead server is monitored with the corresponding simulation test terminal whether
Enough normal communications include:Monitor whether the photo services in the test server and Event Service are connected with simulation test terminal
Normally, when the photo services in the test server and Event Service are normally connected with simulation test terminal, institute is monitored
Stating test server being capable of normal communication with the corresponding simulation test terminal;Photo services in the test server
When can not be normally connected with simulation test terminal with any one occurrence in Event Service, monitor the test server with it is corresponding
The simulation test terminal is unable to normal communication.
The present embodiment carries out two to test lead server by using API with the communication connection of corresponding simulation test terminal
The method of secondary detection, has whether accurate monitoring test lead server is capable of having for normal communication with corresponding simulation test terminal
Beneficial effect.
Fig. 5 is refer to, Fig. 5 is the supervising device first embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention;Such as Fig. 5
Shown, the supervising device of the SOT state of termination of the present invention includes:Connection detection module 01, communication monitor module 02 and state recording module
03。
Connection detection module 01, for when test lead server is normally connected with cloud server, detecting the test
Whether end server normally connects with the simulation test terminal in corresponding cloud server;
Before whether the state for each simulation test terminal disposed in monitoring cloud server is available, connection detection module
Whether 01 detection test lead server first is normally connected with cloud server;It is normal in test lead server and cloud server
In the case of connection, following policer operations can be carried out;Test lead server and cloud are detected in connection detection module 01
When end server can not be connected normally, if it has to stop this monitoring to each simulation test terminal.In test lead server
When being normally connected with cloud server, connection detection module 01 continues to detect the test lead server and corresponding cloud service
Whether the simulation test terminal in device can normally connect;It is also possible to obtain all tests being connected with cloud server
Hold the facility information of server.
In a preferred embodiment, detect that test lead server can not with cloud server in connection detection module 01
During normal connection, the supervising device of the SOT state of termination can send corresponding warning information, for example send alarm message, alarm postal
Part, prompt message etc. are used to prompt background maintenance personnel to be safeguarded in time.
Further, whether the supervising device of the SOT state of termination can configure sends corresponding warning information and the alarm
The receiving terminal of information.
Communication monitor module 02, for normally being connected with the corresponding simulation test terminal in the test lead server
When, whether monitor the test lead server being capable of normal communication with the corresponding simulation test terminal;
The test lead server and the simulation test in corresponding cloud server are detected in connection detection module 01
When terminal can be connected normally, communication monitor module 02 monitors the test lead server is with the corresponding simulation test terminal
It is no being capable of normal communication.Whether communication monitor module 02 monitors the test lead server and can with the corresponding simulation test terminal
Enough normal communications can be understood as:When test lead server sends solicited message to corresponding simulation test terminal, communication prison
Control module 02 monitors whether corresponding simulation test terminal can be directed to the corresponding response message of solicited message return to institute
State test lead server.
After test lead server sends solicited message to corresponding simulation test terminal, communication monitor module 02 monitors institute
When stating test lead server and receiving the response message that the simulation test terminal returns, identify the test lead server with it is right
The simulation test terminal answered being capable of normal communication;In test lead server request letter is sent to corresponding simulation test terminal
After breath, communication monitor module 02 monitors the test lead server and is not received by the response letter that the simulation test terminal returns
During breath, identify that the test lead server is unable to normal communication with the corresponding simulation test terminal.
In a preferred embodiment, surveyed in the test lead server with the simulation in corresponding cloud server
When examination terminal can not be connected normally, the supervising device of the SOT state of termination terminates this monitoring to simulation test terminal automatically;Or
The abnormal warning information of connection is sent to the test lead server;Or obtain and record the abnormal test lead of connection
The IP address of server, for being used during data analysis.
State recording module 03, for record be capable of normal communication the simulation test terminal status information and/or
Can not normal communication the simulation test terminal status information, it is and the status information of the simulation test terminal of record is anti-
The test lead server is fed to be shown.
Whether can be normal with corresponding simulation test terminal according to the test lead server that communication monitor module 02 monitors
The monitored results of communication, state recording module 03 record status information corresponding to each simulation test terminal;In test lead server
With corresponding simulation test terminal can normal communication when, state recording module 03 records the status information of the simulation test terminal
For normal connection;When test lead server is unable to normal communication with corresponding simulation test terminal, state recording module 03 is remembered
The status information for recording the simulation test terminal connects to be abnormal;And by the status information feedback of each simulation test terminal of record extremely
The test lead server is to be shown.
Further, state recording module 03 can also record and preserve the solicited status of each simulation test terminal, return
The monitoring log information of value and the monitoring system itself.
Further, the supervising device of the SOT state of termination can be according to predetermined period(Such as 12 hours, 24 hours)To each mould
Intend test terminal and carry out condition monitoring.
In a preferred embodiment, state recording module 03 is by the status information feedback of each simulation test terminal of record
Included to the test lead server with carrying out display:
Status information of the status information for normal connection and all simulation test terminals connected extremely is fed back into institute
Test lead server is stated, so that the test lead server is directly by normally connection or abnormal corresponding to each simulation test terminal
The status information of connection is shown;
Or status information of the status information for normal connection and all simulation test terminals connected extremely is fed back
It is arranged to hidden to the test lead server, but by the dispaly state that status information is the simulation test terminal connected extremely
Hide, so that the test lead server only shows each simulation test terminal normally connected, do not show that the simulation connected extremely is surveyed
Try terminal;
Or only status information feedback to the test lead that status information is the simulation test terminal normally connected is taken
Business device, so that the test lead server only shows each simulation test terminal normally connected.
It will be understood by those skilled in the art that test lead server show corresponding to each simulation test terminal normally connection or
Extremely the display mode of the status information connected can be shown by web page, can also be entered by Application Program Interface
Row display, can also be shown, the present embodiment shows each simulation test terminal-pair to test lead server by other means
The display mode for the status information answered is not construed as limiting.
The present embodiment in test lead server with cloud server by being normally connected and detecting the test lead server
When normally being connected with the simulation test terminal in corresponding cloud server, monitor the test lead server with it is corresponding described
Whether simulation test terminal being capable of normal communication;Record be capable of normal communication the simulation test terminal status information and/
Or can not normal communication the simulation test terminal status information, and by the status information of the simulation test terminal of record
The test lead server is fed back to be shown, there is the simulation test terminal disposed in automatic monitoring test environment whether
Available beneficial effect.
Fig. 6 is refer to, Fig. 6 is the supervising device second embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention;This reality
Applying the difference of example and embodiment described in Fig. 5 is, increase only address contrast module 04;The present embodiment is only to address contrast module 04
It is described specifically, other modules involved by the supervising device about the SOT state of termination of the present invention refer to the specific of related embodiment
Description, will not be repeated here.
As shown in fig. 6, the supervising device of the SOT state of termination of the present invention also includes:
Address contrast module 04, for when the test lead server normally connects with corresponding simulation test terminal,
According to the IP address of the test lead server that exception is connected with simulation test terminal of storage, identify that the simulation test is whole
Hold the test lead server of connection IP address whether the IP address one of the test lead server abnormal with the connection of record
Cause.
When test lead server is normally connected with cloud server, the supervising device of the SOT state of termination obtains and cloud service
The facility information of all test lead servers of device connection;In the test lead server and the corresponding simulation test terminal
When can not normally connect, the IP address of the only test lead server of recording exceptional connection of state recording module 03, and will note
The IP address of the test lead server connected extremely of record is stored.Or setting according to the test lead server
Standby information, state recording module 03 obtain the IP address of all test lead servers, the test lead server with it is right
When the simulation test terminal answered can not be connected normally, the IP address of the test lead server connected extremely is marked.
When the test lead server normally connects with the corresponding simulation test terminal, address contrast module 04 is first
First identify the test lead server of simulation test terminal connection IP address whether the survey abnormal with the connection of record
The IP address for trying end server is consistent;If address contrast module 04 identifies the test lead server of the simulation test terminal connection
The IP address test lead server abnormal with being marked as connection IP address it is consistent, then state recording module 03 directly records
The status information of the simulation test terminal connects to be abnormal.The simulation test terminal connection is identified in address contrast module 04
Test lead server IP address and the being marked as test lead server that is connected exception IP address it is inconsistent, supervised by communication
Control module 02 monitor the test lead server and the corresponding simulation test terminal whether can normal communication, and then execution
The flow being subsequently monitored to the state of simulation test terminal.
The present embodiment will be by when the test lead server normally connects with corresponding simulation test terminal, will first simulate
The IP address of the test lead server of test terminal connection and the test lead that exception is connected with simulation test terminal of storage
After the IP address of server is compared, then monitors the test lead server and whether can with the corresponding simulation test terminal
Enough normal communications, have the beneficial effect for saving the simulation test terminal monitoring time.
Fig. 7 is refer to, Fig. 7 is the supervising device 3rd embodiment high-level schematic functional block diagram of the SOT state of termination of the present invention.This reality
Apply example and figure
List update module 05, for the status information of the simulation test terminal according to record, update cloud service
The simulation test terminal's status information list of device storage.
The status information of each simulation test terminal recorded according to state recording module 03, list update module 05 update cloud
Hold the state information list of the simulation test terminal of server storage;Such as the preceding shape for once monitoring certain simulation test terminal
State information is normal connection, and this status information for monitoring the simulation test terminal is then abnormal connection, then list update mould
Block 05 in time by cloud server storage simulation test terminal state information list in should simulation test terminal shape
State information is updated to abnormal connection by normal connection.
Further, the status information of the simulation test terminal recorded according to state recording module 03, list update
Module 05 can test the mortality of terminal connection, the number of simulation test terminal connected extremely etc. with statistical simulation.For example adopt
With curve map, block diagram or cake chart etc., by certain a period of time(Such as one week or one month)Institute on cloud server
There are total frequency of failure, number, each simulation test of each simulation test terminal connection failure of the connection of simulation test terminal
The number of terminal connection failure in the accounting of total frequency of failure is how many etc. data are counted, so that attendant is to monitoring
System is analyzed, safeguarded.
The present embodiment updates cloud server storage by the status information of the simulation test terminal according to record
Simulation test terminal's status information list, for subsequently the monitoring data of simulation test terminal is carried out analysis provide it is important according to
According to.
Based on the specific descriptions of embodiment described in Fig. 5, Fig. 6 and Fig. 7, in a preferred embodiment, communication monitor module
02 when the test lead server normally connects with the corresponding simulation test terminal, monitor the test lead server with
The corresponding simulation test terminal whether can normal communication include:
Communication monitor module 02 checks whether test lead server is connected with the simulation test terminal by API for the first time
Normally, i.e., the test lead server is sent a solicited message to the simulation test terminal by API, and detect correspondingly
Simulation test terminal whether return corresponding to response message to the test lead server;If communication monitor module 02 monitors
Simulation test terminal return corresponding to response message to the test lead server, then identify the test lead server with it is corresponding
The simulation test terminal being capable of normal communication.
Monitoring simulation test terminal in communication monitor module 02 does not have response message corresponding to return to the test lead
Server, then carry out second by API and check;When carrying out the second inspection, communication monitor module 02 makes the test by API
Holding server, concurrently a plurality of solicited message is to the simulation test terminal, and whether simulation test terminal corresponding to detecting returns pair
The response message answered is to the test lead server;Rung if communication monitor module 02 monitors corresponding to the return of simulation test terminal
Information is answered then to identify that the test lead server can be just with the corresponding simulation test terminal to the test lead server
Normal open is interrogated;If communication monitor module 02, which monitors simulation test terminal, does not have response message corresponding to return to the test lead
Server, then identify that the test lead server is unable to normal communication with the corresponding simulation test terminal.
In a preferred embodiment, communication monitor module 02 monitors the test lead server and the corresponding simulation
Test terminal whether can normal communication include:The photo services in the test server and Event Service is monitored to survey with simulation
Whether examination terminal connects normally, and the photo services and Event Service in the test server are normal with simulation test terminal
During connection, communication monitor module 02 monitors the test server being capable of normal communication with the corresponding simulation test terminal;
Any one occurrence in photo services and Event Service in the test server can not be normally connected with simulation test terminal
When, communication monitor module 02 monitors the test server and is unable to normal communication with the corresponding simulation test terminal.
The present embodiment carries out two to test lead server by using API with the communication connection of corresponding simulation test terminal
Secondary detection, there is the beneficial effect whether accurate monitoring test lead server is capable of normal communication with corresponding simulation test terminal
Fruit.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
(Such as ROM/RAM, magnetic disc, CD)In, including some instructions are causing a station terminal equipment(It can be mobile phone, computer, take
Business device, or network equipment etc.)Perform the method described in each embodiment of the present invention.
The preferred embodiments of the present invention are the foregoing is only, not thereby limit its scope of the claims, it is every to utilize the present invention
The equivalent structure or equivalent flow conversion that specification and accompanying drawing content are made, directly or indirectly it is used in other related technology necks
Domain, it is included within the scope of the present invention.
Claims (12)
1. a kind of monitoring method of the SOT state of termination, it is characterised in that comprise the following steps:
When test lead server is normally connected with cloud server, the test lead server and corresponding cloud service are detected
Whether the simulation test terminal in device normally connects;
When the test lead server normally connects with the corresponding simulation test terminal, according to storage and simulation test
The IP address of the abnormal test lead server of terminal connection, identify the test lead server of the simulation test terminal connection
IP address it is whether consistent with the IP address for the test lead server that the connection of record is abnormal;If the two is inconsistent, supervise
Whether control the test lead server being capable of normal communication with the corresponding simulation test terminal;
Record be capable of normal communication the simulation test terminal status information and/or can not normal communication the simulation
Test the status information of terminal, and by the status information feedback of the simulation test terminal of record to the test lead server to enter
Row display.
2. the method as described in claim 1, it is characterised in that also include:
If the IP address of the test lead server of the simulation test terminal connection test lead abnormal with the connection of record
The IP address of server is consistent, then the status information for recording the simulation test terminal connects to be abnormal.
3. method as claimed in claim 1 or 2, it is characterised in that the monitoring test lead server and corresponding institute
State simulation test terminal whether can normal communication include:
The test lead server is controlled to send a solicited message by application programming interface whole to the simulation test
End;
Detect whether the simulation test terminal returns to corresponding response message to the test lead server;
Corresponding to being returned in the simulation test terminal during response message to the test lead server, the test lead clothes are identified
Being engaged in device being capable of normal communication with the corresponding simulation test terminal.
4. method as claimed in claim 3, it is characterised in that corresponding to whether the detection simulation test terminal returns
Also include after response message to the test lead server:
Corresponding to not returned in the simulation test terminal during response message to the test lead server, again by described
Application programming interface controls the concurrent at least two communication request information of the test lead server whole to the simulation test
End;
Detect whether the simulation test terminal returns to corresponding response message to the test lead server again;
Corresponding to being returned in the simulation test terminal during response message to the test lead server, the test lead clothes are identified
Being engaged in device being capable of normal communication with the corresponding simulation test terminal;
Corresponding to not returned in the simulation test terminal during response message to the test lead server, the test is identified
End server is unable to normal communication with the corresponding simulation test terminal.
5. method as claimed in claim 1 or 2, it is characterised in that also include:
According to the status information of the simulation test terminal of record, the simulation test SOT state of termination of renewal cloud server storage
Information list.
6. the method as described in claim 1, it is characterised in that the status information feedback of the simulation test terminal by record
Included to the test lead server with carrying out display:
It is that the simulation test terminal normally connected feeds back to the test lead server only by the status information of record,
So that the test lead server only shows the normal simulation test terminal of connection.
A kind of 7. supervising device of the SOT state of termination, it is characterised in that including:
Connection detection module, for when test lead server is normally connected with cloud server, detecting the test lead service
Whether device normally connects with the simulation test terminal in corresponding cloud server;
Address contrast module, for when the test lead server normally connects with corresponding simulation test terminal, according to depositing
The IP address of the test lead server that exception is connected with simulation test terminal of storage, identify the simulation test terminal connection
Test lead server IP address it is whether consistent with the IP address for the test lead server that the connection of record is abnormal;
Communication monitor module, for when the test lead server normally connects with the corresponding simulation test terminal, if
The test lead server of the IP address of the test lead server of the simulation test terminal connection and the connection exception of record
IP address it is inconsistent when, whether monitor the test lead server being capable of positive normal open with the corresponding simulation test terminal
News;
State recording module, for record be capable of normal communication the simulation test terminal status information and/or can not
The status information of the simulation test terminal of normal communication, and by the status information feedback of the simulation test terminal of record to institute
Test lead server is stated to be shown.
8. device as claimed in claim 7, it is characterised in that also include:
The state recording module is additionally operable to:Identify the IP address of the test lead server of simulation test terminal connection with
When the IP address of the test lead server of the connection exception of record is consistent, the status information of the simulation test terminal is recorded
For abnormal connection.
9. device as claimed in claim 7, it is characterised in that the communication monitor module is additionally operable to:
The test lead server is controlled to send a solicited message by application programming interface whole to the simulation test
End;
Detect whether the simulation test terminal returns to corresponding response message to the test lead server;
Corresponding to being returned in the simulation test terminal during response message to the test lead server, the test lead clothes are identified
Being engaged in device being capable of normal communication with the corresponding simulation test terminal.
10. device as claimed in claim 9, it is characterised in that the communication monitor module is additionally operable to:
Corresponding to not returned in the simulation test terminal during response message to the test lead server, again by described
Application programming interface controls the concurrent at least two communication request information of the test lead server whole to the simulation test
End;
Detect whether the simulation test terminal returns to corresponding response message to the test lead server again;
Corresponding to being returned in the simulation test terminal during response message to the test lead server, the test lead clothes are identified
Being engaged in device being capable of normal communication with the corresponding simulation test terminal;
Corresponding to not returned in the simulation test terminal during response message to the test lead server, the test is identified
End server is unable to normal communication with the corresponding simulation test terminal.
11. the device as described in any one of claim 7 to 10, it is characterised in that also include:
List update module, for the status information of the simulation test terminal according to record, renewal cloud server storage
Simulation test terminal's status information list.
12. device as claimed in claim 7 or 8, it is characterised in that the state recording module is additionally operable to:
It is that the simulation test terminal normally connected feeds back to the test lead server only by the status information of record,
So that the test lead server only shows the normal simulation test terminal of connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310173245.XA CN104144084B (en) | 2013-05-10 | 2013-05-10 | The monitoring method and device of the SOT state of termination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310173245.XA CN104144084B (en) | 2013-05-10 | 2013-05-10 | The monitoring method and device of the SOT state of termination |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104144084A CN104144084A (en) | 2014-11-12 |
CN104144084B true CN104144084B (en) | 2017-12-01 |
Family
ID=51853154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310173245.XA Active CN104144084B (en) | 2013-05-10 | 2013-05-10 | The monitoring method and device of the SOT state of termination |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104144084B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104967667B (en) * | 2015-05-27 | 2019-04-12 | 国家计算机网络与信息安全管理中心 | A kind of software stability test remote monitoring system based on cloud service |
CN105515916A (en) * | 2015-12-30 | 2016-04-20 | 深圳市创维电器科技有限公司 | Aging test monitoring method and device |
CN106059794A (en) * | 2016-05-13 | 2016-10-26 | 努比亚技术有限公司 | Monitoring method and monitoring apparatus |
CN106911537A (en) * | 2017-04-19 | 2017-06-30 | 深圳天珑无线科技有限公司 | Information collecting method and information collecting device |
CN109995618B (en) * | 2019-04-12 | 2023-03-21 | 深圳前海微众银行股份有限公司 | Network survival monitoring method, device, equipment and computer readable storage medium |
CN110161729B (en) * | 2019-05-17 | 2021-08-03 | 深圳市华星光电半导体显示技术有限公司 | Display panel testing method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018162A (en) * | 2007-01-15 | 2007-08-15 | 华为技术有限公司 | Simulated testing system and method of the business processing network element |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7134135B2 (en) * | 2000-08-01 | 2006-11-07 | Qwest Communications International Inc. | Fault management in a VDSL network |
TWI344595B (en) * | 2003-02-14 | 2011-07-01 | Advantest Corp | Method and structure to develop a test program for semiconductor integrated circuits |
CN101303684B (en) * | 2007-05-08 | 2012-12-05 | 中兴通讯股份有限公司 | Method for upgrading software edition of a plurality of mobile terminal |
CN101727374B (en) * | 2008-10-15 | 2012-07-04 | 英业达股份有限公司 | Method for testing PS/2 interface |
CN102736972B (en) * | 2011-03-30 | 2016-03-09 | 国际商业机器公司 | The test case treating Test Application carries out the method and system processed |
CN102981951B (en) * | 2012-11-01 | 2016-03-09 | 珠海金山网络游戏科技有限公司 | Cloud test development platform and cloud test development method |
-
2013
- 2013-05-10 CN CN201310173245.XA patent/CN104144084B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018162A (en) * | 2007-01-15 | 2007-08-15 | 华为技术有限公司 | Simulated testing system and method of the business processing network element |
Also Published As
Publication number | Publication date |
---|---|
CN104144084A (en) | 2014-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104144084B (en) | The monitoring method and device of the SOT state of termination | |
CN105389256B (en) | A kind of unit test method and system | |
US10997063B1 (en) | System testing from production transactions | |
CN108399114B (en) | System performance testing method and device and storage medium | |
CN107797919A (en) | The method and computing device of a kind of automatic test | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN106488468A (en) | WiFi performance test methods and system | |
CN109634837A (en) | Automated testing method, device, equipment and storage medium | |
US20160063387A1 (en) | Monitoring and detecting environmental events with user devices | |
CN106897226A (en) | The method and device of a kind of continuous integrating test | |
CN103678130A (en) | Automated performance test method and platform | |
CN107168844B (en) | Performance monitoring method and device | |
CN109446075A (en) | Interface testing method and device | |
CN114064208A (en) | Method and device for detecting application service state, electronic equipment and storage medium | |
CN105262608A (en) | Monitoring method and monitoring device for network service | |
CN111464376A (en) | Website availability monitoring method and device, storage medium and computer equipment | |
CN110007921A (en) | A kind of code dissemination method and device | |
CN111611140A (en) | Reporting verification method and device of buried point data, electronic equipment and storage medium | |
CN104461651B (en) | A kind of framework flow control method, apparatus and system | |
CN105117347B (en) | Analogy method, system and the automated testing method of test data, system | |
CN104702463A (en) | Method, device and system for bypass testing of multiple machine rooms | |
CN108322524B (en) | Session keeping test method and device for load balancing equipment | |
CN103944779B (en) | A kind of WAP service features monitoring method and system | |
CN101212353A (en) | Data acquisition and analysis system and method | |
CN106453972A (en) | Automatic call testing system and method in call center |
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 |