CN101707509A - Method, system and device for detecting packet loss rate by using OAM - Google Patents

Method, system and device for detecting packet loss rate by using OAM Download PDF

Info

Publication number
CN101707509A
CN101707509A CN200910109760A CN200910109760A CN101707509A CN 101707509 A CN101707509 A CN 101707509A CN 200910109760 A CN200910109760 A CN 200910109760A CN 200910109760 A CN200910109760 A CN 200910109760A CN 101707509 A CN101707509 A CN 101707509A
Authority
CN
China
Prior art keywords
message
seqid
packet loss
packet
sequence
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
CN200910109760A
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 CN200910109760A priority Critical patent/CN101707509A/en
Publication of CN101707509A publication Critical patent/CN101707509A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for detecting the packet loss rate by using an OAM, which comprises the process that at least two maintenance terminal points mutually and periodically transmit a connection validation message in a communication network. The process also comprises the following steps: (A), carrying a message serial number in a protocol data unit of the connection validation message; (B), calculating the packet loss rate by the maintenance terminal points through the serial number of the connection validation message. The invention also discloses a system and a device for detecting the packet loss rate by using the OAM. By carrying the message serial number in the CV message, the invention can calculate the packet loss rate only by the message serial number, has quick and convenient process and enhances the monitoring convenience of the LM performance.

Description

Use OAM to detect the method, system and device of packet loss
Technical field
The present invention relates to the communications field, relate in particular to the method, system and device that a kind of OAM of use detects packet loss.
Background technology
(Operation Administration Maintenance: operation management maintain) message is measured the method for packet loss to existing use OAM, with TMPLS (Transport Multi-Protocol LabelingSwitch: transmit multiprotocol label switching) network is example, and two kinds of methods that define in standard G.8114 are: 1, LM (Loss Measurement: packet loss is measured) as required; 2, preactivate LM function.
1, LM as required
Be single-ended LM again, by LMM/LMR (Loss Measurement Message: packet loss is measured message/Loss Measurement Response: packet loss is measured response) message carrying, send LM solicited message frame LMM to place MEP by source MEP (Maintenance End Point maintaining end point), and return LM response message frame LMR from place MEP and measure Loss Rate.
When being configured to LM as required, source MEP sends the LMM message that carries TxPC_f, after place MEP receives the LMM message, notes the value RxPC_f of local RxPC1, the LMR message of carrying TxPC_b for one of source MEP loopback, and TxPC_f and RxPC_f directly copied among the LMR.When source MEP received a LMR frame, the number of dropped packets of using following value to carry out near-end and far-end was calculated:
Packet?LOSS?RATE near-end=Packet?LOSS near-end/Packet?Transmit near-end
Packet?LOSS?RATE far-end=Packet?LOSS far-end/Packet?Transmit far-end
Packet?LOSS near-end=|TxPC_b[tc]-TxPC_b[tp]|-|RxPC1[tc]-RxPC1[tp]|
Packet?Transmit near-end=|TxPC_b[tc]-TxPC_b[tp]|
Packet?LOSS far-end=|TxPC_f[tc]-TxPC_f[tp]|-|RxPC_f[tc]-RxPC_f[tp]|
Packet?Transmit far-end=|TxPC_f[tc]-TxPC_f[tp]|
Wherein tc is the moment that current LMR frame is received, and tp is the moment that previous LMR frame is received, and TxPC_f is the value of local RxPC1 when receiving the LMR frame, and TxPC_b is the value of this locality TxPC1 when sending the LMR frame.
2, preactivate LM
Be both-end LM again, by the carrying of CV message, belong to active, both-end periodically sends the CV message, in the inner bearing message statistics of CV message.
When being configured to preactivate LM, the CV message of TxPC_f, RxPC_b and TxPC_b is carried in the MEP timed sending.When MEP received a CV frame, the number of dropped packets of using following value to carry out near-end was calculated:
Packet?LOS?SRATE near-end=Packet?LOSS near-end/Packet?Transmit near-end
Packet?LOS?SRATE far-end=Packet?LOSS far-end/Packet?Transmit far-end
Packet?LOSS near-end=|TxPC_f[tc]-TxPC_f[tp]|-|RxPC1[tc]-RxPC1[tp]|
Packet?Transmit near-end=|TxPC_f[tc]-TxPC_f[tp]|
Packet?LOSS far-end=|TxPC_b[tc]-TxPC_b[tp]|-|RxPC_b[tc]-RxPC_b[tp]|
Packet?Transmit far-end=|TxPC_b[tc]-TxPC_b[tp]|
Wherein tc is the moment that current C V frame is received, and tp is the moment that previous CV frame is received, and RxPC1 is the value of local RxPC1 when receiving the CV frame, and TxPC1 is the value of this locality TxPC1 when sending the LMR frame.
G.8114 Gui Ding two kinds of methods all need to go to calculate the packet loss digit rate by statistics message number.
Summary of the invention
The main technical problem to be solved in the present invention is, provides a kind of needs to enable the CV message and need not the mthods, systems and devices that the accounting message number just can detect packet loss.
For solving the problems of the technologies described above, the invention provides the method that a kind of OAM of use detects packet loss, comprise that at least two maintaining end points periodically send the process that connects confirmation message mutually in communication network, described process is further comprising the steps of:
A. in the protocol Data Unit of described connection confirmation message, carry sequence of message number;
B. described maintaining end point calculates packet loss by the sequence number that connects confirmation message.
Steps A specifically number realizes by utilizing in the described protocol Data Unit untapped byte to carry described sequence of message.
Step B specifically calculates packet loss by described maintaining end point by the sequence number difference of the connection confirmation message of adjacent reception.
Untapped byte is carried described sequence of message number specifically by utilizing in the described protocol Data Unit four bytes of Reserved1 to carry sequence of message TxPC_SeqID_f in the described protocol Data Unit; Untapped byte is carried described sequence of message and number is specifically added the TLV field that is used to carry TxPC_SeqID_f by the BIP-16 field back in described protocol Data Unit in the perhaps described protocol Data Unit.
Described packet loss comprises the near-end packet loss, and described near-end packet loss calculates by following formula: Packet LOSS RATE Near-end=Packet LOS S Near-end/ Packet Transmit Near-endPacket LOSS Near-end=| TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp] |-1+PacketLOS S Near-end[tp];
Wherein, tc is the moment that current connection confirmation message frame is received, and tp is the previous moment that the confirmation message frame is received, the Packet LOSS of connecting Near-endLocal Packet LOSS when [tp] before connects the confirmation message frame for receiving Near-endValue.
Keep | TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp] |-1 value, the value of the Delta_SeqID_b of the CV message that will send as the next one, untapped byte is carried described sequence of message and number is also comprised and to utilize Reserved2 to carry Delta_SeqID_b in the described protocol Data Unit; Perhaps utilize the TLV field to carry Delta_SeqID_b; Described packet loss comprises the distal end packet loss, and described distal end packet loss calculates by following formula:
Packet?LOSS?RATE far-end=Packet?LOSS far-end/Packet?Transmit far-endPacket?LOSS far-end=Delta_SeqID_b[tc]+Packet?LOSS far-end[tp];
Wherein, tc is the moment that current connection confirmation message frame is received, and tp is the previous moment that the confirmation message frame is received, the Packet LOSS of connecting Far-endLocal Packet LOSS when [tp] before connects the confirmation message frame for receiving Far-endValue.
Described communication network is the TMPLS network.
A kind of system that uses OAM to detect packet loss, comprise at least two maintaining end points, be used for periodically sending the connection confirmation message mutually at communication network, described maintaining end point also is used for protocol Data Unit at described connection confirmation message and carries sequence of message number, calculates packet loss by the sequence number that connects confirmation message.
Described maintaining end point also is used for carrying described sequence of message number by the untapped byte of described protocol Data Unit.
Described maintaining end point also is used for calculating packet loss by the sequence number difference of the connection confirmation message of adjacent reception.
Described maintaining end point also is used for carrying sequence of message TxPC_SeqID_f by four bytes utilizing described connection confirmation message Reserved1, and perhaps described maintaining end point also is used for by add the TLV field that is used to carry TxPC_SeqID_f in the BIP-16 of described connection confirmation message field back.
Described maintaining end point also is used to utilize Reserved2 to carry Delta_SeqID_b; Perhaps utilize the TLV field to carry Delta_SeqID_b.
A kind of device that uses OAM to detect packet loss, comprise CPU and physical port, also comprise the programming device that is arranged between described CPU and the physical port, be used for receiving and send and handle message, described programming device also is used for carrying sequence of message number at the protocol Data Unit that connects confirmation message, and calculates packet loss by the sequence number that connects confirmation message.
The invention has the beneficial effects as follows:
(1) PDU of the present invention by the CV message carries sequence of message number, only needs number just can calculate packet loss by sequence of message, and process is efficient and convenient, has improved the convenience of LM performance monitoring.
(2) the present invention utilizes the unused bytes of CV message protocol data cell to carry sequence of message number, and the function of CV message is not had influence, provides compatible preferably.
(3) the present invention carries sequence of message TxPC_SeqID_f by four bytes at the Reserved1 of CV message protocol data cell, utilize 2 bytes of Reserved2 to carry Delta_SeqID_b, utilize available data to carry, applicable to the short message of sequence number, method is simple.The present invention adds TLV by the BIP-16 field back in CV message protocol data cell, the user can self-defined TLV field byte number, utilize the TLV type that keeps to be used to carry TxPC_SeqID_f and Delta_SeqID_b, be applicable to the message that sequence number is long, the user can be provided with as required, and method is flexible.
Description of drawings
Fig. 1 is the system configuration schematic diagram according to the embodiment of the invention;
Fig. 2 is the hardware connection layout according to the device of the embodiment of the invention;
Fig. 3 is the receiving processing module figure according to the programming device of the embodiment of the invention;
Fig. 4 is that receive direction according to the embodiment of the invention is to CV message process chart;
Fig. 5 is the receive direction packet loss computing module schematic diagram according to the embodiment of the invention;
Fig. 6 is the total packet loss computing module of the receive direction near-end/far-end schematic diagram according to the embodiment of the invention;
Fig. 7 is reception, the sending direction packet loss interaction concept figure according to the embodiment of the invention;
Fig. 8 is according to the transmission processing module structure chart in the programming device of the embodiment of the invention;
Fig. 9 and Figure 10 are the flow chart that produces and handle the CV message according to the sending direction of the embodiment of the invention;
Figure 11 is the control principle figure according to the sending direction packet loss buffer memory of the embodiment of the invention.
Embodiment
In conjunction with the accompanying drawings the present invention is described in further detail below by embodiment.
The present invention is that example describes with the TMPLS network, the present invention also can be used for the network that MPLS network, MPLS_TP network, Ethernet and PBT network etc. are used for Performance Detection. and the present invention uses OAM to detect packet loss, can be used for node, link ground state are monitored, in time find the Link State deterioration, take corresponding measure to control.
Source MEP is meant the MEP that initiatively initiates the OAM message, and place MEP is meant response and termination OAM message MEP, among the present invention, for the MEP of the CV message that communicates with one another, is called source MEP and place MEP mutually.
Use OAM to detect a kind of embodiment of the method for packet loss in the TMPLS network according to the present invention, comprise at least two MEP, periodically send the process of CV message between the described MEP mutually, this process also comprises: (Protocol Data Unit: carry sequence of message number protocol Data Unit), MEP calculates packet loss by the CV sequence number of message at the PDU of CV message.
MEP calculates packet loss by the CV sequence number of message, specifically calculates packet loss by the CV sequence number of message difference of maintaining end point adjacent reception.
Carry sequence of message among this PDU and number specifically carry sequence of message number by untapped byte among the PDU.
In one embodiment of the invention, untapped byte is carried sequence of message number specifically by utilizing among the described PDU four bytes of Reserved1 to carry sequence of message TxPC_SeqID_f among this PDU, utilize two bytes of Reserved2 to carry Delta_SeqID_b, as shown in table 1.For sequence of message number short message, can use this kind mode.Wherein, TxPC_SeqID_f is transmitting Sequence Number of CV message, and Delta_SeqID_b is the CV message number that discards between the adjacent C V message that receives, and the TxPC_SeqID_f that carries according to two CV messages calculates.
Table 1
According to another embodiment of the invention, untapped byte is carried sequence of message and number specifically added the TLV that is used to carry TxPC_SeqID_f and Delta_SeqID_b by the BIP-16 field back in the CV message among this PDU, and is as shown in table 2.This TLV field can be self-defined as required by the user, and it is bigger that the user can be provided with its byte number, for sequence of message number long message, can use this kind mode.
Figure G2009101097605D0000062
Table 2
Packet loss comprises the near-end packet loss, and described near-end packet loss calculates by following formula:
Packet?LOSS?RATE near-end=Packet?LOSS near-end/Packet?Transmit near-endPacket?LOSS near-end=|TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp]|-1+PacketLOSS near-end[tp];
Packet Transmit Near-endIn conjunction with software enquiry frequency and CV message computation of Period.
Suppose the inquiry of software per second once, the CV message cycle is configured to 3.3ms, then
Packet?Transmit near-end=300
Wherein, tc is the moment that current C V message frame is received, and tp is the moment that previous CV message frame is received, Packet LOSS Near-end[tp] local PacketLOSS when receiving previous CV message frame Near-endValue.
Packet loss also comprises the far-end packet loss, when calculating the near-end packet loss, keeps | TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp] |-1 value, the value of the Delta_SeqID_b of the CV message that will send as the next one, the far-end packet loss calculates by following formula:
Packet?LOSS?RATE far-end=Packet?LOSS far-end/Packet?Transmit far-end
Packet?LOSS far-end=Delta_SeqID_b[tc]+Packet?LOSS far-end[tp]。
Packet Transmit Far-endIn conjunction with software enquiry frequency and CC computation of Period.
Suppose the inquiry of software per second once, the CV message cycle is configured to 3.3ms, then
Packet?Transmit far-end=300
Wherein, tc is the moment that current C V message frame is received, and tp is the moment that previous CV message frame is received, Packet LOSS Far-end[tp] local PacketLOSS when receiving previous CV message frame Far-endValue.
The present invention only does the SeqID operation that adds up at source MEP, need calculate at place MEP and receive this number of dropped packets, near-end total number of discarded packets (near) and far-end total number of discarded packets (far) statistics.
At source MEP, CV message of every transmission, TxPC_SeqID_f adds 1. and place MEP, whenever receive a CV message, extract current Delta_SeqID_b and be added to the opposite end number of dropped packets and add up, extract and store current seqid[tc], and and the CV message that before received in the seqid[tp that extracts] make comparisons, calculate their difference, on the basis of difference, subtract 1 again, what obtain is exactly the CV message number that abandons between two CV messages of adjacent reception, is stored among the special RAM, and the local terminal number of dropped packets that this value is added up is added up among the RAM simultaneously.
Use OAM to detect a kind of embodiment of the system of packet loss in the TMPLS network of the present invention, as shown in Figure 1, comprise at least two MEP, MEP1 and MEP2, be used for each other periodically sending the CV message, this MEP1 and MEP2 also are used for carrying sequence of message number at the PDU of CV message; When receiving the CV message, this MEP1 and MEP2 also are used for calculating packet loss by the CV sequence number of message.
This MEP1 and MEP2 also are used for carrying sequence of message number by the untapped byte of PDU.
In one embodiment, MEP1 and MEP2 also are used for carrying sequence of message TxPC_SeqID_f by four bytes utilizing CV message Reserved1, utilize Reserved2 to carry Delta_SeqID_b.
Be that MEP1 and MEP2 also are used for by add the TLV that is used to carry TxPC_SeqID_f and Delta_SeqID_b in the BIP-16 of CV message field back at another kind of execution mode.
TMPLS network kind of the present invention uses OAM to detect a kind of embodiment of the device of packet loss, as shown in Figure 2, comprise CPU and physical port, also comprise the programming device that is arranged between CPU and the physical port, be used for receiving and send and handle message, carry sequence of message number at the PDU of CV message when this programming device also is used for sending message; When in receiving PDU, carrying the CV message of sequence of message number, calculate packet loss by adjacent CV sequence number of message difference.
According to embodiments of the invention, programming device is handled to be subdivided into and is received and send processing module, programmable logic device is positioned in the middle of physical port and the CPU, a physical port has many LSP (MPLS-TP Label Switched Path: message label switched path), all messages all will be handled through programmable logic device earlier, according to the requirement of CPU, feed back on the cpu port again.
According to one embodiment of present invention, receiving processing module for the OAM message of the same MEP that can correctly terminate, at first needs the information of CPU configuration opposite end MEP as shown in Figure 3.Can use the label mapping, set up the relation of label and MEP.
Comprise 4 block RAMs among Fig. 3.RAM1 is used for storing the SeqID of previous reception CV message; RAM2 is used to add up far-end packet loss sum; RAM3 is used to add up near-end packet loss sum; RAM4 is used to store this near-end number of dropped packets, is used for mutual with sending direction simultaneously.
Can clearly see the signal processing flow of receive direction from Fig. 3, it comprises that mainly far-end packet loss statistics and near-end packet loss add up.In conjunction with Fig. 4, labor is according to the signal processing flow of the embodiment of the invention.
(1) CV packet filtering: in step 401 from the physical port incoming message, according to Ethernet message tunneling and agreement G.8114, judge whether message in step 402 into CV, if then from information flow, isolate the CV message, and extraction label and Delta_SeqID_b[tc wherein], with Delta_SeqID_b[tc] value compose to far_delta_seqid[tc], alternatively, if not the CV message then returns and to once more the input message judge;
(2) detect the MEP configuration:, can realize that the content of table is the information of the opposite end MEP of CPU configuration in step 403 inquiry MEP configuration by tabling look-up.With this table of the searching label that extracts in (1), return analog value, comprise MEP numbering and CV message processing mode;
Judge in step 404 whether this CV message needs local termination, if the result who returns that tables look-up shows that this CV message is to need local termination, then needs far-end and near-end statistical disposition; Alternatively, if not need local termination, then return and the message of input is once more judged;
(3) far-end packet loss statistics: in step 405 far_delta_seqid[tc] be added among the RAM2, the control of RAM2 is as shown in Figure 6; Near-end packet loss statistics: in step 405, number according to the MEP that returns, from RAM1, read the TxPC_SeqID_f[tp of previous CV earlier] | seqid[tp], and according to seqid[tc] and seqid[tp], can calculate this packet loss number, and the value that will calculate composes to near_delta_seqid, and computational methods as shown in Figure 5; Simultaneously seqid[tc] store among the RAM1, cover seqid[tp]; Near_delta_seqid is added among the near-end packet loss statistics RAM3, obtains the near-end number of dropped packets; Simultaneously near_delta_seqid is stored among the RAM4, the control principle of realizing the mutual .RAM3 that receives and send as shown in Figure 6, the control of RAM4 is as shown in Figure 7.
Pass through embodiments of the invention, software reads near-end/far-end packet loss number at set intervals by cpu i/f, and the current numerical value that comes that reads back deducted the numerical value that before reads back and, just can obtain actual during this period of time packet loss number, and calculate during this period of time packet loss according to the periodicity characteristics of CV message.
Fig. 5 is this number of dropped packets purpose schematic diagram of calculating according to the embodiment of the invention.RAM1 uses single port RAM to realize, its address and the MEP numbering of returning of tabling look-up connect, at first read the seqid[tp of previous CV] according to the MEP numbering, then with current seqid[tc] carry out difference and calculate, the result who obtains subtracts 1 again, then obtains the number of dropped packets rx_near_delta_seqid between the CV message of adjacent reception.What note is the read and write operation of RAM1, reads seqid[tc from the MEP numbering earlier], wait for difference calculate finish after, seqid[tc restores], the seqid[tp when next time receiving the CV message].
What Fig. 6 described is the schematic diagram of far-end (RAM2)/near-end (RAM3) the packet loss statistics according to the embodiment of the invention.RAM2 and RAM3 are two-port RAMs.The A port is mainly used in performance statistics, and the B port provides the read operation of CPU.The MEP numbering that the address of A port is returned by tabling look-up is controlled, the total number of discarded packets sum_delta_seqid[tp of statistics before reading according to numbering earlier], add this number of dropped packets delta_seqid[tc], then obtain current total number of discarded packets sum_delta_seqid[tc].CPU provide the MEP that need read numbering only need for the B port, then can return mutually should MEP total number of discarded packets.:
Fig. 7 has described the interactive interface according to the reception and the transmission of the embodiment of the invention.RAM4 is a single port RAM, and when receiving the CV message, the MEP numbering of returning according to tabling look-up deposits this near-end number of dropped packets in RAM4 earlier.When equipment need send a CV message, obtain tx_cv_resp_delta_seqid according to the transmission MEP numbering tx_cv_req_mep_num inquiry that obtains of tabling look-up, and be inserted on the far_delta_seqid position that sends in the CV message.
According to one embodiment of present invention, send processing module as shown in Figure 8, according to one embodiment of present invention, the CV message is disposed by CPU, and logic produces.
In Fig. 8, in order correctly to initiate the OAM message, at first need the information RAM6 of CPU configuration local terminal MEP, it comprises MEP numbering, the payload of CV cycle and CV etc.Secondly and receiving processing module similar, also need dispose a table RAM5 by CPU, set up the relation of label and local terminal MEP.
According to one embodiment of present invention, the CV message needs timed sending, and timed sending realizes by repeating query MEP configuration information, sees dotted portion and Fig. 9 of Fig. 8.
Step 901:CUP disposes MEP;
Step 902: read the information of configuration MEP, the cycle information and the local timer that dispose comprising each MEP compare;
Step 903: judge whether local timer arrives timing,, then enter 904 when local timer arrives; Local timer no show is got back to 902 and is continued poll;
Step 904: timed sending MEP formation, the MEP that needs are sent deposits RAM8 in, the transmission of ranking successively;
Write address among the step 905:RAM8 adds 1.
When needs send the CV message, then in conjunction with Fig. 8 and Figure 10, the clear handling process of seeing data flow.
Step 1001: judge the state of RAM8, when queue memory RAM8 non-NULL, representative has the message that needs transmission, then jumps to 1002, otherwise waits for the non-NULL up to RAM8 always;
Step 1002: extracting needs to send the MEP numbering;
Step 1003: utilize the MEP numbering of extracting in 1002, extract the label that this sends the CV message to RAM6;
Step 1004: utilize the MEP numbering of extracting in 1002, extract the seqid that this sends the CV message to RAM7;
Step 1005: utilize the MEP numbering of extracting in 1002, extract the delta_seqid that this sends the CV message to RAM2;
Step 1006: utilize the label that extracts in the step 1003 to table look-up, return the processing mode of this CV message; Wherein step 1003, step 1004, step 1005 interchangeable sequencing also walk abreast and carry out.
Step 1007: return the CV message that the value of coming judges whether that local terminal produces according to tabling look-up, if, then change step 1008, otherwise, step 1009 changeed;
Step 1008: the seqid of current MEP adds 1, deposits RAM7, covers original seqid, changes step 1009 then;
Step 1009:RAM8 reads the address and adds 1, prepares to produce next CV message.
The control method of the register RA M7 of storage seqid is seen Figure 11.A port (comprising data_in_a, wren_a, addr_a and q_a) is used for carrying out seqid and adds 1 calculating, and B port (data_in_b, wren_b, addr_b and q_b) extracts the current seqid that should insert when being used for sending current C V message.The B port only carries out read operation, it should be noted that the operation of A port and B port is asynchronous, but before the Sequence ID that must guarantee current message is extracted in, add 1 after.
According to embodiments of the invention, directly enable the CV message with regard to the energy measurement packet loss, thereby flexible, convenient, fast.
Above content be in conjunction with concrete execution mode to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.The step of embodiments of the invention might not require to carry out by the label order, and some can executed in parallel.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deductions, replacement or distortion, all should be considered as belonging to protection scope of the present invention.

