WO2017219984A1 - 链路状态的检测方法及系统 - Google Patents

链路状态的检测方法及系统 Download PDF

Info

Publication number
WO2017219984A1
WO2017219984A1 PCT/CN2017/089378 CN2017089378W WO2017219984A1 WO 2017219984 A1 WO2017219984 A1 WO 2017219984A1 CN 2017089378 W CN2017089378 W CN 2017089378W WO 2017219984 A1 WO2017219984 A1 WO 2017219984A1
Authority
WO
WIPO (PCT)
Prior art keywords
olt
packet
onu
sent
statistics
Prior art date
Application number
PCT/CN2017/089378
Other languages
English (en)
French (fr)
Inventor
翟乾坤
李明生
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017219984A1 publication Critical patent/WO2017219984A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal

Definitions

  • the present disclosure relates to the field of passive optical network (PON) access, for example, to a method and system for detecting link status.
  • PON passive optical network
  • the detection link and packet loss method in the Ethernet Operation and Maintenance (OAM) technology in the related art include the following.
  • OAM Ethernet Operation and Maintenance
  • the circuit (supervisory) message is periodically sent (Circuit).
  • CCM Supervision
  • the detection link and packet loss method are implemented by the source periodically sending packet loss measurement.
  • the message (LOss Measurement Message, LMM) message is sent to the target maintenance endpoint. After receiving the packet, the target maintenance endpoint sends a Loss Measurement Reply (LMR) message to the source.
  • LMR Loss Measurement Reply
  • the source end is based on the two. Continuous LMR packets are used to calculate the number of packets lost between the source and the target maintenance endpoint.
  • the source calculates the source based on the statistics of the current LMR packet and the previous LMR packet. The number of drops between the endpoint and the target maintenance endpoint.
  • 802.3ah and 802.1ag can detect whether the link status is normal, and cannot accurately calculate the number of lost packets in the service flow.
  • the Y.1731 standard definition can pass two consecutive The LMR packet is used to detect the packet loss between the two ports.
  • P2MP point-to-multipoint
  • the configuration is complicated. You need to configure the maintenance domain first. , MD), Maintenance Association (MA), Maintenance Association End Point (MEP), etc.; the protocol packets are periodically sent between the ports to maintain the link state; the packet loss test is also not flexible enough in the P2MP scenario.
  • the protocol interaction occupies bandwidth resources. A large number of protocol interactions occupy the resources of the central processing unit (CPU) of the system, and the link configuration table maintenance between the ports is maintained. It is also more difficult.
  • P2MP based on Passive Optical Network In a special scenario, statistics on receiving and sending packets during link state monitoring require a large number of protocol interactions to occupy system CPU resources.
  • a method and system for detecting a link state which solves the problem that a large number of protocol interactions occupy CPU resources of a system when the statistics of the received and received packets are detected during link state monitoring in the related art.
  • a method for detecting link status includes:
  • the number of the packets obtained by the OLT of the sending end is:
  • Message Sending, by the sending end OLT, a command for ending the packet statistics, so that the sending end OLT receives the command for ending the packet statistics, and ends counting the sending of the sending end OLT to the receiving end ONU.
  • the method further includes:
  • the transmitting end OLT inserts first indication information for starting a statistical packet into the packet to be sent, and after the first indication information is inserted into the to-be-sent packet, the sending end OLT The statistics of the message sent by the sending end OLT to the receiving end ONU are started; and
  • the sending end OLT After the sending end OLT receives the command for ending the packet statistics, the sending end OLT inserts second indication information for ending the statistical message into the message to be sent, when the second indication After the information is inserted into the to-be-sent packet, the sending end OLT ends counting the sending end OLT. A packet sent to the receiving end ONU.
  • obtaining the number of the statistics of the ONU of the receiving end includes:
  • the receiving end ONU After the receiving end ONU receives the packet that is sent by the sending end OLT and carries the first indication information for starting the statistical packet, the receiving end ONU starts to collect the received report sent by the sending end OLT.
  • the receiving end ONU After the receiving end ONU receives the packet that is sent by the sending end OLT and carries the second indication information for ending the statistics packet, the receiving end ONU ends the statistics of the received report sent by the sending end OLT. Text;
  • the packet is:
  • GEM Gigabit passive optical network GPON flow encapsulation method
  • the logical link of the Ethernet passive optical network marks the LLID encapsulated message.
  • a link state detection system includes: a transmitting end optical line terminal OLT, a receiving end optical network unit ONU, and a network element management system EMS, where
  • the EMS is configured to access the sending end OLT and the receiving end ONU of the to-be-statisticd message
  • the sending end OLT and the receiving end ONU are configured to count the number of packets respectively, wherein the counted packet is a packet sent by the sending end OLT to the receiving end ONU;
  • the EMS is further configured to detect, according to the number of packets that are sent by the sending end OLT and the receiving end ONU, whether the link state between the sending end OLT and the receiving end ONU is normal.
  • the sending end OLT is further configured to:
  • the sending end OLT is further configured to:
  • the sending end OLT After the sending end OLT receives the command for starting the packet statistics sent by the EMS, the first indication information for starting the statistical message is inserted into the to-be-sent packet, when the first indication information is used. After being inserted into the to-be-sent packet, start to count the packet sent by the sending end OLT to the receiving end ONU;
  • the sending end OLT After the sending end OLT receives the command for ending the packet statistics sent by the EMS, the second indication information for ending the statistical message is inserted into the message to be sent, where the second indication information is After being inserted into the to-be-transmitted packet, the packet that is sent by the sending end OLT to the receiving end ONU is counted.
  • the receiving end ONU is further configured to:
  • the OLT After receiving the packet that is sent by the sending end OLT and carrying the first indication information for starting the statistics packet, the statistics of the received packet sent by the sending end OLT are started; and when the sending end is received, After receiving the packet indicating the second indication information of the statistics packet, the OLT sends the received packet sent by the sending end OLT.
  • the packet is:
  • the logical link of the Ethernet passive optical network marks the LLID encapsulated message.
  • a computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • a network element management system includes:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the OLT of the transmitting end optical line terminal OLT and the receiving end optical network unit ONU are connected to obtain the number of packets counted by the sending end OLT and the receiving end ONU respectively, wherein the counted packet is the sending end OLT Sending the packet to the receiving end ONU; detecting the link state between the transmitting end OLT and the receiving end ONU according to the number of packets respectively reported by the sending end OLT and the receiving end ONU, and solving the related technology chain
  • the statistics of the received and received packets require a large number of protocols to occupy the CPU resources of the system.
  • the statistics of the packets in the service flow between the sending OLT and the receiving ONU in the P2MP scenario are collected in real time. State, fast positioning Network failures, improve fault location speed, and save manpower by locating faults.
  • FIG. 1 is a flowchart of a method for detecting a link state according to Embodiment 1;
  • Embodiment 2 is a flowchart of a method for detecting a link state in Embodiment 2;
  • FIG. 3 is a structural block diagram of a link state detecting system of Embodiment 3;
  • FIG. 4 is a schematic diagram of statistics of a packet initiated by a transmitting end OLT and a receiving end ONU in a link state detecting system according to Embodiment 4;
  • FIG. 5 is a schematic diagram of the statistics of the end of the packet by the transmitting end OLT and the receiving end ONU in the link state detecting system of the fourth embodiment
  • FIG. 6 is a schematic diagram of an EMS statistical message loss amount in a link state detection system according to Embodiment 4.
  • FIG. 7 is a structural block diagram of a transmitting end OLT and a receiving end ONU in a link state detecting system according to Embodiment 5;
  • FIG. 8 is a schematic diagram showing the hardware structure of a network element management system according to an embodiment.
  • FIG. 1 is a flowchart of a method for detecting a link state according to the embodiment.
  • the detection method may be performed by an Element Management System (EMS).
  • EMS Element Management System
  • the process includes the following steps.
  • step 102 the optical line terminal (OLT) of the transmitting end and the optical network unit ONU of the receiving end are connected to the packet to be counted.
  • OLT optical line terminal
  • the accessing end OLT and the receiving end ONU may be the transmitting end OLT and the receiving end ONU. Add to the EMS.
  • step S104 the number of the packets that are sent by the sending end OLT and the receiving end ONU is obtained, and the received packet is the packet sent by the sending end OLT to the receiving end ONU.
  • step 106 it is detected whether the link state between the transmitting end OLT and the receiving end ONU is normal according to the number of packets counted by the sending end OLT and the receiving end ONU respectively.
  • the link state is normal.
  • the detection status is abnormal.
  • the obtaining, by the sending end OLT, the number of the packets in the step 144 is: sending a command to start the packet statistics to the sending end OLT, so that the sending end OLT receives the statistics for starting the packet.
  • the packet sent by the sending end OLT to the receiving end ONU is started to be sent;
  • the command for ending the packet statistics is sent to the sending end OLT, so that the sending end OLT receives the packet for ending the packet statistics.
  • the statistics of the packets sent by the sending end OLT to the receiving end ONU are ended; and the number of the statistics counted by the sending end OLT between the start statistics and the ending statistics is obtained.
  • the method further includes: after the sending end OLT receives the command for starting the packet statistics, the sending end OLT inserts the first one for starting the statistical message into the to-be-sent packet.
  • the indication information after the first indication information is inserted into the message to be sent, the sending end OLT starts to count the message sent by the sending end OLT to the receiving end ONU;
  • the sending end OLT After the sending end OLT receives the command for ending the packet statistics, the sending OLT inserts second indication information for ending the statistical message into the message to be sent, when the second indication information is inserted into the After the packet is to be sent, the OLT of the sending end ends the packet sent by the sending end OLT to the receiving end ONU.
  • the obtaining, by the receiving end, the number of the packets received by the receiving end ONU includes: after receiving, by the receiving end OLT, the packet that is sent by the sending end OLT and carrying the first indication information for starting the statistical packet, The receiving end ONU starts to collect the received message sent by the sending end OLT; when the receiving end ONU receives the message sent by the sending end OLT and carries the second indication information for ending the statistical message, the receiving The end ONU ends the statistics of the received message sent by the sending end OLT; and obtains the number of the statistics counted by the receiving end ONU between the start statistics and the end statistics.
  • the above message can be: Gigabit-capable Passive Optical (Gigabit-capable Passive Optical) Network, GPON) G-PON Encapsulation Method (GEM) encapsulated packets, or Ethernet Passive Optical Network (EPON) Logical Link Identifier (LLID) package Message.
  • Gigabit-capable Passive Optical Gigabit-capable Passive Optical
  • GEM G-PON Encapsulation Method
  • EPON Ethernet Passive Optical Network
  • LLID Logical Link Identifier
  • the packet loss situation is accurately obtained, and the status between the service links is determined.
  • GPON Gigabit-capable Passive Optical Network
  • GEM GPON PON Encapsulation Method
  • the first indication information for starting the statistics packet is inserted into the packet encapsulated by the logical link identifier (LLID) of the network (EPON), so that the packet with the first indication information is inserted.
  • LLID logical link identifier
  • the receiving end ONU receives the feature message and also starts the message statistics.
  • the sending OLT inserts the second indication information for ending the statistics message into the message to be sent, so that the message inserted with the second indication information becomes a message.
  • the OLT ends the packet statistics.
  • the receiving end receives the feature packet and the packet is terminated.
  • the number of packets counted by the OLT and the number of packets counted by the ONU of the receiving end are respectively
  • the status of the link between the sending end OLT and the receiving end ONU is obtained by comparing the sent and received packets in the Element Management System (EMS).
  • EMS Element Management System
  • FIG. 2 is a flowchart of a method for detecting a link state according to the embodiment.
  • the process includes the following steps.
  • step 202 the EMS selects the PON port on the OLT of the packet sending end, and selects the GEM encapsulated packet in the detection link on the PON port.
  • the EMS selects the message receiving end ONU, and selects the GEM-encapsulated message in the to-be-detected link on the receiving end ONU to be detected.
  • the EMS can also select the LLID encapsulated packet in the detection link on the PON interface, and select the LLID encapsulation packet in the to-be-detected link on the ONU of the receiving end to be detected.
  • step 206 the EMS initiates link state detection, and the EMS sends a command for starting packet statistics to the sending end OLT.
  • the sending end OLT inserts the first indication information for starting the statistics packet into the to-be-sent packet, for example, the GEM to be sent ( Or the LLID encapsulated packet header is inserted into the first indication information for starting the statistics packet, and a Transmit Start (TS) is started to start the statistics packet, and the first indication information is inserted into the to-be-sent packet.
  • the sending end OLT starts to count the packets sent by the selected GEM (or LLID) and sent to the receiving end ONU.
  • step 210 the transmitting end OLT sends the T-S start statistics message to the receiving end ONU.
  • the receiving end ONU receives the packet encapsulated by the GEM (or LLID) for initiating the first indication information of the statistical packet, and after decapsulating, detects the first indication information, and starts counting the received information. Message.
  • step 214 the EMS sends a command to end the packet statistics to the sending end OLT.
  • the sending end OLT inserts the second indication information for ending the statistics packet into the to-be-sent packet, such as the current GEM (or LLID) to be sent.
  • a second indication information for ending the statistics packet is inserted into the encapsulated packet header to form a Transmit End (TE) end statistics packet.
  • step 218 the sending end OLT ends the packet statistics and reports the statistics to the EMS.
  • step 220 the sending end OLT sends the T-E ending statistical message to the receiving end ONU.
  • the receiving end ONU receives the packet encapsulated by the GEM (or LLID) with the indication information for ending the statistics packet, and after decapsulating, the second indication information is detected, and the received packet is ended. .
  • step 224 the receiving end ONU reports the packet statistics to the EMS.
  • the EMS detects whether the link state between the transmitting end OLT and the receiving end ONU is normal according to the number of packets counted by the sending end OLT and the receiving end ONU respectively. For example, if there is an abnormality in the sending and receiving packets, if there is an abnormality in the sending and receiving packets, the number of lost packets can be accurately obtained.
  • any one of the receiving end ONUs can be selected to perform packet statistics to obtain a link state.
  • the above method selects the detection of the LLID or GEM-encapsulated packet of the receiving end ONU based on the Ethernet OAM-related protocol.
  • the method of link and packet loss is simple and practical. In the above method, only The packet start statistics and the end statistics are performed. The packet does not need to be returned by the packet to calculate the packet loss rate, and the number of received packets and the number of sent packets are reported to the EMS for comparison, which makes the above method simple and intuitive.
  • FIG. 3 is a structural block diagram of the link state detection system of the embodiment. As shown in FIG. 3, the system includes: a message sending end OLT ( The transmitting end OLT) 32, the message receiving end ONU (receiving end ONU) 34, and the network element management system EMS 36.
  • a message sending end OLT The transmitting end OLT
  • the message receiving end ONU receiving end ONU
  • the network element management system EMS 36 the network element management system
  • the EMS 36 accesses the sending end OLT 32 and the receiving end ONU 34 to be counted; the sending end OLT 32 and the receiving end ONU 34 respectively count the number of packets, wherein the counted message is sent to the sending end OLT 32.
  • the EMS 36 detects whether the link state between the transmitting end OLT 32 and the receiving end ONU 34 is normal according to the number of packets counted by the sending end OLT 32 and the receiving end ONU 34 respectively.
  • the EMS 36 accesses the transmitting end OLT 32 and the receiving end ONU 34 to be counted by the interaction between the packet sending end OLT 32, the packet receiving end ONU 34 and the network element management system EMS 36; the transmitting end OLT 32 and The number of the packets is counted by the ONU 34, and the packet that is counted is the packet sent by the sending end OLT to the receiving end ONU.
  • the EMS 36 collects the packets according to the sending end OLT 32 and the receiving end ONU 34 respectively.
  • the number of the link between the sending end OLT 32 and the receiving end ONU 34 is detected, which solves the problem that the statistics of the received and received packets in the link state monitoring requires a large number of protocol interactions occupying the CPU resources of the system in the related art, and is quickly and accurately counted.
  • the statistics of the packets in the service flow between the sending end OLT and the receiving end ONU are detected, so that the link status is normal, the network fault is quickly located, the fault location speed is improved, and the manpower for locating the fault is saved.
  • FIG. 4 is a schematic diagram of the link state OLT and the receiver ONU start message statistics in the link state detection system of the embodiment, as shown in FIG. 4 .
  • the sending end OLT is further configured to: after receiving the command for starting the packet statistics sent by the EMS, start to count the message sent by the sending end OLT to the receiving end ONU; and when receiving the EMS sending After the command to end the packet statistics, the statistics of the sending end OLT are ended.
  • the sending end OLT is further configured to: insert the first indication information for starting the statistical message into the message to be sent, when After the foregoing indication information is inserted into the to-be-transmitted message, the packet sent by the sending end OLT to the receiving end ONU is started to be counted.
  • the sending end OLT After the sending end OLT receives the command for ending the packet statistics sent by the EMS, the sending end OLT is further configured to: insert a second indication information for ending the statistical message into the message to be sent, when After the second indication information is inserted into the packet to be sent, the packet sent by the sending end OLT to the receiving end ONU is counted.
  • the EMS sends a command to start the packet statistics to the sending end OLT.
  • the sending OLT After receiving the OLT, the sending OLT sends the indication information for starting the statistics packet to the packet to be sent.
  • the LLID encapsulates the first indication information for starting the statistics packet, and forms a TS start statistics packet. After the first indication information is inserted into the packet to be sent, the OLT starts to collect statistics.
  • the packet encapsulated by the GEM (or LLID) of the information is decapsulated, and the first indication information is detected, and the received packet is started to be counted.
  • FIG. 5 is a schematic diagram of the statistics of the end of the packet by the transmitting end OLT and the receiving end ONU in the link state detecting system of the embodiment.
  • the receiving end ONU is further configured to: after receiving the packet that is sent by the sending end OLT 32 and carrying the first indication information for starting the statistical packet, start to collect the received packet sent by the sending end OLT32; After the packet sent by the sending end OLT 32 carrying the second indication information for ending the statistical packet is ended, the received packet sent by the sending end OLT 32 is counted.
  • the packet may be a GEM-encapsulated packet of a GPON-based passive optical network GPON, or a logical link-marked LLID-encapsulated packet of an Ethernet passive optical network.
  • the EMS sends a command to end the packet statistics to the sending end OLT.
  • the transmitting end OLT inserts a second indication information for ending the statistics packet, for example, it may be currently waiting.
  • the GEM (or LLID) encapsulated packet header is inserted into the packet to end the statistics packet to form a TE end statistics packet.
  • the OLT ends the packet statistics and reports the statistics to the EMS.
  • the second indication information is detected, and the received message is ended; the ONU of the receiving end reports the statistical result of the packet to the EMS.
  • link detection network faults can be quickly located, fault location speed can be improved, and manpower for locating faults can be saved.
  • the sender OLT (PX-P2 packet number) is used to count the number of packets sent by the OLT at the sending end, P2 is the number of the packet that starts to be counted, and PX is the sequence number of the packet before the T-E end statistics packet is inserted.
  • the receiving end ONU (the number of PX-P2 packets) is used to count the number of received packets counted by the receiving end ONU.
  • PY is the sequence number of the message after the T-E end statistics message is inserted.
  • the EMS can: (1) be responsible for the ONU management of the network element and the receiving end; (2) select the receiving end ONU to be tested through the graphical interface, and the EMS can query the GEM (or LLID) of each transmitting end OLT and the receiving end ONU side.
  • a packet is encapsulated in the GEM (or LLID) packet.
  • the GEM (or LLID) encapsulated packets can be counted separately. You can also select multiple GEMs. (or LLID) encapsulated packets are counted separately or multiple GEM-encapsulated packets are added to obtain a total result.
  • MIB Management Information Base
  • the command is sent to the sending end OLT or the receiving end ONU, and the transmitting end OLT receives the relevant command and inserts it to form a TS feature message (TS start statistics message) or TE feature message (TE end statistics message); (4) Set send The OLT or the receiving end ONU collects the statistics of the selected GEM-encapsulated packet or the LLID-encapsulated packet. (5) The statistical result is reported. After the sending end OLT or the receiving end ONU receives the ending statistical packet, the statistical result is obtained. Reported to EMS; (6) EMS Compare the statistics to get the exact number of lost GEM or LLID encapsulated messages.
  • FIG. 7 is a structural block diagram of the link end OLT and the receiver ONU in the link state detection system of the embodiment, as shown in FIG. 7, the sender OLT and the receiver.
  • the end ONUs may each include a PON Media Access Control (MAC) module 72 and a PON switch module 74.
  • MAC Media Access Control
  • the PON switching module 74 can: a) be responsible for packet flow classification, and the sending end OLT or the receiving end ONU can set a specific rule to map the packet flow to the corresponding GEM or LLID; b) statistical monitoring, start the monitoring after starting the packet statistics.
  • the feature message of the TS or TE that is used to start or end the statistics message indication information; c) is responsible for decapsulating the packet encapsulated by the GEM or LLID, and if the receiving end ONB decapsulates the packet, it detects that the packet carries the packet.
  • the PON MAC can start to perform packet statistics or end packet statistics on the packets encapsulated by the GEM or LLID.
  • the PON MAC module 72 may: a) count the packets sent by the selected GEM or LLID, or b) insert the formed TS or TE feature packets into the packets encapsulated by a GEM or LLID, and be responsible for the packets.
  • the GEM or LLID encapsulation is performed.
  • the sender OLT sends the GEM-encapsulated packet.
  • the receiver on the receiving end receives the LLID-encapsulated packet from the GEM-encapsulated packet.
  • the receiver ONU receives the LLID.
  • Encapsulated message c) report the statistical result to the EMS.
  • the foregoing multiple modules may be implemented by software or hardware.
  • the multiple modules may be located in the same processor; or the multiple modules are located in multiple processors.
  • the present embodiment provides a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the network element management system includes:
  • At least one processor 80 which is exemplified by a processor 80 in FIG. 8; a memory 81; and a communication interface 82 and a bus 83.
  • the processor 80, the memory 81, and the communication interface 82 can complete communication with each other through the bus 83.
  • Communication interface 82 can transmit signals.
  • Processor 80 can invoke logic instructions in memory 81 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 81 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 81 is a computer readable storage medium and can be used to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the above embodiments.
  • the processor 80 performs functional applications and data processing by running software programs, instructions or modules stored in the memory 81, That is, the method in the above embodiment is implemented.
  • the memory 81 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 81 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the above technical solution may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute All or part of the steps of the method described in the above embodiments.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the plurality of modules or steps described above 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, optionally using computing devices
  • Executable program code is implemented such that they can be stored in a storage device for execution by a computing device, and in some cases, the steps shown or described can be performed in an order different than that herein, or
  • the plurality of integrated circuit modules are separately fabricated, or a plurality of modules or a plurality of steps are fabricated into a single integrated circuit module.
  • the link state detection method and system avoid the phenomenon that a large number of protocol interactions occupy system CPU resources when the statistics of the received and sent packets are detected during link state monitoring in the related art.

