CN117411547B - Optical network unit fault positioning method and optical network unit data receiving and transmitting method - Google Patents

Optical network unit fault positioning method and optical network unit data receiving and transmitting method Download PDF

Info

Publication number
CN117411547B
CN117411547B CN202311717355.8A CN202311717355A CN117411547B CN 117411547 B CN117411547 B CN 117411547B CN 202311717355 A CN202311717355 A CN 202311717355A CN 117411547 B CN117411547 B CN 117411547B
Authority
CN
China
Prior art keywords
optical network
link detection
network unit
message
fault
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202311717355.8A
Other languages
Chinese (zh)
Other versions
CN117411547A (en
Inventor
吴辉
王莉
李明
彭珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical Technology Co ltd
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 Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN202311717355.8A priority Critical patent/CN117411547B/en
Publication of CN117411547A publication Critical patent/CN117411547A/en
Application granted granted Critical
Publication of CN117411547B publication Critical patent/CN117411547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04B10/0791Fault location on the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects
    • H04Q2011/0096Tree

Abstract

The invention provides an optical network unit fault positioning method and an optical network unit data receiving and transmitting method, which belong to the technical field of wireless communication, wherein the optical network unit fault positioning method comprises the following steps: under the condition of determining the destination optical network unit, the optical line terminal sends a line detection message comprising unique identification information of the destination optical network unit; after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure. According to the method for positioning the faults of the optical network units, link detection is initiated through the link detection messages, the link detection response messages returned by the optical network units are compared with the pre-stored tree-shaped networking structure of the optical network units, and the optical network units which do not return the link detection response messages are determined, so that the optical network units are remotely searched, the fault positions can be preliminarily determined when faults occur, the cost of fault positioning is reduced, and the fault maintenance recovery time is saved.

Description

Optical network unit fault positioning method and optical network unit data receiving and transmitting method
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a method for positioning a fault of an optical network unit and a method for receiving and transmitting data of the optical network unit.
Background
With the rapid development of the internet, high-quality services such as 8K video, online education, cloud VR and the like are generated, and the services have high requirements on high bandwidth and low time delay, so FTTR (Fiber to The Remote, fiber to the room) is generated, and compared with the traditional FTTH (Fiber to The Home ) fiber to the home, the FTTR realizes the full-house gigabit WIFI coverage capability, and solves the bad user experience caused by insufficient FTTH bandwidth and poor coverage.
The FTTR technology brings high bandwidth coverage, and introduces more ONU (Optical Network Unit ) application scenarios. The conventional ONU management means uses an OLT (Optical Line Terminal ) office to issue a P2P mode command to the ONU terminal, so as to complete various service configurations and management. If the space covered in the FTTR is larger, the number of required terminals is larger, and when the ONU fails, ensuring that positioning and service recovery are performed by a fast and effective method has become an urgent need to be solved.
Disclosure of Invention
The invention provides an optical network unit fault positioning method and an optical network unit data receiving and transmitting method, which are used for solving the defect that a fault optical network unit cannot be positioned quickly in the prior art and realizing the quick positioning of the fault optical network unit.
In a first aspect, the present invention provides a method for positioning an optical network unit fault, applied to an optical line terminal, where the optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and the method for positioning an optical network unit fault includes:
under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
The invention provides a fault positioning method for an optical network unit, which further comprises the following steps:
and under the condition that the target optical network unit is not determined, sending a second link detection message, wherein the second link detection message comprises broadcast address identification information which indicates all subordinate optical network units of the optical line terminal.
According to the method for positioning the faults of the optical network unit, the method for positioning the faults of the optical network unit further comprises the following steps:
and under the condition of determining the service path, sending a third link detection message, wherein the third link detection message comprises the subnet number of the service path.
According to the method for positioning the fault of the optical network unit provided by the invention, the determining the fault area based on each link detection response message and the tree topology structure comprises the following steps:
if the optical line terminal receives the first link detection response message and does not receive the second link detection response message, determining that the fault area is a network area between the first optical network unit and the second optical network unit;
the first link detection response message includes unique identification information of the first optical network unit, the second link detection response message includes unique identification information of the second optical network unit, and the first optical network unit is a parent node of the second optical network unit.
In a second aspect, the present invention further provides an optical network unit data transceiving method, applied to an optical network unit, where the optical network unit data transceiving method includes:
When a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message to an optical line terminal, wherein the link detection response message comprises the unique identification information of the optical line terminal;
and when a first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message to the optical line terminal.
According to the method for receiving and transmitting the data of the optical network unit provided by the invention, the method for receiving and transmitting the data of the optical network unit further comprises the following steps:
and when receiving a second link detection message, forwarding the second link detection message, and sending the link detection response message to the optical line terminal.
In a third aspect, the present invention provides an optical line terminal, where the optical line terminal stores a tree topology of an optical network unit subordinate to the optical line terminal, and the optical line terminal includes a memory, a transceiver, and a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
Under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
In a fourth aspect, the present invention provides an optical network unit comprising a memory, a transceiver, and a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message, wherein the link detection response message comprises the unique identification information of the optical line terminal;
and when the first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message.
In a fifth aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements steps of any one of the above-mentioned optical network unit fault location methods or implements steps of any one of the above-mentioned optical network unit data transceiving methods when the program is executed by the processor.
In a sixth aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of any one of the above-mentioned optical network unit fault location methods, or implements the steps of any one of the above-mentioned optical network unit data transceiving methods.
The invention provides an optical network unit fault positioning method and an optical network unit data receiving and transmitting method, wherein an optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and under the condition of determining a target optical network unit, the optical line terminal transmits a first link detection message which comprises unique identification information of the target optical network unit; after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit. The link detection is initiated through the first link detection message, the link detection response message returned by each optical network unit is compared with the pre-stored tree-shaped networking structure of the optical network units, and the optical network units which do not return the link detection response message are determined, so that the fault area is quickly locked, the fault investigation is not needed to be performed manually, a user is helped to search the optical network units remotely, the operation condition of the optical network units is obtained, the fault position can be determined preliminarily when the fault occurs, the cost of fault positioning is reduced, the fault maintenance recovery time is saved, and the user experience is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an optical network unit fault location method provided by the present invention;
fig. 2 is a schematic flow chart of an optical network unit data transceiving method provided by the present invention;
FIG. 3 is a schematic diagram of the structure of an FTTR networking provided by the present invention;
fig. 4 is a schematic structural diagram of an optical network unit fault location device provided by the present invention;
fig. 5 is a schematic structural diagram of an optical network unit data transceiver device provided by the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that in the description of embodiments of the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. The orientation or positional relationship indicated by the terms "upper", "lower", etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description and to simplify the description, and are not indicative or implying that the apparatus or elements in question must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as limiting the present invention. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and "coupled" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The terms "first," "second," and the like in this application are used for distinguishing between similar objects and not for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. In addition, "and/or" indicates at least one of the connected objects, and the character "/", generally indicates that the associated object is an "or" relationship.
With the rapid development of the Internet, high-quality services such as 8K video, online education, cloud VR and the like are generated, and the services have high requirements on high bandwidth and low time delay, so that the FTTR is generated, and compared with the traditional FTTH optical fiber for home, the FTTR realizes the full-house gigabit WIFI coverage capability, and solves the bad user experience caused by insufficient FTTH bandwidth and poor coverage.
The FTTR technology brings high bandwidth coverage and introduces more ONU application scenarios. The traditional ONU management means utilizes the OLT local side to issue a command of a P2P mode to the ONU terminal so as to complete various service configuration and management. If the space covered in the FTTR is larger, the number of required terminals is larger, and when the ONU fails, ensuring that positioning and service recovery are performed by a fast and effective method has become an urgent need to be solved. Particularly, when the ONU reaches a considerable amount, the complex networking is overlapped, various faults can not be avoided to cause abnormal service, the number of terminals is large at the moment, the specific ONU equipment is not known, the faulty ONU equipment is usually positioned in a manual detection mode at present, and the fault positioning cost is high.
In view of the above problems, the present application proposes the following embodiments. The following describes a method and an apparatus for positioning an optical network unit fault provided by an embodiment of the present invention with reference to fig. 1 to 5.
Fig. 1 is a flow chart of an optical network unit fault location method provided by the present invention, as shown in fig. 1, where the optical network unit fault location method is applied to an optical line terminal, and includes, but is not limited to, the following steps:
s110, under the condition that the destination optical network unit is determined, a first link detection message is sent, wherein the first link detection message comprises unique identification information of the destination optical network unit.
Here, in FTTR networking, at least one OLT is included, where each OLT includes at least one virtual domain, that is, one OLT includes one or more virtual domains, each virtual domain manages a plurality of ONUs, and ONUs in any one virtual domain are networked in a tree topology. The OLT stores a tree topology of its subordinate ONUs, that is, when the OLT includes N virtual domains, the ONUs in each virtual domain are networked in a tree topology, and the OLT stores the N tree topologies. It will be appreciated that, in order to distinguish the tree topology of each virtual domain, the OLT further stores unique identification information of each virtual domain (hereinafter, each embodiment is denoted by a virtual domain ID), and each tree topology of each virtual domain is associated with unique identification information of a corresponding virtual domain.
Here, the ONUs of each virtual domain may select an appropriate tree structure according to the actual use requirement to perform networking, which is not limited herein.
For easy understanding, the following embodiments take an OLT including a virtual domain as an example, and describe an optical network unit fault locating method and an optical network unit data transceiving method provided in the present application.
Here, the OLT may store a virtual domain ID to which each ONU belongs, unique identification information of each ONU, a service configured on each ONU, a parent-child relationship of each ONU, and the like.
In an embodiment, the unique identification information of the ONU is the MAC address of the ONU.
In another embodiment, the unique identification information of the ONU is a customized ONU ID (hereinafter referred to as ONU-ID), and the ID may be a letter, a number, or a combination of a letter and a number, which is not limited herein. It is understood that ONU-IDs in the same virtual domain may be different, and ONU-IDs in different virtual domains may be the same or different.
For ease of understanding, the following embodiments unify the MAC address of an ONU as unique identification information of the ONU.
Here, when the destination optical network unit is determined, that is, the MAC address of the destination ONU is determined, in a home networking scenario, one ONU device is usually used in one room, and when a network failure in one room is determined, the MAC address of the ONU device in the room can be found by searching, and then the ONU in the room is used as the destination ONU, and the MAC address is determined as the destination MAC address. At this time, the first link detection message may be sent in a unicast manner, that is, the first link detection message carries a MAC address of a destination ONU (abbreviated as a destination MAC address), and the ONU that receives the first link detection message determines whether the MAC address of itself is the same as the destination MAC address in the first link detection message, and if not, forwards the first link detection message to the designated node, so as to implement detection of a link state from the root node to the destination ONU device.
Here, the first link detection message is a two-layer ethernet message forwarded based on the MAC address in a specified virtual domain, where the first link detection message carries the virtual domain ID of the virtual domain and the destination MAC address. The first link detection message may also carry a type ID of the first link detection message, where the type ID of one message indicates a type of the message, for example, the type ID of the message sending data in normal communication is A1, the type ID of the message sending data in fault detection is C1, the type ID of the message responding to the data in fault detection is C2, and the type IDs of the first link detection message, the second link detection message and the third link detection message described below are both C1, and the type IDs of the link detection response messages are both C2.
S120, after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
Here, the link detection reply message returned by the receiving subordinate optical network unit is the link detection reply message returned by all the receiving subordinate optical network units in the virtual domain. It may be understood that the link detection reply messages returned by all the optical network units include link detection reply messages returned by ONUs capable of normally communicating, and for an ONU in a fault area and each descendant node of the faulty ONU, the link detection reply message returned by the ONU cannot be obtained, which may not be received, or may not be sent to the nodes by the first link detection message.
Optionally, setting a response time threshold, the OLT starts to count after sending the first link detection message, and if the counted time reaches the response time threshold, considers that all link detection response messages returned by the ONUs capable of normal communication have been received, and executing the subsequent step of determining the fault area.
Here, because the ONUs in the fault area and the link detection response messages of the descendant nodes thereof cannot be received, after the ONUs receiving the link detection response messages are compared with the tree topology structure, it is possible to determine which ONUs do not receive the link detection response messages, thereby determining the fault area.
According to the optical network unit fault positioning method provided by the embodiment of the application, an optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and under the condition that a target optical network unit is determined, the optical line terminal sends a first link detection message which comprises unique identification information of the target optical network unit; after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit. The link detection is initiated through the first link detection message, the link detection response message returned by each optical network unit is compared with the pre-stored tree-shaped networking structure of the optical network units, and the optical network units which do not return the link detection response message are determined, so that the fault area is quickly locked, the fault investigation is not needed to be performed manually, a user is helped to search the optical network units remotely, the operation condition of the optical network units is obtained, the fault position can be determined preliminarily when the fault occurs, the cost of fault positioning is reduced, the fault maintenance recovery time is saved, and the user experience is improved.
In an optional embodiment, the optical network unit fault location method further includes:
and under the condition that the target optical network unit is not determined, sending a second link detection message, wherein the second link detection message comprises broadcast address identification information which indicates all subordinate optical network units of the optical line terminal.
Here, in the case where the destination optical network unit is not determined, that is, the area where the network failure is not determined, it is necessary to traverse all ONUs in the virtual domain, and from the root node of the tree topology, the second link detection message is forwarded to the last node without destination, that is, it is necessary to send the second link detection message to each ONU, so that each ONU returns a link detection response message, thereby detecting the link states of all ONUs in the virtual domain. At this time, the second link detection message may be sent in a broadcast manner, where the second link detection message carries broadcast address identification information, typically, an FF-FF MAC address, to indicate that all nodes receiving the second link detection message need to receive and process the second link detection message, and specifically, an ONU receiving the second link detection message needs to forward the second link detection message to its child node, and return a link detection response message to the OLT.
In some embodiments, the first link detection message is the same as the second link detection message except that the destination MAC address is different, the destination MAC address of the first link detection message is the MAC address of the destination ONU, and the destination MAC of the second link detection message is FF-FF.
According to the optical network unit fault positioning method, under the condition that the fault area cannot be determined, the link states of all nodes in the virtual domain are detected in a broadcast mode, so that the fault position is locked rapidly, the fault maintenance recovery time is saved, and the user experience is improved.
Based on any one of the above embodiments, the optical network unit fault location method further includes:
and under the condition of determining the service path, sending a third link detection message, wherein the third link detection message comprises the subnet number of the service path.
Here, in the case of determining a service path, that is, a specific service failure is known, a specific service path needs to be detected, and the third link detection packet is forwarded according to the mac+vlan, which is equivalent to detecting a specific service path.
Fig. 3 is a schematic structural diagram of an FTTR network provided in the present invention, as shown in fig. 3, for example, from node 7 through node 3, node 1 to OLT are a service carried by VLAN100 (subnet VLAN number is 100), when the service fails, detection is initiated in a virtual domain according to mac+vlan100 of node 7, the OLT sends a third link detection packet, which includes the MAC address of node 7 and the subnet number VLAN100 of the service path, and the third link detection packet is detected by routing VLAN100 through node 1, node 3 and node 7, and if the third link detection packet is received, the node whose subnet number is not VLAN100 in the virtual domain can be directly discarded without forwarding. For example, if a broadband service of a user fails, the broadband service is configured by VLAN100, and the third link detection message carries VLAN100, a node that does not configure VLAN100 will not pass through the third link detection message.
According to the optical network unit fault positioning method, when a specific service fault is known, the link state of the target ONU is detected through the third link detection message carrying the MAC address and the subnet number of the target ONU, the nodes which do not belong to the corresponding subnet numbers do not need to transmit the third link detection message, the third link detection message in the virtual domain is reduced, and the power consumption of the whole virtual domain is reduced.
Based on any one of the foregoing embodiments, the determining a fault area based on each link detection reply packet and the tree topology includes:
if the optical line terminal receives the first link detection response message and does not receive the second link detection response message, determining that the fault area is a network area between the first optical network unit and the second optical network unit;
the first link detection response message includes unique identification information of the first optical network unit, the second link detection response message includes unique identification information of the second optical network unit, and the first optical network unit is a parent node of the second optical network unit.
Here, after the OLT receives all the link detection response messages, because the OLT itself stores the basic information (unique identifier of the ONU, ID of the virtual domain to which the ONU belongs) and the topology structure of each ONU in the virtual domain, in combination with the virtual domain ID and the MAC address in the link detection response message, the message path can be analyzed, so as to obtain the path information of the whole detection.
Referring to fig. 3, if there is a fault in the path from the OLT initiator to the destination ONU, the node downstream of the fault point cannot receive the link detection message, whether the first link detection message, the second link detection message, or the third link detection message, and the node downstream of the fault point does not reply to the link detection response message, so that the OLT can determine the position of the fault point according to the received link detection response message. For example, when the spatial network where the node 8 is located is abnormal, the OLT initiates a first link detection message, where the destination MAC address in the first link detection message is the MAC address of the node 8, and if the OLT can receive the link detection response messages replied by the node 2 and the node 5, but cannot receive the link detection response messages replied by the node 8, the path formed by the OLT is: the main route- > node 2- > node 5, where the olt determines that the area between the node 5 and the node 8 is faulty, the link detection reply message replied by the node 5 is the first link detection reply message, and the link detection reply message replied by the node 8 is the second link detection reply message, where the spatial network abnormality where the node 8 is located may be a network line fault between the node 5 and the node 8, or a fault of the node 5 or the node 8 itself, or a service fault configured on the node 5 or the node 8, or the like. If the OLT can receive the link detection response message replied by the node 2, but cannot receive the link detection response messages replied by the node 5 and the node 8, the path formed by the OLT is: the method comprises the steps that a main route is changed to node 2, the OLT judges the region fault between the node 2 and the node 5, the link detection response message replied by the node 2 is a first link detection response message, and the link detection response message replied by the node 5 is a second link detection response message.
It will be appreciated that the second link detection reply message may not be a true message, and the second optical network unit may not be able to reply to the link detection reply message due to the failure, where the second link detection reply message is a message that the OLT expects to receive.
According to the optical network unit fault positioning method, the optical line terminal analyzes the link path based on the received link detection response message and compares the link path with the pre-stored topological structure, so that a fault area is determined, remote searching of the ONU is realized, the fault position is preliminarily determined, the fault maintenance time is shortened, and the fault maintenance efficiency is improved.
Based on any of the above embodiments, after the OLT completes the detection, a corresponding command query detection result is provided, and the analyzed path information is provided with visual information.
Fig. 2 is a flow chart of an optical network unit data transceiving method provided by the present invention, and as shown in fig. 2, the optical network unit data transceiving method is applied to an optical network unit, and may include:
s210, when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message to an optical line terminal, wherein the link detection response message comprises the unique identification information of the optical line terminal.
Here, in the embodiment described in the first link detection message Wen Rushang, the link detection message is a link detection message unicast sent by the OLT, where the link detection message includes a MAC address of a destination ONU, each ONU that receives the first link detection message may parse the first link detection message to obtain a destination MAC address in the first link detection message, determine whether the destination MAC address is an own MAC address, and if the destination MAC address is not the own MAC address, the ONU forwards the first link detection message to its own child node, and responds to the OLT with a link detection response message, where the link detection response message includes a virtual domain ID and a MAC address of the ONU that sends the link detection response message. Optionally, the link detection reply message may further include unique identification information of a parent node and/or unique identification information of a child node of the ONU.
S220, when receiving the first link detection message, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, the link detection response message is sent to the optical line terminal.
If the destination MAC address in the first link detection message is the MAC address of the ONU, forwarding the first link detection message is stopped, and a link detection response message is sent to the root node in a unicast manner, and is sent to the OLT by the root node.
According to the data transceiving method for the optical network unit, after the optical network unit receives the unicast link detection message, the link detection message is forwarded to the sub-node of the optical network unit, so that the link detection message is transmitted downwards step by step until the target optical network unit is reached, the remote retrieval of the optical network unit is realized, the operation condition of the optical network unit is obtained, and fault location is carried out.
In an optional embodiment, the optical network unit data transceiving method further includes:
and when receiving a second link detection message, forwarding the second link detection message, and sending the link detection response message to the optical line terminal.
The second link detection message Wen Rushang, described in the embodiment herein, is a link detection message broadcast by the OLT, which includes broadcast address representation information (destination MAC address FF-FF), each ONU that receives the second link detection message parses the second link detection message, and if the destination MAC address FF-FF-FF-FF-FF is obtained, forwarding the second link detection message to the child node of the node unconditionally, and responding to the link detection response message to the OLT, wherein the link detection response message comprises the virtual domain ID and the MAC address of the ONU which sends the link detection response message. Optionally, the link detection reply message may further include unique identification information of a parent node and/or unique representation information of a child node of the ONU.
According to the data transceiving method for the optical network unit, after the optical network unit receives the broadcasted link detection message, the link detection message is forwarded to the child node of the optical network unit, so that the link detection message is transmitted downwards step by step until the leaf node is reached, the link states of all nodes in the virtual domain are detected, the remote retrieval of the optical network unit is realized, the operation condition of the optical network unit is obtained, and fault location is carried out.
It can be understood that the fault locating method of each optical network unit and the data transceiving method of the optical network unit provided by the application can be correspondingly referred to each other.
The following describes the optical network unit fault locating device provided in the embodiments of the present application, and the optical network unit fault locating device described below and the optical network unit fault locating method described above may be referred to correspondingly.
Fig. 4 is a schematic structural diagram of an optical network unit fault location device provided in the present invention, and referring to fig. 4, the optical network unit fault location device may include:
a data sending module 410, configured to: under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
Fault location module 420 for: after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
It should be noted that, when the optical network unit fault positioning device provided in the embodiment of the present invention specifically operates, the optical network unit fault positioning method described in any one of the foregoing embodiments may be executed, which is not described in detail in this embodiment.
The following describes the optical network unit data transceiver provided in the embodiments of the present application, and the optical network unit data transceiver described below and the optical network unit data transceiver method described above may be referred to correspondingly.
Fig. 5 is a schematic structural diagram of an optical network unit data transceiver according to the present invention, and referring to fig. 5, the optical network unit data transceiver may include:
a data forwarding module 510, configured to: when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message, wherein the link detection response message comprises the unique identification information of the optical line terminal;
A data transmitting module 520, configured to: and when the first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message.
It should be noted that, when the optical network unit data transceiver provided in the embodiment of the present invention specifically operates, the optical network unit data transceiver method described in any one of the above embodiments may be executed, which is not described in detail in this embodiment.
The embodiment of the application also provides an optical line terminal, where the optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and the optical line terminal may include: a memory, a transceiver, and a processor;
the memory is used for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
The embodiment of the application also provides an optical network unit, which may include: a memory, a transceiver, and a processor;
the memory is used for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message, wherein the link detection response message comprises the unique identification information of the optical line terminal;
and when the first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message.
It should be noted that, the optical line terminal and the optical network unit provided in the embodiments of the present invention can implement all the method steps implemented in the embodiments of the method and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those of the embodiments of the method in the embodiments are omitted herein.
Fig. 6 is a schematic structural diagram of an electronic device according to the present invention, and as shown in fig. 6, the electronic device may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. The processor 610 may invoke logic instructions in the memory 630 to perform an optical network unit fault location method or to perform an optical network unit data transceiving method.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, including a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, which when executed by a computer, are capable of executing the optical network unit fault location method provided by the above embodiments, or executing the optical network unit data transceiving method provided by the above embodiments.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is implemented when executed by a processor to perform the method for positioning an optical network unit fault provided in each of the foregoing embodiments, or perform the method for transceiving optical network unit data provided in each of the foregoing embodiments.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The fault positioning method for the optical network unit is characterized by being applied to an optical line terminal, wherein the optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and the fault positioning method for the optical network unit comprises the following steps:
under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
after receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
2. The method for positioning a fault in an optical network unit according to claim 1, wherein the method for positioning a fault in an optical network unit further comprises:
and under the condition that the target optical network unit is not determined, sending a second link detection message, wherein the second link detection message comprises broadcast address identification information which indicates all subordinate optical network units of the optical line terminal.
3. The method for positioning a fault in an optical network unit according to claim 1, wherein the method for positioning a fault in an optical network unit further comprises:
And under the condition of determining the service path, sending a third link detection message, wherein the third link detection message comprises the subnet number of the service path.
4. A method for positioning a fault of an optical network unit according to any one of claims 1 to 3, wherein said determining a fault area based on each of the link detection reply messages and the tree topology comprises:
if the optical line terminal receives the first link detection response message and does not receive the second link detection response message, determining that the fault area is a network area between the first optical network unit and the second optical network unit;
the first link detection response message includes unique identification information of the first optical network unit, the second link detection response message includes unique identification information of the second optical network unit, and the first optical network unit is a parent node of the second optical network unit.
5. The optical network unit data receiving and transmitting method is characterized by being applied to an optical network unit, and comprises the following steps:
when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message to an optical line terminal, wherein the link detection response message comprises the unique identification information of the optical line terminal;
And when a first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message to the optical line terminal.
6. The method for transmitting and receiving optical network unit data according to claim 5, further comprising:
and when receiving a second link detection message, forwarding the second link detection message, and sending the link detection response message to the optical line terminal.
7. The optical line terminal is characterized in that the optical line terminal stores a tree topology structure of an optical network unit subordinate to the optical line terminal, and comprises a memory, a transceiver and a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
under the condition of determining a destination optical network unit, sending a first link detection message, wherein the first link detection message comprises unique identification information of the destination optical network unit;
After receiving the link detection response message returned by the subordinate optical network unit, determining a fault area based on each link detection response message and the tree topology structure, wherein the link detection response message comprises the unique identification information of the corresponding optical network unit.
8. An optical network unit, comprising a memory, a transceiver, and a processor;
a memory for storing a computer program; a transceiver for transceiving data under control of the processor; a processor for reading the computer program in the memory and performing the following operations:
when a first link detection message is received, if the unique identification information in the first link detection message is different from the unique identification information of the optical network unit, forwarding the first link detection message, and sending a link detection response message, wherein the link detection response message comprises the unique identification information of the optical line terminal;
and when the first link detection message is received, if the unique identification information in the first link detection message is the same as the unique identification information of the optical network unit, sending the link detection response message.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the optical network unit fault localization method according to any one of claims 1 to 4 or the steps of the optical network unit data transceiving method according to any one of claims 5 to 6.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the optical network unit fault localization method according to any one of claims 1 to 4 or the steps of the optical network unit data transceiving method according to any one of claims 5 to 6.
CN202311717355.8A 2023-12-14 2023-12-14 Optical network unit fault positioning method and optical network unit data receiving and transmitting method Active CN117411547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311717355.8A CN117411547B (en) 2023-12-14 2023-12-14 Optical network unit fault positioning method and optical network unit data receiving and transmitting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311717355.8A CN117411547B (en) 2023-12-14 2023-12-14 Optical network unit fault positioning method and optical network unit data receiving and transmitting method

Publications (2)

Publication Number Publication Date
CN117411547A CN117411547A (en) 2024-01-16
CN117411547B true CN117411547B (en) 2024-02-27

Family

ID=89489422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311717355.8A Active CN117411547B (en) 2023-12-14 2023-12-14 Optical network unit fault positioning method and optical network unit data receiving and transmitting method

Country Status (1)

Country Link
CN (1) CN117411547B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931460A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Link fault detection method, device and system
WO2016095082A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method, device and system for detecting rogue optical network unit
WO2017219984A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Link state detection method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931460A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Link fault detection method, device and system
WO2016095082A1 (en) * 2014-12-15 2016-06-23 华为技术有限公司 Method, device and system for detecting rogue optical network unit
WO2017219984A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Link state detection method and system
CN107547129A (en) * 2016-06-23 2018-01-05 中兴通讯股份有限公司 Link state detection method and system

Also Published As

Publication number Publication date
CN117411547A (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US8085670B2 (en) Method and system for originating connectivity fault management (CFM) frames on non-CFM aware switches
US8406143B2 (en) Method and system for transmitting connectivity fault management messages in ethernet, and a node device
US8305907B2 (en) Network system and data transfer device
US9083613B2 (en) Detection of cabling error in communication network
US9166874B2 (en) Communication network system and communication network configuration method
US8154991B2 (en) Arrangement and a method for handling failures in a network
US8125914B2 (en) Scaled Ethernet OAM for mesh and hub-and-spoke networks
CN113364610B (en) Network equipment management method, device and system
US20170214609A1 (en) Forwarding method and forwarding device
CN104255002A (en) Redundant network connections
US20220060344A1 (en) Method for indicating multicast forwarding entry and device
KR20140117993A (en) Mpls-tp network and method for link failure trace
JP2013026829A (en) Transmission system and control method of transmission system
CN100461739C (en) RPR bidge redundancy protecting method and RPR bridge ring equipment
WO2015143810A1 (en) Node fault detection method and apparatus
CN101170457A (en) A method and device for detecting label configuration confliction in router system
US20210377125A1 (en) Network Topology Discovery Method, Device, and System
CN101527645A (en) Method, system and relevant device for collecting network topology information
CN117411547B (en) Optical network unit fault positioning method and optical network unit data receiving and transmitting method
CN108924011A (en) Monitoring system, relevant device, method and medium for OSPF+ Routing Protocol
WO2011124178A2 (en) Fault detection method, route node and system
EP2429137B1 (en) Method, system and network device for node configuration and path detection
CN111404816B (en) Method, device, system and storage medium for sending multicast message across network
CN108123864B (en) EVPN tunnel monitoring method and device
CN113810274A (en) Route processing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant