WO2016110151A1 - Method and device for detecting link loopback of pon system - Google Patents

Method and device for detecting link loopback of pon system Download PDF

Info

Publication number
WO2016110151A1
WO2016110151A1 PCT/CN2015/093671 CN2015093671W WO2016110151A1 WO 2016110151 A1 WO2016110151 A1 WO 2016110151A1 CN 2015093671 W CN2015093671 W CN 2015093671W WO 2016110151 A1 WO2016110151 A1 WO 2016110151A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
loopback
link
slot
onu
Prior art date
Application number
PCT/CN2015/093671
Other languages
French (fr)
Chinese (zh)
Inventor
汪万虎
艾滨
陈志欣
Original Assignee
烽火通信科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Priority to MYPI2016704438A priority Critical patent/MY188119A/en
Priority to TR2017/13827A priority patent/TR201713827T1/en
Publication of WO2016110151A1 publication Critical patent/WO2016110151A1/en

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for link loopback detection in a PON system.
  • Broadband access devices are connected to the transmission layer device on the network side, and the user side is connected to the user home gateway or DSL (Digital Subscriber Line) modem.
  • DSL Digital Subscriber Line
  • the diversity and complexity of user access causes link loopback. For example, users often encounter problems such as not being able to access the network or making phone calls. Most of these problems are caused by loopback in the link of the system.
  • Packets coming in from the uplink port are returned to the device in some way after exiting the optical line terminal, such as in a PON (Passive Optical Network).
  • PON Passive Optical Network
  • the source MAC Media Access Control
  • the switch chip of the core switch disk of the PON device is forwarded. An exception occurred during the text.
  • the loopback detection technology is generally used to solve the problem of link loopback of the PON device, and the loopback detection function of the PON device is enabled, so that the PON device receives the detection packet sent by itself, and if the PON device receives the return detection within the preset time, If the PON device does not receive the returned detection packet within the preset time, the PON device does not have a link loopback or the link is broken.
  • the PON device has a link loopback.
  • the device is a multi-level device. There are many possibilities for the loopback state. Loopback between the uplink ports may occur. Between the PON ports and between the ONUs (Optical Network Units) may even occur. Loopback between OLT (Optical Line Terminal). Therefore, the existing PON system link loopback detection method has the following problems:
  • Loopback detection requires a large amount of system resources for locating the loopback link
  • the technical problem to be solved by the present invention is that the existing PON system link loopback detection method is less efficient.
  • the present invention provides a method for link loopback detection of a PON system, including the following steps:
  • Step 10 Enable the loopback detection function of the core switch disk, and send a level 1 detection packet to each slot of the uplink port and each service disk through the core switch disk.
  • Step 20 The core switch disc determines whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time. If yes, step 40 is performed; otherwise, step 30 is performed;
  • Step 30 It is determined that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
  • Step 40 It is determined that there is a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, and between the upper joint port and the slot position or each slot position. If there is a link loopback between the two, step 50 is performed;
  • Step 50 Enable the loopback detection function on the service card.
  • Each service card sends a secondary detection packet to the specified ONU.
  • the secondary detection packet contains at least the ONU authorization number of the specified ONU.
  • Step 60 Determine whether the service board receives the returned secondary detection packet. If the service card is not received, the link between the service card and the specified ONU does not exist or the link is broken. The service board and the specified ONU of the link loopback are generated based on the ONU authorization number and the slot number of the service card.
  • the present invention also provides a device for link loopback detection of a PON system, the device comprising:
  • the first opening unit is configured to enable the loopback detection function of the core switch disk, and send a first-level detection message to each slot of the uplink port and each service disk through the core switch disk;
  • the first determining unit is configured to determine whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time, and if yes, executing the second determining unit; otherwise, executing the second determining unit; First identification unit;
  • the first identification unit is configured to determine that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
  • the second identification unit is configured to identify a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, or between the upper joint port and the slot position If there is a link loopback between the slot ports, the second open unit is executed;
  • the second opening unit is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU authorization of the designated ONU. Number and the slot number of the service card that sends the second-level test packet.
  • the second determining unit is configured to determine whether the service card receives the returned secondary detection packet. If not, the link between the service card and the specified ONU does not exist or the link is already connected. If the fault is rectified, the detection is terminated. Otherwise, the service card of the link loopback and the specified ONU are generated based on the ONU authorization number and the slot number of the service card.
  • the invention realizes the link loopback detection of the PON system by means of the core switch disk and the hierarchical check of each service card, occupies less system resources, can quickly locate the link loopback position and generate alarm information, and the implementation process is simple. The detection result can be reported in time, which greatly improves the efficiency of link loopback detection in the PON system.
  • FIG. 1 is a flowchart of a method for link loopback detection of a PON system according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for detecting link loopback of a PON system according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for link loopback detection of a PON system. As shown in FIG. 1 , the method includes the following steps:
  • Step 10 Open the network management interface, set the detection parameters of the loopback link, enable the loopback detection function of the core switch disk, and send the level 1 detection packet to the slot ports of each uplink port and each service disk through the core switch disk.
  • Ethernet type in the first-level detection message is set by the user, for example, the type of the Ethernet can be set to Oxeffa.
  • Step 20 The core switch disc determines whether the first-level detection packet returned by the other uplink port or slot port is received within the preset time. If yes, step 40 is performed; otherwise, step 30 is performed.
  • the main control disk includes 28 ports, 12 of which are connected to the uplink port, and the other 16 ports are connected to the service disk, and the CPU of the main control disk sends the first-level detection packet through the core switching disk.
  • the uplink port and the service slot are sent at the same time, so the loopback of the following scenarios is initially located:
  • the first-level detection packet sent from the uplink port is returned from the other uplink port.
  • the link loopback is generated between the uplink port and the uplink port.
  • the first-level detection packet sent from the uplink port is returned from the slot port (the port that is connected to the service card), indicating that the link loop is generated between the uplink port and the slot port.
  • the first-level detection packet sent from the slot interface is returned from the uplink port.
  • the link loopback is generated between the slot port and the uplink port.
  • the link loopback is generated between the slot and the slot.
  • the interval at which the CPU sends the detection packet is five minutes.
  • the preset time is the time when the CPU continuously sends the detection packet three times.
  • the preset time can also be other values, which are not limited herein.
  • Step 30 It is determined that the PON system has no link loopback or the link has been broken, and the maintenance personnel is notified that the system is intact, and the detection is ended.
  • Step 40 A link loopback is found between the uplink port and the uplink port, between the uplink port and the slot port, or between the slot ports, and the loopback detection information is recorded and alarm information is generated.
  • step 40 if it is determined that the link loopback exists between the uplink port and the uplink port, the maintenance result is notified to the maintenance personnel to perform corresponding processing, and then returns to step 10 to continue the detection; otherwise, the description There is a link loopback between the upper port and the slot or between the slots. Go to Step 50.
  • Step 50 Determine the mode of the virtual local area network according to the service model of the connected device, and enable the loopback detection function on the service card, and each service card sends a secondary detection packet to the designated ONU.
  • the second-level detection packet contains at least the ONU authorization number of the specified ONU and the slot number of the service card that sends the second-level detection packet.
  • each service board can send a secondary detection packet to the designated ONU by using the default mode, the specified vlan packet sending mode, or the traversal mode.
  • the default packet sending mode is based on the default VLAN to send the second-level detection packet, and the default vlan is 4088.
  • the specified vlan packet sending mode is to send the second-level detection packet according to the vlan selected by the user; the traversal mode refers to When the service vlan in the PON system is clear, the secondary detection packet is sent from the first vlan to the last vlan.
  • Step 60 Determine whether the service board receives the returned secondary detection packet. If not, the link between the service card and the specified ONU does not exist or the link is broken. The maintenance personnel detects the result and continues to detect the next service card until the completion of all the service card detection. Otherwise, the ONU authorization number and the slot number of the service card are accurately located according to the second detection packet. The service card of the link loopback and the specified ONU.
  • loopback detection requires a large amount of system resources for locating the loopback link.
  • the implementation process is cumbersome and the detection result cannot be reported in time.
  • the link loopback detection method of the PON system is inefficient.
  • the present invention uses the loopback detection function of the core switch disk and the loopback detection function on each service board to hierarchically detect the PON system, occupies less system resources, and can quickly locate the link loopback.
  • the location of the alarm information is generated, and the implementation process is simple, and the detection result can be reported in time, which greatly improves the efficiency of link loopback detection in the PON system.
  • the embodiment of the present invention further provides a device 20 for link loopback detection in a PON system.
  • the device 20 includes:
  • the first enabling unit 201 is configured to enable the loopback detection function of the core switching disk, and send a first-level detection message to each slot of the uplink port and each service disk through the core switch disk;
  • the first determining unit 202 is configured to determine, by the core switching disk, whether the other is received by the preset time.
  • the first detection unit returns the first detection unit 204; if yes, the second identification unit 204 is executed; otherwise, the first identification unit 203 is executed;
  • the first determining unit 203 is configured to determine that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
  • the second identification unit 204 is configured to identify a link loopback between the uplink port and the uplink port, between the uplink port and the slot port, or between the slot ports, or between the uplink port and the slot port. If there is a link loopback between the slot ports, the second opening unit 205 is executed;
  • the second opening unit 205 is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU of the designated ONU.
  • the authorization number and the slot number of the service card that sends the second-level detection packet are configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU of the designated ONU.
  • the authorization number and the slot number of the service card that sends the second-level detection packet is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU of the designated ONU.
  • the second determining unit 206 is configured to determine whether the service card receives the returned secondary detection packet. If not, the link between the service card and the designated ONU does not exist. If the fault is rectified, the detection is terminated. Otherwise, the service card of the link loopback and the specified ONU are generated based on the ONU authorization number and the slot number of the service card.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a method and device for detecting link loopback of a PON system. The method comprises: enabling a loopback detection function of a core swap disc, and respectively sending first-level detection messages to all uplink ports and slot ports of all service discs; if the returned first-level detection messages are not received, ending detection; otherwise, confirming that there is loopback in a PON system; if there is loopback between the uplink ports, ending the detection; if there is loopback between the uplink ports and the slot ports or among all the slot ports, enabling loopback detection functions of service cards, each service card respectively sending a second-level detection message to a designated ONU, and if all the service cards do not receive the returned second-level detection message, ending the detection; otherwise, accurately positioning a service card with generated loopback and the designated ONU according to an ONU authorization number carried in the second-level detection message and the slot number of the service card. In the present invention, the implementation process is simple, and a detection result can be reported in time, thereby greatly increasing the efficiency of detecting link loopback of a PON system.

