CN101296134B - Device and method for testing stability of network appliance - Google Patents

Device and method for testing stability of network appliance Download PDF

Info

Publication number
CN101296134B
CN101296134B CN2008101261183A CN200810126118A CN101296134B CN 101296134 B CN101296134 B CN 101296134B CN 2008101261183 A CN2008101261183 A CN 2008101261183A CN 200810126118 A CN200810126118 A CN 200810126118A CN 101296134 B CN101296134 B CN 101296134B
Authority
CN
China
Prior art keywords
data
network equipment
time
obstructed
secondary data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008101261183A
Other languages
Chinese (zh)
Other versions
CN101296134A (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.)
Global Innovation Polymerization LLC
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101261183A priority Critical patent/CN101296134B/en
Publication of CN101296134A publication Critical patent/CN101296134A/en
Application granted granted Critical
Publication of CN101296134B publication Critical patent/CN101296134B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a device for testing the stability of network equipment, which comprises a data communication module and a data processing module. The data processing module is applied to carrying out data statistics processing for testing the stability of network equipment according to data received and calculating the polling time interval of the data of the current time between the prior time and the later time and the obstruction time of the data of the current time; the calculating result and information relevant to network equipment in the data are sent together. The invention also discloses a method for testing the stability of network equipment, which comprises the steps that: the data processing module carries out data statistics processing for testing the stability of network equipment according to data received and calculating the polling time interval of the data of the current time between the prior time and the later time and the obstruction time of the data of the current time. The device and the method of the invention can obtain the obstruction time accurately on the basis of comprehensive consideration, thereby measuring the stability of network equipment in time and accurately and positioning to network equipment with poor operation or stability in time.

Description

