[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107517137A - A kind of quality of service measuring method and device - Google Patents

A kind of quality of service measuring method and device Download PDF

Info

Publication number
CN107517137A
CN107517137A CN201610428077.8A CN201610428077A CN107517137A CN 107517137 A CN107517137 A CN 107517137A CN 201610428077 A CN201610428077 A CN 201610428077A CN 107517137 A CN107517137 A CN 107517137A
Authority
CN
China
Prior art keywords
bag
reflection
router
measurement
time
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.)
Pending
Application number
CN201610428077.8A
Other languages
Chinese (zh)
Inventor
温建中
詹双平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610428077.8A priority Critical patent/CN107517137A/en
Priority to PCT/CN2017/087503 priority patent/WO2017215503A1/en
Publication of CN107517137A publication Critical patent/CN107517137A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiments of the invention provide a kind of quality of service measuring method and device.Wherein being applied to the quality of service measuring method of the standby router of the first router in session transmitting terminal includes:The first reflection bag transmitted by the second router in session reflection end is received, wherein, the first reflection bag is received the packet generated after the measurement bag transmitted by the first router by the second router;According to described first reflection bag generation the second reflection bag;Described second reflection bag is sent to the first router, so that the first router calculates quality of service measurement result according to the described second reflection bag.Quality of service measuring method provided in an embodiment of the present invention can lift applicabilities of the TWAMP to complex scene.

Description

