CN103139014B - Network quality evaluating method based on bypass and device - Google Patents
Network quality evaluating method based on bypass and device Download PDFInfo
- Publication number
- CN103139014B CN103139014B CN201310032891.4A CN201310032891A CN103139014B CN 103139014 B CN103139014 B CN 103139014B CN 201310032891 A CN201310032891 A CN 201310032891A CN 103139014 B CN103139014 B CN 103139014B
- Authority
- CN
- China
- Prior art keywords
- nodal point
- observation station
- network
- bypass
- retransmission rate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The present invention discloses a kind of network quality evaluating method based on bypass and device, and the method comprises the following steps: arrange bypass observation station between primary nodal point and the secondary nodal point in network link;When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive arrives the time of described bypass observation station, and obtains first network time delay and second network delay of described bypass observation station extremely described secondary nodal point of described primary nodal point extremely described bypass observation station respectively;Meanwhile, the described primary nodal point the first retransmission rate to described bypass observation station path and described bypass observation station the second retransmission rate to described secondary nodal point path is obtained;According to described first network time delay, the second network delay, the first retransmission rate and the second retransmission rate, evaluate and test network quality;There is the beneficial effect of accurate assessment network quality, and the trouble point of network can be accurately positioned, improve the accuracy of network quality evaluation and test.
Description
Technical field
The present invention relates to technical field of the computer network, particularly relate to a kind of network quality based on bypass
Evaluating method and device.
Background technology
When the user feedback network of the i.e. network of user is of poor quality, network maintenance staff generally uses pi
Ng detects network quality;Such as, to service end ping, check that server returns packet
Time delay;Again to client ping, viewing client-side returns the time delay of packet;Thus determine
Network congestion occurs in service end or client.There is following defect in this detection method:
The most do not possesses real-time;Because network congestion is probably paroxysmal, enter network maintenance staff
When row network congestion checks, it is possible to above-mentioned congested pass by;Or dial user is rolled off the production line
, it is impossible to the IP(Internet Protocol corresponding to this dial user of client, interconnection
FidonetFido) address carries out ping.
2. the real scene of network cannot be reduced;Ping uses ICMP(Internet Control M
Essages Protocol, Internet Control Message Protocol) agreement, it is not necessary to can react truly
TCP(Transmission Control Protocol, transmission control protocol) business time
Prolonging situation, such as, whether the link of this TCP traffic generation time delay exists route based on application,
Or QoS(Quality Of Service of based on agreement, service quality).
Summary of the invention
The main object of the present invention is to provide a kind of network quality evaluating method based on bypass and device,
It is intended to reach the purpose of accurate assessment network quality.
The embodiment of the invention discloses a kind of network quality evaluating method based on bypass, including following step
Rapid:
Between primary nodal point and secondary nodal point in network link, bypass observation station is set;
When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive arrives
The time of described bypass observation station, and obtain described primary nodal point respectively to described bypass observation station
First network time delay and described bypass observation station to the second network delay of described secondary nodal point;
Meanwhile, described in obtaining
Primary nodal point is to the first retransmission rate on described bypass observation station path and described bypass observation station extremely
The second retransmission rate on described secondary nodal point path;
According to described first network time delay, the second network delay, the first retransmission rate and the second retransmission rate,
Evaluation and test network quality.
Preferably, when described primary nodal point and secondary nodal point carry out data interaction, the data of recording interactive
Bag arrives the time of described bypass observation station, and obtains described primary nodal point respectively to described bypass
Second network of the first network time delay of observation station and described bypass observation station extremely described secondary nodal point
Time delay includes:
Record packet that described primary nodal point sends to described secondary nodal point through described bypass observation station
Time T1;
Record the response data packet that described secondary nodal point returns to described primary nodal point to see through described bypass
The time T2 of measuring point;
When recording described primary nodal point by described response data packet transmission extremely described secondary nodal point, Jing Guosuo
State the time T3 of bypass observation station;
According to T2, T3, when being calculated the first network of described primary nodal point extremely described bypass observation station
Prolonging t1 is: t1=(T3-T2)/2;
According to T1, T2, when being calculated the second network of described bypass observation station extremely described secondary nodal point
Prolonging t2 is: t2=(T2-T1)/2.
Preferably, when described primary nodal point and secondary nodal point carry out data interaction, described first segment is obtained
Point is to the first retransmission rate on described bypass observation station path and described bypass observation station to the most described the
The second retransmission rate on two node paths includes:
When described primary nodal point sends packet to described secondary nodal point, obtain described bypass observation station
Send the quantity of packet to described secondary nodal point and again transmit the quantity of packet, thus obtaining
Take the described bypass observation station the second retransmission rate to described secondary nodal point path;
When described secondary nodal point sends packet to described primary nodal point, obtain described bypass observation station
Send the quantity of packet to described primary nodal point and again transmit the quantity of packet, thus obtaining
Take the described primary nodal point the first retransmission rate to described bypass observation station path.
Preferably, described according to described first network time delay, the second network delay, the first retransmission rate and
Second retransmission rate, evaluation and test network quality includes:
If described first network time delay is more than preset network delay, or described first retransmission rate is more than pre-
When putting retransmission rate, evaluate and test described primary nodal point congested to the network side of described bypass observation station;
If described second network delay is more than described preset network delay, or described first retransmission rate is big
When described preset retransmission rate, evaluate and test the network side of described bypass observation station extremely described secondary nodal point
Congested.
Preferably, described according to described first network time delay, the second network delay, the first retransmission rate and
Second retransmission rate, evaluation and test network quality includes:
According to presetting rule, by described first network time delay, the second network delay, the first retransmission rate and
Second retransmission rate collects;
When any one in described first network time delay and the second network delay is more than preset network delay
, and/or when any one in described first retransmission rate and the second retransmission rate is more than preset retransmission rate
, obtain the congestion point of network link between described primary nodal point and secondary nodal point.
The embodiment of the invention also discloses a kind of network quality evaluating apparatus based on bypass, including:
Observation station arranges module, arranges between primary nodal point and the secondary nodal point in network link
Bypass observation station;
Parameter acquisition module, for when described primary nodal point carries out data interaction with secondary nodal point, remembering
Record mutual packet and arrive the time of described bypass observation station, and obtain described first segment respectively
The first network time delay of point extremely described bypass observation station and described bypass observation station are to described second section
Second network delay of point;Meanwhile, described primary nodal point is obtained to described bypass observation station path
On the first retransmission rate and described bypass observation station to the second re-transmission on described secondary nodal point path
Rate;
Quality assessment module, for according to described first network time delay, the second network delay, the first weight
Biography rate and the second retransmission rate, evaluate and test network quality.
Preferably, described parameter acquisition module is additionally operable to:
Record packet that described primary nodal point sends to described secondary nodal point through described bypass observation station
Time T1;
Record the response data packet that described secondary nodal point returns to described primary nodal point to see through described bypass
The time T2 of measuring point;
When recording described primary nodal point by described response data packet transmission extremely described secondary nodal point, Jing Guosuo
State the time T3 of bypass observation station;
According to T2, T3, when being calculated the first network of described primary nodal point extremely described bypass observation station
Prolonging t1 is: t1=(T3-T2)/2;
According to T1, T2, when being calculated the second network of described bypass observation station extremely described secondary nodal point
Prolong
T2 is: t2=(T2-T1)/2.
Preferably, described parameter acquisition module is additionally operable to:
When described primary nodal point sends packet to described secondary nodal point, obtain described bypass observation station
Send the quantity of packet to described secondary nodal point and again transmit the quantity of packet, thus obtaining
Take the described bypass observation station the second retransmission rate to described secondary nodal point path;
When described secondary nodal point sends packet to described primary nodal point, obtain described bypass observation station
Send the quantity of packet to described primary nodal point and again transmit the quantity of packet, thus obtaining
Take the described primary nodal point the first retransmission rate to described bypass observation station path.
Preferably, described quality assessment module is additionally operable to:
If described first network time delay is more than preset network delay, or described first retransmission rate is more than pre-
When putting retransmission rate, evaluate and test described primary nodal point congested to the network side of described bypass observation station;
If described second network delay is more than described preset network delay, or described first retransmission rate is big
When described preset retransmission rate, evaluate and test the network side of described bypass observation station extremely described secondary nodal point
Congested.
Preferably, described quality assessment module is additionally operable to:
According to presetting rule, by described first network time delay, the second network delay, the first retransmission rate and
Second retransmission rate collects;
When any one in described first network time delay and the second network delay is more than preset network delay
, and/or when any one in described first retransmission rate and the second retransmission rate is more than preset retransmission rate
, obtain the congestion point of network link between described primary nodal point and secondary nodal point.
The present invention is by arranging bypass observation station between primary nodal point and the secondary nodal point in network link
;When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive arrives
Reach the time of described bypass observation station, obtain described primary nodal point respectively to described bypass observation station
First network time delay and the first retransmission rate, and described bypass observation station is to described secondary nodal point
The second network delay and the second retransmission rate;During according to described first network time delay, the second network
Prolong, the first retransmission rate and the second retransmission rate, the method for evaluation and test network quality, there is accurate assessment
The beneficial effect of network quality, and the trouble point of network can be accurately positioned, improve
The accuracy of network quality evaluation and test.
Accompanying drawing explanation
Fig. 1 is present invention network quality evaluating method application scenarios one example structure based on bypass signal
Figure;
Fig. 2 is that the present invention network quality another example structure of evaluating method application scenarios based on bypass is shown
It is intended to;
Fig. 3 is present invention network quality evaluating method one embodiment schematic flow sheet based on bypass;
Fig. 4 is in present invention network quality evaluating method based on bypass, obtains bypass observation station with corresponding
The schematic diagram of meshed network time delay;
Fig. 5 is in present invention network quality evaluating method based on bypass, obtains bypass observation station with corresponding
The schematic diagram of node data retransmission rate;
Fig. 6 is present invention network quality evaluating apparatus one embodiment high-level schematic functional block diagram based on bypass.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings into one
Step explanation.
Detailed description of the invention
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.Should
Working as understanding, specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
It is present invention network quality evaluating method application scenarios one enforcement based on bypass with reference to Fig. 1, Fig. 1
Example structural representation;Analytical equipment shown in Fig. 1 can utilize present invention network matter based on bypass
Amount evaluating method, carries out segmentation quality assessment to access side and side, the Internet, such that it is able to accurately
Learn it is that client access side network quality is bad, or the network quality leading to side, the Internet is poor
.It is that present invention network quality evaluating method application scenarios based on bypass is another with reference to Fig. 2, Fig. 2
Example structure schematic diagram;In the application scenarios shown in Fig. 2, analytical equipment application base of the present invention
In the network quality evaluating method of bypass, can accurately learn the concrete path that network congestion occurs
;Such as, if adding up according to visiting region, find the client of egress router outer net side
A and customer end B network quality are poor, and client C and client D network are normal, then push away
There is network congestion in the path that Duan Jia city comes to visit;If finding the service of the Intranet side of egress router
The network quality of end A and service end B is poor, and the quality of service end C and service end D is just
Often, then speculate and there is network congestion at S2;If finding the clothes of the Intranet side of egress router
Business end A, service end B, service end C, service end D network quality the most bad, then speculate
Network congestion is there is at S1.
Specific descriptions based on embodiment described in Fig. 1 and Fig. 2, refer to Fig. 3, Fig. 3 be the present invention based on
The network quality evaluating method one embodiment schematic flow sheet of bypass;As it is shown on figure 3, base of the present invention
Network quality evaluating method in bypass comprises the following steps:
Between step S01, primary nodal point and secondary nodal point in network link, bypass observation station is set.
When network quality is evaluated and tested, can set between any two node in network link
Put bypass observation station;Such as, in the application scenarios shown in Fig. 1, can be at client and router
Between bypass observation station is set, can be to arrange bypass observation station between router and service end, also
Bypass can be set between client and router, between router and service end simultaneously simultaneously
Observation station;The present embodiment specifically arranges position to bypass observation station and specifically arranges number and do not do
Limit, it will be understood to those skilled in the art that in concrete network design, bypass observation
Point can the most arbitrarily be arranged.
Step S02, when described primary nodal point and secondary nodal point carry out data interaction, the number of recording interactive
Arrive the time of described bypass observation station according to bag, and obtain described primary nodal point respectively to described side
Second net of the first network time delay of road observation station and described bypass observation station extremely described secondary nodal point
Network time delay;Meanwhile, the described primary nodal point the first weight to described bypass observation station path is obtained
The second retransmission rate on biography rate and described bypass observation station extremely described secondary nodal point path;
When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive arrives
The time of described bypass observation station, arrive the time of bypass observation station according to the packet of record,
Obtain the first network time delay of described primary nodal point extremely described bypass observation station and described bypass respectively
Second network delay of observation station extremely described secondary nodal point.Carry out at primary nodal point and secondary nodal point
During data interaction, arrive the time of bypass observation station according to the interaction data bag of record, obtain the
One node is to bypassing the first network time delay of observation station, bypass observation station to the second of secondary nodal point
The process of network delay is: record the packet that described primary nodal point sends to described secondary nodal point
Time T1 through described bypass observation station;Record described secondary nodal point to return to described primary nodal point
The response data packet returned is through the time T2 of described bypass observation station;Recording described primary nodal point will
When described response data packet sends to described secondary nodal point, through the time of described bypass observation station
T3;According to T2, T3, it is calculated the first net of described primary nodal point extremely described bypass observation station
Network time delay t1 is: t1=(T3-T2)/2;According to T1, T2, it is calculated described bypass observation
Point to the second network delay t2 of described secondary nodal point is: t2=(T2-T1)/2.
It will be understood to those skilled in the art that from the statistic of network packet, TCP(Transmi
Ssion Control Protocol, transmission control protocol) most ack(ackno
Wledgement character, confirms character) reply bag, the master that its service end self produces
Machine time delay, much smaller than network delay, negligible;For small part owing to " TCP time-out is fixed
Time device wait ", and the service end time delay produced is bigger
Bag, can be eliminated by statistic sampling.Meanwhile, TCP three-way handshake process do not exist "
TCP overtime timer waits ", suitably increase the time delay proportion of the packet of TCP handshake procedure,
Reduce the time delay proportion of general data bag, also make network delay more accurate.
To arrange the concrete applied field of a bypass observation station between client computer PC and service end
As a example by scape, refer to Fig. 4, Fig. 4 is in present invention network quality evaluating method based on bypass,
Obtain the schematic diagram of bypass observation station and corresponding node network delay;As shown in Figure 4, send from PC
To the packet of service end through bypassing the moment T1 of observation station, the number of responses responded to service end
The time that consumed of moment T2 again passing by bypass observation station according to bag ack (ignores service end self
The time delay produced), it is simply that the distance of bypass observation station to service end comes and goes time-consuming A, divided by 2 i.e.
Can obtain servicing side propagation delay time t1, i.e. t1=(T2-T1)/2=A/2.Because, service end
The time delay self produced is compared with network delay, and the time is the shortest, is negligible, and logical
In the case of Chang, response data packet ack that service end produces is all instant reply.Likewise it is possible to
Calculating PC to the network bypassing observation station is time-consumingly PC side propagation delay time t2, i.e. t2=(T3-
T2)/2=B/2.
When described primary nodal point carries out data interaction with secondary nodal point, obtain described primary nodal point to institute
State the first retransmission rate on bypass observation station path and described bypass observation station to described secondary nodal point
The second retransmission rate on path.The process obtaining the first retransmission rate and the second retransmission rate includes:
Described primary nodal point to described secondary nodal point send packet time, obtain described bypass observation station to
Described secondary nodal point sends the quantity of packet and again transmits the quantity of packet, thus obtains
The second retransmission rate on described bypass observation station extremely described secondary nodal point path;At described second section
Point, when described primary nodal point sends packet, obtains described bypass observation station to described first segment
Point sends the quantity of packet and again transmits the quantity of packet, thus obtains described first segment
The first retransmission rate on point extremely described bypass observation station path.
As a example by the concrete application scenarios that a bypass observation station is set between client and service end,
Refer to Fig. 5, Fig. 5 is in present invention network quality evaluating method based on bypass, obtains bypass
Observation station and the schematic diagram of corresponding node data retransmission rate;As it is shown in figure 5, when client sends number
During according to bag to service end, bypass observation station can be got to the number of service end in bypass observation station
According to bag retransmission rate, because in bypass observation station it can be seen that all observation stations are to the path of service end
On the packet lost, the packet of the most original transmission and the re-transmission bag resend can be seen
Examine and obtain.But do not observe the packet that client is lost to bypass observation station, because this
If section lost data packets, bypass observation station can only see the packet after re-transmission, it is impossible to accurately
Judge whether re-transmission occurred.Same reason, can issue client by observing service end
The packet of extreme direction, obtains the packet of original transmission and resends
Retransmit bag, such that it is able to obtain the client retransmission rate to bypass observation station path.
Step S03, according to described first network time delay, the second network delay, the first retransmission rate and second
Retransmission rate, evaluates and tests network quality.
According to the network of relation evaluation and test parameter obtained, any two joint on network transmission link can be evaluated and tested
Network quality between point.
Such as, if described first network time delay is more than preset network delay, or described first retransmission rate
During more than preset retransmission rate, the network side evaluating and testing described primary nodal point extremely described bypass observation station is gathered around
Plug;If described second network delay is more than described preset network delay, or described first retransmits
When rate is more than described preset retransmission rate, evaluate and test the net of described bypass observation station extremely described secondary nodal point
Network side is congested, embodiment as illustrated in figs. 1 and 2.
Such as, based on the embodiment described in Fig. 1, the net got by above-mentioned steps S01 and step S02
Network quality assessment parameter is as shown in the table:
Assuming that, in the concrete application scenarios shown in Fig. 1, preset retransmission rate is 4%, preset network delay is
60ms;Can draw at a glance from above-mentioned network quality parameters, access the number of www.*.com
According to time, mainly relatively big at the Internet side time delay, side, the Internet network quality is bad, and user connects
The network instruction entering side is the best.
In a preferred embodiment, can be according to certain rule by each node or each connection
Segmented network quality information collects, such as according to IP section or user geographical position, by right
The each network delay answered and retransmission rate collect, thus evaluate and test network present in network link
Bottleneck point i.e. network congestion point.
Such as, in a certain concrete network application environment, the network quality evaluation and test parameter got is such as
Shown in following table:
Assuming that, in this concrete network application environment, preset retransmission rate is 4%, preset network delay is 60
ms;Can draw at a glance from above-mentioned network quality parameters, the network quality feelings of each branch
Condition.As shown above, Zhengzhou is done, Guangzhou is done and the client network of test center is second-rate
, then network maintenance staff can carry out net pointedly according to above-mentioned concrete network evaluation parameter
Network is safeguarded.
The present embodiment is by arranging bypass observation between primary nodal point and the secondary nodal point in network link
Point;When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive
Arrive the time of described bypass observation station, obtain described primary nodal point respectively to described bypass observation
The first network time delay of point and the first retransmission rate, and described bypass observation station is to described second section
Second network delay of point and the second retransmission rate;According to described first network time delay, the second network
Time delay, the first retransmission rate and the second retransmission rate, the method for evaluation and test network quality, have and accurately comment
Survey the beneficial effect of network quality, and the trouble point of network can be accurately positioned, improve
The accuracy of network quality evaluation and test.
It is present invention network quality evaluating apparatus one embodiment function mould based on bypass with reference to Fig. 6, Fig. 6
Block schematic diagram.Present invention network quality evaluating apparatus based on bypass is at the tool shown in Fig. 1 and Fig. 2
In body application scenarios, can be arranged in analytical equipment as a part for analytical equipment.As
Shown in Fig. 6, present invention network quality evaluating apparatus based on bypass includes: observation station arranges module
01, parameter acquisition module 02 and quality assessment module 03.
Observation station arranges module 01, sets between primary nodal point and the secondary nodal point in network link
Put
Bypass observation station;
When evaluating and testing network quality, observation station arranges module 01 can appointing in network link
Anticipate and between two nodes, bypass observation station is set;Such as, in the application scenarios shown in Fig. 1, observation
Point arranges module 01 and can arrange bypass observation station between client and router, can route
Bypass observation station is set between device and service end, it is also possible to simultaneously between client and router
, bypass observation station is set between router and service end simultaneously;The present embodiment is to bypass observation station
Position is specifically set and number is specifically set does not limits, those skilled in the art can manage
Solving, in concrete network design, bypass observation station can the most arbitrarily set
Put.
Parameter acquisition module 02, is used for when described primary nodal point carries out data interaction with secondary nodal point,
The packet of recording interactive arrives the time of described bypass observation station, and obtains described first respectively
The first network time delay of node extremely described bypass observation station and described bypass observation station are to described second
Second network delay of node;Meanwhile, described primary nodal point is obtained to described bypass observation station road
The first retransmission rate on footpath and the second weight on described bypass observation station extremely described secondary nodal point path
Biography rate.
When described primary nodal point carries out data interaction with secondary nodal point, parameter acquisition module 02 record is handed over
Mutual packet arrives the time of described bypass observation station, arrives bypass according to the packet of record
The time of observation station, obtain the first network of described primary nodal point extremely described bypass observation station respectively
Second network delay of time delay and described bypass observation station extremely described secondary nodal point.
When primary nodal point and secondary nodal point carry out data interaction, arrive according to the interaction data bag of record
The time of bypass observation station, parameter acquisition module 02 obtains primary nodal point to the of bypass observation station
One network delay, bypass observation station to the process of the second network delay of secondary nodal point be: record
Described primary nodal point to the packet that described secondary nodal point sends through described bypass observation station time
Between T1;Record response data packet that described secondary nodal point returns to described primary nodal point through described
The time T2 of bypass observation station;Record described primary nodal point to send described response data packet to institute
When stating secondary nodal point, through the time T3 of described bypass observation station;According to T2, T3, calculate
First network time delay t1 to described primary nodal point extremely described bypass observation station is: t1=(T3-T2
)/2;According to T1, T2, it is calculated described bypass observation station to the second of described secondary nodal point
Network delay t2 is: t2=(T2-T1)/2.
It will be understood to those skilled in the art that from the statistic of network packet, TCP(Transmi
Ssion Control Protocol, transmission control protocol) most ack(ackno
Wledgement character, confirms character) reply bag, the master that its service end self produces
Machine time delay, much smaller than network delay, negligible;For small part owing to " TCP time-out is fixed
Time device wait ", and the service end time delay produced is bigger
Bag, can be eliminated by statistic sampling.Meanwhile, TCP three-way handshake process do not exist "
TCP overtime timer waits ", suitably increase the time delay proportion of the packet of TCP handshake procedure,
Reduce the time delay proportion of general data bag, also make network delay more accurate.
When described primary nodal point carries out data interaction with secondary nodal point, parameter acquisition module 02 obtains institute
State the primary nodal point the first retransmission rate to described bypass observation station path and described bypass observation station
The second retransmission rate to described secondary nodal point path.
Parameter acquisition module 02 obtains the process of the first retransmission rate and the second retransmission rate and includes: described
One node, when described secondary nodal point sends packet, obtains described bypass observation station to described the
Two nodes send the quantity of packet and again transmit the quantity of packet, thus obtain described side
The second retransmission rate on road observation station extremely described secondary nodal point path;At described secondary nodal point to institute
When stating primary nodal point transmission packet, obtain described bypass observation station and send to described primary nodal point
The quantity of packet and again transmit the quantity of packet, thus obtain described primary nodal point to institute
State the first retransmission rate on bypass observation station path.
Concrete scene about above-mentioned network quality evaluation and test parameter acquiring refer to implement described in Fig. 4 and Fig. 5
The specific descriptions of example, do not repeat them here.
Quality assessment module 03, for according to described first network time delay, the second network delay, first
Retransmission rate and the second retransmission rate, evaluate and test network quality.
Quality assessment module 03, according to the network of relation evaluation and test parameter obtained, can evaluate and test network chain
Network quality between any two node on road.
Such as, if described first network time delay is more than preset network delay, or described first retransmission rate
During more than preset retransmission rate, quality assessment module 03 is evaluated and tested described primary nodal point and is seen to described bypass
The network side of measuring point is congested;If described second network delay is more than described preset network delay, or
When first retransmission rate described in person is more than described preset retransmission rate, quality assessment module 03 is evaluated and tested described
Bypass the embodiment that the network side of observation station extremely described secondary nodal point is congested, as illustrated in figs. 1 and 2
。
In a preferred embodiment, quality assessment module 03 can be according to certain rule by each node
Or the segmented network quality information of each connection collects, such as according to IP section or user
Geographical position, collects corresponding each network delay and retransmission rate, thus evaluates and tests lattice chain
Network bottleneck point i.e. network congestion point present in road.
The evaluation and test that quality assessment module 03 carries out network quality according to concrete network quality evaluation and test parameter is asked
With reference to the specific descriptions of above-mentioned related embodiment, do not repeat them here.
The present embodiment is by arranging bypass observation between primary nodal point and the secondary nodal point in network link
Point;When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive
Arrive the time of described bypass observation station, obtain described primary nodal point respectively to described bypass observation
The first network time delay of point and the first retransmission rate, and described bypass observation station is to described second section
Second network delay of point and the second retransmission rate;According to described first network time delay, the second network
Time delay, the first retransmission rate and the second retransmission rate, evaluate and test network quality, have accurate assessment network
The beneficial effect of quality, and the trouble point of network can be accurately positioned, improve network
The accuracy of quality assessment.
The foregoing is only the preferred embodiments of the present invention, not thereby limit its scope of the claims, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, directly
Or indirectly it is used in other relevant technical fields, the most in like manner it is included in the patent protection of the present invention
In the range of.
Claims (6)
1. a network quality evaluating method based on bypass, it is characterised in that comprise the following steps:
Between primary nodal point and secondary nodal point in network link, bypass observation station is set;
When described primary nodal point carries out data interaction with secondary nodal point, the packet of recording interactive arrives institute
State the time of bypass observation station, and obtain the first net of described primary nodal point extremely described bypass observation station respectively
Second network delay of network time delay and described bypass observation station extremely described secondary nodal point;Meanwhile, described in obtaining
Primary nodal point is to the first retransmission rate on described bypass observation station path and described bypass observation station to the most described the
The second retransmission rate on two node paths;
According to described first network time delay, the second network delay, the first retransmission rate and the second retransmission rate, comment
Survey described primary nodal point congested to the network side of described bypass observation station or evaluate and test described bypass observation station to institute
The network side stating secondary nodal point is congested;
Wherein, retransmit according to described first network time delay, the second network delay, the first retransmission rate and second
Rate, evaluates and tests described primary nodal point congested to the network side of described bypass observation station or evaluate and test described bypass observation
Point includes to the step that the network side of described secondary nodal point is congested:
If described first network time delay is more than preset network delay, or described first retransmission rate is more than preset
During retransmission rate, evaluate and test described primary nodal point congested to the network side of described bypass observation station;
If described second network delay is more than described preset network delay, or described first retransmission rate is more than
During described preset retransmission rate, evaluate and test described bypass observation station congested to the network side of described secondary nodal point.
2. the method for claim 1, it is characterised in that described primary nodal point clicks on second section
During row data interaction, the packet of recording interactive arrives the time of described bypass observation station, and obtains respectively
Described primary nodal point is to the first network time delay of described bypass observation station and described bypass observation station to the most described the
Second network delay of two nodes includes:
Record packet that described primary nodal point sends to described secondary nodal point through described bypass observation station
Time T1;
Record response data packet that described secondary nodal point returns to described primary nodal point through described bypass observation
The time T2 of point;
When recording described primary nodal point by described response data packet transmission extremely described secondary nodal point, through described
The time T3 of bypass observation station;
According to T2, T3, it is calculated the first network time delay of described primary nodal point extremely described bypass observation station
T1 is: t1=(T3-T2)/2;
According to T1, T2, it is calculated the second network delay of described bypass observation station extremely described secondary nodal point
T2 is: t2=(T2-T1)/2.
3. the method for claim 1, it is characterised in that described primary nodal point clicks on second section
During row data interaction, obtain described primary nodal point to the first retransmission rate on described bypass observation station path and
Described bypass observation station includes to the second retransmission rate on described secondary nodal point path:
Described primary nodal point to described secondary nodal point send packet time, obtain described bypass observation station to
Described secondary nodal point sends the quantity of packet and again transmits the quantity of packet, thus obtains described side
The second retransmission rate on road observation station extremely described secondary nodal point path;
Described secondary nodal point to described primary nodal point send packet time, obtain described bypass observation station to
Described primary nodal point sends the quantity of packet and again transmits the quantity of packet, thus obtains described the
The first retransmission rate on one node extremely described bypass observation station path.
4. a network quality evaluating apparatus based on bypass, it is characterised in that including:
Observation station arranges module, arranges side between primary nodal point and the secondary nodal point in network link
Road observation station;
Parameter acquisition module, is used for when described primary nodal point carries out data interaction with secondary nodal point, record
Mutual packet arrives the time of described bypass observation station, and obtains described primary nodal point respectively to described
When the bypass first network time delay of observation station and described bypass observation station are to the second network of described secondary nodal point
Prolong;Meanwhile, described primary nodal point is obtained to the first retransmission rate on described bypass observation station path and described
The second retransmission rate on bypass observation station extremely described secondary nodal point path;
Quality assessment module, for according to described first network time delay, the second network delay, the first re-transmission
Rate and the second retransmission rate, evaluate and test that described primary nodal point is congested to the network side of described bypass observation station or evaluation and test
Described bypass observation station is congested to the network side of described secondary nodal point;
Described quality assessment module is additionally operable to:
If described first network time delay is more than preset network delay, or described first retransmission rate is more than preset
During retransmission rate, evaluate and test described primary nodal point congested to the network side of described bypass observation station;
If described second network delay is more than described preset network delay, or described first retransmission rate is more than
During described preset retransmission rate, evaluate and test described bypass observation station congested to the network side of described secondary nodal point.
5. device as claimed in claim 4, it is characterised in that described parameter acquisition module is additionally operable to:
Record packet that described primary nodal point sends to described secondary nodal point through described bypass observation station
Time T1;
Record response data packet that described secondary nodal point returns to described primary nodal point through described bypass observation
The time T2 of point;
When recording described primary nodal point by described response data packet transmission extremely described secondary nodal point, through described
The time T3 of bypass observation station;
According to T2, T3, it is calculated the first network time delay of described primary nodal point extremely described bypass observation station
T1 is: t1=(T3-T2)/2;
According to T1, T2, it is calculated the second network delay of described bypass observation station extremely described secondary nodal point
T2 is: t2=(T2-T1)/2.
6. the device as described in claim 4 or 5, it is characterised in that described parameter acquisition module is additionally operable to:
Described primary nodal point to described secondary nodal point send packet time, obtain described bypass observation station to
Described secondary nodal point sends the quantity of packet and again transmits the quantity of packet, thus obtains described side
The second retransmission rate on road observation station extremely described secondary nodal point path;
Described secondary nodal point to described primary nodal point send packet time, obtain described bypass observation station to
Described primary nodal point sends the quantity of packet and again transmits the quantity of packet, thus obtains described the
The first retransmission rate on one node extremely described bypass observation station path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310032891.4A CN103139014B (en) | 2013-01-28 | 2013-01-28 | Network quality evaluating method based on bypass and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310032891.4A CN103139014B (en) | 2013-01-28 | 2013-01-28 | Network quality evaluating method based on bypass and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103139014A CN103139014A (en) | 2013-06-05 |
CN103139014B true CN103139014B (en) | 2016-08-10 |
Family
ID=48498351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310032891.4A Active CN103139014B (en) | 2013-01-28 | 2013-01-28 | Network quality evaluating method based on bypass and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103139014B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108092840B (en) * | 2016-11-23 | 2021-08-31 | 中国移动通信集团广东有限公司 | Network rate segmentation processing method and device |
WO2018119790A1 (en) * | 2016-12-28 | 2018-07-05 | 华为技术有限公司 | Network performance detection method and apparatus |
CN108650038A (en) * | 2018-05-08 | 2018-10-12 | 商派软件有限公司 | The method and system of regional network quality is judged with the retransmission rate of data packet |
CN111865810B (en) * | 2019-04-30 | 2022-08-09 | 华为技术有限公司 | Congestion information acquisition method, system, related equipment and computer storage medium |
CN110830325B (en) * | 2019-11-05 | 2021-05-14 | 北京云杉世纪网络科技有限公司 | Adaptive network bypass path network flow direction speculation method and system |
CN116996421B (en) * | 2023-09-28 | 2023-12-26 | 腾讯科技(深圳)有限公司 | Network quality detection method and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321095A (en) * | 2008-07-14 | 2008-12-10 | 中兴通讯股份有限公司 | Communication system implementing link measurement and its link measuring method |
CN101409651A (en) * | 2008-11-26 | 2009-04-15 | 中国电信股份有限公司 | Method, system and equipment for monitoring soft exchange load-bearing network quality |
CN101436960A (en) * | 2008-12-18 | 2009-05-20 | 中国移动通信集团浙江有限公司 | Test method for monitoring P bearing network quality |
CN102064981A (en) * | 2010-12-29 | 2011-05-18 | 中兴通讯股份有限公司 | Bidirectional forwarding detection (BFD) method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8559320B2 (en) * | 2008-03-19 | 2013-10-15 | Avaya Inc. | Method and apparatus for measuring voice quality on a VoIP network |
CN102340426A (en) * | 2010-07-26 | 2012-02-01 | 中国移动通信集团重庆有限公司 | Method and device for evaluating voice quality of voice over Internet protocol (VOIP) |
-
2013
- 2013-01-28 CN CN201310032891.4A patent/CN103139014B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101321095A (en) * | 2008-07-14 | 2008-12-10 | 中兴通讯股份有限公司 | Communication system implementing link measurement and its link measuring method |
CN101409651A (en) * | 2008-11-26 | 2009-04-15 | 中国电信股份有限公司 | Method, system and equipment for monitoring soft exchange load-bearing network quality |
CN101436960A (en) * | 2008-12-18 | 2009-05-20 | 中国移动通信集团浙江有限公司 | Test method for monitoring P bearing network quality |
CN102064981A (en) * | 2010-12-29 | 2011-05-18 | 中兴通讯股份有限公司 | Bidirectional forwarding detection (BFD) method and system |
Also Published As
Publication number | Publication date |
---|---|
CN103139014A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103139014B (en) | Network quality evaluating method based on bypass and device | |
US9800478B2 (en) | Cross-layer troubleshooting of application delivery | |
US10986009B2 (en) | Cross-layer troubleshooting of application delivery | |
CN104836732B (en) | The automatic selecting method and system of network connection | |
CN102449957B (en) | Ip network fault locating method, apparatus, and system | |
CN104754630B (en) | A kind of network quality appraisal procedure, device and processing platform | |
US7760663B2 (en) | Packet tracing using dynamic packet filters | |
CN101815000A (en) | Methods and apparatus for determining and displaying wan optimization attributes for individual transactions | |
CN107852346B (en) | Analysis includes the method and apparatus of the network performance of the network of multiple network nodes | |
CN105634836A (en) | Information processing method and device | |
CN111934936B (en) | Network state detection method and device, electronic equipment and storage medium | |
CN103281256B (en) | The end-to-end path packet loss detection method of chromatography Network Based | |
Alexander et al. | Off-path round trip time measurement via TCP/IP side channels | |
CN113727379A (en) | Network visualization processing method and device, computer equipment and storage medium | |
TWI472207B (en) | A system for capturing multi-nodes and replaying cross-layers | |
Pucha et al. | On the impact of research network based testbeds on wide-area experiments | |
JP5958355B2 (en) | Analysis apparatus, analysis method, and analysis program | |
Mnisi et al. | Active throughput estimation using RTT of differing ICMP packet sizes | |
Brzoza | Key performance indicators of TCP flows | |
Lally et al. | Collection and characterization of BCNET BGP traffic | |
CN107070673A (en) | Path state return algorithm based on centralized control plane | |
Rodenas-Herráiz et al. | A handheld diagnostic system for 6LoWPAN networks | |
Zhang et al. | High fidelity off-path round-trip time measurement via TCP/IP side channels with duplicate SYNs | |
Milanesio et al. | Network level perspective in web sessions troubleshooting | |
Cheng et al. | Explaining BGP slow table transfers |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200624 Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer Patentee after: SANGFOR TECHNOLOGIES Inc. Address before: 518000 Nanshan Science and Technology Pioneering service center, No. 1 Qilin Road, Guangdong, Shenzhen 418, 419, Patentee before: Shenxin network technology (Shenzhen) Co.,Ltd. |