A kind of device and method of testing stability of network appliance
Technical field
The present invention relates to the technology of testing stability of network appliance, relate in particular to a kind of device and method of improved testing stability of network appliance.
Background technology
Because the network equipment is the important component part in the network, and the effect in network is very big, therefore; The stability of the network equipment and running status are self-evident holds the balance, and the network equipment goes wrong and can cause very serious consequence, such as: might itself just there be quality problems in the network equipment of poor stability; At any time might crash; Make part even overall network paralyse, perhaps network equipment switch-on and-off can be lost the data of transmission etc.Through judgement, use the user of the network equipment can learn the ruuning situation of numerous network equipments in network as early as possible, so that the unsettled network equipment is positioned to stability result.That is to say that the stability of judgement and fixer network equipment can let the user who uses the network equipment change the network equipment that moves bad or poor stability as soon as possible, thus the serious consequence of having avoided the network equipment to go wrong and caused.At present, the current state that the technology of the existing testing stability of network appliance of employing only can be checked the network equipment, whether stable, and navigate on the network equipment that moves bad or poor stability if obviously can not judge the network equipment in view of the above well.
And; Because the network equipment is under obstructed situation; Be under the obstructed obstructed situation that causes of network between the network equipment or the network equipment self goes wrong under the obstructed situation that is caused; Use the usefulness of the network equipment can't obtain the data on the network equipment per family, thus can't be in time, the stability of Measurement Network equipment exactly.If adopt the technology of existing testing stability of network appliance; Rigidly the obstructed obstructed time of the network that causes of the network between the network equipment; Also calculate in the obstructed time that the network equipment restarts or the network equipment self goes wrong, so just can not correctly reflect the ruuning situation of the network equipment.That is to say; Because when the user who uses the network equipment can't get access to the data on the network equipment; The obstructed time of being not sure of out current network equipment is the obstructed obstructed situation that causes of network that depends between the network equipment; Still depend on the obstructed situation that the network equipment self goes wrong and caused, therefore, need take all factors into consideration to this obstructed time during statistics.It is thus clear that, can on the basis of taking all factors into consideration, obtain the obstructed time accurately, be the good and bad index of weighing the stability of network appliance measuring technology.Also do not have a kind of implementation at present, can on the basis of taking all factors into consideration, realize obtaining accurately the obstructed time, thus can be in time, the stability of Measurement Network equipment exactly, and in time navigate on the network equipment of the bad or poor stability of operation.
Summary of the invention
In view of this; Main purpose of the present invention is to provide a kind of device of testing stability of network appliance; Can on the basis of taking all factors into consideration, realize obtaining accurately the obstructed time; Thereby can be in time, the stability of Measurement Network equipment exactly, and in time navigate on the network equipment of the bad or poor stability of operation.
Another object of the present invention is to provide a kind of method of testing stability of network appliance; Can on the basis of taking all factors into consideration, realize obtaining accurately the obstructed time; Thereby can be in time, the stability of Measurement Network equipment exactly, and in time navigate on the network equipment of the bad or poor stability of operation.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of device of testing stability of network appliance, this device comprises: data communication module and data processing module; Wherein,
Data communication module is used for the data of obtaining from the said network equipment are sent to said data processing module;
Data processing module, the data statistics that is used for carrying out according to the said data that receive testing stability of network appliance is handled, and calculates polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data; The relevant information of the network equipment described in said result of calculation and the said data is sent in the lump; Wherein,
When said data processing module get access to last time with this network equipment on off operating mode for passing to when obstructed, the obstructed time of said this secondary data of calculating is specially: t=intervalTime/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data;
When said data processing module get access to last time with this network equipment on off operating mode when not passing to, the obstructed time of said this secondary data of calculating is specially: t=intervalTime-sysUpTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode when passing to, the obstructed time of said this secondary data of calculating is specially: t=(intervalTime-sysUpTime)/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode for not passing to when obstructed, the obstructed time of said this secondary data of calculating is specially: t=intervalTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data.
Wherein, this device also comprises data memory module, is used for receiving from said data processing module the relevant information and the storage of the said result of calculation and the said network equipment.
Wherein, this device also comprises the information interchange module, is used to respond query manipulation, and inquires about back feedback query result to said data memory module.
A kind of method of testing stability of network appliance, this method may further comprise the steps:
A, will send to data processing module from the data that the network equipment obtains;
B, said data processing module handle according to the data statistics that the said data that receive are carried out testing stability of network appliance, and calculate polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data; Wherein,
When said data processing module get access to last time with this network equipment on off operating mode for passing to when obstructed, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data;
When said data processing module get access to last time with this network equipment on off operating mode when not passing to, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime-sysUpTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode when passing to, among the step B, the obstructed time of said this secondary data of calculating is specially: t=(intervalTime-sysUpTime)/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode for not passing to when obstructed, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data.
Wherein, also comprise behind the step B:
C, said data processing module send to data memory module in the lump with the relevant information of the network equipment described in said result of calculation and the said data and store;
D, carry out query manipulation based on the information of the information of wanting query facility and time period, the said query manipulation of information interchange module responds, and inquire about back feedback query result to said data memory module.
Wherein, the relevant information of the said network equipment comprises: the time of network equipment sign, network equipment running time, network equipment on off operating mode and network equipment return data.
Wherein, among the step B, the data statistics that said data processing module carries out testing stability of network appliance according to the said data that receive is handled, and the polling time interval that calculates twice of the front and back of this secondary data is specially:
Said data processing module carries out the double poll in front and back; Corresponding to said network equipment sign; After getting access to last time the time of network equipment running time, network equipment on off operating mode, network equipment return data with this from said data memory module, according to the polling time interval that last time goes out twice of the front and back of said secondary data that obtains with this Time Calculation of network equipment return data.
Wherein, Step C further is: judge said data processing module gets access to last time whether the network equipment on off operating mode with this was logical for passing to; When judge last time with this network equipment on off operating mode when passing to, whether the polling time interval of twice of front and back that continues to judge said secondary data less than said this network equipment running time, if; Then do not carry out the storage of network equipment relevant information in this result of calculation and this secondary data, otherwise store.
Can calculate the polling time interval of twice of the front and back of this secondary data through data processing module; Based on the concrete analysis of the network equipment on off operating mode situation that double poll before and after this secondary data is obtained, and the polling time interval of twice of front and back of this secondary data that combines to calculate, can calculate the obstructed time of this secondary data.Adopt the present invention on the basis of taking all factors into consideration, to realize obtaining accurately the obstructed time, thus can be in time, the stability of Measurement Network equipment exactly, and in time navigate on the network equipment that moves bad or poor stability.That is to say, adopt the present invention whether to stablize and be very helpful for the user's awareness network equipment operation that uses the network equipment.Through judgement, use the user of the network equipment can learn the ruuning situation of numerous network equipments in network as early as possible, so that the unsettled network equipment is carried out location accurately and timely to stability result.The stability of judgement and positioning equipment can let the user who uses the network equipment change the bad network equipment of operation as soon as possible, avoids because the serious consequence that the network equipment goes wrong and brought.
And then; The user can select the network equipment and the time period that will inquire about through the information interchange module; According to user's selection, the information interchange module to the data memory module operation of fetching data accomplish inquiry, and the Query Result of obtaining sent to be shown to the user on the operation interface.Based on user's selection, can inquire the break-make record of the network equipment of certain period through the information interchange module so, and the duration of each break-make record.And prior art only can be checked the current state of the network equipment, and obviously, adopting the present invention to be connected situation with network for user's detail knowledge network equipment ruuning situation of using the network equipment is very easily.Through the detail record of awareness network equipment, use the user of the network equipment just can make correct judgement so according to s own situation to stability of network appliance.
Description of drawings
Fig. 1 is the composition structural representation of apparatus of the present invention;
Fig. 2 is the realization flow sketch map of the inventive method.
Embodiment
Core concept of the present invention is: the polling time interval that calculates twice of the front and back of this secondary data; Based on the concrete analysis of the network equipment on off operating mode situation that double poll before and after this secondary data is obtained, and the polling time interval of twice of front and back of this secondary data that combines to calculate, can calculate the obstructed time of this secondary data.Adopt the present invention on the basis of taking all factors into consideration, to realize obtaining accurately the obstructed time, thus can be in time, the stability of Measurement Network equipment exactly, and in time navigate on the network equipment that moves bad or poor stability.
Below in conjunction with accompanying drawing the enforcement of technical scheme is done further to describe in detail.
As shown in Figure 1, a kind of device of testing stability of network appliance, this device comprises: data communication module 1 and data processing module 2.Wherein, data communication module 1 is used to connect the network equipment, carries out data communication with the network equipment; To send to data processing module 2 from the data that the network equipment obtains, handle so that data processing module 2 carries out the data statistics of follow-up test stability of network appliance.Data processing module 2 is used for carrying out according to the data that receive the data statistics of testing stability of network appliance to be handled, and calculates the polling time interval of twice of the front and back of this secondary data, and the obstructed time of this secondary data; Be polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data with result of calculation, and the relevant information of the network equipment that receives in the data is sent in the lump.Wherein, the relevant information of the network equipment comprises: the time of network equipment sign, network equipment running time, network equipment on off operating mode, network equipment return data.
Here it is to be noted; Data processing module 2 is used for carrying out according to the data that receive the data statistics processing of testing stability of network appliance; The polling time interval that comprises twice of the front and back of calculating this secondary data, and the obstructed time of this secondary data be the current up-to-date obstructed time.Wherein, the obstructed time mark of this secondary data is t, and is especially main with the obstructed time t that calculates this secondary data.Here, to the obstructed time, the obstructed time comprises: the obstructed time of obstructed obstructed time of the network that causes of the network between the network equipment and network equipment abnormal running, the obstructed time that goes wrong such as the network equipment self.To poll, the mode of obtaining network equipment service data is called poll.The polling time interval that the front and back of this secondary data are twice is labeled as intervalTime, and the Time Calculation of the time of the network equipment return data through last time and this network equipment return data obtains.This network equipment is labeled as sysUpTime running time, and be to restart the value of running time up till now network equipment the last time this network equipment running time.So, through the network equipment on off operating mode that the double poll in the front and back of this secondary data is obtained, the obstructed time t that makes data processing module calculate this secondary data is divided into four kinds of situation.Specifically, first kind of situation is: the network equipment on off operating mode that the double poll in front and back obtains is to pass to obstructed situation.At this moment, calculate the obstructed time t=intervalTime/2 of this secondary data.Second kind of situation is: the network equipment on off operating mode that the double poll in front and back obtains is not for passing to logical situation.At this moment, calculate the obstructed time t=intervalTime-sysUpTime of this secondary data; If t<0 is then regarded t as 0 and is handled.The third situation is: the network equipment on off operating mode that the double poll in front and back obtains is to pass to logical situation.At this moment, calculate the obstructed time t=(intervalTime-sysUpTime)/2 of this secondary data; If t<0 is then regarded t as 0 and is handled.The 4th kind of situation is: the network equipment on off operating mode that the double poll in front and back obtains is not for passing to obstructed situation.At this moment, calculate the obstructed time t=intervalTime of this secondary data.
As shown in Figure 1; A kind of device of testing stability of network appliance; This device also comprises data memory module 3; Be used for receiving polling time interval and the obstructed time of this secondary data that said result of calculation is twice of the front and back of this secondary data, and the relevant information of the network equipment in the data that receives is also stored from data processing module 2.
As shown in Figure 1; A kind of device of testing stability of network appliance; This device also comprises information interchange module 4; Be used to respond user's query manipulation, and according to user's query manipulation after data memory module 3 is inquired about, Query Result sent to show to come the feedback query result to give the user on the operation interface.Here; The user can select the network equipment and the time period that will inquire about through information interchange module 4; According to user's selection, inquiry is accomplished in the operation of fetching data of 4 pairs of data memory modules 3 of information interchange module, and the Query Result of obtaining sent to is shown to the user on the operation interface.Here it is pointed out that selection, can inquire the break-make record of the network equipment of certain period through information interchange module 4 based on the user, and the duration of each break-make record.And prior art only can be checked the current state of the network equipment, and obviously, adopting the present invention to be connected situation with network for user's detail knowledge network equipment ruuning situation of using the network equipment is very easily.Through the detail record of awareness network equipment, use the user of the network equipment just can make correct judgement so according to s own situation to stability of network appliance.
As shown in Figure 2, a kind of method of testing stability of network appliance, this method may further comprise the steps:
The data preparation that step 101, data communication module will be obtained from the network equipment and be packaged into specific data structure after, send to data processing module.
Here, to specific data structure, this specific data structure was meant network equipment running time; The time of network equipment return data is such as 2008-6-25 11:48:32; Network equipment on off operating mode; The data combination of this several types of network equipment sign is represented the data after this combination with a name together.
The data statistics that step 102, data processing module are carried out testing stability of network appliance according to the data that receive is handled, and calculates polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data.
Step 103, data processing module send to data memory module in the lump with the relevant information of the network equipment in said result of calculation and the data and store.
Here, the polling time interval of twice of the front and back of this secondary data of promptly calculating through step 102 of said result of calculation and the obstructed time of this secondary data.The relevant information of the network equipment comprises: the time of network equipment sign, network equipment running time, network equipment on off operating mode and network equipment return data.
Step 104, user are carried out query manipulation based on the information of wanting query facility and the information of time period selected, information interchange module responds query manipulation, and inquire about feedback query result afterwards to data memory module.
That is to say; The user uses the information interchange module to select equipment and the time period that will inquire about; Information interchange module responds user's query manipulation; And according to user's query manipulation after data memory module is inquired about, Query Result sent to show to come the feedback query result to give the user on the operation interface.
Here; Concrete processing procedure to step 102; In the step 102; The process that data processing module carries out the data statistics processing of testing stability of network appliance according to the data that receive is actually: corresponding to current network equipment sign; Data processing module takes out the data that the current network equipment last time received from data memory module, promptly comprise the relevant information of the last time network equipment of the time of last time network equipment running time, network equipment on off operating mode last time, network equipment return data last time; Corresponding to current network equipment sign; Data processing module takes out the data of current this reception of the network equipment from data memory module, promptly comprise this network equipment running time, this network equipment on off operating mode, this relevant information of this network equipment of time of network equipment return data; The data that the current network equipment last time received are carried out the data statistics processing with the data of this reception.And, when the data of this reception are the data of obtaining for the first time, just with the data that last time received of analogue data as these data of obtaining for the first time.Wherein, The time of analogue data is used the start-up time of this device; And suppose that the current network equipment is obstructed situation, the obstructed situation that is equivalent to be used as not existing of the network equipment network equipment is handled, and can not influence the result of calculation that Practical Calculation goes out like this.
So in the step 102; The data statistics that data processing module carries out testing stability of network appliance according to the data that receive is handled; And the polling time interval that calculates twice of the front and back of this secondary data is specially: data processing module carries out the double poll in front and back; Identify corresponding to the network equipment; After getting access to last time the time of network equipment running time, network equipment on off operating mode, network equipment return data with this from data memory module, according to the polling time interval that last time goes out twice of the front and back of this secondary data that obtains with this Time Calculation of network equipment return data.That is to say, go out the polling time interval of twice of the front and back of this secondary data according to the Time Calculation of time of the network equipment return data last time that obtains and this network equipment return data.And; In the step 102; The obstructed time of calculating this secondary data also is to do similar processing; Carry out the double poll in front and back at data processing module, corresponding to network equipment sign, get access to last time the time of network equipment running time, network equipment on off operating mode, network equipment return data with this from data memory module after; Take all factors into consideration the network equipment on off operating mode last time that obtains and the different situations of change of this network equipment on off operating mode, the obstructed time of calculating this secondary data.Below under this difference situation of change, calculate the obstructed time of this secondary data and set forth.
First kind of situation, when data processing module gets access to last time network equipment on off operating mode and this network equipment on off operating mode for passing to when obstructed, in the step 102, the obstructed time of calculating this secondary data is specially: t=intervalTime/2; Wherein, t is the obstructed time of this secondary data, and intervalTime is the polling time interval of twice of the front and back of this secondary data.
Here it is to be noted; Because under the obstructed situation of the network equipment; Can't obtain this network equipment sysUpTim running time, therefore be not sure of in the front and back of this secondary data twice poll time intervalTime at interval in, the network equipment be when begin obstructed; The obstructed time of this secondary data is got intervalTime/2 so, reduces error with this.
Second kind of situation, when data processing module gets access to last time network equipment on off operating mode and this network equipment on off operating mode when not passing to, in the step 102, the obstructed time of calculating this secondary data is specially: t=intervalTime-sysUpTime; Wherein, t is the obstructed time of this secondary data, and intervalTime is the polling time interval of twice of the front and back of this secondary data, and sysUpTime is this network equipment running time; If then handle t t<0 as 0.
Here it is to be noted; We can obtain this network equipment sysUpTime running time because under logical situation; So in twice the poll time intervalTime, remove sysUpTime, it is exactly the obstructed time of this secondary data in the front and back of this secondary data.But, consider that the obstructed situation of the network equipment might be because of the obstructed obstructed situation that causes of network between the network equipment, so sysUpTime can be greater than intervalTime sometimes.Get intervalTime-sysUpTime for well according to the obstructed time of above this secondary data of analysis, if this value less than zero, then the obstructed time of this secondary data just gets zero.
The third situation, when data processing module gets access to last time network equipment on off operating mode and this network equipment on off operating mode when passing to, in the step 102, the obstructed time of calculating this secondary data is specially: t=(intervalTime-sysUpTime)/2; Wherein, t is the obstructed time of this secondary data, and intervalTime is the polling time interval of twice of the front and back of this secondary data, and sysUpTime is this network equipment running time; If then handle t t<0 as 0.
Here it is to be noted; Not not in particular cases, the obstructed time of this secondary data is zero naturally, still; Might be in the front and back of this secondary data obstructed situation occurs in twice the polling time interval intervalTime, this situation can be judged through calculating.If sysUpTime>=intervalTime, it is logical to explain that the network equipment always is in intervalTime, if sysUpTime<intervalTime explains that the network equipment once broke in intervalTime.Because when disconnected and logical can't learn the network equipment is, therefore, the obstructed time of this secondary data should be got (intervalTime-sysUpTime)/2, comes to reduce error with this as far as possible, and is same, if this is worth less than zero, then the obstructed time of this secondary data just gets zero.
The 4th kind of situation, when data processing module gets access to last time network equipment on off operating mode and this network equipment on off operating mode for not passing to when obstructed, in the step 102, the obstructed time of calculating this secondary data is specially: t=intervalTime; Wherein, t is the obstructed time of this secondary data, and intervalTime is the polling time interval of twice of the front and back of this secondary data.
Here it is pointed out that because the network equipment breaks always, can't obtain network equipment running time, being not sure of the existing problem of the network equipment is the obstructed or network equipment shutdown of network, therefore handles with the disconnected always situation of the network equipment.Do not consider in other words in the front and back of this secondary data whether this network equipment once passed through in twice the polling time interval intervalTime.The obstructed time of so, getting this secondary data is intervalTime.
In sum, through above analysis to four kinds of situation, but the obtaining of the obstructed time t of knowledge capital secondary data relies on for the polling time interval intervalTime of twice of the front and back of this secondary data fully.Can draw from four kinds of formula of the obstructed time t that calculates this secondary data: the polling time interval intervalTime that the front and back of this secondary data are twice levels off to zero more; Be that the polling interval is low more; Wrap count is frequent more, and the accuracy of obstructed time t that finally calculates this secondary data is just high more.But the more low meeting in polling interval is big more to the pressure that the device of the network equipment and testing stability of network appliance of the present invention causes, and is arranged on about 10 minutes intervalTime proper usually.
Because data processing module can send to the relevant information of the network equipment in result of calculation and the data in the lump data memory module and store after calculating obstructed time of polling time interval and this secondary data of twice of front and back of this secondary data.Therefore; When the polling interval was low more, if each all the relevant information of the network equipment in result of calculation and the data sent to data memory module in the lump and store, the data that then need store were a lot; Correspondingly, the memory space requirement to the data memory module also can be big more.Especially the network equipment is at 1000 when above, if all store data at every turn, wasting space that can be a large amount of also influences the speed of subsequent user inquiry.
Through above analysis to four kinds of situation, and the situation of the actual use of the network equipment can know that the normal network equipment most of the time of using all is to be in logical state in fact.If the network equipment is in disconnected state always, the then this network equipment in fact can not go to use yet.So, can the storage of step 103 be optimized, in simple terms,,, be convenient to improve the speed of subsequent user inquiry simultaneously to practice thrift the memory space of data memory module with no longer the network equipment that is under the logical state is carried out storage always.
Then the further processing procedure of step 103 may further comprise the steps:
Whether network equipment on off operating mode and this network equipment on off operating mode that step 1031, judgment data processing module get access to last time be logical for passing to; If judge last time network equipment on off operating mode and this network equipment on off operating mode when passing to, then execution in step 1032; Otherwise data processing module sends to the relevant information of the network equipment in this result of calculation and this secondary data after data memory module stores in the lump, finishes current Stored Procedure.
Step 1032, continue to judge this secondary data the polling time interval of twice of front and back whether less than this network equipment running time; If; Then do not carry out the storage of network equipment relevant information in this result of calculation and this secondary data, directly finish current Stored Procedure; Otherwise data processing module sends to the relevant information of the network equipment in this result of calculation and this secondary data after data memory module stores in the lump, finishes current Stored Procedure.
To step 104, when the user will inquire about the network equipment ruuning situation in certain period, can use the information interchange module to accomplish inquiry and acquisition Query Result.So, the concrete processing procedure of using the information interchange module to accomplish inquiry and acquisition Query Result may further comprise the steps:
Step 1041, selection querying condition are such as the time period of selecting inquiry; Use the information interchange module to inquire about, so that take out data the earliest and the final data in the time period that stored, this selection in the data memory module to data memory module.
Here it is pointed out that such mode of fetching data mainly is whether to exist so that carry out flow for judgment data; In addition, also can avoid choosing of nonsignificant data,, only moved 3 days such as the network equipment, and the user selects to inquire about the data in 1 year, so the data of calculating be nonsensical because the time period that the user selects to inquire about may not be actual.
Whether step 1042, judgment data exist, if data do not exist, then directly finish current querying flow through returning to after the user shows empty data; If data exist, then execution in step 1043.
Step 1043, calculate the time difference between the data and final data the earliest, be actual total time totalTime.
Step 1044, the taking-up network equipment are under this querying condition, such as all data in this time period of selecting to inquire about.
The obstructed time addition of step 1045, all data that will take out by step 1044, thus calculate total obstructed time unTotalTime.
Step 1046, use formula availability=unTotalTime/totalTime, the availability factor of coming computing network equipment.Here, availability refers to the availability factor of the network equipment.
Step 1047, finish current querying flow after giving the user with the availability factor of the network equipment and total obstructed time showing.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.

