Method for determining topological structure of passive optical network, and electronic device and storage medium

By acquiring event detection results from end-node devices in a passive optical network (PON), and determining the subnet affiliation of the node devices based on event type and attributes, the problem of low efficiency and high cost in ODN topology identification in PON is solved, achieving automated and low-cost topology determination.

WO2025241755A1PCT designated stage Publication Date: 2025-11-27ZTE CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/087770
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-22
Filing Date
2025-04-08
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

In existing passive optical networks, the identification of ODN topology relies on manual methods, which are inefficient and inaccurate, and cannot be read remotely in real time. External electronic tags are costly and also rely on manual input.

Method used

By acquiring event detection results from end-node devices in a passive optical network (PON), the affiliation of node devices in the subnet can be determined based on event type and attributes, thereby achieving automatic identification of the PON topology.

Benefits of technology

It efficiently and accurately determines the topology of passive optical networks, reduces costs, and enables automated labeling without the need for manual identification or external electronic tags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025087770_27112025_PF_FP_ABST
    Figure CN2025087770_27112025_PF_FP_ABST
Patent Text Reader

Abstract

A method for determining a topological structure of a passive optical network, and an electronic device and a storage medium. The method for determining a topological structure of a passive optical network comprises: acquiring event detection results for a plurality of end node devices in a passive optical network within a set duration, wherein the event detection results are used for indicating event attributes of different types of events occurring during event detection performed on the plurality of end node devices (S101); and on the basis of the event types and event attributes corresponding to the event detection results, determining subnet affiliation of the plurality of end node devices in the passive optical network (S102).
Need to check novelty before this filing date? Find Prior Art

Description

Method for determining topology of passive optical network, electronic device and storage medium

[0001] Cross-reference to Related Applications

[0002] The present application is based on the Chinese patent application No. 2024106454410, filed on May 22, 2024, and claims priority to the Chinese patent application, the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0003] Embodiments of the present application relate to the technical field of passive optical network, in particular to a method for determining topology of passive optical network, an electronic device and a storage medium. BACKGROUND

[0004] In a PON (Passive Optical Network) network, an OLT (Optical Line Terminal) and an ONU (Optical Network Unit) are connected through an ODN (Optical Distribution Network). The ODN topology in units of PON ports is actually composed of ODN subnets through different optical fibers and multi-stage optical splitters. The ODN subnets are generally composed of multi-stage subnets according to the number of stages of the optical splitters, and all ONUs are finally connected to the subnets. Clarifying the ODN network topology structure is of great significance to the efficiency of overall operation and maintenance and fault handling.

[0005] The main feature of the PON network is passive. Since there is no active device, all ODN devices (including but not limited to optical fibers, optical splitters, etc.) cannot provide electronic signals to identify their physical positions or logical relationships. The identification of the PON network ODN topology can only be identified by manual identification or marked by external electronic tags. Manual identification has low efficiency, poor accuracy, and cannot be read remotely and in real time. Although the accuracy of the external electronic tag method is improved, it still relies on manual input, which greatly increases the cost. SUMMARY

[0006] Embodiments of the present application provide a method for determining topology of passive optical network, an electronic device and a storage medium.

[0007] In a first aspect, an embodiment of the present application provides a method for determining a topology of a passive optical network. The passive optical network includes a plurality of end node devices. The method includes: obtaining event detection results of the plurality of end node devices in the passive optical network within a set time period, wherein the event detection results are used to represent event attributes of different types of events when the plurality of end node devices are event detected; and determining, according to the types of events and the event attributes corresponding to the event detection results, subnets to which the plurality of end node devices belong in the passive optical network.

[0008] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electronic device implements the method for determining a topology of a passive optical network according to the first aspect.

[0009] In a third aspect, an embodiment of the present application provides a computer readable storage medium storing computer executable instructions. The computer executable instructions are used to execute the method for determining a topology of a passive optical network according to the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0010] FIG. 1A is a main flowchart of a method for determining a topology of a passive optical network according to an embodiment of the present application;

[0011] FIG. 1B is a schematic diagram of an xPON networking passive optical network structure according to an embodiment of the present application;

[0012] FIG. 2 is a sub-flowchart of step S102 according to an embodiment of the present application;

[0013] FIG. 3 is a sub-flowchart of step S102 according to another embodiment of the present application;

[0014] FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0016] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described in the device modules or the order in the flowchart can be executed differently. The terms "first", "second", and the like in the specification and claims and the following drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.

[0017] In the embodiments of the present application, the words "further", "exemplary" or "optionally" are used to indicate that the embodiments or designs are examples, illustrations or descriptions, and should not be interpreted as more preferred or more advantageous than other embodiments or designs. The words "further", "exemplary" or "optionally" are used to present the relevant concepts in a specific manner.

[0018] In order to more conveniently describe the working principles of the embodiments of the present application, the following first gives an introduction to the related technical scenarios.

[0019] The embodiments of the present application relate to the communication technology / system of a passive optical network (PON) using a point-to-multipoint (PToMP) topology in an access network. The use of a point-to-multipoint topology is a significant feature of a passive optical network system, and according to the working mechanism, it can be divided into an Ethernet passive optical network device (EPON), a gigabit-capable passive optical network device (G-PON), and other passive optical network devices with different working mechanisms. The system architectures of these passive optical network devices are consistent, and all include an optical line terminal (OLT) and an optical network unit (ONU), wherein the OLT device completes the convergence of multiple ONU devices through a PON port, that is, a point (OLT) to multipoint (ONU) topology is formed. The above PON technologies are collectively referred to as xPON.

[0020] In the xPON network of a passive optical network, a common networking system is composed of a network management server (EMS), an OLT, an optical distribution network (ODN), and a plurality of ONUs: the OLT, as a central office device, connects and converges multiple ONU devices through an ODN network in units of PON ports, and the ONU device realizes the access of user services, thereby realizing data services and configuration management functions.

[0021] OLT implements access of multiple ONUs in units of PON ports to realize P2MP (point-to-multipoint) topology structure, wherein the point refers to the PON port of the OLT, and the multipoint refers to multiple ONUs connected under the PON port. In the P2MP topology structure, the ODN network realizing the connection between the OLT PON port and the ONU generally realizes the convergence of multiple ONUs through a splitter (according to networking, multiple levels of splitting are generally realized through cascading splitters, and the splitter directly connected with the OLT PON port is called a first-level splitter, and the following are called second-level splitters and third-level splitters, respectively). The optical link connecting the OLT PON port and the first-level splitter is called a trunk optical path (fiber), and the other optical paths are called branch optical paths (fibers) in turn. In the ODN network (full set) in units of PON ports, the trunk / branch optical paths and splitters of various levels form various sub-ODN networks (subsets), and each sub-ODN network (subset) is called an N-level subset (ODN) with the N-level splitter connected therewith as an identifier.

[0022] In practice, each ONU accesses a specific branch optical fiber and finally accesses the PON port through one or more upper splitters and upper (branch / trunk) optical fibers. Since the ODN network of the PON network adopts all passive devices, the point-to-multipoint topology structure of the PON network leads to that the actual topology of the ODN network (the specific path from each ONU to the OLT PON port, the subset (ODN) to which each ONU belongs, and the topological relationship therebetween) cannot be directly obtained. Traditionally, the ODN devices are manually marked by artificial or the ODN network is modified by active devices for data collection, which will bring problems of high cost and low accuracy. Moreover, when the PON ODN network is changed (including new ONUs accessing the network), the ODN network topology cannot be updated in time.

[0023] The OLT and the ONU in the PON network are connected through the ODN network. The ODN topology in units of PON ports actually forms ODN subnets through different optical fibers and multiple splitters. The ODN subnets generally form multiple-level subnets according to the number of splitters, and all ONUs finally access the multiple-level subnets. It is of great significance to clarify the ODN network topology structure for the efficiency of overall operation and maintenance and fault processing.

[0024] The main feature of the PON network is passive. Since there is no active device, all ODN devices (including but not limited to optical fiber, optical splitter, etc.) cannot provide electronic signals to identify their physical location or logical relationship. The identification of the ODN topology of the PON network can only be identified manually or marked by external electronic tags. Manual identification has low efficiency, poor accuracy, and cannot be read remotely in real time. Although the accuracy of the external electronic tag method is improved, it still relies on manual input, which significantly increases the cost.

[0025] Based on this, the present application provides a passive optical network topology determination method, an electronic device and a storage medium. The passive optical network includes a plurality of end node devices. The passive optical network topology determination method of one embodiment includes: obtaining event detection results of the plurality of end node devices in the passive optical network within a set time length, wherein the event detection results are used to represent event attributes of different types of events that occur when the plurality of end node devices are event detected; and determining the subnet attribution of the plurality of end node devices in the passive optical network according to the type events and event attributes corresponding to the event detection results. In the above embodiment, by event detecting the plurality of end node devices in the passive optical network, obtaining the event detection results of the plurality of end node devices within a set time length, and determining the subnet attribution of the plurality of end node devices in the passive optical network according to the type events and event attributes corresponding to the event detection results, compared with the related technical solutions, the embodiment of the present application can determine the subnet attribution of the plurality of end node devices in the passive optical network according to the type events and event attributes corresponding to the event detection results, so as to determine the passive optical network topology, without identifying the passive optical network topology by manual identification or external electronic tag marking. Therefore, the embodiment of the present application can efficiently and accurately determine the passive optical network topology, and has low implementation cost.

