Method and device for managing ONU alarm based on wavelength and electronic equipment
By sending configuration information between the optical network unit ONU and the optical line terminal OLT, specifying different alarm types to report using specific wavelength channels, the problem of excessive abnormal alarms affecting data transmission is solved, and effective alarm information management and normal data are realized transmission.
Patent Information
- Application Number
- CN202411467645.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, when there are too many abnormal alarms, the alarm information will occupy too much of the uplink bandwidth of the passive optical network, affecting normal data transmission.
By sending configuration information between the optical circuit terminal OLT and the optical network unit ONU, different alarm types are specified to report using specific wavelength channels, thereby achieving effective management of alarm information and normal data transmission.
It effectively avoids the bandwidth usage when there is too much alarm information, ensures normal data transmission, and improves communication quality.
Smart Images

Figure CN119402776A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical communication technology, and in particular to a method, a device and an electronic device for managing ONU alarms based on wavelength. Background Art
[0002] When the Optical Network Unit (ONU) detects an abnormality in the network, it encapsulates the alarm information into an ONU Management and Control Interface (OMCI) message that complies with the G.984 standard or the G.987 standard, or other specific protocol messages, and sends the data to the Optical Line Terminal (OLT) via the upstream wavelength. The OLT parses the protocol content and performs corresponding automated operations, such as automatically adjusting parameters, restoring connections, restarting the ONU, or reporting to the upper-layer management system.
[0003] When a large number of abnormal alarms occur, the current alarm scheme will cause the alarm information to occupy too much passive optical network (Passive Optical Network, PON) uplink channel bandwidth, affecting normal data transmission. Summary of the invention
[0004] The present invention provides a method, device and electronic equipment for managing ONU alarms based on wavelength, which are used to solve the technical problem in the prior art that too many abnormal alarms affect normal data transmission, and realize timely reporting of alarm information and normal data transmission.
[0005] In a first aspect, the present invention provides a method for managing ONU alarms based on wavelength, which is applied to an optical line terminal OLT, comprising: Sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0006] In some embodiments, the method further comprises: Determine, according to the second configuration information, a target alarm processing method identifier corresponding to the alarm information; the second configuration information includes alarm processing method identifiers corresponding to different alarm information; The alarm processing method corresponding to the target alarm processing method identifier is executed according to the third configuration information; the third configuration information includes alarm processing methods corresponding to different alarm processing method identifiers.
[0007] In some embodiments, the method further comprises: The first configuration information is updated based on the frequency at which the ONU sends alarm information.
[0008] In some embodiments, the updating of the first configuration information based on the frequency of the ONU sending the alarm information includes: When the frequency is greater than a first preset threshold, expanding the wavelength channel in the first configuration information; and / or
[0009] When the frequency is less than a second preset threshold, the wavelength channels in the first configuration information are reduced.
[0010] In some embodiments, the method further comprises: Receive first configuration information, second configuration information and / or third configuration information sent by the network device.
[0011] In a second aspect, the present invention provides a method for managing ONU alarms based on wavelength, which is applied to ONU, comprising: Receiving first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types; Determine a target wavelength channel for reporting alarm information based on the first configuration information; The alarm information is reported to the OLT via the target wavelength channel.
[0012] In some embodiments, determining a target wavelength channel for reporting alarm information based on the first configuration information includes: In a case where the first configuration information includes the alarm type of the alarm information, the target wavelength channel is determined to be the wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
[0013] In a third aspect, the present invention provides a device for managing ONU alarms based on wavelength, comprising: A first sending module, used for sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; The first receiving module is used to receive the alarm information sent by the ONU and reported through the target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0014] In a fourth aspect, the present invention provides a device for managing ONU alarms based on wavelength, comprising: A second receiving module is used to receive first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types; A determination module, configured to determine a target wavelength channel used for reporting alarm information based on the first configuration information; The second sending module is used to report the alarm information to the OLT through the target wavelength channel.
[0015] In a fifth aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for managing ONU alarms based on wavelength as described in any one of the above is implemented.
[0016] In a sixth aspect, a non-transitory computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the above-described methods for managing ONU alarms based on wavelength.
[0017] In a seventh aspect, the present invention further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for managing ONU alarms based on wavelength as described in any one of the above is implemented.
[0018] The method, device and electronic device for managing ONU alarm based on wavelength provided by the present invention include: OLT sends first configuration information to optical network unit ONU, and the first configuration information includes wavelength channel information corresponding to different alarm types; ONU determines the target wavelength channel based on the first configuration information, and OLT receives the alarm information reported by the ONU through the target wavelength channel. The characteristics of multi-wavelength transmission are utilized, and the wavelength channel used by the alarm information is determined through the configuration information. The ONU reports the alarm information according to the wavelength channel, so that the alarm information will not occupy too much bandwidth when there are too many alarm information, and will not affect the bandwidth usage of normal data, thereby ensuring normal data transmission and improving communication quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 This is one of the flow charts of the method for managing ONU alarms based on wavelength provided by the present invention.
[0021] Figure 2 This is the second flow chart of the method for managing ONU alarms based on wavelength provided by the present invention.
[0022] Figure 3This is one of the structural schematic diagrams of the device for managing ONU alarms based on wavelength provided by the present invention.
[0023] Figure 4 This is the second structural schematic diagram of the device for managing ONU alarms based on wavelength provided by the present invention.
[0024] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] Figure 1 FIG. 1 is one of the flow charts of the method for managing ONU alarm based on wavelength provided by the present invention, such as Figure 1 As shown, the present invention provides a method for managing ONU alarms based on wavelength, and the execution subject may be an OLT. The method comprises: Step 101: Send first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types.
[0027] Specifically, the first configuration information may be wavelength and ONU alarm message reporting configuration information, which is pre-configured for the OLT.
[0028] After the ONU device is registered and goes online, the OLT and the ONU automatically send the first configuration information to the ONU through the extended dynamic communication wavelength protocol (EDWP) based on the Multi-Point Control Protocol (MPCP) or the Physical Layer Operations, Administration and Maintenance (PLOAM) to indicate the wavelength channels that can be selected for the alarm information of different alarm types of the ONU.
[0029] The first configuration information includes information such as wavelength channel information corresponding to different alarm types, and is used to provide the ONU with available wavelength channel information for reporting alarm information.
[0030] For example, Table 1 is a wavelength and ONU alarm message reporting configuration table: Table 1 Wavelength and ONU alarm message reporting configuration table
[0031] As shown in Table 1, the wavelength and ONU alarm message reporting configuration table (ie, first configuration information) includes multiple alarm types and their bound available wavelength channels, as well as the name of the alarm information and its unique identifier (ID), the alarm level, and the alarm monitoring switch.
[0032] On the ONU side: the ONU receives the first configuration information sent by the OLT; Determine a target wavelength channel for reporting alarm information based on the first configuration information; The alarm information is reported to the OLT via the target wavelength channel.
[0033] Specifically, the ONU receives the first configuration information sent by the OLT, writes the first configuration information locally, and responds to the OLT that the configuration is successful. When the ONU subsequently reports the alarm information, it reports it according to the wavelength channel corresponding to the configuration table.
[0034] After detecting an abnormal situation in the network environment, the ONU generates alarm information, determines the wavelength channel used to report the alarm information based on the first configuration information, that is, obtains the target wavelength channel, and then reports the alarm information to the OLT through the target wavelength channel.
[0035] In some embodiments, determining a target wavelength channel for reporting alarm information based on the first configuration information includes: In a case where the first configuration information includes the alarm type of the alarm information, the target wavelength channel is determined to be the wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
[0036] Specifically, after the ONU generates the alarm information, it first considers obtaining the wavelength channel corresponding to the alarm information from the first configuration information. If the first configuration information contains the alarm type of the alarm information, that is, the first configuration information is bound to the corresponding alarm type and wavelength channel, then the corresponding wavelength channel in the first configuration information is used as the target wavelength channel, and the alarm information is reported to the OLT through the target wavelength channel.
[0037] If the first configuration information does not contain the alarm type of the alarm information, the alarm information is reported to the OLT in a conventional OMCI manner, that is, the target wavelength channel is the upstream wavelength channel determined in an existing manner.
[0038] Step 102: Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0039] Specifically, the OLT receives the alarm information sent by the ONU and reported through the target wavelength channel, and completes the reporting of the alarm information.
[0040] The method for managing ONU alarms based on wavelength provided in the embodiment of the present application is as follows: OLT sends first configuration information to the optical network unit ONU, and the first configuration information includes wavelength channel information corresponding to different alarm types; ONU determines the target wavelength channel based on the first configuration information, and OLT receives the alarm information sent by ONU and reported through the target wavelength channel. The characteristics of multi-wavelength transmission are utilized, and the wavelength channel used by the alarm information is determined through the configuration information. The ONU reports the alarm information according to the wavelength channel, so as to avoid the alarm information occupying too much bandwidth when there are too many alarm information, and will not affect the bandwidth usage of normal data, thereby ensuring normal data transmission and improving the communication quality.
[0041] In some embodiments, the method further comprises: Determine, according to the second configuration information, a target alarm processing method identifier corresponding to the alarm information; the second configuration information includes alarm processing method identifiers corresponding to different alarm information; The alarm processing method corresponding to the target alarm processing method identifier is executed according to the third configuration information; the third configuration information includes alarm processing methods corresponding to different alarm processing method identifiers.
[0042] Specifically, after receiving the alarm information sent by the ONU, the OLT also performs automatic alarm processing based on the alarm information.
[0043] First, the target alarm processing method identifier corresponding to the alarm information is determined according to the second configuration information, and then the alarm processing method indicated by the target alarm processing method identifier is determined according to the third configuration information, and the alarm processing method / task is automatically executed.
[0044] The second configuration information and the third configuration information are pre-configured for the OLT. The second configuration information may be an ONU alarm and automatic processing binding table, which includes alarm processing method identifiers corresponding to different alarm information. Table 2 is an ONU alarm and automatic processing binding table: Table 2 ONU alarm and automatic processing binding table
[0045] As shown in Table 2, the second configuration information may include the ID of the alarm information and the automatic processing method ID bound thereto.
[0046] The third configuration information may be an ONU alarm automatic processing configuration table, and the third configuration information includes alarm processing methods corresponding to different alarm processing method identifiers. Table 3 is an ONU alarm automatic processing configuration table: Table 3 is the ONU alarm automatic processing configuration table
[0047] As shown in Table 3, the third configuration information may include different alarm processing method IDs and their corresponding specific alarm processing methods or tasks, such as sending dynamic bandwidth allocation adjustment messages to ONUs, backing up ONU configuration information, etc. The third configuration information may also include alarm automatic processing names, etc.
[0048] For example, the OLT receives the alarm information sent by the ONU, the ID of the alarm information is 1101, and from the second configuration information such as the ONU alarm and automatic processing binding table, it can be known that the automatic processing mode ID associated or bound to 1101 is 2. From the third configuration information such as the ONU alarm automatic processing configuration table, it can be known that the automatic processing mode with ID 2 is to automatically switch redundant lines, automatically execute corresponding tasks, and then quickly respond to the alarm situation of the ONU to complete the alarm processing.
[0049] The wavelength-based ONU alarm management method provided in the embodiment of the present application is that after the OLT receives the alarm information sent by the ONU, it searches the automatic processing method for the alarm information from the configuration table pre-configured on the OLT and executes the processing task, thereby realizing the automatic processing of the alarm information and ensuring that the alarm can be handled in a timely and effective manner.
[0050] In some embodiments, the method further comprises: The first configuration information is updated based on the frequency at which the ONU sends alarm information.
[0051] Specifically, the first configuration information can be updated according to the real-time alarm situation, and the update may include adding new information and deleting information. The first configuration information is updated based on the frequency of the ONU sending the alarm information, that is, the frequency of the ONU sending the alarm information is judged, and whether the wavelength array and the wavelength channel in the first configuration information need to be updated according to the judgment result.
[0052] In some embodiments, the updating of the first configuration information based on the frequency of the ONU sending the alarm information includes: When the frequency is greater than a first preset threshold, expanding the wavelength channel in the first configuration information; and / or
[0053] When the frequency is less than a second preset threshold, the wavelength channels in the first configuration information are reduced.
[0054] Specifically, it is determined whether the frequency of the ONU sending the alarm information is greater than the first preset threshold. If the frequency of the ONU sending the alarm information is greater than the first preset threshold, it indicates that the ONU has a large number of abnormal alarms or the alarm frequency is too high, then the OLT can automatically expand the wavelength array in the first configuration information and increase the wavelength channel for alarm reporting. The first preset threshold is preset and can be set according to historical experience.
[0055] It is determined whether the frequency of the ONU sending the alarm information is less than the second preset threshold. If the frequency of the ONU sending the alarm information is less than the second preset threshold, it indicates that the frequency of the ONU alarm is very small, and the OLT can automatically recycle the wavelength channel in the first configuration information. The second preset threshold is also preset and can be set according to historical experience.
[0056] Furthermore, the OLT also sends the updated first configuration information to the ONU, thereby achieving the purpose of dynamically adjusting the wavelength channel used by the ONU to report the alarm information.
[0057] The wavelength-based ONU alarm management method provided in the embodiment of the present application enables the OLT to automatically expand and automatically recycle wavelengths and wavelength channels in the ONU alarm message reporting configuration table according to real-time alarm conditions, thereby better coordinating resource allocation and avoiding resource waste.
[0058] In some embodiments, the method further comprises: Receive first configuration information, second configuration information and / or third configuration information sent by the network device.
[0059] Specifically, after the ONU registers and goes online, the OLT pre-adds a predetermined configuration, that is, receives configuration information sent by the network device, including the first configuration information, the second configuration information and / or the third configuration information.
[0060] When a custom alarm type and automatic processing method are added to the ONU, the network configures / sends the newly added ONU alarm type, adjusts the alarm severity level, and automatically processes the alarm to the OLT to update the configuration information. That is, only new configuration needs to be added on the OLT to realize the subsequent recognition of the custom alarm and complete the automatic processing of the ONU alarm.
[0061] The wavelength-based ONU alarm management method provided in the embodiment of the present application utilizes the characteristics and advantages of multi-wavelength transmission, and dynamically adjusts various types of ONU alarm information to be reported through different wavelength channels in a configurable manner, thereby solving the problem of excessive ONU alarm information occupying bandwidth and affecting normal data transmission. The OLT end adopts a configurable parsing and processing mechanism for the alarm reported by the ONU, and can flexibly respond to new ONU alarm types, adjust alarm severity levels, and automatically process alarms in different scenarios without modifying the software, making system maintenance and expansion simpler and more efficient.
[0062] Figure 2 FIG. 2 is a flow chart of the method for managing ONU alarm based on wavelength provided by the present invention, as shown in FIG. Figure 2 As shown, the present invention provides a method for managing ONU alarms based on wavelength, and the execution subject can be ONU. The method includes: Step 201: Receive first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types.
[0063] Step 202: Determine a target wavelength channel for reporting alarm information based on the first configuration information.
[0064] Step 203: Report alarm information to the OLT via the target wavelength channel.
[0065] In some embodiments, determining a target wavelength channel for reporting alarm information based on the first configuration information includes: In a case where the first configuration information includes the alarm type of the alarm information, the target wavelength channel is determined to be the wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
[0066] Specifically, the method for managing ONU alarms based on wavelength provided by the present invention can refer to the above-mentioned method embodiment for managing ONU alarms based on wavelength in which the execution subject is OLT, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the above-mentioned corresponding method embodiments will not be described in detail here.
[0067] Figure 3 FIG. 1 is one of the structural diagrams of the device for managing ONU alarm based on wavelength provided by the present invention, such as Figure 3 As shown, the present invention provides a device for managing ONU alarms based on wavelength, including a first sending module 301 and a first receiving module 302 .
[0068] The first sending module 301 is used to send first configuration information to the optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types.
[0069] The first receiving module 302 is used to receive the alarm information sent by the ONU and reported through the target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0070] In some embodiments, it also includes: A second determination module is used to determine a target alarm processing method identifier corresponding to the alarm information according to second configuration information; the second configuration information contains alarm processing method identifiers corresponding to different alarm information; An execution module is used to execute the alarm processing method corresponding to the target alarm processing method identifier according to third configuration information; the third configuration information contains alarm processing methods corresponding to different alarm processing method identifiers.
[0071] In some embodiments, it also includes: An update module is used to update the first configuration information based on the frequency of the ONU sending alarm information.
[0072] In some embodiments, the update module includes: A first updating unit is configured to expand the wavelength channel in the first configuration information when the frequency is greater than a first preset threshold; and / or
[0073] The second updating unit is configured to reduce the wavelength channels in the first configuration information when the frequency is less than a second preset threshold.
[0074] In some embodiments, it also includes: The third receiving module is used to receive the first configuration information, the second configuration information and / or the third configuration information sent by the network device.
[0075] Specifically, the above-mentioned device for managing ONU alarms based on wavelength provided by the present invention can implement all the method steps implemented by the above-mentioned method embodiment for managing ONU alarms based on wavelength in which the execution subject is OLT, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0076] Figure 4 FIG. 2 is a second structural diagram of the device for managing ONU alarm based on wavelength provided by the present invention, as shown in FIG. Figure 4 As shown, the present invention provides a device for managing ONU alarms based on wavelength, including a second receiving module 401 , a first determining module 402 and a second sending module 403 .
[0077] The second receiving module 401 is used to receive first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types; The first determination module 402 is used to determine the target wavelength channel used for reporting the alarm information based on the first configuration information; The second sending module 403 is used to report the alarm information to the OLT through the target wavelength channel.
[0078] In some embodiments, the first determining module 402 includes: A determining unit is configured to determine, when the first configuration information includes an alarm type of the alarm information, that the target wavelength channel is a wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
[0079] Specifically, the above-mentioned device for managing ONU alarms based on wavelength provided by the present invention can implement all the method steps implemented by the above-mentioned method embodiment for managing ONU alarms based on wavelength in which the execution subject is ONU, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0080] It should be noted that the division of units / modules in the above-mentioned embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, the functional units in the various embodiments of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0081] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor 501, a communications interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communications interface 502, and the memory 503 communicate with each other through the communication bus 504. The processor 501 may call the logic instructions in the memory 503 to execute the method for managing ONU alarms based on wavelengths with the OLT as the execution subject or the method for managing ONU alarms based on wavelengths with the ONU as the execution subject. The method for managing ONU alarms based on wavelengths with the OLT as the execution subject includes: Sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0082] In some embodiments, the method further comprises: Determine, according to the second configuration information, a target alarm processing method identifier corresponding to the alarm information; the second configuration information includes alarm processing method identifiers corresponding to different alarm information; The alarm processing method corresponding to the target alarm processing method identifier is executed according to the third configuration information; the third configuration information includes alarm processing methods corresponding to different alarm processing method identifiers.
[0083] In some embodiments, the method further comprises: The first configuration information is updated based on the frequency at which the ONU sends alarm information.
[0084] In some embodiments, the updating of the first configuration information based on the frequency of the ONU sending the alarm information includes: When the frequency is greater than a first preset threshold, expanding the wavelength channel in the first configuration information; and / or
[0085] When the frequency is less than a second preset threshold, the wavelength channels in the first configuration information are reduced.
[0086] In some embodiments, the method further comprises: Receive first configuration information, second configuration information and / or third configuration information sent by the network device.
[0087] The method for managing ONU alarm based on wavelength, in which the execution subject is ONU, includes: Receiving first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types; Determine a target wavelength channel for reporting alarm information based on the first configuration information; The alarm information is reported to the OLT via the target wavelength channel.
[0088] In some embodiments, determining a target wavelength channel for reporting alarm information based on the first configuration information includes: In a case where the first configuration information includes the alarm type of the alarm information, the target wavelength channel is determined to be the wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
[0089] Specifically, the processor 501 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the processor may also adopt a multi-core architecture.
[0090] The logic instructions in the memory 503 can be implemented in the form of software functional units and can be stored in a processor-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0091] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the wavelength-based ONU alarm management method provided by the above-mentioned method embodiments, the method comprising: Sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0092] Specifically, the above-mentioned computer program product provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0093] In some embodiments, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program is used to enable a computer to execute the method for managing ONU alarms based on wavelength provided in the above-mentioned method embodiments, the method comprising: Sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
[0094] Specifically, the above-mentioned computer-readable storage medium provided by the present invention can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effects. The parts and beneficial effects that are the same as the method embodiments in this embodiment will not be described in detail here.
[0095] It should be noted that the computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0096] It should also be noted that the terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are usually of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0097] In the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0098] In the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar to them.
[0099] In the present invention, "determine B based on A" means that the factor A should be considered when determining B. It is not limited to "B can be determined based on A alone", but should also include: "determine B based on A and C", "determine B based on A, C and E", "determine C based on A, and further determine B based on C", etc. In addition, it can also include taking A as a condition for determining B, for example, "when A meets the first condition, use the first method to determine B"; for another example, "when A meets the second condition, determine B", etc.; for another example, "when A meets the third condition, determine B based on the first parameter", etc. Of course, it can also be a condition that takes A as a factor for determining B, for example, "when A meets the first condition, use the first method to determine C, and further determine B based on C", etc.
[0100] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.
[0101] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0102] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0103] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0104] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for managing ONU alarms based on wavelength, characterized in that: Applied to optical line terminal OLT, including: Sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; Receive alarm information sent by the ONU and reported through a target wavelength channel; the target wavelength channel is determined based on the first configuration information.
2. The method for managing ONU alarms based on wavelength according to claim 1, characterized in that: The method further comprises: Determine, according to the second configuration information, a target alarm processing method identifier corresponding to the alarm information; the second configuration information includes alarm processing method identifiers corresponding to different alarm information; The alarm processing method corresponding to the target alarm processing method identifier is executed according to the third configuration information; the third configuration information includes alarm processing methods corresponding to different alarm processing method identifiers.
3. The method for managing ONU alarms based on wavelength according to claim 1, characterized in that: The method further comprises: The first configuration information is updated based on the frequency at which the ONU sends alarm information.
4. The method for managing ONU alarms based on wavelength according to claim 3, characterized in that: The updating of the first configuration information based on the frequency of the ONU sending the alarm information includes: When the frequency is greater than a first preset threshold, expanding the wavelength channel in the first configuration information; and / or When the frequency is less than a second preset threshold, the wavelength channels in the first configuration information are reduced.
5. The method for managing ONU alarms based on wavelength according to any one of claims 1 to 4, characterized in that: The method further comprises: Receive first configuration information, second configuration information and / or third configuration information sent by the network device.
6. A method for managing ONU alarms based on wavelength, characterized in that: Applied to ONU, including: Receiving first configuration information sent by the OLT; the first configuration information includes wavelength channel information corresponding to different alarm types; Determine a target wavelength channel for reporting alarm information based on the first configuration information; The alarm information is reported to the OLT via the target wavelength channel.
7. The method for managing ONU alarms based on wavelength according to claim 6, characterized in that: The determining, based on the first configuration information, a target wavelength channel for reporting alarm information includes: In a case where the first configuration information includes the alarm type of the alarm information, the target wavelength channel is determined to be the wavelength channel corresponding to the alarm type of the alarm information in the first configuration information.
8. A device for managing ONU alarms based on wavelength, characterized in that: include: A first sending module, used for sending first configuration information to an optical network unit ONU; the first configuration information includes wavelength channel information corresponding to different alarm types; A first receiving module is used to receive the alarm information sent by the ONU and reported through the target wavelength channel; The target wavelength channel is determined based on the first configuration information.
9. A device for managing ONU alarms based on wavelength, characterized in that: include: A second receiving module, used to receive first configuration information sent by the OLT; The first configuration information includes wavelength channel information corresponding to different alarm types; A first determining module, configured to determine a target wavelength channel used for reporting alarm information based on the first configuration information; The second sending module is used to report the alarm information to the OLT through the target wavelength channel.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for managing ONU alarms based on wavelength as described in any one of claims 1 to 7 is implemented.