Claims (13)

1. a method of using OAM to detect packet loss comprises at least two maintaining end points mutual process that connects confirmation message that periodically sends in communication network, it is characterized in that described process is further comprising the steps of:
A. in the protocol Data Unit of described connection confirmation message, carry sequence of message number;
B. described maintaining end point calculates packet loss by the sequence number that connects confirmation message.
2. the method for claim 1 is characterized in that, steps A specifically number realizes by utilizing in the described protocol Data Unit untapped byte to carry described sequence of message.
3. method as claimed in claim 2 is characterized in that, step B specifically calculates packet loss by described maintaining end point by the sequence number difference of the connection confirmation message of adjacent reception.
4. as method as described in the claim 3, it is characterized in that untapped byte is carried described sequence of message number specifically by utilizing in the described protocol Data Unit four bytes of Reserved1 to carry sequence of message TxPC_SeqID_f in the described protocol Data Unit; Untapped byte is carried described sequence of message and number is specifically added the TLV field that is used to carry TxPC_SeqID_f by the BIP-16 field back in described protocol Data Unit in the perhaps described protocol Data Unit.
5. as method as described in the claim 4, it is characterized in that described packet loss comprises the near-end packet loss, described near-end packet loss calculates by following formula:
Packet?LOSS?RATE near-end=Packet?LOSS near-end/Packet?Transmit near-end
Packet?LOSS near-end=|TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp]|-1+PacketLOSS near-end[tp];
Wherein, tc is the moment that current connection confirmation message frame is received, and tp is the previous moment that the confirmation message frame is received, the Packet LOSS of connecting Near-endLocal Packet LOSS when [tp] before connects the confirmation message frame for receiving Near-endValue.
6. method as claimed in claim 5, it is characterized in that, keep | TxPC_SeqID_f[tc]-TxPC_SeqID_f[tp] |-1 value, the value of the Delta_SeqID_b of the CV message that will send as the next one, untapped byte is carried described sequence of message and number is also comprised and to utilize Reserved2 to carry Delta_SeqID_b in the described protocol Data Unit; Perhaps utilize the TLV field to carry Delta_SeqID_b; Described packet loss comprises the distal end packet loss, and described far-end packet loss calculates by following formula:
Packet?LOSS?RATE far-end=Packet?LOS?S far-end/Packet?Transmit far-end
Packet?LOSS far-end=Delta_SeqID_b[tc]+Packet?LOSS far-end[tp];
Wherein, tc is the moment that current connection confirmation message frame is received, and tp is the previous moment that the confirmation message frame is received, the Packet LOSS of connecting Far-endLocal Packet LOSS when [tp] before connects the confirmation message frame for receiving Far-endValue.
7. the method for claim 1 is characterized in that, described communication network is the TMPLS network.
8. system that uses OAM to detect packet loss, comprise at least two maintaining end points, be used for periodically sending the connection confirmation message mutually at communication network, it is characterized in that, described maintaining end point also is used for protocol Data Unit at described connection confirmation message and carries sequence of message number, calculates packet loss by the sequence number that connects confirmation message.
9. system as claimed in claim 8 is characterized in that, described maintaining end point also is used for carrying described sequence of message number by the untapped byte of described protocol Data Unit.
10. system as claimed in claim 9 is characterized in that, described maintaining end point also is used for calculating packet loss by the sequence number difference of the connection confirmation message of adjacent reception.
11. system as claimed in claim 10, it is characterized in that, described maintaining end point also is used for carrying sequence of message TxPC_SeqID_f by four bytes utilizing described connection confirmation message Reserved1, and perhaps described maintaining end point also is used for by add the TLV field that is used to carry TxPC_SeqID_f in the BIP-16 of described connection confirmation message field back.
12. system as claimed in claim 11 is characterized in that, described maintaining end point also is used to utilize Reserved2 to carry Delta_SeqID_b; Perhaps utilize the TLV field to carry Delta_SeqID_b.
13. device that uses OAM to detect packet loss, comprise CPU and physical port, it is characterized in that, also comprise the programming device that is arranged between described CPU and the physical port, be used for receiving and send and handle message, described programming device also is used for carrying sequence of message number at the protocol Data Unit that connects confirmation message, and calculates packet loss by the sequence number that connects confirmation message.
CN200910109760A 2009-11-19 2009-11-19 Method, system and device for detecting packet loss rate by using OAM Pending CN101707509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910109760A CN101707509A (en) 2009-11-19 2009-11-19 Method, system and device for detecting packet loss rate by using OAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910109760A CN101707509A (en) 2009-11-19 2009-11-19 Method, system and device for detecting packet loss rate by using OAM

Publications (1)

Publication Number Publication Date
CN101707509A true CN101707509A (en) 2010-05-12

Family

ID=42377707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910109760A Pending CN101707509A (en) 2009-11-19 2009-11-19 Method, system and device for detecting packet loss rate by using OAM

Country Status (1)

Country Link
CN (1) CN101707509A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215144A (en) * 2011-05-17 2011-10-12 中兴通讯股份有限公司 Measuring method and system of packet loss
CN102739448A (en) * 2012-06-28 2012-10-17 华为技术有限公司 Method, device and system for transmitting messages
CN102857385A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Method and system for detecting packet loss rate in packet transport network
CN102904775A (en) * 2012-09-29 2013-01-30 华为技术有限公司 Method, apparatus and system for measuring network packet loss
CN103067791A (en) * 2012-12-11 2013-04-24 深圳市梦网科技发展有限公司 Network dynamic adaptation monitoring video transmission method
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
WO2016107086A1 (en) * 2014-12-29 2016-07-07 中兴通讯股份有限公司 Method and device for optimizing loss monitoring
CN106375158A (en) * 2016-10-25 2017-02-01 华为技术有限公司 Packet loss detection method, network device and system
CN107864026A (en) * 2016-09-22 2018-03-30 南京中兴软件有限责任公司 Aggregated links LOF measurement apparatus and method
CN115277496A (en) * 2022-07-27 2022-11-01 中国电信股份有限公司 Packet loss detection method and device, electronic equipment and storage medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215144A (en) * 2011-05-17 2011-10-12 中兴通讯股份有限公司 Measuring method and system of packet loss
US9485162B2 (en) 2011-05-17 2016-11-01 Zte Corporation Method and system for measuring frame loss ratio
EP2712120A1 (en) * 2011-05-17 2014-03-26 ZTE Corporation Method and system for measuring packet loss ratio
EP2712120A4 (en) * 2011-05-17 2015-01-21 Zte Corp Method and system for measuring packet loss ratio
CN102857385A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Method and system for detecting packet loss rate in packet transport network
CN102857385B (en) * 2011-06-30 2018-01-16 中兴通讯股份有限公司 Packet loss detection method and system in a kind of Packet Transport Network
CN102739448A (en) * 2012-06-28 2012-10-17 华为技术有限公司 Method, device and system for transmitting messages
CN102904775B (en) * 2012-09-29 2015-04-29 华为技术有限公司 Method, apparatus and system for measuring network packet loss
CN102904775A (en) * 2012-09-29 2013-01-30 华为技术有限公司 Method, apparatus and system for measuring network packet loss
CN103067791A (en) * 2012-12-11 2013-04-24 深圳市梦网科技发展有限公司 Network dynamic adaptation monitoring video transmission method
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
CN104348678B (en) * 2013-08-05 2018-10-30 华为技术有限公司 Ethernet performance measurement method, apparatus and system
WO2016107086A1 (en) * 2014-12-29 2016-07-07 中兴通讯股份有限公司 Method and device for optimizing loss monitoring
CN107864026A (en) * 2016-09-22 2018-03-30 南京中兴软件有限责任公司 Aggregated links LOF measurement apparatus and method
CN107864026B (en) * 2016-09-22 2022-03-25 中兴通讯股份有限公司 Aggregation link frame loss measuring device and method
CN106375158A (en) * 2016-10-25 2017-02-01 华为技术有限公司 Packet loss detection method, network device and system
CN106375158B (en) * 2016-10-25 2019-09-13 华为技术有限公司 A kind of method for detecting packet loss, the network equipment and system
CN115277496A (en) * 2022-07-27 2022-11-01 中国电信股份有限公司 Packet loss detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101707509A (en) Method, system and device for detecting packet loss rate by using OAM
EP2730059B1 (en) Controller driven oam for openflow
CN100382538C (en) Bandwidth policing method and packet transfer apparatus with bandwidth policing function
US8243608B2 (en) Metro Ethernet connectivity fault management acceleration
CN106375161B (en) Ten-gigabit Ethernet testing device
US9426080B2 (en) Data communication apparatus, data transmission method, and computer system
JP5673805B2 (en) Network device, communication system, abnormal traffic detection method and program
CN105634840B (en) Method and device for measuring packet loss
CN106953853B (en) Network-on-chip gigabit Ethernet resource node and working method thereof
CN101924659A (en) Network equipment and method for detecting links of physical ports of same
CN101789949B (en) Method and router equipment for realizing load sharing
CN102035692A (en) Method and device for detecting quality of link
CN102104502A (en) Ethernet equipment performance test platform based on Linux system
US20150036510A1 (en) Method and device for measuring ethernet performance
CN101697631B (en) Method and device for reordering out-of-order orderable data packets
US9331927B2 (en) Communication system, communication device, and communication method
CA2833465A1 (en) Synchronization control system
CN107547430A (en) A kind of file transmitting method and device
CN104869077B (en) Token transfer control method and system
CN104158770A (en) A method and device for dividing and recombining switch packet
CN201667661U (en) Auxiliary measurement equipment and testing system of PPPOE client router
CN113141279B (en) Switch mesh test system and method
US20130215777A1 (en) Method of enabling a packet loss measurement in a packet transport network
US8649285B2 (en) Tracking packet sequence numbers
CN107251593A (en) Data package processing method and relevant device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100512