Abstract

一种链路状态的检测方法及系统,其中该方法包括:接入待统计报文的发送端光线路终端OLT和接收端光网络单元ONU;获取上述发送端OLT和上述接收端ONU分别统计的报文数量,其中,被统计的报文为上述发送端OLT发送给上述接收端ONU的报文;以及根据上述发送端OLT和上述接收端ONU分别统计的报文数量,检测上述OLT和上述ONU之间的链路状态是否正常。

Description

链路状态的检测方法及系统 技术领域
本公开涉及无源光纤网络(Passive Optical Network,PON)接入领域,例如,涉及一种链路状态的检测方法及系统。
背景技术
相关技术中的以太网操作维护管理(Operation Administration and Maintenance,OAM)技术中的检测链路和丢包方法包括以下几种。在802.3OAM标准中,定义每秒发送一个信息(Information)报文,当连续5个报文丢失时,认定链路断开;在802.1ag协议中定义周期性地发送电路(监督)消息(Circuit(Supervision)Message,CCM)报文,连续3个报文丢失则认定对方不可达;在Y.1731标准中,检测链路和丢包方法的实现方式是由源端周期性的发送丢包测量消息(LOss Measurement Message,LMM)报文给目标维护端点,目标维护端点收到该报文后,会发送丢包测量应答(Loss Measurement Reply,LMR)报文给源端,源端则根据两个连续的LMR报文来计算源端和目标维护端点间的丢包数,即源端从收到第二个LMR报文开始,根据当前LMR报文和前一个LMR报文的统计计数来计算源端和目标维护端点间的丢包数.
基于以上以太网OAM标准对于以太网链路质量的检测,802.3ah和802.1ag可以检测链路状态是否正常,不能准确计算业务流中的丢包数,Y.1731标准定义可以通过两个连续的LMR报文来检测两个端口之间的丢包情况,但是此方法应用于点对多点(Point to Multiple Point,P2MP)场景时,存在以下问题:配置复杂(需要先配置维护域(Maintenance Domain,MD),维护集(Maintenance Association,MA),维护端点(Maintenance Association End Point,MEP)等;端口之间要定期发送协议包维持链路状态;丢包测试也是周期进行不够灵活,P2MP场景中有大容量光网络单元(Optical Network Unit,ONU)的情况下,协议交互占用带宽资源,大量协议交互会占用系统中央处理器(Central Processing Unit,CPU)的资源,端口之间链路配置表维护也比较困难。
综上所述,基于无源光纤网络(Passive Optical Network,PON)的P2MP 特殊场景下,链路状态监测时收发报文统计需要大量协议交互占用系统CPU资源。
发明内容
一种链路状态的检测方法及系统,解决相关技术中链路状态监测时收发报文统计需要大量协议交互占用系统CPU资源的问题。
一种链路状态的检测方法,包括:
接入发送端光线路终端OLT和接收端光网络单元ONU;
获取所述发送端OLT和所述接收端ONU分别统计的报文数量,其中,被统计的报文为所述发送端OLT发送给所述接收端ONU的报文;以及
根据所述发送端OLT和所述接收端ONU分别统计的报文数量,检测所述发送端OLT和所述接收端ONU之间的链路状态是否正常。
可选的,获取所述发送端OLT统计的报文数量包括:
向所述发送端OLT发送用于启动报文统计的命令,以使所述发送端OLT接收到该用于启动报文统计的命令后,开始统计所述发送端OLT发送至所述接收端ONU的报文;
向所述发送端OLT发送用于结束报文统计的命令,以使所述发送端OLT接收到该用于结束报文统计的命令后,结束统计所述发送端OLT发送至所述接收端ONU的报文;以及
获取所述发送端OLT在开始统计和结束统计之间所统计的报文数量。
可选的,所述OLT接收到该用于启动或结束报文统计的命令后,该方法还包括:
所述发送端OLT向待发送的报文中插入用于启动统计报文的第一指示信息,当所述第一指示信息被插入到所述待发送的报文中后,所述发送端OLT启动统计所述发送端OLT发送至所述接收端ONU的报文;以及
当所述发送端OLT接收到该用于结束报文统计的命令后,所述发送端OLT向待发送的报文中插入用于结束统计报文的第二指示信息,当所述第二指示信息被插入到所述待发送的报文中后,所述发送端OLT结束统计所述发送端OLT 发送至所述接收端ONU的报文。
可选的,获取所述接收端ONU统计的报文数量包括:
当所述接收端ONU接收到所述发送端OLT发送的携带有用于启动统计报文的第一指示信息的报文后,所述接收端ONU开始统计接收到的所述发送端OLT发送的报文;
当所述接收端ONU接收到所述发送端OLT发送的携带有用于结束统计报文的第二指示信息的报文后,所述接收端ONU结束统计接收到的所述发送端OLT发送的报文;以及
获取所述接收端ONU在开始统计和结束统计之间所统计的报文数量。
可选的,所述报文为:
吉比特无源光网络GPON的流封装方法GEM封装的报文,或,
以太网无源光网络的逻辑链路标记LLID封装的报文。
一种链路状态的检测系统,包括:发送端光线路终端OLT、接收端光网络单元ONU和网元管理系统EMS,其中,
所述EMS设置为接入待统计报文的发送端OLT和接收端ONU;
所述发送端OLT和所述接收端ONU设置为分别统计报文数量,其中,被统计的报文为所述发送端OLT发送给所述接收端ONU的报文;以及
所述EMS还设置为根据所述发送端OLT和所述接收端ONU分别统计的报文数量,检测所述发送端OLT和所述接收端ONU之间的链路状态是否正常。
可选的,所述发送端OLT还设置为:
当接收到所述EMS发送的用于启动报文统计的命令后,开始统计所述发送端OLT发送至所述接收端ONU的报文;以及当接收到所述EMS发送的用于结束报文统计的命令后,结束统计所述发送端OLT发送至所述接收端ONU的报文。
可选的,所述发送端OLT还设置为:
当所述发送端OLT接收到所述EMS发送的用于启动报文统计的命令后,向待发送的报文中插入用于启动统计报文的第一指示信息,当所述第一指示信息 被插入到所述待发送的报文中后,启动统计所述发送端OLT发送至所述接收端ONU的报文;以及
当所述发送端OLT接收到所述EMS发送的用于结束报文统计的命令后,向待发送的报文中插入用于结束统计报文的第二指示信息,当所述第二指示信息被插入到所述待发送的报文中后,结束统计所述发送端OLT发送至所述接收端ONU的报文。
可选的,所述接收端ONU还设置为:
当接收到所述发送端OLT发送的携带有用于启动统计报文的第一指示信息的报文后,开始统计接收到的所述发送端OLT发送的报文;以及当接收到所述发送端OLT发送的携带有用于结束统计报文的第二指示信息的报文后,结束统计接收到的所述发送端OLT发送的报文。
可选的,所述报文为:
吉比特无源光网络GPON的流封装方法GEM封装的报文,或
以太网无源光网络的逻辑链路标记LLID封装的报文。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
一种网元管理系统,包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。
接入待统计报文的发送端光线路终端OLT和接收端光网络单元ONU;获取上述发送端OLT和上述接收端ONU分别统计的报文数量,其中,被统计的报文为上述发送端OLT发送给上述接收端ONU的报文;根据上述发送端OLT和上述接收端ONU分别统计的报文数量,检测上述发送端OLT和上述接收端ONU之间的链路状态,解决了相关技术中链路状态监测时收发报文统计需要大量协议交互占用系统CPU资源的问题,快速实时地统计出P2MP场景下发送端OLT到接收端ONU之间业务流中的报文统计数据,从而检测出链路状态,快速定位 网络故障,提高故障定位速度,节省定位故障花费人力。
附图说明
此处所说明的附图用来提供对技术方案的理解示意性实施例及其说明用于解释技术方案。在附图中:
图1是实施例一的链路状态的检测方法的流程图;
图2是实施例二的链路状态的检测方法的流程图;
图3是实施例三的链路状态的检测系统的结构框图;
图4是实施例四的链路状态的检测系统中发送端OLT和接收端ONU启动报文统计的示意图;
图5是实施例四的链路状态的检测系统中发送端OLT和接收端ONU结束报文统计的示意图;
图6是实施例四的链路状态的检测系统中EMS统计报文丢失量的示意图;
图7是实施例五的链路状态的检测系统中发送端OLT和接收端ONU的结构框图;以及
图8是一实施例的网元管理系统的硬件结构示意图。
具体实施方式
下文中将参考附图并结合实施例来说明技术方案。在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。
说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例一
在本实施例中提供了一种链路状态的检测方法,图1是本实施例的链路状态的检测方法的流程图,该检测方法可由网元管理系统(Element Management System,EMS)执行,如图1所示,该流程包括如下步骤。
在步骤102中,接入待统计报文的发送端光线路终端(Optical Line Terminal,OLT)和接收端光网络单元ONU。
其中,接入发送端OLT和接收端ONU可以是将发送端OLT和接收端ONU 添加到EMS中。
在步骤104中,获取上述发送端OLT和上述接收端ONU分别统计的报文数量,其中,被统计的报文为上述发送端OLT发送给上述接收端ONU的报文。
在步骤106中,根据上述发送端OLT和上述接收端ONU分别统计的报文数量,检测上述发送端OLT和上述接收端ONU之间的链路状态是否正常。
其中,当发送端OLT统计的报文数量和接收端ONU统计的报文数量相同时,链路状态正常,当发送端OLT统计的报文数量和接收端ONU统计的报文数量不相同时,检测状态异常。
可选的,步骤104中的获取上述发送端OLT统计的报文数量包括:向上述发送端OLT发送用于启动报文统计的命令,以使上述发送端OLT接收到该用于启动报文统计的命令后,开始统计上述发送端OLT发送至上述接收端ONU的报文;向上述发送端OLT发送用于结束报文统计的命令,以使上述发送端OLT接收到该用于结束报文统计的命令后,结束统计上述发送端OLT发送至上述接收端ONU的报文;以及获取上述发送端OLT在开始统计和结束统计之间所统计的报文数量。
在上述技术方案中,该方法还包括:当上述发送端OLT接收到该用于启动报文统计的命令后,上述发送端OLT向待发送的报文中插入用于启动统计报文的第一指示信息,当上述第一指示信息被插入到待发送的报文中后,上述发送端OLT启动统计上述发送端OLT发送至上述接收端ONU的报文;以及
当发送端OLT接收到该用于结束报文统计的命令后,发送端OLT向待发送的报文中插入用于结束统计报文的第二指示信息,当第二指示信息被插入到所述待发送的报文中后,发送端OLT结束统计发送端OLT发送至接收端ONU的报文。
可选的,步骤104中的获取上述接收端ONU统计的报文数量包括:当上述接收端ONU接收到上述发送端OLT发送的携带有用于启动统计报文的第一指示信息的报文后,上述接收端ONU开始统计接收到的上述发送端OLT发送的报文;当上述接收端ONU接收到上述发送端OLT发送的携带有用于结束统计报文的第二指示信息的报文后,上述接收端ONU结束统计接收到的上述发送端OLT发送的报文;以及获取上述接收端ONU在开始统计和结束统计之间所统计的报文数量。上述报文可以为:吉比特无源光网络(Gigabit-capable Passive Optical  Network,GPON)的流封装方法(G-PON Encapsulation Method,GEM)封装的报文,或以太网无源光网络(Ethernet passive optical network,EPON)的逻辑链路标记(Logical Link Identifier,LLID)封装的报文。
在PON场景下根据发送端OLT和接收端ONU之间业务流报文的收发数量,精确地获取到丢包情况,判断出业务链路之间的状态。在业务流的发送端OLT上选定吉比特无源光网络(Gigabit-capable Passive Optical Network,GPON)的GPON流封装方法(G-PON Encapsulation Method,GEM)封装的报文或者以太网无源光网络(Ethernet passive optical network,EPON)的逻辑链路标记(Logical Link Identifier,LLID)封装的报文中插入用于启动统计报文的第一指示信息,使插入有第一指示信息的报文成为一个开始报文统计的特征报文,发送端OLT开始统计报文。接收端ONU收到此特征报文也开始报文统计,发送端OLT向待发送的报文中插入用于结束统计报文的第二指示信息,使插入有第二指示信息的报文成为一个结束报文统计的特征报文,发送端OLT结束报文统计,接收端ONU收到此特征报文后结束报文统计,发送端OLT统计的报文数量和接收端ONU统计的报文数量分别上报到网元管理系统(Element Management System,EMS)中,比较收发报文情况得出上述发送端OLT和上述接收端ONU之间的链路状态。
实施例二
基于上述实施例及示例的技术方案,以下结合实施例二对上述技术方案进行说明。
本实施例提供了一种链路状态的检测方法,图2是本实施例的链路状态的检测方法的流程图,如图2所示,当发送端OLT和接收端ONU接入网元管理系统(Element Management System,EMS)后,该流程包括如下步骤。
在步骤202中,EMS选定报文发送端OLT上的PON口,选定PON口上检测链路中的GEM封装的报文。
在步骤204中,EMS选定报文接收端ONU,选定要检测的接收端ONU上的待检测链路中的GEM封装的报文。
EMS还可以选定PON口上检测链路中的LLID封装的报文,选定要检测的接收端ONU上的待检测链路中的LLID封装报文。
在步骤206中,EMS启动链路状态检测,EMS下发用于启动报文统计的命令到发送端OLT。
在步骤208中,发送端OLT收到用于启动报文统计的命令后,向待发送的报文中插入用于启动统计报文的第一指示信息,如,可以是在当前待发送GEM(或者LLID)封装的报文头中插入用于启动统计报文的第一指示信息,形成一个传输开始(Transmit Start,T-S)开始统计报文,当该第一指示信息被插入到待发送的报文中后,发送端OLT开始统计选定的GEM(或者LLID)封装的发送给接收端ONU的报文。
在步骤210中,发送端OLT向接收端ONU发送该T-S开始统计报文。
在步骤212中,接收端ONU收到带有用于启动统计报文的第一指示信息的GEM(或者LLID)封装的报文,解封装后,检测到该第一指示信息,开始统计收到的报文。
在步骤214中,EMS下发结束报文统计的命令给发送端OLT。
在步骤216中,发送端OLT收到结束报文统计的命令后,向待发送的报文中插入用于结束统计报文的第二指示信息,如可以是在当前待发送GEM(或者LLID)封装的报文头中插入用于结束统计报文的第二指示信息,形成一个传输结束(Transmit End,T-E)结束统计报文。
在步骤218中,发送端OLT结束报文统计,并把统计结果上报到EMS。
在步骤220中,发送端OLT向接收端ONU发送该T-E结束统计报文。
在步骤222中,接收端ONU收到带有用于结束统计报文的指示信息的GEM(或者LLID)封装的报文,解封装后,检测到该第二指示信息,结束统计收到的报文。
在步骤224中,接收端ONU把报文统计结果上报到EMS。
在步骤226中,EMS根据上述发送端OLT和上述接收端ONU分别统计的报文数量,检测上述发送端OLT和上述接收端ONU之间的链路状态是否正常。比如收发包是否存在异常,如果收发包存在异常,可以准确得出报文的丢失数量。
采用本实施例的方法,可以选定任意一个接收端ONU进行报文统计得出链路状态情况,上述方法选定接收端ONU基于LLID或者GEM封装的报文比以太网OAM相关协议中的检测链路和丢包的方法简单实用,上述方法中,可以只 进行一次报文开始统计和结束统计,插包不需要通过回包来计算丢包率,且将接收的报文数量和发送的报文数量分别上报EMS进行比较使得上述方法简单直观。
实施例三
在本实施例中还提供了一种链路状态的检测系统,图3是本实施例的链路状态的检测系统的结构框图,如图3所示,该系统包括:报文发送端OLT(发送端OLT)32、报文接收端ONU(接收端ONU)34和网元管理系统EMS 36。
EMS 36接入待统计的上述发送端OLT 32和接收端ONU 34;上述发送端OLT 32和上述接收端ONU 34分别统计报文数量,其中,被统计的报文为上述发送端OLT 32发送给上述接收端ONU 34的报文;上述EMS 36根据上述发送端OLT 32和上述接收端ONU34分别统计的报文数量,检测上述发送端OLT 32和上述接收端ONU34之间的链路状态是否正常。
通过上述报文发送端OLT 32、报文接收端ONU 34和网元管理系统EMS 36的相互作用,EMS 36接入待统计的上述发送端OLT 32和接收端ONU 34;上述发送端OLT 32和上述ONU 34分别统计报文数量,其中,被统计的报文为上述发送端OLT发送给上述接收端ONU的报文;上述EMS 36根据上述发送端OLT 32和上述接收端ONU34分别统计的报文数量,检测上述发送端OLT 32和上述接收端ONU34之间的链路状态,解决了相关技术中链路状态监测时收发报文统计需要大量协议交互占用系统CPU资源的问题,快速实时地统计出P2MP场景下发送端OLT到接收端ONU之间业务流中的报文统计数据,从而检测出链路状态是否正常,快速定位网络故障,提高故障定位速度,节省定位故障花费的人力。
实施例四
本实施例提供了一种链路状态的检测系统,图4是本实施例的链路状态的检测系统中发送端OLT和接收端ONU启动报文统计的示意图,如图4所示。
上述发送端OLT还设置为:当接收到上述EMS发送的用于启动报文统计的命令后,开始统计上述发送端OLT发送至上述接收端ONU的报文;以及当接收到上述EMS发送的用于结束报文统计的命令后,结束统计上述发送端OLT 发送至上述接收端ONU的报文。当上述发送端OLT接收到上述EMS发送的用于启动报文统计的命令后,上述发送端OLT还设置为:向待发送的报文中插入用于启动统计报文的第一指示信息,当上述指示信息被插入到待发送的报文中后,启动统计上述发送端OLT发送至上述接收端ONU的报文。当上述发送端OLT接收到上述EMS发送的用于结束报文统计的命令后,上述发送端OLT还设置为:向待发送的报文中插入用于结束统计报文的第二指示信息,当上述第二指示信息被插入到待发送的报文中后,结束统计上述发送端OLT发送至上述接收端ONU的报文。
EMS下发用于启动报文统计的命令到发送端OLT;发送端OLT收到后向待发送的报文中插入用于启动统计报文的指示信息,如可以是在当前待发送GEM(或者LLID)封装的报文头中插入用于启动统计报文的第一指示信息,形成一个T-S开始统计报文,当该第一指示信息被插入待发送的报文中后,发送端OLT开始统计选定的GEM(或者LLID)封装的发送给接收端ONU的报文;发送端OLT向接收端ONU发送该T-S开始统计报文;接收端ONU收到带有用于启动统计报文的第一指示信息的GEM(或者LLID)封装的报文,解封装后,检测到该第一指示信息,开始统计收到报文。
图5是本实施例的链路状态的检测系统中发送端OLT和接收端ONU结束报文统计的示意图。
接收端ONU还设置为:当接收到上述发送端OLT 32发送的携带有用于启动统计报文的第一指示信息的报文后,开始统计接收到的上述发送端OLT32发送的报文;当接收到上述发送端OLT 32发送的携带有用于结束统计报文的第二指示信息的报文后,结束统计接收到的上述发送端OLT 32发送的报文。上述报文可以是:吉比特无源光网络GPON的流封装方法GEM封装的报文,或,以太网无源光网络的逻辑链路标记LLID封装的报文。
可选的,EMS下发结束报文统计的命令给发送端OLT;发送端OLT收到后向待发送的报文中插入用于结束统计报文的第二指示信息,如可以是在当前待发送GEM(或者LLID)封装的报文头中插入用于结束统计报文的指示信息,形成一个T-E结束统计报文;发送端OLT结束报文统计,并把统计结果上报到EMS;发送端OLT向接收端ONU发送该T-E结束统计报文;发送端ONU收到带有用于结束统计报文的指示信息的GEM(或者LLID)封装的报文,解封装 后,检测到该第二指示信息,结束统计收到报文;接收端ONU把报文统计结果上报到EMS。
图6是本实施例的链路状态的检测系统中EMS统计报文丢失量的示意图;如图6所示,在本示例中,EMS获取到发送端OLT与接收端ONU上报的报文统计数量后,可以准确统计报文的丢失数量,如图6所示,报文丢失数量=发送端OLT(PX-P2包数)-接收端ONU(PX-P2包数),获取到准确的丢失数量在链路检测中可以快速定位网络故障,提高故障定位速度,节省定位故障花费的人力。其中,发送端OLT(PX-P2包数)用于统计发送端OLT统计的发送报文数量,P2为开始统计的报文序号,PX为插入T-E结束统计报文之前的报文的序号。接收端ONU(PX-P2包数)用于统计接收端ONU统计的接收报文数量。图6中,PY为插入T-E结束统计报文之后的报文的序号。
EMS可以:(1)负责网元和接收端ONU管理;(2)通过图形化界面选定要测试的接收端ONU,EMS可以查询到每个发送端OLT和接收端ONU侧的GEM(或者LLID)封装的报文,存在一个接收端ONU对应多个(GEM(或者LLID)封装的报文情况,可以选择要统计的GEM(或者LLID)封装的报文进行单独统计,也可以选择多个GEM(或者LLID)封装的报文分别进行统计或者将多个GEM封装的报文累加得到一个总的结果;(3)启动统计开始或者结束统计,通过管理信息库(Management Information Base,MIB)下发命令到发送端OLT或者接收端ONU,发送端OLT收到相关命令后进行插入形成T-S特征报文(T-S开始统计报文)或者T-E特征报文(T-E结束统计报文);(4)设置发送端OLT或者接收端ONU,对选定的GEM封装的报文或者LLID封装的报文进行统计;(5)统计上报结果,发送端OLT或者接收端ONU收到结束统计报文后,把统计结果上报到EMS;(6)EMS比对统计结果得出准确的GEM或者LLID封装报文的丢失数量。
实施例五
本实施例提供了一种链路状态的检测系统,图7是本实施例的链路状态的检测系统中发送端OLT和接收端ONU的结构框图,如图7所示,发送端OLT和接收端ONU可以均包含PON媒体访问控制(Media Access Control,MAC)模块72和PON交换模块74。
PON交换模块74可以:a)负责报文流分类,发送端OLT或者接收端ONU设置特定规则可以把报文流映射到对应的GEM或者LLID上;b)统计监听,启动报文统计后开始监听被插入的用于启动或结束统计报文指示信息的T-S或者T-E的特征报文;c)负责解封装GEM或者LLID封装的报文,如果接收端ONU解封装报文后检测到报文携带有用于启动或结束统计报文指示信息的T-S或者T-E特征报文,可以设置PON MAC对GEM或者LLID封装的报文开始进行报文统计或者结束报文统计。
PON MAC模块72可以:a)统计发送或者接收的选定的GEM或者LLID封装的报文;b)基于一个GEM或者LLID封装的报文中插入形成的T-S或者T-E特征报文,负责对报文进行GEM或者LLID封装,发送端OLT侧发送的是GEM封装的报文,接收端ONU接收的也是GEM封装的报文发送端OLT侧发送的是LLID封装的报文,接收端ONU接收的也是LLID封装的报文;c)把统计的结果上报给EMS。
上述多个模块是可以通过软件或硬件来实现的,对于硬件实现方式,可以通过以下方式实现:上述多个模块均位于同一处理器中;或者,上述多个模块分别位于多个处理器中。
本实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。
本实施例提供了一种网元管理系统的硬件结构示意图。参见图8,该网元管理系统包括:
至少一个处理器(processor)80,图8中以一个处理器80为例;存储器(memory)81;还可以包括通信接口(Communications Interface)82和总线83。其中,处理器80、存储器81以及通信接口82可以通过总线83完成相互间的通信。通信接口82可以传输信号。处理器80可以调用存储器81中的逻辑指令,以执行上述实施例的方法。
此外,上述的存储器81中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器81作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如上述实施例中的方法对应的程序指令或模块。处理器80通过运行存储在存储器81中的软件程序、指令或模块,从而执行功能应用以及数据处理, 即实现上述实施例中的方法。
存储器81可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器81可以包括高速随机存取存储器,还可以包括非易失性存储器。
以上技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行上述实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
上述的多个模块或多个步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成多个集成电路模块,或者将它们中的多个模块或多个步骤制作成单个集成电路模块来实现。
工业实用性
链路状态的检测方法及系统避免了相关技术中链路状态监测时收发报文统计需要大量协议交互占用系统CPU资源的现象。

Claims (11)

  1. 一种链路状态的检测方法,包括:
    接入发送端光线路终端OLT和接收端光网络单元ONU;
    获取所述发送端OLT和所述接收端ONU分别统计的报文数量,其中,被统计的报文为所述发送端OLT发送给所述接收端ONU的报文;以及
    根据所述发送端OLT和所述接收端ONU分别统计的报文数量,检测所述发送端OLT和所述接收端ONU之间的链路状态是否正常。
  2. 根据权利要求1所述的方法,其中,获取所述发送端OLT统计的报文数量包括:
    向所述发送端OLT发送用于启动报文统计的命令,以使所述发送端OLT接收到该用于启动报文统计的命令后,开始统计所述发送端OLT发送至所述接收端ONU的报文;
    向所述发送端OLT发送用于结束报文统计的命令,以使所述发送端OLT接收到该用于结束报文统计的命令后,结束统计所述发送端OLT发送至所述接收端ONU的报文;以及
    获取所述发送端OLT在开始统计和结束统计之间所统计的报文数量。
  3. 根据权利要求2所述的方法,所述OLT接收到该用于启动或结束报文统计的命令后,该方法还包括:
    所述发送端OLT向待发送的报文中插入用于启动统计报文的第一指示信息,当所述第一指示信息被插入到所述待发送的报文中后,所述发送端OLT启动统计所述发送端OLT发送至所述接收端ONU的报文;以及
    当所述发送端OLT接收到该用于结束报文统计的命令后,所述发送端OLT向待发送的报文中插入用于结束统计报文的第二指示信息,当所述第二指示信 息被插入到所述待发送的报文中后,所述发送端OLT结束统计所述发送端OLT发送至所述接收端ONU的报文。
  4. 根据权利要求3所述的方法,其中,获取所述接收端ONU统计的报文数量包括:
    当所述接收端ONU接收到所述发送端OLT发送的携带有用于启动统计报文的第一指示信息的报文后,所述接收端ONU开始统计接收到的所述发送端OLT发送的报文;
    当所述接收端ONU接收到所述发送端OLT发送的携带有用于结束统计报文的第二指示信息的报文后,所述接收端ONU结束统计接收到的所述发送端OLT发送的报文;以及
    获取所述接收端ONU在开始统计和结束统计之间所统计的报文数量。
  5. 根据权利要求1至4任一项所述的方法,其中,所述报文为:
    吉比特无源光网络GPON的流封装方法GEM封装的报文,或,
    以太网无源光网络的逻辑链路标记LLID封装的报文。
  6. 一种链路状态的检测系统,包括:发送端光线路终端OLT、接收端光网络单元ONU和网元管理系统EMS,其中,
    所述EMS设置为接入待统计报文的发送端OLT和接收端ONU;
    所述发送端OLT和所述接收端ONU设置为分别统计报文数量,其中,被统计的报文为所述发送端OLT发送给所述接收端ONU的报文;以及
    所述EMS还设置为根据所述发送端OLT和所述接收端ONU分别统计的报文数量,检测所述发送端OLT和所述接收端ONU之间的链路状态是否正常。
  7. 根据权利要求6所述的系统,其中,所述发送端OLT还设置为:
    当接收到所述EMS发送的用于启动报文统计的命令后,开始统计所述发送端OLT发送至所述接收端ONU的报文;以及当接收到所述EMS发送的用于结束报文统计的命令后,结束统计所述发送端OLT发送至所述接收端ONU的报文。
  8. 根据权利要求7所述的系统,其中,所述发送端OLT还设置为:
    当所述发送端OLT接收到所述EMS发送的用于启动报文统计的命令后,向待发送的报文中插入用于启动统计报文的第一指示信息,当所述第一指示信息被插入到所述待发送的报文中后,启动统计所述发送端OLT发送至所述接收端ONU的报文;以及
    当所述发送端OLT接收到所述EMS发送的用于结束报文统计的命令后,向待发送的报文中插入用于结束统计报文的第二指示信息,当所述第二指示信息被插入到所述待发送的报文中后,结束统计所述发送端OLT发送至所述接收端ONU的报文。
  9. 根据权利要求8所述的系统,其中,所述接收端ONU还设置为:
    当接收到所述发送端OLT发送的携带有用于启动统计报文的第一指示信息的报文后,开始统计接收到的所述发送端OLT发送的报文;以及当接收到所述发送端OLT发送的携带有用于结束统计报文的第二指示信息的报文后,结束统计接收到的所述发送端OLT发送的报文。
  10. 根据权利要求6至9任一项所述的系统,其中,所述报文为:
    吉比特无源光网络GPON的流封装方法GEM封装的报文,或
    以太网无源光网络的逻辑链路标记LLID封装的报文。
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执 行指令设置为执行权利要求1-5中任一项的方法。
PCT/CN2017/089378 2016-06-23 2017-06-21 链路状态的检测方法及系统 WO2017219984A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610467001.6A CN107547129A (zh) 2016-06-23 2016-06-23 链路状态检测方法及系统
CN201610467001.6 2016-06-23

Publications (1)

Publication Number Publication Date
WO2017219984A1 true WO2017219984A1 (zh) 2017-12-28

Family

ID=60783306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089378 WO2017219984A1 (zh) 2016-06-23 2017-06-21 链路状态的检测方法及系统

Country Status (2)

Country Link
CN (1) CN107547129A (zh)
WO (1) WO2017219984A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511463A (zh) * 2020-11-18 2021-03-16 潍柴动力股份有限公司 报文的发送方法及装置
CN113055128A (zh) * 2021-03-28 2021-06-29 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN117411547A (zh) * 2023-12-14 2024-01-16 武汉长光科技有限公司 光网络单元故障定位方法及光网络单元数据收发方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385679B (zh) * 2018-12-29 2022-08-02 达发科技(苏州)有限公司 光网络单元自动化测试系统
CN109769156B (zh) * 2019-03-28 2022-04-12 瑞斯康达科技发展股份有限公司 一种gpon业务模型的可视化实现方法及装置
CN110475166A (zh) * 2019-08-19 2019-11-19 深圳市双翼科技股份有限公司 一种无源光网络的数据异常排查方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080056255A1 (en) * 2006-08-30 2008-03-06 Cornell Research Foundation, Inc. Lateral error correction for time-critical multicast
CN101800679A (zh) * 2010-03-10 2010-08-11 华为技术有限公司 一种报文丢包检测方法及系统
CN102404170A (zh) * 2011-11-18 2012-04-04 福建星网锐捷网络有限公司 报文丢失检测方法、装置、及系统
EP2456126A1 (en) * 2010-11-22 2012-05-23 Alcatel Lucent Method of measuring a packet loss rate
CN105337662A (zh) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 光纤节点的测试系统及方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043275B (zh) * 2006-05-17 2012-03-21 华为技术有限公司 一种管理光网络单元或光网络终端的系统和方法
CN101150365A (zh) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 一种无源光网络终端的管理方法
CN102158371A (zh) * 2011-04-12 2011-08-17 杭州华三通信技术有限公司 一种基于bfd的链路性能检测方法及其装置
CN103997368B (zh) * 2013-02-18 2017-03-15 中兴通讯股份有限公司 无源光网络链路检测方法及装置
CN104917641B (zh) * 2014-03-11 2019-06-25 中国电信股份有限公司 一种用于测试丢包的方法、测试设备和系统
CN105262740B (zh) * 2015-09-25 2019-08-06 瑞斯康达科技发展股份有限公司 一种大数据传输方法和系统
CN105591983B (zh) * 2015-10-30 2020-01-07 新华三技术有限公司 一种QoS的出口带宽的调整方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080056255A1 (en) * 2006-08-30 2008-03-06 Cornell Research Foundation, Inc. Lateral error correction for time-critical multicast
CN101800679A (zh) * 2010-03-10 2010-08-11 华为技术有限公司 一种报文丢包检测方法及系统
EP2456126A1 (en) * 2010-11-22 2012-05-23 Alcatel Lucent Method of measuring a packet loss rate
CN102404170A (zh) * 2011-11-18 2012-04-04 福建星网锐捷网络有限公司 报文丢失检测方法、装置、及系统
CN105337662A (zh) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 光纤节点的测试系统及方法

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511463A (zh) * 2020-11-18 2021-03-16 潍柴动力股份有限公司 报文的发送方法及装置
CN112511463B (zh) * 2020-11-18 2022-04-05 潍柴动力股份有限公司 报文的发送方法及装置
CN113055128A (zh) * 2021-03-28 2021-06-29 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN113055128B (zh) * 2021-03-28 2022-06-24 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN117411547A (zh) * 2023-12-14 2024-01-16 武汉长光科技有限公司 光网络单元故障定位方法及光网络单元数据收发方法
CN117411547B (zh) * 2023-12-14 2024-02-27 武汉长光科技有限公司 光网络单元故障定位方法及光网络单元数据收发方法

Also Published As

Publication number Publication date
CN107547129A (zh) 2018-01-05

Similar Documents

Publication Publication Date Title
WO2017219984A1 (zh) 链路状态的检测方法及系统
CN112567647B (zh) Pon故障定位的方法和装置
US9306819B2 (en) Controller driven OAM for split architecture network
US9432114B2 (en) Method for identifying the optical network unit power off reason
US20140321845A1 (en) Passive optical network pon protection method and apparatus
WO2018210213A1 (zh) 一种实现ioam封装的方法及装置、存储介质
WO2016184245A1 (zh) 一种隧道丢包检测方法、装置及网络通信设备
CN106301837B (zh) 无源光网络告警检测方法及装置
US20090282291A1 (en) Internal maintenance association end point (mep) for sharing state information
US10110301B2 (en) Method, apparatus, and system for detecting rogue optical network unit
WO2015180542A1 (zh) 长发光光网络单元的检测方法、装置及网管设备
WO2022057514A1 (zh) 链路故障检测方法、装置及计算机可读存储介质
EP3089400A1 (en) Optical network unit (onu) data processing method, device and system
CN108370271B (zh) 光网络单元的检测方法、装置和无源光网络系统
CN105790984B (zh) 一种操作维护管理功能的配置、实现方法及转发设备
WO2016206010A1 (zh) 一种链路故障定位的方法、装置及系统
WO2016008240A1 (zh) 链路轮询检测方法及装置
WO2016086402A1 (zh) 数据通信的方法、装置和系统
CN113727222A (zh) 一种pon系统中mac地址漂移的检测方法及装置
CN114697202A (zh) 一种检测方法及装置
WO2015120581A1 (en) Traffic loop detection in a communication network
CN105099775A (zh) 一种olt与onu连通检测方法
CN112218180A (zh) 检测光纤状态的方法、装置、存储介质和程序产品
CN113472648B (zh) 一种双向转发检测bfd方法及装置、网络设备
BAI et al. Active-fault-alarm enabled pre-protection scheme in 10G-EPON for smart power grid

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

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

Country of ref document: EP

Kind code of ref document: A1