Method, apparatus and medium for monitoring optical network unit

By automatically discovering the device serial number of ONU and creating monitoring items through VLAN broadcasting in the PON network, the problem of time-consuming login to OLT network management systems from multiple manufacturers is solved, realizing the automation and efficient filtering of ONU monitoring and improving monitoring efficiency.

CN119136087BActive Publication Date: 2026-07-21CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2024-08-22
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In PON networks, logging into and locating OLT network management systems from multiple manufacturers is time-consuming and laborious, affecting the monitoring efficiency of ONUs.

Method used

By transmitting VLAN broadcasts between the server and aggregation switches, OLTs, and ONUs, the device serial number of the ONU is automatically discovered, monitoring items are created and associated with the device serial number, ONU performance information is collected, and relevant data records are saved in the database. Selection controls are provided to support multi-dimensional performance information filtering.

Benefits of technology

It automates the monitoring of ONUs from multiple manufacturers, saving the login and search costs of the network management system, improving the monitoring efficiency of ONUs, and supporting users to filter and select performance information based on dimensions such as aggregation switches, OLTs, and device serial numbers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136087B_ABST
    Figure CN119136087B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a kind of optical network unit monitoring method, device, equipment and medium, the method specifically includes: service end is coupled with convergence switch, OLT and ONU, convergence switch is in service end and ONU between the transmission of VLAN broadcast;The device serial number of ONU in preset range is automatically discovered, according to the device serial number discovered, creates monitoring ONU and the monitoring item of monitoring ONU, and monitoring item is associated with device serial number;According to the acquisition result corresponding to monitoring item, the performance information corresponding to monitoring ONU is determined;The data record corresponding to convergence switch, OLT, device serial number and performance information is saved in database;According to the selection operation of first selection control or second selection control or third selection control of user, corresponding first target data record is found in database, and first target data record is shown.The monitoring efficiency of ONU can be improved by embodiments of the present application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical communication technology, and in particular to a monitoring method, apparatus, device, and medium for an optical network unit. Background Technology

[0002] PON (Passive Optical Network) technology is widely used in fiber optic access. A PON network specifically includes: an OLT (Optical Line Terminal) at the central office, an ONU (Optical Network Unit) at the user end, and an optical distribution network connecting the OLT and ONU. Monitoring the ONU allows for real-time understanding of the network status at the user end, which helps to provide more stable and higher-quality network services.

[0003] In related technologies, OLT manufacturers provide network management systems. By logging into the OLT manufacturer's network management system, you can find an OLT and view the performance information of the ONUs connected to that OLT.

[0004] However, in practical applications, a PON network may contain OLTs from multiple manufacturers. In this case, to meet the monitoring needs of all ONUs in a PON network, it is necessary to log into the network management systems of multiple manufacturers and find the corresponding OLTs in order to view the ONU performance information. Logging into and searching through multiple manufacturers' network management systems is time-consuming and laborious, impacting the efficiency of ONU monitoring. Summary of the Invention

[0005] This application provides a monitoring method for an optical network unit (ONU), which can improve the monitoring efficiency of the ONU.

[0006] Accordingly, embodiments of this application also provide a monitoring device for an optical network unit, an electronic device, and a machine-readable medium to ensure the implementation and application of the above methods.

[0007] To address the aforementioned problems, this application discloses a monitoring method for an optical network unit (ONU), applied to a server. The server is coupled with an aggregation switch, an optical line terminal (OLT), and an ONU. The aggregation switch has a transparent transmission configuration, enabling it to transparently transmit Virtual Local Area Network (VLAN) broadcasts between the server and the ONU. The method includes:

[0008] A data acquisition network is established, comprising: a server, an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU); the aggregation switch is configured to transmit VLAN broadcasts between the server and the ONU.

[0009] The system automatically discovers the device serial numbers of ONUs within a preset range, creates monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associates the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs.

[0010] Based on the collection results corresponding to the monitoring items, determine the performance information corresponding to the monitored ONU;

[0011] Based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT, the database stores the data records corresponding to the aggregation switch, OLT, device serial number and performance information.

[0012] Display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number;

[0013] Based on the user's selection operation on the first selection control, the second selection control, or the third selection control, the corresponding first target data record is searched in the database and displayed.

[0014] This application also discloses a monitoring device for an optical network unit. The device is applied to a server, which is coupled to an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration to enable the aggregation switch to transparently transmit Virtual Local Area Network (VLAN) broadcasts between the server and the ONU. The device includes:

[0015] The monitoring item processing module is used to automatically discover the device serial numbers of ONUs within a preset range, create monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associate the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs;

[0016] The performance determination module is used to determine the performance information corresponding to the monitored ONU based on the collection results corresponding to the monitored items.

[0017] The data recording and storage module is used to store data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT.

[0018] The control display module is used to display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number;

[0019] The first filtering module is used to search for the corresponding first target data record in the database based on the user's selection operation on the first selection control, the second selection control, or the third selection control, and to display the first target data record.

[0020] Optionally, the data acquisition network communicates according to the Simple Network Management Protocol (SNMP).

[0021] The monitoring item processing module includes:

[0022] An automatic discovery rule creation module is used to create automatic discovery rules; the automatic discovery rule specifies a first SNMP object identifier corresponding to the device serial number of a preset manufacturer, and the first SNMP object identifier is used to represent the object identifier of the device serial number of the preset manufacturer.

[0023] The first action creation module is used to create a first preset action for the automatic discovery rule, so as to execute the first preset action when the automatic discovery rule discovers the device serial number of the preset manufacturer; the first preset action is specifically: to create a monitoring ONU and a monitoring item for the monitoring ONU according to the discovered device serial number.

[0024] Optionally, the monitoring item corresponds to a second SNMP object identifier, which is used to characterize the object identifier corresponding to the preset performance information of the monitoring ONU of the preset manufacturer.

[0025] The collection results corresponding to the monitoring item include: the value of the second identifier corresponding to the second SNMP object identifier;

[0026] The performance determination module includes:

[0027] The conversion module is used to convert the second identifier value into the performance information corresponding to the monitoring ONU based on the mapping relationship between the SNMP object identifier value and the interpretation information.

[0028] Optionally, the device further includes:

[0029] The export module is used to export the first target data record into the first target data table.

[0030] Optionally, the device further includes:

[0031] The performance options display module is used to display various options corresponding to performance information;

[0032] The second filtering module is used to search the database for the second target data record corresponding to the target option based on the user's selection operation for one of the multiple options, and to display the second target data record.

[0033] Optionally, the device further includes:

[0034] The trigger rule creation module is used to create trigger rules; the trigger rule specifies the monitoring item and the trigger condition; the trigger condition is specifically: the collection result of the monitoring item meets the preset condition;

[0035] The second action creation module is used to create a second preset action for the triggering rule; to realize the association between the triggering rule and the second preset action, so as to execute the second preset action when the collection result of the monitoring item meets the preset conditions; the second preset action is specifically: to send alarm information to a preset user using a preset medium.

[0036] Optionally, the ONU's ports support camera access;

[0037] The device further includes:

[0038] The storage module is used to store the correspondence between the ONU's port, VLAN address and the camera's Media Access Control MAC address;

[0039] The MAC acquisition module is used to acquire the first MAC address of the camera connected to the first port;

[0040] The judgment module is used to determine whether the first MAC address matches the first port based on the correspondence.

[0041] The error correction module is used to obtain a target VLAN address that matches the first MAC address from the correspondence when the first MAC address does not match the first port, and replace the VLAN address corresponding to the first port with the target VLAN address.

[0042] Optionally, the device further includes:

[0043] The acquisition mode determination module is used to determine the acquisition mode corresponding to the monitoring ONU connected to the OLT based on the number of ONUs connected to the OLT. When the number of ONUs is greater than the number threshold, the acquisition mode is passive acquisition mode; when the number of ONUs is not greater than the number threshold, the acquisition mode is active acquisition mode.

[0044] The data acquisition module configuration module is used to configure the acquisition mode of the monitoring item according to the acquisition mode corresponding to the monitoring ONU;

[0045] The monitoring item acquisition module is used to acquire the acquisition results corresponding to the monitoring item according to the acquisition mode of the monitoring item.

[0046] This application also discloses an electronic device, including: a processor; and a memory storing executable code thereon, which, when executed, causes the processor to perform the method described in this application.

[0047] This application also discloses a machine-readable medium storing executable code thereon, which, when executed, causes a processor to perform the method described in this application.

[0048] The embodiments of this application have the following advantages:

[0049] In the technical solution of this application embodiment, in the data acquisition network, the aggregation switch transmits VLAN broadcast between the server and the ONU, which enables the server to collect the preset performance information of the ONU through VLAN broadcast, and provides network link support for data transmission during the monitoring process of the ONU.

[0050] Secondly, the server in this embodiment automatically discovers the SN (Serial Number) of ONUs within a preset range. This automatic discovery of the ONU SN can be applied to any ONU from any manufacturer. Therefore, this embodiment can utilize the automatic discovery of the ONU SN to monitor ONUs from multiple manufacturers, thereby saving the login and search costs of network management systems from multiple manufacturers and thus improving ONU monitoring efficiency.

[0051] Furthermore, in this embodiment of the application, monitoring ONUs and monitoring items for monitoring ONUs are created based on the discovered device serial numbers, and the monitoring items are associated with the device serial numbers, which can realize the automatic collection of the collection results corresponding to the monitoring items.

[0052] Furthermore, this embodiment determines the performance information corresponding to the monitored ONU based on the collection results corresponding to the aforementioned monitoring items; it stores data records corresponding to the aggregation switch, OLT, device serial number, and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT; and it provides selection controls for dimensions such as aggregation switch, OLT, and device serial number in the data records. Thus, this embodiment allows users to filter and select ONU performance information based on dimensions such as aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of ONUs. Attached Figure Description

[0053] Figure 1 This is a flowchart illustrating the steps of a monitoring method for an optical network unit according to an embodiment of this application;

[0054] Figure 2 This is a schematic diagram of the structure of a data acquisition network according to an embodiment of this application;

[0055] Figure 3 This is a schematic diagram of the monitoring interface of an optical network unit according to an embodiment of this application;

[0056] Figure 4 This is a schematic diagram of the structure of a monitoring device for an optical network unit according to an embodiment of this application;

[0057] Figure 5 This is a schematic diagram of the structure of an apparatus provided in one embodiment of this application. Detailed Implementation

[0058] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] The monitoring method for optical network units in this application can be used in PON networks to understand the network status of user terminals in real time, thereby helping to provide more stable and higher quality network services.

[0060] In related technologies, OLT manufacturers provide network management systems. By logging into the OLT manufacturer's network management system, you can find an OLT and view the performance information of the ONUs connected to that OLT.

[0061] However, in practical applications, a PON network may contain OLTs from multiple manufacturers. In this case, to meet the monitoring needs of all ONUs in a PON network, it is necessary to log into the network management systems of multiple manufacturers and find the corresponding OLTs in order to view the ONU performance information. Logging into and searching through multiple manufacturers' network management systems is time-consuming and laborious, impacting the efficiency of ONU monitoring.

[0062] To address the technical problem of low monitoring efficiency of optical network units in related technologies, this application provides a monitoring method for optical network units. This method is applied to a server, which is coupled with an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration, enabling it to transparently transmit VLAN (Virtual Local Area Network) broadcasts between the server and the ONU. Specifically, the method may include the following steps:

[0063] Automatically discovers the device serial numbers of ONUs within a preset range, creates monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associates the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs.

[0064] Based on the collection results corresponding to the above monitoring items, determine the performance information corresponding to the monitored ONU;

[0065] Based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT, the database stores the data records corresponding to the aggregation switch, OLT, device serial number and performance information.

[0066] Display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number;

[0067] Based on the user's selection operation on the first, second, or third selection control, the corresponding first target data record is searched in the database and displayed.

[0068] First, in the data acquisition network built in this application embodiment, the aggregation switch transmits VLAN broadcast between the server and the ONU, enabling the server to collect the preset performance information of the ONU via VLAN broadcast, and providing network link support for data transmission during the monitoring process of the ONU.

[0069] Secondly, the server in this embodiment automatically discovers the SN (Serial Number) of ONUs within a preset range. This automatic discovery of the ONU SN can be applied to any ONU from any manufacturer. Therefore, this embodiment can utilize the automatic discovery of the ONU SN to monitor ONUs from multiple manufacturers, thereby saving the login and search costs of network management systems from multiple manufacturers and thus improving ONU monitoring efficiency.

[0070] Furthermore, in this embodiment of the application, monitoring ONUs and monitoring items for monitoring ONUs are created based on the discovered device serial numbers, and the monitoring items are associated with the device serial numbers, which can realize the automatic collection of the collection results corresponding to the monitoring items.

[0071] Furthermore, this embodiment determines the performance information corresponding to the monitored ONU based on the collection results corresponding to the aforementioned monitoring items; it stores data records corresponding to the aggregation switch, OLT, device serial number, and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT; and it provides selection controls for dimensions such as aggregation switch, OLT, and device serial number in the data records. Thus, this embodiment allows users to filter and select ONU performance information based on dimensions such as aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of ONUs.

[0072] For example, a user can select the target aggregation switch to view based on the first selection control, and the system can provide the user with performance information of all ONUs under the target aggregation switch.

[0073] For example, by selecting the target OLT to view based on the second selection control, the user can be provided with the performance information of all ONUs under the target OLT.

[0074] For example, when a user selects the target SN to view based on the third selection control, the system can provide the user with performance information of the specific ONU corresponding to the target SN.

[0075] Method Example 1

[0076] refer to Figure 1 This diagram illustrates a step-by-step flowchart of a monitoring method for an optical network unit according to an embodiment of this application. The method is applied to a server, which is coupled to an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration to enable it to transparently transmit VLAN broadcasts between the server and the ONU. Specifically, the method may include the following steps:

[0077] Step 101: Automatically discover the device serial numbers of ONUs within the preset range. Based on the discovered device serial numbers, create a monitoring ONU and a monitoring item for the monitoring ONU, and associate the monitoring item with the device serial number. The monitoring item is used to collect preset performance information of the monitoring ONU.

[0078] Step 102: Based on the collection results corresponding to the above monitoring items, determine the performance information corresponding to the monitored ONU;

[0079] Step 103: Based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT, save the data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database.

[0080] Step 104: Display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number;

[0081] Step 105: Based on the user's selection operation on the first selection control, the second selection control, or the third selection control, search for the corresponding first target data record in the database and display the first target data record.

[0082] Figure 1 At least one step of the method shown can be executed by the server. The server can determine the performance information corresponding to the monitored ONU according to the monitoring method of the optical network unit in the embodiments of this application, and save the data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database, supporting users to filter and select performance information from multiple dimensions.

[0083] In this embodiment, the server is coupled with the aggregation switch, optical line terminal (OLT), and optical network unit (ONU) to form a data acquisition network. This data acquisition network can be used to collect preset performance information from the ONU.

[0084] Reference Figure 2 The diagram shows a schematic of the structure of a data acquisition network according to an embodiment of this application. The data acquisition network specifically includes: a server, an aggregation switch 202, an optical line terminal 203, and an optical network unit 204.

[0085] Among them, server 201 is the core of the data acquisition network and is responsible for managing the entire data acquisition network.

[0086] Server 201 can communicate with aggregation switch 204 via network protocols such as SNMP (Simple Network Management Protocol) and HTTP (Hypertext Transfer Protocol) to collect and process preset performance information of ONUs.

[0087] Aggregation switch 202 is a key device in the network, responsible for connecting devices at different network layers. In the data acquisition network, aggregation switch 202 is responsible for transparently transmitting VLAN broadcasts between server 201 and optical line terminal 203.

[0088] In practical applications, the aggregation switch 202 can be multi-layered. For example, if city A includes multiple counties, then the Layer 3 switch 202 can include: a first aggregation switch for city A and second aggregation switches corresponding to each of the multiple counties. It is understood that this application embodiment does not limit the specific layers of the aggregation switch or the number of Layer 3 aggregation switches included in each layer.

[0089] In a specific implementation, server 201 can be connected to aggregation switch 202 via a switch. Furthermore, one aggregation switch 202 can connect to multiple optical line terminals 203. Of course, this embodiment does not limit the specific number of optical line terminals 203 connected to one aggregation switch 202.

[0090] The optical line terminal 203 is the central device of the optical fiber access network, responsible for managing multiple optical network units 204. It connects to the optical network units 204 via optical fibers to provide high-speed optical fiber access services.