[0026] The embodiments of the present application will be further described below with reference to the accompanying drawings.

[0027] As shown in FIG. 1A, FIG. 1A is a flowchart of a passive optical network topology determination method provided by one embodiment of the present application. The passive optical network includes a plurality of end node devices. The passive optical network topology determination method can include but is not limited to steps S101-S102.

[0028] Step S101: obtaining event detection results of the plurality of end node devices in the passive optical network within a set time length, wherein the event detection results are used to represent event attributes of different types of events that occur when the plurality of end node devices are event detected.

[0029] Step S102: determining the subnet attribution of the plurality of end node devices in the passive optical network according to the type events and event attributes corresponding to the event detection results.

[0030] In this step, the event detection results of the plurality of end node devices in the passive optical network within a set time length are obtained by performing event detection on the plurality of end node devices in the passive optical network, and the subnet attribution of the plurality of end node devices in the passive optical network is determined according to the type event and the event attribute corresponding to the event detection result. Compared with related technical solutions, the subnet attribution of the plurality of end node devices in the passive optical network can be determined according to the type event and the event attribute corresponding to the event detection result, so as to determine the passive optical network topology, without the need of manual identification or external electronic tag marking to identify the passive optical network topology. Therefore, the passive optical network topology can be determined efficiently and accurately, and the implementation cost is low.

[0031] It should be noted that the passive optical network of the embodiment of the present application includes but is not limited to a point-to-multipoint (PToMP) topology passive optical network PON, the head node device includes but is not limited to an optical line terminal OLT, and the end node device includes but is not limited to an optical network unit ONU. The head node device can connect the end node device through an optical distribution network ODN.

[0032] It can be understood that, as shown in FIG. 1B, the passive optical network can include an EMS 100, an OLT 200, an ODN 300, and an ONU 400, and the details are as follows:

[0033] The EMS 100 is used for configuration, management, and maintenance of the OLT 200 and the ONU 400, and the like, and manages the historical information of the OLT 200 and the ONU 400, and the related alarm and notification messages. According to the ONU state change information reported by the OLT 200, the related ODN maintenance mechanism can be started, and the PON ODN topology change related alarm or notification message can be implemented to realize dynamic maintenance of the related network topology and remind manual intervention.

[0034] The OLT 200 is used for ONU registration and maintenance based on a PON port. The state change of the lower-hung ONU or ODN network is sensed or scanned.

[0035] The ODN 300 is used for connecting a plurality of ONUs 400 under the OLT 200, and is used as a direct physical connection channel between the OLT 200 and the ONU 400, and can be composed of a plurality of physical devices, including but not limited to:

[0036] The main optical path is used for connecting a primary optical splitter and an OLT corresponding PON port. In general, a single PON port is used, and when a protection mode is used, a main and standby two PON ports are enabled.

[0037] Splitter (one or more levels), generally according to the ODN network planning and networking construction, one or more splitters are combined to achieve the splitting ratio, and the maximum splitting ratio is generally 1:128 or 1:256. Since the splitter will introduce optical attenuation, the cascade of the splitter is generally not more than three levels. The splitter directly connected to the OLT PON port is a first-level splitter, and the other cascaded splitters are respectively referred to as a second-level splitter or a third-level splitter (referred to as an n-level splitter).

[0038] Branch fiber, the optical path connected between the multi-level splitters and the optical path directly connected to the ONU is referred to as a branch fiber.

[0039] ONU 400, a terminal device for accessing a home user, accepts management of the OLT 200, and accepts the link identifier allocated by the OLT 200 in the registration process to complete ONU registration; and according to the OLT 200, the time slot window is uniformly allocated to upload data to complete service forwarding.

[0040] It can be understood that different types of events occur when multiple end node devices are detected, including but not limited to measurement events (ET) and state events (ES). Among them, the measurement event (ET) is based on the PON port unit, and the measurement event (ET) is periodically started by the OLT, including but not limited to ONU distance relative change, optical power relative variable, ONU error code relative change, etc. The state event (ES) is based on the PON port unit, and the ONU appears an event related to the optical path, including but not limited to ONU offline event, online event, power-off event, power-on event, etc., and the corresponding LOSi alarm, LOSi alarm recovery, DGi alarm, DGi recovery alarm, etc. It should be pointed out that the priority of different types of events is not the same, and when the judgment results of different types of events are opposite, the high-priority type event detection result is used as the reference.