Claims (8)

1. the device of a testing stability of network appliance is characterized in that, this device comprises: data communication module and data processing module; Wherein,
Data communication module is used for the data of obtaining from the said network equipment are sent to said data processing module;
Data processing module, the data statistics that is used for carrying out according to the said data that receive testing stability of network appliance is handled, and calculates polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data; The relevant information of the network equipment described in said result of calculation and the said data is sent in the lump; Wherein,
When said data processing module get access to last time with this network equipment on off operating mode for passing to when obstructed, the obstructed time of said this secondary data of calculating is specially: t=intervalTime/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data;
When said data processing module get access to last time with this network equipment on off operating mode when not passing to, the obstructed time of said this secondary data of calculating is specially: t=intervalTime-sysUpTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode when passing to, the obstructed time of said this secondary data of calculating is specially: t=(intervalTime-sysUpTime)/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode for not passing to when obstructed, the obstructed time of said this secondary data of calculating is specially: t=intervalTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data.
2. device according to claim 1 is characterized in that this device also comprises data memory module, is used for receiving from said data processing module the relevant information and the storage of the said result of calculation and the said network equipment.
3. device according to claim 2 is characterized in that this device also comprises the information interchange module, is used to respond query manipulation, and inquires about back feedback query result to said data memory module.
4. the method for a testing stability of network appliance is characterized in that, this method may further comprise the steps:
A, will send to data processing module from the data that the network equipment obtains;
B, said data processing module handle according to the data statistics that the said data that receive are carried out testing stability of network appliance, and calculate polling time interval and the obstructed time of this secondary data of twice of the front and back of this secondary data; Wherein,
When said data processing module get access to last time with this network equipment on off operating mode for passing to when obstructed, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data;
When said data processing module get access to last time with this network equipment on off operating mode when not passing to, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime-sysUpTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode when passing to, among the step B, the obstructed time of said this secondary data of calculating is specially: t=(intervalTime-sysUpTime)/2; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data, and sysUpTime is said this network equipment running time; If then handle t t<0 as 0;
When said data processing module get access to last time with this network equipment on off operating mode for not passing to when obstructed, among the step B, the obstructed time of said this secondary data of calculating is specially: t=intervalTime; Wherein, t is the obstructed time of said secondary data, and intervalTime is the polling time interval of twice of the front and back of said secondary data.
5. method according to claim 4 is characterized in that, also comprises behind the step B:
C, said data processing module send to data memory module in the lump with the relevant information of the network equipment described in said result of calculation and the said data and store;
D, carry out query manipulation based on the information of the information of wanting query facility and time period, the said query manipulation of information interchange module responds, and inquire about back feedback query result to said data memory module.
6. method according to claim 5 is characterized in that, the relevant information of the said network equipment comprises: the time of network equipment sign, network equipment running time, network equipment on off operating mode and network equipment return data.
7. method according to claim 6; It is characterized in that; Among the step B, the data statistics that said data processing module carries out testing stability of network appliance according to the said data that receive is handled, and the polling time interval that calculates twice of the front and back of this secondary data is specially:
Said data processing module carries out the double poll in front and back; Corresponding to said network equipment sign; After getting access to last time the time of network equipment running time, network equipment on off operating mode, network equipment return data with this from said data memory module, according to the polling time interval that last time goes out twice of the front and back of said secondary data that obtains with this Time Calculation of network equipment return data.
8. method according to claim 7; It is characterized in that; Step C further is: judge said data processing module gets access to last time whether the network equipment on off operating mode with this was logical for passing to; When judge last time with this network equipment on off operating mode when passing to, whether the polling time interval of twice of front and back that continues to judge said secondary data less than said this network equipment running time, if; Then do not carry out the storage of network equipment relevant information in this result of calculation and this secondary data, otherwise store.
CN2008101261183A 2008-06-26 2008-06-26 Device and method for testing stability of network appliance Expired - Fee Related CN101296134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101261183A CN101296134B (en) 2008-06-26 2008-06-26 Device and method for testing stability of network appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101261183A CN101296134B (en) 2008-06-26 2008-06-26 Device and method for testing stability of network appliance