[0091] Optical Network Unit 204 is a user-end device used to provide fiber optic access services.

[0092] The process of performing transparent transmission configuration on the above-mentioned aggregation switch in this embodiment of the application specifically includes: configuring the port mode of the aggregation switch as a Trunk port; and configuring the VLAN to which the Trunk port is joined.

[0093] In this embodiment, VLAN is a communication technology that logically divides a physical local area network (LAN) into multiple broadcast domains. Hosts within a VLAN can communicate directly, while hosts in different VLANs cannot communicate directly with each other, thus isolating broadcast domains. A VLAN identifier can refer to the identifier of a virtual LAN, used to distinguish different VLANs.

[0094] Trunk, or port aggregation, is a software configuration technique that combines two or more physical ports into a single logical path, increasing bandwidth between the aggregation switch and network nodes. It merges the bandwidth belonging to these ports, providing each port with several times the dedicated bandwidth of an individual port. Trunk is an encapsulation technology; it's a point-to-point link where both ends can be aggregation switches, aggregation switches and routers, or hosts and aggregation switches or routers. Based on port aggregation, it allows parallel connections and simultaneous transmission between aggregation switches, between aggregation switches and routers, and between hosts and aggregation switches or routers via two or more ports.

[0095] Since the trunk port can forward packets with VLAN tags, the data from the optical network unit 204 can reach the server 201 via the aggregation switch 202.

[0096] In this embodiment of the application, the VLAN to which the Trunk port is joined can be configured, and the VLAN identifier to which the Trunk port is joined can be configured. The VLAN identifier to which the Trunk port is joined can be a numerical range, such as 2 to 4094.

[0097] In step 101, a monitoring tool that supports network discovery protocols can be used to scan a preset range of IP (Internet Protocol) addresses to discover ONUs in the network. Commonly used network discovery protocols include SNMP, LLDP (Link Layer Discovery Protocol), and CDP (Cisco Discovery Protocol).

[0098] For example, monitoring tools that support network discovery protocols may include Zabbix. Zabbix is ​​an enterprise-grade open-source solution that provides distributed system and network monitoring capabilities based on a web (World Wide Web) interface. Zabbix can monitor various network parameters to ensure the secure operation of server systems and provides a flexible notification mechanism to allow system administrators to quickly locate and resolve various problems. Zabbix specifically includes a Zabbix server and an optional Zabbix agent. The Zabbix server can provide monitoring and data collection functions for remote devices (ONU in this embodiment) through methods such as SNMP, Zabbix agent, and port monitoring. It can run on operating systems such as Linux.

[0099] The preset IP address range can be determined by those skilled in the art based on actual application needs. For example, if it is necessary to monitor ONUs in multiple counties of City A, the IP address range for each county can be determined according to the network plan of City A. The combination of IP address ranges from multiple counties can be used as the preset IP address range.

[0100] SN (Serial Number) is a unique identifier assigned by the manufacturer to each device to distinguish and identify different devices. Serial numbers typically contain a combination of letters and numbers and are used to track product manufacturing, sales, and warranty information.

[0101] In one implementation of this application, the data acquisition network communicates according to the Simple Network Management Protocol (SNMP).

[0102] Step 101 automatically discovers the device serial numbers of ONUs within a preset range, and based on the discovered device serial numbers, creates a monitoring ONU and monitoring items for the monitoring ONU. This process specifically includes:

[0103] Step A1: Create an auto-discovery rule; the auto-discovery rule specifies a first SNMP object identifier corresponding to the device serial number of a preset manufacturer, and the first SNMP object identifier is used to represent the object identifier corresponding to the device serial number of the preset manufacturer.

[0104] Step A2: Create a first preset action for the automatic discovery rule, so as to execute the first preset action when the automatic discovery rule discovers the device serial number of the preset manufacturer; the first preset action is specifically: create a monitoring ONU and a monitoring item for the monitoring ONU according to the discovered device serial number.

[0105] In practical applications, the configuration functions of monitoring tools such as Zabbix can be used to execute steps A1 to A3. Step A1 specifically involves rule configuration. Step A2 specifically involves action configuration. Since step A2 creates a first preset action for the auto-discovery rule, the association between the auto-discovery rule and the first preset action can be established. In practice, the configuration interface for the first preset action can include the name of the auto-discovery rule, thus enabling the association between the auto-discovery rule and the first preset action.

[0106] Therefore, in this embodiment of the application, a first preset action corresponding to the automatic discovery rule is executed according to the automatic discovery rule; wherein, the automatic discovery rule specifies a first SNMP object identifier corresponding to the device serial number of a preset manufacturer, and the first SNMP object identifier is used to characterize the object identifier of the device serial number of the preset manufacturer; the first preset action instructs to create a monitoring ONU and a monitoring item for the monitoring ONU based on the discovered device serial number.

[0107] The number of preset manufacturers can be one or more. This application does not limit the specific number of preset manufacturers.

[0108] An SNMP OID (Object Identifier) ​​is a value defined within a specific MIB (Management Information Base) schema to define a specific SNMP target in the MIB database. An SNMP OID is a delimited sequence of numbers forming a period from abc...xyz. It is a unique identifier for each item in the information and is part of a MIB. The SNMP protocol groups various device parameters into a tree structure. Starting from the root of the tree, each level node has a code. These level codes are separated by ".", and the resulting string is called an OID. Operations can be performed on the parameters represented by the OID. SNMP-monitored items (monitoring items) are individual OIDs.

[0109] The Management Information Base (MIB) is part of the TCP / IP (Transmission Control Protocol / Internet Protocol) network management protocol standard framework. The MIB defines the data items that managed devices must store, the operations allowed on each data item, and their meanings. In other words, data variables such as control and status information of managed devices accessible to the system are stored in the MIB.

[0110] The first SNMP object identifier is an object identifier that represents the serial number of a device from a pre-defined manufacturer. Different pre-defined manufacturers can correspond to different first SNMP object identifiers. In practical applications, the first SNMP object identifier can be queried in the pre-defined manufacturer's MIB.

[0111] After the automatic discovery rules are configured, monitoring tools such as Zabbix will periodically execute the following steps according to the set update intervals: Scan a predefined range of IP addresses using the SNMP protocol; for each IP address, send an SNMP request to query the device serial number. If the ONU responds to the SNMP request, the ONU will obtain the device's serial number; determine whether the obtained serial number already exists in the serial number set; if not, it considers a new device discovered and saves the obtained serial number to the serial number set. The SNMP request here can be a device serial number retrieval request.

[0112] This application embodiment can associate automatic discovery rules with a first preset action, so that when the automatic discovery rules discover the device serial number of a preset manufacturer, the first preset action is executed; the first preset action is specifically: based on the discovered device serial number, create a monitoring ONU and a monitoring item for the monitoring ONU.

[0113] In practical applications, the above monitoring items may correspond to a second SNMP object identifier, which is used to characterize the object identifier corresponding to the preset performance information of the monitoring ONU of the preset manufacturer.

[0114] In specific implementations, preset performance information may include: operating status, offline reason, received optical power, uplink bandwidth utilization, downlink bandwidth utilization, CPU utilization, and memory utilization, etc. It is understood that those skilled in the art can use various preset performance information according to actual application requirements, and the embodiments of this application do not limit the specific preset performance information.

[0115] It should be noted that, in addition to collecting preset performance information of the monitored ONU, the monitoring items in this application embodiment can also be used to collect relevant time information of the preset performance information of the monitored ONU. Taking the preset performance information as the running state as an example, the relevant time specifically includes: the change time from the first state to the second state, or the duration of the first state or the second state, etc. The first state and the second state can be different subordinate concepts of the running state.

[0116] It should be noted that, in addition to collecting preset performance information of the monitored ONU, the monitoring items in this application embodiment can also be used to collect OLT information of the monitored OLT corresponding to the monitored ONU. Examples of OLT information may include information such as OLT interface utilization. Interface utilization reflects the data transmission efficiency and load of the OLT interface, which is crucial for ensuring network performance and planning network expansion.

[0117] Different preset performance information can correspond to different second SNMP object identifiers. In practical applications, the second SNMP object identifier can be queried in the preset manufacturer's MIB.

[0118] In the above scenario, the collection result corresponding to the monitoring item specifically includes: the value of the second identifier corresponding to the second SNMP object identifier; the value of the second identifier can be a value corresponding to some preset performance information represented by the second SNMP object identifier. Taking the second SNMP object identifier representing received optical power as an example, the second identifier can be a value of received optical power.

[0119] In step 102, the process of determining the performance information corresponding to the monitored ONU based on the collection results corresponding to the monitored item specifically includes: converting the second identifier value into the performance information corresponding to the monitored ONU based on the mapping relationship between the SNMP object identifier value and the interpretation information.

[0120] Taking the preset performance information as the operating state as an example, Table 1 shows an example of the mapping relationship between SNMP object identifier values ​​and their explanatory information. This mapping relationship can be provided by the MIB. In one example, the explanatory information in the mapping relationship between SNMP object identifier values ​​and their explanatory information in the MIB can be in English. This embodiment of the application can utilize machine translation technology to convert the English explanatory information into Chinese explanatory information.

[0121] Table 1

[0122] SNMP object identifier value Definition Information 1 Distance measurement 2 Optical signal loss 3 Synchronize data 4 Online 5 Power outage 6 Verification failed 7 Offline

[0123] In one optional embodiment of this application, the above method may further include: determining the collection mode corresponding to the monitoring ONU connected to the OLT based on the number of ONUs connected to the OLT; wherein, when the number of ONUs is greater than a number threshold, the collection mode is a passive collection mode; when the number of ONUs is not greater than the number threshold, the collection mode is an active collection mode.

[0124] Configure the collection mode of the monitoring item according to the collection mode corresponding to the monitoring ONU;

[0125] Collect the collection results corresponding to the monitoring items according to the collection mode of the monitoring items.

[0126] Active data collection refers to the server proactively sending a data collection request to the monitoring ONU to obtain the data collection results corresponding to the monitored items. Passive data collection refers to the server not proactively sending a data collection request, but instead waiting for the monitoring ONU to proactively report the data collection results corresponding to the monitored items.

[0127] In this embodiment, a passive data collection mode is adopted when the number of ONUs exceeds a threshold. Since passive data collection does not require the server to actively send requests, but instead acquires data by monitoring network traffic, it consumes less network bandwidth and device resources on the server. Furthermore, to reduce network traffic on the server side, the passive data collection interval can be between 5 and 10 seconds.

[0128] In this embodiment, when the number of ONUs does not exceed a threshold, an active data collection mode is adopted. The server can control the time interval of active data collection and adjust the collection strategy as needed to adapt to different network conditions and requirements. For example, the time interval of active data collection can be approximately 1 second.

[0129] In summary, this embodiment determines the collection mode corresponding to the monitoring ONU connected to the OLT based on the number of ONUs connected to the OLT. Since different collection modes can correspond to different numbers of ONUs, this embodiment can make reasonable use of bandwidth and reduce the CPU and memory overhead of the server.

[0130] In step 103, this embodiment of the application can store data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT.

[0131] Assuming a performance data table is used to store data records corresponding to the aggregation switch, OLT, device serial number, and performance information, Table 2 shows an example of a performance data table according to an embodiment of this application. It should be noted that a performance data table can contain one or more types of performance information. Table 2 shows performance information such as operating status. The aforementioned data records specifically include four fields: aggregation switch, OLT, device serial number, and performance information. Specifically, the aggregation switch field can contain the serial number string of the aggregation switch to which the monitoring NOU belongs; the OLT field can contain the serial number string of the OLT to which the monitoring NOU belongs; the device serial number can be the string corresponding to the SN of the monitoring NOU; and the operating status can be the explanatory information corresponding to the operating status of the monitoring NOU.

[0132] In practical applications, one aggregation switch typically corresponds to multiple OLTs, and one OLT typically corresponds to multiple device serial numbers. The operating status corresponding to a device serial number is unique at any given time.

[0133] Table 2

[0134] Aggregation Switch OLT Device serial number Running status Aggregation Switch A OLTA1 SNA11 Online Aggregation Switch A OLTA1 SNA12 Offline Aggregation Switch A OLTA1 SNA13 Optical signal loss …… …… …… ……

[0135] It should be noted that, in addition to the four fields of aggregation switch, OLT, device serial number and performance information, the above data records may also include other fields such as relevant time.

[0136] It should be noted that the embodiments of this application can utilize monitoring tools such as Zabbix, which support network discovery protocols, to execute steps 101 to 103. The monitoring tool can not only automatically discover monitored ONUs belonging to multiple preset manufacturers within a preset range, but also automatically create monitoring items for monitored ONUs, automatically determine the collection results of the monitoring items, and determine the performance information corresponding to the collection results; it can also save the performance information and related fields to a database.

[0137] Steps 104 and 105 can be performed using a visualization tool. Examples of visualization tools include Grafana, Kibana, etc.

[0138] Grafana is an open-source data visualization tool that helps users graphically display and monitor data from data sources in real time, enabling them to understand the data more intuitively. Grafana supports various data sources, including databases, and various display methods, such as charts, dashboards, maps, and calendars.

[0139] In step 104, this embodiment of the application may display a first selection control corresponding to the aggregation switch, a second selection control corresponding to the OLT, and a third selection control corresponding to the device serial number.

[0140] In practical applications, the first selection control can be a radio button or a checkbox. For example, the first selection control can be the first radio button corresponding to "All Aggregator Switches," selecting which option selects all aggregation switches. Alternatively, the first selection control can be the second radio button corresponding to "Single Aggregator Switch," selecting which option selects the single aggregation switch.

[0141] Similarly, the second selection control can be a radio button or a checkbox. For example, the second selection control can be the third radio button corresponding to "All OLTs". Selecting the third radio button will select all OLTs or all OLTs corresponding to "Single Aggregation Switch". The second selection control can also be the fourth radio button corresponding to "Single OLT". Selecting the fourth radio button will select the "Single OLT".

[0142] Similarly, the third selection control can be a radio button or a checkbox. For example, the third selection control can be the fifth radio button corresponding to "All SNs," selecting the fifth radio button will select all SNs. The third selection control can also be the sixth radio button corresponding to "Single SN," selecting the sixth radio button will select the "single SN."

[0143] In step 105, this embodiment of the application can search for the corresponding first target data record in the database based on the user's selection operation on the first selection control, the second selection control, or the third selection control, and then display the first target data record.

[0144] Reference Figure 3The diagram illustrates a monitoring interface of an optical network unit according to an embodiment of this application, which may include: an aggregation switch area 301, an OLT area 302, an SN area 303, and a performance information area 304. The performance information area 304 is specifically used to display performance information such as the operating status.

[0145] Specifically, the first selection controls in the aggregation switch area 301 include a first radio button 311 for "All Aggregation Switches" and a second radio button 312 for "Single Aggregation Switch". Selecting the first radio button 311 will select all aggregation switches. Selecting the second radio button 312 will select a single aggregation switch.

[0146] The second selection controls in OLT area 302 specifically include a third radio button 321 corresponding to "All OLTs" and a fourth radio button 322 corresponding to "Single OLT". Selecting the third radio button 321 will select all OLTs or all OLTs corresponding to "Single Aggregation Switch". Selecting the fourth radio button 322 will select a "Single OLT".

[0147] The third selection controls in SN area 303 specifically include: a fifth radio button 331 corresponding to "All SNs" and a sixth radio button 332 corresponding to "Single SN". Selecting the fifth radio button 331 will select all SNs or all SNs corresponding to a single OLT. Selecting the sixth radio button 332 will select a single SN.

[0148] The performance information area 304 can be used to display the operating status of the selected SN.

[0149] Figure 3 In this embodiment, if the user selects the second radio button 312 corresponding to aggregation switch A, then multiple target OLTs corresponding to aggregation switch A will be selected. In this embodiment, multiple first target data records corresponding to aggregation switch A can be queried in the database.

[0150] Assuming the first target data record contains all fields from the performance data table, the query statement for retrieving multiple first target data records corresponding to aggregation switch A from the performance data table in the database can be:

[0151] SELECT*

[0152] FROM table_name

[0153] WHERE field_name = 'Aggregation Switch A'

[0154] Where table_name is the name of the performance data table, and field_name is the field name of the aggregation switch.

[0155] Assuming the first target data record contains the target field from the performance data table, the query statement for retrieving multiple first target data records corresponding to aggregation switch A from the performance data table in the database can be:

