CN104144084A - Terminal state monitoring method and device - Google Patents

Terminal state monitoring method and device Download PDF

Info

Publication number
CN104144084A
CN104144084A CN201310173245.XA CN201310173245A CN104144084A CN 104144084 A CN104144084 A CN 104144084A CN 201310173245 A CN201310173245 A CN 201310173245A CN 104144084 A CN104144084 A CN 104144084A
Authority
CN
China
Prior art keywords
simulation test
test terminal
server
lead server
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.)
Granted
Application number
CN201310173245.XA
Other languages
Chinese (zh)
Other versions
CN104144084B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310173245.XA priority Critical patent/CN104144084B/en
Publication of CN104144084A publication Critical patent/CN104144084A/en
Application granted granted Critical
Publication of CN104144084B publication Critical patent/CN104144084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a terminal state monitoring method and device. According to the method, when a test server and a cloud server are normally connected and the test server and a corresponding simulation test terminal are normally connected, whether the test server and the corresponding simulation test terminal can conduct normal communication is monitored; state information of the simulation test terminal capable of conducting normal communication and/or state information of the simulation test terminal incapable of conducting normal communication is recorded, and the recorded state information of the simulation test terminal is fed back to the test server for display. The method has the advantage that whether the simulation test terminal deployed in a test environment is available or not can be automatically monitored; furthermore, the state information of all simulation test terminals can be fed back to the test server in time so that the test server can display the state information of all the simulation test terminals to a user, and consequently the labor cost for the user to manually test whether all the simulation test terminals are available or not is saved.

Description

The method for supervising of SOT state of termination and device
Technical field
The present invention relates to Internet technology, also relate to mobile cloud measuring technology, relate in particular to a kind of method for supervising and device of SOT state of termination.
Background technology
Mobile cloud test need to be tested under the problems such as a large amount of type adaptations and develop rapidly in terminal (as mobile phone) application, the conventional deployment architecture of mobile cloud test macro is that a station server connects many station terminals equipment, and whether user side can be tested corresponding App under as the test environment of biconditional operation real equipment by access web page and apply and can match with corresponding terminal type; At present, conventional testing tool has Testin(cloud survey grid network in the industry), MTC(Mobile Testing Center, mobile cloud test center) etc.; Taking Testin testing tool as example, Testin has disposed the 1000 multi-section simulation test terminals of money more than 300 beyond the clouds, and the Intelligent test terminal of open these simulations tests to global Mobile Development person or user, developer only need submit at Testin platform the App application of oneself to, select to need network, the type of test, just can carry out online automatic test, and automatically export corresponding standard testing report.
Whether at present conventional testing tool can only match and test with corresponding terminal type App application, availability for the simulation test terminal standing state of test in earlier stage disposing in test environment cannot ensure, whether the page that all needs can directly to access by user side manually detects one by one above-mentioned simulation test terminal and can use; Whether the current test mode of every simulation test terminal that existing testing tool is disposed in cannot Fast Monitoring test environment can be used.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide a kind of method for supervising and device of SOT state of termination, is intended to solve the problem whether simulation test terminal that current mobile cloud test disposes in cannot control and measuring environment can be used.
The method for supervising that the embodiment of the invention discloses a kind of SOT state of termination, comprises the following steps:
In the time that test lead server is normally connected with cloud server, detects described test lead server and whether normally connect with the simulation test terminal in corresponding cloud server;
Whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
Record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
The embodiment of the present invention also discloses a kind of supervising device of SOT state of termination, comprising:
Whether connection detection module, in the time that test lead server is normally connected with cloud server, detects described test lead server and normally connect with the simulation test terminal in corresponding cloud server;
Communication monitor module, whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
State recording module, for recording the state information of described simulation test terminal that can normal communication and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
Whether the embodiment of the present invention is by the time that test lead server is normally connected with cloud server, detect described test lead server and normally connect with the simulation test terminal in corresponding cloud server; Whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication; Record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to the method for described test lead server to show, there is the beneficial effect whether the simulation test terminal of disposing in automatic monitoring test environment can be used; Further, the state information of each simulation test terminal can be fed back to test lead server in time, so that test lead server shows the state information of each simulation test terminal to user side, thereby has saved the human cost whether each simulation test terminal of user side manual test can be used.
Brief description of the drawings
Fig. 1 is the method for supervising first embodiment schematic flow sheet of SOT state of termination of the present invention;
Fig. 2 is the method for supervising second embodiment schematic flow sheet of SOT state of termination of the present invention;
Fig. 3 is method for supervising the 3rd embodiment schematic flow sheet of SOT state of termination of the present invention;
Fig. 4 is that in the method for supervising of SOT state of termination of the present invention, whether control and measuring end server and corresponding simulation test terminal can normal communication one embodiment schematic flow sheets;
Fig. 5 is the supervising device first embodiment high-level schematic functional block diagram of SOT state of termination of the present invention;
Fig. 6 is the supervising device second embodiment high-level schematic functional block diagram of SOT state of termination of the present invention;
Fig. 7 is supervising device the 3rd embodiment high-level schematic functional block diagram of SOT state of termination of the present invention.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the method for supervising first embodiment schematic flow sheet of SOT state of termination of the present invention; As shown in Figure 1, the method for supervising of SOT state of termination of the present invention comprises the following steps:
Step S01, in the time that test lead server is normally connected with cloud server, detect described test lead server and whether normally connect with the simulation test terminal in corresponding cloud server; If so, perform step S02;
Before whether the state of each simulation test terminal of disposing in cloud server in monitoring can be used, first first detect test lead server and whether be normally connected with cloud server; In the situation that test lead server is normally connected with cloud server, can carry out following policer operation; In the time that test lead server can not normally be connected with cloud server, have to stop this monitoring to each simulation test terminal.In the time that test lead server is normally connected with cloud server, continues to detect described test lead server and whether can normally connect with the simulation test terminal in corresponding cloud server; Meanwhile, also can obtain the facility information of all test lead servers that are connected with cloud server.
In a preferred embodiment, in the time that test lead server can not normally be connected with cloud server, can send corresponding warning information, such as sending alarm message, alarm email, information etc. for pointing out background maintenance personnel to safeguard in time.
Further, supervisory control system can configure and whether send corresponding warning information and the receiving terminal of described warning information.
Whether step S02, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
Whether in the time detecting that described test lead server can normally connect with the simulation test terminal in corresponding cloud server, monitoring this test lead server can normal communication with corresponding described simulation test terminal.Whether with corresponding described simulation test terminal can normal communication can be understood as: in the time that test lead server sends request information to corresponding simulation test terminal, monitor corresponding simulation test terminal and whether can return to corresponding response message to described test lead server for described request information if monitoring this test lead server.
Send request after information to corresponding simulation test terminal at test lead server, when supervisory control system monitors described test lead server and receives the response message that described simulation test terminal returns, identifying described test lead server and corresponding described simulation test terminal can normal communication; Send request after information to corresponding simulation test terminal at test lead server, when supervisory control system monitors described test lead server and do not receive the response message that described simulation test terminal returns, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
In a preferred embodiment, in the time that described test lead server can not normally connect with the described simulation test terminal in corresponding cloud server, finish this monitoring to simulation test terminal; Or send and connect abnormal warning information to described test lead server; Or, obtain and record the IP address that connects abnormal described test lead server, during for data analysis, use.
Step S03, record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
Monitored results that whether can normal communication according to the test lead server of step S02 monitoring and corresponding simulation test terminal, records state information corresponding to each simulation test terminal; In the time that test lead server and corresponding simulation test terminal can normal communications, the state information that records this simulation test terminal connects for normal; In the time that test lead server and corresponding simulation test terminal can not normal communications, the state information that records this simulation test terminal connects for abnormal.By record each simulation test terminal status information feedback to described test lead server to show.
Further, supervisory control system also can record and preserve the monitoring log information of solicited status, return value and this supervisory control system self of each simulation test terminal.
Further, supervisory control system can be carried out condition monitoring to each simulation test terminal according to predetermined period (such as 12 hours, 24 hours).
In a preferred embodiment, described the status information feedback of each simulation test terminal of record is comprised to show to described test lead server:
Be normal connection with the state information of all simulation test terminals that are extremely connected all to feed back to described test lead server by state information, directly normal connection corresponding each simulation test terminal or the abnormal state information connecting shown for described test lead server;
Or, be normal connection with the state information of all simulation test terminals that are extremely connected all to feed back to described test lead server by state information, but state information is the show state of the abnormal described simulation test terminal connecting to be set to hide, only show each simulation test terminal of normal connection for described test lead server, do not show the simulation test terminal of abnormal connection;
Or, be only the extremely described test lead server of status information feedback of the normal simulation test terminal connecting by state information, only show each simulation test terminal of normal connection for described test lead server.
It will be appreciated by those skilled in the art that, test lead server shows that the normal connection that each simulation test terminal is corresponding or the display mode of the state information extremely connecting can show by web page, also can show by Application Program Interface, also can show by other means, the present embodiment shows that to test lead server the display mode of state information corresponding to each simulation test terminal is not construed as limiting.
The present embodiment is when normally connecting with cloud server at test lead server and detect described test lead server and be normally connected with the simulation test terminal in corresponding cloud server, and whether monitor described test lead server and corresponding described simulation test terminal can normal communication; Record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to the method for described test lead server to show, there is the beneficial effect whether the simulation test terminal of disposing in automatic monitoring test environment can be used.
Please refer to Fig. 2, Fig. 2 is the method for supervising second embodiment schematic flow sheet of SOT state of termination of the present invention; Described in the present embodiment and Fig. 1, the difference of embodiment is, step S11 and step S12 are only increased, the present embodiment is only described step step S11 and step S12, about other related steps of the method for supervising of SOT state of termination of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 2, the method for supervising of SOT state of termination of the present invention at step S02, monitor described test lead server and whether can before normal communication, also comprise with corresponding described simulation test terminal: in the time that described test lead server is normally connected with corresponding simulation test terminal, execution step S11, according to the IP address that is connected abnormal described test lead server with simulation test terminal of storage, whether abnormal with the connection of record the IP address of identifying the IP address of the test lead server that described simulation test terminal connects described test lead server be consistent; If so, perform step S12; If not, perform step S02;
Step S12, the state information that records described simulation test terminal connect for abnormal;
Whether step S02, monitoring described test lead server can normal communication with corresponding described simulation test terminal.
In the time that test lead server is normally connected with cloud server, obtain the facility information of all test lead servers that are connected with cloud server; In the time that described test lead server can not normally connect with corresponding described simulation test terminal, the IP address of the described test lead server that only recording exceptional connects, and the IP address of the described test lead server of the abnormal connection of record is stored.Or, according to the facility information of described test lead server, obtain the IP address of all described test lead servers, in the time that described test lead server can not normally connect with corresponding described simulation test terminal, the IP address of the abnormal described test lead server connecting of mark.
In the time that described test lead server normally connects with corresponding described simulation test terminal, whether abnormal with the connection of record the IP address of first identifying the IP address of the test lead server that described simulation test terminal connects described test lead server be consistent; If the IP address of the test lead server that described simulation test terminal connects be marked as that to connect the IP address of abnormal test lead server consistent, the state information that directly records described simulation test terminal is abnormal connection.The IP address of the test lead server connecting in described simulation test terminal be marked as that to be connected the IP address of abnormal test lead server inconsistent, whether execution step S02, monitoring described test lead server and corresponding described simulation test terminal can normal communication, and then carries out the flow process of the follow-up monitoring state to simulation test terminal.
The present embodiment is by the time that described test lead server normally connects with corresponding simulation test terminal, after comparing in the IP address of test lead server first simulation test terminal being connected and the IP address that is connected abnormal described test lead server with simulation test terminal of storage, monitor again the method that described test lead server and corresponding described simulation test terminal whether can normal communications, there is the beneficial effect of saving the simulation test terminal monitoring time.
Please refer to Fig. 3, Fig. 3 is method for supervising the 3rd embodiment schematic flow sheet of SOT state of termination of the present invention; Described in the present embodiment and Fig. 2, the difference of embodiment is, has only increased step S04; The present embodiment is only specifically described step S04, about other related steps of the method for supervising of SOT state of termination of the present invention please refer to the specific descriptions of related embodiment, does not repeat them here.
As shown in Figure 3, the method for supervising of SOT state of termination of the present invention also comprises after step S03:
Step S04, according to the state information of described simulation test terminal of record, upgrade the simulation test terminal's status information list of cloud server storage.
According to the state information of each simulation test terminal of step S03 record, upgrade the state information list of the simulation test terminal of cloud server storage; Such as, before once monitor certain simulation test terminal state information connect for normal, this state information of monitoring this simulation test terminal connects for abnormal, will in the state information list of the simulation test terminal of cloud server storage, state information that should simulation test terminal be updated to abnormal connection by normal connection in time.
Further, according to the state information of described simulation test terminal of record, mortality, the number of the abnormal simulation test terminal connecting etc. that supervisory control system can statistical simulation test terminal connects.Such as, adopt curve chart, block diagram or cake chart etc., the number of times of total frequency of failure that all simulation test terminals on (such as one week or one month) cloud server in certain a period of time are connected, the number of times of each simulation test terminal connection failure, the connection failure of each simulation test terminal is added up in data such as the accounting of total frequency of failure are how many, for attendant to supervisory control system analyze, maintenance etc.
The present embodiment, by according to the state information of the described simulation test terminal of record, upgrades the method for the simulation test terminal's status information list of cloud server storage, for the follow-up monitor data analysis to simulation test terminal provides important evidence.
Please refer to Fig. 4, Fig. 4 is that in the method for supervising of SOT state of termination of the present invention, whether control and measuring end server and corresponding simulation test terminal can normal communication one embodiment schematic flow sheets; The present embodiment only to step S02, monitor described test lead server and whether can be further described by normal communication with corresponding described simulation test terminal, about other related steps of the method for supervising of SOT state of termination of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 4, in the method for supervising of SOT state of termination of the present invention, step S02, monitor described test lead server and whether can comprise by normal communication with corresponding described simulation test terminal:
Step S21, send solicited message to described simulation test terminal by test lead server described in application programming interface control;
Step S22, detect described simulation test terminal and whether return to corresponding response message to described test lead server; If so, perform step S23; If not, perform step S24;
Step S23, identifying described test lead server and corresponding described simulation test terminal can normal communication;
Supervisory control system is by API(Application Program Interface, application programming interface) for the first time checkout end server whether be connected normally with described simulation test terminal, make described test lead server send a solicited message to described simulation test terminal by API, and detect corresponding simulation test terminal and whether return to corresponding response message to described test lead server; Return to corresponding response message to described test lead server if monitor simulation test terminal, identifying described test lead server and corresponding described simulation test terminal can normal communication; Do not return to corresponding response message to described test lead server if monitor simulation test terminal, perform step S24.
Step S24, by concurrent at least two the communication request information of test lead server described in described application programming interface control to described simulation test terminal;
Step S25, detect described simulation test terminal and whether return to corresponding response message to described test lead server; If so, perform step S23; If not, perform step S26;
Step S26, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
Do not return to corresponding response message to described test lead server monitoring simulation test terminal, carry out the second inspection by API; In the time carrying out the second inspection, make concurrent many solicited messages of described test lead server to described simulation test terminal by API, and detect corresponding simulation test terminal and whether return to corresponding response message to described test lead server; Return to corresponding response message to described test lead server if monitor simulation test terminal, identifying described test lead server and corresponding described simulation test terminal can normal communication; Do not return to corresponding response message to described test lead server if monitor simulation test terminal, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
In a preferred embodiment, whether with corresponding described simulation test terminal can normal communication comprise: whether picture service and the Event Service monitored on described testing server are connected normally with simulation test terminal if monitoring described test lead server, when picture service on described testing server is all normally connected with simulation test terminal with Event Service, monitoring described testing server and corresponding described simulation test terminal can normal communication; When picture service on described testing server can not normally be connected with simulation test terminal with any one occurrence in Event Service, monitoring described testing server can not normal communication with corresponding described simulation test terminal.
The present embodiment is by utilizing API to connect the method for carrying out twice detection to test lead server with the communication of corresponding simulation test terminal, has the beneficial effect that accurate control and measuring end server and corresponding simulation test terminal whether can normal communications.
Please refer to Fig. 5, Fig. 5 is the supervising device first embodiment high-level schematic functional block diagram of SOT state of termination of the present invention; As shown in Figure 5, the supervising device of SOT state of termination of the present invention comprises: connection detection module 01, communication monitor module 02 and state recording module 03.
Whether connection detection module 01, in the time that test lead server is normally connected with cloud server, detects described test lead server and normally connect with the simulation test terminal in corresponding cloud server;
Before whether the state of each simulation test terminal of disposing in monitoring cloud server can be used, first whether connection detection module 01 detect test lead server and be normally connected with cloud server; In the situation that test lead server is normally connected with cloud server, can carry out following policer operation; In the time that connection detection module 01 detects that test lead server can not normally be connected with cloud server, have to stop this monitoring to each simulation test terminal.In the time that test lead server is normally connected with cloud server, whether connection detection module 01 continues to detect described test lead server and can normally connect with the simulation test terminal in corresponding cloud server; Meanwhile, also can obtain the facility information of all test lead servers that are connected with cloud server.
In a preferred embodiment, in the time that connection detection module 01 detects that test lead server can not normally be connected with cloud server, the supervising device of SOT state of termination can send corresponding warning information, such as sending alarm message, alarm email, information etc. for pointing out background maintenance personnel to safeguard in time.
Further, the supervising device of SOT state of termination can configure and whether send corresponding warning information and the receiving terminal of described warning information.
Communication monitor module 02, whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
In the time that connection detection module 01 detects that described test lead server can normally connect with the simulation test terminal in corresponding cloud server, whether communication monitor module 02 this test lead server of monitoring can normal communication with corresponding described simulation test terminal.Whether communication monitor module 02 this test lead server of monitoring can be understood as by normal communication with corresponding described simulation test terminal: in the time that test lead server sends request information to corresponding simulation test terminal, whether communication monitor module 02 is monitored corresponding simulation test terminal can return to corresponding response message to described test lead server for described request information.
Send request after information to corresponding simulation test terminal at test lead server, when communication monitor module 02 is monitored described test lead server and received the response message that described simulation test terminal returns, identifying described test lead server and corresponding described simulation test terminal can normal communication; Send request after information to corresponding simulation test terminal at test lead server, when communication monitor module 02 is monitored described test lead server and do not received the response message that described simulation test terminal returns, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
In a preferred embodiment, in the time that described test lead server can not normally connect with the described simulation test terminal in corresponding cloud server, the supervising device of SOT state of termination finishes this monitoring to simulation test terminal automatically; Or send and connect abnormal warning information to described test lead server; Or, obtain and record the IP address that connects abnormal described test lead server, during for data analysis, use.
State recording module 03, for recording the state information of described simulation test terminal that can normal communication and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
The test lead server of monitoring according to communication monitor module 02 and corresponding simulation test terminal whether can normal communication monitored results, state recording module 03 records state information corresponding to each simulation test terminal; In the time that test lead server and corresponding simulation test terminal can normal communications, the state information that state recording module 03 records this simulation test terminal connects for normal; In the time that test lead server and corresponding simulation test terminal can not normal communications, the state information that state recording module 03 records this simulation test terminal connects for abnormal; And by record each simulation test terminal status information feedback to described test lead server to show.
Further, state recording module 03 also can record and preserve the monitoring log information of solicited status, return value and this supervisory control system self of each simulation test terminal.
Further, the supervising device of SOT state of termination can carry out condition monitoring to each simulation test terminal according to predetermined period (such as 12 hours, 24 hours).
In a preferred embodiment, state recording module 03 comprises the status information feedback of each simulation test terminal of record to described test lead server to show:
Be normal connection with the state information of all simulation test terminals that are extremely connected all to feed back to described test lead server by state information, directly normal connection corresponding each simulation test terminal or the abnormal state information connecting shown for described test lead server;
Or, be normal connection with the state information of all simulation test terminals that are extremely connected all to feed back to described test lead server by state information, but state information is the show state of the abnormal described simulation test terminal connecting to be set to hide, only show each simulation test terminal of normal connection for described test lead server, do not show the simulation test terminal of abnormal connection;
Or, be only the extremely described test lead server of status information feedback of the normal simulation test terminal connecting by state information, only show each simulation test terminal of normal connection for described test lead server.
It will be appreciated by those skilled in the art that, test lead server shows that the normal connection that each simulation test terminal is corresponding or the display mode of the state information extremely connecting can show by web page, also can show by Application Program Interface, also can show by other means, the present embodiment shows that to test lead server the display mode of state information corresponding to each simulation test terminal is not construed as limiting.
The present embodiment is when normally connecting with cloud server at test lead server and detect described test lead server and be normally connected with the simulation test terminal in corresponding cloud server, and whether monitor described test lead server and corresponding described simulation test terminal can normal communication; Record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show, there is the beneficial effect whether the simulation test terminal of disposing in automatic monitoring test environment can be used.
Please refer to Fig. 6, Fig. 6 is the supervising device second embodiment high-level schematic functional block diagram of SOT state of termination of the present invention; Described in the present embodiment and Fig. 5, the difference of embodiment is, has only increased address contrast module 04; The present embodiment is only described specifically address contrast module 04, about other related modules of the supervising device of SOT state of termination of the present invention please refer to the specific descriptions of related embodiment, does not repeat them here.
As shown in Figure 6, the supervising device of SOT state of termination of the present invention also comprises:
Address contrast module 04, for in the time that described test lead server normally connects with corresponding simulation test terminal, according to the IP address that is connected abnormal described test lead server with simulation test terminal of storage, whether abnormal with the connection of record the IP address of identifying the IP address of the test lead server that described simulation test terminal connects described test lead server be consistent.
In the time that test lead server is normally connected with cloud server, the supervising device of SOT state of termination obtains the facility information of all test lead servers that are connected with cloud server; In the time that described test lead server can not normally connect with corresponding described simulation test terminal, the IP address of the state recording module 03 described test lead server that only recording exceptional connects, and the IP address of the described test lead server of the abnormal connection of record is stored.Or, according to the facility information of described test lead server, state recording module 03 is obtained the IP address of all described test lead servers, in the time that described test lead server can not normally connect with corresponding described simulation test terminal, the IP address of the abnormal described test lead server connecting of mark.
In the time that described test lead server normally connects with corresponding described simulation test terminal, it is consistent that first contrast module 04 in address identifies the IP address of whether abnormal with the connection of the record described test lead server in the IP address of the test lead server that described simulation test terminal connects; If the IP address that contrast module 04 in address is identified the test lead server that described simulation test terminal connects be marked as that to connect the IP address of abnormal test lead server consistent, directly to record the state information of described simulation test terminal be abnormal connection to state recording module 03.The IP address of identifying the test lead server that described simulation test terminal connects in address contrast module 04 be marked as that to be connected the IP address of abnormal test lead server inconsistent, whether can normal communication, and then carry out the flow process of the follow-up monitoring state to simulation test terminal if monitoring described test lead server and corresponding described simulation test terminal by communication monitor module 02.
The present embodiment is by the time that described test lead server normally connects with corresponding simulation test terminal, after comparing in the IP address of test lead server first simulation test terminal being connected and the IP address that is connected abnormal described test lead server with simulation test terminal of storage, whether can normal communication, have the beneficial effect of saving the simulation test terminal monitoring time if monitoring again described test lead server and corresponding described simulation test terminal.
Please refer to Fig. 7, Fig. 7 is supervising device the 3rd embodiment high-level schematic functional block diagram of SOT state of termination of the present invention.The present embodiment and figure
List update module 05, for according to the state information of the described simulation test terminal of record, upgrades the simulation test terminal's status information list of cloud server storage.
The state information of the each simulation test terminal recording according to state recording module 03, list update module 05 is upgraded the state information list of the simulation test terminal of cloud server storage; Such as, before once monitor certain simulation test terminal state information connect for normal, this state information of monitoring this simulation test terminal connects for abnormal, and list update module 05 will be updated to abnormal connection to state information that should simulation test terminal by normal connection in the state information list of the simulation test terminal of cloud server storage in time.
Further, the state information of the described simulation test terminal recording according to state recording module 03, the mortality that list update module 05 can statistical simulation test terminal connects, the number of the abnormal simulation test terminal connecting etc.Such as, adopt curve chart, block diagram or cake chart etc., the number of times of total frequency of failure that all simulation test terminals on (such as one week or one month) cloud server in certain a period of time are connected, the number of times of each simulation test terminal connection failure, the connection failure of each simulation test terminal is added up in data such as the accounting of total frequency of failure are how many, for attendant to supervisory control system analyze, maintenance etc.
The present embodiment, by according to the state information of the described simulation test terminal of record, upgrades the simulation test terminal's status information list of cloud server storage, for the follow-up monitor data analysis to simulation test terminal provides important evidence.
Based on the specific descriptions of embodiment described in Fig. 5, Fig. 6 and Fig. 7, in a preferred embodiment, whether communication monitor module 02, in the time that described test lead server normally connects with corresponding described simulation test terminal, is monitored described test lead server and can be comprised by normal communication with corresponding described simulation test terminal:
Communication monitor module 02 by API for the first time checkout end server whether be connected normally with described simulation test terminal, make described test lead server send a solicited message to described simulation test terminal by API, and detect corresponding simulation test terminal and whether return to corresponding response message to described test lead server; If communication monitor module 02 monitors simulation test terminal and returns to corresponding response message to described test lead server, identifying described test lead server can normal communication with corresponding described simulation test terminal.
Monitor simulation test terminal at communication monitor module 02 and do not return to corresponding response message to described test lead server, carry out the second inspection by API; In the time carrying out the second inspection, communication monitor module 02 makes concurrent many solicited messages of described test lead server to described simulation test terminal by API, and detects corresponding simulation test terminal and whether return to corresponding response message to described test lead server; Return to corresponding response message to described test lead server if communication monitor module 02 monitors simulation test terminal, identifying described test lead server and corresponding described simulation test terminal can normal communication; If communication monitor module 02 monitors simulation test terminal and do not return to corresponding response message to described test lead server, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
In a preferred embodiment, whether communication monitor module 02 is monitored described test lead server and can be comprised by normal communication with corresponding described simulation test terminal: whether picture service and the Event Service monitored on described testing server are connected normally with simulation test terminal, when picture service on described testing server is all normally connected with simulation test terminal with Event Service, communication monitor module 02 is monitored described testing server and corresponding described simulation test terminal can normal communication; When picture service on described testing server can not normally be connected with simulation test terminal with any one occurrence in Event Service, communication monitor module 02 is monitored described testing server can not normal communication with corresponding described simulation test terminal.
The present embodiment is by utilizing API to connect and carry out twice detection with the communication of corresponding simulation test terminal test lead server, has the beneficial effect that accurate control and measuring end server and corresponding simulation test terminal whether can normal communications.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the device that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or device.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the device that comprises this key element and also have other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add essential general hardware platform by software and realize, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions (can be mobile phones in order to make a station terminal equipment, computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (12)

1. a method for supervising for SOT state of termination, is characterized in that, comprises the following steps:
In the time that test lead server is normally connected with cloud server, detects described test lead server and whether normally connect with the simulation test terminal in corresponding cloud server;
Whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
Record can normal communication the state information of described simulation test terminal and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
2. the method for claim 1, is characterized in that, whether the described test lead server of described monitoring can also comprise before normal communication with corresponding described simulation test terminal:
In the time that described test lead server normally connects with corresponding simulation test terminal, according to the IP address that is connected abnormal described test lead server with simulation test terminal of storage, whether abnormal with the connection of record the IP address of identifying the IP address of the test lead server that described simulation test terminal connects described test lead server be consistent;
If the two is consistent, the state information that records described simulation test terminal connects for abnormal;
If the two is inconsistent, execution step: whether monitor described test lead server can normal communication with corresponding described simulation test terminal.
3. method as claimed in claim 1 or 2, is characterized in that, whether the described test lead server of described monitoring can comprise by normal communication with corresponding described simulation test terminal:
Send a solicited message to described simulation test terminal by test lead server described in application programming interface control;
Detect described simulation test terminal and whether return to corresponding response message to described test lead server;
In the time that described simulation test terminal is returned to corresponding response message to described test lead server, identifying described test lead server can normal communication with corresponding described simulation test terminal.
4. method as claimed in claim 3, is characterized in that, whether the described simulation test terminal of described detection returns to corresponding response message also comprises to described test lead server:
In the time that described simulation test terminal is not returned to corresponding response message to described test lead server, again by extremely described simulation test terminal of concurrent at least two the communication request information of test lead server described in described application programming interface control;
Again detect described simulation test terminal and whether return to corresponding response message to described test lead server;
Return to corresponding response message when the described test lead server in described simulation test terminal, identifying described test lead server and corresponding described simulation test terminal can normal communication;
In the time that described simulation test terminal is not returned to corresponding response message to described test lead server, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
5. method as claimed in claim 1 or 2, is characterized in that, also comprises:
According to the state information of the described simulation test terminal of record, upgrade the simulation test terminal's status information list of cloud server storage.
6. the method for claim 1, is characterized in that, described the status information feedback of the simulation test terminal of record is comprised to show to described test lead server:
Be only extremely described test lead server of the normal described simulation test terminal feedback connecting by the described state information of record, only show and connect normal described simulation test terminal for described test lead server.
7. a supervising device for SOT state of termination, is characterized in that, comprising:
Whether connection detection module, in the time that test lead server is normally connected with cloud server, detects described test lead server and normally connect with the simulation test terminal in corresponding cloud server;
Communication monitor module, whether in the time that described test lead server normally connects with corresponding described simulation test terminal, monitoring described test lead server and corresponding described simulation test terminal can normal communication;
State recording module, for recording the state information of described simulation test terminal that can normal communication and/or the state information of described simulation test terminal that can not normal communication, and by the status information feedback of the simulation test terminal of record to described test lead server to show.
8. device as claimed in claim 7, is characterized in that, also comprises:
Address contrast module, for in the time that described test lead server normally connects with corresponding simulation test terminal, according to the IP address that is connected abnormal described test lead server with simulation test terminal of storage, whether abnormal with the connection of record the IP address of identifying the IP address of the test lead server that described simulation test terminal connects described test lead server be consistent;
When described state recording module is also consistent for the IP address of: the IP address of test lead server that connects in the described simulation test terminal of the identification described test lead server abnormal with the connection of record, the state information that records described simulation test terminal is abnormal connection.
9. device as claimed in claim 7, is characterized in that, described communication monitor module also for:
Send a solicited message to described simulation test terminal by test lead server described in application programming interface control;
Detect described simulation test terminal and whether return to corresponding response message to described test lead server;
In the time that described simulation test terminal is returned to corresponding response message to described test lead server, identifying described test lead server can normal communication with corresponding described simulation test terminal.
10. device as claimed in claim 9, is characterized in that, described communication monitor module also for:
In the time that described simulation test terminal is not returned to corresponding response message to described test lead server, again by extremely described simulation test terminal of concurrent at least two the communication request information of test lead server described in described application programming interface control;
Again detect described simulation test terminal and whether return to corresponding response message to described test lead server;
Return to corresponding response message when the described test lead server in described simulation test terminal, identifying described test lead server and corresponding described simulation test terminal can normal communication;
In the time that described simulation test terminal is not returned to corresponding response message to described test lead server, identifying described test lead server can not normal communication with corresponding described simulation test terminal.
11. devices as described in claim 7 to 10 any one, is characterized in that, also comprise:
List update module, for according to the state information of the described simulation test terminal of record, upgrades the simulation test terminal's status information list of cloud server storage.
12. as claimed in claim 7 or 8 device, it is characterized in that, described state recording module also for:
Be only extremely described test lead server of the normal described simulation test terminal feedback connecting by the described state information of record, only show and connect normal described simulation test terminal for described test lead server.
CN201310173245.XA 2013-05-10 2013-05-10 The monitoring method and device of the SOT state of termination Active CN104144084B (en)

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 true CN104144084A (en) 2014-11-12
CN104144084B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967667A (en) * 2015-05-27 2015-10-07 国家计算机网络与信息安全管理中心 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
CN109995618A (en) * 2019-04-12 2019-07-09 深圳前海微众银行股份有限公司 Network Survivability monitoring method, device, equipment and computer readable storage medium
CN110161729A (en) * 2019-05-17 2019-08-23 深圳市华星光电半导体显示技术有限公司 Display panel test method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073355A1 (en) * 2000-08-01 2002-06-13 Qwest Communications International, Inc. Proactive repair process in the xDSL network (with a VDSL focus)
WO2004072669A1 (en) * 2003-02-14 2004-08-26 Advantest Corporation Method and apparatus for testing integrated circuits
CN101018162A (en) * 2007-01-15 2007-08-15 华为技术有限公司 Simulated testing system and method of the business processing network element
CN101303684A (en) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 Method for upgrading software edition of a plurality of mobile terminal
CN101727374A (en) * 2008-10-15 2010-06-09 英业达股份有限公司 Method for testing PS/2 interface
CN102736972A (en) * 2011-03-30 2012-10-17 国际商业机器公司 Processing method of test case of application to be tested and system
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020073355A1 (en) * 2000-08-01 2002-06-13 Qwest Communications International, Inc. Proactive repair process in the xDSL network (with a VDSL focus)
WO2004072669A1 (en) * 2003-02-14 2004-08-26 Advantest Corporation Method and apparatus for testing integrated circuits
CN101018162A (en) * 2007-01-15 2007-08-15 华为技术有限公司 Simulated testing system and method of the business processing network element
CN101303684A (en) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 Method for upgrading software edition of a plurality of mobile terminal
CN101727374A (en) * 2008-10-15 2010-06-09 英业达股份有限公司 Method for testing PS/2 interface
CN102736972A (en) * 2011-03-30 2012-10-17 国际商业机器公司 Processing method of test case of application to be tested and system
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘荣荣: "基于云计算的移动测试平台MCT的设计与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)·信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967667A (en) * 2015-05-27 2015-10-07 国家计算机网络与信息安全管理中心 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
CN109995618A (en) * 2019-04-12 2019-07-09 深圳前海微众银行股份有限公司 Network Survivability monitoring method, device, equipment and computer readable storage medium
CN109995618B (en) * 2019-04-12 2023-03-21 深圳前海微众银行股份有限公司 Network survival monitoring method, device, equipment and computer readable storage medium
CN110161729A (en) * 2019-05-17 2019-08-23 深圳市华星光电半导体显示技术有限公司 Display panel test method and system
CN110161729B (en) * 2019-05-17 2021-08-03 深圳市华星光电半导体显示技术有限公司 Display panel testing method and system

Also Published As

Publication number Publication date
CN104144084B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN104144084A (en) Terminal state monitoring method and device
CN102708050B (en) Method and system for testing mobile application
CN110568838B (en) Vehicle quiescent current acquisition method and system, electronic device and storage medium
CN109709936A (en) Equipment running status monitoring method, device, computer equipment and storage medium
US20160063387A1 (en) Monitoring and detecting environmental events with user devices
CN104572318A (en) Report information obtaining method, device, equipment and system
CN102056200A (en) Service processing flow monitoring method and system
CN110765189A (en) Exception management method and system for Internet products
CN114356631A (en) Fault positioning method and device, computer equipment and storage medium
CN107229562A (en) A kind of test report automatic statistical analysis method and device
CN114168471A (en) Test method, test device, electronic equipment and storage medium
CN108111343B (en) Method and equipment for realizing terminal monitoring based on cloud platform and computer storage medium
CN108064054B (en) FTP file transmission monitoring method and system in LTE system
RU2532714C2 (en) Method of acquiring data when evaluating network resources and apparatus therefor
CN108664405B (en) Automatic monitoring method and terminal based on funnel model
CN116843314A (en) Monitoring terminal operation and maintenance management method, system, equipment and storage medium
CN109426240B (en) Test method and device
CN114500316B (en) Method and system for inspecting equipment of Internet of things
CN111045915A (en) Safety test method and device based on product function test case
US10432472B1 (en) Network operation center (NOC) tool pattern detection and trigger to real-time monitoring operation mode
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN110662242B (en) Antenna feeder system detection method, network management equipment and computer readable storage medium
CN112596750A (en) Application testing method and device, electronic equipment and computer readable storage medium
CN205692155U (en) The test device of electronic equipment
CN108243442B (en) Analysis processing method and device for wireless communication network type fallback

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