Method and system for correcting resource information of passive optical network equipment
By obtaining the unique identifier of the optical network unit and updating the resource management system using alarm information from the network management system, the problem of inaccurate resource information of passive optical network equipment is solved, achieving automated correction and improved installation and maintenance efficiency.
Patent Information
- Application Number
- CN202511323151.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-16
- Publication Date
- 2026-01-13
AI Technical Summary
Resource information for passive optical network devices relies on manual input, which is prone to errors and cannot be updated in a timely manner, leading to failure of optical network unit activation and affecting installation and maintenance efficiency.
By obtaining the unique identifier of the optical network unit, the actual uplink connection information is extracted using the alarm information of the network management system, and the resource information in the resource management system is updated, including writing the uplink connection field and marking the update type.
It enables automated correction of resource information for passive optical network devices, improves installation and maintenance efficiency, and ensures the success rate of activation operations and the accuracy of resource data.
Smart Images

Figure CN121334533A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication network resource management, and in particular to a passive optical network device resource information correction method and system. BACKGROUND
[0002] In a passive optical network (PON), an optical splitter is a key device for connecting an optical line terminal (OLT) and an optical network unit (ONU). However, passive optical network devices cannot actively report their status and connection information because they do not generate electrical signals, and are therefore classified as "dumb resources". The information of such devices is mainly entered into a resource management system by manual means.
[0003] In the actual process of installing a home broadband, installation and maintenance personnel obtain the uplink information of the optical splitter by querying the resource management system, and send an activation instruction to the network management system based on the information, to complete the registration and activation of the optical network unit. However, this resource management method relying on manual maintenance has inherent defects. Because manual entry is prone to errors, and when the network is changed by operations such as cutting and optimization, the physical connection relationship changes, but the records in the resource management system often cannot be updated in time. This inconsistency in information directly leads to the fact that when the optical network unit is activated, the system constructs an activation instruction based on incorrect uplink information, so that the activation operation cannot find the target device at the correct network location, and ultimately results in activation failure. When activation failure occurs, installation and maintenance personnel have to find the correct connection information through other means and manually complete the activation, thereby affecting installation and maintenance efficiency. SUMMARY
[0004] The present application provides a passive optical network device resource information correction method, system, electronic device, storage medium and computer program product, to solve the defects in the prior art and improve installation and maintenance efficiency.
[0005] The present application provides a passive optical network device resource information correction method, comprising the following steps: In response to the failure of the optical network unit activation, a unique identifier associated with the optical network unit is obtained, wherein the optical network unit accesses the network through a passive optical network device; Based on the unique identifier, alarm information generated by the unregistered state of the optical network unit is obtained from the network management system; The actual uplink connection information of the optical network unit is extracted from the alarm information; Based on the actual uplink connection information, the resource information corresponding to the passive optical network device in the resource management system is updated.
[0006] The application provides a passive optical network device resource information correction method, which comprises the following steps of: writing the actual uplink connection information into a corresponding uplink connection field of the passive optical network device in a resource management system; marking an update type field corresponding to the passive optical network device as a preset value; recording an update date field corresponding to the passive optical network device as a current time when the update operation is performed.
[0007] The application provides a passive optical network device resource information correction method, wherein the step of writing the actual uplink connection information into a corresponding uplink connection field of the passive optical network device in a resource management system comprises the following steps of: writing an optical line terminal name, an optical line terminal IP address and a passive optical network port identifier in the actual uplink connection information into a corresponding optical line terminal field and a corresponding port field of the passive optical network device in the resource management system through an application program interface of the resource management system.
[0008] The application provides a passive optical network device resource information correction method, wherein the preset value comprises a first preset value and a second preset value, and the step of marking the update type field corresponding to the passive optical network device as a preset value comprises the following steps of: when the activation operation of the optical network unit is completed based on a manual activation process, marking the update type field as the first preset value; when the activation operation of the optical network unit is completed based on an automatic activation process, marking the update type field as the second preset value.
[0009] The application provides a passive optical network device resource information correction method, which further comprises the following steps of: combining the actual uplink connection information and the unique identifier to generate an activation instruction; sending the activation instruction to complete the activation of the optical network unit.
[0010] The application provides a passive optical network device resource information correction method, wherein the step of extracting the actual uplink connection information of the optical network unit from the alarm information comprises the following steps of: analyzing the alarm information to obtain an optical line terminal name, an optical line terminal IP address and a passive optical network port identifier actually connected by the optical network unit.
[0011] According to the passive optical network device resource information correction method provided by the application, the unique identifier associated with the optical network unit is obtained, including: Receiving an automatic activation request sent by the optical terminal based on the splitter port selection operation, the automatic activation request containing optical line terminal information, passive optical network port information recorded in the resource management system and the serial number of the optical network unit; When detecting that the activation operation using the automatic activation request fails, the serial number is extracted as the unique identifier.
[0012] According to the passive optical network device resource information correction method provided by the application, the unique identifier is used as a query parameter to query the unregistered optical network unit alarm database through the interface of the network management system; Using the unique identifier as a query parameter, the unregistered optical network unit alarm database is queried through the interface of the network management system; The alarm record corresponding to the unique identifier is matched from the query result to obtain alarm information containing the current physical connection position of the optical network unit.
[0013] The application also provides a passive optical network device resource information correction system, including the following modules: The first processing module is used for obtaining a unique identifier associated with the optical network unit in response to the activation failure of the optical network unit, wherein the optical network unit accesses the network through the passive optical network device; The second processing module is used for obtaining alarm information generated by the unregistered state of the optical network unit from the network management system based on the unique identifier; The third processing module is used for extracting the actual uplink connection information of the optical network unit from the alarm information; The fourth processing module is used for updating the resource information corresponding to the passive optical network device in the resource management system based on the actual uplink connection information.
[0014] The application also provides an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the passive optical network device resource information correction method as described above.
[0015] The application also provides a non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program is executable by a processor to implement the passive optical network device resource information correction method as described above.
[0016] The application further provides a computer program product comprising a computer program which, when executed by a processor, implements the passive optical network device resource information correction method according to any one of the above.
[0017] To sum up, the one or more technical solutions provided in the embodiments of the application have at least the following technical effects or advantages: Through the scheme of obtaining the unique identifier of the responding optical network unit after the activation fails, the once service opening failure event is effectively converted into a trigger point of the data correction process, and a key index is provided for subsequent accurate query. Through the scheme of obtaining the alarm information generated by the optical network unit in the unregistered state from the authoritative network management system based on the unique identifier, a real data source reflecting the physical connection fact state of the network can be found for data correction, and the problem of lacking reliable information source is solved. Further, through the scheme of extracting the actual interconnection connection information of the optical network unit from the alarm information, the original complex network management alarm data is converted into standardized and structured correction data which can be directly used for updating operation. Finally, through the scheme of updating the corresponding resource information in the resource management system based on the actual interconnection connection information, the automatic correction and dynamic correction of the dumb resource information of the passive optical network device are realized, the problem of activation failure caused by inaccurate resource information is fundamentally solved, and the installation and maintenance efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0019] Figure 1 Fig. 1 is one of the flow diagrams of the passive optical network device resource information correction method provided by the application.
[0020] Figure 2 Fig. 2 is another of the flow diagrams of the passive optical network device resource information correction method provided by the application.
[0021] Figure 3 Fig. 3 is a third of the flow diagrams of the passive optical network device resource information correction method provided by the application.
[0022] Figure 4 Fig. 4 is a fourth of the flow diagrams of the passive optical network device resource information correction method provided by the application.
[0023] Figure 5 Fig. 5 is a fifth of the flow diagrams of the passive optical network device resource information correction method provided by the application.
[0024] Figure 6 Figure 6 is a flowchart of a method for correcting passive optical network device resource information according to an embodiment of the present application.
[0025] Figure 7 Figure 7 is a flowchart of a method for correcting passive optical network device resource information according to an embodiment of the present application.
[0026] Figure 8 Figure 8 is a flowchart of a method for correcting passive optical network device resource information according to an embodiment of the present application.
[0027] Figure 9 Figure 9 is a schematic diagram of a system for correcting passive optical network device resource information according to an embodiment of the present application.
[0028] Figure 10 Figure 10 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the drawings in the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0030] It should be noted that in the description of the present application, the terms "comprise", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "comprises a" does not exclude the presence of another identical element in the process, method, article or device comprising the element. The terms "up", "down" and the like indicate the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present application and simplify the description, and do not indicate or imply that the indicated system or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0031] The terms "first", "second", and the like in the description do not denote any order, quantity, or sequence, but are used to distinguish similar objects. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a class and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in a "or" relationship.
[0032] The application is described below in conjunction with Figures 1-8 The passive optical network device resource information correction method, system, electronic device, storage medium and computer program product provided by the application are described.
[0033] Referring to Figure 1 , Figure 1 is one of the flowcharts of the passive optical network device resource information correction method provided by the application, as shown in Figure 1 , comprising steps 101 to 104: Step 101: obtaining a unique identifier associated with an optical network unit in response to the activation failure of the optical network unit, wherein the optical network unit accesses a network through a passive optical network device.
[0034] In an embodiment of the application, a resource information correction method is described. In the communication network resource management, since the information of the passive optical network device is mainly maintained manually, there may be information entry errors or update delays. These inaccurate information will cause the optical network unit to fail when installing and activating, because the correct upper network node cannot be found. Therefore, when such activation failure occurs, an opportunity to correct the error data is provided. In order to initiate the correction process, first, a unique identifier associated with an optical network unit is obtained in response to the activation failure of the optical network unit, wherein the optical network unit accesses a network through a passive optical network device. This step is the basis for all subsequent correction operations, and the purpose is to accurately locate the specific device that has a problem.
[0035] Specifically, optical network unit refers to the terminal equipment installed on the user side, such as the commonly called optical modem, used to receive optical signals and convert them into network signals available to users. The passive optical network device refers to the passive optical device in the optical distribution network, such as the optical splitter, which functions to distribute optical signals from the upstream optical line terminal to multiple downstream optical network units. The unique identifier is a credential used to uniquely identify an optical network unit in the network, usually a serial number (SN) assigned when the device is manufactured. And the activation failure refers to the state that the registration process cannot be completed due to the inconsistency between the connection information recorded in the resource management system and the actual physical connection of the optical network unit during the process of trying to register the optical network unit to the network.
[0036] In a specific embodiment, when the activation operation for an optical network unit is confirmed to fail once, a process for obtaining device information is started. In this process, the unique identifier associated with the optical network unit is obtained. The acquisition of this unique identifier can be input by the on-site installation and maintenance personnel through the terminal device, or directly extracted from the context of the previous failed activation process. By obtaining the unique identifier, a key index is provided for subsequent query of accurate alarm information of the device from the network management system. This step converts the failure event of one-time business opening into an effective trigger condition for initiating the data correction process, lays the foundation for subsequent automatic checking and correction of resource information, and ensures the accuracy and pertinence of subsequent correction work.
[0037] Step 102: Based on the unique identifier, obtain the alarm information generated by the unregistered state of the optical network unit from the network management system.
[0038] After obtaining the unique identifier of the optical network unit, in order to correct the error data in the resource management system, the real connection information of the optical network unit in the physical network needs to be obtained. The data in the resource management system is not reliable, and the network management system, as a platform for monitoring the real-time state of the entire network, can accurately reflect the actual situation of the network device. Therefore, the next step of this embodiment is to obtain the alarm information generated by the unregistered state of the optical network unit from the network management system based on the unique identifier. This step aims to obtain accurate basis for correction from an authoritative data source.
[0039] In this step, the network management system is an operation support platform for centralized monitoring, management and maintenance of optical line terminal and other devices in the network, which can receive and record various real-time events and alarms reported by network devices. The unregistered state of the optical network unit refers to a temporary state in which the optical network unit device has been powered on and physically connected to the optical line terminal port of the upstream network device, but has not completed the legal identity authentication and business configuration in the network management system. In this state, the optical line terminal will find an unlicensed device access and generate a corresponding event record. The alarm information is an event record actively reported by the optical line terminal to the network management system after detecting the optical network unit in the unregistered state, which contains the location information and port information of the optical line terminal itself that discovers the unregistered device.
[0040] In a specific embodiment, the unique identifier obtained in the previous step is used as a key clue to initiate a query request to the network management system. The purpose of the query is to locate and extract specific alarm information generated by the unregistered state of the target optical network unit from the massive alarm data recorded in the network management system. Since the unique identifier (such as SN code) is usually reported as part of the alarm content, it can be accurately matched through the identifier. By performing this step, the alarm information containing the accurate location of the optical network unit can be successfully obtained from the real-time running network side, thereby providing a real and reliable data basis for subsequent data correction and solving the technical problem of difficult blind resource data correction due to lack of accurate information source.
[0041] Step 103: Extract the actual upstream connection information of the optical network unit from the alarm information.
[0042] After obtaining the alarm information generated by the unregistered state of the optical network unit, the alarm information is the original data recorded by the network management system, which contains various information fields related to the alarm event and cannot be directly used for subsequent resource information update. In order to obtain structured accurate data that can be used for correction, the original alarm information needs to be parsed. Therefore, the next step of this embodiment is to extract the actual upstream connection information of the optical network unit from the alarm information. The core purpose of this step is to convert the original network management alarm data into standardized information that can be directly used to correct the resource data.
[0043] In this step, the actual upstream connection information refers to a set of key data that can uniquely determine the physical connection point of the optical network unit in the upstream network device. This set of data represents the real connection path of the optical network unit in the current physical network and is a reliable basis for correcting the error records in the resource management system. This set of information is in contrast to the outdated connection information in the resource management system that may exist due to human input errors or network changes, and represents the factual state of network connection.
[0044] In one specific embodiment, a parsing process is performed on the alarm information obtained in the previous step. This process aims to identify and separate the part of the alarm information that accurately represents the current uplink position of the optical network unit from the multiple data items contained in the alarm information. Through this process, a relatively complex original alarm information record is converted into a set of simplified and structured actual uplink connection information. By performing this step, accurate actual uplink connection information is extracted from the original network management alarm data, providing accurate data input for subsequent resource information updating operations, thereby ensuring that the entire correction process is based on real network conditions and ensuring the effectiveness of data correction.
[0045] Step 104: Based on the actual uplink connection information, update the resource information corresponding to the passive optical network device in the resource management system.
[0046] After extracting the actual uplink connection information of the optical network unit, accurate data representing the actual state of the network physical connection has been obtained. In order to solve the problem of activation failure caused by inaccurate resource data and to avoid the problem from occurring again in subsequent business opening, it is necessary to synchronize this accurate data back to the source of data management. Therefore, the next step of this embodiment is to update the resource information corresponding to the passive optical network device in the resource management system based on the actual uplink connection information. The purpose of this step is to solidify the correction results into the resource management system and complete the data correction.
[0047] In this step, the resource management system is a database or platform for recording and managing various physical and logical resource information in the network, which stores various configuration information including passive optical network devices and their uplink relationships. The resource information corresponding to the passive optical network device is a data record representing the physical device in the resource management system, which contains multiple fields describing its attributes and connection relationships, such as the uplink optical line terminal and port information. The essence of this step is to use the real connection information obtained from the network management system to overwrite the original incorrect record in the resource management system.
[0048] In one specific embodiment, the actual connection information extracted in the previous step is inputted to call the data updating function provided by the resource management system to perform a write operation on the resource information corresponding to the PON device connected to the ONU. The operation updates the accurate connection position contained in the actual connection information into the data record of the PON device. Through this step, the accurate data corrected by the investigation is successfully synchronized to the resource management system, fundamentally correcting the error data source causing the activation failure, and realizing the dynamic correction of the dumb resource information. This not only solves the current business opening problem, but also improves the accuracy of the overall resource data, provides reliable data guarantee for subsequent broadband installation and maintenance work, and improves the success rate of automatic activation.
[0049] In one possible embodiment, referring to Figure 2 , Figure 2 is a flowchart of the passive optical network device resource information correction method provided by the present application, and step 101 specifically comprises the following steps: Step 201: receiving an automatic activation request sent by the installation and maintenance terminal based on the splitter port selection operation, the automatic activation request containing the optical line terminal information, the passive optical network port information and the serial number of the optical network unit recorded in the resource management system.
[0050] Step 202: extracting the serial number as a unique identifier when detecting that the activation operation using the automatic activation request fails.
[0051] Specifically, first, an automatic activation request sent by the installation and maintenance terminal based on the splitter port selection operation is received, the automatic activation request containing the optical line terminal information, the passive optical network port information and the serial number of the optical network unit recorded in the resource management system. This step aims to simulate and perform a standard automated business opening attempt. Here, the installation and maintenance terminal is usually a portable device held by the installation and maintenance personnel, such as a smartphone or tablet computer installed with a special application. The splitter port selection operation refers to the selection of a specific port of a passive optical network device (i.e. a splitter) corresponding to the user's physical line according to the user's standard address information (such as a community, building, unit) on the application interface of the installation and maintenance terminal. The operation will trigger a query to retrieve the record associated with the port from the resource management system.
[0052] The automatic activation request is a data message built and sent to the activation platform, whose purpose is to request the registration of a new optical network unit in the network. The key information contained in this request has three parts: the first is the optical line terminal information, the second is the passive optical network port information, both of which are obtained from the resource management system according to the aforementioned splitter port selection operation, so the accuracy thereof depends on whether the record in the resource management system is correct. The third part is the serial number of the optical network unit, which is obtained by the installer through the installation terminal scanning the bar code or two-dimensional code on the physical optical network unit device, representing the physical identity of the device. By performing this step, the activation attempt based on the existing data in the resource management system and the information of the physical device is formally initiated, creating a prerequisite for subsequent judgment of the accuracy of the resource data.
[0053] Then, after sending the automatic activation request, since the information in the resource management system may not match the actual physical connection, it may lead to the failure of the activation. In order to start the correction process in this case, the next step is to extract the serial number as a unique identifier when detecting the failure of the activation operation using the automatic activation request. The core purpose of this step is to capture the failure event and separate the key index necessary for the subsequent process. The failure of the activation operation means that the activation platform does not receive a successful response within a predetermined time after issuing a registration instruction at the network location corresponding to the optical line terminal information and the passive optical network port information specified in the automatic activation request, or receives explicit error feedback such as "device not found" and "registration timeout".
[0054] In a specific embodiment, when the activation operation is confirmed to fail, a processing logic is triggered. This logic accesses and parses the data content of the previously sent automatic activation request, ignores the optical line terminal information and the passive optical network port information that have been proven to be possibly incorrect, and only extracts the value of the serial number field of the optical network unit. The serial number is then formally designated as a unique identifier for subsequent queries to the network management system for the real location information of the device. By performing this step, the failure status of a business operation is converted into an explicit signal to start the data correction process, and the unique identifier for accurately positioning the device in all subsequent steps is successfully obtained, thereby ensuring that the entire correction process can accurately and accurately target the target device.
[0055] In a possible implementation, with reference to Figure 3 , Figure 3 is a third flowchart of the passive optical network device resource information correction method provided by the application, and step 102 specifically comprises the following steps: Step 301: using the unique identifier as a query parameter, querying the unregistered optical network unit alarm library through the interface of the network management system.
[0056] Step 302: Match the alarm record corresponding to the unique identifier from the query result, and obtain the alarm information containing the current physical connection location of the optical network unit.
[0057] Specifically, the unique identifier is used as a query parameter to query the unregistered optical network unit alarm database through the interface of the network management system. The purpose of this step is to initiate an accurate data retrieval request to the network management system as the authoritative data source. Here, the query parameter refers to one or more key values used to filter and limit the query range when constructing the query instruction. In this embodiment, the previously obtained unique identifier (such as the serial number of the optical network unit) is directly used as the query parameter. The interface of the network management system refers to the application program interface (API) provided by the network management system, which follows a specific protocol and data format, allowing external programs to request data or perform operations in a standardized manner. The unregistered optical network unit alarm database is a database or data collection in the network management system that specifically stores a certain type of alarm, which collects all alarm events reported by the subordinate optical line terminal about detecting unregistered optical network units.
[0058] In a specific embodiment, the unique identifier is encapsulated into a query request conforming to the interface specification of the network management system. For example, a query message containing "SN=unique identifier" as a filtering condition is constructed, and the message is sent to the interface of the network management system through a pre-set network address and communication protocol. After receiving the request, the network management system will perform a filtering query in its internal unregistered optical network unit alarm database. By performing this step, a targeted data acquisition operation is successfully initiated, the search range is narrowed down to the alarm subset directly related to the target device, avoiding traversal of irrelevant alarms, improving query efficiency, and obtaining preliminary query results containing potential target alarms.
[0059] After receiving the query result returned by the network management system, which may be a list containing multiple records, the unique and correct one needs to be accurately found from it. Therefore, the next step is to match the alarm record corresponding to the unique identifier from the query result, and obtain the alarm information containing the current physical connection location of the optical network unit. This step aims to finally confirm and filter the preliminary query results. The query result is the collection of all alarm records returned by the network management system in the previous step that meet the preliminary filtering conditions. The alarm record is an independent data unit in the query result, representing a specific alarm event. The current physical connection location is a part of the key data in the alarm record, which accurately describes the identity of the optical line terminal reporting the alarm and the specific port where the unregistered optical network unit is found.
[0060] In one specific embodiment, a traversal process is performed on the returned query results. During the traversal, the content of each alarm record is examined and the equipment serial number field contained therein is strictly string compared with the unique identifier as a reference. When the serial number in a certain alarm record is found to be completely identical with the unique identifier, then the alarm record is confirmed as the final target. The alarm record that is successfully matched, i.e. the alarm information that contains the accurate physical connection position of the optical network unit, is the final target. Through performing this step, the unique and valid alarm data is accurately separated from the possibly mixed query results, providing an unambiguous and reliable data source for subsequent extraction of the actual interconnection connection information, thereby ensuring the accuracy of the entire correction process.
[0061] In one possible embodiment, with reference to Figure 4 , Figure 4 is a fourth flowchart of the passive optical network equipment resource information correction method provided by the present application, and step 103 specifically comprises the following steps: Step 401: parsing the alarm information to obtain the optical line terminal name, the optical line terminal IP address and the passive optical network port identifier of the actual connection of the optical network unit.
[0062] Specifically, in this step, the optical line terminal name is a logical name that is assigned to the optical line terminal equipment in the network for easy identification and management, which corresponds to a specific physical device. The optical line terminal IP address is the unique network address of the optical line terminal equipment in the management network, which is necessary for addressing for performing remote management and issuing service instructions. The passive optical network port identifier is used to uniquely specify a specific physical port on the optical line terminal equipment, and the port is the upstream starting point of the optical path on which the target optical network unit is located. The three information elements together constitute a key data set that can completely describe the actual interconnection position of the optical network unit.
[0063] In one specific embodiment, a parsing operation is performed on the alarm information record matched with the unique identifier obtained in the previous step. Since the alarm information is usually organized in a certain structured format (such as key-value pair, XML or JSON), the parsing operation is to read the structured text according to the preset rules. In this operation, the pre-defined fields or labels for identifying the "equipment name", "equipment IP address" and "port position" in the alarm information are searched respectively. Then, the corresponding values are extracted from these fields and taken as the optical line terminal name, the optical line terminal IP address and the passive optical network port identifier respectively.
[0064] In one possible embodiment, with reference to Figure 5 , Figure 5is the fifth flowchart of the passive optical network device resource information correction method provided by the present application, and step 104 specifically comprises the following steps: Step 501: write the actual upstream connection information into the corresponding upstream connection field of the passive optical network device in the resource management system.
[0065] Step 502: mark the update type field corresponding to the passive optical network device as a preset value.
[0066] Step 503: record the update date field corresponding to the passive optical network device as the current time when the update operation is performed.
[0067] Specifically, first, the actual upstream connection information is written into the corresponding upstream connection field of the passive optical network device in the resource management system. This step is the core of the entire correction process, aiming to overwrite the original error data with real data. Here, the upstream connection field is a data area defined in the resource management system for each passive optical network device resource record, specifically used to store the upstream connection point information. This field usually contains sub-fields for recording the corresponding optical line terminal and its specific port. In a specific embodiment, the data writing interface of the resource management system is called, and the actual upstream connection information (i.e., the optical line terminal name, IP address, and passive optical network port identifier) parsed in the previous step is filled into the upstream connection field corresponding to the passive optical network device connected to the optical network unit. By performing this step, the root cause of the activation failure is directly corrected, ensuring that the resource information of the passive optical network device is consistent with its actual connection in the physical network.
[0068] At the same time of completing the core data correction, in order to record the source and nature of this data update, the next step is to mark the update type field corresponding to the passive optical network device as a preset value. This step adds an important audit dimension to the resource data, which helps to analyze the accuracy of the data source. The update type field is an additional attribute field in the passive optical network device resource record, used to store a code representing the data update method. The preset value is a pre-defined enumeration value, for example, one value can represent "manual activation correction", and another value can represent "automatic activation verification". In a specific embodiment, according to the specific scenario that triggered this correction process, a corresponding preset value is selected and written into the update type field of the target passive optical network device record. By performing this step, the source label is added to the resource data, so that the manager can clearly distinguish which data is originally entered and which data is corrected by this method, providing a basis for subsequent resource checking and quality evaluation.
[0069] In addition, in order to measure the timeliness of the resource information, the update date field corresponding to the passive optical network device is recorded as the current time when the update operation is performed. This step establishes a timestamp for the resource information, indicating the time point when it was last verified to be accurate. The update date field is another additional attribute field in the passive optical network device resource record, used to store date and time information. The current time refers to the standard system time provided by the computer or server at the time of performing the update operation. In a specific embodiment, the current time is obtained at the same time as the write operation is performed, and is stored in the update date field of the target passive optical network device record after being formatted. By performing this step, the resource data is given a time attribute, solving the problem of dumb resources due to unknown status, and facilitating subsequent screening of resources that may need to be rechecked by querying the update date, greatly improving the refinement level of resource management.
[0070] In a possible implementation, with reference to Figure 6 , Figure 6 is a sixth flowchart of the passive optical network device resource information correction method provided by the present application, and step 501 specifically comprises the following steps: Step 601: Through the application program interface of the resource management system, write the optical line terminal name, optical line terminal IP address and passive optical network port identifier in the actual uplink connection information into the corresponding optical line terminal field and port field of the passive optical network device in the resource management system.
[0071] Specifically, in this step, the application program interface (API) of the resource management system is a set of standardized communication specifications and function call collections provided by the resource management system, which allows external programs to read or modify internal data in a controlled and secure manner. The optical line terminal field and the port field are two specific data attribute fields defined for the passive optical network device data model when the resource management system is designed. Among them, the optical line terminal field is used to store the identification information of the optical line terminal connected to the passive optical network device, such as the name and IP address; and the port field is used to store the identification of the specific upstream port connected to the passive optical network device. The two fields together constitute the specific implementation of the uplink connection field mentioned above.
[0072] In one embodiment, the process begins with an application program interface call to the resource management system. The call initiates an update request for a particular PON device resource record. In the data body of the request, the OLT name, OLT IP address and PON port identification are included, which are parsed from the actual connection information. When the resource management system receives the API request, it locates the target record in the database according to the PON device identification specified in the request. Then, the OLT name and OLT IP address in the request data body are written into the OLT field of the record, and the PON port identification is written into the port field of the record. Finally, the changes are committed and saved.
[0073] In one embodiment, the process begins with an application program interface call to the resource management system. The call initiates an update request for a particular PON device resource record. In the data body of the request, the OLT name, OLT IP address and PON port identification are included, which are parsed from the actual connection information. When the resource management system receives the API request, it locates the target record in the database according to the PON device identification specified in the request. Then, the OLT name and OLT IP address in the request data body are written into the OLT field of the record, and the PON port identification is written into the port field of the record. Finally, the changes are committed and saved. Figure 7 Figure 7 is a seventh flowchart of the method for correcting PON device resource information according to the present application, and step 502 specifically includes the following steps: Step 701: When the activation operation of the ONU is completed based on a manual activation process, mark the update type field as a first preset value.
[0074] Step 702: When the activation operation of the ONU is completed based on an automatic activation process, mark the update type field as a second preset value.
[0075] Specifically, the process first describes the marking method in the correction scenario, and the steps are as follows: when the activation operation of the ONU is completed based on a manual activation process, mark the update type field as a first preset value. This step aims to clearly identify that the resource data is corrected through an active correction process. Here, the manual activation process refers to the entire process of completing the activation of the ONU through the actual connection information obtained from the network management system after the automatic activation fails. The first preset value is a specific code predefined to represent the "manual activation correction" state, for example, the number "1". In one embodiment, a judgment logic is executed to check the context of the activation operation. If the completion of the operation depends on the connection information obtained from the network management system query alarm, it is determined to be a manual activation process. Then, the first preset value (for example, "1") representing this state is written into the update type field of the PON device resource record. By performing this step, the data is given a clear source identification, indicating that the information is corrected by the network side and has high credibility, providing an important basis for subsequent data quality auditing.
[0076] Correspondingly, the process also describes a marking method in the verification scenario, the steps of which are: when the activation operation of the optical network unit is completed based on the automatic activation process, the update type field is marked as a second preset value. Here, the automatic activation process refers to a process of successfully completing the activation of the optical network unit by directly using the uplink connection information recorded in the resource management system. The second preset value is a specific code, such as the number "2", which is predefined to represent the "automatic activation verification" state. In a specific embodiment, when an automatic activation process is confirmed to be successful, a processing logic is triggered. The logic writes the second preset value (such as "2") representing the "automatic activation verification" state into the update type field of the resource record of the passive optical network device. Although the core uplink connection field content does not change in this scenario, the marking operation combined with the synchronous refresh of the update date proves that the resource data is still accurate and effective at the current time point. By performing this step, a normal verification mechanism for inventory data is realized, which can effectively distinguish between long-term untouched or verified data, thereby solving the problem of evaluating the timeliness of dumb resource information due to the lack of verification means.
[0077] In a possible implementation, with reference to Figure 8 , Figure 8 is the eighth flowchart of the passive optical network device resource information correction method provided by the present application, after step 104, further comprising the following steps: Step 801: combining the actual uplink connection information and the unique identifier to generate an activation instruction.
[0078] Step 802: sending the activation instruction to complete the activation of the optical network unit.
[0079] Specifically, after the correction of the error data in the resource management system is completed, although the data level problem is solved, the user still needs to open the broadband service. In order to complete the business opening immediately after the data correction, and avoid additional repeated operations by the installation and maintenance personnel, a specific embodiment of the present application adds a subsequent business activation step.
[0080] First, the actual physical connection information and the unique identifier are combined to generate an activation instruction. The core purpose of this step is to use the data just acquired, which has been verified to be accurate, to construct a business activation command that can be successfully executed. Here, the activation instruction is a data packet or message organized in a predetermined format, which contains all the parameters necessary to perform a registration and activation operation of an optical network unit. In a specific embodiment, a processing logic for generating the instruction is invoked. This logic creates a new data structure, namely the activation instruction. Subsequently, the actual physical connection information (containing the optical line terminal IP address and the passive optical network port identifier) acquired in the previous step is filled into the field of the activation instruction for specifying the target network location; at the same time, the unique identifier (i.e. the optical network unit serial number) as the device identity credential is filled into the field of the activation instruction for specifying the target device. By performing this step, a completely new and completely correct activation instruction is successfully created. This instruction is different from the original automatic activation request that failed, and its content is based on real-time facts on the network side rather than possibly erroneous resource library records, thereby laying the foundation for successful activation in the following step.
[0081] After generating the correct activation instruction, in order to finally complete the business activation, the next step is to send the activation instruction to complete the activation of the optical network unit. This step is the last link of the business closed loop, and its essence is to perform a "manual activation" operation that is sure to succeed. In a specific embodiment, the activation instruction generated in the previous step is sent to the designated interface of the activation system responsible for processing the activation business through the network. After receiving the activation instruction, the activation system will parse the parameters therein and initiate communication to the device corresponding to the optical line terminal IP address specified in the instruction, requesting to register the optical network unit with the specific unique identifier on the passive optical network port specified by the device. Since all the connection information and device information in the instruction are accurate, this registration and activation operation will be successfully completed. By performing this step, not only is the broadband service successfully activated for the user, but the effectiveness of data correction is also verified. This process converts an initial activation failure into a data correction and a successful business activation, completely solves the installation and maintenance efficiency problem caused by inaccurate resource data, effectively guarantees the timeliness of business activation, and improves customer satisfaction.
[0082] Reference Figure 9 , Figure 9 is a structural schematic diagram of a passive optical network device resource information correction system provided by the application, and the system comprises: A first processing module is configured to acquire a unique identifier associated with an optical network unit in response to a failure of the optical network unit activation, wherein the optical network unit accesses a network through a passive optical network device. The second processing module is configured to acquire alarm information generated by the unregistered state of the optical network unit from a network management system based on the unique identifier. The third processing module is configured to extract actual uplink connection information of the optical network unit from the alarm information. The fourth processing module is configured to update resource information corresponding to the passive optical network device in a resource management system based on the actual uplink connection information.
[0083] It should be noted that the passive optical network device resource information correction system provided by the present application can execute the passive optical network device resource information correction method of any one of the above embodiments in actual operation, and the present embodiment will not be described here.
[0084] Figure 10 is a structural schematic diagram of an electronic device provided by the present application, as Figure 10 shown, the electronic device can include: a processor 1010 (processor), a communications interface 1020 (Communications Interface), a memory 1030 (memory) and a communications bus 1040, wherein the processor 1010, the communications interface 1020, the memory 1030 complete the communication among each other through the communications bus 1040. The processor 1010 can call the logical instructions in the memory 1030 to execute the passive optical network device resource information correction method, which comprises: in response to the activation failure of the optical network unit, acquiring a unique identifier associated with the optical network unit, wherein the optical network unit accesses the network through the passive optical network device; based on the unique identifier, acquiring alarm information generated by the unregistered state of the optical network unit from a network management system; extracting actual uplink connection information of the optical network unit from the alarm information; based on the actual uplink connection information, updating resource information corresponding to the passive optical network device in a resource management system.
[0085] In addition, the logic instructions in the memory 1030 described above can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. According to such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0086] In another aspect, the present application also provides a computer program product, which comprises a computer program stored on a non-transitory computer readable storage medium, and the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer can execute the passive optical network device resource information correction method provided by the above-mentioned embodiments.
[0087] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the passive optical network device resource information correction method provided by the above-mentioned embodiments.
[0088] The system embodiments described above are only schematic, and the units illustrated as separate components can or can not be physically separated, and the components illustrated as units can or can not be physical units, that is, they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those skilled in the art can understand and implement without creative labor.
[0089] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course can also be realized by hardware. According to such understanding, the above technical solutions essentially or the parts that make contributions to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods of the embodiments or some parts of the embodiments.
[0090] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some technical features therein can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for correcting resource information in a passive optical network device, characterized in that, include: Upon failure to activate the optical network unit, a unique identifier associated with the optical network unit is obtained, wherein the optical network unit accesses the network through a passive optical network device. Based on the unique identifier, obtain alarm information generated by the unregistered state of the optical network unit from the network management system; Extract the actual interconnection information of the optical network unit from the alarm information; Based on the actual interconnection information, update the resource information in the resource management system corresponding to the passive optical network device.
2. The passive optical network device resource information correction method according to claim 1, characterized in that, The step of updating the resource information in the resource management system corresponding to the passive optical network device based on the actual interconnection information includes: Write the actual uplink connection information into the corresponding uplink connection field of the passive optical network device in the resource management system; The update type field corresponding to the passive optical network device is marked with a preset value; The update date field corresponding to the passive optical network device is recorded as the current time when the update operation is performed.
3. The passive optical network device resource information correction method according to claim 2, characterized in that, The step of writing the actual uplink connection information into the corresponding uplink connection field of the passive optical network device in the resource management system includes: Through the application programming interface of the resource management system, the optical line terminal name, optical line terminal IP address and passive optical network port identifier in the actual connection information are written into the corresponding optical line terminal field and port field of the passive optical network device in the resource management system.
4. The passive optical network device resource information correction method according to claim 2, characterized in that, The preset values include a first preset value and a second preset value, and marking the update type field corresponding to the passive optical network device as the preset value includes: When the activation operation of the optical network unit is completed based on the manual activation process, the update type field is marked as the first preset value; When the activation operation of the optical network unit is completed based on the automatic activation process, the update type field is marked as the second preset value.
5. The passive optical network device resource information correction method according to claim 1, characterized in that, Also includes: Combine the actual interconnection information with the unique identifier to generate an activation instruction; Send the activation command to complete the activation of the optical network unit.
6. The passive optical network device resource information correction method according to claim 1, characterized in that, Extracting the actual interconnection information of the optical network unit from the alarm information includes: The alarm information is analyzed to obtain the name of the optical line terminal, the IP address of the optical line terminal, and the passive optical network port identifier that the optical network unit is actually connected to.
7. The passive optical network device resource information correction method according to claim 1, characterized in that, The process of obtaining the unique identifier associated with the optical network unit includes: The system receives an automatic activation request sent by the installation and maintenance terminal based on the splitter port selection operation. The automatic activation request includes optical line terminal information, passive optical network port information and the serial number of the optical network unit recorded in the resource management system. When an activation operation using the automatic activation request is detected to have failed, the serial number is extracted as the unique identifier.
8. The passive optical network device resource information correction method according to claim 1, characterized in that, The step of obtaining alarm information generated by the unregistered state of the optical network unit from the network management system based on the unique identifier includes: Using the unique identifier as a query parameter, query the alarm database of unregistered optical network units through the interface of the network management system; Match the alarm records corresponding to the unique identifier from the query results to obtain alarm information containing the current physical connection location of the optical network unit.
9. A passive optical network device resource information correction system, characterized in that, include: The first processing module is used to obtain a unique identifier associated with the optical network unit after the optical network unit fails to activate, wherein the optical network unit accesses the network through a passive optical network device. The second processing module is used to obtain alarm information generated by the unregistered state of the optical network unit from the network management system based on the unique identifier. The third processing module is used to extract the actual interconnection information of the optical network unit from the alarm information; The fourth processing module is used to update the resource information corresponding to the passive optical network device in the resource management system based on the actual interconnection information.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the passive optical network device resource information correction method as described in any one of claims 1 to 8.