A kind of quality of service measuring method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of quality of service measuring method and device.
Background technology
Operator for client when providing network service, it is necessary to client traffic the purpose of for O&M and failure defining Performance and failure situation monitored.For common IP operation, IETF (The Internet Engineering Task Force, Internet engineering task force) TWAMP (the Two-Way Active Measurement defined in RFC5357 Protocol, two-way active measurement agreement), available for the performance measurement and monitoring for realizing client traffic, in group as shown in Figure 1 Off the net, operator wants to know about the service transmission quality that it is client's offer, and in PE1, (wherein, PE is Provider Edge for meeting Abbreviation, provider edge router, CE be Customer Edge abbreviation, Customer Edge router) used between PE2 TWAMP agreements, simulation client traffic measure, and according to RFC5357, the functional block diagram of the measurement scheme is as shown in Fig. 2 wherein Session-Sender is session transmitting terminal, and Session-Reflector is session reflection end, and Control-Client is control Client, Server are service end.TWAMP measurements are carried out between Session-Sender and Session-Reflector, Control-Client and Server is mainly that TWAMP measurements carry out configuration preparation.
With the raising that client is required service security, operator often provides the guarantor of device level in network edge Shield, to lift the security of network, as shown in figure 3, under the networking scene, total portion mechanism of client is connected to using twin spans mode On the terminal device PE2 and PE3 (wherein, PE3 can be understood as PE2 stand-by equipment) at carrier network edge, as PE2 or PE3 single nodes break down, or because device upgrade restart PE2 or PE3 when, the client traffic between ce1 and ce2 can be ensured Do not interrupt.But under the networking scene shown in Fig. 3, TWAMP can not be disposed in the operator network, because carrier network provides Be IP operation, and IP operation is based on unidirectional retransmission technique, it is assumed that PE2 is as Session-Sender, PE1 conducts Session-Reflector, measurement functional framework as shown in Figure 2, TWAMP measurement agreements can be run between PE2 and PE1, But the quality of service measured message that PE2 is sent, after being handled through PE1, PE3 may be returned to, cause TWAMP measurement agreements without Method normally interacts.
The content of the invention
The embodiments of the invention provide a kind of quality of service measuring method and device, is possessing side to solve TWAMP technologies The problem of can not being disposed in the carrier network of edge Node Protection.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme that:
First aspect, there is provided a kind of quality of service measuring method, applied to the first router in session transmitting terminal Standby router, the quality of service measuring method includes:
The first reflection bag transmitted by the second router in session reflection end is received, wherein, the first reflection bag The packet generated after measurement bag transmitted by the first router is received by the second router;
According to described first reflection bag generation the second reflection bag;
Described second reflection bag is sent to the first router, so that the first router is anti-according to described second Penetrate bag and calculate quality of service measurement result.
Further, described the step of being wrapped according to described first reflection bag the second reflection of generation, includes:
Described first reflection bag in add the standby router receive it is described first reflection bag first receive when Between, the reflection bag of generation second.
Further, in the step of receiving the transmitted by the second router in session reflection end first reflection bag, In the received first reflection bag, record has the first router to send the first of measurement bag to send time and described The second router receives the second reception time of the measurement bag;
The second reflection bag that is described to be reflected according to the described first reflection bag generation second in the step of wrapping, being generated In, record has the first transmission time of the first router transmission measurement bag, the second router to receive the measurement Second reception time of bag and the standby router receive the first reception time of the first reflection bag.
Second aspect, there is provided a kind of quality of service measuring method, applied to the first router in session transmitting terminal, The quality of service measuring method includes:
Measurement bag is sent to the second router for being in session reflection end;
Receive the second reflection bag transmitted by the standby router of the first router;Wherein, the second reflection bag The packet generated after the first reflection bag of the second router transmission is received by the standby router;Described first Reflection bag receives the packet generated after the measurement bag transmitted by the first router by the second router.
Wrapped according to the described second reflection, calculate quality of service measurement result.
Further, record has the first router transmission measurement bag in the first reflection bag first sends the time Receive the measurement bag with the second router second receives the time;
It is received in the step of second reflection received transmitted by the standby router in session transmitting terminal is wrapped The second reflection bag in record there is the first router to send the first of measurement bag to send time, the second router Receive the second reception time of the measurement bag and the standby router receives the first of the first reflection bag and received Time.
Further, described the step of wrapping according to the described second reflection, calculate measurement result, includes:
Described first according to being recorded in the described second reflection bag sends time and the second reception time, calculates session One Way Delay of the transmitting terminal to session reflection end.
Further, described the step of wrapping according to the described second reflection, calculate measurement result, includes:
Described first according to being recorded in the described second reflection bag sends time and the first reception time, calculates session Two-way time delay between transmitting terminal and session reflection end.
The third aspect, there is provided a kind of quality of service measurement apparatus, applied to the first router in session transmitting terminal Standby router, the quality of service measurement apparatus includes:
First receiving module, for receiving the first reflection bag transmitted by the second router in session reflection end, its In, the first reflection bag receives what is generated after measuring transmitted by the first router is wrapped by the second router Packet;
Generation module, for the second reflection of the first reflection bag generation according to received by first receiving module Bag;
First sending module, the second reflection bag for the generation module to be generated are sent to the first via By device, so that the first router calculates quality of service measurement result according to the described second reflection bag.
Further, the generation module is specifically used for:The standby router is added in the described first reflection bag to connect Receive the first of the first reflection bag and receive time, the reflection bag of generation second.
Further, in the first reflection bag received by first receiving module, record has the first via The first transmission time of measurement bag is sent by device and the second router receives the second of the measurement bag and receives the time;
In the second reflection bag that the generation module is generated, record has the first router to send measurement bag First transmission time, the second router receive the second reception time of the measurement bag and the standby router receives First to the described first reflection bag receives the time.
Fourth aspect, there is provided a kind of quality of service measurement apparatus, applied to the first router in session transmitting terminal, The quality of service measurement apparatus includes:
Second sending module, for sending measurement bag to the second router for being in session reflection end;
Second receiving module, for receiving the second reflection bag transmitted by the standby router of the first router;Its In, the second reflection bag generates after the first reflection bag of the second router transmission is received by the standby router Packet;The first reflection bag receives the measurement bag transmitted by the first router for the second router The packet generated afterwards.
Computing module, for the second reflection bag according to received by second receiving module, calculate business matter Measurements.
Further, record has the first router transmission measurement bag in the first reflection bag first sends the time Receive the measurement bag with the second router second receives the time;
Record has the first router to send in the second reflection bag received at second receiving module First transmission time of measurement bag, the second router receive second that the measurement is wrapped and receive time and the standby road Receive the first reflection bag by device first receives the time.
Further, the computing module includes:
First computing unit, for sending the time and described second according to recorded in the described second reflection bag described first The time is received, calculates session transmitting terminal to the One Way Delay of session reflection end.
Further, the computing module includes:
Second computing unit, for sending the time and described first according to recorded in the described second reflection bag described first The time is received, calculates the two-way time delay between session transmitting terminal and session reflection end.
The beneficial effects of the invention are as follows:
Above-mentioned technical proposal, when the router in session reflection end will reflect the router for wrapping and sending to transmission and measuring and wrap Standby router when, can by standby router by reflect bag be forwarded to send measurement bag router, so as to realize TWAMP survey Amount, avoids TWAMP measurement agreements from not interacting normally, improves applicabilities of the TWAMP to complex scene.
Brief description of the drawings
Fig. 1 represents the networking structure schematic diagram of network edge of the prior art;
Fig. 2 represents the functional block diagram of quality of service measurement in the prior art;
Fig. 3 represents another networking structure schematic diagram of network edge of the prior art;
Fig. 4 represents the flow chart for the quality of service measuring method that first embodiment of the invention provides;
Fig. 5 represents the structural representation for the example that first embodiment of the invention provides;
Fig. 6 represents the flow chart for the quality of service measuring method that second embodiment of the invention provides;
Fig. 7 represents the block diagram for the quality of service measurement apparatus that third embodiment of the invention provides;
Fig. 8 represents the block diagram for the quality of service measurement apparatus that fourth embodiment of the invention provides.
Embodiment
The exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are to be able to be best understood from the present invention, and can be by the scope of the present invention Completely it is communicated to those skilled in the art.
First embodiment
The embodiments of the invention provide a kind of quality of service measuring method, applied to the first via in session transmitting terminal by The standby router of device.As shown in figure 4, the quality of service measuring method includes:
S401, the first reflection received transmitted by the second router in session reflection end are wrapped.
Wherein, the first reflection bag receives the survey transmitted by the first router in session transmitting terminal for the second router The packet generated after amount bag.
Wherein, the first router can correspond to the PE1 in Fig. 3, and standby router corresponds to the PE3 in Fig. 3, secondary route Device corresponds to the PE2 in Fig. 3, thus below in relation to the first router, the second router and standby router description with It is illustrated exemplified by PE1, PE2 and PE3.Wherein, PE1 is defined as session transmitting end equipment, and PE2 is defined as session reflection end and set Standby, PE3 is defined as forwarding unit.When PE1 sends measurement bag to PE2, PE2 is according to related protocol (such as RFC5357) to measurement Bag is handled, the reflection bag of generation first, and when PE2 sends the first reflection bag to PE1, then PE1 is according to the first reflection bag meter Calculate quality of service measurement result;When PE2 sends the first reflection bag to PE3, then into S402.
S402, reflected and wrapped according to the first reflection bag generation second.
After PE3 receives the first reflection bag of PE2 transmissions, the first reflection bag is handled, the reflection bag of generation second. For example, addition PE3 receives the first reception time of the first reflection bag in the first reflection bag, the second reflection bag is generated, so as to PE1 receives two-way between the first reception time calculating session transmitting terminal of the first reflection bag and session reflection end according to PE3 Time delay.
S403, second is reflected and wraps transmission to the first router, so that the first router is according to the second reflection bag calculating industry Business quality measurements.
Wherein, PE3 sends the second reflection bag of generation to PE1, so that PE1 calculates quality of service measurement and (lost as calculated Bag rate and two-way time delay etc.).So, even if PE2 does not directly send the first reflection bag to PE1, can also be carried out by PE3 Forwarding, quality of service measurement is carried out by TWAMP technologies so as to realize so that TWAMP technologies can be in more complicated network rings Application deployment in border, improve applicabilities of the TWAMP to complex scene.
Specifically, record has the first transmission time of PE1 transmission measurement bags and PE2 to receive measurement and wrap in the first reflection bag Second receive the time.Record has the first transmission time of PE1 transmission measurement bags, PE2 to receive measurement and wrap in second reflection bag Second reception the time and PE3 receive the first reflection bag first receive the time.So, PE1 can be according in the second reflection bag The first of record sends the time and second receives time, calculating session transmitting terminal to the One Way Delay of session reflection end, Yi Jigen Time and the first reception time are sent according to recorded in the second reflection bag first, is calculated between session transmitting terminal and session reflection end Two-way time delay.Wherein, the calculating of packet loss is same as the prior art, and this embodiment of the present invention is just no longer repeated.
Further, for a further understanding of quality of service measuring method provided in an embodiment of the present invention, show below with one Example is illustrated, as shown in figure 5, the example includes:Measure module (being deployed in the first router) of giving out a contract for a project, measurement reflection mould Block (being deployed in the second router) and reflection packet forward module (being deployed on standby router), have step as described below:
Step 1:Module of giving out a contract for a project is measured to require construction measurement bag according to RFC5357 and send to reflecting module is measured, then Into step 2.
Step 2:The measured message that measurement reflecting module receives according to RFC5357 requirements processing, structure measurement reflection bag (the i.e. first reflection bag) is simultaneously transmitted, subsequently into step 3 or step 4.
Wherein, record has the reception time (i.e. second receives the time) that measurement is wrapped in measurement reflection bag, measures in packet voice Sequence number and give out a contract for a project the time (i.e. first transmission time) and the sequence number of measurement reflection packet voice and the information such as time of giving out a contract for a project.
Step 3:If measurement is given out a contract for a project, module receives measurement reflection bag, and quality of service measurement is calculated by RFC5357 requirements As a result, terminate.
4th step:If reflection packet forward module receives measurement reflection bag, record receives the measurement reflection bag moment Temporal information (i.e. first receives the time), after stamping timestamp in measurement reflection bag, measurement reflection bag is transmitted to measurement hair Bag module, subsequently into step 5.
Step 5:After measuring the measurement reflection bag that module of giving out a contract for a project receives reflection packet forward module, calculate quality of service and measure As a result, terminate.
If calculating packet loss, then calculated by RFC5357 requirements;, then should be with anti-if calculating two-way time delay Penetrate packet forward module and receive time of message and be defined and calculated, that is, first sends the time and first and receive time, meter Calculate the two-way time delay between session transmitting terminal and session reflection end.
In summary, quality of service measuring method provided in an embodiment of the present invention, when the router in session reflection end When will reflect the standby router for the router that bag transmission extremely sends measurement bag, reflection bag can be forwarded to hair by standby router The router for sending measurement to wrap, so as to realize that TWAMP is measured, avoid TWAMP measurement agreements from not interacting normally, improve TWAMP To the applicability of complex scene.
Second embodiment
The embodiments of the invention provide a kind of quality of service measuring method, applied to the first via in session transmitting terminal by Device.As shown in fig. 6, the quality of service measuring method includes:
S601, measurement bag is sent to the second router for being in session reflection end.
Wherein, the first router (such as RFC5357 requirements) as requested construction measurement, which is wrapped and sent in session, reflects The second router at end, to carry out TWAMP measurements.
S602, the second reflection received transmitted by the standby router of the first router are wrapped.
Wherein, the second reflection bag for standby router receive the second router transmission the first reflection wrap after generate Packet.After first reflection bag receives the measurement bag transmitted by the first router in session transmitting terminal for the second router The packet generated.
Wherein, the first router can correspond to the PE1 in Fig. 3, and the second router corresponds to the PE2 in Fig. 3, standby road The PE3 in Fig. 3 is corresponded to by device, thus it is equal below in relation to the description of the first router, the second router and standby router It is illustrated by taking PE1, PE2 and PE3 as an example.Wherein, PE1 is defined as session transmitting end equipment, and PE2 is defined as session reflection end and set Standby, PE3 is defined as forwarding unit.When PE1 sends measurement bag to PE2, PE2 is according to related protocol (such as RFC5357) to measurement Bag is handled, the reflection bag of generation first, and when PE2 sends the first reflection bag to PE1, then PE1 is directly according to the first reflection Bag calculates quality of service measurement result;When PE1 sends the first reflection bag to PE3, then one is carried out to the first reflection bag by PE3 The reflection of generation second bag after fixed processing, and the second reflection bag is sent to PE1, subsequently into S503.
S603, reflect and wrap according to second, calculate quality of service measurement result.
PE1, according to the information in the second reflection bag, calculates quality of service measurement result after the second reflection bag is received. So, even if PE2 does not directly send the first reflection bag to PE1, it can also be forwarded by PE3, be passed through so as to realize TWAMP technologies carry out quality of service measurement so that TWAMP technologies can the application deployment in more complicated network environment, lifting Applicabilities of the TWAMP to complex scene.
Specifically, record has the first router transmission measurement bag in the first reflection bag first sends time and secondary route Device receives the second reception time of measurement bag.Record has the first router to send the first of measurement bag and sent in second reflection bag Time, the second router receive the second reception time of measurement bag and standby router receives the first of the first reflection bag and connect Between time receiving.So, PE1 can send time and the second reception time according to first recorded in the second reflection bag, calculate session hair End is penetrated to the One Way Delay of session reflection end.And when being received according to the first transmission time and first recorded in the second reflection bag Between, calculate the two-way time delay between session transmitting terminal and session reflection end.Wherein, the calculating of packet loss is same as the prior art, This embodiment of the present invention is just no longer repeated.
In summary, quality of service measuring method provided in an embodiment of the present invention, when the router in session reflection end When will reflect the standby router for the router that bag transmission extremely sends measurement bag, reflection bag can be forwarded to hair by standby router The router for sending measurement to wrap, so as to realize that TWAMP is measured, avoid TWAMP measurement agreements from not interacting normally, improve TWAMP To the applicability of complex scene.
3rd embodiment
The embodiments of the invention provide a kind of quality of service measurement apparatus, applied to the first via in session transmitting terminal by The standby router of device.As shown in fig. 7, the quality of service measurement apparatus includes:
First receiving module 701, for receiving the first reflection bag transmitted by the second router in session reflection end.
Wherein, the first reflection bag receives the number generated after the measurement bag transmitted by the first router by the second router According to bag.
Wherein, the first router can correspond to the PE1 in Fig. 3, and standby router corresponds to the PE3 in Fig. 3, secondary route Device corresponds to the PE2 in Fig. 3, thus below in relation to the first router, the second router and standby router description with It is illustrated exemplified by PE1, PE2 and PE3.Wherein, PE1 is defined as session transmitting end equipment, and PE2 is defined as session reflection end and set Standby, PE3 is defined as forwarding unit.When PE1 sends measurement bag to PE2, PE2 is according to related protocol (such as RFC5357) to measurement Bag is handled, the reflection bag of generation first, and when PE2 sends the first reflection bag to PE1, then PE1 is according to the first reflection bag meter Calculate quality of service measurement result;When PE2 sends the first reflection bag to PE3, carried out by the first receiving module 701 in PE3 Receive.
Generation module 702, for first reflection bag the second reflection of generation according to received by the first receiving module 701 Bag.
After the first receiving module 701 receives the first reflection bag of PE2 transmissions, the first reflection bag is handled, it is raw Into the second reflection bag.For example, addition PE3 receives the first of the first reflection bag and receives time, generation the in the first reflection bag Two reflect bag, and time calculating session transmitting terminal and session reflection are received so that PE1 receives the first of the first reflection bag according to PE3 Two-way time delay between end.
First sending module 703, the second reflection bag for generation module 702 to be generated are sent to the first router, So that the first router calculates quality of service measurement result according to the second reflection bag.
Wherein, the first sending module 703 in PE3 sends the second reflection bag of generation to PE1, so that PE1 calculates industry Business mass measurement (such as calculates packet loss and two-way time delay).So, even if PE2 does not directly send the first reflection bag extremely It PE1, can also be forwarded by PE3, quality of service measurement be carried out by TWAMP technologies so as to realize so that TWAMP technologies Can the application deployment in more complicated network environment, improve applicabilities of the TWAMP to complex scene.
Further, generation module 702 is specifically used for:It is anti-to receive first for addition standby router in the first reflection bag Penetrate the first of bag and receive time, the reflection bag of generation second.
Wherein, the first receiving module 701 is when receiving the first reflection bag, record receive the first reflection bag moment when Between information (i.e. first receive time), and generation module 702 stamps the reflection bag of generation second after timestamp in the first reflection bag And it is transmitted to PE1.
Further, in the first reflection bag received by the first receiving module 701, record has the first router to send survey First transmission time of amount bag and the second router receive second that measurement is wrapped and receive the time.What generation module 702 was generated In second reflection bag, record has the first transmission time of the first router transmission measurement bag, the second router to receive measurement and wrap Second reception the time and standby router receive the first reflection bag first receive the time.So, PE1 can be anti-according to second Penetrate in bag the first transmission time and the second reception time recorded, the One Way Delay of calculating session transmitting terminal to session reflection end, And time and the first reception time are sent according to recorded in the second reflection bag first, calculate session transmitting terminal and reflected with session Two-way time delay between end.Wherein, the calculating of packet loss is same as the prior art, on the other hand, the embodiment of the present invention is just no longer carried out Repeat.
In summary, quality of service measurement apparatus provided in an embodiment of the present invention, when the router in session reflection end When will reflect the standby router for the router that bag transmission extremely sends measurement bag, reflection bag can be forwarded to hair by standby router The router for sending measurement to wrap, so as to realize that TWAMP is measured, avoid TWAMP measurement agreements from not interacting normally, improve TWAMP To the applicability of complex scene.
Fourth embodiment
The embodiments of the invention provide a kind of quality of service measurement apparatus, applied to the first via in session transmitting terminal by Device.As shown in figure 8, the quality of service measurement apparatus includes:
Second sending module 801, for sending measurement bag to the second router for being in session reflection end.
Wherein, the first router (such as RFC5357 requirements) construction measurement bag, and pass through the second sending module as requested 801 send bag is measured to the second router for being in session reflection end, to carry out TWAMP measurements.
Second receiving module 802, for receiving the second reflection bag transmitted by the standby router of the first router.
Wherein, the second reflection bag for standby router receive the second router transmission the first reflection wrap after generate Packet.First reflection bag is received the packet generated after the measurement bag transmitted by the first router by the second router.
Wherein, the first router can correspond to the PE1 in Fig. 3, and the second router corresponds to the PE2 in Fig. 3, standby road The PE3 in Fig. 3 is corresponded to by device, thus it is equal below in relation to the description of the first router, the second router and standby router It is illustrated by taking PE1, PE2 and PE3 as an example.Wherein, PE1 is defined as session transmitting end equipment, and PE2 is defined as session reflection end and set Standby, PE3 is defined as forwarding unit.When PE1 sends measurement bag to PE2, PE2 is according to related protocol (such as RFC5357) to measurement Bag is handled, the reflection bag of generation first, and when PE2 sends the first reflection bag to PE1, then PE1 is directly according to the first reflection Bag calculates quality of service measurement result;When PE1 sends the first reflection bag to PE3, then one is carried out to the first reflection bag by PE3 The reflection of generation second bag after fixed processing, and the second reflection bag is sent to PE1.
Computing module 803, for the second reflection bag according to received by the second receiving module 802, calculate quality of service Measurement result.
Computing module 803 in PE1, according to the information in the second reflection bag, calculates industry after the second reflection bag is received Business quality measurements.So, even if PE2 does not directly send the first reflection bag to PE1, can also be turned by PE3 Hair, quality of service measurement is carried out by TWAMP technologies so as to realize so that TWAMP technologies can be in more complicated network environment Middle application deployment, improve applicabilities of the TWAMP to complex scene.
Further, record has the first router transmission measurement bag in the first reflection bag first sends time and the second tunnel Receive measurement bag by device second receives the time.
Record has the first router to send the first of measurement bag in the second reflection bag received at second receiving module Send that time, the second router receive the second reception time of measurement bag and standby router receives the of the first reflection bag One receives the time.
Further, computing module 803 includes:
First computing unit, time, meter are received for sending the time and second according to recorded in the second reflection bag first Session transmitting terminal is calculated to the One Way Delay of session reflection end.
It is, the second reception time that measurement bag is received with the second router subtracts the first router transmission measurement bag The first One Way Delay of the result of calculation as session transmitting terminal to session reflection end for sending the time.
Further, computing module 803 includes:
Second computing unit, time, meter are received for sending the time and first according to recorded in the second reflection bag first Calculate the two-way time delay between session transmitting terminal and session reflection end.
It is, the first reception time that the first reflection bag is received with standby router subtracts the first router transmission survey The first of amount bag sends the result of calculation of time as the two-way time delay between session transmitting terminal and session reflection end.
In summary, quality of service measurement apparatus provided in an embodiment of the present invention, when the router in session reflection end When will reflect the standby router for the router that bag transmission extremely sends measurement bag, it can receive by the reflection of standby router forwarding Bag, so as to realize that TWAMP is measured, avoid TWAMP measurement agreements from not interacting normally, improve TWAMP and complex scene is fitted The property used.
The above is the preferred embodiment of the present invention, it should be pointed out that for the ordinary person of the art, Do not depart from the present invention principle under the premise of can also make some improvements and modifications, these improvements and modifications also the present invention guarantor In the range of shield.

