CN107579869A - Network performance detection method and the network equipment - Google Patents
Network performance detection method and the network equipment Download PDFInfo
- Publication number
- CN107579869A CN107579869A CN201610537532.8A CN201610537532A CN107579869A CN 107579869 A CN107579869 A CN 107579869A CN 201610537532 A CN201610537532 A CN 201610537532A CN 107579869 A CN107579869 A CN 107579869A
- Authority
- CN
- China
- Prior art keywords
- network
- network equipment
- message
- packet loss
- request message
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides a kind of network performance detection method and the network equipment, including:First network equipment receives second network equipment and sends first network performance measurement request message;First network equipment sends the second network performance measurement request message to the 3rd network equipment, and test session is bound in first network equipment used by test session and the second network performance measurement request message used by first network performance measurement request message;First network equipment receives the first back message that the 3rd network equipment is sent;Measurement result in first back message is packed into the second back message and sends second back message to second network equipment by first network equipment.Second network equipment is enabled to measure the network performance being in second network equipment between the 3rd network equipment of different network type network.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of network performance detection method and the network equipment.
Background technology
With the development of telecommunication technology, communication network scale is increasing, and polytype network be present
The situation of mixing.In order to ensure the stable operation of communication network, it is necessary to carry out detection maintenance to network.Its
Middle time delay detection and packet loss detection are the important detection means of testing characteristics of network.
For different types of network, the test protocol that time delay detection and packet loss detection use is different.Wherein
OAM (the English of ethernet layer:Operations, administration and management,
OAM) agreement can be International Telecommunication Union's (English:International Telecommunication
Union, ITU) telecommunication standardization sector's (English:ITU Telecommunication Standardization
Sector, ITU-T) Y.1731.Y.1731 the measurement of agreement is the statistics to network real traffic, is belonged to
Direct measurement, it can truly reflect network actual conditions, Y.1731 applied to Ethernet, such as two layers of ether
Net forwarding and Layer 2 virtual private network (English:Layer 2virtual private network, L2VPN) field
Scape, for three layers of forwarding scene such as Internet protocol (English:Internet Protocol, IP) forward and three layers
Virtual Private Network (English:Layer 3virtual private network, L3VPN) scene do not apply to then.
Two-way active measurement agreement (English:Two-Way Active Measurement Protocol,
TWAMP) it is a kind of performance measurement agreement for being used for three layers of forwarding scene.TWAMP using client/
Server communication pattern, the actions such as foundation, the startup of measurement session are initiated by client.Server coordinates
Response, such as to visiting frame message (English:Probe message) response.Performance measurement data is by visitor
Collect, safeguard in family end.TWAMP uses UDP (English:User Datagram Protocol,
UDP) message visits frame, the two-way delay of statistics network, shake as measurement.TWAMP is only applicable to three
Layer forwarding scene.
Request for Comment (English:Request for Comments, RFC) 2544 define another be applicable
The measuring method of scene is forwarded in three layers.Test packet is sent by certain flow by originating end in RFC2544,
Reflection end is according to packet filtering condition by test packet loopback.But RFC2544 is also only applicable to three layers of forwarding
Scene.
The agreement of above-mentioned testing characteristics of network is not all suitable for the scene of polytype mixture of networks.
The content of the invention
The application provides a kind of network performance detection method and the network equipment, in hybrid network framework
Network performance between the network equipment in different network protocol is accurately measured.
First aspect provides a kind of network performance detection method, including:
First network equipment receives the first network performance measurement request message that second network equipment is sent, institute
State first network performance measurement request message and use first network test protocol, the first network test association
Discuss as the measurement agreement based on network real traffic;
The first network equipment sends the second network performance measurement request message, institute to the 3rd network equipment
State the second network performance measurement request message and use the second network test agreement, the second network test association
Discuss and adopted for the measurement agreement based on non-network real traffic, the first network performance measurement request message
Test session is described the used by test session and the second network performance measurement request message
Bound in one network equipment, the second network performance measurement request message is surveyed with the first network performance
Ask the network performance item of measurement identical in amount request message;
The first network equipment receives the first back message that the 3rd network equipment is sent, and described the
One back message is the back message of second network performance measurement;
Measurement result in first back message is packed into the second response report by the first network equipment
Wen Zhong, second back message are the back message of the first network performance measurement;
The first network equipment sends second back message to second network equipment.
The network performance detection method that the application provides, in the network of application different network protocol mixed networking
In framework, the network of different network protocol is in second network equipment when the second network device requests obtain
In the 3rd network equipment between network performance when, at the network intermediate forwarding nodes of hybrid network
First network equipment the measurement result in the second network performance measurement back message is packed into the second net
In the first network performance measurement back message that network equipment is sent, second network equipment is set to obtain and two
The measurement parameter of the different types of network of network where the network equipment, so as to measure hybrid network
Network performance.
Further, in a kind of possible implementation of first aspect, the first network equipment is to
Before three network equipments send the second network performance measurement request message, in addition to:
The first network performance measurement request message is responded in the first network equipment pause.
Because first network performance measurement request message is to be used to second network equipment of measurement set with the 3rd network
Network performance between standby, rather than the network performance between first network equipment and second network equipment,
Therefore first network equipment, which needs to suspend, responds first network performance measurement request message.
Further, in a kind of possible implementation of first aspect, the first network equipment receives
The first network performance measurement request message that second network equipment is sent, including:
The first network equipment receives the first time delay detection request report that second network equipment is sent
Text;
The first network equipment sends the second network performance measurement request message, bag to the 3rd network equipment
Include:
The first network equipment sends the second time delay detection request message to the 3rd network equipment;
The first network equipment receives the first back message that the 3rd network equipment is sent, including:
The first network equipment receives the first time delay detection that the 3rd network equipment is sent and responds report
When text, the first time delay detection back message include the 3rd network equipment and receive described second
Time and the 3rd network equipment when prolonging detection request message send first time delay detection and respond report
Time when literary;
Measurement result in first back message is packed into the second response report by the first network equipment
Wen Zhong, including:
3rd network equipment is received the second time delay detection request report by the first network equipment
Time and the 3rd network equipment when literary send time during the first time delay detection back message,
It is packed into the second time delay detection back message;
The first network equipment sends second back message to second network equipment, including:
The first network equipment sends second time delay detection to second network equipment and responds report
Text, the second time delay detection back message are used to make second network equipment obtain second network
Two-way time delay between equipment and the 3rd network equipment.
In the network architecture to mixed networking, the time delay between the network equipment in different network protocol
When measuring, using the network performance detection method of the application offer, net in hybrid network can be obtained
Delay performance between network equipment, and the measurement result and the measurement result basic one based on network real traffic
Cause.
Further, in a kind of possible implementation of first aspect, the first network equipment receives
The first network performance measurement request message that second network equipment is sent, including:
The first network equipment receives at least two packet loss detections that second network equipment is sent successively
Request message;
The first network equipment sends the second network performance measurement request message, bag to the 3rd network equipment
Include:
The first network equipment is often connected to a packet loss detection request message, to the 3rd network
Equipment sends the packet loss detection request message of an extension, is wrapped in the packet loss detection request message each extended
Include the packet loss detection mark of extension;
The first network equipment receives the first back message that the 3rd network equipment is sent, including:
The first network equipment receives losing at least two extensions that the 3rd network equipment is sent successively
Bag detection back message, the packet loss detection back message each extended is please to the packet loss detection of an extension
The response of message is asked, the packet loss detection back message each extended includes the 3rd network equipment and connect
Receive the flow enumeration data of the live network flow received during a packet loss detection request message extended
The live network flow sent with the 3rd network equipment when sending the packet loss detection back message of extension
Flow enumeration data;
Measurement result in first back message is packed into the second response report by the first network equipment
Wen Zhong, including:
The first network equipment often receives the packet loss detection back message of an extension, by the institute of carrying
State the live network that the 3rd network equipment receives when receiving a packet loss detection request message extended
The flow enumeration data of flow and the 3rd network equipment are when sending the packet loss detection back message of extension
The flow enumeration data of the live network flow of transmission, it is packed into a packet loss detection back message, often
Individual packet loss detection back message is the back message of a packet loss detection request message;
The first network equipment sends second back message to second network equipment, including:
The first network equipment sends the packet loss detection after each filling to second network equipment successively
Back message, the packet loss detection back message after the filling are used to make second network equipment obtain institute
Second network equipment is stated to the packet loss data of the 3rd network equipment.
In the network architecture to mixed networking, the packet loss between the network equipment in different network protocol
When data measure, using the network performance detection method of the application offer, the network equipment can be obtained
Between true packet loss performance data, accurate measurement can be realized.
Further, in a kind of possible implementation of first aspect, the first network equipment receives
Before the first network performance measurement request message that second network equipment is sent, in addition to:
The first network equipment is by test session and institute used by the second network performance measurement request message
Test session is bound used by stating first network performance measurement request message.
Second aspect provides a kind of network equipment, and the network equipment is first network equipment, for realizing the
On the one hand the network performance detection method that is provided, the network equipment include receiving module, sending module and
Processing module, each module are respectively used to perform reception, transmission and processing work(in above-mentioned first network equipment
Energy.
The third aspect provides a kind of network equipment, and the network equipment is first network equipment, and described first
The network equipment includes:
First network interface, report is asked for receiving the first network performance measurement that second network equipment is sent
Text, the first network performance measurement request message use first network test protocol, the first network
Test protocol is the measurement agreement based on network real traffic;
Second network interface, for sending the second network performance measurement request message to the 3rd network equipment,
The second network performance measurement request message uses the second network test agreement, second network test
Agreement is the measurement agreement based on non-network real traffic, the first network performance measurement request message institute
Test session is described used by the test session of use and the second network performance measurement request message
Bound in first network equipment, the second network performance measurement request message and the first network performance
Ask the network performance item of measurement identical in measurement request message;Receive what the 3rd network equipment was sent
First back message, first back message are the back message of second network performance measurement;
Processor, for the measurement result in first back message to be packed into the second back message,
Second back message is the back message of the first network performance measurement;
The first network interface, it is additionally operable to send second back message to second network equipment.
Further, in a kind of possible implementation of the third aspect, the first network protocol interface,
It is additionally operable to before the second network performance measurement request message is sent to the 3rd network equipment, institute is responded in pause
State first network performance measurement request message.
Further, in a kind of possible implementation of the third aspect, the first network protocol interface,
The the first time delay detection request message sent specifically for receiving second network equipment;
The second procotol interface, please specifically for sending the second time delay detection to the 3rd network equipment
Seek message;The first time delay detection back message that the 3rd network equipment is sent is received, when described first
Prolonging detection back message includes the 3rd network equipment and receives the second time delay detection request message
When time and the 3rd network equipment send the first time delay detection back message when time;
The processor, please specifically for the 3rd network equipment is received into second time delay detection
When time and the 3rd network equipment when seeking message send the first time delay detection back message when
Between, it is packed into the second time delay detection back message;
The first network protocol interface, specifically it is additionally operable to send described second to second network equipment
Time delay detection back message, the second time delay detection back message are used to obtain second network equipment
Take the two-way time delay between second network equipment and the 3rd network equipment.
Further, in a kind of possible implementation of the third aspect, the first network protocol interface,
At least two packet loss detection request messages sent successively specifically for receiving second network equipment;
The second procotol interface, specifically for being often connected to a packet loss detection request message,
The packet loss detection request message of an extension is sent to the 3rd network equipment, the packet loss inspection each extended
Surveying request message includes the packet loss detection mark of extension;Receive what the 3rd network equipment was sent successively
The packet loss detection back message of at least two extensions, the packet loss detection back message each extended is to one
The response of the packet loss detection request message of extension, the packet loss detection back message each extended include described
The live network stream that 3rd network equipment receives when receiving a packet loss detection request message extended
The flow enumeration data of amount and the 3rd network equipment are sent out when sending the packet loss detection back message of extension
The flow enumeration data of the live network flow sent;
The processor, the packet loss detection request message specifically for often receiving an extension, will be carried
The 3rd network equipment receive one extension packet loss detection request message when receive it is true
The flow enumeration data of network traffics and the 3rd network equipment respond report in the packet loss detection for sending extension
The flow enumeration data of the live network flow sent when literary, it is packed into a packet loss detection back message,
Each packet loss detection back message is the back message of a packet loss detection request message;
The first network protocol interface, specifically it is additionally operable to send each to second network equipment successively
Packet loss detection back message after filling, packet loss detection back message after the filling are used to making described the
Two network equipments obtain second network equipment to the packet loss data of the 3rd network equipment.
Further, in a kind of possible implementation of the third aspect, the processor is additionally operable to
Test session and first network performance measurement request report used by two network performance measurement request messages
Test session is bound used by text.
Further, in above-mentioned various possible implementations, first network agreement is ITU-T
Y.1731, the second procotol is TWAMP.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, in being described below to embodiment
The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, do not paying creative labor
Under the premise of, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of network performance detection method provided in an embodiment of the present invention;
Fig. 2 is the interaction flow of network performance detection method embodiment one provided in an embodiment of the present invention
Figure;
Fig. 3 is the interaction flow of network performance detection method embodiment two provided in an embodiment of the present invention
Figure;
Fig. 4 is the interaction flow of network performance detection method embodiment three provided in an embodiment of the present invention
Figure;
Fig. 5 is the structural representation of network equipment embodiment one provided in an embodiment of the present invention;
Fig. 6 is the structural representation of network equipment embodiment two provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of network performance detection method, by double layer network and three-layer network
It is connected different measurement agreements in the middle transition network node of networking, so as to realize to polytype
Network performance measurement under the scene of network hybrid networking.
Fig. 1 is the application scenarios schematic diagram of network performance detection method provided in an embodiment of the present invention, is such as schemed
Shown in 1, the method that the present embodiment provides is applied in L2VPN and L3VPN mixed networking scenes, should
The network architecture includes first network equipment 11, second network equipment 12 and the 3rd network equipment 13.Its
In second network equipment 12 be connected with first network equipment 11 by L2VPN networkings, the 3rd network equipment
13 are connected with first network equipment 11 by L3VPN networkings.First network equipment 11 is actually two
The middle transition node of layer and three layers of hybrid network.The following each embodiments of the present invention are with network shown in Fig. 1
Exemplified by scene, network performance detection method provided in an embodiment of the present invention is illustrated.
Fig. 2 is the interaction diagrams of network performance detection method embodiment one provided in an embodiment of the present invention,
As shown in Fig. 2 the method for the present embodiment includes:
Step S201, second network equipment send first network performance measurement request report to first network equipment
Text, first network performance measurement request message use first network test protocol, first network test protocol
For the measurement agreement based on network real traffic.
Specifically, based on the network architecture shown in Fig. 1, because second network equipment 12 and the 3rd network are set
Standby 13 are in different layers, between second network equipment 12 and first network equipment 11, and the 3rd
Used network test agreement is different between the network equipment 13 and first network equipment 11.Therefore can not
Using a kind of identical network test agreement between second network equipment 12 and the 3rd network equipment 13
Network performance is directly tested.Although the mode based on IP forwardings is presently, there are to network in hybrid network
The scheme that performance is tested, tested for example with TWAMP or RFC2544 standards, but the party
Method is only applicable to three layers of forwarding scene.
In order to realize the measurement to hybrid network middle-end to end node network performance, first, internetworking is triggered
Second network equipment 12 that can be measured needs to send the first network performance based on first network test protocol
Request message is measured, wherein, first network agreement is the measurement agreement based on network real traffic.Making
In the first network equipment 11 of nodes, to be configured accordingly, make second network equipment
Used by 12 used by test session and the 3rd network equipment 13 test session in first network equipment
Bound in 11, make second network equipment 12 after first network performance measurement request message is received, can mistake
It is to be used to measure second network equipment 12 and the 3rd network to know the first network performance measurement request message
The measured message of network performance between equipment 13.So as to realize to internetworking end to end in hybrid network
It can be tested.
Specifically, when second network equipment 12 in network needs to obtain second network equipment 12 and the
During network performance between three network equipments 13, second network equipment 12 is first to first network equipment 11
Send first network performance measurement request message.Used by the first network performance measurement request message
One network test agreement is applied to procotol between the network equipment 12 of first network equipment 11 and second,
And first network agreement is the measurement agreement based on network real traffic, such as Y.1731 agreement.
Step S202, first network equipment send the second network performance measurement request report to the 3rd network equipment
Text, the second network performance measurement request message use the second network test agreement, the second network test agreement
For the measurement agreement based on non-network real traffic, first network performance measurement request message is used to be surveyed
Test session is tied up in first network equipment used by examination session and the second network performance measurement request message
It is fixed, the second network performance measurement request message and request measurement in first network performance measurement request message
Network performance item is identical.
Specifically, due in first network equipment 11, will be tested used by second network equipment 12
Test session is bound in first network equipment 11 used by session and the 3rd network equipment 13, also
Be by first network performance measurement request message used by test session and the second network performance measurement ask
Test session is bound in first network equipment used by message.So when first network equipment 11 receives
To after first network performance measurement request message, you can know that the first network performance measurement request message is
For measuring the network performance between second network equipment 12 and the 3rd network equipment 13.So first
After the network equipment 11 receives first network performance measurement request message, first network equipment 11 need to
3rd network equipment 13 sends the second network performance measurement request message, the second network performance measurement request report
Text is applied to the second procotol between the network equipment 13 of first network equipment 11 and the 3rd.
Because the second network performance measurement request message is that first network equipment 11 actively triggers, that is,
It is not based on network real traffic, then the second procotol should be the measurement association based on non-network real traffic
View, such as TWAMP agreements.Wherein the second network performance measurement request message is surveyed with first network performance
Ask the network performance item of measurement identical in amount request message, that is to say, that if first network performance measurement
The network performance that measurement is asked in request message is time delay, then in the second network performance measurement request message
The network performance of request measurement is also time delay.
Networking mode between first network equipment 11, second network equipment 12, the 3rd network equipment 13
It is not limited with Fig. 1, as long as first used by between the network equipment 12 of first network equipment 11 and second
Second network used by between network test agreement and the network equipment 13 of first network equipment 11 and the 3rd
Agreement is different, and first network test protocol is the measurement agreement based on network real traffic, the second network
Test protocol is the measurement agreement based on non-network real traffic.
First network equipment 11 is after first network performance measurement request message is received, to first network
Equipment 11 sends the time interval between the second network performance measurement request message to the 3rd network equipment 13
Time should be as far as possible short, and first network equipment 11 is after first network performance measurement request message is received
It will immediately trigger and send the second network performance measurement request message.Inside first network equipment 11
Processing delay shortens as far as possible, in first network equipment 11, generally by network processing unit (English:network
Processor, NP) or hardware chip completion aforesaid operations, wherein hardware chip can be to be arranged at first
Any one or more in the network equipment have the chip of processing function.
Step S203, the first back message that first network equipment the 3rd network equipment of reception is sent, first
Back message is the back message of the second network performance measurement.
Specifically, when first network equipment 11 sends the second network performance measurement to the 3rd network equipment 13
After request message, the 3rd network equipment 13 will return to the second network performance measurement request message
Should, send the first back message to first network equipment 11.The network of first network equipment 11 and the 3rd is set
Network performance is carried out using the second test protocol for being applicable therebetween used procotol between standby 13
Measurement.Such as in the network architecture shown in Fig. 1, the network equipment of first network equipment 11 and the 3rd
13 pass through L3VPN network connections, then the second network performance measurement request message and the first back message
Method defined in TWAMP can be used to carry out, here is omitted.
Measurement result in first back message is packed into the second response by step S204, first network equipment
In message, the second back message is the back message of first network performance measurement.
Specifically, due to first network performance measurement request message and the second network performance measurement request message
Used test protocol is different, therefore first network equipment 11 is after the first back message is received, nothing
Method is sent directly to second network equipment 12.Therefore, when first network equipment 11 receives first
After back message, in order to which the measurement result wherein carried is sent into second network equipment 12, it is necessary to
One back message is parsed, and obtains the measurement result wherein carried.
The first network performance measurement request message that second network equipment 12 is sent to first network equipment 11
It is for measuring the network performance between second network equipment 12 and the 3rd network equipment 13, then first
The network equipment 11 needs to send for responding first network performance measurement request report to second network equipment 12
Second back message of text so that second network equipment 12 obtains according to the information carried in the second back message
Take the network performance between second network equipment 12 and the 3rd network equipment 13.So first network equipment
11 report after the measurement result in getting the first back message, it is necessary to will parse the first of acquisition and respond
Measurement result in text is packed into the second back message.Second back message is to respond first network
Performance measurement request message.
Step S205, first network equipment send the second back message to second network equipment.
Specifically, when the measurement result in the first back message is packed into second time by first network equipment 11
Answer in message, after building the second back message, you can send second response to second network equipment 12
Message.
First network equipment is after the first back message is received, to first network equipment 11 to the second net
The time interval time that network equipment 12 is sent between the second back message should be as far as possible short, first network equipment
11 will immediately trigger the second back message of transmission after the first back message is received.In order to ensure first
The inter-process time delay of the network equipment 11 shortens as far as possible, in first network equipment, generally by hardware processor
Or hardware chip completes aforesaid operations.
Step S206, second network equipment calculate second network equipment and the 3rd net according to the second back message
Network performance between network equipment.
Specifically, after second network equipment 12 receives the second back message, you can therefrom parse
Property when three network equipments 13 receive the second network performance measurement request message and send the first back message
Can data, send first network performance measurement request message in conjunction with second network equipment 12 and receive the
Performance data during two back messages, you can calculate second network equipment 12 and the 3rd network equipment 13
Between network performance.
The network performance detection method that the present embodiment provides, in the net of application different network protocol mixed networking
In network framework, the net of different network protocol is in second network equipment when the second network device requests obtain
During network performance between the 3rd network equipment in network, positioned at the network intermediate forwarding nodes of hybrid network
Measurement result in second network performance measurement back message is packed into second by the first network equipment at place
The network equipment send first network performance measurement back message in, enable second network equipment obtain and
The measurement parameter of the different types of network of network where two network equipments, so as to measure hybrid network
Network performance.
In addition, after first network equipment 11 receives first network performance measurement request message, due to this
First network performance measurement request message is to be used to measure second network equipment 12 and the 3rd network equipment 13
Between network performance, rather than the internetworking between the network equipment 12 of first network equipment 11 and second
Can, therefore first network equipment 11 needs to suspend and responds first network performance measurement request message.When first
When the network equipment 11 receives the first back message of the 3rd network equipment transmission, then respond first network
Request message can be measured.
In order to realize network performance detection method provided in an embodiment of the present invention, it is necessary in double layer network and three
Configuration protocol connector function in the middle transition node of layer network mixed networking, by double layer network and three layers
Different measurement agreements employed in network conversate binding, exchange and survey between different measurement agreements
Result is measured, so as to realize packet loss and latency measurement across two layers and three layers.I.e. in first network equipment 11
Measurement agreement used by second network equipment 12 and the 3rd network equipment 13 is conversated binding.
When detecting the network performance between the network equipment, it is mainly used in reflecting between the network equipment
Network performance delay performance of the parameter between the network equipment, and the packet loss between the network equipment
Energy.Separately below so that network performance is time delay and packet loss as an example, to internetworking provided in an embodiment of the present invention
Energy detection method is further elaborated.
Fig. 3 is the interaction diagrams of network performance detection method embodiment two provided in an embodiment of the present invention,
As shown in figure 3, the method for the present embodiment includes:
Step S301, second network equipment send the first time delay detection request message to first network equipment,
First time delay detection request message uses first network test protocol, and first network test protocol is based on net
The measurement agreement of network real traffic.
Specifically, still by taking the network architecture shown in Fig. 1 as an example, when second network equipment 12 needs measurement second
It is delayed during two-way between the network equipment 13 of the network equipment 12 and the 3rd, due in second network equipment 12
Between first network equipment 11, and adopted between the 3rd network equipment 13 and first network equipment 11
Network test agreement is different, therefore second network equipment 12 can not use a kind of identical network test
Agreement is tested the two-way time delay between second network equipment 12 and the 3rd network equipment 13.Second
The network equipment 12 sends the inspection of first the first time delay of time delay detection request message to first network equipment 11 first
Survey request message and use first network test protocol, and first network test protocol is truly to be flowed based on network
The measurement agreement of amount.
Step S302, first network equipment send the second time delay detection request message to the 3rd network equipment,
The second time delay detection request message uses the second network test agreement, and the second network test agreement is base
In the measurement agreement of non-network real traffic.
Specifically, due in first network equipment 11, second network equipment 12 and the 3rd network being set
Network test agreement has carried out binding session used by standby 13, then when first network equipment 11 receives
To after the first time delay detection request message, the second time delay detection request report will be sent to the 3rd network equipment 13
Text.Second time delay detection request message is based between the network equipment 13 of first network equipment 11 and the 3rd
Second network test agreement, and the second network test agreement is the measurement agreement based on non-network real traffic.
This is due to that the second time delay detection request message is that first network equipment 11 actively triggers, and is not network
The reflection of real traffic.
Step S303, first network equipment receive the first time delay detection that the 3rd network equipment is sent and respond report
Text, the first time delay detection back message include the 3rd network equipment and receive the second time delay detection request report
Time and the 3rd network equipment when literary send time during the first time delay detection back message.
Specifically, should by responding after the 3rd network equipment 13 receives the second time delay detection request message
Second time delay detection request message, sent to first network equipment 11 for responding the request of the second time delay detection
First time delay detection back message of message.This process is identical with traditional time delay detection process, i.e., and
Three network equipments 13 can record a reception time, so when receiving the second time delay detection request message
Send the first time delay detection back message to first network equipment 11 afterwards and record and send the time.3rd network
Equipment 13 carries the 3rd network in the first time delay detection back message sent to first network equipment 11
Time and the 3rd network equipment when equipment receives the second time delay detection request message send the inspection of the first time delay
Survey time during back message.
3rd network equipment is received the second time delay detection request message by step S304, first network equipment
When time and the 3rd network equipment send the first time delay detection back message when time, be packed into second
In time delay detection back message.
Specifically, after first network equipment 11 receives the first time delay detection back message, it will be entered
Row parsing, wherein when the 3rd network equipment 13 carried receives the second time delay detection request message
Time and the 3rd network equipment 13 send time during the first time delay detection back message.First network equipment
The purpose that 11 pair of first time delay detection back message is parsed, it is due to the first time delay detection back message
The first time delay detection request message institute of second network equipment 12 transmission is received with first network equipment 11
The test protocol of use is different, and first network equipment 11 can not directly send out the first time delay detection back message
Deliver to second network equipment 12.Therefore need first to parse the measurement result in the first time delay detection back message,
That is time and the 3rd network equipment when the 3rd network equipment 13 receives the second time delay detection request message
13 send time during the first time delay detection back message.
Then the 3rd network equipment 13 is received the second time delay detection request message by first network equipment 11
When time when sending the first time delay detection back message of time and the 3rd network equipment 13, be packed into the
In two time delay detection back messages.Second time delay detection back message is to be used to respond second network equipment 12
The the first time delay detection request message sent.
Step S305, first network equipment send the second time delay detection back message to second network equipment.
Specifically, after the filling to the second time delay detection back message is completed, first network equipment 11 is
The second time delay detection back message can be sent to second network equipment 12.
Step S306, second network equipment connect according to the 3rd network equipment in the second time delay detection back message
Time, the 3rd network equipment when receiving the second time delay detection request message send the first time delay detection and responded
Temporal information when time during message, second network equipment send the first time delay detection request message, the
Temporal information when two network equipments receive the second time delay detection back message calculate second network equipment with
Two-way time delay between 3rd network equipment.
Specifically, after second network equipment 12 receives the second time delay detection back message, you can with root
The two-way time delay between second network equipment and the 3rd network equipment is calculated according to the information wherein carried.In detail
For thin, second network equipment 12 first, which is able to record to first network equipment 11, sends the inspection of the first time delay
Time during request message is surveyed, is designated as T1, secondly second network equipment 12 can also record reception
To time during the second time delay detection back message, T4 is designated as.Then second network equipment 12 is gone back
The 3rd network equipment 13, which has been got, from the second time delay detection back message receives first network equipment
Time and the 3rd network equipment 13 during 11 the second time delay detection request message of transmission send the inspection of the first time delay
Time during back message is surveyed, it is designated as T2 and T3 respectively.So second network equipment 12 and the 3rd
Two-way time delay T between the network equipment 13 can calculate according to following formula:T=(T4-T1)-(T3-T2).
In the embodiment shown in fig. 3, carried out using network performance detection method provided in an embodiment of the present invention
During delay testing, although the first net used by between the network equipment 12 of first network equipment 11 and second
Network test protocol is and the network equipment 13 of first network equipment 11 and the 3rd based on network real traffic
Between used by the second network test agreement be based on non-network real traffic.But because time delay is examined
The characteristic of survey, it is only necessary to obtain the time of end-to-end transmission and reception data, you can calculate end to end
Whether two-way time delay, test packet are that measurement result is not influenceed substantially based on the message of real traffic.
Therefore the network for formance measuring method that the present embodiment provides can be measured end-to-end two-way in hybrid network
Time delay, and the measurement result and the measurement result based on network real traffic are basically identical.
Fig. 4 is the interaction diagrams of network performance detection method embodiment three provided in an embodiment of the present invention,
As shown in figure 4, the method for the present embodiment includes:
Step S401, second network equipment sends at least two packet loss detections to first network equipment successively please
Message is sought, packet loss detection request message uses first network test protocol, and first network test protocol is base
In the measurement agreement of network real traffic.
Specifically, still by taking the network architecture shown in Fig. 1 as an example, when second network equipment 12 needs measurement second
The network equipment 12 to the 3rd network equipment 13 packet loss data when, due in second network equipment 12 and
Between one network equipment 11, and between the 3rd network equipment 13 and first network equipment 11 used by
Network test agreement is different, therefore second network equipment 12 can not use a kind of identical network test agreement
The packet loss data of second network equipment 12 to the 3rd network equipment 13 are tested.To packet loss data
Test needs just calculate by the relation between two test packets and corresponding back message, but
What is calculated using two messages is only instantaneous packet loss data, the packet loss data to calculate a period of time,
So just need by multiple test packets and corresponding back message, calculate the adjacent test of each two
Relation between message and back message, you can show that user embodies the curve of packet loss performance.In this reality
Apply in example, second network equipment 12 sends the inspection of at least two packet losses to first network equipment 11 successively first
Request message is surveyed, at least two packet loss detections request message uses first network test protocol, and first
Network test agreement is the measurement agreement based on network real traffic.
Step S402, first network equipment are often connected to a packet loss detection request message, set to the 3rd network
Preparation send the packet loss detection request message of an extension, and the packet loss detection request message each extended includes
The packet loss detection mark of extension, the packet loss detection request message of extension use the second network test agreement, the
Two network test agreements are the measurement agreement based on non-network real traffic.
The packet loss detection request message of extension is based between the network equipment 13 of first network equipment 11 and the 3rd
The second network test agreement (such as TWAMP or RFC2544), and the second network test agreement is
Measurement agreement based on non-network real traffic.The packet loss detection request message of second network test agreement is
Actively sent, be not the reaction of network real traffic.Due to the message of the second network test agreement
The message of non-network real traffic is all based on, therefore, based on the back message of the second network test agreement,
Also the packet loss measurement result for being capable of reaction network real traffic can not be obtained.
However, what first network equipment 11 sent to the 3rd network equipment 13 is not the second network test
The standard testing message of agreement, but the packet loss detection request message extended.The packet loss detection request of extension
The packet loss detection mark of extension is comprised at least in message, the packet loss detection of extension is identified for making the 3rd network
Equipment 13 knows that the packet loss detection request message of the extension is not used to measure the He of first network equipment 11
Packet loss data between 3rd network equipment 13.3rd network equipment 13 will need to use losing for extension
Bag back message responds the packet loss detection request message of extension.
Due in first network equipment 11, second network equipment 12 and the 3rd network equipment 13 being adopted
Network test agreement has carried out binding session, then is lost whenever first network equipment 11 receives one
After bag detection request message, the packet loss detection request message of extension will be sent to the 3rd network equipment 13.
Step S403, first network equipment receive at least two extensions of the 3rd network equipment transmission successively
Packet loss detection back message, the packet loss detection back message each extended are the packet loss detections to an extension
The response of request message, the packet loss detection back message each extended include the 3rd network equipment and received
To extension packet loss detection request message when the flow enumeration data of live network flow that receives and
The flow for the live network flow that 3rd network equipment is sent when sending the packet loss detection back message of extension
Enumeration data.
Specifically, after the 3rd network equipment 13 receives the packet loss detection request message of an extension,
By to first network equipment 11 send one be used for respond extension packet loss detection back message.In order that
Packet loss measurement result reflects real network traffic conditions, in the packet loss detection back message of extension, needs
To include what the 3rd network equipment 13 received when receiving a packet loss detection request message extended
The flow enumeration data of live network flow, and the 3rd network equipment 13 are sending the packet loss detection of extension
The flow enumeration data of the live network flow sent during back message.That is, in the packet loss detection of extension
Back message carries actual network traffics count number that is that the 3rd network equipment 13 receives and being sent to
According to.
Step S404, first network equipment often receive the packet loss detection back message of an extension, will taken
The true net that 3rd network equipment of band receives when receiving a packet loss detection request message extended
The flow enumeration data of network flow and the 3rd network equipment are sent out when sending the packet loss detection back message of extension
The flow enumeration data of the live network flow sent, it is packed into a packet loss detection back message, each
Packet loss detection back message is the back message of a packet loss detection request message.
Specifically, whenever first network equipment 11 sends a packet loss extended to the 3rd network equipment 13
Request message, the packet loss detection back message for the extension that the 3rd network equipment 13 is sent will be received.
In order that second network equipment 12 get it is true between second network equipment 12 and the 3rd network equipment 13
Real Network Packet Loss data, first network equipment 11 often receive one extension packet loss request message after,
The message will be parsed, and the 3rd network equipment 13 wherein carried is examined in the packet loss for receiving an extension
The flow enumeration data and the 3rd network equipment 13 for surveying the live network flow received during request message exist
The flow enumeration data of the live network flow sent during the packet loss detection back message for sending extension, filling
Enter one be used for respond second network equipment 12 send packet loss detection request message packet loss detection response
In message.That is, by corresponding to the measurement result carried from the packet loss detection back message of extension replacement
The measurement result of packet loss detection back message so that second network equipment 12 is receiving packet loss detection response
After message, real traffic technology when the 3rd network equipment 13 receives and sent message can be directly obtained
Data.
Step S405, the packet loss that first network equipment is sent after each filling to second network equipment successively are examined
Back message is surveyed, the packet loss detection back message after filling is used to make second network equipment obtain the second network
Packet loss data of the equipment to the 3rd network equipment.
Specifically, after filling to packet loss detection back message is completed, first network equipment 11 can be according to
It is secondary that the packet loss detection back message after each filling is sent to second network equipment 12.
Step S406, second network equipment is according to the 3rd network in the adjacent packet loss detection back message of each two
The flow for the live network flow that equipment receives when receiving a packet loss detection request message extended
The live network that enumeration data, the 3rd network equipment are sent when sending the packet loss detection back message of extension
The flow enumeration data of flow, flow count number when second network equipment sends packet loss detection request message
Flow enumeration data when receiving packet loss detection back message according to, second network equipment calculates the second network and set
The standby packet loss data to the 3rd network equipment.
Specifically, after second network equipment 12 receives at least two packet loss detection back messages, you can
To calculate the number of dropped packets of second network equipment 12 to the 3rd network equipment 13 according to the information wherein carried
According to.Specifically, second network equipment 12 first, which is able to record to first network equipment 11, sends every two
Flow enumeration data during individual adjacent packet loss detection request message, it is designated as respectively TxFCf [tc] and
TxFCf [tp], secondly second network equipment 12, which can also record, receives corresponding two adjacent packet loss detections
Flow enumeration data during back message, it is designated as to RxFCl [tc] and RxFCl [tp] respectively.Then second
The network equipment 12 has also got the 3rd network equipment 13 from two adjacent packet loss detection back messages
The stream of the live network flow received when receiving the packet loss detection request message of two adjacent extensions
Measure enumeration data and the 3rd network equipment 13 and send the packet loss detection back message of two adjacent extensions
When the flow enumeration data of live network flow that sends, it is designated as respectively RxFCf [tc], RxFCf [tp],
TxFCb [tc] and TxFCb [tp].Wherein [tc] is represented in transmission process adjacent twice, second of transmission
Flow enumeration data in message, [tp] represent the flow enumeration data in the message of transmission for the first time.So
The packet loss data of second network equipment to the 3rd network equipment can calculate according to following formula:LOF is (remote
End)=∣ TxFCf [tc]-TxFCf [tp] ∣-∣ RxFCf [tc]-RxFCf [tp] ∣, LOF (near-end)=
∣TxFCb[tc]-TxFCb[tp]∣-∣RxFCl[tc]-RxFCl[tp]∣.Distal end LOF refers to the 3rd net
LOF data at network equipment 13, near-end LOF refer to the LOF number at second network equipment 12
According to.
Due to used first network test association between second network equipment 12 and first network equipment 11
View is to be based on network real traffic measurement agreement, thus TxFCf [tc], TxFCf [tp], RxFCl [tc] and
RxFCl [tp] is all based on the measurement parameter of network real traffic.And in the net of first network equipment 11 and the 3rd
Between network equipment 13, the packet loss detection of packet loss detection request message and extension as a result of extension is responded
Message, therefore the RxFCf [tc], RxFCf [tp], TxFCb [tc] and the TxFCb [tp] that wherein carry also are
Measurement parameter based on network real traffic.So second network equipment 12 is counted according to above-mentioned measurement parameter
It is true that packet loss data between second network equipment 12 calculated and the 3rd network equipment 13 are also based on network
Real flow.
Fig. 5 is the structural representation of network equipment embodiment one provided in an embodiment of the present invention, such as Fig. 5 institutes
Showing, the network equipment that the present embodiment provides is first network equipment, including:
Receiving module 51, the first network performance measurement request message sent for receiving second network equipment,
The first network performance measurement request message uses first network test protocol, the first network test
Agreement is the measurement agreement based on network real traffic.
Sending module 52, for sending the second network performance measurement request message, institute to the 3rd network equipment
State the second network performance measurement request message and use the second network test agreement, the second network test association
Discuss and adopted for the measurement agreement based on non-network real traffic, the first network performance measurement request message
Test session is described the used by test session and the second network performance measurement request message
Bound in one network equipment, the second network performance measurement request message is surveyed with the first network performance
Ask the network performance item of measurement identical in amount request message.
Receiving module 51, it is additionally operable to receive the first back message that the 3rd network equipment is sent, it is described
First back message is the back message of second network performance measurement.
Processing module 53, for the measurement result in first back message to be packed into the second response report
Wen Zhong, second back message are the back message of the first network performance measurement.
Sending module 52, it is additionally operable to send second back message to second network equipment.
The network equipment that the present embodiment provides is used to realize the first net in network performance detection method shown in Fig. 2
The technical scheme of network equipment, its implementing principle and technical effect is similar, and here is omitted.
Further, in the embodiment shown in fig. 5, sending module 52, it is additionally operable to set to the 3rd network
Before preparation send the second network performance measurement request message, the first network performance measurement is responded in pause please
Seek message.
Further, in the embodiment shown in fig. 5, receiving module 51, specifically for receiving described second
The first time delay detection request message that the network equipment is sent;Sending module 52, specifically for the 3rd network
Equipment sends the second time delay detection request message;Receiving module 51, specifically for receiving the 3rd network
The first time delay detection back message that equipment is sent, the first time delay detection back message include described
Time and the 3rd network when 3rd network equipment receives the second time delay detection request message set
Preparation send time during the first time delay detection back message;Processing module 53, specifically for by described in
Time and the 3rd network when 3rd network equipment receives the second time delay detection request message set
Preparation send time during the first time delay detection back message, is packed into the second time delay detection back message
In;Sending module 52, responded specifically for sending second time delay detection to second network equipment
Message, the second time delay detection back message are used to make second network equipment obtain second net
Two-way time delay between network equipment and the 3rd network equipment.
Further, in the embodiment shown in fig. 5, receiving module 51, specifically for receiving described second
At least two packet loss detection request messages that the network equipment is sent successively;Sending module 52, specifically for every
A packet loss detection request message is connected to, the packet loss of an extension is sent to the 3rd network equipment
Request message is detected, the packet loss detection request message each extended includes the packet loss detection mark of extension;
Receiving module 51, at least two extensions sent specifically for receiving the 3rd network equipment successively are lost
Bag detection back message, the packet loss detection back message each extended is please to the packet loss detection of an extension
The response of message is asked, the packet loss detection back message each extended includes the 3rd network equipment and connect
Receive the flow enumeration data of the live network flow received during a packet loss detection request message extended
The live network flow sent with the 3rd network equipment when sending the packet loss detection back message of extension
Flow enumeration data;Processing module 53, responded specifically for the packet loss detection for often receiving an extension
Message, by the 3rd network equipment of carrying when receiving a packet loss detection request message extended
The flow enumeration data of the live network flow received and the 3rd network equipment are sending losing for extension
The flow enumeration data of the live network flow sent during bag detection back message, it is packed into a packet loss inspection
Survey in back message, each packet loss detection back message is the back message of a packet loss detection request message;
Sending module 52, specifically for sending the packet loss detection after each filling to second network equipment successively
Back message, the packet loss detection back message after the filling are used to make second network equipment obtain institute
Second network equipment is stated to the packet loss data of the 3rd network equipment.
Further, in the embodiment shown in fig. 5, processing module 53, it is additionally operable in receiving module 51
Before the first network performance measurement request message for receiving the transmission of second network equipment, by the second network performance
Measure used by request message used by test session and the first network performance measurement request message
Test session is bound.
Fig. 6 is the structural representation of network equipment embodiment two provided in an embodiment of the present invention, such as Fig. 6 institutes
Showing, the network equipment that the present embodiment provides is first network equipment, including:
First network protocol interface 61, the first network performance measurement sent for receiving second network equipment
Request message, the first network performance measurement request message use first network test protocol, and described
One network test agreement is the measurement agreement based on network real traffic.
Second procotol interface 62, for sending the request of the second network performance measurement to the 3rd network equipment
Message, the second network performance measurement request message use the second network test agreement, second net
Network test protocol is the measurement agreement based on non-network real traffic, the first network performance measurement request
Test session used by test session and the second network performance measurement request message used by message
Bound in the first network equipment, the second network performance measurement request message and first net
Ask the network performance item of measurement identical in network performance measurement request message;Receive the 3rd network equipment
The first back message sent, first back message are the response report of second network performance measurement
Text.
Processor 63, for the measurement result in first back message to be packed into the second back message
In, second back message is the back message of the first network performance measurement.
First network protocol interface 61, it is additionally operable to send the second response report to second network equipment
Text.
The procotol interface 62 of first network protocol interface 61 and second in the embodiment of the present invention can be
The interface of any procotol.But the first network test protocol that first network protocol interface 61 is supported
It should be the measurement agreement based on network real traffic, the second network that the second procotol interface 62 is supported
Test protocol should be the measurement agreement based on the non-genuine flow of network.Processor 63 can be set with first network
Standby processor is corresponding, and processor can be network processing unit or hardware chip here, or complete to implement
One or more integrated circuits of the embodiment of the present invention.First network equipment can also include memory, deposit
Reservoir is used for store instruction code, and processor 63 adjusts memory-aided instruction code, controls the present invention to implement
Processor 63, the procotol interface 62 of first network protocol interface 61 and second in example perform above-mentioned behaviour
Make.
Further, in the embodiment shown in fig. 6, first network protocol interface 61, it is additionally operable to
Before three network equipments send the second network performance measurement request message, the first network is responded in pause
Request message can be measured.
Further, in the embodiment shown in fig. 6, first network protocol interface 61, specifically for receiving
The first time delay detection request message that second network equipment is sent;Second procotol interface 62, tool
Body is used to send the second time delay detection request message to the 3rd network equipment;Receive the 3rd network equipment
The the first time delay detection back message sent, the first time delay detection back message include the described 3rd
Time and the 3rd network equipment when network equipment receives the second time delay detection request message are sent out
Send time during the first time delay detection back message;Processor 63, specifically for by the 3rd net
Time and the 3rd network equipment when network equipment receives the second time delay detection request message send
Time during the first time delay detection back message, it is packed into the second time delay detection back message;The
One procotol interface 61, specifically it is additionally operable to send second time delay detection to second network equipment
Back message, the second time delay detection back message are used to making second network equipment to obtain described the
Two-way time delay between two network equipments and the 3rd network equipment.
Further, in the embodiment shown in fig. 6, first network protocol interface 61, specifically for receiving
At least two packet loss detection request messages that second network equipment is sent successively;Second procotol connects
Mouth 62, specifically for being often connected to a packet loss detection request message, sent out to the 3rd network equipment
The packet loss detection request message of an extension is sent, the packet loss detection request message each extended includes extension
Packet loss detection mark;The packet loss inspection at least two extensions that the 3rd network equipment is sent is received successively
Back message is surveyed, the packet loss detection back message each extended is to ask report to the packet loss detection of an extension
The response of text, the packet loss detection back message each extended include the 3rd network equipment and received
The flow enumeration data of live network flow received during the packet loss detection request message of one extension and institute
State the stream for the live network flow that the 3rd network equipment is sent when sending the packet loss detection back message of extension
Measure enumeration data;Processor 63, the packet loss detection request message specifically for often receiving an extension,
The 3rd network equipment of carrying is received when receiving a packet loss detection request message extended
Live network flow flow enumeration data and the 3rd network equipment send extension packet loss detection
The flow enumeration data of the live network flow sent during back message, it is packed into a packet loss detection and responds
In message, each packet loss detection back message is the back message of a packet loss detection request message;First
Procotol interface 61, specifically it is additionally operable to losing after sending each filling to second network equipment successively
Bag detection back message, the packet loss detection back message after the filling are used to make second network equipment
Second network equipment is obtained to the packet loss data of the 3rd network equipment.
Further, in the embodiment shown in fig. 6, processor 63, it is additionally operable to connect in first network agreement
Before mouth 61 receives the first network performance measurement request message that second network equipments are sent, by the second network
Test session and the first network performance measurement request message are adopted used by performance measurement request message
Test session is bound.
Claims (12)
- A kind of 1. network performance detection method, it is characterised in that including:First network equipment receives the first network performance measurement request message that second network equipment is sent, institute State first network performance measurement request message and use first network test protocol;The first network equipment sends the second network performance measurement request message, institute to the 3rd network equipment State the second network performance measurement request message and use the second network test agreement, the first network performance is surveyed Test session used by the second network performance measurement request message with surveying used by measuring request message Examination session bound in the first network equipment, the second network performance measurement request message with it is described Ask the network performance item of measurement identical in first network performance measurement request message;The first network equipment receives the first back message that the 3rd network equipment is sent, and described the One back message is the back message of second network performance measurement;Measurement result in first back message is packed into the second response report by the first network equipment Wen Zhong, second back message are the back message of the first network performance measurement;The first network equipment sends second back message to second network equipment.
- 2. according to the method for claim 1, it is characterised in that the first network equipment is to the 3rd Before the network equipment sends the second network performance measurement request message, in addition to:The first network performance measurement request message is responded in the first network equipment pause.
- 3. method according to claim 1 or 2, it is characterised in that the first network equipment connects The first network performance measurement request message of second network equipment transmission is received, including:The first network equipment receives the first time delay detection request report that second network equipment is sent Text;The first network equipment sends the second network performance measurement request message, bag to the 3rd network equipment Include:The first network equipment sends the second time delay detection request message to the 3rd network equipment;The first network equipment receives the first back message that the 3rd network equipment is sent, including:The first network equipment receives the first time delay detection that the 3rd network equipment is sent and responds report When text, the first time delay detection back message include the 3rd network equipment and receive described second Time and the 3rd network equipment when prolonging detection request message send first time delay detection and respond report Time when literary;Measurement result in first back message is packed into the second response report by the first network equipment Wen Zhong, including:3rd network equipment is received the second time delay detection request report by the first network equipment Time and the 3rd network equipment when literary send time during the first time delay detection back message, It is packed into the second time delay detection back message;The first network equipment sends second back message to second network equipment, including:The first network equipment sends second time delay detection to second network equipment and responds report Text, the second time delay detection back message are used to make second network equipment obtain second network Two-way time delay between equipment and the 3rd network equipment.
- 4. method as claimed in any of claims 1 to 3, it is characterised in that described first Network test agreement is the measurement agreement based on network real traffic, and the second network test agreement is base In the measurement agreement of non-network real traffic, the first network equipment receives what second network equipment was sent First network performance measurement request message, including:The first network equipment receives at least two packet loss detections that second network equipment is sent successively Request message;The first network equipment sends the second network performance measurement request message, bag to the 3rd network equipment Include:The first network equipment is often connected to a packet loss detection request message, to the 3rd network Equipment sends the packet loss detection request message of an extension, is wrapped in the packet loss detection request message each extended Include the packet loss detection mark of extension;The first network equipment receives the first back message that the 3rd network equipment is sent, including:The first network equipment receives losing at least two extensions that the 3rd network equipment is sent successively Bag detection back message, the packet loss detection back message each extended is please to the packet loss detection of an extension The response of message is asked, the packet loss detection back message each extended includes the 3rd network equipment and connect Receive the flow enumeration data of the live network flow received during a packet loss detection request message extended The live network flow sent with the 3rd network equipment when sending the packet loss detection back message of extension Flow enumeration data;Measurement result in first back message is packed into the second response report by the first network equipment Wen Zhong, including:The first network equipment often receives the packet loss detection back message of an extension, by the institute of carrying State the live network that the 3rd network equipment receives when receiving a packet loss detection request message extended The flow enumeration data of flow and the 3rd network equipment are when sending the packet loss detection back message of extension The flow enumeration data of the live network flow of transmission, it is packed into a packet loss detection back message, often Individual packet loss detection back message is the back message of a packet loss detection request message;The first network equipment sends second back message to second network equipment, including:The first network equipment sends the packet loss detection after each filling to second network equipment successively Back message, the packet loss detection back message after the filling are used to make second network equipment obtain institute Second network equipment is stated to the packet loss data of the 3rd network equipment.
- A kind of 5. network equipment, it is characterised in that the network equipment is first network equipment, described One network equipment includes:Receiving module, the first network performance measurement request message sent for receiving second network equipment, The first network performance measurement request message uses first network test protocol;Sending module, it is described for sending the second network performance measurement request message to the 3rd network equipment Second network performance measurement request message uses the second network test agreement, the first network performance measurement Tested used by request message used by test session and the second network performance measurement request message Session is bound in the first network equipment, the second network performance measurement request message and described the Ask the network performance item of measurement identical in one network performance measurement request message;The receiving module, it is additionally operable to receive the first back message that the 3rd network equipment is sent, institute State the back message that the first back message is second network performance measurement;Processing module, for the measurement result in first back message to be packed into the second back message In, second back message is the back message of the first network performance measurement;The sending module, it is additionally operable to send second back message to second network equipment.
- 6. the network equipment according to claim 5, it is characterised in that the sending module, also use In before the second network performance measurement request message is sent to the 3rd network equipment, pause responds described the One network performance measurement request message.
- 7. the network equipment according to claim 5 or 6, it is characterised in that the receiving module, The the first time delay detection request message sent specifically for receiving second network equipment;The sending module, specifically for sending the second time delay detection request message to the 3rd network equipment;The receiving module, the first time delay detection sent specifically for receiving the 3rd network equipment are returned Message is answered, the first time delay detection back message includes the 3rd network equipment and receives described Time and the 3rd network equipment during two time delay detection request messages send first time delay detection and returned Answer time during message;The processing module, specifically for the 3rd network equipment is received into second time delay detection When time during request message and the 3rd network equipment send the first time delay detection back message Time, it is packed into the second time delay detection back message;The sending module, returned specifically for sending second time delay detection to second network equipment Message is answered, the second time delay detection back message is used to make second network equipment obtain described second Two-way time delay between the network equipment and the 3rd network equipment.
- 8. the network equipment according to any one in claim 5 to 7, it is characterised in that described First network test protocol is the measurement agreement based on network real traffic, the second network test agreement For the measurement agreement based on non-network real traffic, the receiving module, specifically for receiving described second At least two packet loss detection request messages that the network equipment is sent successively;The sending module, specifically for being often connected to a packet loss detection request message, to described Three network equipments send the packet loss detection request message of an extension, the packet loss detection request report each extended Text includes the packet loss detection mark of extension;The receiving module, at least two expansions sent specifically for receiving the 3rd network equipment successively The packet loss detection back message of exhibition, the packet loss detection back message each extended are the packet losses to an extension The response of request message is detected, the packet loss detection back message each extended includes the 3rd network and set The flowmeter of the standby live network flow received when receiving a packet loss detection request message extended The true net that number data and the 3rd network equipment are sent when sending the packet loss detection back message of extension The flow enumeration data of network flow;The processing module, the packet loss detection back message specifically for often receiving an extension, will take The 3rd network equipment of band receives true when receiving a packet loss detection request message extended The flow enumeration data of real network traffics and the 3rd network equipment are responded in the packet loss detection for sending extension The flow enumeration data of the live network flow sent during message, it is packed into a packet loss detection back message In, each packet loss detection back message is the back message of a packet loss detection request message;The sending module, specifically for losing after sending each filling to second network equipment successively Bag detection back message, the packet loss detection back message after the filling are used to make second network equipment Second network equipment is obtained to the packet loss data of the 3rd network equipment.
- A kind of 9. network equipment, it is characterised in that the network equipment is first network equipment, described One network equipment includes:First network interface, report is asked for receiving the first network performance measurement that second network equipment is sent Text, the first network performance measurement request message use first network test protocol;Second network interface, for sending the second network performance measurement request message to the 3rd network equipment, The second network performance measurement request message uses the second network test agreement, the first network performance Measure used by request message used by test session and the second network performance measurement request message Test session is bound in the first network equipment, the second network performance measurement request message and institute State and ask the network performance item of measurement identical in first network performance measurement request message;Receive the described 3rd The first back message that the network equipment is sent, first back message is second network performance measurement Back message;Processor, for the measurement result in first back message to be packed into the second back message, Second back message is the back message of the first network performance measurement;The first network interface, it is additionally operable to send second back message to second network equipment.
- 10. the network equipment according to claim 9, it is characterised in that the first network agreement Interface, it is additionally operable to before the second network performance measurement request message is sent to the 3rd network equipment, pause Respond the first network performance measurement request message.
- 11. the network equipment according to claim 9 or 10, it is characterised in that the first network Protocol interface, the first time delay detection request message sent specifically for receiving second network equipment;The second procotol interface, please specifically for sending the second time delay detection to the 3rd network equipment Seek message;The first time delay detection back message that the 3rd network equipment is sent is received, when described first Prolonging detection back message includes the 3rd network equipment and receives the second time delay detection request message When time and the 3rd network equipment send the first time delay detection back message when time;The processor, please specifically for the 3rd network equipment is received into second time delay detection When time and the 3rd network equipment when seeking message send the first time delay detection back message when Between, it is packed into the second time delay detection back message;The first network protocol interface, specifically it is additionally operable to send described second to second network equipment Time delay detection back message, the second time delay detection back message are used to obtain second network equipment Take the two-way time delay between second network equipment and the 3rd network equipment.
- 12. the network equipment according to any one in claim 9 to 11, it is characterised in that institute It is the measurement agreement based on network real traffic to state first network test protocol, the second network test association Discuss as the measurement agreement based on non-network real traffic, the first network protocol interface, specifically for connecing Receive at least two packet loss detection request messages that second network equipment is sent successively;The second procotol interface, specifically for being often connected to a packet loss detection request message, The packet loss detection request message of an extension is sent to the 3rd network equipment, the packet loss inspection each extended Surveying request message includes the packet loss detection mark of extension;Receive what the 3rd network equipment was sent successively The packet loss detection back message of at least two extensions, the packet loss detection back message each extended is to one The response of the packet loss detection request message of extension, the packet loss detection back message each extended include described The live network stream that 3rd network equipment receives when receiving a packet loss detection request message extended The flow enumeration data of amount and the 3rd network equipment are sent out when sending the packet loss detection back message of extension The flow enumeration data of the live network flow sent;The processor, the packet loss detection request message specifically for often receiving an extension, will be carried The 3rd network equipment receive one extension packet loss detection request message when receive it is true The flow enumeration data of network traffics and the 3rd network equipment respond report in the packet loss detection for sending extension The flow enumeration data of the live network flow sent when literary, it is packed into a packet loss detection back message, Each packet loss detection back message is the back message of a packet loss detection request message;The first network protocol interface, specifically it is additionally operable to send each to second network equipment successively Packet loss detection back message after filling, packet loss detection back message after the filling are used to making described the Two network equipments obtain second network equipment to the packet loss data of the 3rd network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610537532.8A CN107579869B (en) | 2016-07-04 | 2016-07-04 | Network performance detection method and network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610537532.8A CN107579869B (en) | 2016-07-04 | 2016-07-04 | Network performance detection method and network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107579869A true CN107579869A (en) | 2018-01-12 |
CN107579869B CN107579869B (en) | 2020-09-08 |
Family
ID=61048975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610537532.8A Active CN107579869B (en) | 2016-07-04 | 2016-07-04 | Network performance detection method and network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107579869B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109474487A (en) * | 2018-10-17 | 2019-03-15 | Ut斯达康通讯有限公司 | Network performance monitoring method, the network equipment and network performance monitoring system |
CN110943879A (en) * | 2018-09-21 | 2020-03-31 | 瞻博网络公司 | Network performance monitoring using proactive measurement protocol and relay mechanisms |
CN111988193A (en) * | 2019-05-24 | 2020-11-24 | 中兴通讯股份有限公司 | TWAMP-based detection method and related equipment |
CN112260896A (en) * | 2020-10-16 | 2021-01-22 | 山东云海国创云计算装备产业创新中心有限公司 | Network transmission testing method, device, equipment and readable storage medium |
CN113556259A (en) * | 2020-04-24 | 2021-10-26 | 华为技术有限公司 | Message processing method and device based on flow detection |
CN113992551A (en) * | 2021-09-09 | 2022-01-28 | 新华三信息安全技术有限公司 | Information reporting method and device |
US11606282B2 (en) | 2018-11-30 | 2023-03-14 | Huawei Technologies Co., Ltd. | Method and device for detecting network reliability |
CN115834719A (en) * | 2022-11-24 | 2023-03-21 | 中盈优创资讯科技有限公司 | FMP (failure mode detection protocol) for measuring xFlow index and application |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056218A (en) * | 2006-04-14 | 2007-10-17 | 华为技术有限公司 | A network performance measurement method and system |
CN101895916A (en) * | 2010-05-28 | 2010-11-24 | 中兴通讯股份有限公司 | Channel detection method, device and system thereof |
CN103634139A (en) * | 2012-07-24 | 2014-03-12 | 埃克斯帝网络有限公司 | Multi-hop reflector sessions |
CN104348678A (en) * | 2013-08-05 | 2015-02-11 | 华为技术有限公司 | Method, device and system for measuring performance of Ethernet |
CN105429841A (en) * | 2014-09-15 | 2016-03-23 | 中兴通讯股份有限公司 | NNI PING realization method and device |
US20160191367A1 (en) * | 2014-12-31 | 2016-06-30 | Telefonaktiebolaget L M Ericsson (Publ) | Apparatus and Method to Use PTP Timestamps for One-Way Delay and Delay Variation Measurement in IP Networks |
CN106161124A (en) * | 2015-03-30 | 2016-11-23 | 中兴通讯股份有限公司 | The test processing method of message and device |
-
2016
- 2016-07-04 CN CN201610537532.8A patent/CN107579869B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056218A (en) * | 2006-04-14 | 2007-10-17 | 华为技术有限公司 | A network performance measurement method and system |
CN101895916A (en) * | 2010-05-28 | 2010-11-24 | 中兴通讯股份有限公司 | Channel detection method, device and system thereof |
CN103634139A (en) * | 2012-07-24 | 2014-03-12 | 埃克斯帝网络有限公司 | Multi-hop reflector sessions |
CN104348678A (en) * | 2013-08-05 | 2015-02-11 | 华为技术有限公司 | Method, device and system for measuring performance of Ethernet |
CN105429841A (en) * | 2014-09-15 | 2016-03-23 | 中兴通讯股份有限公司 | NNI PING realization method and device |
US20160191367A1 (en) * | 2014-12-31 | 2016-06-30 | Telefonaktiebolaget L M Ericsson (Publ) | Apparatus and Method to Use PTP Timestamps for One-Way Delay and Delay Variation Measurement in IP Networks |
CN106161124A (en) * | 2015-03-30 | 2016-11-23 | 中兴通讯股份有限公司 | The test processing method of message and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110943879A (en) * | 2018-09-21 | 2020-03-31 | 瞻博网络公司 | Network performance monitoring using proactive measurement protocol and relay mechanisms |
US11902133B2 (en) | 2018-09-21 | 2024-02-13 | Juniper Networks, Inc. | Network performance monitoring using an active measurement protocol and relay mechanism |
CN109474487A (en) * | 2018-10-17 | 2019-03-15 | Ut斯达康通讯有限公司 | Network performance monitoring method, the network equipment and network performance monitoring system |
US11606282B2 (en) | 2018-11-30 | 2023-03-14 | Huawei Technologies Co., Ltd. | Method and device for detecting network reliability |
CN111988193A (en) * | 2019-05-24 | 2020-11-24 | 中兴通讯股份有限公司 | TWAMP-based detection method and related equipment |
WO2020238799A1 (en) * | 2019-05-24 | 2020-12-03 | 中兴通讯股份有限公司 | Twamp-based detection method and related device |
CN113556259A (en) * | 2020-04-24 | 2021-10-26 | 华为技术有限公司 | Message processing method and device based on flow detection |
CN113556259B (en) * | 2020-04-24 | 2024-04-12 | 华为技术有限公司 | Message processing method and device based on stream following detection |
CN112260896A (en) * | 2020-10-16 | 2021-01-22 | 山东云海国创云计算装备产业创新中心有限公司 | Network transmission testing method, device, equipment and readable storage medium |
CN113992551A (en) * | 2021-09-09 | 2022-01-28 | 新华三信息安全技术有限公司 | Information reporting method and device |
CN113992551B (en) * | 2021-09-09 | 2023-07-14 | 新华三信息安全技术有限公司 | Information reporting method and device |
CN115834719A (en) * | 2022-11-24 | 2023-03-21 | 中盈优创资讯科技有限公司 | FMP (failure mode detection protocol) for measuring xFlow index and application |
Also Published As
Publication number | Publication date |
---|---|
CN107579869B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107579869A (en) | Network performance detection method and the network equipment | |
US9306819B2 (en) | Controller driven OAM for split architecture network | |
JP5462954B2 (en) | Packet loss detection method and apparatus, and router | |
CN107465565B (en) | Link test method and apparatus and system | |
CN106375158B (en) | A kind of method for detecting packet loss, the network equipment and system | |
US8527663B2 (en) | Methods and apparatus for performing non-intrusive network layer performance measurement in communication networks | |
US20060274791A1 (en) | Method measuring a delay time metric and measurement system | |
CN103117900B (en) | Configurable industrial Ethernet data parsing system and parsing method | |
CN106067854B (en) | A kind of network quality detection method and equipment | |
CN103299583A (en) | Systems and methods for measuring available capacity and tight link capacity of IP paths from a single endpoint | |
CN105391592B (en) | A kind of methods, devices and systems Packet Transport Network business detecting and measured | |
CN104717108B (en) | Network bottleneck Bandwidth Measurement Method based on active measurement and inter-packet gap model | |
US20150036510A1 (en) | Method and device for measuring ethernet performance | |
CN110166311A (en) | Measure method, equipment and the network system of network performance | |
CN106789430A (en) | A kind of point-to-point link fault detection method | |
CN106603333A (en) | Network performance measuring method, apparatus and system | |
CN107147544A (en) | A kind of method and device of test network delay | |
CN104601944B (en) | Method for connecting to media stream providing device and media stream system | |
CN107425995A (en) | Bidirectional measurement control method, send business device and receive business device | |
EP4250609A1 (en) | Packet processing method and device | |
US8706862B2 (en) | Methods and apparatus for performing non-intrusive data link layer performance measurement in communication networks | |
CN112134750B (en) | Network time protocol pressure test method and device | |
CN106161124B (en) | Message test processing method and device | |
CN116016282A (en) | Time delay measurement method and device, computer equipment and storage medium | |
CN111478821A (en) | Network performance test method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |