WO2016150105A1 - Fault location method, device and system for ethernet link - Google Patents

Fault location method, device and system for ethernet link Download PDF

Info

Publication number
WO2016150105A1
WO2016150105A1 PCT/CN2015/088785 CN2015088785W WO2016150105A1 WO 2016150105 A1 WO2016150105 A1 WO 2016150105A1 CN 2015088785 W CN2015088785 W CN 2015088785W WO 2016150105 A1 WO2016150105 A1 WO 2016150105A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
node
target node
maintenance association
identification information
Prior art date
Application number
PCT/CN2015/088785
Other languages
French (fr)
Chinese (zh)
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 WO2016150105A1 publication Critical patent/WO2016150105A1/en

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

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for fault location of an Ethernet link.
  • Operation Administration and Maintenance is one of the key technologies in the network.
  • the current OAM function lacks end-to-end management and monitoring capabilities for each user or each service.
  • the complete Ethernet OAM mechanism enables end-to-end monitoring, management, diagnostics, and performance detection functions.
  • the complete OAM function is the basis and premise that Ethernet can be applied to carrier-class networks.
  • the International Telecommunication Union's latest standard, Y.1731 defines the various mechanisms for OAM in Carrier Ethernet, and defines the hierarchical architecture and required functions in Ethernet OAM. It not only defines various fault management functions. It also defines the performance monitoring function of Ethernet.
  • a variety of fault management functions are defined in the standard, the main purpose of which is to detect, verify, locate and advertise different fault conditions. In the current technology, the following four methods mainly include detecting Ethernet faults:
  • CC Continuousity Check
  • LOC Loss Of Continuity
  • LB Loopback
  • the Ethernet loopback function is used to check the connectivity between a MEP and a MIP or a peer MEP.
  • the Ethernet link tracking function is an on-demand OAM function. It is mainly used for error location and proximity confirmation. However, due to the low frequency, when a service flash occurs, a small packet loss occurs. When it is difficult to detect the specific node location of the packet loss.
  • the frame loss measurement function is implemented by transmitting a frame with LM information to its peer MEP and similarly receiving a frame with LM information from the peer MEP. Used to measure the frame loss rate. Although the LM can detect the packet loss rate between the MEP and the MEP node, it cannot locate the specific link location of the faulty node.
  • the embodiment of the invention provides a method, a device and a system for fault location of an Ethernet link, which solves the problem that the prior art has difficulty in detecting the specific road segment information of the faulty node when the service is flashed and a slight packet loss occurs.
  • the embodiment of the present invention adopts the following technical solutions:
  • a method for fault location of an Ethernet link includes:
  • the maintenance association endpoint selects at least one path in the Ethernet link, the last node in each path is a target node, and the target node is a maintenance association intermediate node, and sends a corresponding loss measurement to each selected path. a message, where the lost measurement message carries identification information of the target node;
  • the maintenance association endpoint receives the lost measurement response message including the packet statistics information and the identification information of the corresponding target node in response to the target node on each path;
  • the maintenance association endpoint locates the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
  • the lost measurement packet further carries the path information of the corresponding path, where the path information includes: the hop count of the path; the hop count of the path is used to maintain the path selected by the associated endpoint Determine the number of nodes that pass.
  • the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each path in the path; the path identifier information is used by the maintenance association endpoint Matching the missing measurement reply message in the corresponding path; the identification information is used for the identification information of each node determined by the maintenance association endpoint in the path selected by the maintenance end point.
  • the path identifier information includes: a random field.
  • the method for locating the faulty path in the selected path according to the lost measurement response message of the target node response on each path specifically includes: receiving the lost measurement response message according to each path. Calculate the packet loss rate of the corresponding path; compare the packet loss ratios in different paths; and locate the faulty road segment according to the comparison result.
  • the target node receives a loss measurement message that is sent by the maintenance association endpoint and carries the identification information of the target node;
  • the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path;
  • the maintenance association intermediate node determines that the hop count is greater than 1, the maintenance association intermediate node is an intermediate node, and the maintenance association intermediate Node will The hop count is decreased by 1, and the lost measurement message is forwarded to the next node;
  • the maintenance association intermediate node determines that the hop count is 1, the maintenance association intermediate node is a target node, and the target node responds to the maintenance association endpoint with a lost measurement response message.
  • a device for fault location of an Ethernet link comprising:
  • a path selection module configured to maintain an association endpoint to select at least one path in the Ethernet link, a last node in the path is a target node, and the target node is a maintenance association intermediate node;
  • the packet sending and receiving module is configured to send, by the maintenance association endpoint, a corresponding lost measurement packet to each selected path, where the lost measurement packet carries the identification information of the target node, and is further configured to receive the information on each path.
  • the target node responds with the packet loss statistical response information of the corresponding node and the lost measurement response message of the identification information;
  • the fault locating module is configured to locate, by the maintenance association endpoint, the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
  • the lost measurement packet further carries the path information of the corresponding path, where the path information includes: the hop count of the path; the hop count of the path is used to maintain the path selected by the associated endpoint Determine the number of nodes that pass.
  • the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each path in the path; the path identifier information is used by the maintenance association endpoint Matching the missing measurement reply message in the corresponding path; the identification information is used for the identification information of each node determined by the maintenance association endpoint in the path selected by the maintenance end point.
  • a device for fault location of an Ethernet link comprising:
  • a processing module configured to be in a path that maintains an associated intermediate node in the last node selected by the maintenance association endpoint, and the last node is a target node, where the target node receives the identification information carried by the maintenance association endpoint and carries the target node. Lost measurement message;
  • the processing module is further configured to send, by the target node, the lost measurement response message carrying the packet statistics information and the identification information thereof to the maintenance association endpoint according to the lost measurement message.
  • the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path;
  • the device for fault location of the Ethernet link further includes a judging module, wherein the judging module is configured to: when the path includes at least one maintenance association intermediate node in addition to the target node, the maintenance association intermediate node determines the hop Whether the number is greater than 1;
  • the processing module is further configured to: when the determination result of the determining module is yes, the maintenance associated intermediate node is an intermediate node, and the maintenance associated intermediate node is set to reduce the hop count by one, and the lost The measurement message is forwarded to the next node; when the judgment result of the determination module is no, the maintenance association intermediate node is the target node, and the target node is set to respond to the maintenance association endpoint with the lost measurement response message. .
  • An Ethernet link fault location system comprising: a maintenance association endpoint and at least one maintenance association intermediate node; the maintenance association endpoint comprising the apparatus for fault location of an Ethernet link according to claim 8 or 10; Maintaining the associated intermediate node comprises the means for fault location of the Ethernet link as claimed in claim 11 or 12.
  • the embodiment of the present invention provides a method, a device, and a system for locating an Ethernet link fault.
  • the MEP sends a corresponding loss measurement packet to the selected path in the Ethernet link, and the last node in each path.
  • the lost measurement message includes the identification information of the target node, and the target node is a MIP; the MEP receives the packet information of the target node on each path, including the corresponding target node, and the loss of the identification information.
  • the response message is measured, and the faulty road segment is located in the selected path according to the lost measurement response message of the target node response on each path.
  • the LM frame of the packet loss rate detection is mainly introduced in the MIP node, and the lost measurement response message returned by each target MIP is located according to the MEP to the MIP in each path.
  • the location of the link between the two nodes that have failed so as to achieve specific positioning of the Ethernet fault, and facilitate the maintenance and processing of the equipment in the Ethernet by the engineering personnel.
  • FIG. 1 is a flowchart of a method for fault location of an Ethernet link according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of a connection diagram of a network in an Ethernet link according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for fault location of an Ethernet link according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for fault location of an Ethernet link according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for fault location of an Ethernet link according to Embodiment 4 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 it is a flowchart of a method for fault location of an Ethernet link according to Embodiment 1 of the present invention
  • the MEP selects at least one path in the Ethernet link, and the last node in each path is a target node, and sends a corresponding loss measurement packet to each selected path, where the lost measurement packet is in the lost measurement packet. Including the identification information of the target node, where the target node is a MIP;
  • the MEP When it is required to detect a fault in the Ethernet link, the MEP first selects a link to be detected in the Ethernet link according to its requirement, thereby determining at least one target node MIP, thereby determining the location of the target MIP according to the determined target. Selecting the corresponding path, and ensuring that the last node in each path is the corresponding target MIP, and then carrying the identification information of the MIP that needs to be detected in the LMM that it sends; the identification information of the target node includes: the MAC of the target node (physical address); that is, each of the paths selected by the MEP is correspondingly sent with an LMM including a MAC of the corresponding target node;
  • the MEP receives, by the target node on each path, a lost measurement response message that includes the packet statistics information and the identification information of the corresponding target node.
  • the sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself; That is, on each path, when receiving the LMM sent by the MEP, the target node needs to respond to its own Light Weight Mobile Routing (LMR) to the sending MEP.
  • LMR Light Weight Mobile Routing
  • S103 The MEP locates the faulty road segment in the selected path according to the lost measurement response packet of the target node response on each path;
  • the MEP Since the target node on each path feeds its LMR back to the sender MEP, the MEP performs statistics based on the LMR received on each path to obtain the location of the faulty road segment on the selected path. Specifically, in the loss measurement function, specifically, the calculation of the packet loss rate of the LMR obtains the fault in the Ethernet link.
  • the loss between each target node and the MEP is mainly The packet rate is calculated, and then the packet loss rate calculated by the corresponding target node in each path is compared, and the specific road segment in which the failure occurs in the selected path can be obtained.
  • the MEP calculates the packet loss rate of the corresponding path according to the lost measurement response message received in each path; compares the packet loss rate in different paths; and locates the faulty road segment according to the comparison result.
  • FIG. 2 which is a schematic diagram of a connection diagram of a network in an Ethernet link according to Embodiment 1 of the present invention, refer to FIG. 2.
  • one path includes: MEP A and target. Node MIP B; another path includes: MEP A, intermediate node MIP B, and target node MIP C; node MEP A sends a corresponding LMM in the two paths, and in the received response LMR, node MEP A is detected.
  • the node MEP A can locate the packet loss ratio based on the packet loss measured between each MIP and the MIP A.
  • the specific node location of the packet loss is between node MIP B and node MIP C.
  • the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path; the hop count of the path is used by the number of nodes determined by the MEP for the path selected by the MEP.
  • the purpose of detecting on-demand is further achieved by the number of hops of the LMM sent by the MEP on each path selected and the limit of the nodes that need to pass, that is, which road segment needs to be detected, and the corresponding road segment is set. Which target nodes are passed, and the identification information of which target nodes are carried by the LMM corresponding to the target node, so as to specifically locate the communication failure of each target node.
  • the path information further includes: path identification information corresponding to the path, and identification information of an intermediate node corresponding to the hop count of each level in the path; the path identifier information is used for the MEP matching In the path The measurement response message is lost; the identification information is used for identification information of each node determined by the MEP in the path selected by the MEP; since each time the Ethernet link is detected, the MEP may simultaneously go to multiple pieces.
  • the selected path sends the LMM. Therefore, a path identification information is set in the LMM that it sends to distinguish the LMR of each received path information including the corresponding path. That is, when the MIP sends the LMR, it needs to copy the received LMM.
  • the information carried in the information is fed back to the MEP, so that it is more convenient and fast for the MEP to locate the specific location of the fault of each path;
  • the path identifier information may include: performing simple number identification information on the target node by using a random number; Or, the simple numbering of all the nodes in the entire path is performed by using a random number; the two methods are used to identify the target node in the LMR received by the MEP; and the step S103 specifically includes: the MEP The LMR with the same path identification information locates the link where the corresponding path in the same path identification information fails.
  • the MEP side detects the fault in the Ethernet link by sending the LMM to the at least one target MIP through the MEP, and locates the faulty faulty path in the selected path according to the LMR received by the MEP. It achieves the effect of accurate positioning and convenient maintenance of engineering personnel.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 3 it is a flowchart of a method for locating an Ethernet link fault according to Embodiment 2 of the present invention.
  • the last node selected by the maintenance associated endpoint is in a path of maintaining the associated intermediate node, and
  • the last node is a target node, including:
  • the target node receives an LMM that is sent by the MEP and carries the identification information of the target node.
  • the identification information of the target node includes: a MAC of the target node
  • the target node sends, according to the LMM, the LMR carrying the packet sending and receiving statistical information and the identification information to the MEP.
  • the sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself;
  • the statistical information of the transceiver packet is carried in the LMR for the purpose of calculating the packet loss rate of the MEP, thereby achieving the purpose of accurately locating the fault.
  • the LMM may be directly terminated or transparently transmitted, but if the transparent transmission is performed, other nodes do not process the LMM.
  • the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path; when the path includes at least one maintenance associated intermediate node in addition to the target node, The maintenance association intermediate node determines that the hop count is greater than 1, and the maintenance association intermediate node is an intermediate node, and the maintenance association intermediate node decrements the hop count by 1, and forwards the lost measurement packet to the next one.
  • a node when the maintenance association intermediate node determines that the hop count is 1, the maintenance association intermediate node is a target node, and the target node responds to the maintenance association endpoint with a lost measurement response message.
  • the LMM is directly forwarded to the next node; when it is determined that the hop count is 1, the MIP is a target node, The MIP then determines whether the identification information of the target node is its own identification information, and if so, responds to the LMR to the MEP. and After sending the LMR to the MEP, it directly terminates the LMM it receives.
  • the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each level in the path; when the MIP is an intermediate node, receiving the After the LMM, the identification information of the intermediate node corresponding to the hop count of the LMM in the LMM is compared with its own identification information. If the same, the hop count is decremented by 1 and then sent; if not, directly And sending the path identifier information in the LMM, and carrying the copied path identifier information in the LMR sent to the MEP. In order for the MEP to distinguish the LMRs of the paths it receives, it is possible to obtain the road segments in each path that have failed.
  • the specific road segment on the path is located on multiple paths, including the MEP and multiple MIPs, by using specific embodiments:
  • the MEP sends, to each path, an LMM packet carrying the path hop count, the identification information of the node corresponding to each hop of the path, the path identifier information, and the identification information of the target node in the corresponding path, each path including at least one MIP, and the path identifier information includes
  • the MEP node sends an LMM to each MIP node of the other path, the value of the field is modified.
  • the MEP node receives the responding LMR frame, it needs to use the path identification information to match the corresponding target.
  • a node; the identification information of the node corresponding to each hop of the path and the identification information of the target node include: a MAC of the corresponding node;
  • the MIP When receiving the LMM, the MIP performs packet identification on the LMM, and determines whether the MAC address in the LMM matches the MIP node MAC address. If it matches, it determines whether the current hop is based on the path hop count, that is, the hop count is 1. If yes, the path identifier information and the packet statistics information in the LMM are copied to the LMR. Before returning the LMR to the source MEP, the LMR needs to increase the packet statistics of the MIP node itself. If the number of hops of the path is not the current hop, after the hop count is decremented by 1, the LMM is sent to the next node;
  • the MEP can detect the connection relationship with multiple target MIP nodes at the same time.
  • the MEP receives the LMR message, it needs to know which path and which node sends the message.
  • the path identification information in the message identifies which MIP node on that path.
  • the MEP extracts the statistics of the packet and the packet, and uses the LM computer system to calculate the frame loss rate, determine whether there is a packet loss between the MIP node, and then calculate the packet loss rate of each path according to the calculation.
  • the packet loss rate in the path is compared to locate a specific fault segment.
  • the method for fault location in the Ethernet link is used.
  • the target MIP on each path needs to feed back the LMR to the MEP at the source end.
  • the MEP locates the faulty path of the corresponding path according to each LMR, thereby facilitating the engineering personnel. Maintenance of this path.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 4 is a schematic structural diagram of an apparatus for locating an Ethernet link fault according to Embodiment 3 of the present invention.
  • the apparatus 40 for fault location of an Ethernet link includes: a path selection module 401, and a report.
  • the path selection module 401 is configured to select at least one path in the Ethernet link, the last node in the path is a target node, and the target node is a maintenance association.
  • the packet sending and receiving module 402 is configured to send, by the MEP, a corresponding LMM to each selected path, where the LMM carries identification information of the target node; and is further configured to receive a target node response on each path.
  • the fault location module 403 is configured to locate, by the MEP, a faulty road segment in the selected path according to the LMR of the target node response on each path.
  • the path selection module 401 first selects a link to be detected in the Ethernet link according to its requirement, thereby determining at least one target node MIP, and then determining according to the determined The location of the target MIP selects the corresponding path, and ensures that the last node in each path is the corresponding target MIP; then, the packet sending and receiving module 402 carries the identification information of the MIP that needs to be detected in the LMM that it sends;
  • the identification information of the target node includes: a MAC (physical address) of the target node; that is, each of the paths selected by the MEP respectively sends an LMM including a MAC of the corresponding target node;
  • the statistical information of the transceiver packet includes: The statistical information
  • the calculation of the packet loss rate of the LMR is mainly obtained by the faulty link in the Ethernet link.
  • the fault location module 403 is mainly received according to each path.
  • the lost measurement response message calculates the packet loss rate of the corresponding path; compares the packet loss rate in different paths; and locates the faulty road segment according to the comparison result.
  • the device 40 for fault location of the Ethernet link is placed in the MEP.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the apparatus 50 for locating an Ethernet link fault includes: a processing module 501;
  • the module 501 is configured to be in a path where the last node selected by the MEP is a MIP, and the last node is a target node, and the target node receives an LMM that is sent by the MEP and carries identification information of the target node; the processing module 501 further The target node is configured to send, according to the LMM, an LMR carrying the packet statistics and its identification information to the MEP.
  • the sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself;
  • the statistical information of the transceiver packet is carried in the LMR for the purpose of calculating the packet loss rate of the MEP, thereby achieving the purpose of accurately locating the fault.
  • the apparatus for locating the fault of the Ethernet link is generally disposed in the MIP, so that the MIP distinguishes the function of not transmitting the LMR in the prior art. It is because the MIP has the function of sending the LMR, so that the MEP receives each path. After the LMR of the target MIP feedback, it can accurately locate the faulty section.
  • the LMM further carries path information of a corresponding path, where the path information includes: a hop count of the path; the device 50 for fault location of the Ethernet link further includes a determining module, where the determining module is configured The MIP determines whether the hop count is greater than 1 when the path includes at least one MIP in addition to the target node.
  • the processing module 501 is further configured to: when the judgment result of the determining module is yes, The MIP is an intermediate node, and the MIP is set to reduce the hop count by one, and forward the LMM to the next node; when the judgment result of the determining module is no, the MIP is a target node, and the setting is performed. Responding to the MEP for its LMR for the target node.
  • the embodiment of the present invention further provides a system for fault location of an Ethernet link, including: an MEP and at least one MIP; the MEP is configured to select at least one path in the Ethernet link, and the last of the paths
  • the node is the target node
  • the target node is a maintenance associated intermediate node, and sends a corresponding LMM to each selected path, where the LMM carries identification information of the target node; when the MIP is the target node, the target MIP is set to receive the MEP.
  • the MEP is further configured to receive the corresponding response on each path respectively.
  • the target node sends and receives packet statistics and LMR of the path information, and locates the failed segment in the selected path according to the LMR of each path response.
  • the MIP directly forwards the loss measurement packet to the next node.
  • the embodiment of the invention provides a method, a device and a system for fault location of an Ethernet link.
  • the LM frame of the packet loss rate detection is mainly introduced on the MIP node, and the MEP is adopted according to each path.
  • the lost measurement response message returned by the target MIP node between the MIPs locates the location of the link between the two nodes that are faulty, thereby realizing the specific positioning of the Ethernet fault and facilitating the maintenance of the equipment in the Ethernet by the engineering personnel. And management.
  • the technical solution provided by the embodiment of the present invention can be applied to an Ethernet link fault location process.
  • the LM frame of the LM is mainly used to introduce the LM frame of the packet loss rate detection on the MIP node, and the response packet is returned according to the loss measurement returned by each target MIP according to the MEP to the MIP in each path.
  • the location of the link between the two nodes that are faulty is located to achieve specific positioning of the Ethernet fault, which facilitates the maintenance and processing of each device in the Ethernet by the engineering personnel.

