WO2016201866A1 - 一种用于ptn设备的丢包统计方法及装置 - Google Patents

一种用于ptn设备的丢包统计方法及装置 Download PDF

Info

Publication number
WO2016201866A1
WO2016201866A1 PCT/CN2015/094125 CN2015094125W WO2016201866A1 WO 2016201866 A1 WO2016201866 A1 WO 2016201866A1 CN 2015094125 W CN2015094125 W CN 2015094125W WO 2016201866 A1 WO2016201866 A1 WO 2016201866A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
sequence value
value
packet loss
actual sequence
Prior art date
Application number
PCT/CN2015/094125
Other languages
English (en)
French (fr)
Inventor
张艳辉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016201866A1 publication Critical patent/WO2016201866A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • IP Internet Protocol
  • MPLS Multi-Protocol Lable Switch
  • PDH Plesiochronous Digital Hierarchy
  • SDH Synchronous Digital
  • PSTN public switched telephone network
  • TDMoIP TD Multiplexing IP
  • PSN Packet Switched Network
  • PWE3 Pseudo-Wire Emulation Edge to Edge
  • TDMoIP technology and PWE3 technology are based on the same protocol structure.
  • TDMoIP technology adapts Constant Bit-Rate (CBR) data into AAL1 cells and adapts the variable bit-rate (VBR) data to AAL2.
  • CBR Constant Bit-Rate
  • VBR variable bit-rate
  • the cell is then PW encapsulated and transparently transmitted to the AAL1/AAL2 cell.
  • the PWE3 technology directly implements PWE3 encapsulation and transparent transmission of the original TDM service or SDH VC data.
  • the packet carrying the TDM data service is called the CES PWE3 encapsulation
  • the packet carrying the VC data of the SDH is called the CEP PWE3 encapsulation.
  • FIG. 1 and Figure 2 show the packet format and CEP of the CES PWE3 encapsulation provided by the related art.
  • Schematic diagram of the packet format of the PWE3 encapsulation FIG. 3 and FIG. 4 are respectively a structural diagram of the ConWord domain of the unstructured and structured CES PWE3 message provided by the related art, and
  • FIG. 5 is a CEP PWE3 message CepHeader domain provided by the related art.
  • the structure diagram, as shown in Figure 1 to Figure 5, CES PWE3 package includes unstructured and structured. The unstructured CES PWE3 does not need to consider the boundary of the E1 frame. The E1 frame is transmitted as a whole without parsing.
  • the time slot inside the E1 frame; and the structured CES PWE3 can identify the E1 frame structure, need to resolve the 64K time slot, and support the time slot compression function, that is, only need to transmit the time slot of the effective service, and the idle time slot channel can not be transmitted. To save network resource bandwidth.
  • CEP PWE3 uses the SDH VC channel as a complete payload package and does not recognize the mapping structure within the channel.
  • This document provides a packet loss statistics method and device for a PTN device, which can better monitor packet loss of PWE3 packets transmitted by the PTN network to facilitate fault location.
  • a packet loss statistics method for a PTN device including:
  • the packet loss statistical value is calculated by using the actual sequence value output by the first memory and the ideal sequence value output by the second memory;
  • the first memory obtains an actual sequence value of a previous message for the same time slot compared with the current message.
  • the step of calculating the packet loss statistics by using the actual sequence value output by the first memory and the ideal sequence value of the second memory output includes:
  • the method further includes: after obtaining the first packet loss value, saving the actual sequence value of the current packet to the first memory and the first slot according to the slot number to which the current packet belongs Two memories.
  • the step of calculating the packet loss statistics according to the determination result includes:
  • the second packet loss value is added to the previously counted packet loss statistics to obtain a new packet loss statistics.
  • the method further includes: after obtaining the second packet loss value, adding the actual sequence value of the first memory output to 1 as the second according to the slot number to which the current packet belongs.
  • An ideal sequence value of the memory is saved to the second memory, the actual sequence of the current message The value is saved to the first memory.
  • a packet loss statistics device for a PTN device includes:
  • a storage module configured to: store, by using the first memory thereof, an actual sequence value of the sequentially received message, and use the second memory thereof to store an ideal sequence value corresponding to the actual sequence value;
  • the judging module is configured to: determine whether the actual sequence value of the current packet is continuously incremented by comparing the actual sequence value of the current packet with the previous packet;
  • the first processing module is configured to: when determining that the actual sequence value of the current message is continuously incremented, calculate the packet loss statistical value by using the actual sequence value output by the first memory and the ideal sequence value output by the second memory;
  • the second processing module is configured to: when it is determined that the actual sequence value of the current packet is not continuously incremented, determine whether the actual sequence value of the preset number of consecutive messages is not continuously incremented, and calculate the packet loss statistics according to the judgment result. value.
  • the determining module is configured to: query the first memory according to a slot number to which the current packet belongs, and obtain a previous packet in a same time slot that is compared with the current packet. The actual sequence value.
  • the first processing module is configured to: subtract the actual sequence value output by the first memory and the ideal sequence value of the second memory output to obtain a first packet loss value, and the first The packet loss value is added to the previously collected packet loss statistics to obtain a new packet loss statistics.
  • the first processing module is further configured to: after obtaining the first packet loss value, save the actual sequence value of the current packet to the storage according to the slot number to which the current packet belongs The first memory and the second memory of the module.
  • the second processing module is configured to: when determining that the actual sequence value of the preset number of consecutive messages is not continuously increasing, output the actual sequence value of the first memory and the second memory output The ideal sequence value is subtracted to obtain a second packet loss value, and the second packet loss value is added to the previously counted packet loss statistics to obtain a new packet loss statistics value.
  • the second processing module is further configured to: after obtaining the second packet loss value, add the actual sequence value output by the first memory to 1 according to the slot number to which the current packet belongs Saving a desired sequence value of the second memory to the second memory, the current message The actual sequence value is saved to the first memory.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the packet loss statistics of the PTN device are performed by using the actual sequence value and the ideal sequence value of the received packet, and the use of the logical resource is small, simple and convenient, and the packet loss can be effectively located on the PTN network.
  • FIG. 1 is a schematic diagram of a packet format of a CES PWE3 package provided by the related art
  • FIG. 2 is a schematic diagram of a packet format of a CEP PWE3 package provided by the related art
  • FIG. 3 is a structural diagram of a non-structured CES PWE3 message ConWord field provided by the related art
  • FIG. 4 is a structural diagram of a structured CES PWE3 message ConWord field provided by the related art
  • FIG. 6 is a flowchart of a packet loss statistics method for a PTN device according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a packet loss statistics apparatus for a PTN device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a device for packet loss statistics of a PTN device according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a sequence comparison processor device according to an embodiment of the present invention.
  • FIG. 10 is a first schematic diagram of statistical analysis of packet loss according to an embodiment of the present invention.
  • FIG. 11 is a second schematic diagram of statistical analysis of packet loss according to an embodiment of the present invention.
  • FIG. 12 is a third schematic diagram of statistical analysis of packet loss according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a packet loss statistics method for a PTN device according to an embodiment of the present invention. As shown in FIG. 6, the steps include:
  • Step S101 The first memory of the packet transmission network PTN device stores the actual sequence value of the sequentially received message, and the second memory of the PTN device stores the ideal sequence value corresponding to the actual sequence value.
  • Step S102 Determine whether the actual sequence value of the current packet is continuously incremented by comparing the actual sequence value of the current packet with the previous packet.
  • the first memory is queried according to the slot number (for example, the E1 slot number) to which the current packet belongs, and the actual sequence of the previous packet of the E1 slot used for comparison with the current packet is obtained. value.
  • the slot number for example, the E1 slot number
  • Step S103 If it is determined that the actual sequence value of the current message is continuously incremented, the packet loss statistical value is calculated by using the actual sequence value output by the first memory and the ideal sequence value output by the second memory.
  • the actual sequence value outputted by the first memory and the ideal sequence value outputted by the second memory are subtracted to obtain a first packet loss value, and then the first packet loss value is compared with the previous statistics of packet loss statistics. The values are accumulated to get a new packet loss statistics.
  • Step S104 If it is determined that the actual sequence value of the current packet is not continuously incremented, it is determined whether the actual sequence value of the preset number of consecutive messages is not continuously incremented, and the packet loss statistical value is calculated according to the determination result.
  • the actual sequence value output by the first memory and the ideal sequence value of the second memory output are subtracted to obtain a second packet loss value. And adding the second packet loss value to the previously counted packet loss statistics to obtain a new packet loss statistics value.
  • the actual sequence value outputted by the first memory is incremented by 1 according to the slot number to which the current packet belongs, and then saved as an ideal sequence value of the second memory. Up to the second memory, saving the actual sequence value of the current message to the first memory.
  • FIG. 7 is a block diagram of a packet loss statistics apparatus for a PTN device according to an embodiment of the present invention.
  • the storage module 10 includes a storage module 10, a determination module 20, a first processing module 30, and a second processing module 40.
  • the storage module 10 includes a first memory and a second memory, and the storage module 10 is configured to store, by its first memory, an actual sequence value of the sequentially received message, and use its second memory to store an ideal sequence corresponding to the actual sequence value value.
  • the determining module 20 is configured to: query the first memory according to the slot number to which the current packet belongs, and obtain an actual sequence value of a previous packet used in the same time slot compared with the current packet, and The actual sequence value of the current packet is compared with the actual sequence value of the previous packet to determine whether the actual sequence value of the current packet is continuously incremented.
  • the first processing module 30 is configured to: when determining that the actual sequence value of the current message is continuously incremented, calculate the packet loss statistical value by using the actual sequence value output by the first memory and the ideal sequence value output by the second memory.
  • the first processing module 30 subtracts the actual sequence value output by the first memory and the ideal sequence value of the second memory output to obtain a first packet loss value, and compares the first packet loss value with previous statistics.
  • the packet loss statistics are accumulated to obtain a new packet loss statistics.
  • the first processing module 30 saves the actual sequence value of the current packet to the first memory of the storage module 10 according to the slot number to which the current packet belongs. Second memory.
  • the second processing module 40 is configured to: when it is determined that the actual sequence value of the current packet is not continuously incremented, determine whether the actual sequence value of the preset number of consecutive messages is not continuously incremented, and calculate the packet loss statistics according to the determination result. value.
  • the second processing module 40 subtracts the actual sequence value outputted by the first memory and the ideal sequence value of the second memory output by determining that the actual sequence value of the preset number of consecutive messages is not continuously incremented.
  • the second packet loss value is added, and the second packet loss value is added to the previously counted packet loss statistics to obtain a new packet loss statistics value.
  • the actual sequence value outputted by the first memory is incremented by 1 according to the slot number to which the current packet belongs, and then saved as the ideal sequence value of the second memory to the first And a second memory that saves the actual sequence value of the current message to the first memory.
  • the sequence information (that is, the sequence value and the sequence value) in the ConWord field and the CepHeader field of each PWE3 message is incremented in sequence.
  • the receiving side of the PTN device detects that the sequence information of the PWE3 message is not incremented sequentially ( That is, continuous incrementing, there may be many cases. For example, the sequence value of the next message in two consecutive PWE3 messages is larger than the previous message, but it is not a difference of 1, or the sequence of the next message.
  • the value is smaller than the previous message; the sequence value of the second message in the three consecutive PWE3 messages is an outlier (may be an occasional data error during data transmission, not a real packet loss), third
  • the sequence value of a message is a continuously increasing relationship than the first message. In the range of time, no sequence value is incremented in order, and so on. Therefore, in view of the multiple cases, when the sequence value of the received PWE3 message is not sequentially incremented, it indicates that the received message may have a packet loss or a multi-packet or a wrong packet.
  • FIG. 8 is a schematic diagram of a device for packet loss statistics of a PTN device according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a sequence comparison processor device according to an embodiment of the present invention, as shown in FIG. 8 and FIG.
  • Receiving a message detection module which can extract a sequence value of the received message
  • the CPU configuration module implements the configuration of the attributes of the received message according to the Pwlabel.
  • the first memory, the stored content is the Sequence value of the current message
  • the second memory the stored content reflects the number of packets of the sequence value and the discontinuous sequence value of the message that has received the continuous sequence value in history;
  • the Sequence comparison processor implements the output comparison of the first memory and the second memory, and completes the packet loss statistics according to the comparison.
  • the output of the first memory is Sequence1
  • the output of the second memory is Sequence2
  • the Sequence comparison processor compares Sequence1 and Sequence2. If Sequence1 is equal to Sequence2, the difference between the two is 0, which means that the sequence number of the message (that is, the Sequence value) is continuous, the message is not lost, and no statistics are performed; if the difference between Sequence1 and Sequence2 is greater than N (here) If the number of packets is too large, you need to report the loss of the PWE3 packet and do not report the packet loss statistics. In other cases, Sequence1 subtracts the difference between Sequence2 and the current packet loss statistics. The memory, at this time, the sequence comparison processor adds the obtained loss statistics of the current packet to the previous statistical value to obtain a total packet loss statistics.
  • the embodiment of the present invention uses a subtractor to subtract the content of the first memory and the content of the second memory to obtain packet loss statistics.
  • the first memory and the second memory are both stored in an E1 time slot or a VC time slot, and the first memory is used to store a Sequence value (ie, an actual sequence value) of the received current message. Therefore, when the next message arrives, the content of the first memory is read, and the Sequence value of the previous message is obtained.
  • the content stored in the second memory is conditionally limited: first, it is determined whether the sequence value of the current message and the sequence value of the previous message are in a sequential increasing relationship, and if the relationship is sequentially increasing, the sequence value of the current message is stored to the first The second memory; if it is not a sequential increment relationship, it means that the sequence value of the message is discontinuous, then the content of the second memory is read, and then the content is added as 1 and then stored as an ideal sequence value, and then stored in the second memory ( Adding 1 means receiving a message, but receiving a message with a discontinuous sequence value. Therefore, the content stored in the second memory reflects the continuous sequence value and the discontinuous sequence value of the message received in the history. The number.
  • the first memory is updated, and the second memory is updated according to the sequence value of the received message. Comparing the Sequence value of the first memory output (ie, the Sequence value of the previous message) with the Sequence value of the current message, when it is determined that the Sequence value is continuously incremented, the Comparator of the Sequence Comparison Processor outputs the first memory and the second memory. After the content is subtracted, the packet loss statistics of the PWE3 packet can be obtained. However, in the case that the packet of the consecutively increasing sequence value is not received, the packet loss statistics of the packet are not obtained. Therefore, in order to enable the packet loss statistics enable, the embodiment receives the continuous M (M can be set. When the sequence values of the messages of 1, 2, 3, 4, 5.. are all discontinuous, the content of the second memory is updated by the sequence value of the Mth message, and at the same time, the first time is performed. The contents of the memory and the second memory are subtracted.
  • M can be set.
  • the second memory stores a Sequence value of 16'hfff.
  • Implementation steps include:
  • the first step is to detect the validity of the received PWE3 packet at the receiving side of the PTN device, extract the Pwlabel and the Sequence from the legal packet, and discard the invalid packet.
  • Step 2 The CPU configures the attributes of the packet by Pwlabel.
  • the CPU configures the E1 slot number to which the received CES PWE3 message belongs according to the Pwlabel.
  • the CPU configures the VC slot number to which the received CEP PWE3 message belongs according to the Pwlabel.
  • the Pwlabel of the received packet is used to query the attributes of the packet from the CPU configuration to obtain the E1 time slot or VC time slot corresponding to the current message.
  • the third step using the first memory, storing the sequence value of the received message according to the E1 time slot/VC time slot.
  • the fourth step each time a new PWE3 message is received, the first memory is read by the E1 time slot or the VC time slot, and the output value of the first memory is obtained, that is, the sequence value of the previous message. Then, the output value of the first memory is compared with the sequence value of the currently received message to determine whether it is an incremental relationship. If it is incremented, the sequence of the current message is stored in the second memory in the E1 time slot/VC time slot. If it is not incremented, the output value of the second memory is incremented by one and stored. When the sequence values of consecutive M messages are not incremented, the first storage is performed. The output value of the device is incremented by 1 and stored in the second memory.
  • Step 5 When the message of the continuous sequence value is received or the sequence value of the consecutive M messages is not consecutive, the output value Sequence1 of the first memory and the output value Sequence2 of the second memory are read, Do the subtraction. When Sequence1 is equal to Sequence2, it indicates that the sequence number is continuous and the message is not lost. When the difference between Sequence1 and Sequence2 exceeds 16'h0fff, no packet loss statistics are reported, and the packet loss alarm is reported to notify the client; otherwise, Sequence1 and Sequence2 are sent. The difference is used as the current packet loss statistics.
  • FIG. 10 is a first schematic diagram of statistical analysis of packet loss according to an embodiment of the present invention
  • FIG. 11 is a second schematic diagram of statistical analysis of packet loss according to an embodiment of the present invention
  • FIG. 12 is a third schematic diagram of statistical analysis of packet loss provided by an embodiment of the present invention. As shown in Figure 10 to Figure 12, taking the received packet as CES PWE3 as an example, how to use the sequence value of the packet to perform packet loss statistics.
  • the received CES PWE3 message attribute that is, the E1 time slot number
  • the received CES PWE3 message attribute that is, the E1 time slot number
  • the CPU configures the packet attribute whose Pwlabel is 1, that is, the E1 slot to which the packet belongs is ⁇ 2'b00, 2'b00, 5'b00010 ⁇ . It is assumed that the Pwlabel fields of the received messages in Figures 10 to 12 are all 1, indicating that they belong to an E1 slot 9'h002.
  • the packet loss statistical analysis shows that the sequence value of the received message starts in a continuous state, and then receives a message with a discontinuous sequence value, and then receives a message with a consecutive sequence value.
  • the sequence value of the received message starts to be a continuous state, and then receives a message with a discontinuous sequence value (the sequence value is large), and then receives the continuous sequence value.
  • the message is followed by two messages with equal Sequence.
  • the received Sequence value of the current message is stored in the first memory, and before the storage, the Sequence of the previous message is read, that is, the first memory output value Sequence1.
  • Sequence1 is equal to Sequence2, it indicates that the sequence number of the message is continuous, the message is not lost, and no statistics are performed;
  • Sequence1 subtracts the difference of Sequence2, as the loss statistics of the current message, and stores it in the third memory.
  • the third memory stores the result of the statistical accumulation of each message loss according to the E1 time slot or the VC time slot.
  • FIG. 10 is a case where the packet loss statistics result is 1
  • FIG. 11 is a case where the packet loss statistics result is 0
  • FIG. 12 is a case where the packet loss statistics result is 6.
  • the embodiment of the present invention utilizes the sequence information of the PWord packet and the sequence information in the CepHeader domain to implement statistics on packet loss of the PTN network node with fewer logical resources, so as to conveniently check the network node and quickly locate the lost PTN device. Package situation.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the packet loss statistics of the PTN device are performed by using the actual sequence value and the ideal sequence value of the received packet, and the use of the logical resource is small, simple and convenient, and the packet loss can be effectively located on the PTN network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本文公布一种用于PTN设备的丢包统计方法及装置,所述方法包括:利用PTN设备的第一存储器存储依次接收的报文的实际序列值,利用所述PTN设备的第二存储器存储对应于所述实际序列值的理想序列值;通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增;若判断当前报文的实际序列值连续递增,则利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值;若判断当前报文的实际序列值不是连续递增,则判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。

Description

一种用于PTN设备的丢包统计方法及装置 技术领域
本申请涉及但不限于通信领域。
背景技术
随着网络技术演进和网络融合,在下一代网络中,以数据包为基础单元进行网络数据传输和交换的方式将占据统治地位。无论是网络互连协议(Internet Protocol,IP)网络、多协议标签交换(Multi-Protocol Lable Switch,MPLS)网络都是包交换网络的代表。另一方面,下一代网络需要逐步建成,现存的服务于公共交换电话网络(Public Switched Telephone Network,PSTN)公告语音通信业务的准同步数字系列(Plesiochronous Digital Hierarchy,PDH)/同步数字系列(Synchronous Digital Hierarchy,SDH)网络还将会长期存在,网络上大量存在的用户时分复用(Time Division Mutiplexing,TDM)设备还将继续使用。为了保护用户在TDM设备上已有的投资,在下一代包交换网络中提供TDM业务接入和TDM数据透传能力是十分重要的。
实现TDM业务透传PSN网络有两种技术,一种是TD复用IP的(TD Multiplexing IP,TDMoIP)技术,另一种是基于分组交换网(Packet Switched Network,PSN)网络的边缘到边缘的伪线仿真(Pseudo-Wire Emulation Edge to Edge,PWE3)技术。TDMoIP技术和PWE3技术基于同样的协议结构,TDMoIP技术将恒定比特率(Constant Bit-Rate,CBR)数据适配成AAL1信元,将动态比特率(Variable Bit-Rate,VBR)数据适配成AAL2信元,然后对AAL1/AAL2信元进行PW封装透传。而PWE3技术直接对原始的TDM业务或者SDH的VC数据实行PWE3封装透传。它采用特殊的电路仿真报文头进行封装,在特殊报文头中携带TDM数据业务或VC数据业务的帧格式信息、告警信息、信令信息以及同步定时信息。携带TDM数据业务的报文称为CES PWE3封装,携带SDH的VC数据的报文称为CEP PWE3封装。
图1和图2分别为相关技术提供的CES PWE3封装的报文格式和CEP  PWE3封装的报文格式示意图,图3和图4分别为相关技术提供的非结构化和结构化CES PWE3报文的ConWord域的结构图,图5为相关技术提供的CEP PWE3报文CepHeader域的结构图,如图1至图5所示,CES PWE3封装包括非结构化和结构化两种,其中,非结构化的CES PWE3无需考虑E1帧的边界,E1帧作为一个整体传送,不需要解析E1帧内部的时隙;而结构化的CES PWE3可以识别E1帧结构,需要解析64K的时隙,并支持时隙压缩功能,即只需要传送有效业务的时隙,空闲时隙信道可以不传送,以用于节省网络资源带宽。CEP PWE3是把SDH的VC通道作为一个完整的净荷封装,不识别通道内的映射结构。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
在分组传送网(Packet Transport Network,PTN)网络的测试环境中,经常会遇到业务持续瞬断或者业务偶现闪断的情况。在简单的环境,例如只有一两个设备对接,排查这类故障时首先需要明确设备接收报文时是否存在丢包,而在比较复杂的环境,例如多个设备对接测试中定位少量持续丢包还是比较麻烦的,如果能查询到每个设备丢包情况以及丢包数量,就可以快速定位出现问题的设备,对进一步分析问题有很大帮助。因此,统计设备的丢包情况在实际测试应用中很有必要。
本文提供一种用于PTN设备的丢包统计方法及装置,能更好地监测PTN网络传输的PWE3报文的丢包情况,以方便故障定位。
一种用于PTN设备的丢包统计方法,包括:
利用分组传送网PTN设备的第一存储器存储依次接收的报文的实际序列值,利用所述PTN设备的第二存储器存储对应于所述实际序列值的理想序列值;
通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际 序列值是否连续递增;
若判断当前报文的实际序列值连续递增,则利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值;
若判断当前报文的实际序列值不是连续递增,则判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。
可选地,在所述通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增的步骤中,按照所述当前报文所属的时隙号,查询所述第一存储器,得到用于与所述当前报文比较的同一时隙的上一个报文的实际序列值。
可选地,所述利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值的步骤包括:
将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值;
将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
可选地,所述方法还包括:在得到第一丢包值之后,按照所述当前报文所属的时隙号,将所述当前报文的实际序列值保存至所述第一存储器和第二存储器。
可选地,所述根据判断结果,计算丢包统计值的步骤包括:
若判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值;
将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
可选地,所述方法还包括:在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存至所述第二存储器,将所述当前报文的实际序列 值保存至所述第一存储器。
一种用于PTN设备的丢包统计装置,包括:
存储模块,设置为:利用其第一存储器存储依次接收的报文的实际序列值,利用其第二存储器存储对应于所述实际序列值的理想序列值;
判断模块,设置为:通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增;
第一处理模块,设置为:在判断当前报文的实际序列值连续递增时,利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值;
第二处理模块,设置为:在判断当前报文的实际序列值不是连续递增时,判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。
可选地,所述判断模块是设置为:按照所述当前报文所属的时隙号,查询所述第一存储器,得到用于与所述当前报文比较的同一时隙的上一个报文的实际序列值。
可选地,所述第一处理模块是设置为:将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值,并将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
可选地,所述第一处理模块还设置为:在得到第一丢包值之后,按照所述当前报文所属的时隙号,将所述当前报文的实际序列值保存至所述存储模块的第一存储器和第二存储器。
可选地,所述第二处理模块是设置为:在判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值,并将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
可选地,所述第二处理模块还设置为:在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存至所述第二存储器,将所述当前报文 的实际序列值保存至所述第一存储器。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明实施例利用接收的报文的实际序列值和理想序列值进行PTN设备的丢包统计,使用逻辑资源较少,简单方便,能够对PTN网络丢包有效定位。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是相关技术提供的CES PWE3封装的报文格式示意图;
图2是相关技术提供的CEP PWE3封装的报文格式示意图;
图3是相关技术提供的非结构化CES PWE3报文ConWord域的结构图;
图4是相关技术提供的结构化CES PWE3报文ConWord域的结构图;
图5是相关技术提供的CEP PWE3报文CepHeader域的结构图;
图6是发明实施例提供的用于PTN设备的丢包统计方法流程图;
图7是发明实施例提供的用于PTN设备的丢包统计装置框图;
图8本发明实施例提供的PTN设备丢包统计的装置简图;
图9本发明实施例提供的Sequence比较处理器装置简图;
图10本发明实施例提供的丢包统计分析的第一示意图;
图11本发明实施例提供的丢包统计分析的第二示意图;
图12本发明实施例提供的丢包统计分析的第三示意图;
本发明的实施方式
以下结合附图对本发明的实施方式进行详细说明。
图6是发明实施例提供的用于PTN设备的丢包统计方法流程图,如图6所示,步骤包括:
步骤S101:利用分组传送网PTN设备的第一存储器存储依次接收的报文的实际序列值,利用所述PTN设备的第二存储器存储对应于所述实际序列值的理想序列值。
步骤S102:通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增。
其中,按照所述当前报文所属的时隙号(例如E1时隙号),查询所述第一存储器,得到用于与所述当前报文比较的E1时隙的上一个报文的实际序列值。
步骤S103:若判断当前报文的实际序列值连续递增,则利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值。
其中,首先将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值,然后将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
在得到第一丢包值之后,利用按照所述当前报文所属的时隙号(例如E1时隙号),将所述当前报文的实际序列值保存至所述第一存储器和第二存储器。
步骤S104:若判断当前报文的实际序列值不是连续递增,则判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。
其中,若判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值;将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存 至所述第二存储器,将所述当前报文的实际序列值保存至所述第一存储器。
图7是发明实施例提供的用于PTN设备的丢包统计装置框图,如图7所示,包括:存储模块10、判断模块20、第一处理模块30和第二处理模块40。
存储模块10包括第一存储器和第二存储器,存储模块10设置为:利用其第一存储器存储依次接收的报文的实际序列值,利用其第二存储器存储对应于所述实际序列值的理想序列值。
判断模块20设置为:按照所述当前报文所属的时隙号,查询所述第一存储器,得到用于与所述当前报文比较的同一时隙的上一个报文的实际序列值,并将当前报文的实际序列值与上一个报文的实际序列值进行比较,判断当前报文的实际序列值是否连续递增。
第一处理模块30设置为:在判断当前报文的实际序列值连续递增时,利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值。其中,第一处理模块30将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值,并将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。其中,在得到第一丢包值之后,第一处理模块30按照所述当前报文所属的时隙号,将所述当前报文的实际序列值保存至所述存储模块10的第一存储器和第二存储器。
第二处理模块40设置为:在判断当前报文的实际序列值不是连续递增时,判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。其中,第二处理模块40在判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值,并将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存至所述第二存储器,将所述当前报文的实际序列值保存至所述第一存储器。
正常情况下,每个PWE3报文的ConWord域和CepHeader域中的Sequence信息(即Sequence值、序列值)是按顺序递增的,当PTN设备接收侧检测到PWE3报文的Sequence信息不是顺序递增(即连续递增)的,这时可能存在很多种情况,例如,两个连续PWE3报文中后一个报文的Sequence值比前一个报文的大,但不是相差1,或者后一个报文的Sequence值比前一个报文的小;三个连续的PWE3报文中第二个报文的Sequence值是异常值(可能是数据传输过程中偶现数据错误,并不是真正的丢包),第三个报文的Sequence值比第一个报文的大二,是连续递增的关系;一段时间范围内,没有Sequence值是按顺序递增的等等。因此,鉴于存在的多种情况,当接收到PWE3报文的Sequence值不是顺序递增时,表示接收的报文可能出现了丢包或者多包或者错包的情况。
图8本发明实施例提供的PTN设备丢包统计的装置简图,图9本发明实施例提供的Sequence比较处理器装置简图,如图8和图9所示,包括:
1.接收报文检测模块,可以提取接收的报文的序列(Sequence)值;
2.CPU配置模块,实现按Pwlabel对接收的报文的属性进行配置;
3.第一存储器,存储的内容是当前报文的Sequence值;
4.第二存储器,存储的内容反映历史上接收到连续Sequence值的报文的Sequence值和不连续Sequence值的报文的个数;
5.Sequence比较处理器,实现第一存储器和第二存储器的输出比较,根据比较情况完成丢包统计。其中,假设第一存储器的输出为Sequence1,第二存储器的输出为Sequence2,Sequence比较处理器比较Sequence1和Sequence2。如果Sequence1等于Sequence2,两者相减后得到的差值为0,表示报文序列号(即Sequence值)连续,报文没有丢失,不做统计;如果Sequence1减去Sequence2的差值大于N(这里设置N=4096),表示报文丢失过多,需要上报PWE3报文丢失告警,不做丢包统计;其它情况,Sequence1减去Sequence2的差值,作为当前报文的丢失统计,存入第三存储器,此时,Sequence比较处理器将所得到的当前报文的丢失统计与在前统计值相加,得到总的报文丢失统计。
本发明实施例利用减法器将第一存储器的内容和第二存储器的内容相减得到丢包统计。第一存储器和第二存储器都按E1时隙或VC时隙进行存储,第一存储器用于存储接收的当前报文的Sequence值(即实际序列值)。因此,当下一个报文到来时,读取第一存储器的内容,就可得到上一个报文的Sequence值。第二存储器存储的内容有条件限制:首先判断当前报文的Sequence值和上一个报文的Sequence值是否是顺序递增的关系,如果是顺序递增的关系则将当前报文的Sequence值存储至第二存储器;如果不是顺序递增的关系,则表示报文的Sequence值是不连续的,那么读出第二存储器的内容,然后将该内容加1后作为理想Sequence值,再存入第二存储器(加1表示收到了一个报文,但是收到的是不连续Sequence值的报文),因此第二存储器存储的内容反映了历史收到的报文连续的Sequence值和不连续Sequence值的报文的个数。
每接收到一个新的PWE3报文,都要更新第一存储器,同时根据接收报文的Sequence值判断如何更新第二存储器。比较第一存储器输出的Sequence值(即上一个报文的Sequence值)与当前报文的Sequence值,当判断Sequence值连续递增时,Sequence比较处理器的减法器将第一存储器和第二存储器输出的内容相减,即可得到PWE3报文的丢包统计。但是在一直收不到连续递增的Sequence值的报文的情况下,就得不到报文的丢包统计,因此为了启动丢包统计使能,本实施例在收到连续M(M可以设置为1、2、3、4、5…….)个报文的Sequence值都是不连续时,第二存储器的内容利用第M个报文的Sequence值更新,同时在该时刻,进行第一存储器和第二存储器的内容相减。
由于Sequence值是按16bit循环累加的,如果第一存储器存储的Sequence值比第二存储器存储的Sequence值小,可能存在下面几种情况:
1.如果第一存储器存储的Sequence值是16’h0,第二存储器存储的Sequence值是16’hffff,这种情况下丢失的报文数可能是0或者65536或者131072(即65536+65536=131072)或者更多。
2.如果第一存储器存储的Sequence值是16’h3,第二存储器存储的Sequence值是16’hffff,这种情况下丢失的报文数可能是3或者65539或者 131075(65539+65536=131076)更多。
因此,用第一存储器和第二存储器的输出值直接进行相减得到的丢包统计会有很多可能性。为了更准确地统计网络丢包,保证丢包统计的唯一性,本发明实施例只考虑第一存储器和第二存储器的Sequence值相差范围在0到N(N可以设置为0~65535中的任意一个值)的情况。对于实际上网络丢包大于N个报文的情况,可采用其他手段通知客户。假设N=4096,PTN设备每隔125us接收到一个PWE3报文,那么丢失4096个报文需要的时间:4096x125us=512ms。因此,设置一个512ms的时间窗口,当512ms时间范围内都没有接收到PWE3报文,那么上报PWE3报文丢失告警,这时丢包统计值没有参考意义。
实施步骤包括:
第一步:在PTN设备的接收侧入口,检测接收的PWE3报文的合法性,从合法的报文中提取出Pwlabel和Sequence,并将不合法的报文丢弃。
第二步:CPU按Pwlabel配置报文的属性。
对CES业务,CPU按Pwlabel配置接收的CES PWE3报文所属的E1时隙号;对CEP业务,CPU按Pwlabel配置接收的CEP PWE3报文所属的VC时隙号。
用接收报文的Pwlabel从CPU配置中查询报文的属性,得到当前报文对应的E1时隙或VC时隙。
第三步:使用第一存储器,按E1时隙/VC时隙存储接收到的报文的Sequence值。
每当接收到一个新的PWE3报文,都需要更新第一存储器。
第四步:每接收到一个新的PWE3报文,用E1时隙或VC时隙读取第一存储器,得到第一存储器的输出值,也就是上一个报文的Sequence值。然后将第一存储器的输出值和当前接收报文的Sequence值比较,判断是否是递增关系。如果是递增的,按E1时隙/VC时隙把当前报文的Sequence存储在第二存储器中。如果不是递增的,把第二存储器的输出值加1再存储。当接收到连续M个报文的Sequence值都不是递增的关系,把第一存储 器的输出值加1再存储到第二存储器中。
第五步:每当接收到连续Sequence值的报文时或者接收到连续M个报文的Sequence值都不连续时,读取第一存储器的输出值Sequence1和第二存储器的输出值Sequence2,两者做减法运算。当Sequence1等于Sequence2,表示序列号连续,报文没有丢失;当Sequence1和Sequence2的差值超过16’h0fff,不做丢包统计,并上报报文丢失告警,以通知客户;否则,将Sequence1和Sequence2的差值作为当前报文丢失统计结果。
图10本发明实施例提供的丢包统计分析的第一示意图,图11本发明实施例提供的丢包统计分析的第二示意图,图12本发明实施例提供的丢包统计分析的第三示意图,如图10至图12所示,以接收报文为CES PWE3为例,说明如何利用报文的Sequence值进行丢包统计。
假设光口类型是4xSTM-1,接收的CES PWE3报文属性即E1时隙号可由{vc4[1:0],vc3[1:0],vc12[4:0]}表示。CPU配置Pwlabel为1的报文属性,即报文所属的E1时隙为{2’b00,2’b00,5’b00010}。假设图10至图12接收报文的Pwlabel域都是1,表示同属于一个E1时隙9’h002。
如图10所示的丢包统计分析示意图,接收报文的Sequence值开始是连续状态,接着接收到一个不连续Sequence值的报文,随后又接收到连续Sequence值的报文。
如图11所示的丢包统计分析示意图,接收报文的Sequence值开始是连续状态,接着接收到一个不连续Sequence值的报文(该Sequence值很大),随后又接收到连续Sequence值的报文,紧接着收到两个相等Sequence的报文。
如图12所示的丢包统计分析示意图,接收报文的Sequence值开始是连续状态,然后接收到M(这里设置M=5)个报文的Sequence值都不连续,接着又收到连续Sequence值的报文。
1.接收到的当前报文的Sequence值存储到第一存储器中,在存储之前,读取上一个报文的Sequence,即第一存储器输出值Sequence1。
2.将当前报文和上一个报文的Sequence值进行比较。若Sequence值是 顺序递增的状态,则将当前报文的Sequence存入第二存储器,否则,当前报文的Sequence不存储到第二存储器中,而是将第二存储器的内容加1后再存到第二存储器中。
3.在报文的Sequence值是连续递增时或者接收到M(M设置为5)个不连续Sequence值的报文时,比较第一存储器和第二存储器的输出值。
(1)如果Sequence1等于Sequence2,表示报文序列号连续,报文没有丢失,不做统计;
(2)如果Sequence1减去Sequence2的差值,大于N(这里设置N=4096),表示报文丢失太多,需要报PWE3报文丢失告警,不做丢包统计。
(3)其他情况,Sequence1减去Sequence2的差值,作为当前报文的丢失统计,存入第三存储器,第三存储器按E1时隙或VC时隙存储每次报文丢失统计累加的结果。
图10为丢包统计结果为1的情况,图11为丢包统计结果为0的情况,图12为丢包统计结果为6的情况。
综上所述,本发明实施例利用PWE3报文的ConWord域和CepHeader域中的Sequence信息以较少的逻辑资源实现PTN网络节点报文丢失的统计,方便排查网络节点,快速定位PTN设备的丢包情况。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例利用接收的报文的实际序列值和理想序列值进行PTN设备的丢包统计,使用逻辑资源较少,简单方便,能够对PTN网络丢包有效定位。

Claims (13)

  1. 一种用于PTN设备的丢包统计方法,包括:
    利用分组传送网PTN设备的第一存储器存储依次接收的报文的实际序列值,利用所述PTN设备的第二存储器存储对应于所述实际序列值的理想序列值;
    通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增;
    若判断当前报文的实际序列值连续递增,则利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值;
    若判断当前报文的实际序列值不是连续递增,则判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。
  2. 根据权利要求1所述的方法,其中,在所述通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增的步骤中,按照所述当前报文所属的时隙号,查询所述第一存储器,得到用于与所述当前报文比较的同一时隙的上一个报文的实际序列值。
  3. 根据权利要求2所述的方法,其中,所述利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值的步骤包括:
    将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值;
    将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
  4. 根据权利要求3所述的方法,所述方法还包括:在得到第一丢包值之后,按照所述当前报文所属的时隙号,将所述当前报文的实际序列值保存至所述第一存储器和第二存储器。
  5. 根据权利要求2所述的方法,其中,所述根据判断结果,计算丢包统计值的步骤包括:
    若判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值;
    将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
  6. 根据权利要求5所述的方法,所述方法还包括:在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存至所述第二存储器,将所述当前报文的实际序列值保存至所述第一存储器。
  7. 一种用于PTN设备的丢包统计装置,包括:
    存储模块,设置为:利用其第一存储器存储依次接收的报文的实际序列值,利用其第二存储器存储对应于所述实际序列值的理想序列值;
    判断模块,设置为:通过比较当前报文与上一个报文的实际序列值,判断当前报文的实际序列值是否连续递增;
    第一处理模块,设置为:在判断当前报文的实际序列值连续递增时,利用所述第一存储器输出的实际序列值和第二存储器输出的理想序列值,计算丢包统计值;
    第二处理模块,设置为:在判断当前报文的实际序列值不是连续递增时,判断是否已连续存在预设数量的报文的实际序列值不是连续递增,并根据判断结果,计算丢包统计值。
  8. 根据权利要求7所述的装置,其中,所述判断模块是设置为:按照所述当前报文所属的时隙号,查询所述第一存储器,得到用于与所述当前报文比较的同一时隙的上一个报文的实际序列值。
  9. 根据权利要求8所述的装置,其中,所述第一处理模块是设置为:将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第一丢包值,并将所述第一丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
  10. 根据权利要求9所述的装置,其中,所述第一处理模块还设置为: 在得到第一丢包值之后,按照所述当前报文所属的时隙号,将所述当前报文的实际序列值保存至所述存储模块的第一存储器和第二存储器。
  11. 根据权利要求8所述的装置,其中,所述第二处理模块是设置为:在判断连续存在预设数量的报文的实际序列值不是连续递增,则将所述第一存储器输出的实际序列值和第二存储器输出的理想序列值相减,得到第二丢包值,并将所述第二丢包值与在前统计的丢包统计值累加,得到新的丢包统计值。
  12. 根据权利要求11所述的装置,其中,所述第二处理模块还设置为:在得到第二丢包值之后,按照所述当前报文所属的时隙号,将所述第一存储器输出的实际序列值加1后作为所述第二存储器的理想序列值保存至所述第二存储器,将所述当前报文的实际序列值保存至所述第一存储器。
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。
PCT/CN2015/094125 2015-06-15 2015-11-09 一种用于ptn设备的丢包统计方法及装置 WO2016201866A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510328821.2 2015-06-15
CN201510328821.2A CN106330579B (zh) 2015-06-15 2015-06-15 一种用于ptn设备的丢包统计方法及装置

Publications (1)

Publication Number Publication Date
WO2016201866A1 true WO2016201866A1 (zh) 2016-12-22

Family

ID=57544826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094125 WO2016201866A1 (zh) 2015-06-15 2015-11-09 一种用于ptn设备的丢包统计方法及装置

Country Status (2)

Country Link
CN (1) CN106330579B (zh)
WO (1) WO2016201866A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257216A (zh) * 2018-09-18 2019-01-22 北京华环电子股份有限公司 一种64k业务端到端分段配置的方法
CN111614509A (zh) * 2020-04-01 2020-09-01 视联动力信息技术股份有限公司 丢包统计方法、装置及可读存储介质
CN113364722A (zh) * 2020-03-04 2021-09-07 阿里巴巴集团控股有限公司 网络安全防护方法和装置
CN114006838A (zh) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 流控设备的测试方法及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055216B (zh) * 2017-11-14 2020-07-28 烽火通信科技股份有限公司 Ptn芯片主动进行丢包测量的方法及系统
CN109005081B (zh) * 2018-06-26 2022-09-23 卡斯柯信号有限公司 一种丢包自动检测系统及方法
CN111026324B (zh) * 2018-10-09 2021-11-19 华为技术有限公司 转发表项的更新方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071421A1 (en) * 2000-12-12 2002-06-13 Elan Microelectronics Corporation Method and system for data loss detection and recovery in wireless communication process
US20040042465A1 (en) * 2002-09-04 2004-03-04 Lg Electronics Inc. Radio packet data transmission control system and method
CN101256572A (zh) * 2008-03-21 2008-09-03 华为技术有限公司 一种xml文档操作方法及xdms

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404069B (zh) * 2010-09-07 2016-03-30 中兴通讯股份有限公司 一种数据封装链路丢包和乱序统计的方法及系统
CN102064981A (zh) * 2010-12-29 2011-05-18 中兴通讯股份有限公司 双向转发检测方法和系统
CN103684818A (zh) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 检测网络通道故障的方法及装置
CN102868576B (zh) * 2012-09-26 2015-05-13 电子科技大学 宽带网用户接入链路下行丢包率测量方法
CN103560923B (zh) * 2013-11-20 2016-08-17 烽火通信科技股份有限公司 分组传送网的网络故障快速定位方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020071421A1 (en) * 2000-12-12 2002-06-13 Elan Microelectronics Corporation Method and system for data loss detection and recovery in wireless communication process
US20040042465A1 (en) * 2002-09-04 2004-03-04 Lg Electronics Inc. Radio packet data transmission control system and method
CN101256572A (zh) * 2008-03-21 2008-09-03 华为技术有限公司 一种xml文档操作方法及xdms

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257216A (zh) * 2018-09-18 2019-01-22 北京华环电子股份有限公司 一种64k业务端到端分段配置的方法
CN109257216B (zh) * 2018-09-18 2021-09-24 北京华环电子股份有限公司 一种64k业务端到端分段配置的方法
CN113364722A (zh) * 2020-03-04 2021-09-07 阿里巴巴集团控股有限公司 网络安全防护方法和装置
CN111614509A (zh) * 2020-04-01 2020-09-01 视联动力信息技术股份有限公司 丢包统计方法、装置及可读存储介质
CN111614509B (zh) * 2020-04-01 2022-12-13 视联动力信息技术股份有限公司 丢包统计方法、装置及可读存储介质
CN114006838A (zh) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 流控设备的测试方法及系统
CN114006838B (zh) * 2021-10-30 2023-06-27 杭州迪普信息技术有限公司 流控设备的测试方法及系统

Also Published As

Publication number Publication date
CN106330579B (zh) 2020-04-28
CN106330579A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016201866A1 (zh) 一种用于ptn设备的丢包统计方法及装置
US11057136B1 (en) Time correction using extension fields
Phemius et al. Monitoring latency with openflow
WO2021083269A1 (zh) 网络流量的限速方法、装置、中控设备和网关
US9094307B1 (en) Measuring latency within a networking device
US6643612B1 (en) Mechanism and protocol for per connection based service level agreement measurement
US8045475B2 (en) Method and apparatus for providing availability metrics for measurement and management of ethernet services
JP5462954B2 (ja) パケットロス検出方法及び装置、並びにルータ
US8914662B2 (en) Implementing transparent clock by correcting time information carried in data using residence time information
US20020172229A1 (en) Method and apparatus for transporting a synchronous or plesiochronous signal over a packet network
US20030021287A1 (en) Communicating data between TDM and packet based networks
EP2681871B1 (en) In-service throughput testing in distributed router/switch architectures
US20150036510A1 (en) Method and device for measuring ethernet performance
US9331927B2 (en) Communication system, communication device, and communication method
US11121938B2 (en) Performance measurement in a packet-switched communication network
KR100737341B1 (ko) Mpls lsp에 대한 성능 측정방법
EP3602967B1 (en) Network availability measurement aggregation and correlation
US11582156B2 (en) Traffic detection method, apparatus, and system
WO2008080263A1 (fr) Procédé de mesure de retard relatif de service de données dans un réseau de transmission optique
US9237061B2 (en) Transmission apparatus and transmission method
RU2703159C1 (ru) Способ и система измерения статистики трафика сети по n-секундным интервалам
WO2022222544A1 (zh) 一种操作维护管理oam检测方法及装置
US7706272B2 (en) Method and apparatus for computing virtual concatenation group bandwith data
Devarakonda et al. Measuring Network Parameters with Hardware Support

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15895434

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15895434

Country of ref document: EP

Kind code of ref document: A1