Description

PON系统链路环回检测的方法及装置Method and device for link loopback detection of PON system 技术领域Technical field
本发明涉及通信技术领域,具体涉及PON系统链路环回检测的方法及装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for link loopback detection in a PON system.
背景技术Background technique
随着通信技术的发展,接入宽带的用户越来越普遍,宽带接入设备在网络侧连接传输汇聚层设备,用户侧连接用户家庭网关或DSL(Digital Subscriber Line,数字用户线路)调制解调器,由于用户接入的多样性和复杂性,造成了链路环回的现象,例如用户经常会遇到上不了网,或者打不通电话等问题。这些问题大都是因为系统的链路中存在环回,从上联口进来的报文在出了光线路终端后又通过某些方式回到了设备中,如在PON(Passive Optical Network,无源光纤网络)设备中,一个或多个报文的源MAC(Media Access Control,介质访问控制)地址,同时存在于交换芯片的一个或多个口,从而导致PON设备核心交换盘的交换芯片在转发报文时出现异常。With the development of communication technologies, users accessing broadband are becoming more and more popular. Broadband access devices are connected to the transmission layer device on the network side, and the user side is connected to the user home gateway or DSL (Digital Subscriber Line) modem. The diversity and complexity of user access causes link loopback. For example, users often encounter problems such as not being able to access the network or making phone calls. Most of these problems are caused by loopback in the link of the system. Packets coming in from the uplink port are returned to the device in some way after exiting the optical line terminal, such as in a PON (Passive Optical Network). In the network device, the source MAC (Media Access Control) address of one or more packets exists at one or more ports of the switch chip, so that the switch chip of the core switch disk of the PON device is forwarded. An exception occurred during the text.
目前通常采用环回检测技术解决PON设备链路环回的问题,开启PON设备的环回检测功能,让PON设备接收本身发出的检测报文,若PON设备在预设时间内接收到返回的检测报文,则认定PON设备存在链路环回,若PON设备在预设时间内未接收到返回的检测报文,则认定PON设备没有链路环回或链路已经破环,但是,由于PON设备是一种多级设备,环回的状态有多种可能,既可能出现上联口之间的环回,也可能出现PON口之间、ONU(Optical Network Unit,光网络单元)之间甚至OLT(Optical Line Terminal,光线路终端)之间的环回,因此,现有的PON系统链路环回检测方法存在如下问题:At present, the loopback detection technology is generally used to solve the problem of link loopback of the PON device, and the loopback detection function of the PON device is enabled, so that the PON device receives the detection packet sent by itself, and if the PON device receives the return detection within the preset time, If the PON device does not receive the returned detection packet within the preset time, the PON device does not have a link loopback or the link is broken. However, due to the PON, the PON device has a link loopback. The device is a multi-level device. There are many possibilities for the loopback state. Loopback between the uplink ports may occur. Between the PON ports and between the ONUs (Optical Network Units) may even occur. Loopback between OLT (Optical Line Terminal). Therefore, the existing PON system link loopback detection method has the following problems:
(1)环回检测时需占用大量系统资源用于定位环回链路;(1) Loopback detection requires a large amount of system resources for locating the loopback link;
(2)实施过程繁琐;(2) The implementation process is cumbersome;
(3)不能及时将检测结果上报。 (3) The test results cannot be reported in time.
总之,现有的PON系统链路环回检测方法效率较低。In summary, the existing PON system link loopback detection method is inefficient.
发明内容Summary of the invention
本发明所要解决的技术问题是现有的PON系统链路环回检测方法效率较低的问题。The technical problem to be solved by the present invention is that the existing PON system link loopback detection method is less efficient.
为了解决上述技术问题,本发明提供了一种PON系统链路环回检测的方法,包括以下步骤:In order to solve the above technical problem, the present invention provides a method for link loopback detection of a PON system, including the following steps:
步骤10:开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文;Step 10: Enable the loopback detection function of the core switch disk, and send a level 1 detection packet to each slot of the uplink port and each service disk through the core switch disk.
步骤20:核心交换盘判断是否在预设时间内接收到由其他上联口或槽位口返回的一级检测报文,如果是,则执行步骤40;否则,则执行步骤30;Step 20: The core switch disc determines whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time. If yes, step 40 is performed; otherwise, step 30 is performed;
步骤30:认定PON系统没有链路环回或者链路已经破环,通知维修人员,结束检测;Step 30: It is determined that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
步骤40:认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,对于上联口和槽位口之间或各槽位口之间存在链路环回的情况,则执行步骤50;Step 40: It is determined that there is a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, and between the upper joint port and the slot position or each slot position. If there is a link loopback between the two, step 50 is performed;
步骤50:开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文,所述二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号;Step 50: Enable the loopback detection function on the service card. Each service card sends a secondary detection packet to the specified ONU. The secondary detection packet contains at least the ONU authorization number of the specified ONU. The slot number of the service card of the level detection packet;
步骤60:判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。Step 60: Determine whether the service board receives the returned secondary detection packet. If the service card is not received, the link between the service card and the specified ONU does not exist or the link is broken. The service board and the specified ONU of the link loopback are generated based on the ONU authorization number and the slot number of the service card.
本发明还提供了PON系统链路环回检测的装置,所述装置包括:The present invention also provides a device for link loopback detection of a PON system, the device comprising:
第一开启单元,用于开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文;The first opening unit is configured to enable the loopback detection function of the core switch disk, and send a first-level detection message to each slot of the uplink port and each service disk through the core switch disk;
第一判断单元,用于核心交换盘判断是否在预设时间内接收到由其他上联口或槽位口返回的一级检测报文,如果是,则执行第二认定单元;否则,则执 行第一认定单元;The first determining unit is configured to determine whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time, and if yes, executing the second determining unit; otherwise, executing the second determining unit; First identification unit;
第一认定单元,用于认定PON系统没有链路环回或者链路已经破环,通知维修人员,结束检测;The first identification unit is configured to determine that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
第二认定单元,用于认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,对于上联口和槽位口之间或各槽位口之间存在链路环回的情况,则执行第二开启单元;The second identification unit is configured to identify a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, or between the upper joint port and the slot position If there is a link loopback between the slot ports, the second open unit is executed;
第二开启单元,用于开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文,所述二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号;The second opening unit is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU authorization of the designated ONU. Number and the slot number of the service card that sends the second-level test packet.
第二判断单元,用于判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。The second determining unit is configured to determine whether the service card receives the returned secondary detection packet. If not, the link between the service card and the specified ONU does not exist or the link is already connected. If the fault is rectified, the detection is terminated. Otherwise, the service card of the link loopback and the specified ONU are generated based on the ONU authorization number and the slot number of the service card.
本发明,通过核心交换盘和各业务板卡分级检测的方式实现PON系统链路环回检测,占用系统资源较少,可迅速的定位链路环回的位置并产生告警信息,实施过程简单,能够及时将检测结果上报,大大提高了PON系统链路环回检测的效率。The invention realizes the link loopback detection of the PON system by means of the core switch disk and the hierarchical check of each service card, occupies less system resources, can quickly locate the link loopback position and generate alarm information, and the implementation process is simple. The detection result can be reported in time, which greatly improves the efficiency of link loopback detection in the PON system.
附图说明DRAWINGS
图1为本发明实施例提供的一种PON系统链路环回检测的方法流程图;1 is a flowchart of a method for link loopback detection of a PON system according to an embodiment of the present invention;
图2为本发明实施例提供的一种PON系统链路环回检测的装置结构示意图。FIG. 2 is a schematic structural diagram of an apparatus for detecting link loopback of a PON system according to an embodiment of the present invention.
具体实施方式detailed description
下面结合说明书附图和具体实施方式对本发明做出详细的说明。The present invention will be described in detail below with reference to the drawings and specific embodiments.
本发明实施例提供了一种PON系统链路环回检测的方法,如图1所示,所述方法包括以下步骤: The embodiment of the invention provides a method for link loopback detection of a PON system. As shown in FIG. 1 , the method includes the following steps:
步骤10、打开网管界面,设置环回链路的检测参数,开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文。Step 10: Open the network management interface, set the detection parameters of the loopback link, enable the loopback detection function of the core switch disk, and send the level 1 detection packet to the slot ports of each uplink port and each service disk through the core switch disk. .
需要说明的是,一级检测报文中的以太网类型由用户设定,如以太网的类型可以设定为Oxeffa。It should be noted that the Ethernet type in the first-level detection message is set by the user, for example, the type of the Ethernet can be set to Oxeffa.
步骤20、核心交换盘判断是否在预设时间内接收到由其他上联口或槽位口返回的一级检测报文,如果是,则执行步骤40;否则,执行步骤30。Step 20: The core switch disc determines whether the first-level detection packet returned by the other uplink port or slot port is received within the preset time. If yes, step 40 is performed; otherwise, step 30 is performed.
本发明提供的一种具体实施例中,主控盘包含28个端口,其中12个口作为上联端口,另外16个口连接业务盘,主控盘CPU通过核心交换盘发送一级检测报文时,同时向上联口和业务的槽位口发送,因此会初步定位如下情景的环回:In a specific embodiment of the present invention, the main control disk includes 28 ports, 12 of which are connected to the uplink port, and the other 16 ports are connected to the service disk, and the CPU of the main control disk sends the first-level detection packet through the core switching disk. At the same time, the uplink port and the service slot are sent at the same time, so the loopback of the following scenarios is initially located:
a、从上联口发送出去的一级检测报文从其他上联口回来,则说明上联口与上联口之间产生链路环回;a. The first-level detection packet sent from the uplink port is returned from the other uplink port. The link loopback is generated between the uplink port and the uplink port.
b、从上联口发送出去的一级检测报文从槽位口(与业务板卡对接的口)回来,则说明上联口与槽位口之间产生链路环回;b. The first-level detection packet sent from the uplink port is returned from the slot port (the port that is connected to the service card), indicating that the link loop is generated between the uplink port and the slot port.
c、从槽位口发送出去的一级检测报文从上联口回来,则说明槽位口与上联口之间产生链路环回;c. The first-level detection packet sent from the slot interface is returned from the uplink port. The link loopback is generated between the slot port and the uplink port.
d、从槽位口发送出去的一级检测报文从其他槽位口回来,则说明槽位口与槽位口之间产生链路环回。If the first-level detection packet sent from the slot is returned from another slot, the link loopback is generated between the slot and the slot.
需要说明的是,在缺省模式下,CPU发送检测报文的间隔时间为五分钟,预设时间为CPU连续发送三次检测报文的时间。预设时间也可以为其他值,在此不做限定。It should be noted that, in the default mode, the interval at which the CPU sends the detection packet is five minutes. The preset time is the time when the CPU continuously sends the detection packet three times. The preset time can also be other values, which are not limited herein.
步骤30、认定PON系统没有链路环回或者链路已经破环,通知维修人员系统完好,结束检测。Step 30: It is determined that the PON system has no link loopback or the link has been broken, and the maintenance personnel is notified that the system is intact, and the detection is ended.
步骤40、认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,记录环回检测信息并产生告警信息。Step 40: A link loopback is found between the uplink port and the uplink port, between the uplink port and the slot port, or between the slot ports, and the loopback detection information is recorded and alarm information is generated.
在步骤40中,如果判断链路环回存在于上联口和上联口之间,则将检测结果通知维修人员进行相应的处理,然后返回步骤10继续检测;否则,说明 上联口和槽位口之间或各槽位口之间存在链路环回,执行步骤50。In step 40, if it is determined that the link loopback exists between the uplink port and the uplink port, the maintenance result is notified to the maintenance personnel to perform corresponding processing, and then returns to step 10 to continue the detection; otherwise, the description There is a link loopback between the upper port and the slot or between the slots. Go to Step 50.
步骤50、根据下接设备的业务模型确定虚拟局域网的模式,开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文。Step 50: Determine the mode of the virtual local area network according to the service model of the connected device, and enable the loopback detection function on the service card, and each service card sends a secondary detection packet to the designated ONU.
其中,二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号。The second-level detection packet contains at least the ONU authorization number of the specified ONU and the slot number of the service card that sends the second-level detection packet.
需要说明的是,每一块业务板卡可选用缺省模式、指定vlan发包模式或遍历模式分别向指定ONU发送二级检测报文。It should be noted that each service board can send a secondary detection packet to the designated ONU by using the default mode, the specified vlan packet sending mode, or the traversal mode.
具体的,缺省发包模式是指基于默认vlan发送二级检测报文,默认的vlan为4088;指定vlan发包模式是指根据用户选定的vlan发送二级检测报文;遍历模式是指在不清楚PON系统内的业务vlan时,二级检测报文依次从第一个vlan开启一直发送到最后一个vlan。Specifically, the default packet sending mode is based on the default VLAN to send the second-level detection packet, and the default vlan is 4088. The specified vlan packet sending mode is to send the second-level detection packet according to the vlan selected by the user; the traversal mode refers to When the service vlan in the PON system is clear, the secondary detection packet is sent from the first vlan to the last vlan.
步骤60、判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,通知维修人员检测结果,继续下一块业务板卡的检测,直至完成全部业务板卡检测后结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。Step 60: Determine whether the service board receives the returned secondary detection packet. If not, the link between the service card and the specified ONU does not exist or the link is broken. The maintenance personnel detects the result and continues to detect the next service card until the completion of all the service card detection. Otherwise, the ONU authorization number and the slot number of the service card are accurately located according to the second detection packet. The service card of the link loopback and the specified ONU.
全部业务板卡检测后,通知维修人员进行检修。After all business boards are inspected, the maintenance personnel are notified to perform maintenance.
现有技术中,环回检测时需占用大量系统资源用于定位环回链路,实施过程繁琐,不能及时将检测结果上报,导致PON系统链路环回检测方法效率较低。与现有技术相比,本发明,通过核心交换盘的环回检测功能和各业务板卡上的环回检测功能,分级检测PON系统,占用系统资源较少,可迅速的定位链路环回的位置并产生告警信息,该实施过程简单,能够及时将检测结果上报,大大提高了PON系统链路环回检测的效率。In the prior art, loopback detection requires a large amount of system resources for locating the loopback link. The implementation process is cumbersome and the detection result cannot be reported in time. As a result, the link loopback detection method of the PON system is inefficient. Compared with the prior art, the present invention uses the loopback detection function of the core switch disk and the loopback detection function on each service board to hierarchically detect the PON system, occupies less system resources, and can quickly locate the link loopback. The location of the alarm information is generated, and the implementation process is simple, and the detection result can be reported in time, which greatly improves the efficiency of link loopback detection in the PON system.
在上述方法的基础上,本发明实施例还提供了一种PON系统链路环回检测的装置20,如图2所示,所述装置20包括:On the basis of the foregoing method, the embodiment of the present invention further provides a device 20 for link loopback detection in a PON system. As shown in FIG. 2, the device 20 includes:
第一开启单元201,用于开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文;The first enabling unit 201 is configured to enable the loopback detection function of the core switching disk, and send a first-level detection message to each slot of the uplink port and each service disk through the core switch disk;
第一判断单元202,用于核心交换盘判断是否在预设时间内接收到由其他 上联口或槽位口返回的一级检测报文,如果是,则执行第二认定单元204;否则,则执行第一认定单元203;The first determining unit 202 is configured to determine, by the core switching disk, whether the other is received by the preset time. The first detection unit returns the first detection unit 204; if yes, the second identification unit 204 is executed; otherwise, the first identification unit 203 is executed;
第一认定单元203,用于认定PON系统没有链路环回或者链路已经破环,通知维修人员,结束检测;The first determining unit 203 is configured to determine that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
第二认定单元204,用于认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,对于上联口和槽位口之间或各槽位口之间存在链路环回的情况,则执行第二开启单元205;The second identification unit 204 is configured to identify a link loopback between the uplink port and the uplink port, between the uplink port and the slot port, or between the slot ports, or between the uplink port and the slot port. If there is a link loopback between the slot ports, the second opening unit 205 is executed;
第二开启单元205,用于开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文,所述二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号;The second opening unit 205 is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU of the designated ONU. The authorization number and the slot number of the service card that sends the second-level detection packet.
第二判断单元206,用于判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。The second determining unit 206 is configured to determine whether the service card receives the returned secondary detection packet. If not, the link between the service card and the designated ONU does not exist. If the fault is rectified, the detection is terminated. Otherwise, the service card of the link loopback and the specified ONU are generated based on the ONU authorization number and the slot number of the service card.
本发明不局限于上述最佳实施方式,任何人应该得知在本发明的启示下作出的结构变化,凡是与本发明具有相同或相近的技术方案,均落入本发明的保护范围之内。 The present invention is not limited to the above-described preferred embodiments, and any one skilled in the art should be aware of the structural changes made in the light of the present invention. Any technical solutions having the same or similar to the present invention fall within the protection scope of the present invention.

Claims (10)

  1. PON系统链路环回检测的方法,其特征在于,包括以下步骤:A method for link loopback detection in a PON system, comprising the steps of:
    步骤10:开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文;Step 10: Enable the loopback detection function of the core switch disk, and send a level 1 detection packet to each slot of the uplink port and each service disk through the core switch disk.
    步骤20:核心交换盘判断是否在预设时间内接收到由其他上联口或槽位口返回的一级检测报文,如果是,则执行步骤40;否则,则执行步骤30;Step 20: The core switch disc determines whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time. If yes, step 40 is performed; otherwise, step 30 is performed;
    步骤30:认定PON系统没有链路环回或者链路已经破环,通知维修人员,结束检测;Step 30: It is determined that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
    步骤40:认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,对于上联口和槽位口之间或各槽位口之间存在链路环回的情况,则执行步骤50;Step 40: It is determined that there is a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, and between the upper joint port and the slot position or each slot position. If there is a link loopback between the two, step 50 is performed;
    步骤50:开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文,所述二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号;Step 50: Enable the loopback detection function on the service card. Each service card sends a secondary detection packet to the specified ONU. The secondary detection packet contains at least the ONU authorization number of the specified ONU. The slot number of the service card of the level detection packet;
    步骤60:判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。Step 60: Determine whether the service board receives the returned secondary detection packet. If the service card is not received, the link between the service card and the specified ONU does not exist or the link is broken. The service board and the specified ONU of the link loopback are generated based on the ONU authorization number and the slot number of the service card.
  2. 如权利要求1所述的方法,其特征在于,所述一级检测报文中的以太网类型由用户设定。The method of claim 1 wherein the type of Ethernet in the primary detection message is set by a user.
  3. 如权利要求1所述的方法,其特征在于,确定存在链路环回后,记录环回检测信息并产生告警信息。The method according to claim 1, wherein after determining that there is a link loopback, the loopback detection information is recorded and alarm information is generated.
  4. 如权利要求1所述的方法,其特征在于,步骤50中可选用缺省发包模式、指定vlan发包模式或遍历模式发送二级检测报文。The method according to claim 1, wherein in step 50, the second detection packet is sent by using a default delivery mode, a specified vlan delivery mode, or an traversal mode.
  5. 如权利要求4所述的方法,其特征在于,所述缺省发包模式是指基于默认vlan发送二级检测报文,所述指定vlan发包模式是指根据用户选定的vlan发送二级检测报文,所述遍历模式是指在不清楚PON系统内的业 务vlan时,二级检测报文依次从第一个vlan开始一直发送到最后一个vlan。The method according to claim 4, wherein the default packet sending mode is to send a second-level detection message based on a default vlan, and the specified vlan packet sending mode is to send a second-level detection report according to the vlan selected by the user. The traversal mode refers to the industry in the PON system. When vlan is serviced, the secondary detection packet is sent from the first vlan to the last vlan.
  6. PON系统链路环回检测的装置,其特征在于,所述装置包括:A device for link loopback detection of a PON system, characterized in that the device comprises:
    第一开启单元,用于开启核心交换盘的环回检测功能,通过核心交换盘分别向各上联口和各业务盘的槽位口发送一级检测报文;The first opening unit is configured to enable the loopback detection function of the core switch disk, and send a first-level detection message to each slot of the uplink port and each service disk through the core switch disk;
    第一判断单元,用于核心交换盘判断是否在预设时间内接收到由其他上联口或槽位口返回的一级检测报文,如果是,则执行第二认定单元;否则,则执行第一认定单元;The first determining unit is configured to determine whether the first-level detection message returned by the other uplink port or the slot port is received within the preset time, and if yes, executing the second determining unit; otherwise, executing First identification unit;
    第一认定单元,用于认定PON系统没有链路环回或者链路已经破环,通知维修人员,结束检测;The first identification unit is configured to determine that the PON system has no link loopback or the link has been broken, notify the maintenance personnel, and end the detection;
    第二认定单元,用于认定上联口和上联口之间、上联口和槽位口之间或各槽位口之间存在链路环回,对于上联口和槽位口之间或各槽位口之间存在链路环回的情况,则执行第二开启单元;The second identification unit is configured to identify a link loopback between the upper joint port and the upper joint port, between the upper joint port and the slot position, or between the slot ports, or between the upper joint port and the slot position If there is a link loopback between the slot ports, the second open unit is executed;
    第二开启单元,用于开启业务板卡上的环回检测功能,每一块业务板卡分别向指定ONU发送二级检测报文,所述二级检测报文中至少包含有指定ONU的ONU授权号和发出二级检测报文的业务板卡的槽位号;The second opening unit is configured to enable the loopback detection function on the service card, and each of the service boards sends a second detection packet to the designated ONU, where the second detection packet includes at least the ONU authorization of the designated ONU. Number and the slot number of the service card that sends the second-level test packet.
    第二判断单元,用于判断各业务板卡是否收到返回的二级检测报文,如果未收到,则说明该业务板卡与指定的ONU之间不存在链路环回或者链路已经破环,结束检测;否则,根据二级检测报文中携带的ONU授权号和业务板卡的槽位号精确定位产生链路环回的业务板卡和指定的ONU。The second determining unit is configured to determine whether the service card receives the returned secondary detection packet. If not, the link between the service card and the specified ONU does not exist or the link is already connected. If the fault is rectified, the detection is terminated. Otherwise, the service card of the link loopback and the specified ONU are generated based on the ONU authorization number and the slot number of the service card.
  7. 如权利要求6所述的装置,其特征在于,所述一级检测报文中的以太网类型由用户设定。The apparatus of claim 6, wherein the type of Ethernet in the primary detection message is set by a user.
  8. 如权利要求6所述的装置,其特征在于,还包括:The device of claim 6 further comprising:
    记录单元,用于记录环回检测信息并产生告警信息。a recording unit for recording loopback detection information and generating alarm information.
  9. 如权利要求6所述的装置,其特征在于,第二开启单元中可选用缺省发包模式、指定vlan发包模式或遍历模式发送二级检测报文。The apparatus according to claim 6, wherein the second opening unit is configured to send a secondary detection message by using a default packet sending mode, a specified vlan packet sending mode, or an traversal mode.
  10. 如权利要求9所述的装置,其特征在于,所述缺省发包模式是指 基于默认vlan发送二级检测报文,所述指定vlan发包模式是指根据用户选定的vlan发送二级检测报文,所述遍历模式是指在不清楚PON系统内的业务vlan时,二级检测报文依次从第一个vlan开始一直发送到最后一个vlan。 The apparatus according to claim 9, wherein said default delivery mode means Sending a second-level detection packet based on the default vlan, the specified vlan packet sending mode is to send a second-level detection packet according to the vlan selected by the user, where the traversal mode refers to when the service vlan in the PON system is unclear, the second-level detection message The detection message is sent from the first vlan to the last vlan.