Landscapes

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

Abstract

The present invention provides a fault location method, device and system for an Ethernet link. The method comprises: an MEP selects at least one path from an Ethernet link, and sends a corresponding loss measurement message to each of the selected paths, a final node in each path being a target node, the target node being an MIP, and identification information about the target node being carried in the loss measurement message; the MEP receives a responding loss measurement reply message, comprising transmitting/receiving packet statistical information and identification information corresponding to the target node on each path, of the target node; and the MEP locates, according to the responding loss measurement reply message of the target node on each path, a faulty path section in the selected path. The problem in the prior art that it is difficult to detect specific path section information about a faulty node in the case of service flashing and slight packet loss is solved, and Ethernet faults can be specifically located, thereby making it convenient for an engineer to maintain and handle each device in the Ethernet.

Description

一种以太网链路故障定位的方法、装置及系统Method, device and system for fault location of Ethernet link 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种以太网链路故障定位的方法、装置及系统。The present invention relates to the field of communications, and in particular, to a method, device, and system for fault location of an Ethernet link.
背景技术Background technique
随着近些年电信级以太网技术的不断发展,其相关的技术也不断的成熟。在电信级网络中,操作维护管理(Operation Administration and Maintenance,简称为OAM)是网络中的关键技术之一,当前的OAM功能缺乏对每个用户或每个业务的端到端的管理和监控能力,完整的以太网OAM机制可以实现端到端的监控、管理、诊断和性能检测等功能,完备的OAM功能是以太网可以应用到电信级网络的基础和前提。国际电信联盟最新标准Y.1731中详细定义了在电信级以太网中对OAM的各种机制,并定义了以太网OAM中的层次架构和要求的各种功能,不仅定义了各种故障管理功能,同时也定义了以太网的性能监控功能。标准中定义了多种故障管理的功能,主要的目的是为了检测、验证、定位和通告不同的故障情况。在现在技术中,主要包括以下四种检测以太网故障的方法:With the continuous development of carrier-grade Ethernet technology in recent years, its related technologies have also matured. In a carrier-class network, Operation Administration and Maintenance (OAM) is one of the key technologies in the network. The current OAM function lacks end-to-end management and monitoring capabilities for each user or each service. The complete Ethernet OAM mechanism enables end-to-end monitoring, management, diagnostics, and performance detection functions. The complete OAM function is the basis and premise that Ethernet can be applied to carrier-class networks. The International Telecommunication Union's latest standard, Y.1731, defines the various mechanisms for OAM in Carrier Ethernet, and defines the hierarchical architecture and required functions in Ethernet OAM. It not only defines various fault management functions. It also defines the performance monitoring function of Ethernet. A variety of fault management functions are defined in the standard, the main purpose of which is to detect, verify, locate and advertise different fault conditions. In the current technology, the following four methods mainly include detecting Ethernet faults:
CC(Continuity Check,连续性检测):就是用来检测MEP之间的连通状态,是一种主动性的OAM。它用于检测一个MEG(维护实体组)中任何一对MEP(Maintenance association End Point,维护关联端点)间连续性的丢失(Loss Of Continuity,简称为LOC),虽然能够检测到MEP到MEP节点之间的故障,但是无法定位到故障节点具体的路段位置,具体是哪个MIP(Maintenance association Intermediate Point,维护关联中间节点)有问题。CC (Continuity Check): It is used to detect the connectivity state between MEPs and is an active OAM. It is used to detect the Loss Of Continuity (LOC) between any pair of MEPs (Maintenance Association Endpoints) in a MEG (Maintenance Entity Group), although it can detect MEP to MEP nodes. The fault is faulty, but the location of the specific link of the faulty node cannot be located. Which MIP (Maintenance association Intermediate Point) has a problem.
LB(Loopback,环回测试):以太网环回功能用于检验一个MEP与一个MIP或对等的MEP间的连通性,但由于频率较低,当出现业务闪断,微量丢包时,很难检测到丢包具体节点位置。LB (Loopback): The Ethernet loopback function is used to check the connectivity between a MEP and a MIP or a peer MEP. However, due to the low frequency, when a service flash occurs and a micro packet is lost, it is very It is difficult to detect the specific node location of the packet loss.
LT(Linktrace,链路跟踪):以太网链路追踪功能是一种按需的OAM功能,它主要用于差错定位和邻近关系确认,但由于频率较低,当出现业务闪断,微量丢包时,很难检测到丢包具体节点位置。LT (Linktrace): The Ethernet link tracking function is an on-demand OAM function. It is mainly used for error location and proximity confirmation. However, due to the low frequency, when a service flash occurs, a small packet loss occurs. When it is difficult to detect the specific node location of the packet loss.
LM(Frame Loss Measurement,帧丢失测量):帧丢失测量功能是通过向其对等MEP发送带有LM信息的帧,并类似地从对等MEP接收带有LM信息的帧实现的,属于性能监测,用于测量帧丢失率。LM虽然能够检测MEP到MEP节点之间的丢包率,但是同样无法定位到故障节点具体的路段位置。LM (Frame Loss Measurement): The frame loss measurement function is implemented by transmitting a frame with LM information to its peer MEP and similarly receiving a frame with LM information from the peer MEP. Used to measure the frame loss rate. Although the LM can detect the packet loss rate between the MEP and the MEP node, it cannot locate the specific link location of the faulty node.
对于工程中闪断的故障,例如平均几天在网络中出现一次短暂中断,影响业务而且很难定位到具体故障节点的位置,工程定位难度较大。在目前的OAM机制中,尽管检测故障的机制有CC、LB、LT、LM这四种,但各自都有应用限制,在业务出现闪断,出现微量丢包时,很难检测到具体丢包节点位置。 For a fault in the project, for example, a brief interruption occurs in the network on average for several days, affecting the service and it is difficult to locate the location of the specific fault node, and the engineering positioning is difficult. In the current OAM mechanism, although there are four types of mechanisms for detecting faults: CC, LB, LT, and LM, each has application restrictions. When a service is flashed and a small amount of packet loss occurs, it is difficult to detect a specific packet loss. Node location.
发明内容Summary of the invention
本发明实施例提供了一种以太网链路故障定位的方法、装置及系统,解决了现有技术在业务出现闪断,出现微量丢包时,难于检测到故障节点的具体路段信息的问题。The embodiment of the invention provides a method, a device and a system for fault location of an Ethernet link, which solves the problem that the prior art has difficulty in detecting the specific road segment information of the faulty node when the service is flashed and a slight packet loss occurs.
为了解决上述问题,本发明实施例采用以下技术方案:In order to solve the above problem, the embodiment of the present invention adopts the following technical solutions:
一种以太网链路故障定位的方法,包括:A method for fault location of an Ethernet link includes:
维护关联端点在所述以太网链路中选择至少一条路径,所述每条路径中的最后节点为目标节点,所述目标节点为维护关联中间节点,向选择的每条路径发送对应的丢失测量报文,所述丢失测量报文中携带有目标节点的识别信息;The maintenance association endpoint selects at least one path in the Ethernet link, the last node in each path is a target node, and the target node is a maintenance association intermediate node, and sends a corresponding loss measurement to each selected path. a message, where the lost measurement message carries identification information of the target node;
所述维护关联端点接收每条路径上的目标节点响应的包括对应目标节点的收发包统计信息及识别信息的丢失测量回复报文;The maintenance association endpoint receives the lost measurement response message including the packet statistics information and the identification information of the corresponding target node in response to the target node on each path;
所述维护关联端点根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段。The maintenance association endpoint locates the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
在本发明实施例中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述路径的跳数用于维护关联端点对其选择的路径所确定经过的节点个数。In the embodiment of the present invention, the lost measurement packet further carries the path information of the corresponding path, where the path information includes: the hop count of the path; the hop count of the path is used to maintain the path selected by the associated endpoint Determine the number of nodes that pass.
在本发明实施例中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述路径标识信息用于所述维护关联端点匹配对应的路径中的丢失测量回复报文;所述识别信息用于所述维护关联端点对其选择的路径中所确定经过的各个节点的识别信息。In the embodiment of the present invention, the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each path in the path; the path identifier information is used by the maintenance association endpoint Matching the missing measurement reply message in the corresponding path; the identification information is used for the identification information of each node determined by the maintenance association endpoint in the path selected by the maintenance end point.
在本发明实施例中,所述路径标识信息包括:随机字段。In the embodiment of the present invention, the path identifier information includes: a random field.
在本发明实施例中,所述根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段具体包括:根据每条路径中接收到的丢失测量回复报文计算对应路径的丢包率;将不同路径中的丢包率进行对比;根据对比结果定位出发生故障的路段。In the embodiment of the present invention, the method for locating the faulty path in the selected path according to the lost measurement response message of the target node response on each path specifically includes: receiving the lost measurement response message according to each path. Calculate the packet loss rate of the corresponding path; compare the packet loss ratios in different paths; and locate the faulty road segment according to the comparison result.
一种以太网链路故障定位的方法,在维护关联端点选择的最后节点为维护关联中间节点的一条路径中,且所述最后节点为目标节点,包括:A method for locating an Ethernet link fault, wherein the last node selected by the maintenance associated endpoint is a path for maintaining the associated intermediate node, and the last node is a target node, including:
所述目标节点接收维护关联端点发送的携带有目标节点的识别信息的丢失测量报文;The target node receives a loss measurement message that is sent by the maintenance association endpoint and carries the identification information of the target node;
所述目标节点根据所述丢失测量报文向所述维护关联端点发送携带其收发包统计信息及其识别信息的丢失测量回复报文。And sending, by the target node, the lost measurement response message carrying the packet statistics information and the identification information thereof to the maintenance association endpoint according to the loss measurement message.
在本发明实施例中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;In the embodiment of the present invention, the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path;
当所述路径中除了目标节点外还包括至少一个维护关联中间节点时,若所述维护关联中间节点判断所述跳数大于1,则所述维护关联中间节点为中间节点,所述维护关联中间节点将 所述跳数减1,并将所述丢失测量报文转发给下一个节点;When the maintenance association intermediate node determines that the hop count is greater than 1, the maintenance association intermediate node is an intermediate node, and the maintenance association intermediate Node will The hop count is decreased by 1, and the lost measurement message is forwarded to the next node;
当所述维护关联中间节点判断所述跳数为1时,所述维护关联中间节点为目标节点,所述目标节点向所述维护关联端点响应其丢失测量回复报文。When the maintenance association intermediate node determines that the hop count is 1, the maintenance association intermediate node is a target node, and the target node responds to the maintenance association endpoint with a lost measurement response message.
一种以太网链路故障定位的装置,包括:A device for fault location of an Ethernet link, comprising:
路径选择模块,设置为维护关联端点在所述以太网链路中选择至少一条路径,所述路径中的最后节点为目标节点,所述目标节点为维护关联中间节点;a path selection module, configured to maintain an association endpoint to select at least one path in the Ethernet link, a last node in the path is a target node, and the target node is a maintenance association intermediate node;
报文收发模块,设置为所述维护关联端点向选择的每条路径发送对应的丢失测量报文,所述丢失测量报文中携带有目标节点的识别信息;还设置为接收每条路径上的目标节点响应的包括对应节点的收发包统计信息及识别信息的丢失测量回复报文;The packet sending and receiving module is configured to send, by the maintenance association endpoint, a corresponding lost measurement packet to each selected path, where the lost measurement packet carries the identification information of the target node, and is further configured to receive the information on each path. The target node responds with the packet loss statistical response information of the corresponding node and the lost measurement response message of the identification information;
故障定位模块,设置为所述维护关联端点根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段。The fault locating module is configured to locate, by the maintenance association endpoint, the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
在本发明实施例中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述路径的跳数用于维护关联端点对其选择的路径所确定经过的节点个数。In the embodiment of the present invention, the lost measurement packet further carries the path information of the corresponding path, where the path information includes: the hop count of the path; the hop count of the path is used to maintain the path selected by the associated endpoint Determine the number of nodes that pass.
在本发明实施例中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述路径标识信息用于所述维护关联端点匹配对应的路径中的丢失测量回复报文;所述识别信息用于所述维护关联端点对其选择的路径中所确定经过的各个节点的识别信息。In the embodiment of the present invention, the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each path in the path; the path identifier information is used by the maintenance association endpoint Matching the missing measurement reply message in the corresponding path; the identification information is used for the identification information of each node determined by the maintenance association endpoint in the path selected by the maintenance end point.
一种以太网链路故障定位的装置,包括:A device for fault location of an Ethernet link, comprising:
处理模块,设置为在维护关联端点选择的最后节点为维护关联中间节点的一条路径中,且所述最后节点为目标节点,所述目标节点接收维护关联端点发送的携带有目标节点的识别信息的丢失测量报文;a processing module, configured to be in a path that maintains an associated intermediate node in the last node selected by the maintenance association endpoint, and the last node is a target node, where the target node receives the identification information carried by the maintenance association endpoint and carries the target node. Lost measurement message;
所述处理模块还设置为所述目标节点根据所述丢失测量报文向所述维护关联端点发送携带其收发包统计信息及其识别信息的丢失测量回复报文。The processing module is further configured to send, by the target node, the lost measurement response message carrying the packet statistics information and the identification information thereof to the maintenance association endpoint according to the lost measurement message.
在本发明实施例中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;In the embodiment of the present invention, the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path;
所述以太网链路故障定位的装置还包括判断模块,所述判断模块设置为当所述路径中除了目标节点外还包括至少一个维护关联中间节点时,所述维护关联中间节点判断所述跳数是否大于1;The device for fault location of the Ethernet link further includes a judging module, wherein the judging module is configured to: when the path includes at least one maintenance association intermediate node in addition to the target node, the maintenance association intermediate node determines the hop Whether the number is greater than 1;
所述处理模块还设置为在所述判断模块的判断结果为是时,所述维护关联中间节点为中间节点,设置为所述维护关联中间节点将所述跳数减1,并将所述丢失测量报文转发给下一个节点;在所述判断模块的判断结果为否时,所述维护关联中间节点为目标节点,设置为所述目标节点向所述维护关联端点响应其丢失测量回复报文。 The processing module is further configured to: when the determination result of the determining module is yes, the maintenance associated intermediate node is an intermediate node, and the maintenance associated intermediate node is set to reduce the hop count by one, and the lost The measurement message is forwarded to the next node; when the judgment result of the determination module is no, the maintenance association intermediate node is the target node, and the target node is set to respond to the maintenance association endpoint with the lost measurement response message. .
一种以太网的链路故障定位系统,包括:维护关联端点和至少一个维护关联中间节点;所述维护关联端点包括如权利要求8或10所述的以太网链路故障定位的装置;所述维护关联中间节点包括如权利要求11或12所述的以太网链路故障定位的装置。An Ethernet link fault location system, comprising: a maintenance association endpoint and at least one maintenance association intermediate node; the maintenance association endpoint comprising the apparatus for fault location of an Ethernet link according to claim 8 or 10; Maintaining the associated intermediate node comprises the means for fault location of the Ethernet link as claimed in claim 11 or 12.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供了一种以太网链路故障定位的方法、装置及系统,通过MEP在以太网链路中向选择的路径发送对应的丢失测量报文,所述每条路径中的最后节点为目标节点,所述丢失测量报文中包括目标节点的识别信息,所述目标节点为MIP;MEP接收每条路径上的目标节点响应的包括对应目标节点的收发包统计信息及识别信息的丢失测量回复报文,并根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段。本发明在LM的计算机制上,主要是在MIP节点引入丢包率检测的LM帧,通过在每个路径中根据MEP到MIP之间,根据各个目标MIP返回的丢失测量回复报文,定位出具体发生故障的两节点之间的路段位置,从而实现对以太网故障的具体定位,方便工程人员对以太网中各设备的维护和处理。The embodiment of the present invention provides a method, a device, and a system for locating an Ethernet link fault. The MEP sends a corresponding loss measurement packet to the selected path in the Ethernet link, and the last node in each path. For the target node, the lost measurement message includes the identification information of the target node, and the target node is a MIP; the MEP receives the packet information of the target node on each path, including the corresponding target node, and the loss of the identification information. The response message is measured, and the faulty road segment is located in the selected path according to the lost measurement response message of the target node response on each path. In the computer system of the LM, the LM frame of the packet loss rate detection is mainly introduced in the MIP node, and the lost measurement response message returned by each target MIP is located according to the MEP to the MIP in each path. The location of the link between the two nodes that have failed, so as to achieve specific positioning of the Ethernet fault, and facilitate the maintenance and processing of the equipment in the Ethernet by the engineering personnel.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明实施例一提供的以太网链路故障定位的方法的流程图;1 is a flowchart of a method for fault location of an Ethernet link according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的以太网链路中网络的连接框图的示意图;2 is a schematic diagram of a connection diagram of a network in an Ethernet link according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的以太网链路故障定位的方法的流程图;3 is a flowchart of a method for fault location of an Ethernet link according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的以太网链路故障定位的装置的结构示意图;4 is a schematic structural diagram of an apparatus for fault location of an Ethernet link according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的以太网链路故障定位的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for fault location of an Ethernet link according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
如图1所示,为本发明实施例一提供的以太网链路故障定位的方法的流程图;请参见图1,As shown in FIG. 1 , it is a flowchart of a method for fault location of an Ethernet link according to Embodiment 1 of the present invention;
S101:MEP在所述以太网链路中选择至少一条路径,所述每条路径中的最后节点为目标节点,向选择的每条路径发送对应的丢失测量报文,所述丢失测量报文中包括目标节点的识别信息,所述目标节点为MIP; S101: The MEP selects at least one path in the Ethernet link, and the last node in each path is a target node, and sends a corresponding loss measurement packet to each selected path, where the lost measurement packet is in the lost measurement packet. Including the identification information of the target node, where the target node is a MIP;
在需要对以太网链路中的故障进行检测时,MEP首先根据其需求,在以太网链路中选择需要检测的路段,从而确定至少一个目标节点MIP,从而根据所确定的目标MIP的位置情况选择对应的路径,且确保各路径中的最后节点为对应的目标MIP,然后将其需要检测的MIP的识别信息携带在其发送的LMM中;所述目标节点的识别信息包括:目标节点的MAC(物理地址);即在MEP选择的各个路径中都分别对应发送一个包含有对应目标节点的MAC的LMM;When it is required to detect a fault in the Ethernet link, the MEP first selects a link to be detected in the Ethernet link according to its requirement, thereby determining at least one target node MIP, thereby determining the location of the target MIP according to the determined target. Selecting the corresponding path, and ensuring that the last node in each path is the corresponding target MIP, and then carrying the identification information of the MIP that needs to be detected in the LMM that it sends; the identification information of the target node includes: the MAC of the target node (physical address); that is, each of the paths selected by the MEP is correspondingly sent with an LMM including a MAC of the corresponding target node;
S102:MEP接收每条路径上的目标节点响应的包括对应目标节点的收发包统计信息及识别信息的丢失测量回复报文;S102: The MEP receives, by the target node on each path, a lost measurement response message that includes the packet statistics information and the identification information of the corresponding target node.
所述收发包统计信息包括:该目标节点接收到的LMM中保存的收发包统计信息;或者,该目标节点接收到的LMM中保存的收发包统计信息及该目标节点本身的收发包统计信息;即在每条路径上,目标节点在接收到MEP发送的LMM时,需要响应其自身的次要移动选路(Light Weight Mobile Routing,简称为LMR)给发送端MEP。The sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself; That is, on each path, when receiving the LMM sent by the MEP, the target node needs to respond to its own Light Weight Mobile Routing (LMR) to the sending MEP.
S103:MEP根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段;S103: The MEP locates the faulty road segment in the selected path according to the lost measurement response packet of the target node response on each path;
由于每条路径上的目标节点都将其LMR反馈给发送端MEP中,因此,MEP根据在每条路径上接收到的LMR进行统计,得到所选择的路径上的发生故障的路段的位置。具体地,在丢失测量功能中,具体是对LMR的丢包率的计算得到所述以太网链路中的故障的,在本实施例中,主要是通过对各个目标节点与MEP之间的丢包率进行计算,再将各个路径中对应的目标节点计算得到的丢包率进行对比,就能得到所选择的路径中发生故障的具体路段。在本发明实施例中,MEP根据每条路径中接收到的丢失测量回复报文计算对应路径的丢包率;将不同路径中的丢包率进行对比;根据对比结果定位出发生故障的路段。例如,如图2所示,为本发明实施例一提供的以太网链路中网络的连接框图的示意图,请参见图2,在所选择的两条路径中,一条路径包括:MEP A和目标节点MIP B;另一条路径包括:MEP A、中间节点MIP B和目标节点MIP C;节点MEP A在所述两条路径中分别发送对应的LMM,在接收的响应LMR中,检测到节点MEP A到节点MIP B之间没有丢包,而节点MEP A到节点MIP C之间有丢包,节点MEP A根据和每个MIP之间测定的丢包情况,从丢包率对比中就能定位出丢包的具体节点位置在节点MIP B到节点MIP C之间。Since the target node on each path feeds its LMR back to the sender MEP, the MEP performs statistics based on the LMR received on each path to obtain the location of the faulty road segment on the selected path. Specifically, in the loss measurement function, specifically, the calculation of the packet loss rate of the LMR obtains the fault in the Ethernet link. In this embodiment, the loss between each target node and the MEP is mainly The packet rate is calculated, and then the packet loss rate calculated by the corresponding target node in each path is compared, and the specific road segment in which the failure occurs in the selected path can be obtained. In the embodiment of the present invention, the MEP calculates the packet loss rate of the corresponding path according to the lost measurement response message received in each path; compares the packet loss rate in different paths; and locates the faulty road segment according to the comparison result. For example, as shown in FIG. 2, which is a schematic diagram of a connection diagram of a network in an Ethernet link according to Embodiment 1 of the present invention, refer to FIG. 2. Among the selected two paths, one path includes: MEP A and target. Node MIP B; another path includes: MEP A, intermediate node MIP B, and target node MIP C; node MEP A sends a corresponding LMM in the two paths, and in the received response LMR, node MEP A is detected. There is no packet loss between the node MIP B, and there is a packet loss between the node MEP A and the node MIP C. The node MEP A can locate the packet loss ratio based on the packet loss measured between each MIP and the MIP A. The specific node location of the packet loss is between node MIP B and node MIP C.
具体地,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述路径的跳数用于MEP对其选择的路径所确定经过的节点个数;通过对MEP所选择的各个路径上对其发送的LMM的经过的跳数及需要经过的节点的限制,进一步达到了按需进行检测的目的,即需要对哪个路段进行检测,就设置对应路段经过的哪些目标节点,并发送对应目标节点的LMM携带有哪些目标节点的识别信息,从而对各个目标节点的通信故障进行具体定位。Specifically, the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path; the hop count of the path is used by the number of nodes determined by the MEP for the path selected by the MEP. The purpose of detecting on-demand is further achieved by the number of hops of the LMM sent by the MEP on each path selected and the limit of the nodes that need to pass, that is, which road segment needs to be detected, and the corresponding road segment is set. Which target nodes are passed, and the identification information of which target nodes are carried by the LMM corresponding to the target node, so as to specifically locate the communication failure of each target node.
在本发明实施例中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述路径标识信息用于所述MEP匹配对应的路径中的 丢失测量回复报文;所述识别信息用于所述MEP对其选择的路径中所确定经过的各个节点的识别信息;由于在每次对以太网链路进行检测时,MEP可能同时向多条其选择的路径发送LMM,因此,在其发送的LMM中设置一个路径标识信息来区别每个接收到的包括对应路径的路径信息的LMR,即在MIP发送LMR时,需要复制其接收到的LMM中携带的信息反馈给所述MEP,这样,对于MEP定位出每个路径的故障的具体位置更加方便、快捷;所述路径标识信息可以包括:通过随机数对目标节点进行简单的编号标识信息;或者是,通过随机数对整个路径中的所有节点进行简单的编号标识;这两种方式,在MEP接收到的LMR中,都是用来识别那个目标节点的;步骤S103具体包括:所述MEP根据路径标识信息相同的LMR定位出相同路径标识信息中对应的路径发生故障的路段。In the embodiment of the present invention, the path information further includes: path identification information corresponding to the path, and identification information of an intermediate node corresponding to the hop count of each level in the path; the path identifier information is used for the MEP matching In the path The measurement response message is lost; the identification information is used for identification information of each node determined by the MEP in the path selected by the MEP; since each time the Ethernet link is detected, the MEP may simultaneously go to multiple pieces. The selected path sends the LMM. Therefore, a path identification information is set in the LMM that it sends to distinguish the LMR of each received path information including the corresponding path. That is, when the MIP sends the LMR, it needs to copy the received LMM. The information carried in the information is fed back to the MEP, so that it is more convenient and fast for the MEP to locate the specific location of the fault of each path; the path identifier information may include: performing simple number identification information on the target node by using a random number; Or, the simple numbering of all the nodes in the entire path is performed by using a random number; the two methods are used to identify the target node in the LMR received by the MEP; and the step S103 specifically includes: the MEP The LMR with the same path identification information locates the link where the corresponding path in the same path identification information fails.
本实施例主要是MEP这一侧通过MEP向至少一个目标MIP发送LMM来对以太网链路中的故障进行检测,根据MEP接收的LMR来对其选择的路径中错在故障的路段进行定位,达到了准确定位的效果,方便的工程人员的维护。In this embodiment, the MEP side detects the fault in the Ethernet link by sending the LMM to the at least one target MIP through the MEP, and locates the faulty faulty path in the selected path according to the LMR received by the MEP. It achieves the effect of accurate positioning and convenient maintenance of engineering personnel.
实施例二:Embodiment 2:
如图3所示,为本发明实施例二提供的以太网链路故障定位的方法的流程图;请参见图3,在维护关联端点选择的最后节点为维护关联中间节点的一条路径中,且所述最后节点为目标节点,包括:As shown in FIG. 3, it is a flowchart of a method for locating an Ethernet link fault according to Embodiment 2 of the present invention; referring to FIG. 3, the last node selected by the maintenance associated endpoint is in a path of maintaining the associated intermediate node, and The last node is a target node, including:
S301:目标节点接收MEP发送的携带有所述目标节点的识别信息的LMM;S301: The target node receives an LMM that is sent by the MEP and carries the identification information of the target node.
所述目标节点的识别信息包括:目标节点的MACThe identification information of the target node includes: a MAC of the target node
S302:目标节点根据所述LMM向所述MEP发送携带其收发包统计信息及识别信息的LMR;S302: The target node sends, according to the LMM, the LMR carrying the packet sending and receiving statistical information and the identification information to the MEP.
所述收发包统计信息包括:该目标节点接收到的LMM中保存的收发包统计信息;或者,该目标节点接收到的LMM中保存的收发包统计信息及该目标节点本身的收发包统计信息;所述收发包统计信息携带在所述LMR中,是为了MEP进行丢包率的计算,从而实现准确定位故障的目的。The sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself; The statistical information of the transceiver packet is carried in the LMR for the purpose of calculating the packet loss rate of the MEP, thereby achieving the purpose of accurately locating the fault.
所述目标MIP在发送所述LMR后,可以直接将所述LMM终结或者进行透传,只是若进行透传,其他节点对其则不进行处理。After the target MIP sends the LMR, the LMM may be directly terminated or transparently transmitted, but if the transparent transmission is performed, other nodes do not process the LMM.
具体地,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;当所述路径中除了目标节点外还包括至少一个维护关联中间节点时,若所述维护关联中间节点判断所述跳数大于1,则所述维护关联中间节点为中间节点,所述维护关联中间节点将所述跳数减1,并将所述丢失测量报文转发给下一个节点;当所述维护关联中间节点判断所述跳数为1时,所述维护关联中间节点为目标节点,所述目标节点向所述维护关联端点响应其丢失测量回复报文。具体地,当判断所述跳数大于1时,将所述跳数减1后,直接将所述LMM转发给下一个节点;当判断所述跳数为1时,所述MIP为目标节点,所述MIP再判断所述目标节点的识别信息是否为其自身的识别信息后,若是,则向所述MEP响应LMR。并 在向MEP发送LMR后,直接将其接收的LMM进行终结。Specifically, the lost measurement packet further carries path information of the corresponding path, where the path information includes: a hop count of the path; when the path includes at least one maintenance associated intermediate node in addition to the target node, The maintenance association intermediate node determines that the hop count is greater than 1, and the maintenance association intermediate node is an intermediate node, and the maintenance association intermediate node decrements the hop count by 1, and forwards the lost measurement packet to the next one. a node; when the maintenance association intermediate node determines that the hop count is 1, the maintenance association intermediate node is a target node, and the target node responds to the maintenance association endpoint with a lost measurement response message. Specifically, when it is determined that the hop count is greater than 1, after the hop count is decremented by 1, the LMM is directly forwarded to the next node; when it is determined that the hop count is 1, the MIP is a target node, The MIP then determines whether the identification information of the target node is its own identification information, and if so, responds to the LMR to the MEP. and After sending the LMR to the MEP, it directly terminates the LMM it receives.
在本发明实施例中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述MIP为中间节点时,在接收所述LMM后,将所述LMM中各级跳数对应的中间节点的识别信息与其自身的识别信息进行对比,若相同,则对跳数进行减1处理后,再将其发送;若不相同,直接将其发送;所述MIP为目标节点时,将所述LMM中的路径标识信息进行复制,并将复制的路径标识信息携带在向所述MEP发送的LMR中。以便MEP区别其接收的各路径的LMR,从而能够得到各路径中发生故障的路段。In the embodiment of the present invention, the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each level in the path; when the MIP is an intermediate node, receiving the After the LMM, the identification information of the intermediate node corresponding to the hop count of the LMM in the LMM is compared with its own identification information. If the same, the hop count is decremented by 1 and then sent; if not, directly And sending the path identifier information in the LMM, and carrying the copied path identifier information in the LMR sent to the MEP. In order for the MEP to distinguish the LMRs of the paths it receives, it is possible to obtain the road segments in each path that have failed.
以下通过具体实施例,说明在多条路径上,包括MEP和多个MIP,定位出该路径上的故障具体路段:In the following, the specific road segment on the path is located on multiple paths, including the MEP and multiple MIPs, by using specific embodiments:
MEP向各路径发送携带有路径跳数、路径各跳数对应节点的识别信息、路径标识信息,以及对应路径中目标节点的识别信息的LMM报文,各路径包括至少一个MIP,路径标识信息包括为一个随机字段,以后MEP节点向其它路径的MIP节点每发送一个LMM,该字段的取值就会被修改,当MEP节点收到回应的LMR帧时,需要利用该路径标识信息匹配对应的目标节点;所述路径各跳数对应节点的识别信息及目标节点的识别信息包括:对应节点的MAC;The MEP sends, to each path, an LMM packet carrying the path hop count, the identification information of the node corresponding to each hop of the path, the path identifier information, and the identification information of the target node in the corresponding path, each path including at least one MIP, and the path identifier information includes For a random field, after the MEP node sends an LMM to each MIP node of the other path, the value of the field is modified. When the MEP node receives the responding LMR frame, it needs to use the path identification information to match the corresponding target. a node; the identification information of the node corresponding to each hop of the path and the identification information of the target node include: a MAC of the corresponding node;
MIP接收到LMM时,对该LMM进行报文识别,并判断LMM中的MAC是否和MIP节点MAC匹配,若匹配,则根据路径跳数判断是否是当前跳,即所述跳数为1,如果是,则拷贝LMM中的路径标识信息和收发包统计信息至LMR中,在向源端MEP回传该LMR之前,LMR还需要增加MIP节点其本身的收发包统计信息。如果路径跳数不为当前跳,则将所述跳数减1后,将所述LMM发送给下一个节点;When receiving the LMM, the MIP performs packet identification on the LMM, and determines whether the MAC address in the LMM matches the MIP node MAC address. If it matches, it determines whether the current hop is based on the path hop count, that is, the hop count is 1. If yes, the path identifier information and the packet statistics information in the LMM are copied to the LMR. Before returning the LMR to the source MEP, the LMR needs to increase the packet statistics of the MIP node itself. If the number of hops of the path is not the current hop, after the hop count is decremented by 1, the LMM is sent to the next node;
源端MEP接收到LMR后,由于MEP可以同时去检测和多个目标MIP节点之间的连接关系,当MEP收LMR报文时候,需要知道是哪条路径及哪个节点发出的报文,是利用报文中路径标识信息识别出是那条路径上的哪个MIP节点。MEP收到LMR报文后,提取收发包统计信息,采用LM计算机制,计算帧丢失率,判断和MIP节点之间是否有丢包,再根据计算得到的各个路径的丢包率,并将各路径中的丢包率进行对比,定位出具体的故障路段。After the source MEP receives the LMR, the MEP can detect the connection relationship with multiple target MIP nodes at the same time. When the MEP receives the LMR message, it needs to know which path and which node sends the message. The path identification information in the message identifies which MIP node on that path. After receiving the LMR message, the MEP extracts the statistics of the packet and the packet, and uses the LM computer system to calculate the frame loss rate, determine whether there is a packet loss between the MIP node, and then calculate the packet loss rate of each path according to the calculation. The packet loss rate in the path is compared to locate a specific fault segment.
本实施例主要对以太网链路中故障定位的方法,通过在各路径上的目标MIP都需要反馈LMR给源端的MEP,MEP在根据各个LMR定位出对应路径的故障路段,从而方便了工程人员对本路径的维护。In this embodiment, the method for fault location in the Ethernet link is used. The target MIP on each path needs to feed back the LMR to the MEP at the source end. The MEP locates the faulty path of the corresponding path according to each LMR, thereby facilitating the engineering personnel. Maintenance of this path.
实施例三:Embodiment 3:
如图4所示,为本发明实施例三提供的以太网链路故障定位的装置的结构示意图,请参见图4,所述以太网链路故障定位的装置40包括:路径选择模块401、报文收发模块402和故障定位模块403;所述路径选择模块401设置为MEP在所述以太网链路中选择至少一条路径,所述路径中的最后节点为目标节点,所述目标节点为维护关联中间节点;所述报文收发模块402设置为所述MEP向选择的每条路径发送对应的LMM,所述LMM中携带有目标节点的识别信息;还设置为接收每条路径上的目标节点响应的包括对应节点的收发包统计信息 及识别信息的LMR;所述故障定位模块403设置为所述MEP根据各路径上的目标节点响应的LMR在选择的路径中定位出发生故障的路段。在需要对以太网链路中的故障进行检测时,所述路径选择模块401首先根据其需求,在以太网链路中选择需要检测的路段,从而确定至少一个目标节点MIP,再根据所确定的目标MIP的位置情况选择对应的路径,且确保各路径中的最后节点为对应的目标MIP;然后,所述报文收发模块402将其需要检测的MIP的识别信息携带在其发送的LMM中;所述目标节点的识别信息包括:目标节点的MAC(物理地址);即在MEP选择的各个路径中都分别对应发送一个包含有对应目标节点的MAC的LMM;所述收发包统计信息包括:该目标节点接收到的LMM中保存的收发包统计信息;或者,该目标节点接收到的LMM中保存的收发包统计信息及该目标节点本身的收发包统计信息;即在每条路径上,在接收到MEP发送的LMM时,目标节点都需要响应其自身的LMR给发送端MEP;由于每条路径上都将其LMR反馈给发送端MEP中,因此,所述故障定位模块403根据在每条路径上接收到的LMR进行统计,得到所选择的路径中存在的故障路段。具体地,在丢失测量功能中,主要是对LMR的丢包率的计算得到以太网链路中的故障路段的,在本实施例中,故障定位模块403主要是根据每条路径中接收到的丢失测量回复报文计算对应路径的丢包率;将不同路径中的丢包率进行对比;根据对比结果定位出发生故障的路段。所述以太网链路故障定位的装置40设置在MEP中。FIG. 4 is a schematic structural diagram of an apparatus for locating an Ethernet link fault according to Embodiment 3 of the present invention. Referring to FIG. 4, the apparatus 40 for fault location of an Ethernet link includes: a path selection module 401, and a report. The transceiver module 402 and the fault locating module 403; the path selection module 401 is configured to select at least one path in the Ethernet link, the last node in the path is a target node, and the target node is a maintenance association. An intermediate node; the packet sending and receiving module 402 is configured to send, by the MEP, a corresponding LMM to each selected path, where the LMM carries identification information of the target node; and is further configured to receive a target node response on each path. Packet statistics including the corresponding node And an LMR for identifying information; the fault location module 403 is configured to locate, by the MEP, a faulty road segment in the selected path according to the LMR of the target node response on each path. When it is required to detect a fault in the Ethernet link, the path selection module 401 first selects a link to be detected in the Ethernet link according to its requirement, thereby determining at least one target node MIP, and then determining according to the determined The location of the target MIP selects the corresponding path, and ensures that the last node in each path is the corresponding target MIP; then, the packet sending and receiving module 402 carries the identification information of the MIP that needs to be detected in the LMM that it sends; The identification information of the target node includes: a MAC (physical address) of the target node; that is, each of the paths selected by the MEP respectively sends an LMM including a MAC of the corresponding target node; the statistical information of the transceiver packet includes: The statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node; that is, on each path, receiving When going to the LMM sent by the MEP, the target node needs to respond to its own LMR to the sender MEP; since each path feeds its LMR back to MEP sending end, and therefore, the fault location module 403 according to the received statistics on each path of the LMR, to give the selected path link fault present. Specifically, in the loss measurement function, the calculation of the packet loss rate of the LMR is mainly obtained by the faulty link in the Ethernet link. In this embodiment, the fault location module 403 is mainly received according to each path. The lost measurement response message calculates the packet loss rate of the corresponding path; compares the packet loss rate in different paths; and locates the faulty road segment according to the comparison result. The device 40 for fault location of the Ethernet link is placed in the MEP.
实施例四:Embodiment 4:
如图5所示,本发明实施例四提供的以太网链路故障定位的装置的结构示意图,请参见图5,所述以太网链路故障定位的装置50包括:处理模块501;所述处理模块501设置为在MEP选择的最后节点为MIP的一条路径中,且所述最后节点为目标节点,所述目标节点接收MEP发送的携带有目标节点的识别信息的LMM;所述处理模块501还设置为所述目标节点根据所述LMM向所述MEP发送携带其收发包统计信息及其识别信息的LMR。所述收发包统计信息包括:该目标节点接收到的LMM中保存的收发包统计信息;或者,该目标节点接收到的LMM中保存的收发包统计信息及该目标节点本身的收发包统计信息;所述收发包统计信息携带在所述LMR中,是为了MEP进行丢包率的计算,从而实现准确定位故障的目的。所述以太网链路故障定位的装置50一般设置在所述MIP中,使得MIP区别现有技术中没有发送LMR的功能,正是由于MIP具备了发送LMR的功能,使得MEP在接收到各个路径中的目标MIP反馈的LMR后,能够准确地定位出其发生故障的路段。As shown in FIG. 5, a schematic structural diagram of an apparatus for locating an Ethernet link fault according to Embodiment 4 of the present invention is shown in FIG. 5. The apparatus 50 for locating an Ethernet link fault includes: a processing module 501; The module 501 is configured to be in a path where the last node selected by the MEP is a MIP, and the last node is a target node, and the target node receives an LMM that is sent by the MEP and carries identification information of the target node; the processing module 501 further The target node is configured to send, according to the LMM, an LMR carrying the packet statistics and its identification information to the MEP. The sending and receiving packet statistics information includes: the statistical information of the received and sent packets stored in the LMM received by the target node; or the statistical information of the received and received packets stored in the LMM received by the target node and the statistical information of the received and received packets of the target node itself; The statistical information of the transceiver packet is carried in the LMR for the purpose of calculating the packet loss rate of the MEP, thereby achieving the purpose of accurately locating the fault. The apparatus for locating the fault of the Ethernet link is generally disposed in the MIP, so that the MIP distinguishes the function of not transmitting the LMR in the prior art. It is because the MIP has the function of sending the LMR, so that the MEP receives each path. After the LMR of the target MIP feedback, it can accurately locate the faulty section.
在一些实施例中,所述LMM还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述以太网链路故障定位的装置50还包括判断模块,所述判断模块设置为当所述路径中除了目标节点外还包括至少一个MIP时,所述MIP判断所述跳数是否大于1;所述处理模块501还设置为在所述判断模块的判断结果为是时,所述MIP为中间节点,设置为所述MIP将所述跳数减1,并将所述LMM转发给下一个节点;在所述判断模块的判断结果为否时,所述MIP为目标节点,设置为所述目标节点向所述MEP响应其LMR。In some embodiments, the LMM further carries path information of a corresponding path, where the path information includes: a hop count of the path; the device 50 for fault location of the Ethernet link further includes a determining module, where the determining module is configured The MIP determines whether the hop count is greater than 1 when the path includes at least one MIP in addition to the target node. The processing module 501 is further configured to: when the judgment result of the determining module is yes, The MIP is an intermediate node, and the MIP is set to reduce the hop count by one, and forward the LMM to the next node; when the judgment result of the determining module is no, the MIP is a target node, and the setting is performed. Responding to the MEP for its LMR for the target node.
本发明实施例还提供了一种以太网链路故障定位的系统,包括:MEP和至少一个MIP;所述MEP设置为在所述以太网链路中选择至少一条路径,所述路径中的最后节点为目标节点, 所述目标节点为维护关联中间节点,向选择的每条路径发送对应的LMM,所述LMM中携带有目标节点的识别信息;当所述MIP为目标节点时,所述目标MIP设置为接收MEP发送的携带有目标节点的识别信息的LMM,并根据所述LMM向所述MEP发送携带其收发包统计信息及路径信息的LMR;所述MEP还设置为接收每条路径上分别响应的包括对应目标节点的收发包统计信息及路径信息的LMR,并根据每条路径响应的LMR在在选择的路径中定位出发生故障的路段。当所述MIP为中间节点时,所述MIP直接将所述丢失测量报文转发给下一个节点。The embodiment of the present invention further provides a system for fault location of an Ethernet link, including: an MEP and at least one MIP; the MEP is configured to select at least one path in the Ethernet link, and the last of the paths The node is the target node, The target node is a maintenance associated intermediate node, and sends a corresponding LMM to each selected path, where the LMM carries identification information of the target node; when the MIP is the target node, the target MIP is set to receive the MEP. And sending, by the LMM, an LMM carrying the identification information of the target node, and sending, according to the LMM, the LMR carrying the statistics of the received and sent packets and the path information to the MEP; the MEP is further configured to receive the corresponding response on each path respectively. The target node sends and receives packet statistics and LMR of the path information, and locates the failed segment in the selected path according to the LMR of each path response. When the MIP is an intermediate node, the MIP directly forwards the loss measurement packet to the next node.
本发明实施例提供了一种以太网链路故障定位的方法、装置及系统,在LM的计算机制上,主要是在MIP节点引入丢包率检测的LM帧,通过在每个路径中根据MEP到MIP之间目标MIP节点返回的丢失测量回复报文,定位出具体发生故障的两节点之间的路段位置,从而实现对以太网故障的具体定位,方便工程人员对以太网中各设备的维护和管理。The embodiment of the invention provides a method, a device and a system for fault location of an Ethernet link. On the computer system of the LM, the LM frame of the packet loss rate detection is mainly introduced on the MIP node, and the MEP is adopted according to each path. The lost measurement response message returned by the target MIP node between the MIPs locates the location of the link between the two nodes that are faulty, thereby realizing the specific positioning of the Ethernet fault and facilitating the maintenance of the equipment in the Ethernet by the engineering personnel. And management.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
本发明实施例提供的技术方案可以应用于以太网链路故障定位过程中。本发明实施例在LM的计算机制上,主要是在MIP节点引入丢包率检测的LM帧,通过在每个路径中根据MEP到MIP之间,根据各个目标MIP返回的丢失测量回复报文,定位出具体发生故障的两节点之间的路段位置,从而实现对以太网故障的具体定位,方便工程人员对以太网中各设备的维护和处理。 The technical solution provided by the embodiment of the present invention can be applied to an Ethernet link fault location process. In the embodiment of the present invention, the LM frame of the LM is mainly used to introduce the LM frame of the packet loss rate detection on the MIP node, and the response packet is returned according to the loss measurement returned by each target MIP according to the MEP to the MIP in each path. The location of the link between the two nodes that are faulty is located to achieve specific positioning of the Ethernet fault, which facilitates the maintenance and processing of each device in the Ethernet by the engineering personnel.

Claims (13)

  1. 一种以太网链路故障定位的方法,包括:A method for fault location of an Ethernet link includes:
    维护关联端点在所述以太网链路中选择至少一条路径,所述每条路径中的最后节点为目标节点,所述目标节点为维护关联中间节点,向选择的每条路径发送对应的丢失测量报文,所述丢失测量报文中携带有目标节点的识别信息;The maintenance association endpoint selects at least one path in the Ethernet link, the last node in each path is a target node, and the target node is a maintenance association intermediate node, and sends a corresponding loss measurement to each selected path. a message, where the lost measurement message carries identification information of the target node;
    所述维护关联端点接收每条路径上的目标节点响应的包括对应目标节点的收发包统计信息及识别信息的丢失测量回复报文;The maintenance association endpoint receives the lost measurement response message including the packet statistics information and the identification information of the corresponding target node in response to the target node on each path;
    所述维护关联端点根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段。The maintenance association endpoint locates the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
  2. 如权利要求1所述的以太网链路故障定位的方法,其中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述路径的跳数用于维护关联端点对其选择的路径所确定经过的节点个数。The method for fault location of an Ethernet link according to claim 1, wherein the lost measurement message further carries path information of a corresponding path, where the path information includes: a hop count of the path; The number of nodes used to maintain the path determined by the associated endpoint for its selection.
  3. 如权利要求2所述的以太网链路故障定位的方法,其中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述路径标识信息用于所述维护关联端点匹配对应的路径中的丢失测量回复报文;所述识别信息用于所述维护关联端点对其选择的路径中所确定经过的各个节点的识别信息。The method for fault location of an Ethernet link according to claim 2, wherein the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to each hop count in the path; The path identifier information is used to match the lost measurement response message in the path corresponding to the maintenance association endpoint; the identification information is used by the maintenance association endpoint to identify the identification information of each node that is determined in the path selected by the association endpoint.
  4. 如权利要求3所述的以太网链路故障定位的方法,其中,所述路径标识信息包括:随机字段。The method for fault location of an Ethernet link according to claim 3, wherein the path identification information comprises: a random field.
  5. 如权利要求1-4任一项所述的以太网链路故障定位的方法,其中,所述根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段具体包括:根据每条路径中接收到的丢失测量回复报文计算对应路径的丢包率;将不同路径中的丢包率进行对比;根据对比结果定位出发生故障的路段。The method for fault location of an Ethernet link according to any one of claims 1 to 4, wherein the lost measurement response message according to the target node response on each path locates the faulty road segment in the selected path. The method includes: calculating a packet loss rate of the corresponding path according to the lost measurement response message received in each path; comparing the packet loss ratios in different paths; and determining the faulty road segment according to the comparison result.
  6. 一种以太网链路故障定位的方法,在维护关联端点选择的最后节点为维护关联中间节点的一条路径中,且所述最后节点为目标节点,所述方法包括:A method for locating an Ethernet link fault, wherein the last node selected by the maintenance association endpoint is a path for maintaining the associated intermediate node, and the last node is a target node, and the method includes:
    所述目标节点接收维护关联端点发送的携带有目标节点的识别信息的丢失测量报文;The target node receives a loss measurement message that is sent by the maintenance association endpoint and carries the identification information of the target node;
    所述目标节点根据所述丢失测量报文向所述维护关联端点发送携带其收发包统计信息及其识别信息的丢失测量回复报文。And sending, by the target node, the lost measurement response message carrying the packet statistics information and the identification information thereof to the maintenance association endpoint according to the loss measurement message.
  7. 如权利要求6所述的以太网链路故障定位的方法,其中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;The method for locating an Ethernet link fault according to claim 6, wherein the lost measurement message further carries path information of a corresponding path, where the path information includes: a hop count of the path;
    当所述路径中除了目标节点外还包括至少一个维护关联中间节点时,若所述维护关联中间节点判断所述跳数大于1,则所述维护关联中间节点为中间节点,所述维护关联中间节点将所述跳数减1,并将所述丢失测量报文转发给下一个节点;When the maintenance association intermediate node determines that the hop count is greater than 1, the maintenance association intermediate node is an intermediate node, and the maintenance association intermediate The node decrements the hop count by 1, and forwards the lost measurement message to the next node;
    当所述维护关联中间节点判断所述跳数为1时,所述维护关联中间节点为目标节点, 所述目标节点向所述维护关联端点响应其丢失测量回复报文。When the maintenance association intermediate node determines that the hop count is 1, the maintenance association intermediate node is a target node, The target node responds to the maintenance association endpoint with its lost measurement reply message.
  8. 一种以太网链路故障定位的装置,包括:A device for fault location of an Ethernet link, comprising:
    路径选择模块,设置为维护关联端点在所述以太网链路中选择至少一条路径,所述路径中的最后节点为目标节点,所述目标节点为维护关联中间节点;a path selection module, configured to maintain an association endpoint to select at least one path in the Ethernet link, a last node in the path is a target node, and the target node is a maintenance association intermediate node;
    报文收发模块,设置为所述维护关联端点向选择的每条路径发送对应的丢失测量报文,所述丢失测量报文中携带有目标节点的识别信息;还设置为接收每条路径上的目标节点响应的包括对应节点的收发包统计信息及识别信息的丢失测量回复报文;The packet sending and receiving module is configured to send, by the maintenance association endpoint, a corresponding lost measurement packet to each selected path, where the lost measurement packet carries the identification information of the target node, and is further configured to receive the information on each path. The target node responds with the packet loss statistical response information of the corresponding node and the lost measurement response message of the identification information;
    故障定位模块,设置为所述维护关联端点根据各路径上的目标节点响应的丢失测量回复报文在选择的路径中定位出发生故障的路段。The fault locating module is configured to locate, by the maintenance association endpoint, the faulty road segment in the selected path according to the lost measurement response message of the target node response on each path.
  9. 如权利要求8所述的以太网链路故障定位的装置,其中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;所述路径的跳数用于维护关联端点对其选择的路径所确定经过的节点个数。The apparatus for locating an Ethernet link fault according to claim 8, wherein the lost measurement message further carries path information of a corresponding path, where the path information includes: a hop count of the path; a hop count of the path The number of nodes used to maintain the path determined by the associated endpoint for its selection.
  10. 如权利要求9所述的以太网链路故障定位的装置,其中,所述路径信息还包括:所述路径对应的路径标识信息以及本路径中各级跳数对应的中间节点的识别信息;所述路径标识信息用于所述维护关联端点匹配对应的路径中的丢失测量回复报文;所述识别信息用于所述维护关联端点对其选择的路径中所确定经过的各个节点的识别信息。The apparatus for fault location of an Ethernet link according to claim 9, wherein the path information further includes: path identification information corresponding to the path and identification information of an intermediate node corresponding to the hop count of each level in the path; The path identifier information is used to match the lost measurement response message in the path corresponding to the maintenance association endpoint; the identification information is used by the maintenance association endpoint to identify the identification information of each node that is determined in the path selected by the association endpoint.
  11. 一种以太网链路故障定位的装置,包括:A device for fault location of an Ethernet link, comprising:
    处理模块,设置为在维护关联端点选择的最后节点为维护关联中间节点的一条路径中,且所述最后节点为目标节点,所述目标节点接收维护关联端点发送的携带有目标节点的识别信息的丢失测量报文;a processing module, configured to be in a path that maintains an associated intermediate node in the last node selected by the maintenance association endpoint, and the last node is a target node, where the target node receives the identification information carried by the maintenance association endpoint and carries the target node. Lost measurement message;
    所述处理模块还设置为所述目标节点根据所述丢失测量报文向所述维护关联端点发送携带其收发包统计信息及其识别信息的丢失测量回复报文。The processing module is further configured to send, by the target node, the lost measurement response message carrying the packet statistics information and the identification information thereof to the maintenance association endpoint according to the lost measurement message.
  12. 如权利要求11所述的以太网链路故障定位的装置,其中,所述丢失测量报文还携带有对应路径的路径信息,所述路径信息包括:路径的跳数;The apparatus for fault location of an Ethernet link according to claim 11, wherein the lost measurement message further carries path information of a corresponding path, where the path information includes: a hop count of the path;
    所述以太网链路故障定位的装置还包括判断模块,所述判断模块设置为当所述路径中除了目标节点外还包括至少一个维护关联中间节点时,所述维护关联中间节点判断所述跳数是否大于1;The device for fault location of the Ethernet link further includes a judging module, wherein the judging module is configured to: when the path includes at least one maintenance association intermediate node in addition to the target node, the maintenance association intermediate node determines the hop Whether the number is greater than 1;
    所述处理模块还设置为在所述判断模块的判断结果为是时,所述维护关联中间节点为中间节点,设置为所述维护关联中间节点将所述跳数减1,并将所述丢失测量报文转发给下一个节点;在所述判断模块的判断结果为否时,所述维护关联中间节点为目标节点,设置为所述目标节点向所述维护关联端点响应其丢失测量回复报文。The processing module is further configured to: when the determination result of the determining module is yes, the maintenance associated intermediate node is an intermediate node, and the maintenance associated intermediate node is set to reduce the hop count by one, and the lost The measurement message is forwarded to the next node; when the judgment result of the determination module is no, the maintenance association intermediate node is the target node, and the target node is set to respond to the maintenance association endpoint with the lost measurement response message. .
  13. 一种以太网的链路故障定位系统,包括:维护关联端点和至少一个维护关联中间节点; 所述维护关联端点包括如权利要求8或10所述的以太网链路故障定位的装置;所述维护关联中间节点包括如权利要求11或12所述的以太网链路故障定位的装置。 An Ethernet link fault location system includes: maintaining an associated endpoint and at least one maintenance association intermediate node; The maintenance association endpoint comprises the apparatus for fault location of an Ethernet link as claimed in claim 8 or 10; the maintenance association intermediate node comprising means for fault location of an Ethernet link as claimed in claim 11 or 12.
