Method, device and equipment for monitoring optical network unit and medium
The method and device enhance ONU monitoring efficiency in PON networks by automating serial number discovery and performance information collection across multiple manufacturers, reducing manual login and search efforts, and enabling user-friendly data filtering.
Patent Information
- Application Number
- CN202411162116.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-22
AI Technical Summary
In PON networks with OLTs from multiple manufacturers, monitoring ONUs is inefficient due to the need to log in and search multiple network management systems, which is time-consuming and labor-intensive.
A monitoring method and device that utilize a server coupled with a convergence switch and OLT/ONU, enabling transparent VLAN broadcast, automatic ONU serial number discovery, and performance information collection, with data records saved in a database and user-selectable filtering controls.
This approach improves monitoring efficiency by automating the discovery and collection of performance information across multiple manufacturers, reducing login and search costs, and allowing users to filter data by dimensions such as aggregation switch, OLT, and device serial number.
Smart Images

Figure CN119136087A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to a monitoring method, device, equipment and medium for an optical network unit. Background Art
[0002] PON (passive optical network) technology is widely used in the field of optical fiber access. The PON network specifically includes: OLT (optical line terminal) located at the central office, ONU (optical network unit) located at the user end, and the optical distribution network connecting OLT and ONU. ONU monitoring can understand the network status of the user end in real time, which helps to provide more stable and higher quality network services.
[0003] In the related art, an OLT manufacturer provides a network management system. By logging into the network management system of the OLT manufacturer and finding an OLT in the network management system, performance information of the ONU connected to the OLT can be viewed.
[0004] However, in actual applications, a PON network may contain OLTs from multiple manufacturers. In this case, if you want to meet the monitoring needs of all ONUs in a PON network, you need to log in to the network management systems of multiple manufacturers and find the corresponding OLTs to view the performance information of the ONU. The operations of logging in and finding the network management systems of multiple manufacturers are time-consuming and labor-intensive, which affects the monitoring efficiency of the ONU. Summary of the invention
[0005] The embodiment of the present application provides a monitoring method for an optical network unit, which can improve the monitoring efficiency of the ONU.
[0006] Correspondingly, an embodiment of the present application also provides 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 method.
[0007] In order to solve the above problems, the embodiment of the present application discloses a monitoring method of an optical network unit, which is applied to a server, wherein the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, and the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits a virtual local area network VLAN broadcast between the server and the ONU; the method comprises:
[0008] Building a data collection network; the data collection network includes: a server, a convergence switch, an optical line terminal OLT and an optical network unit ONU; transparently configuring the convergence switch so that the convergence switch transparently transmits virtual local area network VLAN broadcasts between the server and the ONU;
[0009] Automatically discover the device serial number of the ONU within a preset range, create a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associate the monitoring item with the device serial number; the monitoring item is used to collect preset performance information of the monitoring ONU;
[0010] Determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items;
[0011] According to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, data records corresponding to the aggregation switch, the OLT, the device serial number, and the performance information are saved in the database;
[0012] Display a first selection control corresponding to the aggregation switch, display a second selection control corresponding to the OLT, and display a third selection control corresponding to the device serial number;
[0013] According to 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 the first target data record is displayed.
[0014] The embodiment of the present application also discloses a monitoring device for an optical network unit, the device is applied to a server, the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits a virtual local area network VLAN broadcast between the server and the ONU; the device comprises:
[0015] A monitoring item processing module is used to automatically discover the device serial number of the ONU within a preset range, create a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associate the monitoring item with the device serial number; the monitoring item is used to collect preset performance information of the monitoring ONU;
[0016] A performance determination module is used to determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items;
[0017] A data record saving module is used to save data records corresponding to the aggregation switch, OLT, device serial number and performance information in a database according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected;
[0018] A control display module, used to 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;
[0019] The first filtering module is used to search for the corresponding first target data record in the database according to the user's selection operation on the first selection control, the second selection control, or the third selection control, and display the first target data record.
[0020] Optionally, the data collection network communicates according to the Simple Network Management Protocol SNMP;
[0021] The monitoring item processing module includes:
[0022] An automatic discovery rule creation module, used to create an automatic discovery rule; the automatic discovery rule specifies a first SNMP object identifier corresponding to a device serial number of a preset manufacturer, the first SNMP object identifier being used to represent an 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 equipment serial number of the preset manufacturer; the first preset action is specifically: creating a monitoring ONU and a monitoring item for the monitoring ONU according to the discovered equipment serial number.
[0024] Optionally, the monitoring item corresponds to a second SNMP object identifier, and the second SNMP object identifier is used to represent an object identifier corresponding to preset performance information of the monitoring ONU of a preset manufacturer;
[0025] The collection result corresponding to the monitoring item includes: a second identifier value corresponding to the second SNMP object identifier;
[0026] The performance determination module comprises:
[0027] The conversion module is used to convert the second identifier value into performance information corresponding to the monitored ONU according to the mapping relationship between the SNMP object identifier value and the interpretation information.
[0028] Optionally, the device further comprises:
[0029] The export module is used to export the first target data record into a first target data table.
[0030] Optionally, the device further comprises:
[0031] Performance option display module, used to display various options corresponding to performance information;
[0032] The second screening module is used to search the database for a second target data record corresponding to a target option among the multiple options according to a selection operation of the user on the target option, and to display the second target data record.
[0033] Optionally, the device further comprises:
[0034] A trigger rule creation module is used to 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;
[0035] The second action creation module is used to create a second preset action for the trigger rule; to realize the association between the trigger 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: using a preset medium to send an alarm message to a preset user.
[0036] Optionally, the port of the ONU supports the access of a camera;
[0037] The device also includes:
[0038] A storage module is used to store the correspondence between the port of the ONU, the virtual local area network VLAN address and the media access control MAC address of the camera;
[0039] A MAC acquisition module, used to acquire a first MAC address of a camera connected to the first port;
[0040] A judging module, configured to judge whether the first MAC address matches the first port according to the corresponding relationship;
[0041] The error correction module is used to obtain a target VLAN address matching the first MAC address from the corresponding relationship 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 comprises:
[0043] The collection mode determination module is used to determine the collection mode corresponding to the monitoring ONU connected to the OLT according to the number of ONUs connected to the OLT; wherein, when the number of ONUs is greater than the 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;
[0044] The 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 collection module is used to collect the collection results corresponding to the monitoring items according to the collection mode of the monitoring items.
[0046] The embodiment of the present application further discloses an electronic device, including: a processor; and a memory, on which executable code is stored. When the executable code is executed, the processor executes the method described in the embodiment of the present application.
[0047] The embodiment of the present application further discloses a machine-readable medium on which executable code is stored. When the executable code is executed, a processor executes the method described in the embodiment of the present application.
[0048] The embodiments of the present application include the following advantages:
[0049] In the technical solution of the embodiment of the present application, in the constructed data acquisition network, the aggregation switch transparently transmits the virtual local area network VLAN broadcast between the server and the ONU, so that the server can collect the preset performance information of the ONU via VLAN broadcast, and provide network link support for data transmission during the monitoring process of the ONU.
[0050] Secondly, the server of the embodiment of the present application automatically discovers the SN (device serial number, Serial Number) of the ONU within a preset range. The automatic discovery of the SN of the ONU can be applied to any ONU of any manufacturer. In this way, the embodiment of the present application can utilize the automatic discovery of the SN of the ONU to realize the monitoring of ONUs of multiple manufacturers, thereby saving the login and search costs of the network management systems of multiple manufacturers, and thus can improve the monitoring efficiency of the ONU.
[0051] In addition, the embodiment of the present application creates a monitoring ONU and monitoring items for monitoring the ONU according to the discovered device serial number, and associates the above monitoring items with the device serial number, thereby realizing automatic collection of collection results corresponding to the monitoring items.
[0052] Furthermore, the embodiment of the present application determines the performance information corresponding to the monitored ONU according to the collection results corresponding to the above-mentioned monitoring items; according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, the data records corresponding to the aggregation switch, OLT, device serial number and performance information are saved in the database; and selection controls for dimensions such as the aggregation switch, OLT, and device serial number in the data record are provided. In this way, the embodiment of the present application can support users to screen and filter the performance information of the ONU based on dimensions such as the aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of the ONU. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic flow chart of the steps of a method for monitoring an optical network unit according to an embodiment of the present application;
[0054] Figure 2 It is a structural diagram of a data acquisition network according to an embodiment of the present application;
[0055] Figure 3 is a schematic diagram of a monitoring interface of an optical network unit according to an embodiment of the present application;
[0056] Figure 4 It is a structural schematic diagram of a monitoring device of an optical network unit according to an embodiment of the present application;
[0057] Figure 5 It is a schematic diagram of the structure of a device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0059] The monitoring method of the optical network unit of the embodiment of the present application can be used in a PON network to understand the network status of the user end in real time, thereby helping to provide more stable and higher quality network services.
[0060] In the related art, an OLT manufacturer provides a network management system. By logging into the network management system of the OLT manufacturer and finding an OLT in the network management system, performance information of the ONU connected to the OLT can be viewed.
[0061] However, in actual applications, a PON network may contain OLTs from multiple manufacturers. In this case, if you want to meet the monitoring needs of all ONUs in a PON network, you need to log in to the network management systems of multiple manufacturers and find the corresponding OLTs to view the performance information of the ONU. The operations of logging in and finding the network management systems of multiple manufacturers are time-consuming and labor-intensive, which affects the monitoring efficiency of the ONU.
[0062] In view of the technical problem of low monitoring efficiency of an optical network unit in the related art, an embodiment of the present application provides a monitoring method for an optical network unit, which is applied to a server, wherein the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, and the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits a VLAN (Virtual Local Area Network) broadcast between the server and the ONU; the method may specifically include the following steps:
[0063] Automatically discover the device serial number of the ONU within a preset range, create monitoring ONU and monitoring items for monitoring ONU according to the discovered device serial number, and associate the above monitoring items with the device serial number; the above monitoring items are used to collect preset performance information of the monitoring ONU;
[0064] According to the collection results corresponding to the above monitoring items, determine the performance information corresponding to the monitored ONU;
[0065] According to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, data records corresponding to the aggregation switch, the OLT, the device serial number, and the performance information are saved in the database;
[0066] Display a first selection control corresponding to the aggregation switch, display a second selection control corresponding to the OLT, and display a third selection control corresponding to the device serial number;
[0067] According to 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 the first target data record is displayed.
[0068] First, in the data acquisition network constructed in the embodiment of the present application, the aggregation switch transparently transmits the virtual local area network 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 of the embodiment of the present application automatically discovers the SN (device serial number, Serial Number) of the ONU within a preset range. The automatic discovery of the SN of the ONU can be applied to any ONU of any manufacturer. In this way, the embodiment of the present application can utilize the automatic discovery of the SN of the ONU to realize the monitoring of ONUs of multiple manufacturers, thereby saving the login and search costs of the network management systems of multiple manufacturers, and thus can improve the monitoring efficiency of the ONU.
[0070] In addition, the embodiment of the present application creates a monitoring ONU and monitoring items for monitoring the ONU according to the discovered device serial number, and associates the above monitoring items with the device serial number, thereby realizing automatic collection of collection results corresponding to the monitoring items.
[0071] Furthermore, the embodiment of the present application determines the performance information corresponding to the monitored ONU according to the collection results corresponding to the above-mentioned monitoring items; according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, the data records corresponding to the aggregation switch, OLT, device serial number and performance information are saved in the database; and selection controls for dimensions such as the aggregation switch, OLT, and device serial number in the data record are provided. In this way, the embodiment of the present application can support users to screen and filter the performance information of the ONU based on dimensions such as the aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of the ONU.
[0072] For example, the user selects a target aggregation switch to be viewed based on the first selection control, and performance information of all ONUs under the target aggregation switch can be provided to the user.
[0073] For another example, the user selects a target OLT to be viewed based on the second selection control, and the performance information of all ONUs under the target OLT can be provided to the user.
[0074] For another example, the user selects a target SN to be viewed based on the third selection control, and performance information of a specific ONU corresponding to the target SN may be provided to the user.
[0075] Method Example 1
[0076] refer to Figure 1 , shows a schematic flow chart of the steps of a monitoring method for an optical network unit according to an embodiment of the present application, the method is applied to a server, the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits VLAN broadcasts between the server and the ONU, the method may specifically include the following steps:
[0077] Step 101, automatically discovering the device serial number of the ONU within a preset range, creating a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associating the above monitoring item with the device serial number; the above monitoring item is used to collect preset performance information of the monitoring ONU;
[0078] Step 102: Determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the above monitoring items;
[0079] Step 103: according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, data records corresponding to the aggregation switch, the OLT, the device serial number, and the performance information are saved in the database;
[0080] Step 104: display a first selection control corresponding to the aggregation switch, display a second selection control corresponding to the OLT, and display a third selection control corresponding to the device serial number;
[0081] Step 105: according to 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 the first target data record is displayed.
[0082] Figure 1 At least one step included in 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 of the embodiment of the present application, and save the data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database, supporting users to screen and filter the performance information from multiple dimensions.
[0083] In the embodiment of the present application, the server is coupled with the convergence switch, the optical line terminal OLT and the optical network unit ONU to form a data collection network. The data collection network can be used to collect preset performance information of the ONU.
[0084] Reference Figure 2 , shows a schematic diagram of the structure of a data acquisition network of an embodiment of the present application, and the data acquisition network specifically includes: a service end, a convergence switch 202, an optical line terminal 203 and an optical network unit 204.
[0085] The server 201 is the core of the data collection network and is responsible for managing the entire data collection network.
[0086] The server 201 can communicate with the aggregation switch 204 through network protocols such as SNMP (Simple Network Management Protocol) and HTTP (HyperText Transfer Protocol) to collect and process the preset performance information of the ONU.
[0087] The aggregation switch 202 is a key device of the network and is responsible for connecting devices at different network levels. In the data collection network, the aggregation switch 202 is responsible for transparently transmitting VLAN broadcasts between the service end 201 and the optical line terminal 203.
[0088] In practical applications, the aggregation switch 202 may be multi-layered. For example, if city A includes multiple counties, the three-layer switch 202 may include: a first aggregation switch for city A and second aggregation switches corresponding to the multiple counties. It is understood that the embodiment of the present application does not limit the specific level of the aggregation switch and the number of three-layer aggregation switches included in each level.
[0089] In a specific implementation, the server 201 can be connected to the aggregation switch 202 based on a switch. In addition, one aggregation switch 202 can be connected to multiple optical line terminals 203. Of course, the embodiment of the present application does not limit the specific number of optical line terminals 203 connected to one aggregation switch 202.
[0090] The optical line terminal 203 is a central device of the optical fiber access network, responsible for managing multiple optical network units 204. It is connected to the optical network unit 204 through optical fiber to provide high-speed optical fiber access service.
[0091] The optical network unit 204 is a user-side device used to provide optical fiber access services.
[0092] The process of transparently configuring the above-mentioned aggregation switch in the embodiment of the present application specifically includes: configuring the port mode of the aggregation switch to a Trunk (aggregation) port; and configuring the VLAN to which the Trunk port joins.
[0093] In the embodiments of the present application, VLAN is a communication technology that logically divides a physical local area network into multiple broadcast domains. Hosts within a VLAN can communicate directly, but hosts in different VLANs cannot communicate directly with each other, thereby isolating broadcast domains. A VLAN identifier may refer to an identifier of a virtual local area network, which is used to distinguish different VLANs.
[0094] Trunk means port aggregation, which means that by configuring the software, two or more physical ports are combined into a logical path to increase the bandwidth between the aggregation switch and the network node, and the bandwidth of these ports is merged to provide the port with an exclusive high bandwidth several times that of an independent port. Trunk is an encapsulation technology, which is a point-to-point link. Both ends of the link can be aggregation switches, aggregation switches and routers, or hosts and aggregation switches or routers. Based on the port aggregation function, aggregation switches and aggregation switches, aggregation switches and routers, and hosts and aggregation switches or routers are allowed to transmit simultaneously through two or more ports in parallel.
[0095] Since the Trunk port can forward data packets with VLAN tags, the data of the optical network unit 204 can reach the service end 201 via the aggregation switch 202 .
[0096] In the embodiment of the present application, the VLAN to which the Trunk port joins may be configured, and the VLAN ID to which the Trunk port joins may be configured. The VLAN ID to which the Trunk port joins may be a numerical range, such as 2 to 4094.
[0097] In step 101, a monitoring tool supporting a network discovery protocol may be used to scan a preset IP (Internet Protocol) address range to discover ONUs in the network. Commonly used network discovery protocols specifically include SNMP, LLDP (Link Layer Discovery Protocol), CDP (Cisco Discovery Protocol), etc.
[0098] For example, monitoring tools that support network discovery protocols may include: Zabbix. Zabbix is an enterprise-level open source solution that provides distributed system monitoring and network monitoring functions based on a WEB (World Wide Web) interface. Zabbix can monitor various network parameters to ensure the safe operation of the server system; and provide a flexible notification mechanism to allow system administrators to quickly locate / solve various existing problems. Zabbix specifically includes: a Zabbix server and an optional Zabbix agent. The Zabbix server can provide monitoring, data collection and other functions for remote devices (ONUs in the embodiments of the present application) through SNMP, Zabbix agents, port monitoring and other methods, and it can run on operating systems such as Linux.
[0099] The preset IP address range can be determined by those skilled in the art according to actual application requirements. For example, if you want to monitor ONUs in multiple counties in City A, you can determine the IP address range of each county based on the network planning of City A. The combination of IP address ranges of 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. The serial number usually contains a combination of letters and numbers and is used to track the production, sales and warranty information of the product.
[0101] In one implementation of the present application, the data collection network communicates according to the Simple Network Management Protocol SNMP;
[0102] Then step 101 automatically discovers the device serial number of the ONU within a preset range, and creates a process of monitoring the ONU and monitoring items of the ONU according to the discovered device serial number, specifically including:
[0103] Step A1, creating an automatic discovery rule; the automatic discovery rule specifies a first SNMP object identifier corresponding to a device serial number of a preset manufacturer, and the first SNMP object identifier is used to represent an 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 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 monitoring items for monitoring ONU according to the discovered device serial number.
[0105] In actual applications, the configuration function of monitoring tools such as Zabbix can be used to execute steps A1 to A3. The configuration function of step A1 is specifically: rule configuration function. The configuration function of step A2 is specifically: action configuration function. Since step A2 creates a first preset action for the automatic discovery rule, the association between the automatic discovery rule and the first preset action can be achieved. In a specific implementation, the configuration interface of the first preset action can include the name of the automatic discovery rule, so that the association between the automatic discovery rule and the first preset action can be achieved.
[0106] Therefore, the embodiment of the present application executes the first preset action corresponding to the automatic discovery rule according to the automatic discovery rule; wherein the automatic discovery rule specifies the first SNMP object identifier corresponding to the equipment serial number of the preset manufacturer, and the first SNMP object identifier is used to represent the object identifier of the equipment serial number of the preset manufacturer; the first preset action indicates to create a monitoring ONU and a monitoring item of the monitoring ONU according to the discovered equipment serial number.
[0107] The number of preset manufacturers may be one or more. The embodiment of the present application does not limit the specific number of preset manufacturers.
[0108] SNMPOID (Object Identifier) is a value defined in a specific MIB (Management Information Base) model to define a specific SNMP target in the MIB database. SNMPOID is a delimited sequence of numbers consisting of abc..xyz cycles. It is a unique identifier for an item of information and is part of a MIB. The SNMP protocol groups various parameters of the device in a tree structure. Starting from the root of the tree, each hierarchical node will have a code. These hierarchical codes are separated by "." and the resulting string of codes is called OID. The parameters represented by the OID can be operated through the OID. The items monitored by SNMP (monitoring items) are OIDs one by one.
[0109] The Management Information Base is one of the contents of the TCP / IP (Transmission Control Protocol / Internet Protocol) network management protocol standard framework. MIB defines the data items that must be saved by managed devices, the operations allowed for each data item and its meaning. That is, data variables such as control and status information of managed devices accessible to the management system are all stored in the MIB.
[0110] The first SNMP object identifier is used to represent the object identifier of the device serial number of the preset manufacturer, and different preset manufacturers may correspond to different first SNMP object identifiers. In practical applications, the first SNMP object identifier may be queried in the MIB of the preset manufacturer.
[0111] After the automatic discovery rule configuration is completed, monitoring tools such as Zabbix will regularly perform the following steps according to the set update interval: Use the SNMP protocol to scan the predefined IP address range; 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 serial number of the device; determine whether the obtained serial number already exists in the serial number set. If not, it is considered that a new device is discovered and the obtained serial number is saved in the serial number set. The SNMP request here can be a device serial number acquisition request.
[0112] The embodiment of the present application can associate the automatic discovery rule with the first preset action, so that when the automatic discovery rule discovers the equipment serial number of the preset manufacturer, the first preset action is executed; the first preset action is specifically: according to the discovered equipment serial number, create a monitoring ONU and monitoring items for the monitoring ONU.
[0113] In practical applications, the above monitoring item may correspond to a second SNMP object identifier, where the second SNMP object identifier is used to represent an object identifier corresponding to preset performance information of the monitored ONU of a preset manufacturer.
[0114] In a specific implementation, the preset performance information may include: operating status, offline reason, received optical power, uplink bandwidth usage, downlink bandwidth usage, CPU usage, memory usage, etc. It is understood that those skilled in the art may adopt various preset performance information according to actual application requirements, and the embodiments of the present application do not limit the specific preset performance information.
[0115] It should be noted that, in addition to being used to collect preset performance information of the monitoring ONU, the monitoring items of the embodiment of the present application can also be used to collect the relevant time of the preset performance information of the monitoring 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 the monitoring items of the embodiment of the present application can be used to collect OLT information of the monitoring OLT corresponding to the monitoring ONU in addition to the preset performance information of the monitoring ONU. Examples of OLT information may include: information such as the interface utilization of the OLT. The interface utilization reflects the data transmission efficiency and load of the OLT interface, which is crucial to ensuring network performance and planning network expansion.
[0117] Different preset performance information may correspond to different second SNMP object identifiers. In practical applications, the second SNMP object identifier may be queried in the MIB of the preset manufacturer.
[0118] In the above case, the collection result corresponding to the monitoring item specifically includes: a second identifier value corresponding to the second SNMP object identifier; the second identifier value may be a value corresponding to a certain preset performance information represented by the second SNMP object identifier. Taking the second SNMP object identifier representing the received optical power as an example, the second identifier may be the value of the received optical power.
[0119] In step 102, the process of determining the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items specifically includes: converting the second identifier value into the performance information corresponding to the monitored ONU according to the mapping relationship between the SNMP object identifier value and the interpretation information.
[0120] Taking the preset performance information as the running state as an example, referring to Table 1, an example of the mapping relationship between the SNMP object identifier value and the interpretation information is shown. Among them, the mapping relationship between the SNMP object identifier value and the interpretation information can be provided by the MIB. In an example, the interpretation information in the mapping relationship between the SNMP object identifier value and the interpretation information in the MIB can be in English, and the embodiment of the present application can use machine translation technology to convert the interpretation information in English into the interpretation information in Chinese.
[0121] Table 1
[0122] SNMP object identifier value Interpretation information 1 Distance measurement 2 Optical signal loss 3 Synchronize Data 4 Online 5 Power outage 6 Authentication failed 7 Offline
[0123] In an optional embodiment of the present application, the method may further include: determining, according to the number of ONUs connected to the OLT, a collection mode corresponding to the monitoring ONU connected to the OLT; wherein, when the number of ONUs is greater than the 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] According to the acquisition mode corresponding to the monitoring ONU, the acquisition mode of the monitoring item is configured;
[0125] According to the collection mode of the monitoring item, the collection results corresponding to the monitoring item are collected.
[0126] Among them, active collection means that the server actively sends a collection request to the monitoring ONU to obtain the collection results corresponding to the monitoring items. Passive collection means that the server does not actively send a collection request, but waits for the monitoring ONU to actively report the collection results corresponding to the monitoring items.
[0127] In the embodiment of the present application, when the number of ONUs is greater than the number threshold, a passive collection mode is adopted. Since passive collection does not require the server to actively send a request, but obtains data by monitoring network traffic, the consumption of network bandwidth and device resources of the server is small. In addition, in order to reduce the network process of the server, the time interval of passive collection can be between 5 seconds and 10 seconds.
[0128] In the embodiment of the present application, when the number of ONUs is not greater than the number threshold, the active collection mode is adopted. The server can control the time interval of active collection and adjust the collection strategy as needed to adapt to different network conditions and requirements. For example, the time interval of active collection can be about 1 second.
[0129] In summary, the embodiment of the present application determines the acquisition mode corresponding to the monitoring ONU connected to the OLT according to the number of ONUs connected to the OLT. Since different ONU numbers can correspond to different acquisition modes, the embodiment of the present application can reasonably utilize bandwidth and reduce the CPU and memory overhead of the server.
[0130] In step 103, the embodiment of the present application can save data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch connected to the OLT.
[0131] Assuming that a performance data table is used to save data records corresponding to the aggregation switch, OLT, device serial number and performance information, refer to Table 2, which shows an example of a performance data table of an embodiment of the present application. It should be noted that a performance data table may contain one or more performance information. Table 2 shows the performance information of the operating status. The above data records specifically include four fields: aggregation switch, OLT, device serial number and performance information. Among them, the field content of the aggregation switch field can be the number string of the aggregation switch to which the monitoring NOU belongs, the field content of the OLT field can be the 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 interpretation information corresponding to the operating status of the monitoring NOU.
[0132] In actual applications, one aggregation switch usually corresponds to multiple OLTs, and one OLT usually corresponds to multiple device serial numbers. The operating state corresponding to a device serial number at a certain time is unique.
[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 the above data record may include other fields such as relevant time in addition to the four fields including aggregation switch, OLT, device serial number and performance information.
[0136] It should be noted that the embodiment of the present application can perform steps 101 to 103 with the help of monitoring tools such as Zabbix that support the network discovery protocol. The monitoring tool can not only automatically discover the monitoring ONUs within the preset range and belonging to multiple preset manufacturers, but also automatically create monitoring items for monitoring ONUs, and automatically determine the collection results of the monitoring items, and determine the performance information corresponding to the collection results; the performance information and related fields can also be saved to the database.
[0137] Step 104 and step 105 may be performed by a visualization tool. Examples of visualization tools may include Grafana, Kibana, and the like.
[0138] Among them, Grafana is an open source data visualization tool that can help users display data in data sources graphically and monitor them in real time, so that users can understand the data more intuitively. Grafana supports a variety of data sources, including databases, and also supports a variety of display methods, such as charts, dashboards, maps, calendars, etc.
[0139] In step 104, the embodiment of the present application may display a first selection control corresponding to the aggregation switch, display a second selection control corresponding to the OLT, and display a third selection control corresponding to the device serial number.
[0140] In actual applications, the first selection control may be a radio button or a check box. For example, the first selection control may be a first radio button corresponding to "all aggregation switches". Selecting the first radio button may select all aggregation switches. The first selection control may also be a second radio button corresponding to "a single aggregation switch". Selecting the second radio button may select a single aggregation switch.
[0141] Similarly, the second selection control may be a radio button or a check box. For example, the second selection control may be a third radio button corresponding to "all OLTs". By selecting the third radio button, all OLTs or all OLTs corresponding to "single aggregation switch" may be selected. The second selection control may also be a fourth radio button corresponding to "single OLT". By selecting the fourth radio button, "single OLT" may be selected.
[0142] Similarly, the third selection control may be a radio button or a check box. For example, the third selection control may be the fifth radio button corresponding to "all SNs". Selecting the fifth radio button may select all SNs. The third selection control may also be the sixth radio button corresponding to "single SN". Selecting the sixth radio button may select "single SN".
[0143] In step 105, the embodiment of the present application can search for the corresponding first target data record in the database according to the user's selection operation on the first selection control, the second selection control, or the third selection control, and display the first target data record.
[0144] Reference Figure 3, shows a schematic diagram of a monitoring interface of an optical network unit according to an embodiment of the present 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 the performance information of the operating status.
[0145] The first selection control in the aggregation switch area 301 specifically includes a first radio button 311 corresponding to "all aggregation switches" and a second radio button 312 corresponding to "single aggregation switch". If the first radio button 311 is selected, all aggregation switches can be selected. If the second radio button 312 is selected, "single aggregation switch" can be selected.
[0146] The second selection control in the OLT area 302 specifically includes a third radio button 321 corresponding to "all OLTs" and a fourth radio button 322 corresponding to "single OLT". If the third radio button 321 is selected, all OLTs or all OLTs corresponding to "single aggregation switch" can be selected. If the fourth radio button 322 is selected, "single OLT" can be selected.
[0147] The third selection control in the SN area 303 specifically includes a fifth radio button 331 corresponding to "all SNs" and a sixth radio button 332 corresponding to "single SN". If the fifth radio button 331 is selected, all SNs or all SNs corresponding to a single OLT can be selected. If the sixth radio button 332 is selected, "single SN" can be selected.
[0148] The performance information area 304 may be used to display the operating status of the selected SN.
[0149] Figure 3 In the example, assuming that the user selects the second radio button 312 corresponding to the aggregation switch A, multiple target OLTs corresponding to the aggregation switch A are all selected. Then, the embodiment of the present application can query multiple first target data records corresponding to the aggregation switch A in the database.
[0150] Assuming that the first target data record contains all the fields of the performance data table, multiple first target data records corresponding to the aggregation switch A are queried in the performance data table of the database. The corresponding query statement may be:
[0151] SELECT *
[0152] FROM table_name
[0153] WHERE field_name = 'aggregation switch A'
[0154] table_name is the name of the performance data table, and field_name is the field name of the aggregation switch.
[0155] Assuming that the first target data record includes the target field of the performance data table, multiple first target data records corresponding to the aggregation switch A are queried in the performance data table of the database. The corresponding query statement may be:
[0156] SELECT column1,column2,column3
[0157] FROM table_name
[0158] WHERE field_name = 'aggregation switch A'
[0159] Among them, table_name is the name of the performance data table, field_name is the field name of the aggregation switch, column1, column2, and column3 are the names of the target fields.
[0160] In an optional embodiment of the present application, the method may further include: exporting the first target data record as a first target data table. For example, the user may analyze the performance information of the aggregation switch A based on the exported first target data table to improve the accuracy of ONU monitoring.
[0161] In another optional embodiment of the present application, the above method may also include: displaying multiple options corresponding to the performance information; based on the user's selection operation on a target option among the multiple options, searching the database for a second target data record corresponding to the target option, and displaying the second target data record.
[0162] In practical applications, a variety of options corresponding to performance information can be provided by means of drop-down options. The embodiment of the present application can provide a variety of drop-down options for users to choose from. The various drop-down options can correspond to specific field contents corresponding to certain performance information. For example, if the operating status in Table 1 corresponds to 8 kinds of interpretation information, the operating status can correspond to 8 kinds of drop-down options. The user can select a target option from the 8 drop-down options. Assuming that the target option corresponds to "offline", the embodiment of the present application can search the database for the second target data record corresponding to the target option and display the second target data record. In this way, the ONU information where the specific performance information corresponding to the target option is located can be presented to the user.
[0163] The embodiment of the present application can also export the second target data record as a second target data table. For example, the user can analyze all "offline" ONUs based on the second target data table corresponding to "offline" to accurately determine the offline reason.
[0164] In another optional embodiment of the present application, the above method may further include:
[0165] Step B1, 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;
[0166] Step B2: Create a second preset action for the trigger rule; implement the association between the trigger rule and the second preset action so that when the collection result of the monitoring item meets the preset conditions, the second preset action is executed; the second preset action is specifically: using a preset medium to send an alarm message to a preset user.
[0167] The trigger rules of the embodiment of the present application can be used to detect monitoring items and trigger conditions, and when the trigger conditions are met, an alarm message is sent to a preset user using a preset medium.
[0168] Therefore, the embodiment of the present application executes the second preset action corresponding to the trigger rule according to the trigger rule; wherein 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; the second preset action uses the preset medium to send an alarm message to the preset user.
[0169] The above alarm processing based on trigger rules has the following advantages:
[0170] Real-time monitoring: By creating trigger rules, you can monitor the performance information of the ONU in real time. Once the collection results of the monitoring items meet the preset conditions (such as the ONU's operating status is offline), the server can immediately detect the anomaly or problem.
[0171] Quick response: Alarm information is quickly sent to preset users through preset media (such as email, SMS, instant messaging tools, etc.), ensuring that preset users can understand the problem and take action in time.
[0172] Automated processing: Automated processing of alarm mechanisms 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 the alarm, selecting different preset media, etc.
[0174] Centralized management: Through monitoring tools such as Zabbix, the monitoring and alarm of multiple ONUs can be centrally managed, simplifying the complexity of network management and maintenance.
[0175] Historical data analysis: Alarm information and monitoring data can be recorded and stored for subsequent analysis and troubleshooting, helping to optimize network performance and prevent future problems.
[0176] Improve network reliability: By promptly identifying and resolving potential problems, the alarm mechanism helps improve the reliability and stability of the PON network and reduce the risk of service interruptions.
[0177] Cost-effectiveness: Automated alerting reduces the cost of manual monitoring and can potentially reduce business losses due to network failures by preventing and responding quickly to problems.
[0178] In one example, the collection result of the monitoring item is the operating status of the ONU. When the operating status of the ONU is offline, a first alarm message can be issued to timely check the fault and dispatch a repair order.
[0179] In another example, the collection result of the monitoring item is the interface utilization of the OLT. When the interface utilization of the OLT exceeds the utilization threshold, a second alarm message can be issued. When the second alarm message is received, a preset process can be performed. The preset process can include: implementing load balancing between multiple interfaces of the OLT, distributing traffic to different interfaces to improve overall network performance. The preset process can also include: upgrading the interface to a higher speed interface (such as upgrading from GE to 10GE) to increase bandwidth capacity. Among them, GE means (Gigabit Ethernet).
[0180] In an optional embodiment of the present application, the port of the ONU supports access to a camera;
[0181] The above method may further include:
[0182] Step C1, saving the correspondence between the ONU port, the virtual local area network VLAN address and the camera MAC (Media Access Control) address;
[0183] Step C2, collecting the first MAC address of the camera connected to the first port;
[0184] Step C3: judging whether the first MAC address matches the first port according to the corresponding relationship;
[0185] Step C4: When the first MAC address does not match the first port, a target VLAN address matching the first MAC address is obtained from the corresponding relationship, and the target VLAN address is used to replace the VLAN address corresponding to the first port.
[0186] As mentioned above, the embodiments of the present application can be compatible with ONUs of different manufacturers. Moreover, since the ports of the ONUs of the embodiments of the present application can support the access of cameras, the embodiments of the present application can also be compatible with cameras of different manufacturers. Among them, different ports can correspond to cameras of different manufacturers, so isolation between cameras of different manufacturers can be achieved.
[0187] In step C1, the mapping relationship between the port of the ONU, the VLAN address, and the MAC address of the camera connected to the port can be recorded based on the configuration. This mapping relationship is usually stored in a database or configuration file for quick query and update. The above configuration file can be a 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 by using the GETNEXT (get next) and GET (get) requests of SNMP. The first port can represent any port to which the camera is actually connected.
[0189] In step C3, it can be determined whether the first port and the first MAC address exist in the above correspondence, if so, 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] In the case where the first MAC address does not match the first port, it can be considered that the camera is connected incorrectly. The embodiment of the present application can detect the camera connection error problem in a timely manner based on the matching of the first MAC address and the first port.
[0191] Furthermore, when the first MAC address does not match the first port, a target VLAN address matching the first MAC address is obtained from the corresponding relationship, and the target VLAN address is used to replace the VLAN address corresponding to the first port. In this way, the embodiment of the present application can realize timely correction of camera access errors.
[0192] Referring to Table 3, an example of the correspondence between the port of the ONU, the VLAN address and the MAC address of the camera according to an embodiment of the present application is shown.
[0193] Table 3
[0194] ONU Ports VLAN Address The MAC address of the camera Port 1 VLAN1 MAC1 Port 2 VLAN2 MAC2 Port 3 VLAN3 MAC3 Port 4 VLAN4 MAC4
[0195] In one example, assuming that the first port is port 1, and assuming that the on-site construction personnel access the camera at port 1 that should be accessed at port 4, then the MAC of the camera accessed at port 1 is specifically: MAC4. Based on the corresponding relationship, the embodiment of the present application obtains the judgment result that port 1 and MAC4 do not match, so the camera access error problem can be detected in time.
[0196] Furthermore, the embodiment of the present application can also obtain the target VLAN address matching MAC4 from the corresponding relationship: VLAN4, and use VLAN4 to replace VLAN1 corresponding to the first port. The corresponding relationship after replacement is specifically: port 1-VLAN4-MAC4. Therefore, the embodiment of the present application can realize the timely correction of the camera access error and save the cost of on-site manual error correction.
[0197] In summary, in the data acquisition network established by the monitoring method of the optical network unit of the embodiment of the present application, the aggregation switch transparently transmits the virtual local area network VLAN broadcast between the server and the ONU, so that the server can collect the preset performance information of the ONU via VLAN broadcast, and provide network link support for data transmission during the monitoring process of the ONU.
[0198] Secondly, the server of the embodiment of the present application automatically discovers the SN (device serial number, Serial Number) of the ONU within a preset range. The automatic discovery of the SN of the ONU can be applied to any ONU of any manufacturer. In this way, the embodiment of the present application can utilize the automatic discovery of the SN of the ONU to realize the monitoring of ONUs of multiple manufacturers, thereby saving the login and search costs of the network management systems of multiple manufacturers, and thus can improve the monitoring efficiency of the ONU.
[0199] In addition, the embodiment of the present application creates a monitoring ONU and monitoring items for monitoring the ONU according to the discovered device serial number, and associates the above monitoring items with the device serial number, thereby realizing automatic collection of collection results corresponding to the monitoring items.
[0200] Furthermore, the embodiment of the present application determines the performance information corresponding to the monitored ONU according to the collection results corresponding to the above-mentioned monitoring items; according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, the data records corresponding to the aggregation switch, OLT, device serial number and performance information are saved in the database; and selection controls for dimensions such as the aggregation switch, OLT, and device serial number in the data record are provided. In this way, the embodiment of the present application can support users to screen and filter the performance information of the ONU based on dimensions such as the aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of the ONU.
[0201] Method Example 2
[0202] The embodiments of the present application can be applied to the monitoring project of Skynet cameras. 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 by means of IP address interconnection and VLAN transparent transmission. Zabbix, Grafana, database and other software are installed on the server. The technical architecture of Zabbix+Grafana is used to collect the collection results of monitoring items, and the performance information corresponding to the collection results is displayed through charts.
[0203] Skynet cameras are security monitoring devices that are mainly used for monitoring and security prevention in public places, traffic roads, commercial areas, etc. Through high-definition cameras and high-performance image processing technology, Skynet cameras can capture and record various activities in the scene in real time, providing criminal clues and evidence to the police, while improving public safety.
[0204] The embodiment of the present application can improve the online rate of Skynet cameras. The online rate of a camera refers to the proportion of time that the camera can work normally and transmit video signals within a certain period of time.
[0205] In the embodiment of the present application, the processing process on the Zabbix side specifically includes:
[0206] Step D1: Log in to the Zabbix tool, add the server-side alarm trigger in Configuration-Template, and set the upper and lower limits and levels;
[0207] Step D1 can bind the server with the alarm template. If the server has high CPU / memory utilization, slow disk read and write, etc. and triggers the alarm mechanism, the alarm and level will be displayed.
[0208] Step D2: View the monitoring dashboard;
[0209] Step D2 can check whether the server has triggered an alarm mechanism, such as whether the disk read and write is slow, whether the memory utilization is too high, etc.
[0210] Step D3: View configuration-monitoring items;
[0211] This step can check whether the collected OLT or ONU is online.
[0212] In the embodiment of the present application, the processing process 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 to be viewed;
[0215] This step is used to filter the aggregation switch to which the OLT to be viewed belongs.
[0216] Step E3: Select the OLT to be viewed;
[0217] The aggregation switch selected in step E3 includes OLTs from different manufacturers; this step is used to select the OLT to be viewed.
[0218] Step E4: In each chart, according to the SN code or ONU index, query the performance information such as the operating status, offline reason, and received optical power of the target ONU.
[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 in the OLT dimension of each aggregation switch, and the interface will display the performance information of all monitored ONUs connected to the ONU. You can choose to export the target data records of each aggregation switch to the 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, so that management and maintenance personnel can obtain all parameters and quickly find offline ONUs. According to different offline reasons, orders can be issued to different maintenance teams in different areas for repair.
[0222] The embodiment of the present application monitors the OLT / ONU, which will bring the following beneficial effects:
[0223] 1. The embodiments of the present application can realize real-time data collection and analysis of ONU.
[0224] The embodiment of the present application associates the Zabbix tool with the Grafana tool to display the data through charts. The collection speed is fast, the information is complete, and it is easier to deploy in a distributed manner and concurrently. It can collect ONU information of different OLTs in batches and concurrently, and can automatically discover ONUs multiple times every day. It can not only collect more complete ONU information, but also update the accurate information of ONU in a timely manner, and does not need to connect to a third-party network management, which can eliminate manufacturer differentiation.
[0225] The embodiment of the present application can collect the performance information of the ONU once every minute on average. The 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 embodiment of the present application can realize the visual display of the performance information of the ONU.
[0227] The embodiment of the present application uses Zabbix+Grafana to visualize the performance information of the ONU. Maintenance personnel can intuitively see the data they want through the Grafana tool, and can use the search function to find the online status, fault causes, and received optical power of the OLT / ONU equipment they want to see. In addition, government and enterprise installation and maintenance engineers, back-end maintenance engineers, and Skynet managers can export the target data table corresponding to certain performance information of the ONU device in the Grafana tool. For example, the target data table corresponding to a certain performance information specifically includes: a target data table corresponding to the online status, a target data table corresponding to the received optical power, a target data table corresponding to the offline status, etc. In this way, Skynet's on-site personnel can accurately dispatch orders to the corresponding maintenance teams based on various fault causes (equipment power failure, optical signal loss).
[0228] The target data table corresponding to the received optical power can be used to determine whether the ONU packet loss 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, appropriate measures can be taken, such as checking the optical fiber connection, replacing the optical fiber, adjusting the optical power, etc., to reduce optical attenuation and improve signal quality.
[0229] 3. The embodiment of the present application adopts a flexible alarm mechanism.
[0230] The Zabbix tool has a flexible alarm mechanism, allowing users to send alarms based on email, SMS, WeChat, and DingTalk, so that system administrators can quickly locate problems and take appropriate solutions. The Zabbix tool also provides monitoring of the server, so that the server can know and handle alarm information such as disks in the first place. When the interface usage of the OLT exceeds the threshold (such as 60%), an alarm can also be processed.
[0231] 4. The embodiment of the present application is compatible with ONU terminal devices and cameras from different manufacturers. By configuring different VLANs and distinguishing cameras from different subnet segments and different projects, when construction personnel on site install multiple cameras, it is possible to detect whether the camera is plugged into the wrong network port, collect the camera's MAC in real time, find problems in time, and realize timely correction of camera access errors, and save the cost of on-site manual error correction.
[0232] 5. The embodiment of the present application sets different scanning durations, passive and active collection as needed according to the number of ONUs under different OLTs, thereby reducing server-side overhead and improving the integrity of collected data.
[0233] Specifically, for OLTs with a large number of ONU devices, passive collection can be set and the time interval can be relaxed to 5S-10S; for OLTs with a small number of ONU devices, active collection can be set and set to collect once per second, and adjusted as needed to reasonably utilize bandwidth and reduce CPU and memory overhead on the server.
[0234] 6. The embodiment of the present application can perform real-time data analysis of performance information corresponding to the collection results, quickly generate analysis reports and send warnings / alerts.
[0235] 7. The embodiment of the present 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 the present application can provide an intuitive and clear interface and performance indicator display. Maintenance personnel can filter, 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, and promptly check faults and dispatch repairs.
[0237] 8. The embodiments of the present application have strong compatibility and are compatible with OLTs, ONUs, and cameras from different manufacturers, thereby reducing the maintenance cost of the equipment.
[0238] In summary, the embodiments of the present application not only solve the problems of low online rate and untimely maintenance of Skynet cameras, but also enable Skynet maintenance engineers to actively perform maintenance through the service end, which greatly improves user satisfaction while reducing a large amount of ineffective manual vehicle dispatch costs and labor time costs, playing the role of "reducing costs and increasing efficiency". In other words, the embodiments of the present application can not only improve the work efficiency of Skynet front-end and back-end maintenance engineers and Skynet managers, save a large amount of manual vehicle dispatch costs and labor time costs, but also improve customer satisfaction. The embodiments of the present application do not need to wait for customers to report faults before sending people to repair. It only needs to export the operating status table of the ONU equipment (the target data table corresponding to the operating status) to quickly and effectively dispatch orders to the maintenance team to repair the optical path and replace faulty equipment.
[0239] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0240] Based on the above embodiments, this embodiment also provides a monitoring device for an optical network unit, which is applied to a server end, and the server end is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU. The convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits VLAN broadcasts between the server end and the ONU.
[0241] Reference Figure 4 The monitoring device of the optical network unit may specifically include: a monitoring item processing module 401, a performance determination module 402, a data record storage module 403, a control display module 404 and a first screening module 405.
[0242] Among them, the monitoring item processing module 401 is used to automatically discover the device serial number of the ONU within a preset range, create a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associate the monitoring item with the device serial number; the monitoring item is used to collect preset performance information of the monitoring ONU;
[0243] The performance determination module 402 is used to determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items;
[0244] The data record saving module 403 is used to save data records corresponding to the aggregation switch, OLT, device serial number and performance information in the database according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected;
[0245] A control display module 404 is used to 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;
[0246] The first filtering module 405 is used to search for the corresponding first target data record in the database according to the user's selection operation on the first selection control, the second selection control, or the third selection control, and display the first target data record.
[0247] Optionally, the data collection 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, used to create an automatic discovery rule; the automatic discovery rule specifies a first SNMP object identifier corresponding to a device serial number of a preset manufacturer, the first SNMP object identifier being used to represent an 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 equipment serial number of the preset manufacturer; the first preset action is specifically: creating a monitoring ONU and a monitoring item for the monitoring ONU according to the discovered equipment serial number.
[0251] Optionally, the monitoring item corresponds to a second SNMP object identifier, and the second SNMP object identifier is used to represent an object identifier corresponding to preset performance information of the monitoring ONU of a preset manufacturer;
[0252] The collection result corresponding to the monitoring item includes: a second identifier value corresponding to the second SNMP object identifier;
[0253] The performance determination module comprises:
[0254] The conversion module is used to convert the second identifier value into performance information corresponding to the monitored ONU according to 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 a first target data table.
[0257] Optionally, the device may further include:
[0258] Performance option display module, used to display various options corresponding to performance information;
[0259] The second screening module is used to search the database for a second target data record corresponding to a target option among the multiple options according to a selection operation of the user on the target option, and to display the second target data record.
[0260] Optionally, the device may further include:
[0261] A trigger rule creation module is used to 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;
[0262] The second action creation module is used to create a second preset action for the trigger rule; to realize the association between the trigger 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: using a preset medium to send an alarm message to a preset user.
[0263] Optionally, the port of the ONU supports the access of a camera;
[0264] The device may also include:
[0265] A storage module is used to store the correspondence between the port of the ONU, the virtual local area network VLAN address and the media access control MAC address of the camera;
[0266] A MAC acquisition module, used to acquire a first MAC address of a camera connected to the first port;
[0267] A judging module, configured to judge whether the first MAC address matches the first port according to the corresponding relationship;
[0268] The error correction module is used to obtain a target VLAN address matching the first MAC address from the corresponding relationship 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 collection mode determination module is used to determine the collection mode corresponding to the monitoring ONU connected to the OLT according to the number of ONUs connected to the OLT; wherein, when the number of ONUs is greater than the 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;
[0271] The 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 collection module is used to collect the collection results corresponding to the monitoring items according to the collection mode of the monitoring items.
[0273] In summary, in the data acquisition network built by the monitoring device of the optical network unit of the embodiment of the present application, the aggregation switch transparently transmits the virtual local area network VLAN broadcast between the server and the ONU, so that the server can collect the preset performance information of the ONU via VLAN broadcast, and provide network link support for data transmission during the monitoring process of the ONU.
[0274] Secondly, the server of the embodiment of the present application automatically discovers the SN (device serial number, Serial Number) of the ONU within a preset range. The automatic discovery of the SN of the ONU can be applied to any ONU of any manufacturer. In this way, the embodiment of the present application can utilize the automatic discovery of the SN of the ONU to realize the monitoring of ONUs of multiple manufacturers, thereby saving the login and search costs of the network management systems of multiple manufacturers, and thus can improve the monitoring efficiency of the ONU.
[0275] In addition, the embodiment of the present application creates a monitoring ONU and monitoring items for monitoring the ONU according to the discovered device serial number, and associates the above monitoring items with the device serial number, thereby realizing automatic collection of collection results corresponding to the monitoring items.
[0276] Furthermore, the embodiment of the present application determines the performance information corresponding to the monitored ONU according to the collection results corresponding to the above-mentioned monitoring items; according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, the data records corresponding to the aggregation switch, OLT, device serial number and performance information are saved in the database; and selection controls for dimensions such as the aggregation switch, OLT, and device serial number in the data record are provided. In this way, the embodiment of the present application can support users to screen and filter the performance information of the ONU based on dimensions such as the aggregation switch, OLT, and device serial number, thereby further improving the monitoring efficiency of the ONU.
[0277] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0278] The present application embodiment provides one or more machine-readable media on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more of the methods described in the above embodiments. In the present application embodiment, the electronic device includes various types of devices such as terminal devices and server terminals (clusters).
[0279] The embodiments of the present disclosure may be implemented as a device that uses any appropriate hardware, firmware, software, or any combination thereof to perform desired configurations. The device may include: electronic devices such as terminal devices and server (cluster). Figure 5 An exemplary apparatus 2100 that can be used to implement various embodiments described in this application is schematically shown.
[0280] For one embodiment, Figure 5 An exemplary apparatus 2100 is shown having one or more processors 2102, a control module (chip set) 2104 coupled to at least one of the (one or more) 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] The processor 2102 may include one or more single-core or multi-core processors, and the processor 2102 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 2100 can be used as a terminal device, a server (cluster), and other devices described in the embodiments of the present application.
[0282] In some embodiments, the apparatus 2100 may include one or more computer-readable media (e.g., memory 2106 or non-volatile memory / storage 2108) having instructions 2114 and one or more processors 2102 combined with the one or more computer-readable media and configured to execute the instructions 2114 to implement a module to perform the actions described in the present disclosure.
[0283] For one embodiment, the control module 2104 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 2102 and / or any suitable device or component in communication 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] The memory 2106 may be used, for example, to load and store data and / or instructions 2114 for the device 2100. For one embodiment, the memory 2106 may include any suitable volatile memory, such as a suitable DRAM (Dynamic Random Access Memory). In some embodiments, the memory 2106 may include a double data rate type four synchronous dynamic random access memory.
[0286] For 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 the input / output device(s) 2110 .
[0287] For example, non-volatile memory / storage 2108 may be used to store data and / or instructions 2114. Non-volatile memory / storage 2108 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives, one or more optical disk drives, and / or one or more digital versatile optical disk drives).
[0288] The non-volatile memory / storage device 2108 may include storage resources that are physically part of the device on which the apparatus 2100 is installed, or it may be accessible to the device without being part of the device. For example, the non-volatile memory / storage device 2108 may be accessed via (one or more) input / output devices 2110 over a network.
[0289] The input / output device(s) 2110 may provide an interface for the apparatus 2100 to communicate with any other appropriate device, and the input / output device 2110 may include a communication component, an audio component, a sensor component, etc. The network interface 2112 may provide an interface for the apparatus 2100 to communicate through one or more networks, and the apparatus 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, for example, accessing a wireless network based on a communication standard, such as WiFi (Wireless Fidelity), 2G (2nd Generation Wireless Telephone Technology), 3G (3rd Generation Wireless Telephone Technology), 4G (4th Generation Wireless Telephone Technology), 5G (5th Generation Wireless Telephone Technology), etc., or a combination thereof for wireless communication.
[0290] For one embodiment, at least one of the processor(s) 2102 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 2104. For one embodiment, at least one of the processor(s) 2102 may be packaged together with the logic of one or more controllers of the control module 2104 to form a system-in-package. For one embodiment, at least one of the processor(s) 2102 may be integrated on the same die with the logic of one or more controllers of the control module 2104. For one embodiment, at least one of the processor(s) 2102 may be integrated on the same die with the logic of one or more controllers of the control module 2104 to form a system-on-chip.
[0291] In various embodiments, the device 2100 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 2100 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 2100 includes one or more cameras, a keyboard, a liquid crystal display screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, a dedicated integrated circuit, and a speaker.
[0292] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or non-volatile memory / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0293] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0294] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0295] The present application embodiment is described with reference to the flowchart and / or block diagram of the method, terminal device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0296] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0297] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0298] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0299] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0300] The above is a detailed introduction to a monitoring method and device for an optical network unit, an electronic device and a machine-readable medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A monitoring method for an optical network unit, characterized in that: Applied to a server, the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits a virtual local area network VLAN broadcast between the server and the ONU; the method comprises: Automatically discover the device serial number of the ONU within a preset range, create a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associate the monitoring item with the device serial number; the monitoring item is used to collect preset performance information of the monitoring ONU; Determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items; According to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected, data records corresponding to the aggregation switch, the OLT, the device serial number, and the performance information are saved in the database; Display a first selection control corresponding to the aggregation switch, display a second selection control corresponding to the OLT, and display a third selection control corresponding to the device serial number; According to 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 the first target data record is displayed.
2. The method according to claim 1, characterized in that: The data collection network communicates according to the Simple Network Management Protocol SNMP; The device serial number of the ONU within the preset range is automatically discovered, and the monitoring ONU and the monitoring items of the ONU are created according to the discovered device serial number, including: Creating an automatic discovery rule; the automatic discovery rule specifies a first SNMP object identifier corresponding to a device serial number of a preset manufacturer, where the first SNMP object identifier is used to represent an object identifier of the device serial number of the preset manufacturer; For the automatic discovery rule, create a first preset action 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 monitoring items for monitoring ONU based on the discovered device serial number.
3. The method according to claim 1, characterized in that The monitoring item corresponds to a second SNMP object identifier, where the second SNMP object identifier is used to represent an object identifier corresponding to preset performance information of the monitoring ONU of a preset manufacturer; The collection result corresponding to the monitoring item includes: a second identifier value corresponding to the second SNMP object identifier; Determining the performance information corresponding to the monitored ONU according to the collection result corresponding to the monitored item includes: According to the mapping relationship between the SNMP object identifier value and the interpretation information, the second identifier value is converted into performance information corresponding to the monitored ONU.
4. The method according to claim 1, characterized in that: The method further comprises: The first target data record is exported as a first target data table.
5. The method according to claim 1, characterized in that The method further comprises: Display various options corresponding to performance information; According to a selection operation of a user on a target option among the multiple options, a second target data record corresponding to the target option is searched in a database, and the second target data record is displayed.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: 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; A second preset action is created for the trigger rule; an association is established between the trigger 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: using a preset medium to send an alarm message to a preset user.
7. The method according to any one of claims 1 to 5, characterized in that: The ONU port supports camera access; The method further comprises: Save the correspondence between the ONU port, the virtual local area network VLAN address and the media access control MAC address of the camera; Collecting a first MAC address of a camera connected to the first port; According to the corresponding relationship, determining whether the first MAC address matches the first port; In the case that the first MAC address does not match the first port, a target VLAN address matching the first MAC address is obtained from the corresponding relationship, and the target VLAN address is used to replace the VLAN address corresponding to the first port.
8. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: According to the number of ONUs connected to the OLT, determine the collection mode corresponding to the monitored ONUs connected to the OLT; where, when the number of ONUs is greater than the 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; According to the acquisition mode corresponding to the monitoring ONU, the acquisition mode of the monitoring item is configured; According to the collection mode of the monitoring item, the collection results corresponding to the monitoring item are collected.
9. A monitoring device for an optical network unit, characterized in that: Applied to a server, the server is coupled with a convergence switch, an optical line terminal OLT and an optical network unit ONU, the convergence switch has a transparent transmission configuration so that the convergence switch transparently transmits a virtual local area network VLAN broadcast between the server and the ONU; the device comprises: A monitoring item processing module is used to automatically discover the device serial number of the ONU within a preset range, create a monitoring ONU and a monitoring item for monitoring the ONU according to the discovered device serial number, and associate the monitoring item with the device serial number; the monitoring item is used to collect preset performance information of the monitoring ONU; A performance determination module is used to determine the performance information corresponding to the monitored ONU according to the collection results corresponding to the monitored items; A data record saving module is used to save data records corresponding to the aggregation switch, OLT, device serial number and performance information in a database according to the device serial number associated with the monitoring item, the OLT to which the ONU represented by the device serial number is connected, and the aggregation switch to which the OLT is connected; A control display module, used to 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; The first filtering module is used to search for the corresponding first target data record in the database according to the user's selection operation on the first selection control, the second selection control, or the third selection control, and display the first target data record.
10. An electronic device, characterized in that: include: processor; and A memory having executable codes stored thereon, which, when executed, causes the processor to execute the method according to any one of claims 1 to 8.
11. A machine-readable medium having executable codes stored thereon, which, when executed, causes a processor to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for acquiring passive optical network (PON) element information
CN104753586A
All-optical network management method and system for school, equipment and storage medium
CN114786076A
Method and device for acquiring ONU (Optical Network Unit) capability in batches
CN118175029A