PCT/CN2015/093671 2015-01-06 2015-11-03 Method and device for detecting link loopback of pon system WO2016110151A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2016704438A MY188119A (en) 2015-01-06 2015-11-03 Method and device for detecting link loopback of pon system
TR2017/13827A TR201713827T1 (en) 2015-01-06 2015-11-03 Method and apparatus for determining the connection loop of the PON system.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510004410.8A CN104539348B (en) 2015-01-06 2015-01-06 PON system link loopback detection method and device
CN201510004410.8 2015-01-06

Publications (1)

Publication Number Publication Date
WO2016110151A1 true WO2016110151A1 (en) 2016-07-14

Family

ID=52854826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093671 WO2016110151A1 (en) 2015-01-06 2015-11-03 Method and device for detecting link loopback of pon system

Country Status (4)

Country Link
CN (1) CN104539348B (en)
MY (1) MY188119A (en)
TR (1) TR201713827T1 (en)
WO (1) WO2016110151A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632175A (en) * 2017-03-22 2018-10-09 中兴通讯股份有限公司 Switching method and device for first line of a couplet port in polymorphic network

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539348B (en) * 2015-01-06 2017-04-12 烽火通信科技股份有限公司 PON system link loopback detection method and device
CN108123752B (en) * 2017-12-29 2020-01-31 武汉长光科技有限公司 EPON precise loop detection method based on geographic information positioning
CN113890603B (en) * 2021-09-30 2023-03-28 杭州迪普信息技术有限公司 Method and device for automatically positioning fault link

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056224A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 A loop detection method and device for the network device
CN104219122A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Detection method for quickly positioning far-end ONU (optical network unit) loop ports by OLT (optical line terminal) local sides
CN104539348A (en) * 2015-01-06 2015-04-22 烽火通信科技股份有限公司 PON system link loopback detection method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4611863B2 (en) * 2005-10-27 2011-01-12 アラクサラネットワークス株式会社 Loop detection method and loop detection apparatus
CN101170462A (en) * 2007-12-07 2008-04-30 杭州华三通信技术有限公司 Downlink loop detection method and device for tree network
CN102055522B (en) * 2009-11-10 2016-07-27 中兴通讯股份有限公司 Optical network unit port loopback detection method thereof and optical network unit
CN101707538B (en) * 2009-11-25 2011-09-14 烽火通信科技股份有限公司 Method for detecting and automatically recovering Ethernet loopback
CN102055525B (en) * 2010-12-17 2016-03-16 北京格林伟迪科技股份有限公司 loop detection and control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056224A (en) * 2007-05-31 2007-10-17 杭州华三通信技术有限公司 A loop detection method and device for the network device
CN104219122A (en) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Detection method for quickly positioning far-end ONU (optical network unit) loop ports by OLT (optical line terminal) local sides
CN104539348A (en) * 2015-01-06 2015-04-22 烽火通信科技股份有限公司 PON system link loopback detection method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632175A (en) * 2017-03-22 2018-10-09 中兴通讯股份有限公司 Switching method and device for first line of a couplet port in polymorphic network