PCT/CN2015/088785 2015-03-20 2015-09-01 Fault location method, device and system for ethernet link WO2016150105A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510125924.9 2015-03-20
CN201510125924.9A CN106034045A (en) 2015-03-20 2015-03-20 Ethernet link failure positioning method, device and system

Publications (1)

Publication Number Publication Date
WO2016150105A1 true WO2016150105A1 (en) 2016-09-29

Family

ID=56977449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088785 WO2016150105A1 (en) 2015-03-20 2015-09-01 Fault location method, device and system for ethernet link

Country Status (2)

Country Link
CN (1) CN106034045A (en)
WO (1) WO2016150105A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132140A (en) * 2019-12-31 2021-07-16 深信服科技股份有限公司 Network fault detection method, device, equipment and storage medium
CN114338568A (en) * 2020-09-30 2022-04-12 中车株洲电力机车研究所有限公司 Data flow statistical method and Ethernet switch
CN114374855A (en) * 2022-01-05 2022-04-19 烽火通信科技股份有限公司 Live broadcast screen splash diagnosis method, device, equipment and readable storage medium
CN115086199A (en) * 2021-03-15 2022-09-20 中国电信股份有限公司 Network quality testing method and device, storage medium and electronic equipment
CN115134271A (en) * 2021-03-22 2022-09-30 湖南智领通信科技有限公司 Fault detection method and device for IP transparent transmission ad hoc network and computer equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243053B (en) * 2016-12-27 2020-12-22 中国移动通信集团浙江有限公司 Packet loss fault positioning method and device
CN106789437B (en) * 2016-12-29 2020-07-28 瑞斯康达科技发展股份有限公司 Message processing method, forwarding method, related device and packet loss rate measuring method
CN108055162B (en) * 2017-12-29 2020-12-25 瑞斯康达科技发展股份有限公司 Fault determination method and node
CN110868321B (en) * 2019-11-14 2022-12-06 四川中灌现代农业有限公司 Fault positioning method and system based on edge calculation algorithm verification
CN112787843B (en) * 2020-06-16 2022-04-29 中兴通讯股份有限公司 Method for detecting fault node, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099955A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM fault isolation
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
US20100014435A1 (en) * 2008-07-18 2010-01-21 Embarq Holdings Company, Llc System and method for tracking alarms in a packet network
US20120039184A1 (en) * 2010-08-11 2012-02-16 Alaxala Networks Corporation Network system, layer 2 switch, and method of detecting occurrence of a fault in a network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050099955A1 (en) * 2003-11-10 2005-05-12 Nortel Networks Limited Ethernet OAM fault isolation
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
US20100014435A1 (en) * 2008-07-18 2010-01-21 Embarq Holdings Company, Llc System and method for tracking alarms in a packet network
US20120039184A1 (en) * 2010-08-11 2012-02-16 Alaxala Networks Corporation Network system, layer 2 switch, and method of detecting occurrence of a fault in a network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132140A (en) * 2019-12-31 2021-07-16 深信服科技股份有限公司 Network fault detection method, device, equipment and storage medium
CN113132140B (en) * 2019-12-31 2023-02-03 深信服科技股份有限公司 Network fault detection method, device, equipment and storage medium
CN114338568A (en) * 2020-09-30 2022-04-12 中车株洲电力机车研究所有限公司 Data flow statistical method and Ethernet switch
CN114338568B (en) * 2020-09-30 2024-03-01 中车株洲电力机车研究所有限公司 Data stream statistics method and Ethernet switch
CN115086199A (en) * 2021-03-15 2022-09-20 中国电信股份有限公司 Network quality testing method and device, storage medium and electronic equipment
CN115134271A (en) * 2021-03-22 2022-09-30 湖南智领通信科技有限公司 Fault detection method and device for IP transparent transmission ad hoc network and computer equipment
CN115134271B (en) * 2021-03-22 2023-07-25 湖南智领通信科技有限公司 Fault detection method and device for IP transparent transmission ad hoc network and computer equipment
CN114374855A (en) * 2022-01-05 2022-04-19 烽火通信科技股份有限公司 Live broadcast screen splash diagnosis method, device, equipment and readable storage medium
CN114374855B (en) * 2022-01-05 2023-05-23 烽火通信科技股份有限公司 Live broadcast screen diagnosis method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN106034045A (en) 2016-10-19