[0156] SELECT column1,column2,column3

[0157] FROM table_name

[0158] WHERE field_name = 'Aggregation Switch A'

[0159] Where table_name is the name of the performance data table, field_name is the field name of the aggregation switch, and column1, column2, and column3 are the names of the target fields.

[0160] In an optional embodiment of this application, the method may further include: exporting the first target data record as a first target data table. For example, a user can analyze the performance information of aggregation switch A based on the exported first target data table to improve the accuracy of ONU monitoring.

[0161] In another optional embodiment of this application, the above method may further include: displaying multiple options corresponding to performance information; based on the user's selection operation for a target option among the multiple options, searching in the database for a second target data record corresponding to the target option, and displaying the second target data record.

[0162] In practical applications, drop-down options can be used to provide multiple options corresponding to performance information. This application embodiment can provide multiple drop-down options for users to choose from. These multiple drop-down options can correspond to specific field content for a certain performance information. For example, Table 1 shows eight interpretations of the running status, which can correspond to eight drop-down options. Users can select a target option from these eight options. Assuming the target option corresponds to "offline," this application embodiment can search the database for the second target data record corresponding to the target option and display that record. In this way, the ONU information containing the specific performance information corresponding to the target option can be presented to the user.

[0163] This application embodiment can also export the second target data records as a second target data table. For example, based on the second target data table corresponding to "offline", the user can analyze all "offline" ONUs to accurately determine the cause of offline status.

[0164] In yet another optional embodiment of this application, the above method may further include:

[0165] Step B1: Create a trigger rule; the trigger rule specifies the monitoring item and trigger conditions; the trigger conditions are specifically: the collection results of the monitoring item meet preset conditions;

[0166] Step B2: Create a second preset action for the triggering rule; establish the association between the triggering rule and the second preset action so that the second preset action is executed when the collection result of the monitoring item meets the preset conditions; the second preset action is specifically: send alarm information to a preset user using a preset medium.

[0167] The triggering rules in this application embodiment can be used to detect monitoring items and triggering conditions, and when the triggering conditions are met, to send alarm information to preset users using a preset medium.

[0168] Therefore, in this embodiment of the application, a second preset action corresponding to the triggering rule is executed according to the triggering rule; wherein, the triggering rule specifies the monitoring item and the triggering condition; the triggering condition is specifically: the collection result of the monitoring item meets the preset condition; the second preset action uses a preset medium to send alarm information to a preset user.

[0169] The above-mentioned alarm handling based on trigger rules has the following advantages:

[0170] Real-time monitoring: By creating trigger rules, ONU performance information can be monitored in real time. Once the collected results of the monitoring items meet the preset conditions (such as the ONU's running status being offline), the server can immediately detect the anomaly or problem.

[0171] Rapid Response: Alarm information is quickly sent to preset users via preset media (such as email, SMS, instant messaging tools, etc.) to ensure that preset users can understand the problem and take action in a timely manner.

[0172] Automated processing: The automated processing of alarms reduces the need for manual monitoring, improves monitoring efficiency, and reduces the risk of missing important alarms due to human negligence.

[0173] Flexibility and customizability: Trigger rules and second preset actions can be customized according to specific monitoring needs, such as setting different trigger conditions, adjusting the severity level of alarms, and selecting different preset media.

[0174] Centralized management: Monitoring tools such as Zabbix can be used to centrally manage the monitoring and alarms of multiple ONUs, simplifying the complexity of network management and maintenance.

[0175] Historical data analysis: Alarm information and monitoring data can be recorded and stored, facilitating subsequent analysis and troubleshooting, and helping to optimize network performance and prevent future problems.

[0176] Improving network reliability: By promptly identifying and resolving potential problems, alarm mechanisms help improve the reliability and stability of PON networks and reduce the risk of service interruptions.

[0177] Cost-effectiveness: Automated alerts reduce the cost of manual monitoring, and by preventing and responding quickly to problems, they can reduce business losses caused by network failures.

[0178] In one example, the monitoring item collects the ONU's operating status. If the ONU is offline, an initial alarm can be issued to promptly investigate the problem and dispatch a repair order.

[0179] In another example, the monitored item is the interface utilization of the OLT. If the interface utilization exceeds a threshold, a second alarm can be issued. Upon receiving the second alarm, pre-defined actions can be performed. These actions may include: implementing load balancing across multiple OLT interfaces to distribute traffic across different interfaces and improve overall network performance. Pre-defined actions may also include: upgrading the interface to a higher speed interface (e.g., from GE to 10GE) to increase bandwidth capacity. Here, GE stands for Gigabit Ethernet.

[0180] In one optional embodiment of this application, the ONU's port supports camera access;

[0181] The above methods may also include:

[0182] Step C1: Save the correspondence between the ONU's port, VLAN address and the camera's MAC (Media Access Control) address;

[0183] Step C2: Collect the first MAC address of the camera connected to the first port;

[0184] Step C3: Based on the correspondence, determine whether the first MAC address matches the first port;

[0185] Step C4: If the first MAC address does not match the first port, obtain the target VLAN address that matches the first MAC address from the correspondence, and replace the VLAN address corresponding to the first port with the target VLAN address.

[0186] As mentioned earlier, the embodiments of this application are compatible with ONUs from different manufacturers. Furthermore, since the ports of the ONUs in these embodiments can support camera access, they are also compatible with cameras from different manufacturers. Since different ports can correspond to cameras from different manufacturers, isolation between cameras from different manufacturers can be achieved.

[0187] In step C1, the mapping relationship between the ONU's port, VLAN address, and the MAC address of the camera connected to that port can be recorded based on the configuration. This mapping relationship is usually stored in a database or configuration file for quick querying and updating. The configuration file mentioned above can be the configuration file of the OLT to which the ONU belongs.

[0188] In step C2, the first MAC address of the camera connected to the first port can be collected using SNMP GETNEXT and GET requests. The first port can represent any port that the camera is actually connected to.

[0189] In step C3, it can be determined whether the first port and the first MAC address exist in the above correspondence. If they do, the first MAC address matches the first port. Otherwise, if the first port and the first MAC address do not exist in the above correspondence, the first MAC address does not match the first port.

[0190] If the first MAC address and the first port do not match, the camera can be considered to have an incorrect connection. This application embodiment can detect camera connection errors in a timely manner based on the matching of the first MAC address and the first port.

[0191] Furthermore, if the first MAC address does not match the first port, a target VLAN address matching the first MAC address is obtained from the correspondence, and the VLAN address corresponding to the first port is replaced with the target VLAN address. In this way, embodiments of this application can achieve timely correction of camera access errors.

[0192] Referring to Table 3, an example of the correspondence between the port and VLAN address of the ONU and the MAC address of the camera in one embodiment of this application is shown.

[0193] Table 3

[0194] ONU ports VLAN address Camera MAC address Port 1 VLAN1 MAC1 Port 2 VLAN2 MAC2 Port 3 VLAN3 MAC3 Port 4 VLAN4 MAC4

[0195] In one example, assuming the first port is port 1, and assuming the on-site construction worker connects a camera to port 1 that should have been connected to port 4, then the MAC address of the camera connected to port 1 is specifically MAC4. Based on this correspondence, this embodiment of the application determines that port 1 and MAC4 do not match, thus enabling timely detection of incorrect camera connection issues.

[0196] Furthermore, this embodiment can also obtain the target VLAN address matching MAC4 from the correspondence: VLAN4, and replace VLAN1 corresponding to the first port with VLAN4. The correspondence after replacement is specifically: Port 1 — VLAN4 — MAC4. Therefore, this embodiment can realize timely correction of camera access errors and save the cost of on-site manual error correction.

[0197] In summary, the optical network unit monitoring method of this application embodiment, in the data acquisition network, the aggregation switch transmits VLAN broadcast between the server and the ONU, which enables the server to collect the preset performance information of the ONU through VLAN broadcast, and provides network link support for data transmission during the monitoring process of the ONU.

[0198] Secondly, the server in this embodiment automatically discovers the SN (Serial Number) of ONUs within a preset range. This automatic discovery of the ONU SN can be applied to any ONU from any manufacturer. Therefore, this embodiment can utilize the automatic discovery of the ONU SN to monitor ONUs from multiple manufacturers, thereby saving the login and search costs of network management systems from multiple manufacturers and thus improving ONU monitoring efficiency.

[0199] Furthermore, in this embodiment of the application, monitoring ONUs and monitoring items for monitoring ONUs are created based on the discovered device serial numbers, and the monitoring items are associated with the device serial numbers, which can realize the automatic collection of the collection results corresponding to the monitoring items.

[0200] Furthermore, this embodiment determines the performance information corresponding to the monitored ONU based on the collection results corresponding to the aforementioned monitoring items; it stores data records corresponding to the aggregation switch, OLT, device serial number, and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT; and it provides selection controls for dimensions such as aggregation switch, OLT, and device serial number in the data records. Thus, this embodiment allows users to filter and select ONU performance information based on dimensions such as aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of ONUs.

[0201] Method Example 2

[0202] This application embodiment can be applied to the monitoring project of SkyNet cameras. By interconnecting IP addresses and passing through VLANs, the network of the server, the OLT of three counties and two districts in City A, and the aggregation switch of three counties and two districts in City A are connected. Software such as Zabbix, Grafana, and database are installed on the server. The technical architecture of Zabbix+Grafana is used to collect the collection results of the monitoring items, and the corresponding performance information of the collection results is displayed through charts.

[0203] Skynet cameras are security monitoring devices primarily used for surveillance and security in public places, roads, and commercial areas. Through high-definition cameras and high-performance image processing technology, Skynet cameras can capture and record various activities in real time, providing police with clues and evidence of crimes while improving public safety.

[0204] The embodiments of this application can improve the online rate of Skynet cameras. The online rate of a camera refers to the proportion of time within a certain period of time during which the camera can work normally and transmit video signals.

[0205] In this embodiment of the application, the processing procedure on the Zabbix side specifically includes:

[0206] Step D1: Log in to the Zabbix tool, add server-side alarm triggers in Configuration - Templates, and set the upper and lower limits and levels;

[0207] Step D1 can bind an alarm template to the server. If the server experiences high CPU / memory utilization, slow disk read / write, or other issues that trigger the alarm mechanism, the alarm and its level will be displayed.

[0208] Step D2: View the monitoring dashboard;

[0209] Step D2 allows you to check if the server has triggered an alarm mechanism, such as whether disk read / write is slow or memory utilization is too high.

[0210] Step D3: View Configuration - Monitoring Items;

[0211] This step allows you to check if the collected OLT or ONU is online.

[0212] In this embodiment of the application, the processing procedure on the Grafana side specifically includes:

[0213] Step E1: Log in to the Grafana tool and select the monitoring item corresponding to ONU.

[0214] Step E2: Select the aggregation switch you want to view;

[0215] This step is used to filter the aggregation switches to which the OLT you want to view belongs.

[0216] Step E3: Select the OLT you want to view;

[0217] Step E3 selects aggregation switches that include OLTs from different manufacturers; this step is used to select the OLT that needs to be viewed.

[0218] Step E4: In each chart, query the operating status, offline reason, received optical power and other performance information of your target ONU based on the SN code or ONU index.

[0219] The ONU index is used to index the second SNMP object identifier corresponding to the monitoring item of the ONU.

[0220] Step E5: You can select all OLTs at the OLT dimension of each aggregation switch, and the interface will display the performance information of all ONUs connected to the monitoring ONUs. You can choose to export the target data records of each aggregation switch to your local computer.

[0221] This step is used to view the operating status, offline reasons, and received optical power of all ONUs connected to each aggregation switch. This allows management and maintenance personnel to obtain all parameters, quickly identify offline ONUs, and issue repair orders to different maintenance teams in different areas based on the different offline reasons.

[0222] The embodiments of this application monitor the OLT / ONU, which will bring the following beneficial effects:

[0223] 1. The embodiments of this application can realize real-time data acquisition and analysis of ONU.

[0224] This application embodiment connects the Grafana tool to the Zabbix tool to display the data through charts. It features fast data collection speed, comprehensive information, and easier distributed deployment and concurrency. It can batch and concurrently collect ONU information from different OLTs, and perform multiple automatic ONU discovery operations daily. It can collect comprehensive ONU information and update accurate ONU information in a timely manner, without requiring integration with third-party network management systems, thus eliminating vendor differences.

[0225] This application embodiment can collect ONU performance information on average once per minute. Maintenance personnel can accurately determine the offline status and offline time of the ONU based on the collection results and perform efficient processing, thereby improving the online rate of the SkyNet camera.

[0226] 2. The embodiments of this application can realize the visualization of ONU performance information.

[0227] This application utilizes Zabbix + Grafana to visualize ONU performance information. Maintenance personnel can intuitively view the data they need through Grafana and use the search function to find the online status, fault causes, and received optical power of specific OLT / ONU devices. Furthermore, government and enterprise installation and maintenance engineers, backend maintenance engineers, and SkyNet administrators can export target data tables corresponding to specific performance information of ONU devices using Grafana. For example, target data tables for specific performance information may include: target data tables for online status, target data tables for received optical power, target data tables for offline status, etc. This allows SkyNet on-site personnel to accurately dispatch work orders to the appropriate maintenance teams based on various fault causes (equipment power failure, optical signal loss, etc.).

[0228] The target data table corresponding to the received optical power can be used to determine whether packet loss in the ONU is caused by excessive optical attenuation. Optionally, the received optical power in the target data table can be matched with the received optical power range. If the received optical power in the target data table is not within the received optical power range, and packet loss is observed, the packet loss may be caused by excessive optical attenuation. In this case, corresponding measures can be taken, such as checking the fiber optic connection, replacing the fiber, and adjusting the optical power, to reduce optical attenuation and improve signal quality.

[0229] 3. The embodiments of this application employ a flexible alarm mechanism.

[0230] Zabbix offers a flexible alerting mechanism, allowing users to send alerts via email, SMS, WeChat, and DingTalk, enabling system administrators to quickly locate problems and take appropriate measures. Zabbix also provides server-side monitoring, allowing for immediate detection and handling of server-side alerts, such as those related to disk activity. Alerts can also be triggered when OLT interface usage exceeds a threshold (e.g., 60%).

[0231] 4. The embodiments of this application are compatible with ONU terminal devices from different manufacturers and cameras from different manufacturers. By configuring different VLANs to distinguish cameras in different subnets and projects, when on-site construction personnel install multiple cameras, it can detect whether the cameras are plugged into the wrong network port, collect the MAC addresses of the cameras in real time, discover problems in a timely manner, and correct camera access errors in a timely manner, thus saving the cost of on-site manual error correction.

[0232] 5. In this embodiment of the application, different scanning durations, passive and active data collection are set as needed according to the number of ONUs under different OLTs, thereby reducing server overhead and improving the integrity of the collected data.

[0233] Specifically, for OLTs with a large number of ONU devices, passive data collection can be set, with a time interval of 5-10 seconds; for OLTs with a small number of ONU devices, active data collection can be set, with a collection time of once per second. Adjustments can be made as needed to make reasonable use of bandwidth and reduce the CPU and memory overhead of the server.

[0234] 6. The embodiments of this application can perform real-time data analysis of the performance information corresponding to the collected results, and can quickly generate analysis reports and send early warnings / warnings.

[0235] 7. The embodiments of this application can present the real-time operating status, real-time received optical power, offline reasons and other performance information of each ONU through chart classification and data conversion.

[0236] Specifically, the embodiments of this application can provide an intuitive and clear interface and performance indicator display. Maintenance personnel can filter and view or export the operating status, received optical power and offline reasons of all ONUs under the corresponding aggregation switch / OLT according to the filtering conditions, so as to promptly investigate and dispatch repair orders.

[0237] 8. The embodiments of this application have strong compatibility and can be compatible with OLTs and ONUs and cameras from different manufacturers, thus reducing the maintenance cost of the equipment.

[0238] In summary, this application not only solves the problems of low online rate and untimely maintenance of SkyNet cameras, but also enables SkyNet maintenance engineers to proactively perform maintenance through the server, greatly improving user satisfaction while reducing a significant amount of ineffective manual dispatch and time costs, thus achieving "cost reduction and efficiency improvement." In other words, this application not only improves the work efficiency of SkyNet front-end and back-end maintenance engineers and SkyNet management personnel, saving substantial manual dispatch and time costs, but also enhances customer satisfaction. This application eliminates the need to wait for customers to report faults before dispatching personnel for repair; it only requires exporting the ONU device's operating status table (the target data table corresponding to the operating status) to quickly and effectively dispatch orders to maintenance teams for optical path repair and faulty equipment replacement.

[0239] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of this application.

[0240] Based on the above embodiments, this embodiment also provides a monitoring device for an optical network unit. This device is applied to a server, which is coupled with an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration to enable the aggregation switch to transparently transmit VLAN broadcasts between the server and the ONU.

[0241] Reference Figure 4 The monitoring device for the optical network unit may specifically include: a monitoring item processing module 401, a performance determination module 402, a data recording and storage module 403, a control display module 404, and a first filtering module 405.

[0242] The monitoring item processing module 401 is used to automatically discover the device serial numbers of ONUs within a preset range, create monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associate the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs.

[0243] The performance determination module 402 is used to determine the performance information corresponding to the monitored ONU based on the collection results corresponding to the monitored item.

[0244] The data record storage module 403 is used to store data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT.

[0245] The control display module 404 is used to display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number.

[0246] The first filtering module 405 is used to search for the corresponding first target data record in the database based on the user's selection operation on the first selection control, the second selection control, or the third selection control, and to display the first target data record.

[0247] Optionally, the data acquisition network communicates according to the Simple Network Management Protocol (SNMP).

[0248] The monitoring item processing module 401 specifically includes:

[0249] An automatic discovery rule creation module is used to create automatic discovery rules; the automatic discovery rule specifies a first SNMP object identifier corresponding to the device serial number of a preset manufacturer, and the first SNMP object identifier is used to represent the object identifier of the device serial number of the preset manufacturer.

[0250] The first action creation module is used to create a first preset action for the automatic discovery rule, so as to execute the first preset action when the automatic discovery rule discovers the device serial number of the preset manufacturer; the first preset action is specifically: to create a monitoring ONU and a monitoring item for the monitoring ONU according to the discovered device serial number.

[0251] Optionally, the monitoring item corresponds to a second SNMP object identifier, which is used to characterize the object identifier corresponding to the preset performance information of the monitoring ONU of the preset manufacturer.

[0252] The collection results corresponding to the monitoring item include: the value of the second identifier corresponding to the second SNMP object identifier;

[0253] The performance determination module includes:

[0254] The conversion module is used to convert the second identifier value into the performance information corresponding to the monitoring ONU based on the mapping relationship between the SNMP object identifier value and the interpretation information.

[0255] Optionally, the device may further include:

[0256] The export module is used to export the first target data record into the first target data table.

[0257] Optionally, the device may further include:

[0258] The performance options display module is used to display various options corresponding to performance information;

[0259] The second filtering module is used to search the database for the second target data record corresponding to the target option based on the user's selection operation for one of the multiple options, and to display the second target data record.

[0260] Optionally, the device may further include:

[0261] The trigger rule creation module is used to create trigger rules; the trigger rule specifies the monitoring item and the trigger condition; the trigger condition is specifically: the collection result of the monitoring item meets the preset condition;

[0262] The second action creation module is used to create a second preset action for the triggering rule; to realize the association between the triggering rule and the second preset action, so as to execute the second preset action when the collection result of the monitoring item meets the preset conditions; the second preset action is specifically: to send alarm information to a preset user using a preset medium.

[0263] Optionally, the ONU's ports support camera access;

[0264] The device may further include:

[0265] The storage module is used to store the correspondence between the ONU's port, VLAN address and the camera's Media Access Control MAC address;

[0266] The MAC acquisition module is used to acquire the first MAC address of the camera connected to the first port;

[0267] The judgment module is used to determine whether the first MAC address matches the first port based on the correspondence.

[0268] The error correction module is used to obtain a target VLAN address that matches the first MAC address from the correspondence when the first MAC address does not match the first port, and replace the VLAN address corresponding to the first port with the target VLAN address.

[0269] Optionally, the device may further include:

[0270] The acquisition mode determination module is used to determine the acquisition mode corresponding to the monitoring ONU connected to the OLT based on the number of ONUs connected to the OLT. When the number of ONUs is greater than the number threshold, the acquisition mode is passive acquisition mode; when the number of ONUs is not greater than the number threshold, the acquisition mode is active acquisition mode.

[0271] The data acquisition module configuration module is used to configure the acquisition mode of the monitoring item according to the acquisition mode corresponding to the monitoring ONU;

[0272] The monitoring item acquisition module is used to acquire the acquisition results corresponding to the monitoring item according to the acquisition mode of the monitoring item.

[0273] In summary, in the data acquisition network built by the monitoring device of the optical network unit in this application embodiment, the aggregation switch transmits VLAN broadcast between the server and the ONU, which enables the server to collect the preset performance information of the ONU through VLAN broadcast, and provides network link support for data transmission during the monitoring process of the ONU.

[0274] Secondly, the server in this embodiment automatically discovers the SN (Serial Number) of ONUs within a preset range. This automatic discovery of the ONU SN can be applied to any ONU from any manufacturer. Therefore, this embodiment can utilize the automatic discovery of the ONU SN to monitor ONUs from multiple manufacturers, thereby saving the login and search costs of network management systems from multiple manufacturers and thus improving ONU monitoring efficiency.

[0275] Furthermore, in this embodiment of the application, monitoring ONUs and monitoring items for monitoring ONUs are created based on the discovered device serial numbers, and the monitoring items are associated with the device serial numbers, which can realize the automatic collection of the collection results corresponding to the monitoring items.

[0276] Furthermore, this embodiment determines the performance information corresponding to the monitored ONU based on the collection results corresponding to the aforementioned monitoring items; it stores data records corresponding to the aggregation switch, OLT, device serial number, and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT; and it provides selection controls for dimensions such as aggregation switch, OLT, and device serial number in the data records. Thus, this embodiment allows users to filter and select ONU performance information based on dimensions such as aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of ONUs.

[0277] This application also provides a non-volatile readable storage medium storing one or more modules (programs). When these modules are applied to a device, they enable the device to execute the instructions for the method steps in this application.

[0278] This application provides one or more machine-readable media storing instructions that, when executed by one or more processors, cause an electronic device to perform one or more of the methods described in the above embodiments. In this application, the electronic device includes various types of devices such as terminal devices and server (cluster) devices.

[0279] The embodiments of this disclosure can be implemented as an apparatus with any suitable hardware, firmware, software, or any combination thereof configured as desired, and the apparatus may include electronic devices such as terminal devices and server (cluster) devices. Figure 5 An exemplary apparatus 2100 is schematically shown that can be used to implement the various embodiments described in this application.

[0280] In one embodiment, Figure 5 An exemplary device 2100 is shown, which includes one or more processors 2102, a control module (chipset) 2104 coupled to at least one of the processors 2102, a memory 2106 coupled to the control module 2104, a non-volatile memory / storage device 2108 coupled to the control module 2104, one or more input / output devices 2110 coupled to the control module 2104, and a network interface 2112 coupled to the control module 2104.

[0281] Processor 2102 may include one or more single-core or multi-core processors, and processor 2102 may include any combination of general-purpose processors or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, device 2100 can serve as a terminal device, server (cluster), or other device as described in the embodiments of this application.

[0282] In some embodiments, apparatus 2100 may include one or more computer-readable media (e.g., memory 2106 or non-volatile memory / storage device 2108) having instructions 2114 and one or more processors 2102 that are combined with the one or more computer-readable media and configured to execute the instructions 2114 to implement the module and thus perform the actions described in this disclosure.

[0283] In one embodiment, the control module 2104 may include any suitable interface controller to provide any suitable interface to at least one of the processors 2102 and / or any suitable device or component communicating with the control module 2104.

[0284] The control module 2104 may include a memory controller module to provide an interface to the memory 2106. The memory controller module may be a hardware module, a software module, and / or a firmware module.

[0285] Memory 2106 may be used, for example, to load and store data and / or instructions 2114 for device 2100. In one embodiment, memory 2106 may include any suitable volatile memory, such as suitable DRAM (Dynamic Random Access Memory). In some embodiments, memory 2106 may include double data rate type quad synchronous dynamic random access memory.

[0286] In one embodiment, the control module 2104 may include one or more input / output controllers to provide an interface to the non-volatile memory / storage device 2108 and (one or more) input / output devices 2110.

[0287] For example, non-volatile memory / storage device 2108 may be used to store data and / or instructions 2114. Non-volatile memory / storage device 2108 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives, one or more optical disk drives, and / or one or more digital universal optical disk drives).

