WO2016107086A1 - Method and device for optimizing loss monitoring - Google Patents
Method and device for optimizing loss monitoring Download PDFInfo
- Publication number
- WO2016107086A1 WO2016107086A1 PCT/CN2015/081178 CN2015081178W WO2016107086A1 WO 2016107086 A1 WO2016107086 A1 WO 2016107086A1 CN 2015081178 W CN2015081178 W CN 2015081178W WO 2016107086 A1 WO2016107086 A1 WO 2016107086A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network element
- time point
- dlm
- interacts
- time synchronization
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Definitions
- This paper deals with the field of OAM (Operation, administration and maintenance) of Ethernet networks, and in particular relates to a method and apparatus for optimizing loss monitoring.
- OAM Operaation, administration and maintenance
- LM Loss measurement
- ETH Ethernet, MAC layer network
- the main function is to test the frame loss rate.
- the basic definition is: the number of undelivered service frames expressed as a percentage divided by the ratio of the total number of service frames in the time interval T.
- the number of service frames not delivered here refers to the difference between the number of service frames arriving at the ingress ETH stream contact point and the number of service frames delivered to the egress ETH stream contact point in a point-to-point ETH connection.
- the ETH-LM can be implemented in two ways: DLM (Double End Loss Measurement) and LMM (Single End Loss Measurement). The principle and problem of the DLM double-end are mainly described here. The end does not exist).
- the MEP Management Entity Group Point
- TxFCl Counter To counter for unsupervised data frames sent to the peer MEP.
- RxFCl Counter Counter for the unsupervised data frame received from the peer MEP.
- the dual-ended ETH-LM is used for active OAM for performance monitoring and can be applied to error management.
- each MEP periodically transmits a double-ended frame with ETH-LM information to its peer MEP to facilitate frame loss measurements at the peer MEP.
- Each MEP terminates a double-ended frame with ETH-LM information and performs near-end and far-end loss measurements.
- the MEP periodically transmits CCM frames with the following information elements:
- TxFCf The value of the local counter TxFCl when the CCM frame is transmitted.
- RxFCb local counter RxFCl when receiving the last CCM frame from the peer MEP Value.
- TxFCb The value of TxFCf in the last CCM frame received from the peer MEP.
- the transmission of the CCM PDU has a period value equal to the CCM transmission period configured by the transmitting MEP according to the performance monitoring application.
- the receiving MEP will detect a fault condition of an undesired period if the CCM transmission period is different from the configured value.
- the MEP uses the following values for the measurement of the near-end and far-end loss:
- TxFCf, RxFCb, TxFCb of the received CCM frame The values of TxFCf, RxFCb, TxFCb of the received CCM frame and the value of the local counter RxFCl when the CCM frame is received.
- TxFCf, RxFCb, TxFCb of the previous CCM frame and the value of the local counter RxFCl when this previous CCM frame was received are represented as TxFCf[tp], RxFCb[tp], TxFCb[tp], and RxFCl[tp], where tp is the reception time of the previous frame.
- A sends a first CCM message to B, which contains A's local transmit count TxFc1(A) and receive count RxFc1(A).
- B After receiving the CCM message, B fills in the local count TxFc1 (B) of B and the received count RxFc1 (B) into the message sent from A, and temporarily stores it.
- the dual-ended DLM function requires two simultaneous DLMs to be completed.
- the default frequency of the DLM is in the millisecond (100ms), but in the actual configuration process, the different configuration time must be at least seconds.
- One end of the DLM configured in 1s can detect two CCM messages with DLM information, thus achieving the condition for calculating frame loss.
- This paper provides a method and device for optimizing loss monitoring, which effectively eliminates the inversion of the initial counting of DLM due to time difference, makes the calculation of frame loss more accurate, and optimizes the method of loss monitoring.
- a method for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM entity network element, and the method includes:
- the first network element acquires a first time point of the multiple network elements, and performs time synchronization according to the first time point;
- the first network element After the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
- the first network element performs a second time point for uniformly distributing DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command;
- the first network element After the negotiation succeeds, the first network element performs detection and display according to the DLM data sent by the second time point.
- the step of acquiring, by the first network element, the first time point of the multiple network elements, and performing time synchronization according to the first time point includes:
- the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- the step of performing time synchronization between the first network element and the network element that interacts with the first network element by using a precise time synchronization protocol PTP, according to the first time point includes:
- the first network element performs time synchronization with the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
- the content of the preset protocol includes at least:
- the management entity group level identifier of the Ethernet OAM protocol packet the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID.
- the first network element performs a second time for uniformly transmitting DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol that carries a time point according to the start command.
- the steps of negotiation of points include:
- an initial DLM state of the first network element and a network element that interacts with the first network element is an invalid state
- the first network element receives a control command that controls a DLM state change
- the network element that the first network element interacts with the first network element negotiates successfully.
- An apparatus for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM physical network element of an Ethernet, and the apparatus includes:
- the time synchronization module is configured to: obtain the first time point of the plurality of network elements by the first network element, according to the Performing time synchronization at the first time point;
- the receiving module is configured to: after the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
- the protocol negotiation module is configured to: the first network element, according to the open command, use the network element that interacts with the first network element by using a preset protocol that carries a time point to negotiate and deliver DLM data uniformly between the network elements. Second time point;
- the detecting module is configured to: after the negotiation succeeds, the first network element sends the DLM data according to the second time point to detect and display.
- the time synchronization module includes:
- the first obtaining submodule is configured to: the first network element acquires the first time point of the multiple network elements;
- the time synchronization sub-module is configured to: the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- the time synchronization submodule includes:
- the time synchronization unit is configured to: perform time synchronization of the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
- the content of the preset protocol includes at least:
- the management entity group level identifier of the Ethernet OAM protocol packet the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID.
- the protocol negotiation module includes:
- the second obtaining sub-module is configured to: obtain, by the first network element, the initial DLM state of the first network element and the network element that interacts with the first network element to be in an invalid state;
- the receiving submodule is configured to: the first network element receives a control command for controlling a DLM state change;
- a sending sub-module configured to: send, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;
- control sub-module configured to: the first network element receives, by the network element that interacts with the first network element, a network element that has the FLAG as a completion response message and the first network element exchanges If the DLM state is a valid state, the sending of the request message is stopped;
- the negotiation sub-module is configured to: when the DLM state of the first network element is in a valid state and the response message is received, the network element that the first network element interacts with the first network element negotiates successfully.
- a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
- the time difference between the first network element and the other network element is reduced, and the time error of the DLM function is reduced, and then the time point of the DLM data is negotiated by using the protocol with the preset time point.
- the DLM data is sent out, and the DLM data and processing are detected, so that the device synchronization can be completed, and the inversion of the initial DLM count due to the time difference can be effectively eliminated, so that the calculation of the frame loss is more accurate and optimized.
- FIG. 1 is a schematic diagram of a workflow of a related art DLM
- FIG. 2 is a schematic diagram of steps of a method for optimizing loss monitoring according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of content of a message according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a negotiation process according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of an apparatus for optimizing loss monitoring according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of implementing DLM by each module according to an embodiment of the present invention.
- the time difference caused by the manual configuration may cause one device to start detecting first, and the other device to start detecting, and the device detected first starts counting. Then, the device that started later does not count, and within this time difference, a count reversal problem occurs.
- the embodiment of the present invention provides a method and a device for optimizing loss monitoring.
- the DLM data is sent and detected and displayed, so that The achieved synchronization between the devices also avoids the reversal phenomenon and optimizes the loss monitoring.
- the method for optimizing loss monitoring according to an embodiment of the present invention is applied to an operation, management, and maintenance of an OAM entity network element, where the method includes:
- Step 21 The first network element acquires a first time point of the multiple network elements, and performs time synchronization according to the first time point.
- Step 22 After the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element.
- the open command may be a start command initiated by a user.
- Step 23 The first network element performs a second time point for uniformly distributing DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command. ;
- Step 24 After the negotiation is successful, the first network element sends and detects DLM data according to the second time point.
- the CCM message is used as the carrier, but it cannot be all CCM messages. It is necessary to configure the matching CCM message, so there must be a step before calculating the count. 24 detection process.
- step 21 to step 24 by synchronizing the first network element with the other plurality of network elements (step 21), by receiving an open command of the network element that opens the two DLM function interactions (step 22), The time error of the DLM function of the network elements at both ends is reduced, and then the time point of the DLM data is negotiated by using the protocol with the preset time point (step 23), and the DLM data is sent according to the time point, and the detection is performed. DLM data and processing (step 24), so that device synchronization can be completed, and the inversion of the initial DLM count due to the time difference can be effectively eliminated, so that the calculation of frame loss is more accurate, and the loss monitoring method is optimized.
- step 21 includes:
- Step 211 The first network element acquires the first time point of multiple network elements.
- Step 222 The first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- step 222 includes:
- Step 2221 The first network element performs time synchronization with the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
- the content of the preset protocol includes at least:
- the management entity group level identifier of the Ethernet OAM protocol packet the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID.
- the packet attribute includes the type, length, and value of the packet.
- the negotiation is performed by adding a DLMN packet to the original Y1731 protocol.
- the content of the negotiation is mainly the configuration time. The time can be configured by using the device.
- the content of the packet is shown in Figure 3, where MEL (Management entity groups level, management) Entity group level): 3BIT (bit). It contains an integer value that identifies the MEG (Management Entity Group) level of the OAM protocol message. Values range from 0 to 7.
- Version: 5BIT It contains an integer value that identifies the version of the OAM protocol, which is always 0.
- OpCode (operate code, opcode): 8BIT. The value of this type of message is 2, which is used to indicate a subtype message.
- the flag bit is FLAG: 8BIT. Indicates the current negotiation status, 2 indicates that the completion is completed, 1 indicates that the notification is on, and 0 indicates that the notification is closed.
- TLV Type-length-value, type, length and value: 8BIT. It contains the number of offsets of the first TLV in the OAM PDU (Protocol Data Unit) relative to the TLV Offset Value field. The value of this field is associated with the type of OAM PDU. When the TLV offset value is 0, it points to the first byte after the TLV offset value field.
- MEG ID 48 bytes, which contains the MEG ID of the MEG to which the MEP that sends the CCM frame belongs.
- MEP ID 2 bytes, used to identify the MEP that sends the CCM frame.
- the end message attribute identifies TLV: 16BIT.
- the step of negotiating in step 23 includes:
- Step 231 The first network element acquires an initial DLM state of the first network element and a network element that interacts with the first network element, and is in an invalid state.
- Step 232 The first network element receives a control command that controls a DLM state change.
- the control command may be an enable control command for controlling a change in the DLM state.
- Step 233 The first network element sends, according to the control command, a request message that has the FLAG as a notification open to a network element that interacts with the first network element.
- Step 234 the first network element receives the response message with the FLAG being enabled, and the DLM status of the network element that the first network element interacts with is valid. In the state, the sending of the request message is stopped;
- Step 235 the DLM state of the first network element is in an active state, and the response report is received.
- the network element that the first network element interacts with the first network element negotiates successfully.
- This scheme can effectively eliminate the inversion problem of the initial DLM count caused by the time difference, which makes the calculation of frame loss more accurate.
- an example of an embodiment of the present invention is as follows.
- Step 401 In the initial state, the DLM states of the A network element and the B network element are both DOWN (invalid state), and after the A network element is enabled from DISABLE (not enabled) to ENABLE (enabled), the A network element is directed to the B network.
- the element sends a REQUEST message with a FLAG field of 1.
- Step 402 The B network element processes the message in the DLM enable state, and responds to the ACK message with the FLAG field being 2, and the state changes to UP (active state); if the DLM is not enabled, the message does not respond;
- Step 403 After receiving the ACK packet, the network element A does not send the REQUEST packet.
- Step 404 the processing flow of the B network element in sending the REQUEST message is the same as the above;
- Step 405 After the A network element and the B network element satisfy the status of UP, and the ACK (answer) message is received, the original Y1731 protocol configuration is enabled to be delivered.
- the apparatus for optimizing loss monitoring is applied to operation, management, and maintenance of an OAM entity network element, and the apparatus includes:
- the time synchronization module 51 is configured to: acquire, by the first network element, a first time point of the multiple network elements, and perform time synchronization according to the first time point;
- the time synchronization may be the time synchronization module 51 that has been implemented by the PTP, or may be added by itself.
- the time synchronization module 51 is configured to make the subsequent negotiation time an absolute time, so the time synchronization module 51 first synchronizes the time of the two devices, so that the time difference of the last function startup is very small, and the time depends on how small. Time precision of synchronization.
- the receiving module 52 is configured to: after the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
- the opening command may be configured to configure a network element as a manual operation to initiate a command to the network element.
- the protocol negotiation module 53 is configured to: the first network element uniformly sends the DLM data between the negotiating network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command. Second time point;
- the protocol negotiation module 53 is a new module added to the original Y1731 protocol, and may also be referred to as a new protocol module of the Y1731.
- the original Y1731 protocol is set on the original protocol module 55.
- the detecting module 54 is configured to: after the negotiation succeeds, the first network element sends the DLM data according to the second time point to detect and display.
- the detection module 54 is for calculating the last acquired data according to the working hours.
- the detecting module 54 is only responsible for calculating the numerical value, but in order to display the counting and categorizing, the original protocol module 55 is needed to be solved, and the display can be realized through the display interface of the device. .
- the first network element is time-synchronized with the other network elements by the time synchronization module 51, and then the receiving module 52 receives the opening command of the network element that opens the two DLM functions, thereby reducing the time for enabling the DLM function of the network elements at both ends.
- the error and then the protocol negotiation module 53 uses the protocol with the preset time point to negotiate the time point for the DLM data to be sent.
- the time point detection module 54 detects and processes the sent DLM data, so that the device synchronization can be completed. It can also effectively eliminate the inversion of the initial counting of DLM due to the time difference, making the calculation of frame loss more accurate, and optimizing the method of loss monitoring.
- the time synchronization module 51 includes:
- the first obtaining submodule is configured to: the first network element acquires the first time point of the multiple network elements;
- the time synchronization sub-module is configured to: the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- the time synchronization submodule includes:
- the time synchronization unit is configured to: perform, according to the first time point, the time synchronization of the network element that interacts with the first network element by using the precise time synchronization protocol PTP, at least to milliseconds. level.
- the content of the preset protocol includes at least:
- the management entity group level identifier of the Ethernet OAM protocol packet the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID.
- the protocol negotiation module 53 includes:
- the second obtaining sub-module is configured to: obtain, by the first network element, the initial DLM state of the first network element and the network element that interacts with the first network element to be in an invalid state;
- the receiving submodule is configured to: the first network element receives a control command for controlling a DLM state change;
- a sending sub-module configured to: send, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;
- control sub-module configured to: the first network element receives, by the network element that interacts with the first network element, a network element that has the FLAG as a completion response message and the first network element exchanges If the DLM state is a valid state, the sending of the request message is stopped;
- the negotiation sub-module is configured to: when the DLM state of the first network element is in a valid state and the response message is received, the network element that the first network element interacts with the first network element negotiates successfully.
- each module of the present invention is as follows.
- the time synchronization module 51 completes the synchronization of the multiple devices in time; then manually opens the DLM functions at both ends, and uses the protocol negotiation module 53 newly added by the Y1731 to negotiate the protocol level. After the negotiation succeeds, the configuration of the original negotiation module is delivered; The original protocol module 55 sends the DLM configuration data to the detection module 54 to formally turn on the detection, and then the detection module 54 reports the count back to the original protocol module 55.
- the apparatus provided by the embodiment of the present invention is the method for applying the above optimized loss monitoring.
- the apparatus of the method, then all of the above embodiments of the method of optimizing loss monitoring are applicable to the apparatus, and both achieve the same or similar benefits.
- all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
- the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
- the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
- the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the time difference between the first network element and the other network elements is reduced, and the time error of the DLM function is reduced, and then the time point of the DLM data is negotiated by using the protocol with the time point, and the DLM data is performed according to the time point.
- the delivery and detection of DLM data and processing, so that device synchronization can be completed, can also effectively eliminate the inversion of the initial DLM count caused by the time difference, making the calculation of frame loss more accurate, and optimizing the loss monitoring method.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method and device for optimizing loss monitoring. The method is applied to an operation, administration and maintenance (OAM) entity network element of the Ethernet. The method comprises: a first network element acquiring a first time point of a plurality of network elements, and conducting time synchronization according to the first time point; after the time synchronization, the first network element receiving an enable command for enabling double end loss measurement (DLM) functions of the first network element and a network element interacting with the first network element; and according to the enable command, the first network element negotiating a second time point of uniformly issuing DLM data between network elements with the network element interacting with the first network element using a pre-set protocol carrying time points; and after the negotiation is successful, the first network element issuing the DLM data according to the second time point and then detecting and displaying same.
Description
本文涉及以太网网络的OAM(Operation、administration and maintenance,操作、管理和维护)领域,特别是涉及一种优化损耗监测的方法及装置。This paper deals with the field of OAM (Operation, administration and maintenance) of Ethernet networks, and in particular relates to a method and apparatus for optimizing loss monitoring.
LM(loss measurement,损耗测量)是ETH(Ethernet,以太网MAC层网络)OAM中性能检测手段之一,主要作用是测试帧丢失率。其基本定义为:用百分数表示的未传递的服务帧数量除以时间间隔T内服务帧总数的比率。这里未传递的服务帧的数量,是指一个点到点ETH连接中到达入口ETH流接点的服务帧数量和传递到出口ETH流接点服务帧数量之差。ETH-LM可以以两种方式进行:DLM(Double end loss measurement,双端损耗测量)双端和LMM(Single end loss measurement,单端损耗测量)(此处主要描述DLM双端的原理和问题,单端暂不存在)。LM (loss measurement) is one of the performance detection methods in ETH (Ethernet, MAC layer network) OAM. The main function is to test the frame loss rate. The basic definition is: the number of undelivered service frames expressed as a percentage divided by the ratio of the total number of service frames in the time interval T. The number of service frames not delivered here refers to the difference between the number of service frames arriving at the ingress ETH stream contact point and the number of service frames delivered to the egress ETH stream contact point in a point-to-point ETH connection. The ETH-LM can be implemented in two ways: DLM (Double End Loss Measurement) and LMM (Single End Loss Measurement). The principle and problem of the DLM double-end are mainly described here. The end does not exist).
在一个要进行丢失测量的点到点的ME(Maintenance Entity,维护实体)中,MEP(Management entity groups point,管理实体组端点)将为每个对等MEP和要监测的每个优先级等级保持如下两个本地的计数器:In a point-to-point ME (Maintenance Entity) where loss measurements are to be made, the MEP (Management Entity Group Point) will be maintained for each peer MEP and each priority level to be monitored. The following two local counters:
TxFCl:用于发往对等MEP的未超标数据帧的计数器To counter。TxFCl: Counter To counter for unsupervised data frames sent to the peer MEP.
RxFCl:用于从对等MEP接收的未超标数据帧的计数器Reception counter。RxFCl: Counter Counter for the unsupervised data frame received from the peer MEP.
双端的ETH-LM用于性能监测的主动的OAM,可应用于差错管理。在这种情况下,在一个点到点的ME中,每个MEP向它对等的MEP周期地发送带有ETH-LM信息的双端的帧,以便于对等MEP处的帧丢失测量。每个MEP都终结带有ETH-LM信息的双端的帧,并进行近端和远端的丢失测量。MEP周期地发送带有如下信息单元的CCM帧:The dual-ended ETH-LM is used for active OAM for performance monitoring and can be applied to error management. In this case, in a point-to-point ME, each MEP periodically transmits a double-ended frame with ETH-LM information to its peer MEP to facilitate frame loss measurements at the peer MEP. Each MEP terminates a double-ended frame with ETH-LM information and performs near-end and far-end loss measurements. The MEP periodically transmits CCM frames with the following information elements:
TxFCf:在CCM帧传输时本地计数器TxFCl的数值。TxFCf: The value of the local counter TxFCl when the CCM frame is transmitted.
RxFCb:在从对等MEP接收到最后一个CCM帧时本地计数器RxFCl的
数值。RxFCb: local counter RxFCl when receiving the last CCM frame from the peer MEP
Value.
TxFCb:在从对等MEP接收到的最后一个CCM帧中的TxFCf的数值。TxFCb: The value of TxFCf in the last CCM frame received from the peer MEP.
CCM PDU的发送有一个周期值,该周期值等于发送端MEP按性能监测应用配置的CCM传输周期。接收端MEP将检测出非期望周期的故障情况,如果该CCM传输周期与配置的数值不同的话。MEP在接收到一个CCM帧时,将使用如下数值来进行近端和远端丢失的测量:The transmission of the CCM PDU has a period value equal to the CCM transmission period configured by the transmitting MEP according to the performance monitoring application. The receiving MEP will detect a fault condition of an undesired period if the CCM transmission period is different from the configured value. When the MEP receives a CCM frame, it uses the following values for the measurement of the near-end and far-end loss:
所接收CCM帧的TxFCf、RxFCb、TxFCb的数值和该CCM帧接收时本地计数器RxFCl的数值。The values of TxFCf, RxFCb, TxFCb of the received CCM frame and the value of the local counter RxFCl when the CCM frame is received.
这些数值被表示为TxFCf[tc]、RxFCb[tc]、TxFCb[tc]和RxFCl[tc],这里tc是当前那个帧的接收时间。These values are represented as TxFCf[tc], RxFCb[tc], TxFCb[tc], and RxFCl[tc], where tc is the reception time of the current frame.
前一个CCM帧的TxFCf、RxFCb、TxFCb的数值和这前一个CCM帧接收时本地计数器RxFCl的数值。这些数值被表示为TxFCf[tp]、RxFCb[tp]、TxFCb[tp]和RxFCl[tp],这里tp是前一个帧的接收时间。The values of TxFCf, RxFCb, TxFCb of the previous CCM frame and the value of the local counter RxFCl when this previous CCM frame was received. These values are represented as TxFCf[tp], RxFCb[tp], TxFCb[tp], and RxFCl[tp], where tp is the reception time of the previous frame.
帧丢失远端=|TxFCb[tc] TxFCb[tp]| |RxFCb[tc] RxFCb[tp]|Frame Loss Far End =|TxFCb[tc] TxFCb[tp]| |RxFCb[tc] RxFCb[tp]|
帧丢失近端=|TxFCf[tc] TxFCf[tp]| |RxFCl[tc] RxFCl[tp]|Frame loss near-end =|TxFCf[tc] TxFCf[tp]| |RxFCl[tc] RxFCl[tp]|
1、A向B发送第一个CCM报文,报文内包含A的本地发送计数TxFc1(A)和接收计数RxFc1(A)1. A sends a first CCM message to B, which contains A's local transmit count TxFc1(A) and receive count RxFc1(A).
2、B收到CCM报文后,将B的本地计数TxFc1(B)和接收计数RxFc1(B)填入到从A发送来的报文里面,暂存。2. After receiving the CCM message, B fills in the local count TxFc1 (B) of B and the received count RxFc1 (B) into the message sent from A, and temporarily stores it.
3/4、重复同上的步骤,获取同样的数据,然后分别代入公式:3/4, repeat the same steps as above, get the same data, and then substitute the formula:
帧丢失远端=|TxFC2(A) TxFC1(A)| |RxFC2(B) RxFC1(B)|Frame Loss Far End =|TxFC2(A) TxFC1(A)| |RxFC2(B) RxFC1(B)|
帧丢失近端=|TxFC2(B) TxFC1(B)| |RxFC2(A) RxFC1(A)|Frame Loss Near End =|TxFC2(B) TxFC1(B)| |RxFC2(A) RxFC1(A)|
按照以上过程帧丢失数据会存在特殊情况下发生难以避免的反转,原因如下:According to the above process frame loss data, there will be an inevitable reversal in special cases for the following reasons:
首先,双端DLM功能是需要两台同时开启DLM才能完成,在Y.1731协议中DLM的默认频率是在毫秒级(100ms),但是在实际配置过程中,不同的配置时间最少也要达到秒级(>1s),根据3.5倍的检测时间(350ms),
在1s内早配置DLM的一端完全可以检测到两个带有DLM信息的CCM报文,从而达到了计算帧丢失的条件。First, the dual-ended DLM function requires two simultaneous DLMs to be completed. In the Y.1731 protocol, the default frequency of the DLM is in the millisecond (100ms), but in the actual configuration process, the different configuration time must be at least seconds. Level (>1s), based on 3.5 times the detection time (350ms),
One end of the DLM configured in 1s can detect two CCM messages with DLM information, thus achieving the condition for calculating frame loss.
如图1为例,假设先在B启用DLM,后在A开启,中间存在1s的配置时差。在B刚使能DLM后会对A发过来的第一个CCM报文进行DLM计数,并且B已经开始进行计数,也就是RxFC1(B)值不为0,但是TxFC1(A)为0,因为A还未开启DLM不存在计数,由于发送间隔是100ms,所以收到的第2个CCM报文TxFC2(A)字段依旧是0,RxFC2(B)也是有值的,此时已满足计算远端帧丢失的条件,代入公式之后|TxFC2(A) TxFC1(A)|为0,|RxFC2(B) RxFC1(B)|>0,前者减去后者值为负数,如果用无符号计数,会造成差值很大,形成反转现象。As shown in Figure 1, suppose that DLM is enabled in B first, then A is turned on, and there is a configuration time difference of 1 s in the middle. After B just enables DLM, the first CCM message sent by A is DLM counted, and B has started counting, that is, RxFC1(B) value is not 0, but TxFC1(A) is 0 because A has not yet started the DLM non-existence count. Since the transmission interval is 100ms, the received second CCM message TxFC2(A) field is still 0, and RxFC2(B) is also valued. The condition of frame loss, after substituting into the formula |TxFC2(A) TxFC1(A)| is 0, |RxFC2(B) RxFC1(B)|>0, the former minus the latter value is negative, if using unsigned count, The difference is large and the reversal phenomenon is formed.
发明内容Summary of the invention
本文提供一种优化损耗监测的方法及装置,有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确,同时优化了损耗监测的方法。This paper provides a method and device for optimizing loss monitoring, which effectively eliminates the inversion of the initial counting of DLM due to time difference, makes the calculation of frame loss more accurate, and optimizes the method of loss monitoring.
一种优化损耗监测的方法,应用于以太网的操作、管理和维护OAM实体网元,所述方法包括:A method for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM entity network element, and the method includes:
第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步;The first network element acquires a first time point of the multiple network elements, and performs time synchronization according to the first time point;
在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;After the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;The first network element performs a second time point for uniformly distributing DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command;
在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。After the negotiation succeeds, the first network element performs detection and display according to the DLM data sent by the second time point.
可选的,所述第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步的步骤,包括:Optionally, the step of acquiring, by the first network element, the first time point of the multiple network elements, and performing time synchronization according to the first time point, includes:
所述第一网元获取多个网元的所述第一时间点;
Obtaining, by the first network element, the first time point of the multiple network elements;
所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。The first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
可选的,所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步的步骤,包括:Optionally, the step of performing time synchronization between the first network element and the network element that interacts with the first network element by using a precise time synchronization protocol PTP, according to the first time point, includes:
所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒级。The first network element performs time synchronization with the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
可选的,所述预设协议的内容至少包括:Optionally, the content of the preset protocol includes at least:
以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. The identifier, the hour of the time point, the point of the time point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
可选的,所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点的协商的步骤包括:Optionally, the first network element performs a second time for uniformly transmitting DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol that carries a time point according to the start command. The steps of negotiation of points include:
所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;Obtaining, by the first network element, an initial DLM state of the first network element and a network element that interacts with the first network element is an invalid state;
所述第一网元接收控制DLM状态改变的控制命令;The first network element receives a control command that controls a DLM state change;
所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;Transmitting, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;
所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文;Receiving, by the first network element, the network element that is in contact with the first network element, the DLM state of the network element that has the FLAG is enabled, and the network element that the first network element interacts with is valid. Stop sending the request message;
在所述第一网元的DLM状态为有效状态且接收到所述应答报文,则所述第一网元与所述第一网元交互的网元协商成功。After the DLM state of the first network element is in a valid state and the response packet is received, the network element that the first network element interacts with the first network element negotiates successfully.
一种优化损耗监测的装置,应用于以太网的操作、管理和维护OAM实体网元,所述装置包括:An apparatus for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM physical network element of an Ethernet, and the apparatus includes:
时间同步模块,设置为:第一网元获取多个网元的第一时间点,根据所
述第一时间点进行时间同步;The time synchronization module is configured to: obtain the first time point of the plurality of network elements by the first network element, according to the
Performing time synchronization at the first time point;
接收模块,设置为:在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;The receiving module is configured to: after the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
协议协商模块,设置为:所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;The protocol negotiation module is configured to: the first network element, according to the open command, use the network element that interacts with the first network element by using a preset protocol that carries a time point to negotiate and deliver DLM data uniformly between the network elements. Second time point;
检测模块,设置为:在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。The detecting module is configured to: after the negotiation succeeds, the first network element sends the DLM data according to the second time point to detect and display.
可选的,所述时间同步模块包括:Optionally, the time synchronization module includes:
第一获取子模块,设置为:所述第一网元获取多个网元的所述第一时间点;The first obtaining submodule is configured to: the first network element acquires the first time point of the multiple network elements;
时间同步子模块,设置为:所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。The time synchronization sub-module is configured to: the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
可选的,所述时间同步子模块包括:Optionally, the time synchronization submodule includes:
时间同步单元,设置为:所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒级。The time synchronization unit is configured to: perform time synchronization of the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
可选的,所述预设协议的内容至少包括:Optionally, the content of the preset protocol includes at least:
以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. The identifier, the hour of the time point, the point of the time point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
可选的,所述协议协商模块包括:Optionally, the protocol negotiation module includes:
第二获取子模块,设置为:所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;
The second obtaining sub-module is configured to: obtain, by the first network element, the initial DLM state of the first network element and the network element that interacts with the first network element to be in an invalid state;
接收子模块,设置为:所述第一网元接收控制DLM状态改变的控制命令;The receiving submodule is configured to: the first network element receives a control command for controlling a DLM state change;
发送子模块,设置为:所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;a sending sub-module, configured to: send, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;
控制子模块,设置为:所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文;a control sub-module, configured to: the first network element receives, by the network element that interacts with the first network element, a network element that has the FLAG as a completion response message and the first network element exchanges If the DLM state is a valid state, the sending of the request message is stopped;
协商子模块,设置为:在所述第一网元的DLM状态为有效状态且接收到所述应答报文,则所述第一网元与所述第一网元交互的网元协商成功。The negotiation sub-module is configured to: when the DLM state of the first network element is in a valid state and the response message is received, the network element that the first network element interacts with the first network element negotiates successfully.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例的方案中,通过将第一网元与其他网元进行时间同步,减少开启DLM功能的时间误差,然后再利用预设具有时间点的协议进行协商下发DLM数据的时间点,根据时间点进行DLM数据的下发,并检测DLM数据与处理,这样就可以完成设备同步,也能有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确,同时优化了损耗监测的方法。In the solution of the embodiment of the present invention, the time difference between the first network element and the other network element is reduced, and the time error of the DLM function is reduced, and then the time point of the DLM data is negotiated by using the protocol with the preset time point. According to the time point, the DLM data is sent out, and the DLM data and processing are detected, so that the device synchronization can be completed, and the inversion of the initial DLM count due to the time difference can be effectively eliminated, so that the calculation of the frame loss is more accurate and optimized. The method of loss monitoring.
附图概述BRIEF abstract
图1为相关技术的DLM的工作流程示意图;FIG. 1 is a schematic diagram of a workflow of a related art DLM;
图2为本发明实施例的优化损耗监测的方法的步骤示意图;2 is a schematic diagram of steps of a method for optimizing loss monitoring according to an embodiment of the present invention;
图3为本发明实施例的报文内容示意图;FIG. 3 is a schematic diagram of content of a message according to an embodiment of the present invention; FIG.
图4为本发明实施例的协商流程示意图;4 is a schematic diagram of a negotiation process according to an embodiment of the present invention;
图5为本发明实施例的优化损耗监测的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for optimizing loss monitoring according to an embodiment of the present invention; FIG.
图6为本发明实施例的每个模块配合实现DLM的示意图。
FIG. 6 is a schematic diagram of implementing DLM by each module according to an embodiment of the present invention.
下面将结合附图对本发明的实施例进行描述。Embodiments of the present invention will now be described with reference to the drawings.
本发明实施例针对相关技术中在不同启动两个设备时,由于手动配置会带来时间差,导致一侧设备先开始检测,另一侧设备后开始检测,先开始的设备检测的会有计数产生,而后开始的设备没有计数,在这段时间差内,就会产生计数反转问题。When the two devices are started differently in the related art, the time difference caused by the manual configuration may cause one device to start detecting first, and the other device to start detecting, and the device detected first starts counting. Then, the device that started later does not count, and within this time difference, a count reversal problem occurs.
本发明实施例提供一种优化损耗监测的方法及装置,通过先给网元同步的时间,再协商一个统一的下发配置的时间点,然后将DLM数据进行下发检测并显示,这样就可以实现了的设备间的同步,也避免了反转现象,同时也优化了损耗监测。The embodiment of the present invention provides a method and a device for optimizing loss monitoring. By first synchronizing the time of the network element, and then negotiating a time point of a unified delivery configuration, the DLM data is sent and detected and displayed, so that The achieved synchronization between the devices also avoids the reversal phenomenon and optimizes the loss monitoring.
如图2所示,本发明实施例的优化损耗监测的方法,应用于以太网的操作、管理和维护OAM实体网元,其中所述方法包括:As shown in FIG. 2, the method for optimizing loss monitoring according to an embodiment of the present invention is applied to an operation, management, and maintenance of an OAM entity network element, where the method includes:
步骤21,第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步;Step 21: The first network element acquires a first time point of the multiple network elements, and performs time synchronization according to the first time point.
步骤22,在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;Step 22: After the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element.
其中所述开启命令可以是指用户发起的启动命令。The open command may be a start command initiated by a user.
步骤23,所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;Step 23: The first network element performs a second time point for uniformly distributing DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command. ;
步骤24,在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。Step 24: After the negotiation is successful, the first network element sends and detects DLM data according to the second time point.
因为网元的计数要到对端网元上,所以通过CCM报文作为载体,但是也不能是所有的CCM报文,是需要配置匹配的CCM报文,所以在计算计数之前先要有个步骤24的检测过程。Because the network element counts to the peer network element, the CCM message is used as the carrier, but it cannot be all CCM messages. It is necessary to configure the matching CCM message, so there must be a step before calculating the count. 24 detection process.
在步骤21至步骤24中,通过将第一网元与其他多个网元进行时间同步(步骤21),通过接收开启两个DLM功能交互的网元的开启命令(步骤22),
减少了开启两端网元的DLM功能的时间误差,然后再利用预设具有时间点的协议进行协商下发DLM数据的时间点(步骤23),根据时间点进行DLM数据的下发,并检测DLM数据与处理(步骤24),这样就可以完成设备同步,也能有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确,同时优化了损耗监测的方法。In step 21 to step 24, by synchronizing the first network element with the other plurality of network elements (step 21), by receiving an open command of the network element that opens the two DLM function interactions (step 22),
The time error of the DLM function of the network elements at both ends is reduced, and then the time point of the DLM data is negotiated by using the protocol with the preset time point (step 23), and the DLM data is sent according to the time point, and the detection is performed. DLM data and processing (step 24), so that device synchronization can be completed, and the inversion of the initial DLM count due to the time difference can be effectively eliminated, so that the calculation of frame loss is more accurate, and the loss monitoring method is optimized.
为了能达到让设备双方同时开启DLM的效果,因此本发明实施例的优化损耗监测的方法中,步骤21包括:In order to achieve the effect of enabling both parties to simultaneously turn on the DLM, in the method for optimizing loss monitoring in the embodiment of the present invention, step 21 includes:
步骤211,所述第一网元获取多个网元的所述第一时间点;Step 211: The first network element acquires the first time point of multiple network elements.
步骤222,所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。Step 222: The first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
本发明实施例的优化损耗监测的方法中,步骤222包括:In the method for optimizing loss monitoring in the embodiment of the present invention, step 222 includes:
步骤2221,所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒级。Step 2221: The first network element performs time synchronization with the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
为了作为承载绝对时间,可以实现在同一时刻开启网元来减少误差,因此本发明实施例的优化损耗监测的方法中,所述预设协议的内容至少包括:In the method for optimizing loss monitoring in the embodiment of the present invention, the content of the preset protocol includes at least:
以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. The identifier, the hour of the time point, the point of the time point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
其中所述报文属性包括报文的类型、长度与数值。The packet attribute includes the type, length, and value of the packet.
利用在原始的Y1731协议新增DLMN报文完成协商,协商内容主要是配置下发时间点,时间点可以利用设备配置,报文内容见如图3所示,其中MEL(Management entity groups level,管理实体组等级):3BIT(位)。它包含一个整数数值,用于标识OAM协议报文的MEG(Management entity groups,管理实体组)等级。数值范围从0到7。The negotiation is performed by adding a DLMN packet to the original Y1731 protocol. The content of the negotiation is mainly the configuration time. The time can be configured by using the device. The content of the packet is shown in Figure 3, where MEL (Management entity groups level, management) Entity group level): 3BIT (bit). It contains an integer value that identifies the MEG (Management Entity Group) level of the OAM protocol message. Values range from 0 to 7.
版本:5BIT。它包含一个整数数值,用于标识OAM协议的版本,其版本总是为0。
Version: 5BIT. It contains an integer value that identifies the version of the OAM protocol, which is always 0.
OpCode(operate code,操作码):8BIT。这种报文类型的数值是2,用来表示次类型报文。OpCode (operate code, opcode): 8BIT. The value of this type of message is 2, which is used to indicate a subtype message.
标志位FLAG:8BIT。表示当前的协商状态,2表示开启完成,1表示通知开启,0表示通知关闭。The flag bit is FLAG: 8BIT. Indicates the current negotiation status, 2 indicates that the completion is completed, 1 indicates that the notification is on, and 0 indicates that the notification is closed.
TLV(Type-length-value,类型、长度与数值):8BIT。它包含OAM PDU(Protocol Data Unit,协议数据单元)中第一个TLV相对于TLV偏置值字段的偏置数量。这一字段的数值与OAM PDU的类型相联系。当TLV偏置值为0时,它指向TLV偏置值字段后的第一个字节。TLV (Type-length-value, type, length and value): 8BIT. It contains the number of offsets of the first TLV in the OAM PDU (Protocol Data Unit) relative to the TLV Offset Value field. The value of this field is associated with the type of OAM PDU. When the TLV offset value is 0, it points to the first byte after the TLV offset value field.
MEG ID:48字节,它包含发送CCM帧的MEP所属的MEG的MEG ID。MEG ID: 48 bytes, which contains the MEG ID of the MEG to which the MEP that sends the CCM frame belongs.
MEP ID(IDentity,身份标识号码):2字节,用于标识发送CCM帧的MEP。MEP ID (IDentity): 2 bytes, used to identify the MEP that sends the CCM frame.
小时:6BIT;分种:6BIT;秒:8BIT;毫秒:22BIT。Hours: 6 BIT; sub-category: 6 BIT; seconds: 8 BIT; milliseconds: 22 BIT.
终了报文属性标识TLV:16BIT。The end message attribute identifies TLV: 16BIT.
为了实现Y1731新增协议DLMN报文的协商过程,因此本发明实施例的优化损耗监测的方法中,步骤23的协商的步骤包括:In order to implement the negotiation process of the Y1731 new protocol DLMN packet, in the method for optimizing the loss monitoring in the embodiment of the present invention, the step of negotiating in step 23 includes:
步骤231,所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;Step 231: The first network element acquires an initial DLM state of the first network element and a network element that interacts with the first network element, and is in an invalid state.
步骤232,所述第一网元接收控制DLM状态改变的控制命令;Step 232: The first network element receives a control command that controls a DLM state change.
其中所述控制命令可以是一个使能控制命令,用于控制DLM状态的改变。The control command may be an enable control command for controlling a change in the DLM state.
步骤233,所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;Step 233: The first network element sends, according to the control command, a request message that has the FLAG as a notification open to a network element that interacts with the first network element.
步骤234,所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文;Step 234, the first network element receives the response message with the FLAG being enabled, and the DLM status of the network element that the first network element interacts with is valid. In the state, the sending of the request message is stopped;
步骤235,在所述第一网元的DLM状态为有效状态且接收到所述应答报
文,则所述第一网元与所述第一网元交互的网元协商成功。Step 235, the DLM state of the first network element is in an active state, and the response report is received.
The network element that the first network element interacts with the first network element negotiates successfully.
本方案能有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确。This scheme can effectively eliminate the inversion problem of the initial DLM count caused by the time difference, which makes the calculation of frame loss more accurate.
如图4所示,本发明实施例的举例如下。As shown in FIG. 4, an example of an embodiment of the present invention is as follows.
步骤401,初始状态下A网元和B网元的DLM状态均为DOWN(无效状态),A网元使能从DISABLE(非使能)到ENABLE(使能)之后,A网元向B网元发送FLAG字段为1的REQUEST(请求)报文;Step 401: In the initial state, the DLM states of the A network element and the B network element are both DOWN (invalid state), and after the A network element is enabled from DISABLE (not enabled) to ENABLE (enabled), the A network element is directed to the B network. The element sends a REQUEST message with a FLAG field of 1.
步骤402,B网元在DLM使能状态下处理报文,并且回应FLAG字段为2的ACK报文,状态变化为UP(有效状态);如果非使能DLM,则不响应;Step 402: The B network element processes the message in the DLM enable state, and responds to the ACK message with the FLAG field being 2, and the state changes to UP (active state); if the DLM is not enabled, the message does not respond;
步骤403,A网元收到ACK报文后不再发送REQUEST报文;Step 403: After receiving the ACK packet, the network element A does not send the REQUEST packet.
步骤404,B网元在发送REQUEST报文的处理流程和上述一样;Step 404, the processing flow of the B network element in sending the REQUEST message is the same as the above;
步骤405,当A网元和B网元满足状态为UP,并且收到ACK(应答)报文之后,启用原始Y1731协议配置进行下发。Step 405: After the A network element and the B network element satisfy the status of UP, and the ACK (answer) message is received, the original Y1731 protocol configuration is enabled to be delivered.
相应的,如图5所示,本发明实施例的优化损耗监测的装置,应用于以太网的操作、管理和维护OAM实体网元,所述装置包括:Correspondingly, as shown in FIG. 5, the apparatus for optimizing loss monitoring according to the embodiment of the present invention is applied to operation, management, and maintenance of an OAM entity network element, and the apparatus includes:
时间同步模块51,设置为:第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步;The time synchronization module 51 is configured to: acquire, by the first network element, a first time point of the multiple network elements, and perform time synchronization according to the first time point;
其中上述时间同步可以是PTP这种已经实现的时间同步模块51,也可以通过自行新增模块。所述时间同步模块51是为了使得后面的协商时间是个绝对时间,所以利用时间同步模块51先同步两个设备的时间,这样才能保证最后功能启动的时间差是非常微小的,至于多小要看时间同步的时间精度。The time synchronization may be the time synchronization module 51 that has been implemented by the PTP, or may be added by itself. The time synchronization module 51 is configured to make the subsequent negotiation time an absolute time, so the time synchronization module 51 first synchronizes the time of the two devices, so that the time difference of the last function startup is very small, and the time depends on how small. Time precision of synchronization.
接收模块52,设置为:在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;The receiving module 52 is configured to: after the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;
其中所述开启命令可以是指将网元配置为人工操作来向网元发起的启动命令。
The opening command may be configured to configure a network element as a manual operation to initiate a command to the network element.
协议协商模块53,设置为:所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;The protocol negotiation module 53 is configured to: the first network element uniformly sends the DLM data between the negotiating network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command. Second time point;
其中协议协商模块53是在原来的Y1731协议上新增的模块,也可以称为Y1731新增协议模块,而原来的Y1731协议是设置在原始协议模块55上的。The protocol negotiation module 53 is a new module added to the original Y1731 protocol, and may also be referred to as a new protocol module of the Y1731. The original Y1731 protocol is set on the original protocol module 55.
检测模块54,设置为:在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。The detecting module 54 is configured to: after the negotiation succeeds, the first network element sends the DLM data according to the second time point to detect and display.
检测模块54是为了将最后获取的数据按照工时进行计算,检测模块54只是负责将数值计算出来,但是为了将计数归类显示出来还需要原始协议模块55解决,显示可以通过设备的显示界面去实现。The detection module 54 is for calculating the last acquired data according to the working hours. The detecting module 54 is only responsible for calculating the numerical value, but in order to display the counting and categorizing, the original protocol module 55 is needed to be solved, and the display can be realized through the display interface of the device. .
通过时间同步模块51将第一网元与其他多个网元进行时间同步,然后接收模块52接收开启两个DLM功能交互的网元的开启命令,减少了开启两端网元的DLM功能的时间误差,再然后协议协商模块53利用预设具有时间点的协议进行协商下发DLM数据的时间点,最后根据时间点检测模块54对下发的DLM数据进行检测与处理,这样就可以完成设备同步,也能有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确,同时优化了损耗监测的方法。The first network element is time-synchronized with the other network elements by the time synchronization module 51, and then the receiving module 52 receives the opening command of the network element that opens the two DLM functions, thereby reducing the time for enabling the DLM function of the network elements at both ends. The error, and then the protocol negotiation module 53 uses the protocol with the preset time point to negotiate the time point for the DLM data to be sent. Finally, the time point detection module 54 detects and processes the sent DLM data, so that the device synchronization can be completed. It can also effectively eliminate the inversion of the initial counting of DLM due to the time difference, making the calculation of frame loss more accurate, and optimizing the method of loss monitoring.
本发明又一实施例的优化损耗监测的装置中,所述时间同步模块51包括:In an apparatus for optimizing loss monitoring according to still another embodiment of the present invention, the time synchronization module 51 includes:
第一获取子模块,设置为:所述第一网元获取多个网元的所述第一时间点;The first obtaining submodule is configured to: the first network element acquires the first time point of the multiple network elements;
时间同步子模块,设置为:所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。The time synchronization sub-module is configured to: the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
本发明又一实施例的优化损耗监测的装置中,所述时间同步子模块包括:In an apparatus for optimizing loss monitoring according to still another embodiment of the present invention, the time synchronization submodule includes:
时间同步单元,设置为:所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒
级。The time synchronization unit is configured to: perform, according to the first time point, the time synchronization of the network element that interacts with the first network element by using the precise time synchronization protocol PTP, at least to milliseconds.
level.
本发明又一实施例的优化损耗监测的装置中,所述预设协议的内容至少包括:In an apparatus for optimizing loss monitoring according to still another embodiment of the present invention, the content of the preset protocol includes at least:
以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. The identifier, the hour of the time point, the point of the time point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
本发明又一实施例的优化损耗监测的装置中,所述协议协商模块53包括:In an apparatus for optimizing loss monitoring according to still another embodiment of the present invention, the protocol negotiation module 53 includes:
第二获取子模块,设置为:所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;The second obtaining sub-module is configured to: obtain, by the first network element, the initial DLM state of the first network element and the network element that interacts with the first network element to be in an invalid state;
接收子模块,设置为:所述第一网元接收控制DLM状态改变的控制命令;The receiving submodule is configured to: the first network element receives a control command for controlling a DLM state change;
发送子模块,设置为:所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;a sending sub-module, configured to: send, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;
控制子模块,设置为:所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文;a control sub-module, configured to: the first network element receives, by the network element that interacts with the first network element, a network element that has the FLAG as a completion response message and the first network element exchanges If the DLM state is a valid state, the sending of the request message is stopped;
协商子模块,设置为:在所述第一网元的DLM状态为有效状态且接收到所述应答报文,则所述第一网元与所述第一网元交互的网元协商成功。The negotiation sub-module is configured to: when the DLM state of the first network element is in a valid state and the response message is received, the network element that the first network element interacts with the first network element negotiates successfully.
如图6所示,本发明的每个模块的实施例的举例如下。As shown in Fig. 6, an example of an embodiment of each module of the present invention is as follows.
由时间同步模块51完成多台设备时间上的同步;然后人工分别开启两端的DLM功能,利用Y1731新增的协议协商模块53进行协议层面的协商,协商成功后下发原始协商模块的配置;最后原始协议模块55将DLM配置数据下发到检测模块54,正式开启检测,后续由检测模块54上报计数返回给原始协议模块55。The time synchronization module 51 completes the synchronization of the multiple devices in time; then manually opens the DLM functions at both ends, and uses the protocol negotiation module 53 newly added by the Y1731 to negotiate the protocol level. After the negotiation succeeds, the configuration of the original negotiation module is delivered; The original protocol module 55 sends the DLM configuration data to the detection module 54 to formally turn on the detection, and then the detection module 54 reports the count back to the original protocol module 55.
需要说明的是,本发明实施例提供的装置是应用上述优化损耗监测的方
法的装置,则上述优化损耗监测的方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the apparatus provided by the embodiment of the present invention is the method for applying the above optimized loss monitoring.
The apparatus of the method, then all of the above embodiments of the method of optimizing loss monitoring are applicable to the apparatus, and both achieve the same or similar benefits.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
本发明实施例通过将第一网元与其他网元进行时间同步,减少开启DLM功能的时间误差,然后再利用具有时间点的协议进行协商下发DLM数据的时间点,根据时间点进行DLM数据的下发,并检测DLM数据与处理,这样就可以完成设备同步,也能有效消除由于时间差导致的DLM初期计数的反转问题,使得帧丢失的计算更加精确,同时优化了损耗监测的方法。
In the embodiment of the present invention, the time difference between the first network element and the other network elements is reduced, and the time error of the DLM function is reduced, and then the time point of the DLM data is negotiated by using the protocol with the time point, and the DLM data is performed according to the time point. The delivery and detection of DLM data and processing, so that device synchronization can be completed, can also effectively eliminate the inversion of the initial DLM count caused by the time difference, making the calculation of frame loss more accurate, and optimizing the loss monitoring method.
Claims (11)
- 一种优化损耗监测的方法,应用于以太网的操作、管理和维护OAM实体网元,所述方法包括:A method for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM entity network element, and the method includes:第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步;The first network element acquires a first time point of the multiple network elements, and performs time synchronization according to the first time point;在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;After the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;The first network element performs a second time point for uniformly distributing DLM data between the network elements by using the network element that interacts with the first network element by using a preset protocol carrying a time point according to the start command;在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。After the negotiation succeeds, the first network element performs detection and display according to the DLM data sent by the second time point.
- 根据权利要求1所述的优化损耗监测的方法,其中,所述第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步的步骤,包括:The method for optimizing loss monitoring according to claim 1, wherein the step of acquiring the first time point of the plurality of network elements by the first network element and performing time synchronization according to the first time point comprises:所述第一网元获取多个网元的所述第一时间点;Obtaining, by the first network element, the first time point of the multiple network elements;所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。The first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- 根据权利要求2所述的优化损耗监测的方法,其中,所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步的步骤,包括:The method for optimizing loss monitoring according to claim 2, wherein the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point. Steps, including:所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒级。The first network element performs time synchronization with the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
- 根据权利要求1所述的优化损耗监测的方法,其中,所述预设协议的内容至少包括:The method for optimizing loss monitoring according to claim 1, wherein the content of the preset protocol at least comprises:以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间 点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. Identification, hour of the time point, the time The point of the point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
- 根据权利要求4所述的优化损耗监测的方法,其中,所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点的协商的步骤包括:The method for optimizing loss monitoring according to claim 4, wherein the first network element performs a negotiation network with a network element that interacts with the first network element by using a preset protocol carrying a time point according to the open command. The steps of negotiating the second time point of uniformly transmitting DLM data between the elements include:所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;Obtaining, by the first network element, an initial DLM state of the first network element and a network element that interacts with the first network element is an invalid state;所述第一网元接收控制DLM状态改变的控制命令;The first network element receives a control command that controls a DLM state change;所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;Transmitting, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文;Receiving, by the first network element, the network element that is in contact with the first network element, the DLM state of the network element that has the FLAG is enabled, and the network element that the first network element interacts with is valid. Stop sending the request message;在所述第一网元的DLM状态为有效状态且接收到所述应答报文,则所述第一网元与所述第一网元交互的网元协商成功。After the DLM state of the first network element is in a valid state and the response packet is received, the network element that the first network element interacts with the first network element negotiates successfully.
- 一种优化损耗监测的装置,应用于以太网的操作、管理和维护OAM实体网元,所述装置包括:An apparatus for optimizing loss monitoring is applied to an operation, management, and maintenance of an OAM physical network element of an Ethernet, and the apparatus includes:时间同步模块,设置为:第一网元获取多个网元的第一时间点,根据所述第一时间点进行时间同步;The time synchronization module is configured to: acquire, by the first network element, a first time point of the multiple network elements, and perform time synchronization according to the first time point;接收模块,设置为:在时间同步之后,所述第一网元接收开启所述第一网元以及与所述第一网元交互的网元的双端损耗测量DLM功能的开启命令;The receiving module is configured to: after the time synchronization, the first network element receives an open command of the double-end loss measurement DLM function of the first network element and the network element that interacts with the first network element;协议协商模块,设置为:所述第一网元根据所述开启命令,利用携带有时间点的预设协议与所述第一网元交互的网元进行协商网元间统一下发DLM数据的第二时间点;The protocol negotiation module is configured to: the first network element, according to the open command, use the network element that interacts with the first network element by using a preset protocol that carries a time point to negotiate and deliver DLM data uniformly between the network elements. Second time point;检测模块,设置为:在协商成功之后,所述第一网元根据所述第二时间点下发DLM数据进行检测并显示。The detecting module is configured to: after the negotiation succeeds, the first network element sends the DLM data according to the second time point to detect and display.
- 根据权利要求6所述的优化损耗监测的装置,其中,所述时间同步 模块包括:The apparatus for optimizing loss monitoring according to claim 6, wherein said time synchronization Modules include:第一获取子模块,设置为:所述第一网元获取多个网元的所述第一时间点;The first obtaining submodule is configured to: the first network element acquires the first time point of the multiple network elements;时间同步子模块,设置为:所述第一网元根据所述第一时间点,利用精确时间同步协议PTP与所述第一网元交互的网元进行时间同步。The time synchronization sub-module is configured to: the first network element performs time synchronization with the network element that interacts with the first network element by using a precise time synchronization protocol PTP according to the first time point.
- 根据权利要求7所述的优化损耗监测的装置,其中,所述时间同步子模块包括:The apparatus for optimizing loss monitoring according to claim 7, wherein the time synchronization sub-module comprises:时间同步单元,设置为:所述第一网元根据所述第一时间点,通过精确时间同步协议PTP与所述第一网元交互的网元进行时间同步精确至少至毫秒级。The time synchronization unit is configured to: perform time synchronization of the network element that interacts with the first network element by using the precise time synchronization protocol PTP according to the first time point to be accurate at least to a millisecond level.
- 根据权利要求6所述的优化损耗监测的装置,其中,所述预设协议的内容至少包括:The apparatus for optimizing loss monitoring according to claim 6, wherein the content of the preset protocol comprises at least:以太网OAM协议报文的管理实体组等级标识、以太网OAM协议的版本标识、次类型报文标识、以太网OAM实体的协商状态FLAG、报文属性、管理实体组等级ID、消息交换模式ID标识、所述时间点的小时,所述时间点的分,所述时间点的秒,所述时间点的毫秒以及终结报文属性标识的一种或多种。The management entity group level identifier of the Ethernet OAM protocol packet, the version identifier of the Ethernet OAM protocol, the subtype packet identifier, the negotiation status FLAG of the Ethernet OAM entity, the packet attribute, the management entity group level ID, and the message exchange mode ID. The identifier, the hour of the time point, the point of the time point, the second of the time point, the millisecond of the time point, and one or more of the end message attribute identifiers.
- 根据权利要求9所述的优化损耗监测的装置,其中,所述协议协商模块包括:The apparatus for optimizing loss monitoring according to claim 9, wherein the protocol negotiation module comprises:第二获取子模块,设置为:所述第一网元获取所述第一网元及与所述第一网元交互的网元的初始DLM状态为无效状态;The second obtaining sub-module is configured to: obtain, by the first network element, the initial DLM state of the first network element and the network element that interacts with the first network element to be in an invalid state;接收子模块,设置为:所述第一网元接收控制DLM状态改变的控制命令;The receiving submodule is configured to: the first network element receives a control command for controlling a DLM state change;发送子模块,设置为:所述第一网元根据所述控制命令向与所述第一网元交互的网元发送具有所述FLAG为通知开启的请求报文;a sending sub-module, configured to: send, by the first network element, a request message with the FLAG as a notification to the network element that interacts with the first network element according to the control command;控制子模块,设置为:所述第一网元接收与所述第一网元交互的网元响应的具有所述FLAG为开启完成的应答报文且所述第一网元交互的网元的DLM状态为有效状态,则停止发送所述请求报文; a control sub-module, configured to: the first network element receives, by the network element that interacts with the first network element, a network element that has the FLAG as a completion response message and the first network element exchanges If the DLM state is a valid state, the sending of the request message is stopped;协商子模块,设置为:在所述第一网元的DLM状态为有效状态且接收到所述应答报文,则所述第一网元与所述第一网元交互的网元协商成功。The negotiation sub-module is configured to: when the DLM state of the first network element is in a valid state and the response message is received, the network element that the first network element interacts with the first network element negotiates successfully.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410836154.4 | 2014-12-29 | ||
CN201410836154.4A CN105812155A (en) | 2014-12-25 | 2014-12-29 | Method and device for optimizing loss monitoring |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016107086A1 true WO2016107086A1 (en) | 2016-07-07 |
Family
ID=56284081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/081178 WO2016107086A1 (en) | 2014-12-29 | 2015-06-10 | Method and device for optimizing loss monitoring |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2016107086A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616037A (en) * | 2009-07-27 | 2009-12-30 | 华为技术有限公司 | The detection method of packet loss, Apparatus and system in the network service |
CN101707509A (en) * | 2009-11-19 | 2010-05-12 | 中兴通讯股份有限公司 | Method, system and device for detecting packet loss rate by using OAM |
CN102469377A (en) * | 2010-11-17 | 2012-05-23 | 中兴通讯股份有限公司 | Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system |
US20120301134A1 (en) * | 2011-01-17 | 2012-11-29 | Shahram Davari | Network Device |
CN103636169A (en) * | 2011-07-04 | 2014-03-12 | 日本电气株式会社 | Transmission system, transmission device, packet loss ratio measurement method, and packet loss ratio measurement program |
-
2015
- 2015-06-10 WO PCT/CN2015/081178 patent/WO2016107086A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616037A (en) * | 2009-07-27 | 2009-12-30 | 华为技术有限公司 | The detection method of packet loss, Apparatus and system in the network service |
CN101707509A (en) * | 2009-11-19 | 2010-05-12 | 中兴通讯股份有限公司 | Method, system and device for detecting packet loss rate by using OAM |
CN102469377A (en) * | 2010-11-17 | 2012-05-23 | 中兴通讯股份有限公司 | Ethernet passive optical network (EPON) system and method for realizing end-to-end transparent clock in system |
US20120301134A1 (en) * | 2011-01-17 | 2012-11-29 | Shahram Davari | Network Device |
CN103636169A (en) * | 2011-07-04 | 2014-03-12 | 日本电气株式会社 | Transmission system, transmission device, packet loss ratio measurement method, and packet loss ratio measurement program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9485162B2 (en) | Method and system for measuring frame loss ratio | |
US10863386B1 (en) | State machine handling at a proxy node in an ethernet-based fronthaul network | |
US20130329565A1 (en) | Systems and methods for operational simplification of carrier ethernet networks | |
US11582084B1 (en) | Systems and methods for operations, administration and maintenance (OAM) in the physical coding sublayer (PCS) | |
RU2605494C2 (en) | METHOD AND DEVICE FOR DETECTING Ethernet PORTS LOOPING | |
JP2010028654A (en) | Communication apparatus and oam frame transmission method | |
CA2871832C (en) | Ensure upstream channel quality measurement stability in an upstream channel bonding system using t4 timeout multiplier | |
US20170373873A1 (en) | Industry internet field broadband bus architecture system | |
CN107800588B (en) | Cross-platform network performance test system and method based on Y.1731 protocol | |
WO2014040466A1 (en) | Method and device for controlling ap | |
US8611231B2 (en) | Connectivity fault management for ethernet tree (E-Tree) type services | |
CN108512634A (en) | A kind of method and relevant device of data processing | |
WO2017101762A1 (en) | Negotiation mode processing method and intelligent network device | |
WO2016082509A1 (en) | Method and apparatus for detecting connectivity of label switched path | |
WO2014044112A1 (en) | Device and method for controlling and supervising and alarming power supply of base station | |
WO2016107086A1 (en) | Method and device for optimizing loss monitoring | |
WO2007059667A1 (en) | A method for obtaining the network element alarm data | |
CN102684838B (en) | A kind of LOF detection method, device and Maintenance Entity end points | |
KR20130078384A (en) | A method for linking ethernet communication for digital protective relay and the digital protective relay performing the same | |
US20220239572A1 (en) | Data Processing Method, Device, and System | |
US20160315839A1 (en) | Transmission method, transmission system, and transmission device | |
WO2016065752A1 (en) | Method and device for detecting link state, and storage medium | |
WO2014000509A1 (en) | Transmission monitoring method and device | |
JP2014216986A (en) | Quality monitoring device, quality monitoring method and program | |
JP5923914B2 (en) | Network state estimation apparatus and network state estimation program |
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: 15874777 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: 15874777 Country of ref document: EP Kind code of ref document: A1 |