CN102025571A - Method and device for measuring packet loss in multi-point link - Google Patents

Method and device for measuring packet loss in multi-point link Download PDF

Info

Publication number
CN102025571A
CN102025571A CN2010106148945A CN201010614894A CN102025571A CN 102025571 A CN102025571 A CN 102025571A CN 2010106148945 A CN2010106148945 A CN 2010106148945A CN 201010614894 A CN201010614894 A CN 201010614894A CN 102025571 A CN102025571 A CN 102025571A
Authority
CN
China
Prior art keywords
mep2
mep1
data message
frame
ratio value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010106148945A
Other languages
Chinese (zh)
Other versions
CN102025571B (en
Inventor
谢达琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201010614894.5A priority Critical patent/CN102025571B/en
Publication of CN102025571A publication Critical patent/CN102025571A/en
Application granted granted Critical
Publication of CN102025571B publication Critical patent/CN102025571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for measuring packet loss in a multi-point link. The method comprises the following steps of: calculating a ratio of data messages flowing in through a first inflow port of a maintenance intermediate point (MIP) and flowing out through a first outflow port to data messages flowing in through all inflow ports of the MIP and flowing out through the first outflow port; and calculating the packet loss number between a first maintenance end point (MEP1) connected to the first inflow port and a second maintenance end point (MEP2) connected to the first outflow port according to the ratio. The invention solves the problem that the packet loss number in the multi-point link cannot be counted in the prior art.

Description

The method and apparatus that the multipoint link packet loss is measured
Technical field
The present invention relates to the communications field, in particular to a kind of method and apparatus of multipoint link packet loss measurement.
Background technology
Along with the continuous expansion of Ethernet service and continuing to increase of data traffic, we are badly in need of a kind of method of estimating Link State.Y.1731, ITU-T has defined a kind of LM message in the agreement, can measure accurately link packet drop rate.By safeguarding on the body end points MEP of disposing at both link ends, send the LM message, in message, stamp the number of giving out a contract for a project of making a start with receiving end, can be by the packet loss of these data computation outgoing links.
Fig. 1 is that the single-point link is communicated with networking diagram, as seen in Figure 1, safeguard that body intermediate point MIP is transparent for the LM message, the limitation of this method is can only be applied in the link of single-point connection, because if be applied in the multipoint link, the packet receiving end can't be known data flow from where, and the result is inevitable inaccurate.This does not have too big value in actual applications.
Summary of the invention
The method and apparatus that main purpose of the present invention is to provide a kind of multipoint link packet loss to measure is to solve in the prior art problem that can't add up the packet drop of multipoint link.
According to an aspect of the present invention, a kind of method of multipoint link packet loss measurement is provided, has comprised: calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of first-class outbound port outflow; The passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
Further, the passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard that the step of the number of dropped packets between the body end points MEP2 comprises: ratio value is encapsulated in the loss measurement message LMM frame, wherein, the LMM frame safeguards that by first body end points MEP1 sends to MEP2 through MIP; The LMM frame is sent to MEP2; MEP2 sends loss measurement through MIP to MEP1 and replys the LMR frame, and wherein, the LMR frame carries ratio value; Calculate the number of dropped packets of MEP1 and MEP2 according to ratio value.
Further, the LMM frame also carries: the data message that MEP1 sent when current LMM frame transmitted is counted TxFCf[tc]; The LMR frame carries: the data message that MEP1 sends during the transmission of current LMM frame is counted TxFCf[tc], the data message that MEP2 received when current LMM frame received is counted RxFCf[tc] and the data message that MEP2 sends during the transmission of current LMR frame count TxFCb[tc].
Further, adopt following formula to calculate the number of dropped packets that MEP1 sends to MEP2: number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |; Wherein, TxFCf[tp] MEP1 sends when being the previous LMM frame transmission of current LMM frame data message number, a/ (a+b) be a ratio value, RxFCf[tp] the data message number of MEP2 reception when be the previous LMM frame reception of current LMM frame.
Further, adopt following formula to calculate the number of dropped packets that MEP2 sends to MEP1: number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |; Wherein, TxFCb[tc] MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is a ratio value, TxFCb[tp] MEP2 sends when being the previous LMR frame transmission of current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of current LMR frame MEP1 reception when receiving.
Further, the method for multipoint link packet loss measurement also comprises: calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of second outflow port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of second outflow port outflow; The passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to number of dropped packets between the third dimension watch box end points MEP3 of second outflow port.
According to a further aspect in the invention, the device that provides a kind of multipoint link packet loss to measure, comprise: first computing unit is used to calculate by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of first-class outbound port outflow; Second computing unit is used for the passing ratio value and calculates and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
Further, second computing unit also comprises: package module, be used for ratio value is encapsulated into the LMM frame, and wherein, the LMM frame safeguards that by first body end points MEP1 sends to MEP2 through MIP; First sending module is used for the LMM frame is sent to MEP2; Second sending module is used to make MEP2 to send the LMR frame through MIP to MEP1, and wherein, the LMR frame carries ratio value; Computing module is used for the number of dropped packets according to ratio value calculating MEP1 and MEP2.
Further, computing module comprises: first processing sub, adopt following formula to calculate the number of dropped packets that MEP1 sends to MEP2: number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |; Wherein, TxFCf[tc] MEP1 sends when being the transmission of current LMM frame data message number, TxFCf[tp] MEP1 sends when being the previous LMM frame transmission of current LMM frame data message number, a/ (a+b) is a ratio value, RxFCf[tc] be the current LMM frame data message number that MEP2 receives when receiving, RxFCf[tp] be the data message number of the previous LMM frame of current LMM frame MEP2 reception when receiving.
Further, computing module also comprises: second processing sub, adopt following formula to calculate the number of dropped packets that MEP2 sends to MEP1: number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |; Wherein, TxFCb[tc] MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is a ratio value, TxFCb[tp] MEP2 sends when being the previous LMR frame transmission of current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of current LMR frame MEP1 reception when receiving.
In the present invention, the outflow message that flows into the port correspondence by each that safeguard body intermediate point MIP and the ratio between total outflow message calculate the number of dropped packets of different links, solved the problem that to add up the packet drop of multipoint link of the prior art, and then the number of dropped packets that can add up certain bar link under the multipoint link situation, and assess the performance quality of ethernet link with this, expand the Y.1731 application scenarios of agreement greatly, expanded the content of agreement.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the single-point link connection networking diagram according to correlation technique;
Fig. 2 is a kind of preferred flow charts according to the method for embodiment of the invention multipoint link packet loss measurement;
Fig. 3 is a kind of preferred structure block diagram according to the device of embodiment of the invention multipoint link packet loss measurement;
Fig. 4 is the multipoint link connection networking diagram according to the method for embodiment of the invention multipoint link packet loss measurement;
Fig. 5 is the another kind of flow chart according to the method for embodiment of the invention multipoint link packet loss measurement;
Fig. 6 is the LMM frame structure schematic diagram according to the method for embodiment of the invention multipoint link packet loss measurement;
Fig. 7 is the LMR frame structure schematic diagram according to the method for embodiment of the invention multipoint link packet loss measurement.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Embodiment 1
Fig. 2 is according to a kind of preferred flow charts of the method for embodiment of the invention multipoint link packet loss measurement, comprising:
S202, calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of first-class outbound port outflow;
S204, the passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
In this preferred embodiment, the outflow message that flows into the port correspondence by each that safeguard body intermediate point MIP and the ratio between total outflow message calculate the number of dropped packets of different links, solved the problem that to add up the packet drop of multipoint link of the prior art, and then the number of dropped packets that can add up certain bar link under the multipoint link situation, and assess the performance quality of ethernet link with this, expand the Y.1731 application scenarios of agreement greatly, expanded the content of agreement.
Preferably, the passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard that the step of the number of dropped packets between the body end points MEP2 comprises: ratio value is encapsulated in the loss measurement message LMM frame, wherein, the LMM frame safeguards that by first body end points MEP1 sends to MEP2 through MIP; The LMM frame is sent to MEP2; MEP2 sends loss measurement through MIP to MEP1 and replys the LMR frame, and wherein, the LMR frame carries ratio value; Calculate the number of dropped packets of MEP1 and MEP2 according to ratio value.In this preferred embodiment, carry ratio value by LMM frame and LMR frame, thereby do not need to transmit ratio value by the message or the frame structure of special setting, simplified the flow process of transmission, saved transfer resource.
Preferably, the LMM frame also carries: the data message that MEP1 sent when current LMM frame transmitted is counted TxFCf[tc]; The LMR frame carries: the data message that MEP1 sends during the transmission of current LMM frame is counted TxFCf[tc], the data message that MEP2 received when current LMM frame received is counted RxFCf[tc] and the data message that MEP2 sends during the transmission of current LMR frame count TxFCb[tc].In this preferred embodiment, by carrying above-mentioned parameter, the feasible required number of dropped packets of the easier calculating of equipment of calculating number of dropped packets.
Preferably, adopt following formula to calculate the number of dropped packets that MEP1 sends to MEP2: number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |; Wherein, TxFCf[tp] MEP1 sends when being the previous LMM frame transmission of current LMM frame data message number, a/ (a+b) be a ratio value, RxFCf[tp] the data message number of MEP2 reception when be the previous LMM frame reception of current LMM frame.In this preferred embodiment,, can calculate the number of dropped packets of far-end MEP effectively by above-mentioned formula.Certainly, the present invention is not limited only to this, can also calculate the number of dropped packets of far-end MEP by similar formula.
Preferably, adopt following formula to calculate the number of dropped packets that MEP2 sends to MEP1: number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |; Wherein, TxFCb[tc] MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is a ratio value, TxFCb[tp] MEP2 sends when being the previous LMR frame transmission of current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of current LMR frame MEP1 reception when receiving.In this preferred embodiment,, can calculate the number of dropped packets of near-end MEP effectively by above-mentioned formula.Certainly, the present invention is not limited only to this, can also calculate the number of dropped packets of near-end MEP by similar formula.
Preferably, the method for multipoint link packet loss measurement also comprises: calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of second outflow port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of second outflow port outflow; The passing ratio value is calculated and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to number of dropped packets between the third dimension watch box end points MEP3 of second outflow port.In this preferred embodiment, intermediate point MIP can be provided with a plurality of outflow port, and calculate number of dropped packets on the more complicated multipoint link by the aforementioned calculation method, for example, be connected to the number of dropped packets on the different links between multiple source MEP that flows into port and a plurality of purpose MEP that are connected to outflow port, thereby make the present invention go for the scene of more complicated multipoint link.
Embodiment 2
Fig. 3 is a kind of preferred structure block diagram according to the device of embodiment of the invention multipoint link packet loss measurement, comprise: first computing unit 302 is used to calculate by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of first-class outbound port outflow; Second computing unit 304 is used for the passing ratio value and calculates and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to second of first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
In this preferred embodiment, the outflow message that flows into the port correspondence by each that safeguard body intermediate point MIP and the ratio between total outflow message calculate the number of dropped packets of different links, solved the problem that to add up the packet drop of multipoint link of the prior art, and then the number of dropped packets that can add up certain bar link under the multipoint link situation, and assess the performance quality of ethernet link with this, expand the Y.1731 application scenarios of agreement greatly, expanded the content of agreement.
Preferably, second computing unit 304 also comprises: package module, be used for ratio value is encapsulated into the LMM frame, and wherein, the LMM frame safeguards that by first body end points MEP1 sends to MEP2 through MIP; First sending module is used for the LMM frame is sent to MEP2; Second sending module is used to make MEP2 to send the LMR frame through MIP to MEP1, and wherein, the LMR frame carries ratio value; Computing module is used for the number of dropped packets according to ratio value calculating MEP1 and MEP2.In this preferred embodiment, carry ratio value by LMM frame and LMR frame, thereby do not need to transmit ratio value by the message or the frame structure of special setting, simplified the flow process of transmission, saved transfer resource.
Preferably, computing module comprises: first processing sub, adopt following formula to calculate the number of dropped packets that MEP1 sends to MEP2: number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |; Wherein, TxFCf[tc] MEP1 sends when being the transmission of current LMM frame data message number, TxFCf[tp] MEP1 sends when being the previous LMM frame transmission of current LMM frame data message number, a/ (a+b) is a ratio value, RxFCf[tc] be the current LMM frame data message number that MEP2 receives when receiving, RxFCf[tp] be the data message number of the previous LMM frame of current LMM frame MEP2 reception when receiving.In this preferred embodiment,, can calculate the number of dropped packets of far-end MEP effectively by above-mentioned formula.Certainly, the present invention is not limited only to this, can also calculate the number of dropped packets of far-end MEP by similar formula.
Preferably, computing module also comprises: second processing sub, adopt following formula to calculate the number of dropped packets that MEP2 sends to MEP1: number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |; Wherein, TxFCb[tc] MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is a ratio value, TxFCb[tp] MEP2 sends when being the previous LMR frame transmission of current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of current LMR frame MEP1 reception when receiving.In this preferred embodiment,, can calculate the number of dropped packets of near-end MEP effectively by above-mentioned formula.Certainly, the present invention is not limited only to this, can also calculate the number of dropped packets of near-end MEP by similar formula.
Preferably, the LMM frame also carries: the data message that MEP1 sent when current LMM frame transmitted is counted TxFCf[tc], the LMR frame carries: the data message that MEP1 sends during the transmission of current LMM frame is counted TxFCf[tc], the data message that MEP2 received when current LMM frame received is counted RxFCf[tc] and the data message that MEP2 sends during the transmission of current LMR frame count TxFCb[tc].In this preferred embodiment, carry ratio value by LMM frame and LMR frame, thereby do not need to transmit ratio value by the message or the frame structure of special setting, simplified the flow process of transmission, saved transfer resource.
Preferably, the device of multipoint link packet loss measurement also comprises: the 3rd computing unit is used to calculate by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of second outflow port outflow and by all inflow ports inflows of MIP and by the ratio value between the data message of second outflow port outflow; The 4th computing unit is used for the passing ratio value and calculates and to be connected to first of first-class inbound port and to safeguard body end points MEP1 and be connected to number of dropped packets between the third dimension watch box end points MEP3 of second outflow port.In this preferred embodiment, intermediate point MIP can be provided with a plurality of outflow port, and calculate number of dropped packets on the more complicated multipoint link by the aforementioned calculation method, for example, be connected to the number of dropped packets on the different links between multiple source MEP that flows into port and a plurality of purpose MEP that are connected to outflow port, thereby make the present invention go for the scene of more complicated multipoint link.
Embodiment 3
Fig. 4 is the multipoint link connection networking diagram according to the method for embodiment of the invention multipoint link packet loss measurement, referring to Fig. 4, in the present embodiment, comprise a maintenance entity MA1, form by three MEP and a MIP, that is to say corresponding two the far-end MEP of MEP2: be i.e. MEP1 and MEP3.
Certainly, the present invention is not limited to the quantity of MA, MEP and MIP among this embodiment.
In the present embodiment, suppose that link to be measured is the link of MEP1 to MEP2.Certainly, present embodiment is not limited to link to be measured, in like manner also can calculate the packet loss of MEP3 to the link of MEP2.
In the present embodiment, suppose that the link of the packet loss that will test is stable, this meets the range of application of LM message in the agreement Y.1731, because be not suitable for carrying out data service under the situation of link sudden change.
Based on networking relation shown in Figure 4, the flow process of each parts comprises the steps: referring to Fig. 5
S501, before utilizing LM message measurement packet loss, 2 ports that count MIP earlier are to the data traffic between the MEP2;
S502 judges whether the message that flows into from 3 ports, is execution in step S504 then, otherwise execution in step S503;
S503 is judged as the simply connected link, promptly this moment 3 ports to enter the flow that 2 ports flow out be 0 (b=0), just do not have flow to MEP2 from MEP3, promptly be that a single-point is communicated with link that this moment, calculates packet loss according to the method for the logical link of simply connected of protocol specification.
S504 judges be not the simply connected link, utilizes the outbound port counting messages of ACL to count to flow into message that 2 ports flow out from 1 port of MIP to count the ratio that a and 3 ports flow into the packet b of 2 ports outflow, and this ratio is designated as a/b.Can extrapolate so, in the data message that final MEP2 receives, the message ratio of counting that comes from the MEP1 link is a/a+b;
S505 is recorded in ratio value a/a+b in the LM message.
Wherein for losing measurement, MEP1 sends the frame that has the LM solicited message to its reciprocity MEP2, and receives the frame that has the LM return information from its reciprocity MEP2.The PDU that is used for single-ended LM request is called LMM, and the PDU that is used for single-ended LM answer is called LMR.
Stipulate in the agreement: MEP is with the transmission LMM frame in following information unit cycle, referring to Fig. 6:
Wherein, marker bit is for reserving the territory.The present invention will above add up ratio value a/ (a+b) record that draws
In marker bit, be used for the calculating of packet loss.All the other each implications are:
The numerical value of local counter TxFCl during the transmission of TxFCf:LMM frame.
When MEP receives a LMM frame, will generate a LMR frame and it will be sent to the MEP of request.
Referring to Fig. 7, a LMR frame comprises following numerical value:
TxFCf: the numerical value of the TxFCf that duplicates from the LMM frame.
The numerical value of local counter RxFCl when the RxFCf:LMM frame receives.
The numerical value of local counter TxFCl during the transmission of TxFCb:LMR frame.
S506, MEP receive the LMR frame, and MEP will use following numerical value to carry out the measurement of losing of near-end and far-end:
The numerical value of local counter RxFCl when TxFCf, the RxFCf of the LMR frame that receives, the numerical value of TxFCb and this LMR frame receive.These numerical value are represented as TxFCf[tc], RxFCf[tc], TxFCb[tc] and RxFCl[tc], tc is that current that replied the time of reception of frame here.
The numerical value of local counter RxFCl when the numerical value of the TxFCf of previous LMR frame, RxFCf, TxFCb and this previous LMR frame receive.These numerical value are represented as TxFCf[tp], RxFCf[tp], TxFCb[tp] and RxFCl[tp], tp is the time of reception of previous answer frame here.
So, under the situation that single-point is communicated with, be easy to draw:
LOF far-end (being the number of dropped packets of MEP1 when sending to MEP2)=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc]-RxFCf[tp] |
LOF near-end (being the number of dropped packets of MEP2 when sending to MEP1)=| TxFCb[tc]-TxFCb[tp] |-| RxFCl[tc]-RxFCl[tp] |
S507 calculates the packet loss of link to be measured.
At this moment, LOF far-end and LOF near-end should be respectively:
The LOF far-end=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |
The LOF near-end=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |.
As can be seen from the above description, the present invention has realized following technique effect:
In the present invention, the outflow message that flows into the port correspondence by each that safeguard body intermediate point MIP and the ratio between total outflow message calculate the number of dropped packets of different links, solved the problem that to add up the packet drop of multipoint link of the prior art, and then the number of dropped packets that can add up certain bar link under the multipoint link situation, and assess the performance quality of ethernet link with this, expand the Y.1731 application scenarios of agreement greatly, expanded the content of agreement.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method that the multipoint link packet loss is measured is characterized in that, comprising:
Calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of described MIP and by the ratio value between the data message of described first-class outbound port outflow;
Calculate by described ratio value and to be connected to first of described first-class inbound port and to safeguard body end points MEP1 and be connected to second of described first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
2. method according to claim 1, it is characterized in that, calculate by described ratio value and be connected to first of described first-class inbound port and safeguard body end points MEP1 and be connected to second of described first-class outbound port and safeguard that the step of the number of dropped packets between the body end points MEP2 comprises:
Described ratio value is encapsulated in the loss measurement message LMM frame, and wherein, described LMM frame safeguards that by described first body end points MEP1 sends to described MEP2 through described MIP;
Described LMM frame is sent to described MEP2;
Described MEP2 sends loss measurement through described MIP to described MEP1 and replys the LMR frame, and wherein, described LMR frame carries described ratio value;
Calculate the number of dropped packets of described MEP1 and described MEP2 according to described ratio value.
3. method according to claim 2 is characterized in that, described LMM frame also carries: the data message that described MEP1 sent when current LMM frame transmitted is counted TxFCf[tc]; Described LMR frame carries: the data message that described MEP1 sends during the transmission of current LMM frame is counted TxFCf[tc], the data message that described MEP2 received when current LMM frame received is counted RxFCf[tc] and the data message that described MEP2 sends during the transmission of current LMR frame count TxFCb[tc].
4. method according to claim 3 is characterized in that, adopts following formula to calculate the number of dropped packets that described MEP1 sends to described MEP2:
Number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |;
Wherein, TxFCf[tp] described MEP1 sends when being the previous LMM frame transmission of described current LMM frame data message number, a/ (a+b) is described ratio value, RxFCf[tp] be the previous LMM frame of the described current LMM frame data message number that described MEP2 receives when receiving.
5. method according to claim 3 is characterized in that, adopts following formula to calculate the number of dropped packets that described MEP2 sends to described MEP1:
Number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |;
Wherein, TxFCb[tc] described MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is described ratio value, TxFCb[tp] described MEP2 sends when being the previous LMR frame transmission of described current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of described current LMR frame described MEP1 reception when receiving.
6. method according to claim 1 is characterized in that, also comprises:
Calculating is by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of second outflow port outflow and by all inflow ports inflows of described MIP and by the ratio value between the data message of described second outflow port outflow;
Calculate by described ratio value and to be connected to first of described first-class inbound port and to safeguard body end points MEP1 and be connected to number of dropped packets between the third dimension watch box end points MEP3 of described second outflow port.
7. the device that the multipoint link packet loss is measured is characterized in that, comprising:
First computing unit is used to calculate by the first-class inbound port inflow of safeguarding body intermediate point MIP and by the data message of first-class outbound port outflow and by all inflow ports inflows of described MIP and by the ratio value between the data message of described first-class outbound port outflow;
Second computing unit is used for calculating by described ratio value and is connected to first of described first-class inbound port and safeguards body end points MEP1 and be connected to second of described first-class outbound port and safeguard number of dropped packets between the body end points MEP2.
8. device according to claim 7 is characterized in that, described second computing unit also comprises:
Package module is used for described ratio value is encapsulated into the LMM frame, and wherein, described LMM frame safeguards that by described first body end points MEP1 sends to described MEP2 through described MIP;
First sending module is used for described LMM frame is sent to described MEP2;
Second sending module is used to make described MEP2 to send the LMR frame through described MIP to described MEP1, and wherein, described LMR frame carries described ratio value;
Computing module is used for calculating according to described ratio value the number of dropped packets of described MEP1 and described MEP2.
9. device according to claim 8 is characterized in that, described computing module comprises:
First processing sub, adopt following formula to calculate the number of dropped packets that described MEP1 sends to described MEP2:
Number of dropped packets=| TxFCf[tc]-TxFCf[tp] |-| RxFCf[tc] * a/ (a+b)-RxFCf[tp] * a/ (a+b) |;
Wherein, TxFCf[tc] described MEP1 sends when being the transmission of current LMM frame data message number, TxFCf[tp] described MEP1 sends when being the previous LMM frame transmission of described current LMM frame data message number, a/ (a+b) is described ratio value, RxFCf[tc] be the current LMM frame data message number that described MEP2 receives when receiving, RxFCf[tp] be the data message number of the previous LMM frame of described current LMM frame described MEP2 reception when receiving.
10. device according to claim 8 is characterized in that, described computing module also comprises:
Second processing sub, adopt following formula to calculate the number of dropped packets that described MEP2 sends to described MEP1:
Number of dropped packets=| TxFCb[tc] * a/ (a+b)-TxFCb[tp] * a/ (a+b) |-| RxFCl[tc]-RxFCl[tp] |;
Wherein, TxFCb[tc] described MEP2 sends when being the transmission of current LMR frame data message number, a/ (a+b) is described ratio value, TxFCb[tp] described MEP2 sends when being the previous LMR frame transmission of described current LMR frame data message number, RxFCl[tc] be the described current LMR frame data message number that described MEP1 receives when receiving, RxFCl[tp] be the data message number of the previous LMR frame of described current LMR frame described MEP1 reception when receiving.
CN201010614894.5A 2010-12-30 2010-12-30 The method and apparatus that multipoint link packet loss is measured Active CN102025571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010614894.5A CN102025571B (en) 2010-12-30 2010-12-30 The method and apparatus that multipoint link packet loss is measured

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010614894.5A CN102025571B (en) 2010-12-30 2010-12-30 The method and apparatus that multipoint link packet loss is measured