Publications (2)

Publication Number Publication Date
CN101296134A CN101296134A (en) 2008-10-29
CN101296134B true CN101296134B (en) 2012-07-04

Family

ID=40066161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101261183A Expired - Fee Related CN101296134B (en) 2008-06-26 2008-06-26 Device and method for testing stability of network appliance

Country Status (1)

Country Link
CN (1) CN101296134B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460503B (en) * 2019-09-17 2021-03-02 昆山普尚电子科技有限公司 Stability testing method for network analyzer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1335288A2 (en) * 2002-02-01 2003-08-13 Evolium S.A.S. Method for processing concurrent events in a web-based application, supporting system and application system using the same
CN1520070A (en) * 1999-04-30 2004-08-11 ��ķ��ɭ State monitoring and data processing system available for two-way communicating appts.
CN101056204A (en) * 2007-03-30 2007-10-17 华为技术有限公司 A method and system for computing the reliability index of the single board

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1520070A (en) * 1999-04-30 2004-08-11 ��ķ��ɭ State monitoring and data processing system available for two-way communicating appts.
EP1335288A2 (en) * 2002-02-01 2003-08-13 Evolium S.A.S. Method for processing concurrent events in a web-based application, supporting system and application system using the same
CN101056204A (en) * 2007-03-30 2007-10-17 华为技术有限公司 A method and system for computing the reliability index of the single board

Also Published As

Publication number Publication date
CN101296134A (en) 2008-10-29

Similar Documents

Publication Publication Date Title
CN106330593B (en) Protocol detection method and device
EP2973071A2 (en) Automatic recording and graphing of measurement data
EP2023150A2 (en) Automatic analyzer and method for using the same
CN101726718A (en) Positioning control device and positioning control method
CN101119243A (en) Automatic testing method and automatic testing system of journal
CN102063363A (en) Memory footprint statistical device and method
CN109753432A (en) A kind of interface performance test method, apparatus, server and system
CN110794265A (en) Test system applying safety instrument
CN203759763U (en) Intelligent power equipment patrol system based on RFID technique
JP4763336B2 (en) Maintenance work support program
CN105445447A (en) Measuring method based on test paper and device
US8954576B2 (en) Test analysis system of network and analysis method thereof
CN101645935B (en) Web service combined method based on QoS indexes and Web service output parameters and device thereof
CN101296134B (en) Device and method for testing stability of network appliance
CN103024794A (en) Method and system for detecting communication service quality
CN111081365B (en) Information display method, sample analysis assembly line and computer storage medium
JP2007292516A5 (en)
CN108243070B (en) test methods, control node and pressure node
CN111650909A (en) Intelligent control system and method for sewage treatment process, readable storage medium and device
KR20110129656A (en) Automatic calibration device, automatic calibration method and recording medium recording program of automatic calibrating method
CN112019600B (en) Information data point inspection processing system and method based on teaching equipment
CN111752786A (en) Data storage method, data summarization method, equipment and medium in pressure test process
CN102333004B (en) Method for measuring no response events in software performance test
CN106533821A (en) Test method and system for controlling system channel
KR101214981B1 (en) Wireless meter reading system and method with multi metering function

Legal Events

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

Effective date of registration: 20180702

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: 518057 Nanshan District high tech Industrial Park, Shenzhen, Guangdong, Ministry of justice, Zhongxing Road, South China road.

Patentee before: ZTE Corp.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

CF01 Termination of patent right due to non-payment of annual fee