[0288] The non-volatile memory / storage device 2108 may include storage resources that are physically part of a device on which the device 2100 is mounted, or that can be accessed by the device without being part of the device. For example, the non-volatile memory / storage device 2108 may be accessed via a network via one or more input / output devices 2110.

[0289] One or more input / output devices 2110 may provide an interface for device 2100 to communicate with any other suitable device. Input / output devices 2110 may include communication components, audio components, sensor components, etc. A network interface 2112 may provide an interface for device 2100 to communicate via one or more networks. Device 2100 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, such as accessing wireless networks based on communication standards, such as WiFi (Wireless Fidelity), 2G (2-Generation wireless telephone technology), 3G (3-Generation wireless telephone technology), 4G (4-Generation wireless telephone technology), 5G (5-Generation wireless telephone technology), etc., or combinations thereof.

[0290] In one embodiment, at least one of the processors 2102 may be logically packaged with one or more controllers (e.g., memory controller modules) of the control module 2104. In one embodiment, at least one of the processors 2102 may be logically packaged with one or more controllers of the control module 2104 to form a system-in-package. In one embodiment, at least one of the processors 2102 may be integrated with the logic of one or more controllers of the control module 2104 on the same die. In one embodiment, at least one of the processors 2102 may be integrated with the logic of one or more controllers of the control module 2104 on the same die to form a system-on-a-chip.