Publications (2)

Publication Number Publication Date
CN102025571A true CN102025571A (en) 2011-04-20
CN102025571B CN102025571B (en) 2015-08-12

Family

ID=43866464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010614894.5A Active CN102025571B (en) 2010-12-30 2010-12-30 The method and apparatus that multipoint link packet loss is measured

Country Status (1)

Country Link
CN (1) CN102025571B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011157108A3 (en) * 2011-05-30 2012-05-03 华为技术有限公司 Method, apparatus and system for analyzing network transmission characteristics
CN102946330A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Method, device and system for network packet loss measurement
CN102984018A (en) * 2011-09-02 2013-03-20 华为技术有限公司 Method, device and system for Ethernet packet loss measurement
US9178786B2 (en) 2011-10-27 2015-11-03 Huawei Technologies Co., Ltd. Packet loss detection method and system, sending device, and receiving device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052394A1 (en) * 2006-08-22 2008-02-28 Bugenhagen Michael K System and method for initiating diagnostics on a packet network node
CN101904184A (en) * 2007-10-12 2010-12-01 北方电讯网络有限公司 Automatic mep provisioning in a link state controlled Ethernet network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052394A1 (en) * 2006-08-22 2008-02-28 Bugenhagen Michael K System and method for initiating diagnostics on a packet network node
CN101904184A (en) * 2007-10-12 2010-12-01 北方电讯网络有限公司 Automatic mep provisioning in a link state controlled Ethernet network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ITU: "OAM functions and mechanisms for Ethernet based networks", 《ITU-T Y.1731》, 12 March 2009 (2009-03-12) *
STEPHEN CHRISTO ET AL.: "OAM Challenges In A Carrier Ethernet Network", 《EN GENIUS NETWORK》, 14 July 2008 (2008-07-14) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011157108A3 (en) * 2011-05-30 2012-05-03 华为技术有限公司 Method, apparatus and system for analyzing network transmission characteristics
CN102959899A (en) * 2011-05-30 2013-03-06 华为技术有限公司 Method, apparatus and system for analyzing network transmission characteristics
CN102984018A (en) * 2011-09-02 2013-03-20 华为技术有限公司 Method, device and system for Ethernet packet loss measurement
CN102984018B (en) * 2011-09-02 2015-08-05 华为技术有限公司 Ethernet loss packet test method, equipment and system
US9178786B2 (en) 2011-10-27 2015-11-03 Huawei Technologies Co., Ltd. Packet loss detection method and system, sending device, and receiving device
CN102946330A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Method, device and system for network packet loss measurement
US9985856B2 (en) 2012-09-29 2018-05-29 Huawei Technologies Co., Ltd. Method, apparatus and system for measuring network packet loss