[0041] It can be understood that the corresponding event detection is periodically started based on the PON port unit, including but not limited to measurement events ET or state events ES. And the event detection results of the multiple end node devices in the passive optical network are obtained within a set time length, wherein the set time length can be artificially set or modified, for example, 1 second, and the specific value of the set time length is not limited in the embodiment of the application.

[0042] It can be understood that the event attribute includes but is not limited to the same attribute and the opposite attribute. The event correlation is reflected by the event attribute. For example, for the type of event with the highest priority, in the case that the event attribute of the event detection result of a plurality of end node devices in the passive optical network within a set time length is the same attribute, it indicates that the event correlation of the plurality of end node devices is highly consistent. Conversely, for the type of event with the highest priority, in the case that the event attribute of the event detection result of a plurality of end node devices in the passive optical network within a set time length is the opposite attribute, it indicates that the event correlation of at least one end node device with the opposite attribute and other end node devices is inconsistent.

[0043] Within a set time length, the plurality of end node devices with highly consistent event correlation can be judged to belong to the same subnet. The same subnet can be understood as the same physical subset, for example, the same optical splitter topology.

[0044] Within a set time length, the end node device with inconsistent event correlation and other end node devices in the same subset can be judged to belong to different subnets.

[0045] It can be understood that the same type of event occurring at the same time in a period of time of a plurality of end node devices can be divided into the same event, the compatible event and the opposite event including but not limited to the same type of event.

[0046] The same event indicates that the same attribute event (such as the same level ODN subset n ONU appears LOSi, and the same level ODN subset ONU appears relative distance increase) of each member (ONU) in the subset is triggered by the root node change (such as the main optical fiber corresponding to the level ODN changes) in the same subset.

[0047] The compatible event indicates that the same attribute event occurs in part of the members in the subset published by the related sub-node change (such as the branch optical fiber corresponding to the level ODN changes) in the same subset, and the event attribute does not have physical or logical opposition with other remote events in the same subset (that is, it cannot be proved that the member or part of the member that occurs the event is not in the same subset ODNn as other members in the same subset). For example, in the same level ONU subset, part of the ONUs appear LOSi or relative distance increase, and other ONUs do not appear the related event and remain in the original state.

[0048] The opposite event indicates that the event occurring in the member in the same subset is inconsistent with the current state of other members or the event attribute is opposite. It can be proved that the event object ONU is not in the same subset (ODNn) as other members.

[0049] It should be noted that, according to the application, different types of events are divided according to the events that can occur, and different detection methods are used for different types of events. The correlation of different types of event attributes in a relevant time range is analyzed, and a decision mechanism is proposed to determine the judgment rules when different types of events occur simultaneously or independently, so as to expand the application range when different types of events occur simultaneously and improve the judgment accuracy.

[0050] As shown in FIG. 2, step S102 can include but is not limited to the following sub-steps S201, S202, and S203.

[0051] Step S201: Determine that the type events corresponding to the event detection results of the plurality of end node devices are all target type events of the same type.

[0052] Step S202: Analyze the event attributes of the target type event.

[0053] Step S203: Determine the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes.

[0054] In an embodiment, when it is determined that the type events corresponding to the event detection results of the plurality of end node devices are all target type events of the same type, for example, it is determined that the type events corresponding to the event detection results of the plurality of end node devices are all measurement events (ET); it is analyzed that the event attributes of the measurement events (ET) are the same attributes; and the subnetwork belonging of the plurality of end node devices in the passive optical network is determined according to the event attributes of the measurement events (ET).

[0055] In an embodiment, when it is determined that the type events corresponding to the event detection results of the plurality of end node devices are all target type events of the same type, for example, it is determined that the type events corresponding to the event detection results of the plurality of end node devices are all state events (ES); it is analyzed that the event attributes of the state events (ES) are the same attributes; and the subnetwork belonging of the plurality of end node devices in the passive optical network is determined according to the event attributes of the state events (ES).

[0056] As shown in FIG. 3, step S102 can include but is not limited to the following sub-steps S301, S302, S303, and S304.

[0057] Step S301: Determine that the type events corresponding to the event detection results of the plurality of end node devices are different types of events.

[0058] Step S302: Compare the priorities of different types of events in the event detection results to determine a target type event with the highest priority.

[0059] Step S303: Analyze the event attributes of the target type event.

[0060] Step S304: determining the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attribute.