Claims (14)

1. a kind of quality of service measuring method, applied to the standby router of the first router in session transmitting terminal, it is special Sign is that the quality of service measuring method includes:
The first reflection bag transmitted by the second router in session reflection end is received, wherein, the first reflection bag is institute State the second router and receive the packet generated after the measurement bag transmitted by the first router;
According to described first reflection bag generation the second reflection bag;
Described second reflection bag is sent to the first router, so that the first router is wrapped according to the described second reflection Calculate quality of service measurement result.
2. quality of service measuring method according to claim 1, it is characterised in that described according to the described first reflection bag generation The step of second reflection bag, includes:
The first reception time that the standby router receives the first reflection bag is added in the described first reflection bag, it is raw Into the second reflection bag.
3. quality of service measuring method according to claim 1, it is characterised in that receiving the in session reflection end In the step of the first reflection transmitted by two routers is wrapped, in received the first reflection bag, record has described first Router sends the first transmission time of measurement bag and the second router receives the second of the measurement bag and receives the time;
In described the step of being wrapped according to described first reflection bag the second reflection of generation, in the second reflection bag generated, note Record has the first router to send the first transmission time of measurement bag, the second router receives the of the measurement bag Two reception times and the standby router receive the first reception time of the first reflection bag.
A kind of 4. quality of service measuring method, applied to the first router in session transmitting terminal, it is characterised in that the industry Business mass measuring method includes:
Measurement bag is sent to the second router for being in session reflection end;
Receive the second reflection bag transmitted by the standby router of the first router;Wherein, the second reflection bag is institute State standby router and receive the packet generated after the first reflection bag that the second router is sent;First reflection Wrap and the packet generated after the measurement bag transmitted by the first router is received by the second router;
Wrapped according to the described second reflection, calculate quality of service measurement result.
5. quality of service measuring method according to claim 4, it is characterised in that
Record has the first router transmission measurement bag in the first reflection bag first sends time and second tunnel Receive the measurement bag by device second receives the time;
In the step of second reflection received transmitted by the standby router in session transmitting terminal is wrapped, received institute Stating record in the second reflection bag has the first transmission time of the first router transmission measurement bag, the second router to receive The first of the first reflection bag, which is received, to the second reception time of the measurement bag and the standby router receives the time.
6. quality of service measuring method according to claim 5, it is characterised in that it is described to be wrapped according to the described second reflection, The step of calculating measurement result includes:
Described first according to being recorded in the described second reflection bag sends time and the second reception time, calculates session transmitting Hold the One Way Delay of session reflection end.
7. quality of service measuring method according to claim 5, it is characterised in that it is described to be wrapped according to the described second reflection, The step of calculating measurement result includes:
Described first according to being recorded in the described second reflection bag sends time and the first reception time, calculates session transmitting Two-way time delay between end and session reflection end.
8. a kind of quality of service measurement apparatus, applied to the standby router of the first router in session transmitting terminal, it is special Sign is that the quality of service measurement apparatus includes:
First receiving module, for receiving the first reflection bag transmitted by the second router in session reflection end, wherein, institute State the first reflection bag and the data generated after the measurement bag transmitted by the first router are received by the second router Bag;
Generation module, for the first reflection bag generation the second reflection bag according to received by first receiving module;
First sending module, for by the generation module generated it is described second reflection bag send to the first via by Device, so that the first router calculates quality of service measurement result according to the described second reflection bag.
9. quality of service measurement apparatus according to claim 8, it is characterised in that the generation module is specifically used for:Institute State and the first reception time that the standby router receives the first reflection bag is added in the first reflection bag, generation second is anti- Penetrate bag.
10. quality of service measurement apparatus according to claim 8, it is characterised in that first receiving module is received To the first reflection bag in, record has the first router to send the first of measurement bag to send time and second tunnel Receive the measurement bag by device second receives the time;
In the second reflection bag that the generation module is generated, record has the first router to send the first of measurement bag Send the time, the second router receives the second reception time of the measurement bag and the standby router receives institute State the first reflection bag first receives the time.
A kind of 11. quality of service measurement apparatus, applied to the first router in session transmitting terminal, it is characterised in that described Quality of service measurement apparatus includes:
Second sending module, for sending measurement bag to the second router for being in session reflection end;
Second receiving module, for receiving the second reflection bag transmitted by the standby router of the first router;Wherein, institute State the second reflection bag and the number generated after the first reflection bag of the second router transmission is received by the standby router According to bag;The first reflection bag receives institute after the measurement bag transmitted by the first router for the second router The packet of generation;
Computing module, for the second reflection bag according to received by second receiving module, calculate quality of service and survey Measure result.
12. quality of service measurement apparatus according to claim 11, it is characterised in that
Record has the first router transmission measurement bag in the first reflection bag first sends time and second tunnel Receive the measurement bag by device second receives the time;
Record has the first router to send measurement in the second reflection bag received at second receiving module First transmission time of bag, the second router receive the second reception time of the measurement bag and the standby router Receive the first reflection bag first receives the time.
13. quality of service measurement apparatus according to claim 12, it is characterised in that the computing module includes:
First computing unit, received for sending the time and described second according to recorded in the described second reflection bag described first Time, session transmitting terminal is calculated to the One Way Delay of session reflection end.
14. quality of service measurement apparatus according to claim 12, it is characterised in that the computing module includes:
Second computing unit, received for sending the time and described first according to recorded in the described second reflection bag described first Time, calculate the two-way time delay between session transmitting terminal and session reflection end.
CN201610428077.8A 2016-06-16 2016-06-16 A kind of quality of service measuring method and device Pending CN107517137A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610428077.8A CN107517137A (en) 2016-06-16 2016-06-16 A kind of quality of service measuring method and device
PCT/CN2017/087503 WO2017215503A1 (en) 2016-06-16 2017-06-08 Service quality measurement method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610428077.8A CN107517137A (en) 2016-06-16 2016-06-16 A kind of quality of service measuring method and device

Publications (1)

Publication Number Publication Date
CN107517137A true CN107517137A (en) 2017-12-26

Family

ID=60663224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610428077.8A Pending CN107517137A (en) 2016-06-16 2016-06-16 A kind of quality of service measuring method and device

Country Status (2)

Country Link
CN (1) CN107517137A (en)
WO (1) WO2017215503A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585834A (en) * 2020-04-14 2020-08-25 中国联合网络通信集团有限公司 Network information storage method and device
CN111988193A (en) * 2019-05-24 2020-11-24 中兴通讯股份有限公司 TWAMP-based detection method and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120113835A1 (en) * 2008-11-07 2012-05-10 Nokia Siemens Networks Oy Inter-network carrier ethernet service protection
CN102137483A (en) * 2010-08-09 2011-07-27 华为技术有限公司 Time synchronization method, device and system
CN102025619B (en) * 2010-12-03 2014-12-10 中兴通讯股份有限公司 Method and system as well as equipment for transmitting response message
CN103067274A (en) * 2012-12-19 2013-04-24 中兴通讯股份有限公司 Spanning tree back-up port quick recovery method and device
CN103595588A (en) * 2013-11-26 2014-02-19 北京奥普维尔科技有限公司 Method for accurately measuring asynchronous Ethernet circuit time delay

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111585834A (en) * 2020-04-14 2020-08-25 中国联合网络通信集团有限公司 Network information storage method and device

