WO2008095390A1 - An equipment for detecting the line fault of the pseudo wire emulation and a method thereof - Google Patents
An equipment for detecting the line fault of the pseudo wire emulation and a method thereof Download PDFInfo
- Publication number
- WO2008095390A1 WO2008095390A1 PCT/CN2007/070816 CN2007070816W WO2008095390A1 WO 2008095390 A1 WO2008095390 A1 WO 2008095390A1 CN 2007070816 W CN2007070816 W CN 2007070816W WO 2008095390 A1 WO2008095390 A1 WO 2008095390A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- jitter buffer
- pseudowire
- buffer memory
- data packet
- fault
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/14—Monitoring arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
Definitions
- the present invention relates to a link failure detection technique, and more particularly to an apparatus and method for implementing a pseudowire simulation line fault detection. Background of the invention
- E1 or the North American and Japanese quasi-synchronous digital series primary group (T1) leased line service is a typical Time Division Multiplexing (TDM) leased line service.
- TDM Time Division Multiplexing
- the approximate business application model is shown in Figure 1.
- the ADM (Add Drop Multiplexer) in the figure is an add/drop digital multiplexer.
- SONET/Synchronous Digital Hierarchy The user accesses the Synchronous Optical Network (SONET/Synchronous Digital Hierarchy) through the ADM through the TDM line.
- SDH Synchronous Optical Network
- the SONET/SDH carries TDM private line service data from different users.
- PseudoWire Emulation Edge to Edge can provide Frame Relay and Asynchronous Transfer Mode (Synchronous Transfer Mode) on the Packet Switch Network (PSN).
- PSN Packet Switch Network
- ATM Packet Switch Network
- Metro Ethernet is a metropolitan area network technology developed from Ethernet technology. New operators are trying to provide traditional telecom operators on Metro Ethernet through PWE3 pseudowire emulation technology. Provides business functions such as Frame Relay, ATM, TDM leased line.
- TDM pseudowire emulation technology is such a technology to replace the traditional SDH/PDH service. It enables new operators to provide TDM leased line services based on their Metro Ethernet. That is, the backbone network carrying TDM leased line services is no longer a traditional SONET/SDH synchronous transmission network, but a metro Ethernet network.
- the function diagram of the TDM pseudowire emulation mode for transmitting TDM private line service data is shown in FIG. 2.
- the TDM private line service data is transmitted by establishing a TDM pseudowire inside the PSN tunnel, so that different TDM private lines are provided.
- the users can also realize interconnection and intercommunication through the packet switching network, and replace the TDM service transmission function of the original SONET/SDH network through the pseudowire technology of the packet switching network.
- the existing TDM pseudowire fault detection methods are as follows: Multiprotocol Label Switching - Label Switched Path (MPLS LSP, MPLS LSP) Ping mode detection, Bidirectional Forwarding Detection (Bidirectional Forwarding Detection, BFD) and Multi Protocol Label Switching - Operations and Management (MPLS-OAM) mode monitoring.
- MPLS LSP Multiprotocol Label Switching - Label Switched Path
- BFD Bidirectional Forwarding Detection
- MPLS-OAM Multi Protocol Label Switching - Operations and Management
- the above pseudowire fault detection technology is constructed by constructing a link state control detection protocol.
- the message is periodically sent from the device at one end of the TDM pseudowire to the other end, and the received control is detected at the other end to perform timestamp and address analysis to complete the pseudowire fault perception.
- the processor CPU
- the periodic detection message transmission speed must be increased, which will greatly increase.
- the burden of the processor is such that the periodic detection packets cannot be sent too frequently, and the fault perception speed is slow. Therefore, the fault sensing speed of the TDM pseudowire simulation technology is usually in the order of seconds, and the fault sensing speed is slow. Summary of the invention
- Embodiments of the present invention provide a method and apparatus for implementing fault detection of a pseudowire line fault, which are used to implement fast detection of a pseudowire fault.
- a device for implementing fault detection of pseudowire line faults comprising:
- a jitter buffer memory connected to the network exit side of the pseudowire for storing the received data packet
- a jitter buffer state decision circuit configured to acquire a storage capacity of the data packet in the jitter buffer memory, and determine that a pseudowire fault occurs when the storage capacity is lower than a predetermined threshold.
- a method for implementing fault detection of pseudowire line faults comprising:
- the storage capacity of the data packet in the jitter buffer memory is obtained, and a pseudowire failure is determined to occur when the storage capacity is below a predetermined threshold.
- a method for implementing fault detection of a pseudowire emulation line includes: setting a jitter buffer memory for storing a received data packet on a network egress side of the pseudowire;
- the sequence number of the data packet received by the jitter buffer memory is detected.
- the pseudowire is determined to be faulty.
- the discontinuity of the sequence number specifically includes: the sequence number is hopped or disordered.
- the packet sequence number detecting unit is configured to detect a sequence number of the data packet received by the jitter buffer memory, and determine that the pseudowire fails when the sequence number is discontinuous.
- the embodiment of the present invention sets a jitter buffer memory on the egress side of the packet switching network of the TDM pseudowire to buffer the data packet received from the network side, when the reception of the data packet is interrupted, or the serial number of the data packet occurs.
- the hopping indicates that the link of the TDM pseudowire is faulty, so that the line fault can be quickly detected and reported to the system for processing.
- the system can quickly recover the interrupted service through link switching.
- the detection time is usually in the order of milliseconds, and the fault detection time is greatly shortened compared with the prior art, thereby improving the fault repair speed and shortening the service interruption time of the communication link.
- FIG. 1 is a schematic diagram of a service application model of a TDM private line service in the prior art
- FIG. 3 is a schematic diagram of an implementation of an embodiment of the present invention.
- FIG. 4 is a structural diagram of a device for implementing pseudowire simulation line fault detection in an embodiment of the present invention.
- the embodiment of the present invention is configured to set a jitter buffer memory on the egress side of the packet switching network of the pseudowire for buffering data packets received from the network side, when the reception of the data packet is interrupted, or the sequence number of the data packet is hopped.
- the change indicates that the link of the pseudowire is faulty, so that the line fault can be quickly detected and reported to the system for processing.
- the system can quickly recover the interrupted service through link switching.
- the detection time is usually in the order of milliseconds, and the fault detection time is greatly shortened compared with the prior art, and the method does not require the CPU to separately construct the detection protocol packet, thereby reducing the work of the CPU. burden.
- the embodiment of the present invention is not limited to the TDM service, and any service pseudowire state detection with a fixed BIT rate can be applied to the embodiment of the present invention.
- the embodiments of the present invention are described in detail below by taking the TDM service as an example. However, those skilled in the art will appreciate that the following description is merely exemplary and is not intended to limit the scope of the invention.
- the principle of the embodiment of the present invention is as follows: As shown in the pseudo-line service model of FIG. 3, the network is divided into two parts: a user network and an operator network, and the operator connects the network with the user equipment to provide the user with the network.
- Internet service The carrier edge ( Provider Edge , ⁇ ) connects the carrier network part and the user network part.
- PE_a is the device A at the edge of the carrier network, usually belongs to the operator
- PE_b is the device B at the edge of the carrier network, usually belonging to the operator.
- the TDM pseudowire emulation technology uses a packet switching network to replace the traditional SONET/SDH transport network, providing TDM dedicated services for User A and User B. Between user A and PE_a and user B and The TDM subscriber line between PE_b has a constant bit TDM data stream, which is consistent with the use of SONET/SDH networks. However, on a packet switched network connecting PE_a and PE_b, there is no uninterrupted constant bit stream.
- the data will be encapsulated in a single data packet for delivery, each data packet has a corresponding serial number, so that the data packet is reconstructed according to the serial number at the receiving end, and the TDM constant bit stream is reconstructed according to the data packet, in different data.
- the process of sending data from user A to user B is as follows: User A sends a data stream to PE_a through the TDM subscriber line at a constant bit rate without interruption, and the data flow reaches PE_a. The time is encapsulated in a fixed-length data packet, and the data packet is delivered to PE_b according to the corresponding packet switching path through the packet switching network PE_a. Since the packet switched network is gearless, that is, a packet with the same address and receiving address, the transmission path may be different because the network node is routing for a single packet. This results in different data packets arriving at PE_b after they arrive at PE_b, which should be roughly equal.
- PE_a Since PE_a continuously receives the data stream sent by user A at a constant rate, PE_a can also send fixed-length data packets to PE_b at a constant speed, but these data packets may have a small time interval when transmitted in the packet-switched network. difference. These packets are transmitted to PE_b, which in turn arranges the packets in their sequence number sequence and restores them to a constant bit stream. When the packet switching network between PE_a and PE_b fails and the data packet cannot be correctly transmitted, the device in the PE_b position will be in a short time after the failure occurs.
- the time interval is on the order of milliseconds, which is far lower than the time when the prior art detects the line fault, and the embodiment of the present invention implements the fast fault based on this principle. Perceived.
- the TDM private line service itself is an uninterrupted constant bit data stream service, regardless of whether the user A as the source sends information to the user B, the TDM user line always maintains a constant bit stream, so the PE_a is normally under normal conditions.
- the data packet is periodically sent to PE_b, and the fault state that the link may exist can be determined as long as PE_b senses the state that the expected data packet is not received by some device.
- FIG. 4 is a structural diagram of an apparatus for implementing fault detection of a pseudowire emulation line in an embodiment of the present invention.
- the apparatus may be disposed in a device on the exit side of a packet switching network of a TDM pseudowire, for example, in FIG. 3, _& When the data is sent to PE_b, the device is set in PE_b, otherwise the PE_a is set.
- the device specifically includes:
- the jitter buffer memory 41 is configured to store the received data packet.
- the memory is a core component of the detecting device shown in Fig. 4, and the line fault is detected based on the aforementioned implementation principle. On the one hand, it buffers the received data packet and receives the data packet sent by the backbone network on one side and saves it. Due to the inherent characteristics of the packet switching network, the delay of each packet passing through the packet switched network may be unstable, and the speed of reaching the jitter buffer 41 may also be slow.
- the jitter buffer memory 41 functions like a reservoir, receiving the data packets arriving at these shifts on one side, and on the other side, the packet data conversion module 48 reads the data packets from the jitter buffer memory 41 uniformly, in other words, The jitter buffer memory 41 acts as a reservoir, shifts the data packet, and transmits the received data packet at a uniform speed.
- the packet switching network has a transmission failure
- the packet delay is large, and the jitter buffer memory 41 is The packet is not received for a period of time, and since the packet data conversion module 48 continuously picks up the packet from the jitter buffer 41 at a constant speed, the packet in the jitter buffer 41 is less and less, when jitter occurs.
- the storage capacity of the buffer memory 41 is less than a critical value A value indicates that the network link has failed.
- the setting of the threshold is based on different network environments and application scenarios. In this embodiment, it can be set to 1/4 full or empty, that is, when the jitter buffer memory 41 reaches 1/4 full or empty, it can be asserted that the network link has failed.
- the storage capacity of the jitter buffer memory 41 there are two methods for obtaining the storage capacity of the jitter buffer memory 41.
- One is to subtract the write pointer from the read pointer according to the position of the read/write pointer of the jitter buffer memory 41, thereby storing The number of data packets, that is, the storage capacity of the jitter buffer memory 41; another way is to set a flag bit register in the jitter buffer memory 41, specifically for storing the storage state of the jitter buffer memory 41, such as 1/4 full, 1 /2 is full, or is empty, etc. According to the storage state, the storage capacity of the jitter buffer memory 41 can also be obtained.
- a jitter buffer read/write pointer control circuit 42 configured to control a position offset of a read pointer and a write pointer of the jitter buffer memory 41, and send a positional parameter of the read pointer and the write pointer and a storage state of the jitter buffer memory 41 to the The jitter buffer state decision circuit 43.
- the jitter buffer memory 41 is implemented in the form of a queue, and its storage characteristic is first in, first out, that is, the data packet that is first stored is read first. After entering the jitter buffer memory 41, the data packet is stored in the form of a linked list, the read pointer points to the data packet currently waiting to be read, and the write pointer points to the storage unit that can store the new incoming data packet.
- the jitter buffer read/write pointer control circuit 42 implements position control of the read pointer and the write pointer.
- the jitter buffer read/write pointer control circuit 42 controls the write pointer to move a memory.
- the unit, pointing to the next empty memory unit, when a data packet is read, the jitter buffer read/write pointer control circuit 42 controls the read pointer to move a memory unit to point to the next data packet to be read.
- the jitter buffer state decision circuit 43 is configured to obtain, by the jitter buffer read/write pointer control circuit 42, the position parameters of the read pointer and the write pointer and the storage state of the jitter buffer memory, and determine whether a line fault occurs according to the storage state. .
- the storage capacity of the jitter buffer memory 41 can be known, and how many memory lists are available. The element has been occupied, and how many memory cells are empty, and the division ratio of the memory cells of the jitter buffer memory 41 can be obtained by dividing the cell. When the ratio reaches the threshold value, the external processor 45 in FIG. 4 transmits an interrupt signal.
- the threshold value when the threshold value is set to 1/4 full, if the jitter buffer state decision circuit 43 detects that the occupancy ratio reaches 1/4, an interrupt signal is sent to the central processor; when the threshold is When the value is set to null, if the jitter buffer state decision circuit 43 detects that the read pointer and the write pointer coincide, an interrupt signal is transmitted.
- the storage state in the register can be read by the flag bit register in the jitter buffer memory 41, and the storage capacity of the jitter buffer memory 41 can be directly obtained, such as 1/4 full or empty.
- the sequence number legality analysis circuit 44 is configured to determine whether a line fault has occurred based on the legitimacy of the sequence number of the data packet stored in the jitter buffer memory 41.
- the component uses the method of detecting the serial number of the data packet to perform fault detection, because it can be known through the foregoing principle analysis that when the packet switching network fails, the data packet is sometimes lost, or some data packets have a large delay, which causes As a result, the packet arriving at the jitter buffer memory 41 sometimes hops because the lost packet cannot be received, or the order of the received packet is confusing, unlike the order in which the packet is sent, because some packets are delayed. Large time, delayed reception.
- These problems can be detected by the serial number, because at the transmitting end, the data packets are consecutively numbered, and if the serial number jumps or confuses at the receiving end, it indicates that the link is faulty.
- the serial number legality analysis circuit 44 can extract the serial number of each data packet stored in the jitter buffer memory 41 for detection, and if it detects an illegal situation, it reports to the central processing unit and transmits an interrupt signal thereto.
- the fault can be reported only in the event of a sequence number hop, and the packets with spoofed sequence numbers are reordered in the jitter buffer 41, which can reduce the number of interruptions of the central processor.
- you can also set a tolerance for the serial number error such as 1 minute, no interrupt is sent within 1 minute of detecting the serial number error, if the serial number is still detected after 1 minute. The error was reported to the central processor.
- the apparatus may further include a central processing unit 45, which may also be referred to as an external processor, for reading the status of the read pointer and the write pointer of the jitter buffer memory and receiving the result.
- a central processing unit 45 which may also be referred to as an external processor, for reading the status of the read pointer and the write pointer of the jitter buffer memory and receiving the result.
- the processor management interface 46, the external processor 45 accesses the jitter buffer read/write pointer control circuit, the jitter buffer state decision circuit or the serial number legality analysis circuit through the processor management interface, where the processor management interface is used for maintaining channel selection Pass the data transfer direction.
- the central processing unit 45 and the processor management interface 46 may be disposed in the apparatus shown in FIG. 4 or may be separately configured to perform other processing functions.
- the device may further include:
- the packet front end processing module 47 is configured to receive the data packet sent by the packet switching network, analyze the validity of the data packet, and forward the legal data packet to the jitter buffer memory.
- the legality analysis includes calculating a checksum of the data packet, discarding the retransmission if the checksum is in error, and checking whether the length of the data packet is legal. In Ethernet, the packet length is between 64k and 1500k, exceeding This range is generally discarded.
- the packet data transformation module 48 is configured to restore the data packet read from the jitter buffer memory to a TDM data stream.
- the packet front end processing module 47 and the packet data conversion module 48 can also be separately provided without being integrated in the apparatus of FIG.
- a plurality of status bits are set in the jitter buffer memory 41, and each bit represents a buffer status, such as a buffer empty, 1/4 full, half full, and a buffer full, etc., when the jitter buffer When the memory 41 reaches a certain state, the corresponding state position is set to 1.
- the jitter buffer state decision circuit 43 learns the state of the buffer by periodically detecting the corresponding status bit, thereby selecting to send an interrupt signal to the central processing unit according to a setting of a threshold value.
- the device shown in Figure 4 can reduce the fault detection time of the TDM pseudowire emulation line to tens of milliseconds, realizing the fast perception of the fault, and thus improving the protection switching speed of the fault.
- the device can be set in both PE_a and PE_b to implement bidirectional link fault sensing.
- the diagram includes the following steps:
- Step 501 Pre-set a threshold value, which is 1/4 full or empty in this embodiment.
- Step 502 The jitter buffer memory receives the data packet sent by the packet switching network and stores the data unit pointed to by the write pointer, and the jitter buffer read/write pointer control circuit controls the write pointer to point to the next empty storage unit; the packet data transformation module reads the jitter.
- the data buffer pointed to by the read pointer in the buffer memory, the jitter buffer read/write pointer control circuit controls the read pointer to point to the next data packet to be sent to the user.
- Step 503 The jitter buffer state decision circuit checks the storage capacity of the jitter buffer memory, determines whether the storage capacity reaches the threshold set in step 501, and if yes, indicates that a link failure occurs, and the jitter buffer state decision circuit is sent to the central processor. Send an interrupt signal.
- Step 504 After receiving the interrupt signal, the central processing unit interrupts the current ongoing operation, and then performs a fault processing operation to switch the service to the standby link.
- the flow chart includes the following steps:
- Step 601 The jitter buffer memory receives the data packet sent by the packet switching network and stores the data packet.
- Step 602 The sequence number legality analysis circuit extracts a sequence number of the data packet in the jitter buffer memory, and determines whether the sequence number occurs or is disordered in sequence. If yes, That indicates that there is a link.
- Step 603 After receiving the interrupt signal, the central processing unit interrupts the current ongoing operation, and then performs a fault processing operation to switch the service to the standby link.
- the fault of the primary link is detected by using the jitter buffer state and the sequence number legality method; and the manner of detecting the protocol packet is controlled by the existing constructed link state, For example, the MPLS LSP ping mode detects the status of the standby link.
- the primary link detects a failure, it immediately switches to the alternate link if the alternate link is available.
- the composite detection method can simultaneously detect both the primary and backup links, and sweep out the detected blind spots. Improve the failure detection rate.
- the use of jitter buffer state detection may have certain limitations.
- the link status is fast flashing, for example, during a thunderstorm, the strong lightning will cause the link to be interrupted for a short period of time. After a while, the link will return to normal, and the next lightning will cause an interruption.
- the cache empty state is frequently alternated, and the link state becomes very unstable at this time.
- the link state can be detected by using the existing transmit link detection protocol packet, and the link state detection packet can be sent back to the sender at the receiving end, and the sender can also be notified.
- the state of its link is unstable.
- the jitter buffer method is used as a trigger condition to trigger the link state detection message, which can reduce the burden on the processor.
- the processor does not need to periodically construct the detection packet for transmission, and only needs to send the detection packet detecting the link state after being triggered, which can greatly reduce the processing load of the processor.
- the detection time is usually in the order of milliseconds, which shortens the fault detection time, thereby improving the fault repair speed and shortening the communication link industry.
- the interrupt time is; and the method does not require the CPU to additionally construct a detection protocol message, thereby reducing the workload of the CPU.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
An equipment for detecting the line fault of the pseudo wire emulation includes a jitter buffer (41), a jitter buffer write and read pointer control circuit (42), a jitter buffer state judge circuit (43), a sequence number validity analyze circuit (44). A method for detecting the line fault of the pseudo wire emulation is also provided, including: a jitter buffer (41) which is used for buffering the received data packets is arranged in the network output side of the pseudo wire; the memory capacity of the data packets in the jitter buffer (41) is obtained, and it is judged that the fault is occurred when the memory capacity is below the predetermined threshold. Another method for detecting the line fault of the pseudo wire emulation is also provided in the present invention examples. The time for detecting the fault is reduced, the speed of the fault recovery is improved, the service interruption in the communication link is shortened and the load of the CPU is reduced by using the present invention.
Description
实现伪线仿真线路故障检测的装置及方法 技术领域 Device and method for realizing pseudowire simulation line fault detection
本发明涉及链路故障检测技术, 特别是实现伪线仿真线路故障检测 的装置及方法。 发明背景 The present invention relates to a link failure detection technique, and more particularly to an apparatus and method for implementing a pseudowire simulation line fault detection. Background of the invention
传统的电信运营商为用户提供的欧洲准同步数字系列一次基群 The traditional quasi-synchronous digital series primary base group provided by traditional telecom operators for users
( E1 )或者北美、 日本准同步数字系列一次基群 ( T1 )专线租用业务是 一种典型的时分复用 (Time Division Multiplexing, TDM ) 专线业务, 其大致的业务应用模型如图 1所示,图中的 ADM( Add Drop Multiplexer ) 为分插多路复用器, 用户经 TDM专线, 通过 ADM接入到运营商布设 的同步光纤网络 /同步数字系列 ( Synchronous Optical Network, SONET/ Synchronous Digital Hierarchy, SDH )同步传输网络中,所述 SONET/SDH 承载来自各个不同用户的 TDM专线业务数据。 (E1) or the North American and Japanese quasi-synchronous digital series primary group (T1) leased line service is a typical Time Division Multiplexing (TDM) leased line service. The approximate business application model is shown in Figure 1. The ADM (Add Drop Multiplexer) in the figure is an add/drop digital multiplexer. The user accesses the Synchronous Optical Network (SONET/Synchronous Digital Hierarchy) through the ADM through the TDM line. SDH) In the synchronous transmission network, the SONET/SDH carries TDM private line service data from different users.
新的运营商进入该领域, 他们尝试采用新的网络技术来提供类似的 业务功能与传统运营商进行业务竟争。 其中, 端到端伪线仿真 ( PseudoWire Emulation Edge to Edge, PWE3 )技术可以在包交换网络 ( Packet Switch Network , PSN ) 上以电路特性仿真的方式提供帧中继、 异步传输模式( Asynchronous Transfer Mode , ATM ), 以太网等业务。 作为包交换网络的一种, 城域以太网是一种从以太网技术发展起来的城 域网络技术, 新的运营商正试图通过 PWE3伪线仿真技术在城域以太网 上提供传统电信运营商所提供的诸如帧中继、 ATM、 TDM 专线等业务 功能。 New operators are entering the field, and they are experimenting with new network technologies to provide similar business functions to compete with traditional operators. Among them, PseudoWire Emulation Edge to Edge (PWE3) technology can provide Frame Relay and Asynchronous Transfer Mode (Synchronous Transfer Mode) on the Packet Switch Network (PSN). ATM), Ethernet and other services. As a kind of packet switching network, Metro Ethernet is a metropolitan area network technology developed from Ethernet technology. New operators are trying to provide traditional telecom operators on Metro Ethernet through PWE3 pseudowire emulation technology. Provides business functions such as Frame Relay, ATM, TDM leased line.
TDM伪线仿真技术就是这样一种替代传统 SDH/PDH业务的技术,
它可以使新运营商依托其城域以太网为用户提供 TDM专线业务, 即承 载 TDM专线业务的骨干网络不再是传统的 SONET/SDH同步传输网络, 而是城域以太网络。 其中, TDM伪线仿真方式传送 TDM专线业务数据 的功能示意图如图 2所示, 在城域网络中, 通过在 PSN隧道内部建立 TDM伪线的方式来传送 TDM专线业务数据, 使不同的 TDM专线的用 户也能够通过包交换网络实现彼此的互连互通, 通过包交换网络的伪线 技术替代原有 SONET/SDH网络的 TDM业务传输功能。 TDM pseudowire emulation technology is such a technology to replace the traditional SDH/PDH service. It enables new operators to provide TDM leased line services based on their Metro Ethernet. That is, the backbone network carrying TDM leased line services is no longer a traditional SONET/SDH synchronous transmission network, but a metro Ethernet network. The function diagram of the TDM pseudowire emulation mode for transmitting TDM private line service data is shown in FIG. 2. In the metropolitan area network, the TDM private line service data is transmitted by establishing a TDM pseudowire inside the PSN tunnel, so that different TDM private lines are provided. The users can also realize interconnection and intercommunication through the packet switching network, and replace the TDM service transmission function of the original SONET/SDH network through the pseudowire technology of the packet switching network.
在 TDM伪线仿真技术的业务通信过程中, 当 TDM伪线(Pseudo Wire, PW )发生故障时将导致通信业务发生中断, 通信数据会丟失。 因 此, 对于 TDM伪线的运行状态进行实时监测以获得故障快速感知, 能 够有利于通信系统在发生线路故障时及时发现问题并作出相应的补救 措施。 In the service communication process of the TDM pseudowire emulation technology, when the TDM pseudowire (PW) fails, the communication service will be interrupted and the communication data will be lost. Therefore, real-time monitoring of the operating state of the TDM pseudowire to obtain a fast fault perception can facilitate the communication system to detect problems and make corresponding remedial measures in the event of a line fault.
目前已有的 TDM伪线故障感知方法有以下几种: 多协议标签交换- 标签交换路径( Multiprotocol Label Switching - Label Switched Path, MPLS LSP, MPLS LSP ) Ping方式检测、 双向转发检测 ( Bidirectional Forwarding Detection, BFD )及 MPLS运行与管理 ( Multi Protocol Label Switching - Operations and Management, MPLS-OAM ) 方式监测。 这些 检测方法的原理都是由位于 TDM伪线一端的设备向对端设备周期性的 发送一些带有特殊标识的数据报文, 也可能需要对端设备在必要时回复 特定的应答报文, 从而对 TDM伪线的连通性和故障情况进行周期性的 测试和检查。 当 TDM伪线一端的设备在协议约定的时间周期内没有收 到对端设备发来的 TDM伪线链路状态检查报文或者没有收到期望的应 答报文, 就认为链路状态出现了故障。 The existing TDM pseudowire fault detection methods are as follows: Multiprotocol Label Switching - Label Switched Path (MPLS LSP, MPLS LSP) Ping mode detection, Bidirectional Forwarding Detection (Bidirectional Forwarding Detection, BFD) and Multi Protocol Label Switching - Operations and Management (MPLS-OAM) mode monitoring. The principle of the detection method is that the device at one end of the TDM pseudowire periodically sends some data packets with a special identifier to the peer device, and may also need the peer device to reply to a specific response message when necessary. Periodically test and inspect the connectivity and fault conditions of TDM pseudowires. When the device at one end of the TDM pseudowire does not receive the TDM pseudowire link state check packet from the peer device within the specified time period of the protocol or does not receive the expected response packet, the link state is considered to be faulty. .
然而, 以上几种伪线故障检测技术都有一个共同的缺点就是故障感 知速度较慢。 以上的伪线故障检测技术是通过构造链路状态控制检测协
议报文并周期性的从 TDM伪线一端的设备发往另外一端, 在另外一端 对收到的控制检测 ^艮文进行时间戳和地址的分析从而完成伪线故障感 知。 由于构造和分析链路状态控制检测协议报文的任务由设备中的处理 器(CPU )来完成, 如果试图缩短故障检测时间, 必然要提高周期性检 测报文发送速度, 这将极大的增加处理器的负担, 导致这种周期性的检 测报文不能发送的太频繁, 故障感知速度慢, 因此 TDM伪线仿真技术 的故障感知速度通常是秒级的, 故障感知速度较慢。 发明内容 However, all of the above pseudowire fault detection techniques have a common disadvantage in that the fault perception speed is slow. The above pseudowire fault detection technology is constructed by constructing a link state control detection protocol. The message is periodically sent from the device at one end of the TDM pseudowire to the other end, and the received control is detected at the other end to perform timestamp and address analysis to complete the pseudowire fault perception. Since the task of constructing and analyzing the link state control detection protocol message is completed by the processor (CPU) in the device, if the failure detection time is attempted, the periodic detection message transmission speed must be increased, which will greatly increase. The burden of the processor is such that the periodic detection packets cannot be sent too frequently, and the fault perception speed is slow. Therefore, the fault sensing speed of the TDM pseudowire simulation technology is usually in the order of seconds, and the fault sensing speed is slow. Summary of the invention
本发明实施例提供实现伪线仿真线路故障检测的方法及装置, 用于 实现伪线故障的快速检测。 Embodiments of the present invention provide a method and apparatus for implementing fault detection of a pseudowire line fault, which are used to implement fast detection of a pseudowire fault.
一种实现伪线仿真线路故障检测的装置, 包括: A device for implementing fault detection of pseudowire line faults, comprising:
抖动緩沖存储器, 与伪线的网络出口侧连接, 用于存储接收到的数 据包; a jitter buffer memory connected to the network exit side of the pseudowire for storing the received data packet;
抖动緩存状态判决电路, 用于获取所述抖动緩沖存储器中数据包的 存储容量, 并当所述存储容量低于预定临界值时判定发生伪线故障。 And a jitter buffer state decision circuit, configured to acquire a storage capacity of the data packet in the jitter buffer memory, and determine that a pseudowire fault occurs when the storage capacity is lower than a predetermined threshold.
一种实现伪线仿真线路故障检测的方法, 包括: A method for implementing fault detection of pseudowire line faults, comprising:
在伪线的网络出口侧设置用于存储接收到的数据包的抖动緩沖存储 器; Setting a jitter buffer memory for storing the received data packet on the network exit side of the pseudowire;
获取抖动緩沖存储器中数据包的存储容量, 并当所述存储容量低于 预定临界值时判定发生伪线故障。 The storage capacity of the data packet in the jitter buffer memory is obtained, and a pseudowire failure is determined to occur when the storage capacity is below a predetermined threshold.
一种实现伪线仿真线路故障检测的方法, 包括: 在伪线的网络出口 侧设置用于存储接收到的数据包的抖动緩沖存储器; A method for implementing fault detection of a pseudowire emulation line includes: setting a jitter buffer memory for storing a received data packet on a network egress side of the pseudowire;
检测抖动緩沖存储器接收到的数据包的序列号, 当所述序列号非连 续, 则判决伪线发生故障。
所述序列号非连续具体包括: 所述序列号发生跳变或顺序混乱。 一种实现伪线仿真线路故障检测的装置, 其特征在于, 包括: 抖动緩沖存储器, 与伪线的网络出口侧连接, 用于存储接收到的数 据包; The sequence number of the data packet received by the jitter buffer memory is detected. When the sequence number is discontinuous, the pseudowire is determined to be faulty. The discontinuity of the sequence number specifically includes: the sequence number is hopped or disordered. An apparatus for implementing fault detection of a pseudowire line fault, comprising: a jitter buffer memory connected to a network exit side of a pseudowire for storing a received data packet;
数据包序列号检测单元, 用于检测所述抖动緩沖存储器接收到的数 据包的序列号, 并当所述序列号非连续时判决伪线发生故障。 The packet sequence number detecting unit is configured to detect a sequence number of the data packet received by the jitter buffer memory, and determine that the pseudowire fails when the sequence number is discontinuous.
本发明的实施例通过在 TDM伪线的包交换网络出口侧设备侧设置 抖动緩沖存储器, 用于緩存从网络侧接收到的数据包, 当数据包的接收 发生中断, 或数据包的序列号发生跳变, 表明 TDM伪线的链路发生故 障, 从而能够快速感知线路故障并上报系统处理, 系统通过链路倒换等 方式, 使中断的业务得以快速恢复。 采用本发明的实施例的故障检测方 法, 检测时间通常为毫秒级, 相对于现有技术, 极大的缩短了故障检测 时间, 进而提高故障修复速度, 缩短了通信链路的业务中断时间。 附图简要说明 The embodiment of the present invention sets a jitter buffer memory on the egress side of the packet switching network of the TDM pseudowire to buffer the data packet received from the network side, when the reception of the data packet is interrupted, or the serial number of the data packet occurs. The hopping indicates that the link of the TDM pseudowire is faulty, so that the line fault can be quickly detected and reported to the system for processing. The system can quickly recover the interrupted service through link switching. With the fault detection method of the embodiment of the present invention, the detection time is usually in the order of milliseconds, and the fault detection time is greatly shortened compared with the prior art, thereby improving the fault repair speed and shortening the service interruption time of the communication link. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为现有技术中 TDM专线业务的业务应用模型示意图; 能示意图; 1 is a schematic diagram of a service application model of a TDM private line service in the prior art;
图 3为本发明的实施例的实现原理图; 3 is a schematic diagram of an implementation of an embodiment of the present invention;
图 4 为本发明的实施例中实现伪线仿真线路故障检测的装置结构 图; 图; 的流程图。
实施本发明的方式 4 is a structural diagram of a device for implementing pseudowire simulation line fault detection in an embodiment of the present invention; FIG. Mode for carrying out the invention
为使本发明的实施例的目的、 技术方案和优点更加清楚, 下面结合 附图对本发明作进一步的详细描述。 The present invention will be further described in detail below with reference to the accompanying drawings.
本发明的实施例通过在伪线的包交换网络出口侧设备侧设置抖动緩 沖存储器, 用于緩存从网络侧接收到的数据包, 当数据包的接收发生中 断, 或数据包的序列号发生跳变, 表明伪线的链路发生故障, 从而能够 快速感知线路故障并上报系统处理, 系统通过链路倒换等方式, 使中断 的业务得以快速恢复。 采用本发明实施例的故障检测方法, 检测时间通 常为毫秒级, 相对于现有技术, 极大的缩短了故障检测时间, 并且该方 法不需要 CPU另外构造检测协议报文, 减轻了 CPU的工作负担。 The embodiment of the present invention is configured to set a jitter buffer memory on the egress side of the packet switching network of the pseudowire for buffering data packets received from the network side, when the reception of the data packet is interrupted, or the sequence number of the data packet is hopped. The change indicates that the link of the pseudowire is faulty, so that the line fault can be quickly detected and reported to the system for processing. The system can quickly recover the interrupted service through link switching. According to the fault detection method of the embodiment of the present invention, the detection time is usually in the order of milliseconds, and the fault detection time is greatly shortened compared with the prior art, and the method does not require the CPU to separately construct the detection protocol packet, thereby reducing the work of the CPU. burden.
可以意识到, 本发明实施例并不局限应用于 TDM业务, 只要是有 固定 BIT速率的业务伪线状态检测都可以适用于本发明实施例。 为了阐 述方便, 下面以 TDM业务为例对本发明实施例进行详细阐述。 不过, 本领域技术人员可以意识到, 下列说明仅为示范性的, 并不用于局限本 发明的保护范围。 It can be appreciated that the embodiment of the present invention is not limited to the TDM service, and any service pseudowire state detection with a fixed BIT rate can be applied to the embodiment of the present invention. For convenience of description, the embodiments of the present invention are described in detail below by taking the TDM service as an example. However, those skilled in the art will appreciate that the following description is merely exemplary and is not intended to limit the scope of the invention.
实现本发明实施例的原理在于: 如图 3的伪线业务模型所示,其中, 将网络划分为用户网络和运营商网络两部分, 运营商将自己的网络与用 户设备相连接, 为用户提供网络服务。 运营商边缘( Provider Edge , ΡΕ ) 连接了运营商网络部分和用户网络部分, PE_a为运营商网络边缘的设备 A, 通常属于运营商, PE_b为运营商网络边缘的设备 B, 通常属于运营 商。 The principle of the embodiment of the present invention is as follows: As shown in the pseudo-line service model of FIG. 3, the network is divided into two parts: a user network and an operator network, and the operator connects the network with the user equipment to provide the user with the network. Internet service. The carrier edge ( Provider Edge , ΡΕ ) connects the carrier network part and the user network part. PE_a is the device A at the edge of the carrier network, usually belongs to the operator, and PE_b is the device B at the edge of the carrier network, usually belonging to the operator.
在图 3所示的网络模型中, 当 TDM用户专线业务正常运行时, 在 用户租用的 TDM专线上始终有不间断的恒定速率比特流存在。 TDM伪 线仿真技术使用包交换网络代替传统的 SONET/SDH传输网络, 为用户 A和用户 B提供 TDM专线业务。 在用户 A与 PE_a之间以及用户 B与
PE_b之间的 TDM用户专线上有恒定比特 TDM数据流通过, 这一点与 使用 SONET/SDH网络是一致的。但是在连接 PE_a和 PE_b的包交换网 络上, 就不存在不间断的恒定比特流了。 数据将被封装在一个个的数据 包中进行投递, 每个数据包有相应的序列号, 以便在接收端按照该序列 号重组数据包, 并根据数据包重建 TDM恒定比特流, 在不同的数据包 之间存在投递间歇, 这是包交换网络的传送特点。 In the network model shown in FIG. 3, when the TDM subscriber dedicated line service operates normally, there is always an uninterrupted constant rate bit stream existing on the TDM dedicated line leased by the user. The TDM pseudowire emulation technology uses a packet switching network to replace the traditional SONET/SDH transport network, providing TDM dedicated services for User A and User B. Between user A and PE_a and user B and The TDM subscriber line between PE_b has a constant bit TDM data stream, which is consistent with the use of SONET/SDH networks. However, on a packet switched network connecting PE_a and PE_b, there is no uninterrupted constant bit stream. The data will be encapsulated in a single data packet for delivery, each data packet has a corresponding serial number, so that the data packet is reconstructed according to the serial number at the receiving end, and the TDM constant bit stream is reconstructed according to the data packet, in different data. There is a delivery interval between packets, which is a transmission feature of the packet switching network.
在图 3中, 在 TDM专线业务正常运行的状态下, 数据从用户 A送 到用户 B的过程如下: 用户 A以恒定比特速率不间断的通过 TDM用户 专线向 PE_a发送数据流,数据流达到 PE_a时被封装在固定长度的数据 包里面, 通过包交换网络 PE_a将数据包按照相应的包交换路径投递给 PE_b。 由于包交换网络是面向无连接的, 即发送地址和接收地址相同的 数据包, 其传送路径有可能不同, 因为网络节点是针对单个数据包进行 路由。 这就导致不同的数据包在先后到达 PE_b后, 其到达 PE_b的时间 间隔本应大致相等, 但是因为受到包交换网络中间节点处理延时或传送 路径长度不等, 以及网络冗塞情况的影响, 这种间隔也会略有变化, 这 种数据包到达时间间隔的微小变化称为数据包的抖动。 有时, 后发送的 数据包甚至可能会先到达接收端。 数据包到达 PE_b后将被重新还原成 恒定比特的 TDM数据流, 再通过 PE_b经 TDM用户专线不间断的发送 给用户 B。 In Figure 3, in the normal operation of the TDM leased line service, the process of sending data from user A to user B is as follows: User A sends a data stream to PE_a through the TDM subscriber line at a constant bit rate without interruption, and the data flow reaches PE_a. The time is encapsulated in a fixed-length data packet, and the data packet is delivered to PE_b according to the corresponding packet switching path through the packet switching network PE_a. Since the packet switched network is gearless, that is, a packet with the same address and receiving address, the transmission path may be different because the network node is routing for a single packet. This results in different data packets arriving at PE_b after they arrive at PE_b, which should be roughly equal. However, due to the processing delay of the intermediate nodes of the packet switching network or the length of the transmission path, and the network redundancy, This interval will also vary slightly. A small change in the arrival time interval of such a packet is called packet jitter. Sometimes, packets sent later may even arrive at the receiving end first. After the packet arrives at PE_b, it will be restored to a constant bit of TDM data stream, and then sent to user B through PE_b through the TDM subscriber line without interruption.
由于 PE_a不断地收到用户 A以恒定速率发送来的数据流,因此 PE_a 也可以匀速地向 PE_b发送长度固定的数据包, 但这些数据包在包交换 网络中传送时可能会有微小的时间间隔差异。 这些数据包被传送到 PE_b, PE_b再将这些数据包按照其序列号顺序排列好, 并恢复成恒定 比特的数据流。 当 PE_a到 PE_b之间的包交换网络出现故障不能正确传 送数据包时, 处于 PE_b位置的设备在故障发生后很短的时间内, 就会
因为不能收到正确的数据包而感知这种线路故障的存在, 该时间间隔为 毫秒级, 远低于现有技术检测线路故障的时间, 而本发明的实施例就是 基于这个原理来实现快速故障感知的。 Since PE_a continuously receives the data stream sent by user A at a constant rate, PE_a can also send fixed-length data packets to PE_b at a constant speed, but these data packets may have a small time interval when transmitted in the packet-switched network. difference. These packets are transmitted to PE_b, which in turn arranges the packets in their sequence number sequence and restores them to a constant bit stream. When the packet switching network between PE_a and PE_b fails and the data packet cannot be correctly transmitted, the device in the PE_b position will be in a short time after the failure occurs. Because the correct data packet cannot be received and the existence of such a line fault is perceived, the time interval is on the order of milliseconds, which is far lower than the time when the prior art detects the line fault, and the embodiment of the present invention implements the fast fault based on this principle. Perceived.
因为 TDM专线业务本身是一种不间断的恒定比特数据流业务, 无 论作为信源的用户 A有无信息发给用户 B, TDM用户专线始终维持有 恒定比特流存在, 因此 PE_a在正常情况下一定会周期性的发送数据包 给 PE_b, 只要在 PE_b以某种装置对没有收到预期数据包的状态进行感 知就能判断出链路可能存在的故障状态。 Because the TDM private line service itself is an uninterrupted constant bit data stream service, regardless of whether the user A as the source sends information to the user B, the TDM user line always maintains a constant bit stream, so the PE_a is normally under normal conditions. The data packet is periodically sent to PE_b, and the fault state that the link may exist can be determined as long as PE_b senses the state that the expected data packet is not received by some device.
图 4 为本发明的实施例中实现伪线仿真线路故障检测的装置结构 图, 该装置可以设置于 TDM伪线的包交换网络出口侧的设备中, 例如 在图 3中, ? _&向 PE_b发送数据时, 则该装置设置于 PE_b中, 反之 则设置 PE_a中, 该装置具体包括: FIG. 4 is a structural diagram of an apparatus for implementing fault detection of a pseudowire emulation line in an embodiment of the present invention. The apparatus may be disposed in a device on the exit side of a packet switching network of a TDM pseudowire, for example, in FIG. 3, _& When the data is sent to PE_b, the device is set in PE_b, otherwise the PE_a is set. The device specifically includes:
抖动緩沖存储器 41 , 用于存储接收到的数据包。 该存储器为图 4所 示检测装置的核心部件, 基于前述的实现原理来对线路故障进行检测。 一方面, 它对接收到的数据包进行緩沖, 在一侧接收骨干网络发送来的 数据包并保存。 由于包交换网络的固有特点, 每个数据包经过包交换网 络传送的延迟可能是不稳定的, 到达抖动緩沖存储器 41 的速度也可能 忽快忽慢。 抖动緩沖存储器 41 的作用类似一个蓄水池, 在一侧接收这 些变速到达的数据包, 在另一侧, 包数据变换模块 48 匀速地从抖动緩 沖存储器 41中读取数据包, 换句话说, 抖动緩沖存储器 41作为一个蓄 水池, 变速接收数据包, 并将接收到的数据包匀速发送出去; 另一方面, 当包交换网络发生传输故障, 导致数据包延迟较大, 抖动緩沖存储器 41 在一段时间内没有接收到数据包, 而由于包数据变换模块 48 匀速地持 续从抖动緩沖存储器 41 取走数据包, 此时, 就会导致抖动緩沖存储器 41 中的数据包越来越少, 当抖动緩沖存储器 41的存储容量小于一临界
值, 则表明网络链路发生故障。 所述临界值的设定根据不同的网络环境 和应用场景。 在本实施例中, 可以设置为 1/4满或为空, 即当抖动緩沖 存储器 41达到 1/4满或为空时, 就可断言网络链路发生了故障。 The jitter buffer memory 41 is configured to store the received data packet. The memory is a core component of the detecting device shown in Fig. 4, and the line fault is detected based on the aforementioned implementation principle. On the one hand, it buffers the received data packet and receives the data packet sent by the backbone network on one side and saves it. Due to the inherent characteristics of the packet switching network, the delay of each packet passing through the packet switched network may be unstable, and the speed of reaching the jitter buffer 41 may also be slow. The jitter buffer memory 41 functions like a reservoir, receiving the data packets arriving at these shifts on one side, and on the other side, the packet data conversion module 48 reads the data packets from the jitter buffer memory 41 uniformly, in other words, The jitter buffer memory 41 acts as a reservoir, shifts the data packet, and transmits the received data packet at a uniform speed. On the other hand, when the packet switching network has a transmission failure, the packet delay is large, and the jitter buffer memory 41 is The packet is not received for a period of time, and since the packet data conversion module 48 continuously picks up the packet from the jitter buffer 41 at a constant speed, the packet in the jitter buffer 41 is less and less, when jitter occurs. The storage capacity of the buffer memory 41 is less than a critical value A value indicates that the network link has failed. The setting of the threshold is based on different network environments and application scenarios. In this embodiment, it can be set to 1/4 full or empty, that is, when the jitter buffer memory 41 reaches 1/4 full or empty, it can be asserted that the network link has failed.
另外,在本发明的实施例中,获取抖动緩沖存储器 41的存储容量的 方法有两种, 一种是根据抖动緩沖存储器 41 的读写指针的位置, 用读 指针减去写指针, 就为存储的数据包的数量, 即抖动緩沖存储器 41 的 存储容量; 另一种方式是在抖动緩沖存储器 41 中设置标志位寄存器, 专门用于保存抖动緩沖存储器 41的存储状态, 如 1/4满、 1/2满, 或为 空等等, 根据该存储状态, 也能获得抖动緩沖存储器 41的存储容量。 In addition, in the embodiment of the present invention, there are two methods for obtaining the storage capacity of the jitter buffer memory 41. One is to subtract the write pointer from the read pointer according to the position of the read/write pointer of the jitter buffer memory 41, thereby storing The number of data packets, that is, the storage capacity of the jitter buffer memory 41; another way is to set a flag bit register in the jitter buffer memory 41, specifically for storing the storage state of the jitter buffer memory 41, such as 1/4 full, 1 /2 is full, or is empty, etc. According to the storage state, the storage capacity of the jitter buffer memory 41 can also be obtained.
抖动緩存读写指针控制电路 42, 用于控制所述抖动緩沖存储器 41 的读指针和写指针的位置偏移, 将读指针和写指针的位置参数及抖动緩 沖存储器 41的存储状态发送给所述抖动緩存状态判决电路 43。 所述抖 动緩沖存储器 41 以队列的形式实现, 其存储特点是先进先出, 即先被 存储进来的数据包先被读取。 数据包在进入抖动緩沖存储器 41 后, 以 链表的形式存放, 读指针指向当前等待读出的数据包, 写指针指向可以 存放新到来数据包的存储单元。 所述抖动緩存读写指针控制电路 42 实 现对读指针和写指针的位置控制, 当一个新的数据包被存入抖动緩沖存 储器 41后, 抖动緩存读写指针控制电路 42控制写指针移动一个存储单 元, 指向下一个为空的存储单元, 当一个数据包被读取, 抖动緩存读写 指针控制电路 42控制读指针移动一个存储单元, 指向下一个待读取的 数据包。 a jitter buffer read/write pointer control circuit 42 configured to control a position offset of a read pointer and a write pointer of the jitter buffer memory 41, and send a positional parameter of the read pointer and the write pointer and a storage state of the jitter buffer memory 41 to the The jitter buffer state decision circuit 43. The jitter buffer memory 41 is implemented in the form of a queue, and its storage characteristic is first in, first out, that is, the data packet that is first stored is read first. After entering the jitter buffer memory 41, the data packet is stored in the form of a linked list, the read pointer points to the data packet currently waiting to be read, and the write pointer points to the storage unit that can store the new incoming data packet. The jitter buffer read/write pointer control circuit 42 implements position control of the read pointer and the write pointer. When a new data packet is stored in the jitter buffer memory 41, the jitter buffer read/write pointer control circuit 42 controls the write pointer to move a memory. The unit, pointing to the next empty memory unit, when a data packet is read, the jitter buffer read/write pointer control circuit 42 controls the read pointer to move a memory unit to point to the next data packet to be read.
抖动緩存状态判决电路 43, 用于通过所述抖动緩存读写指针控制电 路 42获得所述读指针和写指针的位置参数及抖动緩沖存储器的存储状 态, 并根据所述存储状态判决是否发生线路故障。 通过读指针和写指针 的位置参数, 能够获知抖动緩沖存储器 41 的存储容量, 有多少存储单
元已被占用, 有多少存储单元为空, 通过筒单的除法运算, 就能得出抖 动緩沖存储器 41 的存储单元的占用比例。 当该比例达到所述一临界值 图 4中的外部处理器 45 )发送中断信号。 举例来说, 当所述已临界值设 置为 1/4满时,如果抖动緩存状态判决电路 43检测到所述占用比例达到 1/4, 则向中央处理器发送中断信号; 当所述一临界值设置为空时, 如果 抖动緩存状态判决电路 43检测到读指针和写指针重合, 就会发送中断 信号。 另一种方式是通过抖动緩沖存储器 41 中的标志位寄存器, 读取 该寄存器中的存储状态, 能够直接获得抖动緩沖存储器 41的存储容量, 如 1/4满或为空。 The jitter buffer state decision circuit 43 is configured to obtain, by the jitter buffer read/write pointer control circuit 42, the position parameters of the read pointer and the write pointer and the storage state of the jitter buffer memory, and determine whether a line fault occurs according to the storage state. . By reading the positional parameters of the pointer and the write pointer, the storage capacity of the jitter buffer memory 41 can be known, and how many memory lists are available. The element has been occupied, and how many memory cells are empty, and the division ratio of the memory cells of the jitter buffer memory 41 can be obtained by dividing the cell. When the ratio reaches the threshold value, the external processor 45 in FIG. 4 transmits an interrupt signal. For example, when the threshold value is set to 1/4 full, if the jitter buffer state decision circuit 43 detects that the occupancy ratio reaches 1/4, an interrupt signal is sent to the central processor; when the threshold is When the value is set to null, if the jitter buffer state decision circuit 43 detects that the read pointer and the write pointer coincide, an interrupt signal is transmitted. Alternatively, the storage state in the register can be read by the flag bit register in the jitter buffer memory 41, and the storage capacity of the jitter buffer memory 41 can be directly obtained, such as 1/4 full or empty.
序列号合法性分析电路 44, 用于根据所述抖动緩沖存储器 41 中存 储的数据包的序列号的合法性判决是否发生线路故障。 该部件是采用检 测数据包序列号合法性方式来进行故障检测, 因为通过前述原理分析可 以获知, 当包交换网络发生故障时, 有时会丟失数据包, 或者一些数据 包延时较大, 其造成的结果是, 到达抖动緩沖存储器 41 的数据包有时 发生跳变, 因为丟失的数据包它无法接收到, 或者接收到的数据包的顺 序发生混乱, 与数据包的发送顺序不同, 因为一些包延时大, 被延迟接 收。 这些问题可以通过序列号检测出来, 因为在发送端, 数据包都是被 连续编号的, 在接收端一旦发生了序列号的跳变或混乱, 即表明链路故 障。 The sequence number legality analysis circuit 44 is configured to determine whether a line fault has occurred based on the legitimacy of the sequence number of the data packet stored in the jitter buffer memory 41. The component uses the method of detecting the serial number of the data packet to perform fault detection, because it can be known through the foregoing principle analysis that when the packet switching network fails, the data packet is sometimes lost, or some data packets have a large delay, which causes As a result, the packet arriving at the jitter buffer memory 41 sometimes hops because the lost packet cannot be received, or the order of the received packet is confusing, unlike the order in which the packet is sent, because some packets are delayed. Large time, delayed reception. These problems can be detected by the serial number, because at the transmitting end, the data packets are consecutively numbered, and if the serial number jumps or confuses at the receiving end, it indicates that the link is faulty.
序列号合法性分析电路 44能够提取抖动緩沖存储器 41中存储的每 个数据包的序列号进行检测, 一检测到不合法的情形, 就上报中央处理 器, 向其发送中断信号。 在一些应用场景中, 可以仅在发生序列号跳变 的情况下才上报故障, 而对序列号混乱的数据包在抖动緩沖存储器 41 中重新排序, 这样可以减少中央处理器的中断次数。 另外, 为了进一步
减轻中央处理器的负载, 在一些应用中也可以设置一个序列号出错的容 忍时间, 比如 1分钟, 在检测到序列号错误的 1分钟内不发送中断, 如 果在 1分钟后依然检测到序列号错误, 才上报中央处理器。 The serial number legality analysis circuit 44 can extract the serial number of each data packet stored in the jitter buffer memory 41 for detection, and if it detects an illegal situation, it reports to the central processing unit and transmits an interrupt signal thereto. In some application scenarios, the fault can be reported only in the event of a sequence number hop, and the packets with spoofed sequence numbers are reordered in the jitter buffer 41, which can reduce the number of interruptions of the central processor. In addition, for further To reduce the load on the central processor, in some applications, you can also set a tolerance for the serial number error, such as 1 minute, no interrupt is sent within 1 minute of detecting the serial number error, if the serial number is still detected after 1 minute. The error was reported to the central processor.
优选地, 该装置可以进一步包括中央处理器 45 , 也可称为外部处理 器, 用于读取所述抖动緩沖存储器的读指针及写指针的状态, 并接收所 结果。 Preferably, the apparatus may further include a central processing unit 45, which may also be referred to as an external processor, for reading the status of the read pointer and the write pointer of the jitter buffer memory and receiving the result.
处理器管理接口 46, 外部处理器 45通过处理器管理接口访问所述 抖动緩存读写指针控制电路、 抖动緩存状态判决电路或序列号合法性分 析电路, 所述处理器管理接口用于维护通道选通及数据传送方向。 The processor management interface 46, the external processor 45 accesses the jitter buffer read/write pointer control circuit, the jitter buffer state decision circuit or the serial number legality analysis circuit through the processor management interface, where the processor management interface is used for maintaining channel selection Pass the data transfer direction.
所述中央处理器 45及处理器管理接口 46可以设置于图 4所示装置 中, 也可以单独设置, 从而完成其它的处理功能。 The central processing unit 45 and the processor management interface 46 may be disposed in the apparatus shown in FIG. 4 or may be separately configured to perform other processing functions.
进一步地, 该装置还可以包括: Further, the device may further include:
数据包前端处理模块 47, 用于接收包交换网络发送来的数据包, 分 析所述数据包的合法性, 并将合法的数据包转发给所述抖动緩沖存储 器。 所述合法性分析包括计算数据包的校验和, 如果校验和出错则丟弃 重传,还包括检查数据包的长度是否合法,在以太网中, 包长度在 64k ~ 1500k之间, 超过此范围一般则要丟弃。 The packet front end processing module 47 is configured to receive the data packet sent by the packet switching network, analyze the validity of the data packet, and forward the legal data packet to the jitter buffer memory. The legality analysis includes calculating a checksum of the data packet, discarding the retransmission if the checksum is in error, and checking whether the length of the data packet is legal. In Ethernet, the packet length is between 64k and 1500k, exceeding This range is generally discarded.
包数据变换模块 48, 用于将从所述抖动緩沖存储器中读取的数据包 还原为 TDM数据流。 The packet data transformation module 48 is configured to restore the data packet read from the jitter buffer memory to a TDM data stream.
所述数据包前端处理模块 47和包数据变换模块 48同样可以单独设 置, 而不集成在图 4的装置中。 法, 例如, 在抖动緩沖存储器 41 中设置多个状态位, 每一位表示一个 緩存器的状态, 如緩存器空、 1/4 满、 半满及緩存器满等, 当抖动緩沖
存储器 41达到某一状态时, 则把相应的状态位置 1。 抖动緩存状态判决 电路 43 通过定时检测相应状态位, 来获知緩存器的状态, 从而根据一 临界值的设定选择向中央处理器发送中断信号。 The packet front end processing module 47 and the packet data conversion module 48 can also be separately provided without being integrated in the apparatus of FIG. For example, a plurality of status bits are set in the jitter buffer memory 41, and each bit represents a buffer status, such as a buffer empty, 1/4 full, half full, and a buffer full, etc., when the jitter buffer When the memory 41 reaches a certain state, the corresponding state position is set to 1. The jitter buffer state decision circuit 43 learns the state of the buffer by periodically detecting the corresponding status bit, thereby selecting to send an interrupt signal to the central processing unit according to a setting of a threshold value.
图 4所示的装置能够将 TDM伪线仿真线路的故障检测时间缩短到 几十毫秒, 实现了故障的快速感知, 进而也提高了故障的保护倒换处理 速度。 在图 3的应用环境中, 该装置同时可以设置于 PE_a和PE_b中, 实现双向的链路故障感知。 图, 包括以下步骤: The device shown in Figure 4 can reduce the fault detection time of the TDM pseudowire emulation line to tens of milliseconds, realizing the fast perception of the fault, and thus improving the protection switching speed of the fault. In the application environment of FIG. 3, the device can be set in both PE_a and PE_b to implement bidirectional link fault sensing. The diagram includes the following steps:
步骤 501、 预设置一临界值的大小, 在本实施例中为 1/4满或为空。 步骤 502、 抖动緩沖存储器接收包交换网络发送来的数据包并存储 在写指针指向的存储单元, 抖动緩存读写指针控制电路控制写指针指向 下一个空的存储单元; 包数据变换模块读取抖动緩沖存储器中读指针指 向的数据包, 抖动緩存读写指针控制电路控制读指针指向下一个待发送 给用户的数据包。 Step 501: Pre-set a threshold value, which is 1/4 full or empty in this embodiment. Step 502: The jitter buffer memory receives the data packet sent by the packet switching network and stores the data unit pointed to by the write pointer, and the jitter buffer read/write pointer control circuit controls the write pointer to point to the next empty storage unit; the packet data transformation module reads the jitter. The data buffer pointed to by the read pointer in the buffer memory, the jitter buffer read/write pointer control circuit controls the read pointer to point to the next data packet to be sent to the user.
步骤 503、抖动緩存状态判决电路检查抖动緩沖存储器的存储容量, 判断所述存储容量是否达到步骤 501中设置的临界值, 如果是, 则表明 出现链路故障, 抖动緩存状态判决电路向中央处理器发送中断信号。 Step 503: The jitter buffer state decision circuit checks the storage capacity of the jitter buffer memory, determines whether the storage capacity reaches the threshold set in step 501, and if yes, indicates that a link failure occurs, and the jitter buffer state decision circuit is sent to the central processor. Send an interrupt signal.
步骤 504、 中央处理器接收到所述中断信号后, 中断当前正在进行 的操作, 转而执行故障处理操作, 将业务倒换到备用链路上去。 的流程图, 包括以下步骤: Step 504: After receiving the interrupt signal, the central processing unit interrupts the current ongoing operation, and then performs a fault processing operation to switch the service to the standby link. The flow chart includes the following steps:
步骤 601、抖动緩沖存储器接收包交换网络发送来的数据包并存储; 步骤 602、 序列号合法性分析电路提取抖动緩沖存储器中数据包的 序列号, 判断序列号是否发生或顺序混乱, 如果是, 则表明出现链路故
步骤 603、 中央处理器接收到所述中断信号后, 中断当前正在进行 的操作, 转而执行故障处理操作, 将业务倒换到备用链路上去。 Step 601: The jitter buffer memory receives the data packet sent by the packet switching network and stores the data packet. Step 602: The sequence number legality analysis circuit extracts a sequence number of the data packet in the jitter buffer memory, and determines whether the sequence number occurs or is disordered in sequence. If yes, That indicates that there is a link Step 603: After receiving the interrupt signal, the central processing unit interrupts the current ongoing operation, and then performs a fault processing operation to switch the service to the standby link.
除了以上两种方法, 利用图 4的装置, 还可以采用以下两种补充方 案来检测链路故障。 In addition to the above two methods, using the apparatus of Figure 4, the following two complementary schemes can also be used to detect link failure.
首先, 在 TDM伪线主、 备用链路同时存在的情况下, 以抖动緩存 状态和序列号合法性方法检测主用链路故障; 以现有的构造链路状态控 制检测协议报文的方式,例如 MPLS LSP ping方式检测备用链路的状态。 当主用链路检测到发生故障后, 如果备用链路可用就立即切换到备用链 路上。 因为采用图 5和图 6的方案所述的抖动緩存检测方法无法对备用 链路的故障进行检测, 因此采用这个复合的检测方法可以同时对主、 备 用链路都进行检测, 扫除检测的盲点, 提高故障检测率。 First, in the case that the primary and backup links of the TDM pseudowire exist at the same time, the fault of the primary link is detected by using the jitter buffer state and the sequence number legality method; and the manner of detecting the protocol packet is controlled by the existing constructed link state, For example, the MPLS LSP ping mode detects the status of the standby link. When the primary link detects a failure, it immediately switches to the alternate link if the alternate link is available. Because the jitter buffer detection method described in the schemes of FIG. 5 and FIG. 6 cannot detect the fault of the standby link, the composite detection method can simultaneously detect both the primary and backup links, and sweep out the detected blind spots. Improve the failure detection rate.
其次, 在 TDM伪线仿真应用中, 在某些情况下, 使用抖动緩存状 态检测可能存在一定的局限性。 当链路状态快速闪断的情况下, 例如在 雷雨天, 由于强的雷电会导致链路在短时间内中断传输, 过一会后链路 恢复正常,下一次闪电又导致中断,这就会导致緩存空满状态频繁交替, 此时链路状态变得非常不稳定。 在这种情况下, 可以触发采用现有的发 送链路检测协议报文的方式对链路状态进行检测, 在接收端向发送端反 向发送链路状态检测报文, 同时也可以告知发送端其链路不稳定的状 态。 以抖动緩存方法作为触发条件, 来触发链路状态检测报文的方式, 可以减轻处理器的负担。 处理器不必定时构造检测报文进行发送, 只需 在被触发后才发送探测链路状态的检测报文, 这样也可以极大的减轻处 理器的处理负荷。 Second, in TDM pseudowire emulation applications, in some cases, the use of jitter buffer state detection may have certain limitations. When the link status is fast flashing, for example, during a thunderstorm, the strong lightning will cause the link to be interrupted for a short period of time. After a while, the link will return to normal, and the next lightning will cause an interruption. As a result, the cache empty state is frequently alternated, and the link state becomes very unstable at this time. In this case, the link state can be detected by using the existing transmit link detection protocol packet, and the link state detection packet can be sent back to the sender at the receiving end, and the sender can also be notified. The state of its link is unstable. The jitter buffer method is used as a trigger condition to trigger the link state detection message, which can reduce the burden on the processor. The processor does not need to periodically construct the detection packet for transmission, and only needs to send the detection packet detecting the link state after being triggered, which can greatly reduce the processing load of the processor.
采用本发明的实施例所述的故障检测方法,检测时间通常为毫秒级, 缩短了故障检测时间, 进而也提高故障修复速度, 缩短了通信链路的业
务中断时间; 并且该方法不需要 CPU 另外构造检测协议报文, 减轻了 CPU的工作负担。 According to the fault detection method described in the embodiment of the present invention, the detection time is usually in the order of milliseconds, which shortens the fault detection time, thereby improving the fault repair speed and shortening the communication link industry. The interrupt time is; and the method does not require the CPU to additionally construct a detection protocol message, thereby reducing the workload of the CPU.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。
In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
Claims
1、 一种实现伪线仿真线路故障检测的装置, 其特征在于, 包括: 抖动緩沖存储器, 与伪线的网络出口侧连接, 用于存储接收到的数 据包; What is claimed is: 1. A device for implementing fault detection of a pseudowire line fault, comprising: a jitter buffer memory connected to a network exit side of a pseudowire for storing a received data packet;
抖动緩存状态判决电路, 用于获取所述抖动緩沖存储器中数据包的 存储容量, 并当所述存储容量低于预定临界值时判定发生伪线故障。 And a jitter buffer state decision circuit, configured to acquire a storage capacity of the data packet in the jitter buffer memory, and determine that a pseudowire fault occurs when the storage capacity is lower than a predetermined threshold.
2、根据权利要求 1所述的实现伪线仿真线路故障检测装置,其特征 在于, 该装置进一步包括: 2. The apparatus for implementing a pseudowire emulation line fault detection apparatus according to claim 1, wherein the apparatus further comprises:
序列号合法性分析电路, 用于根据所述抖动緩沖存储器中数据包的 序列号的合法性判决是否发生伪线故障。 The sequence number legality analysis circuit is configured to determine whether a pseudowire fault occurs according to the validity of the sequence number of the data packet in the jitter buffer memory.
3、根据权利要求 1所述的实现伪线仿真线路故障检测的装置,其特 征在于, 所述抖动緩沖存储器包括标志位寄存器, 用于保存所述抖动緩 沖存储器的存储状态; 其中 3. The apparatus for implementing pseudowire emulation line fault detection according to claim 1, wherein the jitter buffer memory includes a flag bit register for storing a storage state of the jitter buffer memory;
所述抖动緩存状态判决电路, 用于根据所述抖动緩沖存储器的存储 状态获取所述抖动緩沖存储器中数据包的存储容量。 The jitter buffer state decision circuit is configured to acquire a storage capacity of the data packet in the jitter buffer memory according to a storage state of the jitter buffer memory.
4、 根据权利要求 1或 2所述的实现伪线仿真线路故障检测的装置, 其特征在于, 该装置进一步包括抖动緩存读写指针控制电路, The apparatus for implementing fault detection of a pseudowire emulation line according to claim 1 or 2, wherein the apparatus further comprises a jitter buffer read/write pointer control circuit,
所述抖动緩存读写指针控制电路, 用于控制所述抖动緩沖存储器的 读指针和写指针的位置偏移, 并将所述读指针和写指针的位置参数发送 给所述抖动緩存状态判决电路; The jitter buffer read/write pointer control circuit is configured to control a position offset of a read pointer and a write pointer of the jitter buffer memory, and send a position parameter of the read pointer and the write pointer to the jitter buffer state decision circuit ;
抖动緩存状态判决电路, 用于根据所述读指针和写指针的位置参数 获取所述抖动緩沖存储器中数据包的存储容量。 And a jitter buffer state decision circuit, configured to acquire a storage capacity of the data packet in the jitter buffer memory according to the position parameters of the read pointer and the write pointer.
5、根据权利要求 4所述的实现伪线仿真线路故障检测的装置,其特 征在于, 该装置进一步包括: The apparatus for implementing fault detection of a pseudowire line fault according to claim 4, wherein the apparatus further comprises:
外部处理器, 用于读取所述抖动緩沖存储器的读指针及写指针的状
态, 并接收所述抖动緩存状态判决电路对线路故障的判决结果。 An external processor, configured to read a read pointer and a write pointer of the jitter buffer memory And receiving a decision result of the jitter buffer state decision circuit on the line fault.
6、根据权利要求 5所述的实现伪线仿真线路故障检测的装置,其特 征在于, 所述外部处理器进一步用于接收所述序列号合法性分析电路对 线路故障的判决结果。 The apparatus for implementing fault detection of a pseudowire emulation line according to claim 5, wherein the external processor is further configured to receive a decision result of the serial number legality analysis circuit for a line fault.
7、根据权利要求 6所述的实现伪线仿真线路故障检测的装置,其特 征在于, 所述外部处理器通过处理器管理接口访问所述抖动緩存读写指 针控制电路、 抖动緩存状态判决电路或序列号合法性分析电路, 所述处 理器管理接口用于维护通道选通及数据传送方向。 The apparatus for implementing fault detection of a pseudowire emulation line according to claim 6, wherein the external processor accesses the jitter buffer read/write pointer control circuit, the jitter buffer status decision circuit, or the processor management interface. The serial number legality analysis circuit is configured to maintain channel gating and data transmission direction.
8、根据权利要求 7所述的实现伪线仿真线路故障检测的装置,其特 征在于, 该装置进一步包括: 8. The apparatus for implementing fault detection of a pseudowire line fault according to claim 7, wherein the apparatus further comprises:
数据包前端处理模块, 用于接收包交换网络发送来的数据包, 分析 所述数据包的合法性, 并将合法的数据包转发给所述抖动緩沖存储器; 包数据变换模块, 用于将从所述抖动緩沖存储器中读取的数据包还 原为数据流。 a packet front end processing module, configured to receive a data packet sent by the packet switching network, analyze the legality of the data packet, and forward the legal data packet to the jitter buffer memory; the packet data transformation module, The data packet read in the jitter buffer memory is restored to a data stream.
9、 根据权利要求 1-3、 或 5-8中任一项所述的实现伪线仿真线路故 障检测的装置, 其特征在于, 所述数据包为 TDM数据包。 The apparatus for implementing pseudowire emulation line fault detection according to any one of claims 1-3, or 5-8, wherein the data packet is a TDM data packet.
10、 一种实现伪线仿真线路故障检测的方法, 其特征在于, 包括: 在伪线的网络出口侧设置用于存储接收到的数据包的抖动緩沖存储 器; A method for implementing fault detection of a pseudowire emulation line, comprising: setting, on a network exit side of the pseudowire, a jitter buffer memory for storing the received data packet;
获取抖动緩沖存储器中数据包的存储容量, 并当所述存储容量低于 预定临界值时判定发生伪线故障。 The storage capacity of the data packet in the jitter buffer memory is obtained, and a pseudowire failure is determined to occur when the storage capacity is below a predetermined threshold.
11、根据权利要求 10所述的伪线仿真线路故障检测方法,其特征在 于, 所述存储容量低于预定临界值时判定发生伪线故障包括: The method for detecting a fault of a pseudowire line fault according to claim 10, wherein the determining that a pseudowire fault occurs when the storage capacity is lower than a predetermined threshold comprises:
当所述抖动緩沖存储器中数据包的存储容量达到或小于 1/4满时, 判定发生伪线故障。
When the storage capacity of the data packet in the jitter buffer memory reaches or is less than 1/4 full, it is determined that a pseudo line failure has occurred.
12、根据权利要求 11所述的伪线仿真线路故障检测方法,其特征在 于, 所述存储容量低于预定临界值时判定发生伪线故障包括: The method for detecting a fault of a pseudowire line fault according to claim 11, wherein the determining that a pseudowire fault occurs when the storage capacity is lower than a predetermined threshold comprises:
当所述抖动緩沖存储器的读指针等于写指针时,判定发生伪线故障。 When the read pointer of the jitter buffer is equal to the write pointer, it is determined that a pseudo line failure has occurred.
13、根据权利要求 10、 11或 12所述的伪线仿真线路故障检测方法, 其特征在于, 对于伪线的主用链路采用所述伪线仿真线路故障检测方法 时, 该方法进一步包括: The method for detecting a fault of a pseudo-wire emulation line according to claim 10, 11 or 12, wherein, when the pseudo-line emulation line fault detection method is used for the main link of the pseudo-wire, the method further includes:
对于伪线的备用链路采用发送链路状态控制检测协议报文的方式进 行故障检测。 For the standby link of the pseudowire, the link state control detection protocol packet is sent to detect the fault.
14、根据权利要求 10、 11或 12所述的伪线仿真线路故障检测方法, 其特征在于, 该方法进一步包括: 当所述抖动緩沖存储器中数据包的存 储容量小于等于第一预定值与大于第二预定值的情况交替出现, 且在单 位时间内交替出现的次数达到或大于第三预定值时, 则触发使用发送链 路状态控制检测协议报文的方式进行故障检测。 The pseudowire emulation line fault detection method according to claim 10, 11 or 12, wherein the method further comprises: when the storage capacity of the data packet in the jitter buffer memory is less than or equal to a first predetermined value and greater than The case where the second predetermined value occurs alternately, and when the number of times of alternating occurrence in the unit time reaches or exceeds the third predetermined value, the method of detecting the protocol using the transmission link state control detection protocol is triggered to perform fault detection.
15、 一种实现伪线仿真线路故障检测的方法, 其特征在于, 包括: 在伪线的网络出口侧设置用于存储接收到的数据包的抖动緩沖存储器; 检测抖动緩沖存储器接收到的数据包的序列号, 当所述序列号非连 续, 则判决伪线发生故障。 A method for implementing fault detection of a pseudowire emulation line, comprising: setting a jitter buffer memory for storing a received data packet on a network exit side of the pseudowire; and detecting a data packet received by the jitter buffer memory The serial number, when the serial number is not continuous, determines that the pseudowire has failed.
16、根据权利要求 15所述的伪线仿真线路故障检测方法,其特征在 于, 所述序列号非连续具体包括: 所述序列号发生跳变或顺序混乱。 The pseudowire emulation line fault detection method according to claim 15, wherein the sequence number discontinuity specifically comprises: the sequence number is hopping or disordered.
17、 一种实现伪线仿真线路故障检测的装置, 其特征在于, 包括: 抖动緩沖存储器, 与伪线的网络出口侧连接, 用于存储接收到的数 据包; A device for implementing fault detection of a pseudowire line fault, comprising: a jitter buffer memory connected to a network exit side of the pseudowire for storing the received data packet;
数据包序列号检测单元, 用于检测所述抖动緩沖存储器接收到的数 据包的序列号, 并当所述序列号非连续时判决伪线发生故障。
The packet sequence number detecting unit is configured to detect a sequence number of the data packet received by the jitter buffer memory, and determine that the pseudowire fails when the sequence number is discontinuous.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100004676A CN101013928B (en) | 2007-02-07 | 2007-02-07 | Apparatus and method for implementing line fault detection of pseudo-wire simulation |
CN200710000467.6 | 2007-02-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008095390A1 true WO2008095390A1 (en) | 2008-08-14 |
Family
ID=38701238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/070816 WO2008095390A1 (en) | 2007-02-07 | 2007-09-28 | An equipment for detecting the line fault of the pseudo wire emulation and a method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101013928B (en) |
WO (1) | WO2008095390A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117978612A (en) * | 2024-03-28 | 2024-05-03 | 成都格理特电子技术有限公司 | Network fault detection method, storage medium and electronic equipment |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599873B (en) * | 2009-07-01 | 2011-07-27 | 杭州华三通信技术有限公司 | Detection method of connectivity and device therefor |
CN102137012B (en) * | 2011-02-21 | 2014-03-26 | 华为技术有限公司 | Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability |
CN104579770A (en) * | 2014-12-30 | 2015-04-29 | 华为技术有限公司 | Method and device for managing data transmission channels |
CN106487678A (en) * | 2015-08-27 | 2017-03-08 | 中兴通讯股份有限公司 | Data transmission method and device |
CN106549774A (en) * | 2015-09-17 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of link failure report method and forwarding unit based on software defined network |
CN110740094B (en) * | 2019-10-28 | 2021-09-21 | 新华三信息安全技术有限公司 | Network equipment, BFD message transmission method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1113673A (en) * | 1993-08-17 | 1995-12-20 | L.M.埃利克逊电话股份有限公司 | Behavior Monitoring and Analysis System for Stored Program Control Switching System |
JP2002217977A (en) * | 2001-01-18 | 2002-08-02 | Nec Eng Ltd | Packet communication system |
US6674738B1 (en) * | 2001-09-17 | 2004-01-06 | Networks Associates Technology, Inc. | Decoding and detailed analysis of captured frames in an IEEE 802.11 wireless LAN |
CN1490982A (en) * | 2003-08-18 | 2004-04-21 | 北京港湾网络有限公司 | Network fault analysing and monitoring method and apparatus |
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417083C (en) * | 2005-07-02 | 2008-09-03 | 华为技术有限公司 | Link state self consulting method |
-
2007
- 2007-02-07 CN CN2007100004676A patent/CN101013928B/en not_active Expired - Fee Related
- 2007-09-28 WO PCT/CN2007/070816 patent/WO2008095390A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1113673A (en) * | 1993-08-17 | 1995-12-20 | L.M.埃利克逊电话股份有限公司 | Behavior Monitoring and Analysis System for Stored Program Control Switching System |
JP2002217977A (en) * | 2001-01-18 | 2002-08-02 | Nec Eng Ltd | Packet communication system |
US6674738B1 (en) * | 2001-09-17 | 2004-01-06 | Networks Associates Technology, Inc. | Decoding and detailed analysis of captured frames in an IEEE 802.11 wireless LAN |
CN1490982A (en) * | 2003-08-18 | 2004-04-21 | 北京港湾网络有限公司 | Network fault analysing and monitoring method and apparatus |
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117978612A (en) * | 2024-03-28 | 2024-05-03 | 成都格理特电子技术有限公司 | Network fault detection method, storage medium and electronic equipment |
CN117978612B (en) * | 2024-03-28 | 2024-06-04 | 成都格理特电子技术有限公司 | Network fault detection method, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101013928A (en) | 2007-08-08 |
CN101013928B (en) | 2011-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2224644B1 (en) | A protection method, system and device in the packet transport network | |
JP4899959B2 (en) | VPN equipment | |
EP2658182B1 (en) | Ring network protection method, network node and ring network | |
US9871708B2 (en) | Method and system for ring protection switching | |
EP1845656B1 (en) | A method for implementing master and backup transmission path | |
US7961602B2 (en) | Method and device using a backup communication path to transmit excess traffic | |
JP4777436B2 (en) | MPLS LSP protection switching apparatus and method | |
US8837936B2 (en) | Method and system for dynamic selection of transport path with lowest latency | |
JP4167072B2 (en) | Selective protection against ring topology | |
CN102006218B (en) | Tunnel protection method and device | |
CN102215127A (en) | Signal degrade processing method, device and node equipment | |
CN102035718A (en) | Method, device and system for protection switching of packet transport network | |
WO2008095390A1 (en) | An equipment for detecting the line fault of the pseudo wire emulation and a method thereof | |
WO2015192518A1 (en) | Error detection method, apparatus and system for potn | |
CN101267360A (en) | Pseudowire fault detection method and user edge device | |
Hariyawan | Comparison analysis of recovery mechanism at MPLS network | |
CN102055619A (en) | Method and system for realize fault detection in bidirectional path segment | |
CN104852809A (en) | Method and system for processing SD (signal degradation) fault | |
WO2011020257A1 (en) | Method and apparatus for notifying failure lsp information | |
CN104202184A (en) | Quick service switchover method and device | |
JP5176623B2 (en) | Ethernet transmission method, transmission apparatus and system | |
WO2012088802A1 (en) | Method and system for detecting signal degrade (sd) alarm | |
CN102025437A (en) | Method, system and device for protection switching | |
CN102843260B (en) | Channel protection method of looped network system with IP RAN (Internet Protocol-Radio Access Network) forward compatible with MSTP (Multi-Service Transport Platform) | |
CN102790702B (en) | The detection method of packet path Signal Degrade, apparatus and system |
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: 07817007 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: 07817007 Country of ref document: EP Kind code of ref document: A1 |