Also Published As

Publication number Publication date
CN104539348B (en) 2017-04-12
TR201713827T1 (en) 2017-10-23
CN104539348A (en) 2015-04-22
MY188119A (en) 2021-11-22

Similar Documents

Publication Publication Date Title
WO2016110151A1 (en) Method and device for detecting link loopback of pon system
US9794285B1 (en) System and method for detecting hacked modems
CN103731205B (en) A kind of optical network unit automated testing method
CN109787849B (en) O L T logic network testing method
EP3219053B1 (en) Methods, systems, and computer readable media for monitoring and/or testing network communications
CN105471610B (en) Method and device for protecting HQoS (high-quality QoS) by using multiple board cards
CN110061979B (en) Method and device for detecting business object
WO2019242487A1 (en) Fault management method and related device
CN106464356B (en) A kind of detection method of rogue's optical network unit, apparatus and system
CN110601919A (en) Loopback detection method and system
CN100505641C (en) Method and device for quickly fault detection from point-to-point
WO2016091094A1 (en) Optical transport network protection switching method and device
CN102142894B (en) Optical network unit control method, device and system
CN104104596B (en) A kind of IRF divides treating method and apparatus
WO2024149297A1 (en) Container network packet capture processing method, apparatus and device, and readable storage medium
CN101631060A (en) Method and device for managing edge port
CN106941634B (en) O L T loopback detection method and system in GPON system
US20180367427A1 (en) Method for performing connectivity check and apparatus
CN103490964B (en) A kind of method and device for realizing that flexible configuration terminal accesses quantity
EP3197074A1 (en) Method and device for detecting loopback link, optical line terminal, and optical network terminal
CN107395643B (en) Source IP protection method based on scanning probe behavior
US10162733B2 (en) Debugging failure of a service validation test
JP2015095741A (en) Optical subscriber line termination device and method for detecting damage of transfer table
CN114465986B (en) IP address conflict processing method, electronic device and computer readable storage medium
WO2022257812A1 (en) Measurement strategy generation method, device, and system

Legal Events

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

Ref document number: 15876651

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: IDP00201608116

Country of ref document: ID

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15876651

Country of ref document: EP

Kind code of ref document: A1