Also Published As

Publication number Publication date
WO2017215503A1 (en) 2017-12-21

Similar Documents

Publication Publication Date Title
JP5719449B2 (en) System and method for measuring available capacity and narrow link capacity of an IP path from a single endpoint
Busi et al. Operations, administration, and maintenance framework for MPLS-based transport networks
CN100505673C (en) Method and system for detecting path maximal transmission unit
US20060203808A1 (en) Method and apparatus for measuring latency of a computer network
EP4290820A1 (en) Enhanced two-way active measurement protocol
JP2012074928A (en) Data transfer device, program and method using retransmission control protocol
EP2668748A1 (en) Method for queuing data packets and node therefore
CN102204164A (en) Method and apparatus for reporting network packet-losing message
JP2007060494A (en) Network system, transmitting side sorting device, packet communication method and packet communication program
CN101599948B (en) Method, device and system for sounding echo
CN106067854A (en) A kind of network quality detection method and equipment
EP4104400A2 (en) Measuring latency and delay variation via deep packet inspection
US20230300051A1 (en) In-band Edge-to-Edge Round-Trip Time Measurement
CN102868613A (en) Method and device for transmission of generic routing encapsulation tunnel packet
CN107517137A (en) A kind of quality of service measuring method and device
CN102025571B (en) The method and apparatus that multipoint link packet loss is measured
US11606273B1 (en) Monitoring server performance using server processing time
EP2709319B1 (en) Transmission system, routing control device and method for controlling routing
Ye et al. Improving stream control transmission protocol performance over lossy links
CN113037859B (en) Session information management method, device, exchange equipment and medium
Cisco Commands: debug serial interface through debug tacacs events
KR20120053474A (en) Method and device for determining communication path(s) between items of communication equipment with multiple communication interfaces
CN106571970B (en) The monitoring method and device of bearer network
Cetinkaya Aeronautical gateways: Supporting TCP/IP-based devices and applications over modern telemetry networks
US20130121192A1 (en) Measuring message stream quality across networks

Legal Events

Date Code Title Description
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171226

WD01 Invention patent application deemed withdrawn after publication