Also Published As

Publication number Publication date
CN102025571B (en) 2015-08-12

Similar Documents

Publication Publication Date Title
EP2242236B1 (en) Method for measuring frame loss, system for measuring frame loss, and device for measuring frame loss
US9742645B2 (en) Method and apparatus for measuring performance of multi-service in tunnel
EP2712120B1 (en) Method and system for measuring frame loss ratio
CN101272290B (en) Measuring method, measuring apparatus for route congestion state in IP network
EP3022874B1 (en) Triangle loopback
CN102035692B (en) Method and device for detecting quality of link
CN101695171B (en) Method utilizing stream control transmission protocol to measure network transmission quality and device thereof
CN1992651B (en) Implementation method for detecting multicast performance of Ethernet
US20100020698A1 (en) Communication apparatus and OAM frame transmission method
CN102984018B (en) Ethernet loss packet test method, equipment and system
CN102546117A (en) Frame loss measuring method, frame loss measuring device and frame loss measuring system
CN102025571B (en) The method and apparatus that multipoint link packet loss is measured
CN102984035A (en) Loopback test method and system of packet loss probability of network data
CN101594169A (en) Method that is used to measure and equipment
US20140204778A1 (en) Communication system, communication device, and communication method
JP5413510B2 (en) COMMUNICATION APPARATUS AND SIGNAL DEGRESSION MONITORING SYSTEM
US20130336129A1 (en) Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response
CN108199913A (en) A kind of method and apparatus for realizing delay testing
CN102857385A (en) Method and system for detecting packet loss rate in packet transport network
CN107911263A (en) It is a kind of to measure ethernet delay and the message of congestion at the same time
CN102752169B (en) Transmitting, monitoring method and device
WO2023231426A1 (en) Delay measurement method and apparatus, storage medium and program product
CN102684838A (en) Frame loss detecting method and device and MEPs (maintenance entity group End Points)
EP3280077B1 (en) A method and apparatus for monitoring a performance of an ethernet data stream
CN112398560A (en) Measuring method, measuring device and storage medium

Legal Events

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