[0061] In an embodiment, when it is determined that the event detection result of the plurality of end node devices corresponds to different types of events, the priority of the different types of events in the event detection result is compared to determine the target type of event with the highest priority. For example, the event detection result includes a measurement event (ET) and a status event (ES), and the priority of the status event (ES) is higher than that of the measurement event (ET). Therefore, the event detection result of the status event (ES) is used as the reference. The event attribute of the status event (ES) is analyzed, and the subnetwork belonging of the plurality of end node devices in the passive optical network is determined according to the event attribute of the status event (ES).

[0062] In an embodiment, when it is determined that the event attribute of the target type of event of the plurality of end node devices is the same attribute, and the information change amount caused by the target type of event is within the set threshold range, the plurality of end node devices are attributed to the same subnetwork in the passive optical network.

[0063] Taking the end node device as an ONU as an example, when it is determined that the event attribute of the target type of event of the plurality of ONUs is the same attribute, and the information change amount caused by the target type of event is within the set threshold range, it is considered that the correlation is established, and it is determined that the corresponding plurality of ONUs are attributed to the same ODN subnetwork n.

[0064] In an embodiment, when it is determined that the event attribute of the target type of event of the plurality of end node devices is the same attribute, and the target type of event appears or disappears at the same time within the set time length, the plurality of end node devices are attributed to the same subnetwork in the passive optical network.

[0065] Taking the end node device as an ONU as an example, when it is determined that the event attribute of the target type of event of the plurality of end node devices is the same attribute, and the target type of event appears or disappears at the same time within the set time length, it is considered that the correlation is established, and it is determined that the corresponding plurality of ONUs are attributed to the same ODN subnetwork n.

[0066] In an embodiment, when it is determined that the event attribute of the target type of event of the plurality of end node devices is the same attribute, the information change amount caused by the target type of event is within the set threshold range, and the number of the plurality of end node devices is greater than or equal to the preset threshold number, the plurality of end node devices are attributed to the same subnetwork in the passive optical network.

[0067] For example, when the preset threshold number is set to 2 and the target type event is a disconnection event, if it is determined that the event attributes of the disconnection events of at least two ONUs are the same attribute and the information change amount caused by the disconnection events is within the set threshold range, it is considered that the correlation is established, and it is determined that the corresponding at least two ONUs belong to the same ODN subnet n. Meanwhile, the correlation counter Ccl can be set to Ccl+1 (the initial value of Ccl is 0), for example, when the correlation counter value Ccl is 3, it is considered that the corresponding same ODN subnet n (topology) is true.

[0068] In an embodiment, in a case where it is determined that the event attributes of the target type events of a plurality of end node devices are the same attribute, the target type events occur or disappear at the same time within a set time length, and the number of the plurality of end node devices is greater than or equal to a preset threshold number, the plurality of end node devices are attributed to the same subnet of the passive optical network.

[0069] For example, when the preset threshold number is set to 3 and the target type event is a power-off event, if it is determined that the event attributes of the power-off events of at least three end node devices are the same attribute and the power-off events occur or disappear at the same time within a set time length, it is considered that the correlation is established, and it is determined that the corresponding at least three ONUs belong to the same ODN subnet n. Meanwhile, the correlation counter Cc2 can be set to Cc2+1 (the initial value of Cc2 is 0), for example, when the correlation counter value Cc2 is 3, it is considered that the corresponding same ODN subnet n (topology) is true.

[0070] In an embodiment, in a case where it is determined that the event attributes of the target type events of a plurality of end node devices are the same attribute and the information change amount caused by the target type events exceeds a set threshold range, the subnet attribution of the plurality of end node devices in the passive optical network remains unchanged.

[0071] For example, when it is determined that the event attributes of the target type events of a plurality of ONUs are the same attribute and the information change amount caused by the target type events exceeds a set threshold range, it is considered that the plurality of ONUs involved have compatible events, that is, the correlation of the plurality of ONUs involved has not changed, and the subnet attribution of the plurality of ONUs involved in the ODN remains unchanged, and the corresponding correlation counter value Ccn remains unchanged.

[0072] In an embodiment, in a case where it is determined that the event attributes of the target type events of a plurality of end node devices are opposite attributes, the end node device with opposite attributes and other end node devices are attributed to different subnets in the passive optical network.

[0073] In the case that the event attribute of the target type event of the multiple ONUs is opposite, it is considered that the multiple ONUs have opposite events, i.e., the correlation of the multiple ONUs is not established, and the ONU having the opposite event and other ONUs are determined to belong to different subnets in the PON, and the corresponding correlation counter value Ccn is counted and cleared.

[0074] It should be noted that, in addition to the above-mentioned method of event correlation judgment and aggregation based on the PON port unit to obtain the PON topology structure, i.e., by the consistency of the event attribute and the correlation of the time, the events having the correlation are aggregated, and the specific corresponding objects (ONUs) in the aggregated events are determined to belong to a unified physical subset. The changed PON topology structure can also be determined in the case that the PON changes.

[0075] When the PON changes, including but not limited to some new ONUs accessing the PON, the new objects (ONUs) or some objects (ONUs) in a certain set can be added or removed from a certain set according to the comparison method of event correlation of the new objects (ONUs) or some objects (ONUs) in the certain set, and a new subset can be created in the corresponding set; thus, according to some limited conditions under the PON port, all ONUs under the PON port are finally included in the limited (sub) set, and the limited (sub) set belongs to a certain upper set, and is finally attributed to the total set in the unit of the PON port. That is, through multiple clustering or changing of the (sub) set, the objects are finally realized to belong to the specified (sub) set group under the physical interface, i.e., the objects (ONUs) belong to the first-level splitting topology, the second-level splitting topology, and the final-level splitting topology network directly connected to the objects (ONUs).

[0076] In an embodiment, in the case that a new target end node device is detected, the number of times that the target end node device and other end node devices in the same subnet continuously have a target type event is accumulated to obtain an accumulated number value;

[0077] In the case that the accumulated number value is equal to a set number value, the event attribute of the target type event is the same attribute, and the information change amount caused by the target type event is within a set threshold range, the target end node device is attributed to the same target subnet.

[0078] Taking the newly appeared target end node device as a new ONU as an example, the cumulative number of times of the new ONU and other ONUs in the same subnet continuously appearing the target type event is accumulated in a traversal manner to obtain a cumulative number of times. For example, when the cumulative number of times of the new ONU and one of the ONUs in the target subnet continuously appearing the target type event is accumulated to 3, the event attribute of the target type event is the same attribute, and the information change amount caused by the target type event is within the set threshold range, it is determined that the new ONU belongs to the same target subnet.

[0079] In an embodiment, when the event attribute of the target type event appearing in the target end node device is opposite attribute, the cumulative number of times is cleared and the cumulative number of times is accumulated again.

[0080] Taking the newly appeared target end node device as a new ONU as an example, the cumulative number of times of the new ONU and one of the ONUs in the target subnet continuously appearing the target type event is accumulated to 2, but does not reach the set number of times 3. At this time, when the event attribute of the target type event appearing in the new ONU and the ONU in the target subnet is opposite attribute, the cumulative number of times is cleared and the cumulative number of times is accumulated again until the new ONU can be determined to belong to the subnet of the passive optical network.

[0081] In an embodiment, the passive optical network further includes a head end node device and an optical distribution network, and the head end node device is connected to the end node device through the optical distribution network. The method of the application further includes:

[0082] When it is detected that the event attribute of the target type event appearing in the multiple end node devices in the subnet level N of the optical distribution network is the same attribute, the multiple end node devices are listed in the subnet level N+1, and N is a positive integer.

[0083] Taking the end node device as an ONU as an example, when it is detected that the event attribute of the target type event appearing in the multiple ONUs in the subnet level N of the ODN is the same attribute, the multiple ONUs involved are listed in the subnet level N+1. For example, the original ODN subnet level is 1, that is, the 1-level ODN subnet corresponds to a 1-level splitter; when the condition of the present step is met, the multiple ONUs involved are listed in the 2-level ODN subnet, corresponding to one 2-level splitter. At the same time, a corresponding counter B=B+1 can also be set, and when the counter value B=3, it is considered that the ODN subnet N+1 topology is true. And the ODN subnet N+1 is a subset of the ODN subnet N, and the subnet number thereof is set to N / M, and the number N / M indicates that the ODN subnet N+1 is the Mth subset of the ODN subnet N.

[0084] By analogy, all ONUs are included in different subsets according to the event correlation by traversing all ONU events under the PON port.

[0085] In the case where the event attribute of the target type event of the multiple end node devices at the subnet level N of the optical distribution network is opposite, the multiple end node devices are listed separately at the subnet level N-1.

[0086] Taking the end node device as an ONU, in the case where the event attribute of the target type event of the multiple ONUs at the subnet level N of the ODN is opposite, the multiple ONUs involved are listed separately at the subnet level N-1. For example, the original ODN subnet level is 2, that is, the 2-level ODN subnet corresponds to a 2-level optical splitter; when the condition of the present step is met, the multiple ONUs involved are listed separately in the 1-level ODN subnet, corresponding to 1 1-level optical splitter.

[0087] In an embodiment, the passive optical network further comprises a head node device and an optical distribution network, the head node device being connected to the end node device through the optical distribution network, and the method of the present application further comprises:

[0088] - detecting the change of the registration state of the end node device, retrieving the event attribute of the target type event of the end node device;

