CN106161067A - The method of testing of a kind of webmaster node statistics and system - Google Patents

The method of testing of a kind of webmaster node statistics and system Download PDF

Info

Publication number
CN106161067A
CN106161067A CN201510178186.4A CN201510178186A CN106161067A CN 106161067 A CN106161067 A CN 106161067A CN 201510178186 A CN201510178186 A CN 201510178186A CN 106161067 A CN106161067 A CN 106161067A
Authority
CN
China
Prior art keywords
moment
webmaster
webmaster node
node
statistical value
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
CN201510178186.4A
Other languages
Chinese (zh)
Other versions
CN106161067B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510178186.4A priority Critical patent/CN106161067B/en
Publication of CN106161067A publication Critical patent/CN106161067A/en
Application granted granted Critical
Publication of CN106161067B publication Critical patent/CN106161067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the method for testing of a kind of webmaster node statistics, including: the first statistical value of described webmaster node is read in the first moment, the second statistical value of described webmaster node is read in the second moment, first and second moment was two moment beating stream constant rate, second moment and the integral multiple that time difference is the webmaster node data update cycle in the first moment, described first statistical value and the second statistical value are the numerical value of webmaster statistics;The actual value that in utilizing packet catcher to add up for the 3rd moment to the 4th time period in moment, described webmaster node is corresponding, third and fourth moment is two moment beating stream constant rate, and the 4th moment is equal with the time difference in the first moment with the second moment with the time difference in the 3rd moment;Difference between described first statistical value and described second statistical value add up actual value corresponding for described webmaster node and webmaster compares.The present invention further simultaneously discloses a kind of system realizing described method.

Description

The method of testing of a kind of webmaster node statistics and system
Technical field
The present invention relates to network management test technical field, particularly relate to a kind of webmaster node statistics method of testing and System.
Background technology
In prior art, network manager realizes the monitoring to the network equipment by network management system, is monitored and sets Standby timing reports the status data of self or network to network management system, the state that network management system is reported by collection Data realize equipment and the monitoring of network.These status datas are each by consersion unit or network operation situation Planting parameter group to become, each parameter is referred to as webmaster node here.
Whether the parameter of the webmaster nodes records of equipment is consistent with actual, needs to be checked by the method for test. The webmaster node of a part of data flow quantity statistical, such as: the byte number that device port receives, uses traditional side Method cannot accurately survey standard, this is because:
1) in network in addition to having equipment under test data message, also have management control protocol message, described quilt The transmission T/A of measurement equipment data message is controlled, and the transmission time of described management control protocol message Uncontrollable with quantity, but the cura generalis not received by equipment under test during actual test controls association Including view counting messages, test error is bigger;
2) webmaster node is not real-time to the statistics of network and device parameter, but is spaced according to setting cycle Carry out adding up and reporting being test for parameter, and webmaster node data update and statistical test asynchronous operation, Cause test error bigger.
Summary of the invention
For solving the technical problem of existing existence, embodiments provide the survey of a kind of webmaster node statistics Method for testing and system.
Embodiments providing the method for testing of a kind of webmaster node statistics, the method includes:
Read the first statistical value of described webmaster node in the first moment, read described webmaster joint in the second moment Second statistical value of point, described first and second moment is two moment beating stream constant rate, when described second Carve and the integral multiple that time difference is the described webmaster node data update cycle in described first moment, described first Statistical value and described second statistical value are the numerical value of webmaster statistics;
The reality that in utilizing packet catcher to add up for the 3rd moment to the 4th time period in moment, described webmaster node is corresponding Value, third and fourth moment described is two moment beating stream constant rate, described 4th moment and the 3rd moment Time difference equal with the time difference in the first moment with described second moment;
By described first statistical value of actual value corresponding for described webmaster node and described webmaster statistics and described the Difference between two statistical values compares.
In one embodiment, described first moment and described 3rd moment are the most in the same time, described second moment It is the most in the same time with described 4th moment.
In one embodiment, described first moment and described 3rd moment are synchronization, described second moment It is synchronization with described 4th moment.
In one embodiment, the method also includes:
Before starting to read the statistical value of webmaster node and start packet capturing, start to perform to beat flow operation, at knot Bundle reads the statistical value of webmaster node or terminates after packet capturing, terminates described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
Wherein, in utilizing packet catcher the 3rd moment to the 4th time period in moment of statistics, described webmaster node is corresponding Actual value, including:
Capture all data messages in the 3rd moment to the 4th time period in moment, and according to presetting mark from grabbing The all data messages taken filter out the data message of described webmaster node to be counted, described default mark For the data message of described webmaster node to be counted is made a distinction with other data message;According to sieving The data message selected calculates the actual value corresponding with described webmaster node statistics value.
Wherein, the data message of webmaster node to be counted includes: data message and the management of beating stream control Protocol massages.
The embodiment of the present invention additionally provides the test system of a kind of webmaster node statistics, and this system includes: read Unit, crawl statistic unit and comparing unit;Wherein,
Described reading unit, for reading the first statistical value of described webmaster node, second in the first moment Moment reads the second statistical value of described webmaster node, and described first and second moment is beat stream constant rate two In the individual moment, described second moment is the described webmaster node data update cycle with the time difference in described first moment Integral multiple, described first statistical value and described second statistical value be webmaster statistics numerical value;
Described crawl statistic unit, in being used for utilizing packet catcher the 3rd moment to the 4th time period in moment of statistics The actual value that described webmaster node is corresponding, third and fourth moment described is two moment beating stream constant rate, Described 4th moment is equal with the time difference in the first moment with described second moment with the time difference in the 3rd moment;
Described comparing unit, described in adding up actual value corresponding for described webmaster node and described webmaster Difference between first statistical value and described second statistical value compares.
In one embodiment, described first moment and described 3rd moment are the most in the same time, described second moment It is the most in the same time with described 4th moment.
In one embodiment, described first moment and described 3rd moment are synchronization, described second moment It is synchronization with described 4th moment.
In one embodiment, this system also includes: beat stream unit, for starting to read the system of webmaster node Before evaluation and beginning packet capturing, start to perform to beat flow operation, terminating to read statistical value or the knot of webmaster node After bundle packet capturing, terminate described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
The method of testing of the webmaster node statistics that the embodiment of the present invention provides and system, read institute in the first moment State the first statistical value of webmaster node, read the second statistical value of described webmaster node in the second moment, described First and second moment was two moment beating stream constant rate, described second moment and described first moment time Between difference be the integral multiple of described webmaster node data update cycle, described first statistical value and described second statistics It is worth the numerical value for webmaster statistics;Utilize described net in packet catcher the 3rd moment to the 4th time period in moment of statistics The actual value that pipe node is corresponding, third and fourth moment described is two moment beating stream constant rate, described the Four moment are equal with the time difference in the first moment with described second moment with the time difference in the 3rd moment;By described Described first statistical value of actual value corresponding to webmaster node and described webmaster statistics and described second statistical value it Between difference compare.The embodiment of the present invention overcomes test operation and webmaster node in conventional test methodologies Data update the asynchronous management caused and control the problem of message leakage statistics, and test accuracy is substantially improved, by mistake Difference levels off to zero;Meanwhile, webmaster node data reads and packet capturing can be performed separately independent operation, testing process Relatively easy, it is simple to accomplish accurately to control, easily perform;It addition, embodiment of the present invention measurement error and survey The concrete operations of examination are unrelated, and test is essentially identical every time, and error is constant, it is simple to the statistics of error and estimation.
Accompanying drawing explanation
In accompanying drawing (it is not necessarily drawn to scale), similar reference can be at different views Described in similar parts.The similar reference numerals with different letter suffix can represent the difference of similar component Example.Accompanying drawing generally shows each embodiment discussed herein by way of example and not limitation.
Fig. 1 is the method flowchart of statistical test webmaster node described in the embodiment of the present invention;
Fig. 2 is the system structure schematic diagram of statistical test webmaster node described in the embodiment of the present invention;
Fig. 3 is the system structure schematic diagram of statistical test webmaster node described in another embodiment of the present invention;
Fig. 4 is the network topological diagram of conventional test methodologies;
Fig. 5 is the demonstration graph of conventional test methodologies;
Fig. 6 is that conventional test methodologies tests inaccurate case study demonstration graph;
Fig. 7 is the demonstration graph of method of testing described in the concrete application scenarios of the present invention.
Detailed description of the invention
In embodiments of the invention, read the first statistical value of described webmaster node in the first moment, second Moment reads the second statistical value of described webmaster node, and described first and second moment is beat stream constant rate two In the individual moment, described second moment is the described webmaster node data update cycle with the time difference in described first moment Integral multiple, described first statistical value and described second statistical value be webmaster statistics numerical value;Utilize packet capturing work Actual value corresponding to described webmaster node in tool the 3rd moment to the 4th time period in moment of statistics, described 3rd, Four moment were two moment beating stream constant rate, and the time difference in described 4th moment and the 3rd moment is with described Second moment is equal with the time difference in the first moment;By packet capturing statistical value and described the first of described webmaster statistics Difference between statistical value and described second statistical value compares.
Below in conjunction with the accompanying drawings and the present invention is described in further detail by specific embodiment.
Fig. 1 is the method flowchart of statistical test webmaster node described in the embodiment of the present invention, such as Fig. 1 institute Showing, the method includes:
Step 101: read the first statistical value of described webmaster node in the first moment, read in the second moment Second statistical value of described webmaster node, described first and second moment is two moment beating stream constant rate, Described second moment and the integer that time difference is the described webmaster node data update cycle in described first moment Times, described first statistical value and described second statistical value are the numerical value of webmaster statistics;
Step 102: utilize described webmaster node in packet catcher the 3rd moment to the 4th time period in moment of statistics Corresponding actual value, third and fourth moment described is two moment beating stream constant rate, described 4th moment Equal with the time difference in the first moment with described second moment with the time difference in the 3rd moment;
Step 103: by described first statistics of actual value corresponding for described webmaster node with described webmaster statistics Difference between value and described second statistical value compares.
The embodiment of the present invention overcomes test operation in conventional test methodologies and updates asynchronous with webmaster node data The management caused controls the problem of message leakage statistics, and test accuracy is substantially improved, and error levels off to zero.Separately Outward, embodiment of the present invention measurement error is unrelated with the concrete operations of test, and test is essentially identical every time, error Constant, it is simple to the statistics of error and estimation.
In one embodiment, described first moment and described 3rd moment are the most in the same time, described second moment It is the most in the same time with described 4th moment.
Visible, embodiment of the present invention webmaster node data reads and packet capturing can be performed separately independent operation, test Flow process is relatively easy, it is simple to accomplishes accurately to control, easily performs.
In one embodiment, described first moment and described 3rd moment are synchronization, described second moment It is synchronization with described 4th moment.
In the embodiment of the present invention, the method also includes:
Before starting to read the statistical value of webmaster node and start packet capturing, start to perform to beat flow operation, at knot Bundle reads the statistical value of webmaster node or terminates after packet capturing, terminates described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
In the embodiment of the present invention, described utilize packet catcher statistics the 3rd moment to the 4th time period in moment in institute State the actual value that webmaster node is corresponding, including:
Capture all data messages in the 3rd moment to the 4th time period in moment, and according to presetting mark from grabbing The all data messages taken filter out the data message of described webmaster node to be counted, described default mark For the data message of described webmaster node to be counted is made a distinction with other data message;According to sieving The data message selected calculates the actual value corresponding with described webmaster node statistics value
Such as: set described webmaster node to be tested as " byte number that equipment under test port 1 receives ", and grab In all data messages taken in addition to including that equipment under test port 1 receives data message, also include tested Device port 1 sends other data messages such as data message.
In the embodiment of the present invention, the data message of described webmaster node to be counted includes: beat the data of stream Message and management control protocol message.
The embodiment of the present invention additionally provides the test system of a kind of webmaster node statistics, as in figure 2 it is shown, this is System includes: reads unit 201, capture statistic unit 202 and comparing unit 203;Wherein,
Described reading unit 201, for reading the first statistical value of described webmaster node in the first moment, Second moment read the second statistical value of described webmaster node, and described first and second moment is for beating stream constant rate Two moment, the time difference in described second moment and described first moment is that described webmaster node data updates The integral multiple in cycle, described first statistical value and described second statistical value are the numerical value of webmaster statistics;
Described crawl statistic unit 202, is used for utilizing packet catcher the 3rd moment of statistics to the 4th time in moment The actual value that in section, described webmaster node is corresponding, when third and fourth moment described is beat stream constant rate two Carve, described 4th moment and the time difference in the 3rd moment and described second moment and the time difference phase in the first moment Deng;
Described comparing unit 203, for by actual value corresponding for described webmaster node and described webmaster statistics Difference between described first statistical value and described second statistical value compares.
The embodiment of the present invention overcomes test operation in conventional test methodologies and updates asynchronous with webmaster node data The management caused controls the problem of message leakage statistics, and test accuracy is substantially improved, and error levels off to zero.Separately Outward, embodiment of the present invention measurement error is unrelated with the concrete operations of test, and test is essentially identical every time, error Constant, it is simple to the statistics of error and estimation.
In one embodiment, described first moment and described 3rd moment are the most in the same time, described second moment It is the most in the same time with described 4th moment.
Visible, embodiment of the present invention webmaster node data reads and packet capturing can be performed separately independent operation, test Flow process is relatively easy, it is simple to accomplishes accurately to control, easily performs.
In one embodiment, described first moment and described 3rd moment are synchronization, described second moment It is synchronization with described 4th moment.
In one embodiment, as it is shown on figure 3, this system also includes: beat stream unit 204, for starting Before reading statistical value and the beginning packet capturing of webmaster node, start to perform to beat flow operation, read webmaster in end The statistical value of node or after terminating packet capturing, terminates described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
In the embodiment of the present invention, described crawl statistic unit 202 utilizes packet catcher the 3rd moment of statistics to the The actual value that in four time periods in moment, described webmaster node is corresponding, including:
Capture all data messages in the 3rd moment to the 4th time period in moment, and according to presetting mark from grabbing The all data messages taken filter out the data message of described webmaster node to be counted, described default mark For the data message of described webmaster node to be counted is made a distinction with other data message;According to sieving The data message selected calculates the actual value corresponding with described webmaster node statistics value.
Wherein, the data message of described webmaster node to be counted includes: play data message and the management of stream Control protocol message.
In order to clearer, the embodiment of the present invention is described, first below the survey to traditional webmaster node Method for testing is described, the network topological diagram of conventional test methodologies as shown in Figure 4, in conjunction with Fig. 5, and with net Pipe node illustrates for as a example by " byte number that equipment under test port 1 receives ", and testing process is as follows:
Step one: " equipment under test port 1 receives to read webmaster node by network management system simulator 401 Byte number " value, be designated as A, start packet catcher 402 and capture the port 1 of described equipment under test 403 and connect The packet received, utilization simultaneously is made stream instrument 404 and is set up from other network equipment 405 to equipment under test 403 Data stream;
Step 2: after beating stream a period of time, operation is played stream instrument 404 stopping and being beaten stream, operates packet catcher simultaneously 402 stop packet capturing, and from the entire packet captured, screening counts the data word that equipment under test 403 receives Joint number, is designated as B, the byte number actually received as equipment under test port 1 by B;
Step 3: prolong a webmaster node data update cycle after the packet capturing stop timing (in order to stream will be beaten Including data message statistics), read webmaster node " equipment under test port 1 by network management system simulator 401 The byte number received " value be to be designated as C;
Step 4: beating webmaster node " byte number that equipment under test port 1 receives " during flowing is D=C-A, The byte number that the equipment under test port 1 that D value is added up for network management system receives;
Step 5: whether compare B equal to D.
As shown in Figure 6, the data message that equipment under test port 1 receives includes: play flow data message and management Control protocol message, in Fig. 6 black region be port 1 receive beat flow data message, gray area for hold The management control protocol message that mouth 1 receives.Beat flow data stream can by by beat stream instrument control produce and termination, After playing stream termination, equipment under test port 1 no longer receives and beats flow data message.Management control protocol message is to protect The barrier properly functioning network management of network and the mutual message of control protocol, exist the most always, be not subject to The control of tester.The statistical value of webmaster node updates with cycle T for interval: updating on point, Webmaster node performs statistics according to the excitation received before this time point and is calculated the assignment of this node;But It is that between twice renewal, any instant reads " the data word joint number that equipment under test port 1 receives " from webmaster It it is all the front value once updated.
Webmaster node reading D is the statistics to the byte number that equipment under test in three T time sections receives, therefore In order to whether Test Network pipe node D adds up correct, it should by compared with D with E rather than by D with grab The byte number B that bag captures compares, and a part is managed control protocol message and miss out by B, the most traditional There is test error in testing scheme.
If it is inferred that reading webmaster node data for the first time, starting to beat stream packet capturing and webmaster node data Renewal three occurs at synchronization and beats stream packet capturing stopping, second time reading webmaster node data and webmaster joint Point data updates three and frees at synchronization, and test error is zero.But the situation of this synchronization is in reality Test operation in cannot realize, therefore test operation and webmaster node data update the most not Synchronize result in the existence of test error.
In reality is tested, read webmaster node data for the first time, start to beat stream packet capturing and webmaster node data Uncontrollable with the relative position that webmaster node data updates in time, play stream packet capturing and stop, reading for the second time Take webmaster node data uncontrollable with the relative position that webmaster node data updates in time.Therefore test Error is tested the most different every time, and test error is non-constant, is specifically dependent upon packet capturing and starts to terminate with packet capturing Opportunity, test error fluctuation is very big, and the assessment for equipment under test brings difficulty.
It addition, traditional method of testing " starts to play stream packet capturing " after requiring " reading webmaster node data " immediately, Time difference between two actions is the smaller the better, and test operation gets up bad control, and operating process is relative complex. Visible, in conventional test methodologies, because test operation (starts to play stream packet capturing, play stream packet capturing stopping, reading Take webmaster node data) with webmaster node data update cannot be synchronize, cause management control message leakage statistics from And form measurement error.
Being substantially invariable in view of beat flow data message controlling message rate with management, therefore persistently beating stream On the premise of, arbitrarily with the packet of crawl in the time period of webmaster node data update cycle T-phase etc. Number or byte number are the most equal.In therefore, using any T time section of crawl (or the integral multiple time period of T In) byte number that receives of equipment under test port 1 " is devices under the word that port 1 receives with webmaster node Joint number " statistical value compare, it is possible to realize the accurate test to this webmaster node.
Describe the present invention below in conjunction with concrete application scenarios.
The method of scene of the present invention need not test operation (packet capturing starts, packet capturing terminates) and webmaster nodes According to updating time synchronized, testing process is following (with webmaster node " byte number that equipment under test port 1 receives " As a example by):
Step one: employing is made stream instrument and set up other network equipment via the number between switch to equipment under test According to stream;
Step 2: after beating stream constant rate, " equipment under test port 1 receives random reading webmaster node Byte number " value added up is A, waits that the one T1 period (T1 is the integral multiple of T) reads another value, It is designated as A1, calculates E=A1-A;E is the byte number that the equipment under test port 1 that network management system is added up receives;
Step 3: the packet using packet catcher to capture in any one T1 time period (includes beating the number of stream According to message and management control protocol message), and to add up whole byte numbers that tested port 1 receives be B, and will The byte number that B actually receives as equipment under test port 1;
Step 4: compared with E with B.
In the method for testing of the embodiment of the present invention, owing to beating speed and the management control protocol report of flow data message The speed substantially constant of literary composition, webmaster node " byte number that equipment under test port receives " should in T time The byte number E of statistics is almost equal with the byte number B that packet catcher captures in T time, as it is shown in fig. 7, In Fig. 7 black region be port 1 receive beat flow data message, gray area be port 1 reception management Control protocol message, as a example by test packet capturing duration thinks a network management data update cycle T, therefore tests by mistake Difference is close to zero, and compares conventional test methodologies test error and is substantially reduced.
The test error of the embodiment of the present invention only and is beaten the speed of flow data message and manages control message rate Slight fluctuations is relevant, with test operation (read webmaster node data, start packet capturing, stopping packet capturing) and net The relative time of pipe node data renewable time is unrelated.Therefore, each test error substantially constant.
Independently operate it addition, the reading of webmaster node data and packet capturing separate, step of the most not seeking common ground, Testing process is relatively easy, it is simple to accomplishes accurately to control, easily performs.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.And, the present invention can use and wherein include calculating one or more The computer-usable storage medium of machine usable program code (includes but not limited to disk memory and optical storage Device etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions flowchart and/or side Flow process in each flow process in block diagram and/or square frame and flow chart and/or block diagram and/or the knot of square frame Close.Can provide these computer program instructions to general purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing device is to produce a machine so that by computer or other can The instruction that the processor of programming data processing equipment performs produces for realizing in one flow process or multiple of flow chart The device of the function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device In the computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produces the manufacture including command device, and this command device realizes at one flow process of flow chart or multiple stream The function specified in journey and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
The above, only presently preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention Enclose.

Claims (10)

1. the method for testing of a webmaster node statistics, it is characterised in that the method includes:
Read the first statistical value of described webmaster node in the first moment, read described webmaster joint in the second moment Second statistical value of point, described first moment, the second moment are two moment beating stream constant rate, described Second moment and the integral multiple that time difference is the described webmaster node data update cycle in described first moment, institute State the first statistical value and described second statistical value is the numerical value that webmaster is added up;
The reality that in utilizing packet catcher to add up for the 3rd moment to the 4th time period in moment, described webmaster node is corresponding Value, described 3rd moment, the 4th moment are two moment beating stream constant rate, described 4th moment and the The time difference in three moment is equal with the time difference in the first moment with described second moment;
By described first statistical value of actual value corresponding for described webmaster node and described webmaster statistics and described the Difference between two statistical values compares.
Method the most according to claim 1, it is characterised in that when described first moment is with the described 3rd Carving as the most in the same time, described second moment and described 4th moment are the most in the same time.
Method the most according to claim 1, it is characterised in that when described first moment is with the described 3rd Carving as synchronization, described second moment and described 4th moment is synchronization.
Method the most according to claim 1, it is characterised in that the method also includes:
Before starting to read the statistical value of webmaster node and start packet capturing, start to perform to beat flow operation, at knot Bundle reads the statistical value of webmaster node or terminates after packet capturing, terminates described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
Method the most according to claim 1, it is characterised in that described utilize packet catcher statistics the 3rd The actual value that in moment to the 4th time period in moment, described webmaster node is corresponding, including:
Capture all data messages in the 3rd moment to the 4th time period in moment, and according to presetting mark from grabbing The all data messages taken filter out the data message of described webmaster node to be counted, described default mark For the data message of described webmaster node to be counted is made a distinction with other data message;According to sieving The data message selected calculates the actual value corresponding with described webmaster node statistics value.
Method the most according to claim 1, it is characterised in that the number of described webmaster node to be counted Include according to message: beat data message and the management control protocol message of stream.
7. the test system of a webmaster node statistics, it is characterised in that this system includes: reading unit, Capture statistic unit and comparing unit;Wherein,
Described reading unit, for reading the first statistical value of described webmaster node, second in the first moment Moment reads the second statistical value of described webmaster node, and described first moment, the second moment are for beating flow velocity rate perseverance Two fixed moment, the time difference in described second moment and described first moment be described webmaster node data more The integral multiple in new cycle, described first statistical value and described second statistical value are the numerical value of webmaster statistics;
Described crawl statistic unit, in being used for utilizing packet catcher the 3rd moment to the 4th time period in moment of statistics The actual value that described webmaster node is corresponding, described 3rd moment, the 4th moment are beat stream constant rate two The time difference in moment, described 4th moment and the 3rd moment and described second moment and the time difference in the first moment Equal;
Described comparing unit, described in adding up actual value corresponding for described webmaster node and described webmaster Difference between first statistical value and described second statistical value compares.
System the most according to claim 7, it is characterised in that when described first moment is with the described 3rd Carving as the most in the same time, described second moment and described 4th moment are the most in the same time.
System the most according to claim 7, it is characterised in that when described first moment is with the described 3rd Carving as synchronization, described second moment and described 4th moment is synchronization.
System the most according to claim 7, it is characterised in that this system also includes: beat stream unit, For before starting to read the statistical value of webmaster node and start packet capturing, start to perform to beat flow operation, at knot Bundle reads the statistical value of webmaster node or terminates after packet capturing, terminates described to beat flow operation;
Described beat flow operation, arrive via switch for the tested network equipment setting up described webmaster node corresponding Data stream between other network equipment.
CN201510178186.4A 2015-04-15 2015-04-15 A kind of test method and system of network management node statistics Active CN106161067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510178186.4A CN106161067B (en) 2015-04-15 2015-04-15 A kind of test method and system of network management node statistics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510178186.4A CN106161067B (en) 2015-04-15 2015-04-15 A kind of test method and system of network management node statistics

Publications (2)

Publication Number Publication Date
CN106161067A true CN106161067A (en) 2016-11-23
CN106161067B CN106161067B (en) 2019-06-21

Family

ID=58057510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510178186.4A Active CN106161067B (en) 2015-04-15 2015-04-15 A kind of test method and system of network management node statistics

Country Status (1)

Country Link
CN (1) CN106161067B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005109754A1 (en) * 2004-04-30 2005-11-17 Synematics, Inc. System and method for real-time monitoring and analysis for network traffic and content
CN101883001A (en) * 2009-05-08 2010-11-10 北京启明星辰信息技术股份有限公司 Method and system for traffic identification and management of P2P application in small network
CN101888318A (en) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 System and method for testing performance index of communication system
CN103281212A (en) * 2013-06-21 2013-09-04 武汉烽火网络有限责任公司 Method for monitoring performance of metro Ethernet
CN103647680A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Method for testing size of MAC address table of switch product
CN103974312A (en) * 2013-02-05 2014-08-06 中国移动通信集团公司 WLAN (wireless local area network) equipment testing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005109754A1 (en) * 2004-04-30 2005-11-17 Synematics, Inc. System and method for real-time monitoring and analysis for network traffic and content
CN101883001A (en) * 2009-05-08 2010-11-10 北京启明星辰信息技术股份有限公司 Method and system for traffic identification and management of P2P application in small network
CN101888318A (en) * 2010-06-30 2010-11-17 中兴通讯股份有限公司 System and method for testing performance index of communication system
CN103974312A (en) * 2013-02-05 2014-08-06 中国移动通信集团公司 WLAN (wireless local area network) equipment testing method, device and system
CN103281212A (en) * 2013-06-21 2013-09-04 武汉烽火网络有限责任公司 Method for monitoring performance of metro Ethernet
CN103647680A (en) * 2013-11-26 2014-03-19 上海斐讯数据通信技术有限公司 Method for testing size of MAC address table of switch product

Also Published As

Publication number Publication date
CN106161067B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN104050075B (en) The method of testing and device of Andriod application programs
CN104699601B (en) For the method and system for the injection for performing state machine driving
US10452513B2 (en) Trace data capture device and method, system, diagnostic method and apparatus and computer program
CN105281969B (en) A kind of statistical information acquisition methods and device
CN106851341B (en) For measuring the method and mobile terminal of network video delivery quality
CN105162649B (en) For the test method and its system of npp safety grade network performance index
CN109416639A (en) For intending the method, system and computer-readable medium of true network traffic patterns on a virtual machine
CN108415857B (en) Universal processing method for serial port data
WO2018076677A1 (en) Method and apparatus for testing integrated circuit, and storage medium
CN109714221A (en) The determination method, apparatus and system of network packet
US20130065694A1 (en) Method for performance test of online game server
CN106126431A (en) Performance test methods and system
CN110198255A (en) The detection method and device and system and storage medium of CAN network sampled point
CN111181800A (en) Test data processing method and device, electronic equipment and storage medium
CN105871638A (en) Network security control method and device
CN106455042B (en) A kind of time synchronization between nodes method, wireless sensor network and its node
CN106776329A (en) The adjustment method and commissioning device of energy accumulation current converter
CN102299828B (en) Test traffic synthesis method and device for test on performance of network security equipment
CN106161067A (en) The method of testing of a kind of webmaster node statistics and system
CN110112830A (en) A kind of supervisory control of substation information transmission platform
CN109450763A (en) A kind of bus expanding method, gateway and extended bus system
CN109412939A (en) Record the communication gate and working method of industrial network communication cycle process data
CN108896070B (en) Method and device for detecting sensor error in mobile equipment and terminal
CN106730847A (en) The plug-in detection method of one kind game and device
CN104639456B (en) A kind of data sending control method and network interface card

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