[0291] In various embodiments, device 2100 may be, but is not limited to, a server, a desktop computing device, or a mobile computing device (e.g., a laptop, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, device 2100 may have more or fewer components and / or a different architecture. For example, in some embodiments, device 2100 includes one or more cameras, a keyboard, a liquid crystal display screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.

[0292] The detection device may use a main control chip as a processor or control module, and sensor data, position information, etc. may be stored in a memory or non-volatile memory / storage device. The sensor group may be used as an input / output device, and the communication interface may include a network interface.

[0293] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0294] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0295] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in one or more blocks of the flowchart illustrations and / or one or more blocks of the block diagrams.

[0296] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more blocks of a block diagram.

[0297] These computer program instructions may also be loaded onto a computer or other programmable data processing terminal equipment to cause a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable terminal equipment, provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of a block diagram.

[0298] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0299] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0300] The above provides a detailed description of a monitoring method and apparatus for an optical network unit, an electronic device, and a machine-readable medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for monitoring an optical network unit, characterized in that, Applied to the server side, the server is coupled with an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration to enable the aggregation switch to transparently transmit Virtual Local Area Network (VLAN) broadcasts between the server and the ONU. The method includes: The system automatically discovers the device serial numbers of ONUs within a preset range, creates monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associates the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs. Based on the collection results corresponding to the monitoring items, determine the performance information corresponding to the monitored ONU; Based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT, the database stores the data records corresponding to the aggregation switch, OLT, device serial number and performance information. Display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number; Based on the user's selection operation on the first selection control, the second selection control, or the third selection control, the corresponding first target data record is searched in the database and displayed. Based on the number of ONUs connected to the OLT, determine the corresponding acquisition mode for the monitoring ONUs connected to the OLT; where the acquisition mode is passive acquisition mode when the number of ONUs is greater than the number threshold, and active acquisition mode when the number of ONUs is not greater than the number threshold. Configure the collection mode of the monitoring item according to the collection mode corresponding to the monitoring ONU; Collect the collection results corresponding to the monitoring items according to the collection mode of the monitoring items; The active data collection refers to the server actively sending a data collection request to the monitoring ONU to obtain the data collection results corresponding to the monitoring items.

2. The method according to claim 1, characterized in that, The data acquisition network communicates according to the Simple Network Management Protocol (SNMP). The automatic discovery of ONU device serial numbers within a preset range, and the creation of monitoring ONUs and monitoring items for the monitored ONUs based on the discovered device serial numbers, including: Create an automatic discovery rule; the automatic discovery rule specifies a first SNMP object identifier corresponding to the device serial number of a preset manufacturer, and the first SNMP object identifier is used to represent the object identifier of the device serial number of the preset manufacturer. For the automatic discovery rule, a first preset action is created to execute the first preset action when the automatic discovery rule discovers a device serial number from a preset manufacturer; the first preset action is specifically: based on the discovered device serial number, create a monitoring ONU and a monitoring item for the monitoring ONU.

3. The method according to claim 1, characterized in that, The monitoring item corresponds to a second SNMP object identifier, which is used to characterize the object identifier corresponding to the preset performance information of the monitoring ONU of the preset manufacturer. The collection results corresponding to the monitoring item include: the value of the second identifier corresponding to the second SNMP object identifier; The step of determining the performance information corresponding to the monitored ONU based on the collection results corresponding to the monitored item includes: Based on the mapping relationship between SNMP object identifier values ​​and their interpretation information, the second identifier value is converted into the performance information corresponding to the monitored ONU.

4. The method according to claim 1, characterized in that, The method further includes: Export the first target data record as the first target data table.

5. The method according to claim 1, characterized in that, The method further includes: Multiple options are available to display performance information; Based on the user's selection of a target option from among the multiple options, the system searches the database for the second target data record corresponding to the target option and displays the second target data record.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Create a trigger rule; the trigger rule specifies the monitoring item and the trigger condition; the trigger condition is specifically: the collection result of the monitoring item meets the preset condition; For the triggering rule, a second preset action is created; the association between the triggering rule and the second preset action is realized so that the second preset action is executed when the collection result of the monitoring item meets the preset conditions; the second preset action is specifically: to send alarm information to a preset user using a preset medium.

7. The method according to any one of claims 1 to 5, characterized in that, The ONU's ports support camera access; The method further includes: Store the mapping between the ONU's port, VLAN address, and the camera's Media Access Control (MAC) address; Collect the first MAC address of the camera connected to the first port; Based on the correspondence, determine whether the first MAC address matches the first port; If the first MAC address does not match the first port, the target VLAN address that matches the first MAC address is obtained from the correspondence, and the VLAN address corresponding to the first port is replaced with the target VLAN address.

8. A monitoring device for an optical network unit, characterized in that, Applied to the server side, the server is coupled with an aggregation switch, an optical line terminal (OLT), and an optical network unit (ONU). The aggregation switch has a transparent transmission configuration to enable the aggregation switch to transparently transmit Virtual Local Area Network (VLAN) broadcasts between the server and the ONU. The device includes: The monitoring item processing module is used to automatically discover the device serial numbers of ONUs within a preset range, create monitoring ONUs and monitoring items for the monitoring ONUs based on the discovered device serial numbers, and associate the monitoring items with the device serial numbers; the monitoring items are used to collect preset performance information of the monitoring ONUs; The performance determination module is used to determine the performance information corresponding to the monitored ONU based on the collection results corresponding to the monitored items. The data recording and storage module is used to store data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database based on the device serial number associated with the monitoring item, the OLT connected to the ONU represented by the device serial number, and the aggregation switch connected to the OLT. The control display module is used to display the first selection control corresponding to the aggregation switch, the second selection control corresponding to the OLT, and the third selection control corresponding to the device serial number; The first filtering module is used to search for the corresponding first target data record in the database based on the user's selection operation on the first selection control, the second selection control, or the third selection control, and to display the first target data record. The acquisition mode determination module is used to determine the acquisition mode corresponding to the monitoring ONU connected to the OLT based on the number of ONUs connected to the OLT. When the number of ONUs is greater than the number threshold, the acquisition mode is passive acquisition mode; when the number of ONUs is not greater than the number threshold, the acquisition mode is active acquisition mode. The data acquisition module configuration module is used to configure the acquisition mode of the monitoring item according to the acquisition mode corresponding to the monitoring ONU; The device is also used for the active collection, which refers to the server actively sending a collection request to the monitoring ONU to obtain the collection results corresponding to the monitoring items.

9. An electronic device, characterized in that, include: processor; and A memory having executable code stored thereon, which, when executed, causes the processor to perform the method as described in any one of claims 1-7.

10. A machine-readable medium having executable code stored thereon, which, when executed, causes a processor to perform the method as claimed in any one of claims 1-7.