[0089] - updating the subnet topology of the corresponding end node device according to the event attribute;

[0090] - in the case where the subnet topology of the end node device is determined to have changed, notifying the head node device.

[0091] Taking the end node device as an ONU, when the registration state of the ONU changes, the event attribute (same / compatible / opposite) thereof is retrieved, and the corresponding ODN subnet topology is updated according to the event attribute result.

[0092] When the ONU appears to be offline and then online again, the relevant ONU member events in the corresponding minimum subset (the subset level number is the largest) are retrieved, and if there is a same event within a set time and threshold range, the corresponding ODN subnet n topology is maintained unchanged; when there is an opposite event, the ONU is removed from the corresponding minimum subset (the subset level number is the largest), and the ONU member events of the corresponding upper ODN subnet n-1 are retrieved, and if there is a same event within a set time and threshold range, the ONU is transferred into the corresponding ODN subnet n-1 topology. In this way, the ONU is moved to the 1-level ODN subnet.

[0093] When the ODN subnet topology changes, the upper system is notified through an alarm or a notification, including but not limited to the terminal device OLT, the gateway or the third-party operation and maintenance system.

[0094] In an embodiment, Nmax can be set according to a user-defined actual maximum splitting level or user actual application requirement. For example, Nmax is set to 3, and when the current acquired ODN subnet n has a level N=3, splitting of the ODN subnet level is stopped, i.e. the ODN subnet is no longer subdivided.

[0095] According to the above ONU-ODN subnet n correspondence relationship, an ODN topology graph is generated according to ODN subnet number N / M based on a PON port unit; and ODN topology update is completed according to an alarm notification.

[0096] Based on this, through ONU event changes under a PON port and logical relationships between events of various ONUs, ODN subnet belonging to a single or multiple ONUs is judged and classified, and finally overall ODN topology based on a PON port is realized. During actual operation of the device, ODN topology structure is dynamically updated in real time, thereby solving the problem of passive optical network topology acquisition and update difficulty, and the entire process is not only efficient and accurate, but also has low implementation cost.

[0097] In addition, as shown in FIG. 4, an embodiment of the present application further discloses an electronic device, comprising: at least one processor 210; at least one memory 220 for storing at least one program; and when the at least one program is executed by the at least one processor 210, a passive optical network topology structure determination method as in any of the preceding embodiments is implemented.

[0098] In addition, an embodiment of the present application further discloses a computer readable storage medium, wherein computer executable instructions are stored, and the computer executable instructions are used to execute a passive optical network topology structure determination method as in any of the preceding embodiments.

[0099] According to the passive optical network topology determination method, the electronic device and the storage medium provided in the embodiments of the present application, the passive optical network includes a plurality of end node devices, and the passive optical network topology determination method of one embodiment includes: obtaining event detection results of the plurality of end node devices in the passive optical network within a set time length, wherein the event detection results are used to represent event attributes of different types of events when the plurality of end node devices are event detected; and determining subnetwork attribution of the plurality of end node devices in the passive optical network according to the types of events and the event attributes corresponding to the event detection results. In the above embodiment, the event detection results of the plurality of end node devices within the set time length are obtained by event detecting the plurality of end node devices in the passive optical network, and the subnetwork attribution of the plurality of end node devices in the passive optical network is determined according to the types of events and the event attributes corresponding to the event detection results. Compared with related technical solutions, according to the types of events and the event attributes corresponding to the event detection results, the subnetwork attribution of the plurality of end node devices in the passive optical network can be determined, so that the passive optical network topology can be determined, and the identification of the passive optical network topology does not need to be realized by manual identification or external electronic tag labeling. Therefore, the passive optical network topology can be efficiently and accurately determined according to the embodiments of the present application, and the implementation cost is low.

[0100] The system architecture and application scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. It can be understood by those skilled in the art that, as the system architecture evolves and new application scenarios appear, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0101] It can be understood by those skilled in the art that all or some steps in the above disclosed method, the functions of the modules / units in the system and the device can be implemented as software, firmware, hardware and appropriate combinations thereof.

[0102] In hardware implementations, the division of functionality between the functional modules / units referred to in the above description does not necessarily correspond to a division of physical components; for example, one physical component can have multiple functionalities, or one functionality or step can be performed by several physical components in cooperation. Certain physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on computer readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Further, it should be appreciated by those skilled in the art that computer storage media generally includes computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

[0103] As used in this description, the terms "component," "module," "system," and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside within a process or thread of execution and a component can be localized, partially or wholly, in one computer or distributed between two or more computers. Also, these components can execute from various computer readable media having various data structures stored thereon. The components can communicate by way of local or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, or across a network such as the Internet with other systems via the signal), data including any embodied data or information, signals or carriers, electronically, optically, acoustically or otherwise.

Claims

1. A method for determining a topology of a passive optical network, the passive optical network comprising a plurality of end node devices, the method comprising: obtaining event detection results of the plurality of end node devices in the passive optical network within a set time duration, wherein the event detection results are used to represent event attributes of different types of events occurring when events are detected in the plurality of end node devices; and determining a subnetwork belonging of the plurality of end node devices in the passive optical network according to the types of events and the event attributes corresponding to the event detection results. The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the types of events and the event attributes corresponding to the event detection results comprises: determining that the types of events corresponding to the event detection results of the plurality of end node devices are all a same target type of event; analyzing the event attributes of the target type of event; and determining the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes. The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the types of events and the event attributes corresponding to the event detection results comprises: determining that the types of events corresponding to the event detection results of the plurality of end node devices are different types of events; comparing priorities of the different types of events in the event detection results to determine a target type of event with a highest priority; analyzing the event attributes of the target type of event; and determining the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes.

2. The method of claim 1, wherein, The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes comprises: in a case where it is determined that the event attributes of the target type of event occurring in the plurality of end node devices are the same attributes, and an information change amount caused by the target type of event is within a set threshold range, belonging the plurality of end node devices to a same subnetwork in the passive optical network. The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes comprises: in a case where it is determined that the event attributes of the target type of event occurring in the plurality of end node devices are the same attributes, and the target type of event occurs or disappears at the same time within a set time duration, belonging the plurality of end node devices to a same subnetwork in the passive optical network. The number of the plurality of end node devices is greater than or equal to a preset threshold number. The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes comprises: in a case where it is determined that the event attributes of the target type of event occurring in the plurality of end node devices are the same attributes, and the information change amount caused by the target type of event exceeds the set threshold range, keeping the subnetwork belonging of the plurality of end node devices in the passive optical network unchanged.

3. The method of claim 1, wherein, The determining of the subnetwork belonging of the plurality of end node devices in the passive optical network according to the event attributes comprises: ​ ​ ​ ​ 4. The method of claim 3, wherein, ​ ​ 5. The method of claim 3, wherein, ​ ​ 6. The method of claim 4 or 5, wherein, ​ 7. The method of claim 3, wherein, ​ ​ 8. The method of claim 3, wherein, ​ In a case where it is determined that the event attributes of the target type event occurred by the plurality of end node devices are opposite attributes, the end node device and other end node devices occurring opposite attributes are attributed to different subnets in the PON.

9. The method of claim 3, further comprising: In a case where a new target end node device is detected, the number of times that the target type event occurs continuously by the target end node device and other end node devices in the same subnet is accumulated to obtain an accumulated number value; In a case where the accumulated number value is equal to a set number value, the event attribute of the target type event is the same attribute, and the information change amount caused by the target type event is within a set threshold range, the target end node device is attributed to the same target subnet.

10. The method of claim 9, further comprising: In a case where the event attribute of the target type event occurred by the target end node device is an opposite attribute, the accumulated number value is cleared and the accumulated number value is accumulated again.

11. The method of claim 3, wherein, The PON further comprises a head-end node device and an optical distribution network, the head-end node device connects the end node devices through the optical distribution network, and the method further comprises: In a case where it is detected that the event attributes of the target type event occurred by a plurality of end node devices at a subnet level N of the optical distribution network are the same attribute, the plurality of end node devices are listed at a subnet level N+1, N being a positive integer.

12. The method of claim 11, further comprising: In a case where it is detected that the event attributes of the target type event occurred by a plurality of end node devices at a subnet level N of the optical distribution network are opposite attributes, the plurality of end node devices are listed separately at a subnet level N-1.

13. The method of claim 12, further comprising: In a case where it is detected that the registration state of the end node device changes, the event attribute of the target type event occurred by the end node device is retrieved; The subnet topology corresponding to the end node device is updated according to the event attribute; In a case where it is determined that the subnet topology of the end node device changes, the head-end node device is notified.

14. An electronic device comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the PON topology determination method of any one of claims 1 to 13 when executing the computer program.

15. A computer-readable storage medium storing computer-executable instructions, wherein, The computer executable instructions are used to execute the PON topology determination method of any one of claims 1 to 13.

Citation Information

Patent Citations

  • Network system and topology map generating method

    CN104322016A

  • Optical fiber fault positioning method and device, and storage medium

    CN110661569A

  • Method for acquiring passive network topology information and related equipment

    CN111884832A

  • Optical path topology restoration method, device and equipment and computer readable storage medium

    CN113891191A

  • Method, device and system for generating optical network topology

    CN115967445A