Similar Documents

Publication Publication Date Title
WO2016150105A1 (en) Fault location method, device and system for ethernet link
US9917745B2 (en) Validation of chained network services
US7742400B2 (en) Method and system for detecting link failure between nodes in a hybrid network
US7924725B2 (en) Ethernet OAM performance management
US20050099955A1 (en) Ethernet OAM fault isolation
US9491074B2 (en) Method, apparatus, and system for detecting connectivity
US20050099954A1 (en) Ethernet OAM network topography discovery
US9331837B2 (en) Method and device for detecting 1588 time error between network elements
JP5506801B2 (en) Transport network failure detection
US11139995B2 (en) Methods and router devices for verifying a multicast datapath
US9781005B2 (en) Technique for ensuring congruency in link aggregation
KR20140117993A (en) Mpls-tp network and method for link failure trace
CN103840980A (en) Method and device for detecting connectivity of bidirectional LSP
US8254271B1 (en) Point-to-multipoint connectivity verification
US20160344614A1 (en) Network Topology Discovery by Resolving Loops
JP4985872B2 (en) Route analyzer
WO2011124184A2 (en) Method, destination network node apparatus and mobile transmission network system for processing packet loss
US10148515B2 (en) Determining connections of non-external network facing ports
US9667439B2 (en) Determining connections between disconnected partial trees
WO2014008809A1 (en) Frame loss detection method and system
CN102752169B (en) Transmitting, monitoring method and device
JP7334392B2 (en) Bit error reporting method and related devices
CN104518911A (en) MPLS (multi-protocol label switching)-TP (transport profile)-based PTN (packet transport network) fault detection method
WO2011107049A2 (en) Label switched path checking method and detection system
WO2012159273A1 (en) Fault detection method and device

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: 15886034

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: 15886034

Country of ref document: EP

Kind code of ref document: A1