Energy saving configuration method and device of passive optical network and storage medium
By sending energy-saving control messages with operating parameters to the ONU via the OLT, the OLT and ONU can be configured, which solves the problem of high energy consumption in passive optical networks and enables flexible adjustment of operating status and energy-saving optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2021-12-30
- Publication Date
- 2026-07-03
AI Technical Summary
Passive optical networks (PONs) have complex functions, a large number of devices, and high energy consumption. How to flexibly adjust their working status to optimize energy consumption has become a concern.
The OLT sends an energy-saving control message to the ONU, carrying the first and second operating parameters of the channel pair. The OLT and ONU are configured according to these parameters to achieve flexible adjustment of the operating status.
It enables flexible configuration and adjustment of operating parameters in passive optical networks, reduces the complexity of energy-saving optimization, and improves energy-saving efficiency.
Smart Images

Figure CN116419101B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and more specifically, to an energy-saving configuration method, apparatus and storage medium for passive optical networks. Background Technology
[0002] With the development and maturation of optical communication technology, more and more wired access networks are adopting Passive Optical Network (PON) technology. For example, WDM-PON technology, which combines Wavelength Division Multiplexing (WDM) technology with PON, does not require additional fiber optic lines to the PON system. It offers advantages such as significantly increasing the transmission bandwidth of the access network and supporting ONU devices at different speeds, making it a focus of attention and research in higher-speed PON systems and multi-service access scenarios. However, as users' demands for bandwidth and service types continue to increase, the functions of access devices in passive optical network systems are becoming increasingly complex, the number of access devices is increasing, and the total transmit power of Optical Line Terminals (OLTs) and Optical Network Units (ONUs) is also rising, leading to a rapid increase in the energy consumption of the entire access system. Therefore, how to flexibly adjust the operating state of passive optical networks to effectively optimize their energy consumption has become a key concern for both operators and equipment manufacturers. Summary of the Invention
[0003] This invention provides an energy-saving configuration method, apparatus, and storage medium for passive optical networks, at least addressing the problem of how to flexibly adjust the operating state of passive optical networks in related technologies.
[0004] According to some embodiments of the present invention, an energy-saving configuration method for a passive optical network is provided, comprising: an OLT sending an energy-saving control message or message group to an ONU, wherein the energy-saving control message or message group includes a first operating parameter and a second operating parameter of a channel pair (CP) between the OLT and the ONU; and the OLT configuring itself according to the first operating parameter or the second operating parameter.
[0005] In at least one exemplary embodiment, the first operating parameter is the operating parameter of the CP in the target energy-saving state; the second operating parameter is the operating parameter of the CP in the original state or the original energy-saving state.
[0006] In at least one exemplary embodiment, configuring the OLT according to the first operating parameter or the second operating parameter includes: when the energy-saving control message or message group is used for energy-saving adjustment, the OLT is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the OLT is configured according to the second operating parameter.
[0007] In at least one exemplary embodiment, configuring the OLT according to the first operating parameter includes: configuring the OLT according to the first operating parameter when the OLT receives an energy-saving adjustment response message returned by the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment; or, configuring the OLT according to the second operating parameter includes: configuring the OLT according to the second operating parameter when the OLT receives an energy-saving shutdown or maintain original energy-saving state response message returned by the ONU within a second predetermined time period after sending the energy-saving control message or message group for energy-saving shutdown or maintain original energy-saving state.
[0008] In at least one exemplary embodiment, the method further includes: if no energy-saving adjustment response message is received from the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment, the OLT sends the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state to the ONU; or, if no energy-saving shutdown or maintaining the original energy-saving state response message is received from the ONU within a second predetermined time period after sending the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state, the OLT again sends the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state to the ONU.
[0009] In at least one exemplary embodiment, after the OLT configures itself according to the first operating parameters, the method further includes: the OLT sending a clock synchronization message to the ONU and receiving a synchronization response message returned by the ONU; if the synchronization response message indicates successful synchronization, the OLT transmits data with the ONU through the CP according to the first operating parameters; if the synchronization response message indicates synchronization failure, the OLT sends the energy-saving control message or message group to the ONU for power saving shutdown or maintaining the original energy-saving state; or, after the OLT configures itself according to the second operating parameters, the method further includes: the OLT sending a clock synchronization message to the ONU and receiving a synchronization response message returned by the ONU; if the synchronization response message indicates successful synchronization, the OLT transmits data with the ONU through the CP according to the second operating parameters; if the synchronization response message indicates synchronization failure, the OLT again sends the energy-saving control message or message group to the ONU for power saving shutdown or maintaining the original energy-saving state.
[0010] In at least one exemplary embodiment, the energy-saving control message or message group further includes at least one of the following: an energy-saving mode state, wherein the energy-saving mode state is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state; a status flag, wherein the status flag is used to indicate the step to which the energy-saving control message or message group currently belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
[0011] In at least one exemplary embodiment, both the first operating parameter and the second operating parameter include at least one of the following: line speed and operating wavelength.
[0012] In at least one exemplary embodiment, the method further includes one of the following: the OLT receives a regulation strategy for energy-saving regulation of the CP specified manually, and generates the energy-saving control message or message group for energy-saving regulation based on the regulation strategy; the OLT determines energy-saving regulation for the CP based on the load of the CP, selects a regulation strategy for energy-saving regulation, and generates the energy-saving control message or message group for energy-saving regulation based on the regulation strategy; the OLT receives the regulation strategy for energy-saving regulation of the CP sent by the network management system after determining energy-saving regulation for the CP based on the load of the CP and selecting a regulation strategy for energy-saving regulation, and generates the energy-saving control message or message group for energy-saving regulation based on the regulation strategy.
[0013] In at least one exemplary embodiment, before manually specifying the adjustment strategy for energy saving adjustment of the CP or determining energy saving adjustment for the CP based on the load of the CP, the method further includes: determining that a first condition is met, wherein the first condition includes at least one of the following: the current time meets the energy saving time parameter configured by the network management; the OLT and / or the ONU is located in the area range defined by the device area parameter configured by the network device; the OLT and / or the ONU belongs to the type range defined by the device type parameter configured by the network device; the OLT and / or the ONU supports energy saving adjustment.
[0014] In at least one exemplary embodiment, determining to perform energy-saving adjustment for the CP based on the load of the CP includes: determining to perform energy-saving adjustment for the CP if a second condition is met based on the load of the CP, wherein the second condition includes: the load of the CP is below a load threshold.
[0015] In at least one exemplary embodiment, the adjustment strategy includes one of the following: adjusting the line rate of the CP; adjusting the CP to enter sleep mode; adjusting the line rate and operating wavelength of the CP.
[0016] In at least one exemplary embodiment, selecting the adjustment strategy for energy-saving adjustment includes: selecting the adjustment strategy for energy-saving adjustment based on a third condition, wherein the third condition includes at least one of the following: when the load of the CP meets the CP hibernation condition, selecting an adjustment strategy to adjust the CP to enter hibernation; when there are other wavelength channels with optical link power levels lower than the current optical link power level of the CP, selecting an adjustment strategy to adjust the operating wavelength of the CP, wherein after adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels; when there are no other wavelength channels with optical link power levels lower than the current optical link power level of the CP, and there are other line rates lower than the current line rate that can meet the current CP load transmission, selecting an adjustment strategy to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
[0017] In at least one exemplary embodiment, the method further includes one of the following: the OLT receives an instruction manually specified for power-saving shutdown or maintaining the original power-saving state of the CP, and generates the power-saving control message or message group for power-saving shutdown or maintaining the original power-saving state based on the instruction; the OLT determines that the current power-saving conditions are not met, and generates the power-saving control message or message group for power-saving shutdown; the OLT receives an instruction for power-saving shutdown of the CP sent by the network management system after determining that the current power-saving conditions are not met, and generates the power-saving control message or message group for power-saving shutdown based on the instruction.
[0018] In at least one exemplary embodiment, the energy-saving conditions include a first condition, a second condition, and a third condition, wherein the first condition includes at least one of the following: the current time meets the energy-saving time parameters configured by the network management system; the OLT and / or the ONU is located within the area range defined by the device area parameters configured by the network device; the OLT and / or the ONU belongs to the type range defined by the device type parameters configured by the network device; the OLT and / or the ONU supports energy-saving adjustment; the second condition includes that the load of the CP is lower than the load threshold; the third condition includes at least one of the following: when the load of the CP meets the CP sleep condition, selecting an adjustment strategy to adjust the CP to enter sleep mode; when there are other wavelength channels with optical link power levels lower than the current optical link power level of the CP, selecting an adjustment strategy to adjust the operating wavelength of the CP, wherein after adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels; when there are no other wavelength channels with optical link power levels lower than the current optical link power level of the CP, and there are other line rates lower than the current line rate that can be used to transmit the current CP load, selecting an adjustment strategy to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
[0019] According to some embodiments of the present invention, an energy-saving configuration method for a passive optical network is provided, comprising: an ONU receiving an energy-saving control message or message group sent by an OLT, wherein the energy-saving control message or message group includes a first operating parameter and a second operating parameter of a channel pair CP between the OLT and the ONU; and the ONU configuring itself according to the first operating parameter or the second operating parameter.
[0020] In at least one exemplary embodiment, the first operating parameter is the operating parameter of the CP in the target energy-saving state; the second operating parameter is the operating parameter of the CP in the original state or the original energy-saving state.
[0021] In at least one exemplary embodiment, configuring the ONU according to the first operating parameter or the second operating parameter includes: when the energy-saving control message or message group is used for energy-saving adjustment, the ONU is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the ONU is configured according to the second operating parameter.
[0022] In at least one exemplary embodiment, configuring the ONU according to the first operating parameters includes: the ONU parsing the energy-saving control message or message group for energy-saving adjustment, returning an energy-saving adjustment response message to the OLT, and then configuring the ONU according to the first operating parameters; or, configuring the ONU according to the second operating parameters includes: the ONU parsing the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state, returning an energy-saving shutdown or maintaining the original energy-saving state response message to the OLT, and then configuring the ONU according to the second operating parameters.
[0023] In at least one exemplary embodiment, the method further includes: the ONU receiving a clock synchronization message sent by the OLT; the ONU performing clock synchronization based on the clock synchronization message and returning a synchronization response message to the OLT, wherein the synchronization response message indicates whether synchronization was successful or failed.
[0024] In at least one exemplary embodiment, the energy-saving control message or message group further includes at least one of the following: an energy-saving mode state, wherein the energy-saving mode state is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state; a status flag, wherein the status flag is used to indicate the step to which the energy-saving control message or message group currently belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
[0025] According to some embodiments of the present invention, an energy-saving configuration device for a passive optical network is provided, applied to an OLT. The device includes: a first transmitting module, configured to transmit an energy-saving control message or message group to an ONU, wherein the energy-saving control message or message group includes a first operating parameter and a second operating parameter of the channel pair CP between the OLT and the ONU; and a first configuration module, configured to configure the OLT according to the first operating parameter or the second operating parameter.
[0026] According to some embodiments of the present invention, an energy-saving configuration device for a passive optical network is provided, applied to an ONU. The device includes: a first receiving module for receiving an energy-saving control message or message group sent by an OLT, wherein the energy-saving control message or message group includes a first operating parameter and a second operating parameter of the channel pair CP between the OLT and the ONU; and a second configuration module for configuring the ONU according to the first operating parameter or the second operating parameter.
[0027] According to some embodiments of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when it is run.
[0028] According to some embodiments of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0029] This invention allows the OLT to send energy-saving control messages or message groups to the ONU, carrying first and second operating parameters for the channel pair between the OLT and ONU. This enables both the ONU and OLT to configure CP-related operating parameters based on either the first or second operating parameters. Therefore, it solves the problem of flexible adjustment of operating states in passive optical networks (PONs), achieving flexible configuration and adjustment of operating parameters and reducing the complexity of energy-saving optimization in PONs. Attached Figure Description
[0030] Figure 1 This is a block diagram of a WDM-PON energy-saving system according to an embodiment of the present invention, which describes an energy-saving configuration method for a passive optical network.
[0031] Figure 2 This is a basic structural block diagram of a network element in a passive optical network system according to an embodiment of the present invention;
[0032] Figure 3 A flowchart of an energy-saving configuration method for a passive optical network operating on an OLT according to an embodiment of the present invention;
[0033] Figure 4 A flowchart of an energy-saving configuration method for a passive optical network operating at an ONU according to an embodiment of the present invention;
[0034] Figure 5 This is a structural block diagram of an energy-saving configuration device for a passive optical network applied to an OLT according to an embodiment of the present invention;
[0035] Figure 6 This is a structural block diagram of an energy-saving configuration device for a passive optical network applied to an ONU according to an embodiment of the present invention;
[0036] Figure 7 This is a schematic diagram illustrating the relationship between the three decision conditions for energy-saving regulation according to an embodiment of the present invention;
[0037] Figure 8 This is a schematic diagram illustrating the relationship between the three decision conditions for energy-saving shutdown or maintaining the original energy-saving state according to an embodiment of the present invention;
[0038] Figure 9 This is a flowchart illustrating the process of adjusting the working mode between the OLT and ONU according to an embodiment of the present invention;
[0039] Figure 10 This is a state diagram illustrating the adjustment of the working mode between the OLT and ONU according to an embodiment of the present invention;
[0040] Figure 11 This is a diagram of an energy-saving device for a WDM-PON system according to an embodiment of the present invention;
[0041] Figure 12 This is a schematic diagram of an energy-saving module for a WDM-PON system according to an embodiment of the present invention;
[0042] Figure 13 This is a flowchart of channel pair speed reduction and energy saving according to exemplary embodiment 1 of the present invention;
[0043] Figure 14 This is a flowchart of the channel pair switching CP speed reduction and energy saving process according to exemplary embodiment 2 of the present invention;
[0044] Figure 15 This is a flowchart of channel hibernation energy saving according to exemplary embodiment 3 of the present invention. Detailed Implementation
[0045] Energy-saving technologies for PON systems (e.g., WDM-PON systems) can be approached from the following aspects:
[0046] (1) Detect the total service load of the PON system. Without reducing the service quality, migrate the ONUs under the low-load OLT port to the high-load OLT port, and set the migrated low-load OLT port to sleep mode to achieve energy saving. This method requires periodic detection of OLT load and continuous sleep (shutdown) or restart (open) of OLT ports. In complex situations where user needs are constantly changing, the energy saving effect is difficult to guarantee, and the implementation complexity is also high. In addition, this method requires the ONU to re-register before it can work normally during the energy saving process, which will interrupt the service being transmitted. Therefore, it cannot be applied to access systems that require service continuity or low latency.
[0047] (2) By detecting the occupancy rate of the active wavelengths of the OLT in the Time Division Wavelength Division Multiplexing (TWDM)-PON system, the wavelength channels with low occupancy are shut down, and the ONUs connected to them are tuned to other wavelengths for data transmission, thereby achieving energy saving. This method requires periodic detection of the OLT load and the number of uplink data units of the ONUs, and continuous closing or opening of wavelength channels. In complex situations where user needs are constantly changing, the energy-saving effect is difficult to guarantee, and the implementation complexity is also high. In addition, this method requires the ONU to re-register before it can work normally during the energy-saving process, which will interrupt the service being transmitted. Therefore, it cannot be applied to access systems that require ensuring service continuity or low latency.
[0048] (3) By adjusting the high-speed line rate to a low-speed working mode during idle periods, the power consumption of the electrical layer chip is reduced, thereby achieving energy saving and emission reduction. This method adjusts the line rate by detecting the idle and busy periods of the line, and then adjusts the power consumption of the OLT and ONU, reducing complexity. However, although this method can achieve energy saving by adjusting the rate, it does not fully consider the reusable characteristics of WDM-PON wavelength, so the energy saving effect can still be further improved.
[0049] Based on the above analysis, it can be seen that regardless of the energy-saving adjustment mechanism adopted, the following problems may be encountered, such as excessive complexity, the need to re-register the ONU during the energy-saving process, inability to be applied to low-latency systems, and low efficiency. The embodiments of the present invention provide an energy-saving configuration scheme for passive optical networks. This scheme can realize flexible configuration and adjustment of operating parameters in passive optical networks, reduce the complexity of energy-saving optimization of passive optical networks, and thus, after the system makes an energy-saving adjustment decision, or makes a decision to maintain the original energy-saving state, or makes an energy-saving shutdown decision, it can conveniently configure the desired operating parameters to achieve efficient, simple, and fast energy-saving control.
[0050] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0051] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0052] The methods and embodiments provided in this application can be executed in an OLT or ONU or a passive optical network system consisting of an OLT and ONU (e.g., a WDM-PON energy-saving system, and also applicable to other types of PON systems). Taking operation on a WDM-PON energy-saving system as an example, Figure 1 This is a block diagram of a WDM-PON energy-saving system, which is an embodiment of an energy-saving configuration method for a passive optical network according to an invention. Figure 1 As shown, this WDM-PON energy-saving system includes a network management system, an OLT, an ONU, and an optical wavelength multiplexing network. Those skilled in the art will understand that... Figure 1 The system block diagram shown is for illustrative purposes only and does not limit the composition and structure of the aforementioned WDM-PON energy-saving system. It should be noted that in this embodiment of the invention, network management is a logical network element concept. In actual implementation, network management functions can be implemented by setting up a network management device or a network management system or platform composed of a group of network management devices. Alternatively, the network management function can be deployed on other network elements (e.g., OLT), in which case the OLT simultaneously implements the network management function. Therefore, in this embodiment of the invention, network management can include at least one of the following: a network management device in a passive optical network system, a network management system in a passive optical network system, a network management platform in a passive optical network system, or a network element in a passive optical network system with network management functions (e.g., OLT, etc.).
[0053] Figure 2 This is a basic structural block diagram of a network element in a passive optical network system according to an embodiment of the present invention. For example... Figure 2 As shown, in this passive optical network system, each network element, such as an OLT or ONU, can include one or more processors 202 (processor 202 may include, but is not limited to, a microprocessor (MCU) or a field-programmable gate array (FPGA) or other processing device) and a memory 204 for storing data. The OLT and ONU may also include ports for connecting other network elements. For example, the OLT may include multiple ports for connecting multiple ONUs, as well as network management units, distribution units (DUs), etc.
[0054] The memory 204 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the energy-saving configuration method of the passive optical network in this embodiment of the invention. The processor 202 executes various functional applications and data processing by running the computer program stored in the memory 204, thereby implementing the above-described method. The memory 204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0055] This embodiment provides an energy-saving configuration method for a passive optical network running on an OLT. Figure 3 A flowchart of an energy-saving configuration method for a passive optical network operating on an OLT according to an embodiment of the present invention is shown below. Figure 3 As shown, the process includes the following steps:
[0056] In step S302, the OLT sends an energy-saving control message or message group to the ONU. The energy-saving control message or message group includes a first operating parameter and a second operating parameter for the channel pair (CP) between the OLT and the ONU. In this step, the first and second operating parameters need to be carried in the energy-saving control message or message group. When carrying the first and second operating parameters in the energy-saving control message group, some messages in the message group may carry the first operating parameter, while others may carry the second operating parameter; as long as the entire message group carries both the first and second operating parameters, it is acceptable.
[0057] The first and second operating parameters are the operating parameters of the CP. By carrying the first and second operating parameters in the energy-saving control message or message group, the operating parameters can be notified to the ONU, so that the ONU can configure the corresponding operating parameters of the CP according to the operating parameters in the energy-saving control message or message group.
[0058] The energy-saving adjustment process is essentially the configuration of operating parameters. This configuration can be a one-time configuration or repeated configurations. By sending the first and second operating parameters to the ONU in an energy-saving control message or message group, energy-saving adjustment, maintaining the original energy-saving state, or energy-saving shutdown can be achieved, because these processes are essentially implemented through the configuration of operating parameters. For example, the energy-saving adjustment process involves configuring the CP's operating parameters from one or a set of operating parameters to another or a set of operating parameters with a stronger energy-saving effect. The process of maintaining the original energy-saving state (or energy-saving callback, note that in this case, the new energy-saving operating parameters may not have been successfully configured, but rather the configuration failed during the process, so the new energy-saving operating parameters must be abandoned and the original energy-saving operating parameters must continue to be used) is the opposite. The energy-saving shutdown process involves configuring the CP's operating parameters from one or a set of operating parameters with an energy-saving effect to the original non-energy-saving state operating parameters. Which energy-saving process is implemented specifically depends on the specific operating parameters configured.
[0059] The energy-saving control message or message group includes a first operating parameter and a second operating parameter of the CP. The specific values of these two or more operating parameters can be selected according to the energy-saving strategy. The first operating parameter can be the operating parameter of the CP in the target energy-saving state; the second operating parameter can be the operating parameter of the CP in the original state or the original energy-saving state. For example, a feasible implementation is that both the first and second operating parameters are operating parameters in the energy-saving state, the first operating parameter is the operating parameter in the target energy-saving state, and the second operating parameter is the operating parameter in the original energy-saving state. The energy-saving control message or message group actually indicates the transition between two different energy-saving states. Specifically, whether it is adjusted from the first operating parameter to the second operating parameter or from the second operating parameter to the first operating parameter, it can be indicated according to the corresponding energy-saving mode status in the message, or it can be selected according to the message sending and receiving status in the energy-saving configuration process, which will be explained in detail in step S304 below.
[0060] In at least one exemplary embodiment, both the first operating parameter and the second operating parameter may include at least one of the following: line speed and operating wavelength. For example, both the first operating parameter and the second operating parameter may be line speed, or both the first operating parameter and the second operating parameter may be operating wavelength, or both the first operating parameter and the second operating parameter may include both line speed and operating wavelength.
[0061] Step S304: The OLT is configured according to the first operating parameter or the second operating parameter.
[0062] It should be noted that the CP is a pair of uplink and downlink optical link channels used to connect the OLT and ONU. The operating parameters of the CP need to be configured at both the OLT and ONU. From the OLT side, the operating parameters of the CP need to be configured on the OLT side according to the first or second operating parameters. From the ONU side, the operating parameters of the CP need to be configured on the ONU side according to the first or second operating parameters.
[0063] In at least one exemplary embodiment, depending on whether the current energy-saving control message or message group is specifically used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state, step S304 performs different configuration actions. For example:
[0064] (1) When the energy-saving control message or message group is used for energy-saving adjustment, the OLT is configured according to the first operating parameter.
[0065] As described above, the operating parameters for the CP need to be configured at both the OLT and the ONU. Whether the other end has received a configuration instruction, agreed to the configuration, or is ready to start configuration can be determined by the response message sent by the other end. Therefore, in at least one exemplary embodiment, configuring the OLT according to the first operating parameters includes: if the OLT receives an energy-saving adjustment response message returned by the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment, the OLT configures itself according to the first operating parameters.
[0066] In at least one exemplary embodiment, if no energy-saving adjustment response message is received from the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment, the OLT sends the energy-saving control message or message group to the ONU for energy-saving shutdown or maintaining the original energy-saving state.
[0067] Here, it is necessary to compare the time elapsed after sending the energy-saving control message or message group with the first predetermined duration. There are various ways to know the elapsed time. For example, the super counting frame (SFC) in the standard can be used to implement timing, or a local clock or counter can be used to implement timing, or the timestamp in the data packet can be used to implement timing. This embodiment of the invention does not limit the specific methods.
[0068] After issuing the energy-saving control message or message group, both the OLT and ONU perform configuration adjustments. However, these configurations are independent processes, and the success of the configuration can be checked through a synchronization process. The synchronization process can be initiated by the OLT. In at least one exemplary embodiment, after configuring the OLT according to the first operating parameters, the OLT sends a clock synchronization message to the ONU and receives a synchronization response message returned by the ONU. If the synchronization response message indicates successful synchronization, the OLT transmits data with the ONU through the CP according to the first operating parameters. If the synchronization response message indicates synchronization failure, the OLT sends the energy-saving control message or message group to the ONU for power-saving shutdown or maintaining the original energy-saving state.
[0069] (2) When the energy-saving control message or message group is used to turn off energy saving or maintain the original energy-saving state, the OLT is configured according to the second working parameters.
[0070] As described above, the operating parameters for the CP need to be configured at both the OLT and the ONU. Whether the other end has received a configuration instruction, agrees to the configuration, or is ready to start configuration can be determined by the response message sent by the other end. Therefore, in at least one exemplary embodiment, configuring the OLT according to the second operating parameters includes: if the OLT receives a response message from the ONU indicating that it is in a state of energy saving shutdown or maintaining the original energy saving state within a second predetermined time period after sending the energy-saving control message or message group for energy saving shutdown or maintaining the original energy saving state, the OLT is configured according to the second operating parameters.
[0071] In at least one exemplary embodiment, if no response message for energy saving or maintaining the original energy-saving state is received from the ONU within a second predetermined time period after sending the energy-saving control message or message group for energy saving shutdown or maintaining the original energy-saving state, the OLT sends the energy-saving control message or message group for energy saving shutdown or maintaining the original energy-saving state to the ONU again.
[0072] Here, it is necessary to compare the time elapsed after sending the energy-saving control message or message group with the second predetermined duration. There are various ways to know how the elapsed time is known. For example, the super counting frame (SFC) in the standard can be used to implement timing, or the local clock or counter can be used to implement timing, or the timestamp in the data packet can be used to implement timing. This embodiment of the invention does not limit the specific methods.
[0073] After issuing the energy-saving control message or message group, both the OLT and ONU perform configuration adjustments. However, these configurations are independent processes, and the success of the configuration can be checked through a synchronization process. The synchronization process can be initiated by the OLT. In at least one exemplary embodiment, after configuring the OLT according to the second operating parameters, the OLT sends a clock synchronization message to the ONU and receives a synchronization response message returned by the ONU. If the synchronization response message indicates successful synchronization, the OLT transmits data with the ONU through the CP according to the second operating parameters. If the synchronization response message indicates synchronization failure, the OLT again sends the energy-saving control message or message group to the ONU for power-saving shutdown or maintaining the original energy-saving state.
[0074] As can be seen from the above, whether it's energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state, it all involves message interaction between the OLT and ONU. From the OLT's perspective, the message interaction process in the entire passive optical network energy-saving configuration method can include sending energy-saving control messages or message groups (which may be used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state), receiving response messages (which may be energy-saving adjustment responses, energy-saving shutdown, or maintaining the original energy-saving state responses), sending clock synchronization messages, and receiving synchronization response messages (which may indicate successful synchronization or synchronization failure). Through these messages, the OLT and ONU can learn about the current configuration status of the other end. Combined with their own configuration status, they can determine what operations should be performed and what messages should be sent subsequently. Of course, this objective can also be achieved by carrying corresponding information in the messages. For example, in at least one exemplary embodiment, the energy-saving control message or message group further includes at least one of the following:
[0075] Energy-saving mode status, wherein the energy-saving mode status is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state. Through this energy-saving mode status, it can be known whether the current energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state.
[0076] A status flag, wherein the status flag is used to indicate the current step to which the energy-saving control message or message group belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
[0077] It should be noted that the energy-saving control message or message group can be one of the following messages: Physical Layer Operations, Administration and Maintenance (PLOAM) message, Operations, Administration and Maintenance (OAM) message, Optical Network Terminal Management and Control Interface (OMCI) message, TR069 (Technical Report 069) protocol message, Network Configuration Protocol (NETCONF) management model message, YANG management model message, or Simple Network Management Protocol (SNMP) message. In addition to carrying the aforementioned first operating parameters, second operating parameters, energy-saving mode status, and status flags through extensions, other parts of these messages can further adopt the message format in the standard. For example, the energy-saving control message or message group may also include at least one of the following: the ONU's identifier; a message sequence number; a message type identifier, wherein the message type identifier is used to indicate whether the energy-saving control message or message group is a command message sent by the OLT or a response message returned by the ONU; and a message check bit.
[0078] As described above, the energy-saving configuration method of this passive optical network can realize flexible configuration and adjustment of operating parameters in the passive optical network, reduce the complexity of energy-saving optimization of the passive optical network, and thus, after the system makes an energy-saving adjustment decision, or makes a decision to maintain the original energy-saving state, or makes an energy-saving shutdown decision, the desired operating parameters can be easily configured to achieve efficient, simple and fast energy-saving control.
[0079] In response to the energy-saving requirements in passive optical networks, this embodiment also describes how to perform energy-saving adjustment (including energy-saving activation and further adjustment), the decision to restore the original energy-saving state or turn it off, and how to determine which energy-saving strategy to adopt. Based on this scheme, after determining whether to activate, restore the original energy-saving state or turn off energy saving and deciding on the operating parameters to be adopted, the desired operating parameters can be configured using the aforementioned method to achieve efficient, simple and fast energy-saving control.
[0080] I. Energy-saving adjustment (including energy-saving start-up and further adjustment)
[0081] Energy-saving startup is divided into two modes: manual startup and automatic system startup. The energy-saving decision can also be made manually or automatically by the system.
[0082] In at least one exemplary embodiment, the energy-saving configuration method of the passive optical network may further include at least one of the following:
[0083] (1) The OLT receives a regulation strategy for energy-saving adjustment of the CP specified manually, and generates the energy-saving control message or message group for energy-saving adjustment based on the regulation strategy. In at least one exemplary embodiment, the regulation strategy includes one of the following: adjusting the line rate of the CP; adjusting the CP to enter sleep mode (tuning the CP to a sleep-dedicated operating wavelength and adjusting the CP rate to the sleep-dedicated line rate); adjusting the line rate and operating wavelength of the CP.
[0084] In at least one exemplary embodiment, before determining energy-saving adjustment for the CP by manually specifying the adjustment strategy to be used for energy-saving adjustment, the method may further include:
[0085] Determining that a first condition is met, wherein the first condition includes at least one of the following:
[0086] The current time meets the energy-saving time parameters configured by the network management system;
[0087] The OLT and / or the ONU are located within the area range defined by the device area parameters configured in the network device;
[0088] The OLT and / or the ONU belong to the type range defined by the device type parameter configured in the network device configuration;
[0089] The OLT and / or the ONU support energy-saving regulation.
[0090] The first condition mentioned above is mainly used to determine whether the current time, region, equipment type, and support for energy saving meet the requirements for energy-saving adjustment. For example, whether the current time to start energy saving is met (whether it falls within the energy-saving time range) and whether the equipment scope (equipment region, equipment type), etc. It should be understood that the first condition is not limited to the conditions listed above, and it can be configured according to the actual situation and needs.
[0091] (2) The OLT determines the energy-saving adjustment for the CP based on the CP's load, selects the adjustment strategy for energy-saving adjustment, and generates the energy-saving control message or message group for energy-saving adjustment based on the adjustment strategy. In at least one exemplary embodiment, the adjustment strategy includes one of the following: adjusting the line rate of the CP; adjusting the CP to enter sleep mode (tuning the CP to a dedicated sleep operating wavelength and adjusting the CP's rate to a dedicated sleep line rate); adjusting the line rate and operating wavelength of the CP.
[0092] In at least one exemplary embodiment, before the OLT determines to perform energy-saving adjustments for the CP based on the CP's load, the method may further include:
[0093] Determining that a first condition is met, wherein the first condition includes at least one of the following:
[0094] The current time meets the energy-saving time parameters configured by the network management system;
[0095] The OLT and / or the ONU are located within the area range defined by the device area parameters configured in the network device;
[0096] The OLT and / or the ONU belong to the type range defined by the device type parameter configured in the network device configuration;
[0097] The OLT and / or the ONU support energy-saving regulation.
[0098] The first condition mentioned above is mainly used to determine whether the current time, region, equipment type, and support for energy saving meet the requirements for energy-saving adjustment. For example, whether the current time to start energy saving is met (whether it falls within the energy-saving time range) and whether the equipment scope (equipment region, equipment type), etc. It should be understood that the first condition is not limited to the conditions listed above, and it can be configured according to the actual situation and needs.
[0099] In at least one exemplary embodiment, the OLT determining to perform energy-saving adjustments for the CP based on the CP's load includes: determining to perform energy-saving adjustments for the CP if a second condition is met based on the CP's load, wherein the second condition includes: the CP's load is below a load threshold, and the second condition is mainly used to determine whether energy saving should be considered for the current CP's load.
[0100] In at least one exemplary embodiment, the regulation strategy adopted for energy-saving regulation includes:
[0101] The energy-saving regulation strategy is selected based on a third condition, wherein the third condition is mainly used to select which specific regulation strategy to use for energy-saving regulation, and may include at least one of the following:
[0102] If the load of the CP meets the CP hibernation conditions, select an adjustment strategy to induce the CP to hibernate.
[0103] In the presence of other wavelength channels with optical link power levels lower than the current optical link power level of the CP, an adjustment strategy is selected to adjust the operating wavelength of the CP. After adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels. The line rate at this time is determined based on the other wavelength channels with optical power levels lower than the current optical power level of the CP. The value of the line rate may be the same as or different from the original line rate.
[0104] If there are no other wavelength channels with an optical link power level lower than the current optical link power level of the CP, and there are other line rates with lower line rates than the current line rate that can meet the current CP load transmission, an adjustment strategy is selected to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
[0105] In summary, the third condition is used to determine the optimal energy-saving method for the channel requiring energy-saving activation. At this point, the available resources of the entire WDM-PON system can be analyzed to determine the best energy-saving approach.
[0106] (3) After determining the energy-saving adjustment for the CP based on its load and selecting the adjustment strategy for energy saving, the OLT receives the adjustment strategy for energy saving of the CP and generates the energy-saving control message or message group for energy saving based on the adjustment strategy. In at least one exemplary embodiment, the adjustment strategy includes one of the following: adjusting the line rate of the CP; adjusting the CP to enter sleep mode (tuning the CP to a dedicated sleep operating wavelength and adjusting the CP's rate to the dedicated sleep line rate); adjusting the line rate and operating wavelength of the CP.
[0107] In at least one exemplary embodiment, before the network management system determines to perform energy-saving adjustments for the CP based on the CP's load, the method may further include:
[0108] Determining that a first condition is met, wherein the first condition includes at least one of the following:
[0109] The current time meets the energy-saving time parameters configured by the network management system;
[0110] The OLT and / or the ONU are located within the area range defined by the device area parameters configured in the network device;
[0111] The OLT and / or the ONU belong to the type range defined by the device type parameter configured in the network device configuration;
[0112] The OLT and / or the ONU support energy-saving regulation.
[0113] The first condition mentioned above is mainly used to determine whether the current time, region, equipment type, and support for energy saving meet the requirements for energy-saving adjustment. For example, whether the current time to start energy saving is met (whether it falls within the energy-saving time range) and whether the equipment scope (equipment region, equipment type), etc. It should be understood that the first condition is not limited to the conditions listed above, and it can be configured according to the actual situation and needs.
[0114] In at least one exemplary embodiment, the network management system determines to perform energy-saving adjustments for the CP based on the load of the CP, which includes: determining to perform energy-saving adjustments for the CP if a second condition is met based on the load of the CP, wherein the second condition includes: the load of the CP is lower than a load threshold, and the second condition is mainly used to determine whether energy saving should be considered for the current load of the CP.
[0115] In at least one exemplary embodiment, the regulation strategy adopted for energy-saving regulation includes:
[0116] The energy-saving regulation strategy is selected based on a third condition, wherein the third condition is mainly used to select which specific regulation strategy to use for energy-saving regulation, and may include at least one of the following:
[0117] If the load of the CP meets the CP hibernation conditions, select an adjustment strategy to induce the CP to hibernate.
[0118] In the presence of other wavelength channels with optical link power levels lower than the current optical link power level of the CP, an adjustment strategy is selected to adjust the operating wavelength of the CP. After adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels. The line rate at this time is determined based on the other wavelength channels with optical power levels lower than the current optical power level of the CP. The value of the line rate may be the same as or different from the original line rate.
[0119] If there are no other wavelength channels with an optical link power level lower than the current optical link power level of the CP, and there are other line rates with lower line rates than the current line rate that can meet the current CP load transmission, an adjustment strategy is selected to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
[0120] In summary, the third condition is used to determine the optimal energy-saving method for the channel requiring energy-saving activation. At this point, the available resources of the entire WDM-PON system can be analyzed to determine the best energy-saving approach.
[0121] 2. Restore the original energy-saving state or turn off energy saving.
[0122] In at least one exemplary embodiment, the energy-saving configuration method of the passive optical network may further include one of the following:
[0123] (1) The OLT receives an instruction specified manually for the CP to perform energy-saving shutdown or maintain the original energy-saving state, and generates the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state based on the instruction.
[0124] (2) The OLT determines that the current energy-saving conditions are not met and generates the energy-saving control message or message group for energy-saving shutdown.
[0125] (3) After the OLT receives the network management system and determines that the current energy-saving conditions are not met, it sends an instruction to shut down the CP for energy saving, and generates the energy-saving control message or message group for energy saving shutdown based on the instruction.
[0126] In at least one exemplary embodiment, the energy-saving conditions include a first condition, a second condition, and a third condition, wherein,
[0127] The first condition includes at least one of the following: the current time meets the energy-saving time parameters configured by the network management system; the OLT and / or the ONU is located within the area range defined by the device area parameters configured by the network device; the OLT and / or the ONU belongs to the type range defined by the device type parameters configured by the network device; the OLT and / or the ONU supports energy-saving adjustment.
[0128] The second condition includes the load of the CP being lower than the load threshold;
[0129] The third condition includes at least one of the following: when the load of the CP meets the CP sleep condition, select an adjustment strategy to adjust the CP to enter sleep mode; when there are other wavelength channels with optical link power levels lower than the current optical link power level of the CP, select an adjustment strategy to adjust the operating wavelength of the CP, wherein after adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels; when there are no other wavelength channels with optical link power levels lower than the current optical link power level of the CP, and there are other line rates lower than the current line rate that can enable the current CP load transmission, select an adjustment strategy to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0131] This embodiment provides an energy-saving configuration method for a passive optical network running on an ONU. Figure 4 A flowchart of an energy-saving configuration method for a passive optical network operating at an ONU according to an embodiment of the present invention is shown below. Figure 4 As shown, the process includes the following steps:
[0132] In step S402, the ONU receives an energy-saving control message or message group sent by the OLT. The energy-saving control message or message group includes a first operating parameter and a second operating parameter for the channel pair (CP) between the OLT and the ONU. In this step, the energy-saving control message or message group carries both the first and second operating parameters. When the first and second operating parameters are carried in the energy-saving control message group, some messages in the message group may carry the first operating parameter, while others may carry the second operating parameter; as long as the entire message group carries both the first and second operating parameters, it is acceptable.
[0133] The first and second operating parameters are the operating parameters of the CP. By carrying the first and second operating parameters in the energy-saving control message or message group, the ONU can obtain the operating parameters and configure the corresponding operating parameters of the CP according to the operating parameters in the energy-saving control message or message group.
[0134] The energy-saving adjustment process is essentially the configuration of operating parameters. This configuration can be a one-time configuration or repeated configurations. The ONU receives the first and second operating parameters through energy-saving control messages or message groups, thereby achieving energy-saving adjustment, maintaining the original energy-saving state, or turning off energy saving, because these processes are essentially implemented through the configuration of operating parameters. For example, the energy-saving adjustment process involves configuring the CP's operating parameters from one or a set of operating parameters to another or a set of operating parameters with a stronger energy-saving effect. The process of maintaining the original energy-saving state (or energy-saving callback, note that in this case, the new energy-saving operating parameters may not have been successfully configured, but rather the configuration failed during the process, so the use of the new energy-saving operating parameters must be abandoned, and the original energy-saving operating parameters must continue to be used) is the opposite. The energy-saving shutdown process involves configuring the CP's operating parameters from one or a set of operating parameters with an energy-saving effect to the original non-energy-saving state operating parameters. Which energy-saving related process is implemented specifically depends on the specific operating parameters configured.
[0135] The energy-saving control message or message group includes a first operating parameter and a second operating parameter of the CP. The specific values of these two or more operating parameters can be selected by the OLT or network management system according to the energy-saving strategy. The first operating parameter can be the operating parameter of the CP in the target energy-saving state; the second operating parameter can be the operating parameter of the CP in the original state or the original energy-saving state. For example, a feasible implementation is that both the first and second operating parameters are operating parameters in the energy-saving state, the first operating parameter is the operating parameter in the target energy-saving state, and the second operating parameter is the operating parameter in the original energy-saving state. The energy-saving control message or message group actually indicates the transition between two different energy-saving states, specifically whether to adjust from the first operating parameter to the second operating parameter or from the second operating parameter to the first operating parameter. This can be indicated according to the corresponding energy-saving mode status in the message, or it can be selected according to the message sending and receiving status in the energy-saving configuration process, which will be explained in detail in step S404 below.
[0136] In at least one exemplary embodiment, both the first operating parameter and the second operating parameter may include at least one of the following: line speed and operating wavelength. For example, both the first operating parameter and the second operating parameter may be line speed, or both the first operating parameter and the second operating parameter may be operating wavelength, or both the first operating parameter and the second operating parameter may include both line speed and operating wavelength.
[0137] Step S404: The ONU configures itself according to the first operating parameter or the second operating parameter.
[0138] It should be noted that the CP is a pair of uplink and downlink optical link channels used to connect the OLT and ONU. The operating parameters of the CP need to be configured at both the OLT and ONU. From the ONU side, the operating parameters of the CP need to be configured on the ONU side according to the first or second operating parameters. From the OLT side, the operating parameters of the CP need to be configured on the OLT side according to the first or second operating parameters.
[0139] In at least one exemplary embodiment, depending on whether the current energy-saving control message or message group is specifically used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state, step S404 performs different configuration actions. For example:
[0140] (1) When the energy-saving control message or message group is used for energy-saving adjustment, the ONU is configured according to the first operating parameter;
[0141] As described above, the operating parameters for the CP need to be configured on both the OLT and the ONU. Whether the ONU receives a configuration instruction, agrees to the configuration, or is ready to start configuration needs to be notified to the OLT by sending a response message. Therefore, in at least one exemplary embodiment, configuring the ONU according to the first operating parameters includes: the ONU parsing the energy-saving control message or message group for energy-saving adjustment, returning an energy-saving adjustment response message to the OLT, and then configuring the ONU according to the first operating parameters.
[0142] (2) When the energy-saving control message or message group is used to shut down energy saving or maintain the original energy-saving state, the ONU is configured according to the second working parameters.
[0143] As described above, the operating parameters for the CP need to be configured on both the OLT and the ONU. Whether the ONU receives a configuration instruction, agrees to the configuration, or is ready to start configuration needs to be notified to the OLT by sending a response message. Therefore, in at least one exemplary embodiment, configuring the ONU according to the second operating parameters includes: the ONU parsing the energy-saving control message or message group for power-saving shutdown or maintaining the original energy-saving state, returning a power-saving shutdown or maintaining the original energy-saving state response message to the OLT, and then configuring the ONU according to the second operating parameters.
[0144] After sending and receiving energy-saving control messages or message groups, both the OLT and ONU perform configuration adjustments independently. However, these configurations are independent processes, and the success of the configuration can be checked through a synchronization process. The synchronization process can be initiated by the OLT. Therefore, in at least one exemplary embodiment, the method may further include: the ONU receiving a clock synchronization message sent by the OLT; the ONU performing clock synchronization based on the clock synchronization message and returning a synchronization response message to the OLT, wherein the synchronization response message indicates whether synchronization was successful or failed.
[0145] As can be seen from the above, whether it's energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state, it all involves message interaction between the OLT and ONU. From the ONU's perspective, the message interaction process in the entire passive optical network energy-saving configuration method can include receiving energy-saving control messages or message groups (which may be used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state), sending response messages (which may be energy-saving adjustment responses, energy-saving shutdown, or maintaining the original energy-saving state responses), receiving clock synchronization messages, and sending synchronization response messages (which may indicate successful synchronization or synchronization failure). Through these messages, the OLT and ONU can learn about the current configuration status of the other end. Combined with their own configuration status, they can determine what operations should be performed and what messages should be sent subsequently. Of course, this objective can also be achieved by carrying corresponding information in the messages. For example, in at least one exemplary embodiment, the energy-saving control message or message group further includes at least one of the following:
[0146] Energy-saving mode status, wherein the energy-saving mode status is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state. Through this energy-saving mode status, it can be known whether the current energy-saving control message or message group is used for energy-saving adjustment, or for energy-saving shutdown or maintaining the original energy-saving state.
[0147] A status flag, wherein the status flag is used to indicate the current step to which the energy-saving control message or message group belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
[0148] It should be noted that the energy-saving control message or message group can be one of the following messages: PLOAM message, OAM message, OMCI message, TR069 protocol message, NETCONF management model message, YANG management model message, or SNMP message. In addition to carrying the aforementioned first operating parameter, second operating parameter, energy-saving mode status, and status flag through extensions, other parts of these messages can further adopt the message format in the standard. For example, the energy-saving control message or message group may also include at least one of the following: the ONU's identifier; a message sequence number; a message type identifier, wherein the message type identifier is used to indicate whether the energy-saving control message or message group is a command message sent by the OLT or a response message returned by the ONU; and a message check bit.
[0149] As described above, the energy-saving configuration method of this passive optical network can realize flexible configuration and adjustment of operating parameters in the passive optical network, reduce the complexity of energy-saving optimization of the passive optical network, and thus, after the system makes an energy-saving adjustment decision, or makes a decision to maintain the original energy-saving state, or makes an energy-saving shutdown decision, it can conveniently receive the configured operating parameters to realize the corresponding configuration, thereby achieving efficient, simple and fast energy-saving control.
[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0151] This embodiment also provides an energy-saving configuration device for a passive optical network (PON), applied to an OLT. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0152] Figure 5This is a structural block diagram of an energy-saving configuration device for a passive optical network applied to an OLT according to an embodiment of the present invention, such as... Figure 5 As shown, the device includes:
[0153] The first sending module 52 is used to send an energy-saving control message or message group to the ONU, wherein the energy-saving control message or message group includes the first and second operating parameters of the channel pair CP between the OLT and the ONU;
[0154] The first configuration module 54 is used to configure the OLT according to the first operating parameter or the second operating parameter.
[0155] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0156] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0157] This embodiment also provides an energy-saving configuration device for a passive optical network (ONU), which is applied to an ONU. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0158] Figure 6 This is a structural block diagram of an energy-saving configuration device for a passive optical network applied to an ONU according to an embodiment of the present invention, as shown below. Figure 6 As shown, the device includes:
[0159] The first receiving module 62 is used to receive energy-saving control messages or message groups sent by the OLT, wherein the energy-saving control messages or message groups include the first and second operating parameters of the channel pair CP between the OLT and the ONU.
[0160] The second configuration module 64 is used to configure the ONU according to the first operating parameters or the second operating parameters.
[0161] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0162] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0163] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0164] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0165] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0166] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0167] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0168] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0169] The following description, using a WDM-PON system as an example, details the energy-saving configuration scheme for the aforementioned passive optical network. This scheme overcomes the problems of excessive complexity in passive optical network energy-saving technologies, the need for ONU re-registration during energy saving, and the limitations of low-latency systems and low efficiency. This energy-saving configuration scheme for passive optical networks can be used... Figure 1 The system shown utilizes a network management platform to monitor or predict transmitted data traffic. Based on energy-saving decision combinations, it adjusts the line speed or operating wavelength. The adjustment process leverages the management and control channel between the OLT and ONU, and the ONU is not deactivated and re-registered throughout the entire adjustment process. The energy-saving technology of the WDM-PON system has two modes: manual activation and automatic system activation. Regardless of the activation mode, the OLT and uplink devices monitor or predict service traffic through a unified network management platform.
[0170] Figure 7 This is a schematic diagram illustrating the relationship between the three decision conditions for energy-saving regulation according to an embodiment of the present invention, as shown below. Figure 7 As shown, a WDM-PON system needs to make a three-tiered decision to determine energy-saving adjustments (including enabling energy saving and performing further energy-saving adjustments). The first decision condition is based on the energy-saving parameters configured on the network management side, the second decision condition is based on the service load of each CP, and the third decision condition is based on the available resources of the entire WDM-PON system, such as wavelength resources released after certain non-service CPs go into sleep mode.
[0171] Energy-saving adjustment is divided into three modes / levels: 1) adjusting only the CP rate, without adjusting the wavelength; 2) putting the CP channel into sleep mode; and 3) tuning the channel, i.e., adjusting the wavelength. Based on the power levels corresponding to different wavelengths at various rates, the lowest or lower rate corresponding to the wavelength to be adjusted can be selected. In this case, the rate may be the same as or different from the original rate; that is, it may or may not involve rate adjustment. It is worth noting that the above three levels of adjustment depend on system support; for example, wavelength-routing systems cannot use adjustment 3).
[0172] On the network management side (the energy-saving configuration function of the network management system can be fully integrated into the network management system, run independently, or be placed in the OLT), the energy-saving mode can be configured. This includes options such as manual or automatic energy saving, the start and end times for energy saving to take effect, the energy-saving cycle, and the monitoring granularity. If no configuration is performed, the network management system can use the default values. The start and end times for taking effect refer to the start and end times of enabling the energy-saving state, such as the relatively idle period of 01:00 to 06:00. The energy-saving cycle refers to a daily, workday, holiday, or custom date range. The monitoring granularity refers to the sampling time interval for traffic monitoring or prediction. In the manual energy-saving mode, operations such as speed adjustment and channel closure can also be performed on specified CPs. The default values are the default energy-saving parameters preset by the network management system, such as monitoring or prediction for 24 hours a day with a time granularity of 15 minutes.
[0173] In the manually activated energy-saving mode, the PON system will use this energy-saving technology process to forcibly configure the OLT and ONU with manually configured parameters, such as rate and wavelength. At this time, the second and third decision conditions will be automatically met. Conversely, in the manually deactivated energy-saving mode, the PON system will use this energy-saving technology process to restore the configuration of the OLT and ONU with the original configuration parameters.
[0174] In automatic energy-saving mode, the network management system automatically determines whether the first decision condition is met. Only when the first decision condition is met will the PON system determine the second decision condition for each CP to see if each CP meets the speed reduction condition. When there are CPs in the system that need to be adjusted to a low speed, the third decision condition will be determined.
[0175] In the third judgment condition:
[0176] If the CP hibernation conditions are met, the current transmission channel is shut down and the device is put into hibernation mode (energy saving adjustment 2).
[0177] If the channel switching conditions are met, the active ONU is tuned to the new operating wavelength to reduce the total transmit power and avoid ONU re-registration (energy saving adjustment 3). This embodiment of the invention performs wavelength tuning for the CP between the OLT and a single ONU, thereby truly realizing the tuning of a single ONU under the OLT. When a particular ONU needs wavelength tuning, that ONU can be adjusted individually, instead of all ONUs under the OLT being adjusted uniformly. After wavelength tuning, the appropriate rate can be further determined. A rate configuration table can be configured, with several rates or rate combinations available for a given wavelength. The table can be used to find the most energy-efficient rate for that wavelength.
[0178] If the second decision condition is met but the third decision condition is not met, then only the current CP is adjusted for energy saving by reducing its rate (energy saving adjustment 1). The rate adjustment should consider whether it truly achieves energy saving. For example, between the OLT and ONU, at 10G and 12.5G transmission rates, the optical power budget level is essentially the same, and rate adjustment cannot achieve energy saving. In this embodiment, it is necessary to check for each channel whether the optical power budget level can be reduced by adjusting the rate under the current load condition. Adjustment will only be made if it causes a change in power level.
[0179] Figure 8 This is a schematic diagram illustrating the relationship between the three decision conditions for energy-saving shutdown or maintaining the original energy-saving state according to an embodiment of the present invention, as shown below. Figure 8 As shown, energy saving shutdown (i.e., restoring the original non-energy-saving state) and maintaining the original energy-saving state (i.e., restoring the previous energy-saving state) can be collectively referred to as restoring the original configuration. The decision conditions for restoring the original configuration are the same as those for entering energy-saving regulation. However, if any of the first, second, or third decision conditions are not met, the CP that does not meet the conditions must be restored to the original configuration. That is, energy saving shutdown (i.e., restoring its original configuration to work in normal mode) or maintaining the original energy-saving state (i.e., restoring the previous energy-saving state) must be performed, and the next energy-saving detection and decision cycle must be re-entered.
[0180] During the process of entering energy-saving adjustment or restoring the original configuration, the OLT configures the rate and / or wavelength of the ONU through a certain management control channel. This includes increasing or decreasing the line rate between the two, enabling or disabling the sleep channel between them, and tuning the CP of the two to other CPs. Management control methods include, but are not limited to, PLOAM messages, Ethernet OAM, OMCI defined by G.988, TR069 protocol, NETCONF or YANG management model, SNMP, etc. Energy saving in WDM-PON systems is achieved by adding energy-saving messages to these management control methods. Taking PLOAM messages as an example, their exemplary definition is shown in Table 1. It should be noted that, in order to avoid system instability caused by multiple energy-saving adjustments, this technical solution must include the configuration data of the original rate and / or original wavelength. This data must either be reflected in the message content or can be mapped, or it can be directly stored in the storage module for retrieval.
[0181] Table 1 Energy Saving PLOAM Message Definitions
[0182]
[0183]
[0184] Figure 9 This is a flowchart illustrating the process of adjusting the operating mode between the OLT and ONU according to an embodiment of the present invention, as shown below. Figure 9 As shown, the message exchange process for energy-saving settings between the OLT and ONU includes:
[0185] S901, when the conditions for enabling or disabling the energy-saving mode are met, the OLT will send an energy-saving PLOAM message to the ONU;
[0186] S902, the ONU parses the PLOAM message and responds;
[0187] S903, after receiving the response message, the OLT performs energy-saving settings on the OLT side, such as adjusting the downlink line rate or shutting down the current transmission channel and using a new channel; at the same time, the ONU also needs to perform corresponding energy-saving configurations.
[0188] S904: After the OLT completes the energy-saving settings, it sends a clock synchronization message to the ONU to perform variable-rate clock synchronization. The ONU receives the clock synchronization message and completes the corresponding settings.
[0189] S905, the ONU completes clock synchronization, enters ONU power saving mode and responds to the clock synchronization PLOAM message. After receiving the ONU clock synchronization response message, the OLT also enters the corresponding power saving working state.
[0190] Figure 10 This is a state diagram illustrating the adjustment of the operating mode between the OLT and ONU according to an embodiment of the present invention, such as... Figure 10 As shown, the state transition logic of OLT and ONU during the energy-saving start-stop process is as follows.
[0191] S1 is the initial state of energy saving start / stop, which can represent the initial action of the OLT after receiving the instruction to enter or exit energy saving mode from the network management system;
[0192] S2 is the ONU configuration status, which mainly involves adjusting the ONU's operating wavelength, data rate, CP, etc.
[0193] S3 corresponds to the configuration status of the OLT;
[0194] S4 is the synchronization state of the ONU, which maintains a new clock synchronization with the OLT after the rate or wavelength adjustment.
[0195] S5 is a switching state, which can either maintain the current working state or enter a new working state with a new rate, wavelength, etc.
[0196] M1 is when the OLT sends an energy-saving PLOAM message to the ONU. After receiving the message, the ONU enters the S2 state (ONU configuration state). At this time, the OLT records the message sending time C0. After that, the OLT waits for the ONU to return a response and periodically checks the current time Cx. If the OLT still does not receive the ONU energy-saving response message when Cx - C0 > dC, the OLT will immediately enter the S5 switching state (maintain the current working state) and send the M5 message to the ONU.
[0197] M2 is the ONU's response to the OLT's energy-saving message; if the OLT has received the ONU's energy-saving response message when Cx–C0≤dC, the OLT will enter the S3 state from the initial S1 state and perform energy-saving configuration (rate and wavelength, etc.) for the corresponding channel.
[0198] M3 is a new clock synchronization message sent by the OLT to the ONU. It is sent by the OLT after the OLT completes the configuration in the S3 state. If the ONU receives this synchronization message during the configuration period, it will immediately enter the S4 state (ONU synchronization state). In the S4 state, the ONU will continuously receive the synchronization message from the OLT for several synchronization cycles and finally feed back the synchronization result to the OLT through M3.
[0199] M4 is a synchronization result message from the ONU to the OLT. If the ONU completes synchronization within the specified synchronization period, it will send a synchronization completion message to the OLT and enter the S5 switching state (entering a new working state). If synchronization is incomplete, it will send a synchronization failure message and enter the S5 switching state (maintaining the current working state). When the OLT receives the M4 message, it immediately enters the S5 switching state and, depending on whether the synchronization was successful or failed, chooses to enter a new working state or maintain the current working state.
[0200] M5 is a normal operation message sent by the OLT to the ONU; the OLT uses this message to notify the ONU to enter the S5 switching state (maintain the current working state).
[0201] Figure 11 This is a diagram of an energy-saving device for a WDM-PON system according to an embodiment of the present invention, as shown below. Figure 11 As shown in the system device diagram, in addition to the existing network management, OLT and ONU, a service detection and load calculation module, an energy-saving mode start / stop module, an operating status update and storage module, an OLT energy-saving configuration and operating status adjustment module, and an ONU energy-saving configuration and operating status adjustment module have been added. Figure 12 This is a schematic diagram of the energy-saving module of a WDM-PON system according to an embodiment of the present invention, which shows the connection relationship of each module.
[0202] The service inspection and load calculation module is responsible for the statistics of uplink and downlink service volume of each OLT-ONU channel under each PON port. The statistical method is to calculate the average value over several consecutive load detection cycles and use the result as the second decision condition for decision-making.
[0203] The energy-saving mode start / stop module is used to automatically determine the first, second, and third decision conditions. In manual energy-saving mode, when the first decision condition is met, the second and third decision conditions are automatically met; in automatic energy-saving mode, each condition needs to be determined one by one.
[0204] The working status update and storage module stores the original configuration and the current energy-saving configuration details, which are used by the OLT and ONU to quickly perform energy-saving configuration and system recovery.
[0205] The OLT energy-saving configuration and operating status adjustment module is the logical execution module for the OLT to perform energy saving and restore the initial configuration from energy saving. The ONU energy-saving configuration and operating status adjustment module is the logical execution module for the ONU to perform energy saving and restore the initial configuration from energy saving.
[0206] The first three modules can be designed either on the network management side or on the OLT side. The latter two modules are located on the OLT side and the ONU side respectively. In addition, the service inspection and load calculation module can also be placed on the DU side, and the service load data can be updated to the network management or OLT through the DU Port.
[0207] By using the methods and devices (systems) described in the above embodiments, without the need to add hardware circuits, the energy-saving technical complexity of the WDM-PON system is reduced, the implementation cost of system energy-saving is saved, and the dual guarantee effects of service quality and high-efficiency energy-saving are achieved. At the same time, problems such as the need to re-register ONUs during the energy-saving process are overcome, and the application of energy-saving in low-latency systems is expanded.
[0208] The implementation of the present technical solution will be further described in detail below through exemplary embodiments.
[0209] Exemplary Embodiment 1: Energy Saving by Reducing the Rate of a Channel Pair
[0210] This exemplary embodiment provides an implementation method for an OLT-ONU channel pair to reduce the transmission rate for energy saving. Figure 13 It is a flowchart of energy saving by reducing the rate of a channel pair according to Exemplary Embodiment 1 of the present invention, as Figure 13 shown, including the following steps:
[0211] Step S1301: All the energy-saving entry conditions configured by the network management in the first judgment condition are satisfied. For example, the energy-saving start period is satisfied, the number of controllable devices is not zero, etc.;
[0212] In the second judgment condition, the single CP service load satisfies the rate reduction threshold. For example, in continuous N energy-saving detection cycles, the service load satisfies max(P1, P2,..., PN) < X / R, where Pi is the service load measured in the i-th energy-saving detection cycle, R is the original transmission rate before speed adjustment, and X (X < R) is the lowest transmission rate that satisfies the current condition and is calculated by the OLT;
[0213] In the third judgment condition, the single CP service load does not satisfy the channel closing threshold and does not satisfy the channel switching condition. For example, it does not satisfy the channel closing condition: in continuous N energy-saving detection cycles, the total service load is not zero; it does not satisfy the channel switching condition: there is no wavelength resource with a deployable power level lower than the current CP level.
[0214] It should be noted that the service load in this step can be statistically calculated for a single downstream direction, a single upstream direction, or both upstream and downstream directions, and can be specified by the user on the network management side; the rate reduction and channel closing thresholds in the second and third judgment conditions are also exemplary and do not specifically refer to the content of the present invention.
[0215] Step S1302: Start the single-channel rate reduction energy-saving adjustment process. The OLT sends an energy-saving adjustment PLOAM message to the ONU. The values in this message are shown in Table 2 below.
[0216] Table 2 Energy Saving PLOAM Message Values
[0217] Character name value 1-2 ONU-ID ONU identification number 3 Message type ID 0xaa 4 SeqNo Current message sequence number 5 Economy-mode status 0x1a 6 Current status 0x00 7 Economy rate Take the value corresponding to speed X 8-9 Economy wavelength Take the value corresponding to speed X 10 Original rate Take the value corresponding to the speed R 11-12 Original wavelength Take the value corresponding to the speed R 13-40 Padding Fill in zero 41-48 MIC Message verification bit
[0218] Step S1303: The ONU receives the energy-saving message sent by the OLT, extracts and parses the message content, and sends a response message to the OLT according to the uplink bandwidth specified by the OLT. The format of the response message is largely the same as the energy-saving message format received by the ONU, but the Message type ID becomes 0xbb, SeqNo becomes the current message sequence number, and Current status becomes 0x02. After sending the response message, the ONU will adopt the new transmission rate according to the energy-saving configuration and wait to receive the OLT clock synchronization signal.
[0219] Step S1304: After receiving the response message from the ONU, the OLT immediately performs energy-saving configuration on the CP at the OLT end.
[0220] Step S1305: After the OLT configuration is completed, data will be transmitted at the new rate, and the clock synchronization information corresponding to the new rate will be sent to the ONU. At this time, the Current status value in the PLOAM message is 0x04.
[0221] Step S1306: The ONU receives synchronization information and performs synchronization. Since the synchronization process is not mandatory in the ITU-T standard, this invention does not restrict the specific implementation of the synchronization process, but it should be noted that the synchronization requirements of the ONU should meet the ITU-T standard.
[0222] Step S1307: After the ONU completes synchronization, it enters power-saving mode and sends a synchronization completion response message to the OLT. At this time, the Current status changes to 0x05.
[0223] Step S1308: The OLT receives the synchronization completion response message from the ONU and completes the power-saving adjustment. Afterwards, both the OLT and ONU will transmit uplink and downlink data at the new power-saving adjusted rate, and the Current status in the PLOAM message will change to 0x07.
[0224] Exemplary Example 2: Channel saves energy by reducing rate and switching CP.
[0225] This exemplary embodiment provides another method for implementing OLT-ONU channel switching and reducing transmission rate to save energy. Figure 14This is a flowchart of a channel pair switching CP speed reduction and energy saving process according to exemplary embodiment 2 of the present invention, as follows: Figure 14 As shown, it includes the following steps:
[0226] Step S1401: Both the first and second decision conditions are met; in the third decision condition, a single CP meets the channel switching condition, for example, in N consecutive energy-saving detection cycles, the total service load is not 0, but there are wavelength resources with an adjustable power level lower than the current CP level.
[0227] Step S1402: Start the single-channel rate reduction energy-saving adjustment process. The OLT sends an energy-saving adjustment PLOAM message to the ONU. The values in this message are shown in Table 3.
[0228] Table 3 Energy Saving PLOAM Message Values
[0229] Character name value 1-2 ONU-ID ONU identification number 3 Message type ID 0xaa 4 SeqNo Current message sequence number 5 Economy-mode status 0x1a 6 Current status 0x00 7 Economy rate Take the value corresponding to the new CP rate 8-9 Economy wavelength Take the value corresponding to the new CP wavelength 10 Original rate Take the value corresponding to the speed R 11-12 Original wavelength Take the value corresponding to the speed R 13-40 Padding Fill in zero 41-48 MIC Message verification bit
[0230] Step S1403: The ONU receives the energy-saving message sent by the OLT, extracts the message content, parses it, and sends a response message to the OLT according to the uplink bandwidth specified by the OLT. The format of the response message is largely the same as the format of the energy-saving message received by the ONU, but the Message type ID becomes 0xbb, the SeqNo becomes the current message sequence number, and the Current status becomes 0x02.
[0231] Step S1404: After receiving the response message from the ONU, the OLT performs energy-saving configuration on the corresponding CP at the OLT end. During the configuration process, the OLT will perform wavelength tuning operation on the ONU according to the different values of Economy wavelength and Original wavelength. The specific tuning process is not limited in this embodiment of the invention. During the tuning process, the OLT will use the existing ranging result and EqD to calculate the equivalent ranging result under the new wavelength. The distance between the ONU and different OLTs is different. When establishing a connection between them, the distance EQD between them needs to be considered. The EQD will be different under different rates and different wavelengths. Adjusting the wavelength and rate will cause the EQD to change, so the original EQD cannot be used for registration and communication. In this embodiment of the invention, during adjustment, the EQD can be calculated based on the new wavelength and rate carried in the management control message (e.g., the aforementioned energy-saving adjustment PLOAM message) using formulas or equivalent relationships. In this way, during adjustment, there is no need to perform the activation and online process to register the ONU with the OLT. The ONU only needs to notify the source wavelength rate and the new wavelength rate through the energy-saving adjustment PLOAM message during the switching process, thereby calculating the EQD without the need for a registration process, thus avoiding the problem of the ONU needing to re-register when working on a new wavelength.
[0232] Step S1405: After the ONU sends the response message, it will tune to a new operating wavelength and a new transmission rate under the command of the OLT according to the energy-saving configuration, and then wait to receive the OLT clock synchronization signal.
[0233] Step S1406: After the OLT configuration is completed, data will be transmitted at the new rate, and the clock synchronization information corresponding to the new rate will be sent to the ONU. At this time, the Current status value in the PLOAM message is 0x04.
[0234] Step S1407: The ONU receives synchronization information and performs synchronization. Since the synchronization process is not mandatory in the ITU-T standard, this invention does not restrict the specific implementation of the synchronization process, but it should be noted that the synchronization requirements of the ONU should meet the ITU-T standard.
[0235] Step S1408: After the ONU completes synchronization, it enters power-saving mode and sends a synchronization completion response message to the OLT. At this time, the Current status changes to 0x05.
[0236] Step S1409: The OLT receives the synchronization completion response message from the ONU and completes the power-saving adjustment. Afterwards, both the OLT and ONU will transmit uplink and downlink data at the new power-saving adjusted rate, and the Current status in the PLOAM message will change to 0x07.
[0237] Exemplary Example 3: Channel saves energy when entering sleep mode
[0238] This exemplary embodiment provides the process by which the OLT-ONU channel achieves deep energy saving when entering sleep mode. Figure 15 This is a flowchart of a channel hibernation energy-saving process according to an exemplary embodiment 3 of the present invention, as follows: Figure 15 As shown, it includes the following steps:
[0239] Step S1501: The first and second decision conditions are the same as in Exemplary Example 1; in the third decision condition, the single CP service load meets the channel shutdown threshold, for example, the total service load is 0 in N consecutive energy-saving detection cycles;
[0240] Step S1502: Start the channel sleep energy saving adjustment process. The OLT sends an energy saving adjustment PLOAM message to the ONU that meets the sleep conditions. The values in this message are shown in Table 4.
[0241] Table 4 Energy Saving PLOAM Message Values
[0242] Character name value 1-2 ONU-ID ONU identification number 3 Message type ID 0xaa 4 SeqNo Current message sequence number 5 Economy-mode status 0x1a 6 Current status 0x00 7 Economy rate 0x00 8-9 Economy wavelength 0xaaaa 10 Original rate Take the value corresponding to the original rate R 11-12 Original wavelength Take the value corresponding to the original rate R 13-40 Padding Fill in zero 41-48 MIC Message verification bit
[0243] Step S1503: The ONU receives the energy-saving message sent by the OLT, extracts the message content, parses it, and sends a response message to the OLT according to the uplink bandwidth specified by the OLT. The format of the response message is largely the same as the format of the energy-saving message received by the ONU, but the Message type ID becomes 0xbb, the SeqNo becomes the current message sequence number, and the Current status becomes 0x02.
[0244] Step S1504: After the ONU sends a response message, it will enter sleep mode according to the energy-saving configuration.
[0245] Step S1505: After receiving the response message from the ONU, the OLT also configures the corresponding CP to sleep mode on the OLT side.
[0246] Step S1506: After the corresponding CP between the OLT and ONU enters sleep mode, the original wavelength resources of that CP will be released so that other ONUs that need them can use them again. Afterwards, the Current status in the PLOAM message will change to 0x07. After sleep mode adjustment is completed, the CPs corresponding to the OLT and ONU will use dedicated sleep wavelengths and rates to send or receive recovery commands from users or the OLT during sleep mode.
[0247] Exemplary Example 4: Energy-saving adjustment failure - restore original working state
[0248] This exemplary embodiment provides a process for restoring the original configuration and normal operation after an energy-saving adjustment failure, the process referring to... Figure 10 The description is as follows.
[0249] When the PON system enters the S1 energy-saving start / stop state, if adjustment is initiated, the OLT sends an M1 energy-saving adjustment message to the ONU. At this time, the OLT determines the ONU's status based on whether it receives an energy-saving response message from the ONU within a given time dC.
[0250] If the OLT fails to receive the M2 message within the specified dC value, the adjustment is deemed a failure. The OLT sends an M5 energy-saving shutdown message to the ONU (the Economy-mode status in the M5 message is 0x01). The ONU needs to restore its original configuration and enter the S5 switching state (at this time, the switching state maintains the original working state) and wait for the next energy-saving adjustment cycle to arrive.
[0251] If the OLT receives the M2 message within the specified dC value, the ONU enters state S2, and the OLT enters state S3. Subsequently, the OLT sends the M3 synchronization clock message to the ONU, and the ONU enters state S4 synchronization. If the OLT does not receive the M4 message from the ONU within the specified synchronization window, it is determined that the ONU synchronization has failed, and the energy-saving adjustment process needs to be exited. At this time, both the ONU and the corresponding CP of the OLT need to restore their original configurations and enter state S5 switching (at this time, the switching state maintains the original operating state) and wait for the next energy-saving adjustment cycle.
[0252] Exemplary Example 5: Restoring from Energy-Saving State to Original Operating State
[0253] In this exemplary embodiment, a process is provided to restore the operating mode from the energy-saving mode to the original operating mode. When any one of the three decision conditions is not met, the energy-saving mode must be restored to the normal operating mode.
[0254] When the recovery process is in the S1 energy-saving start / stop state, the OLT sends an M5 energy-saving shutdown message to the ONU (the Economy-mode status in the M5 message is 0x01). Depending on whether the Economy wavelength and Original wavelength in the M5 message are the same, there are two cases: whether CP switching recovery is required.
[0255] If the Economy wavelength is the same as the Original wavelength, there is no need to switch the CP. The process of restoring from the power-saving state to the normal operating state is basically the same as in Exemplary Example 1, and will not be repeated here. However, it should be noted that the CP corresponding to both the ONU and the OLT will be obtained from the Original rate and Original wavelength of the PLOAM message.
[0256] If the Economy wavelength differs from the Original wavelength, the CP needs to be switched. The process of restoring from the power-saving state to the normal working state is basically the same as in Exemplary Example 2, and will not be described in detail here.
[0257] It should be noted that exemplary embodiments 4 and 5 are applicable to situations where energy-saving adjustments are made according to the energy-saving adjustment methods in exemplary embodiments 1-3 and then the original state is restored, and can be combined with exemplary embodiments 1-3 in any way.
[0258] In summary, this invention provides an energy-saving configuration method, apparatus, and storage medium for passive optical networks (PONs). It combines network management systems to construct combined decision conditions to control the activation and deactivation of energy saving in the PON system. The energy-saving control message explicitly or resolvably identifies the wavelength, data transmission rate, and energy-saving adjustment status flag of the ONU operating in energy-saving mode. The management control channel of the PON system simultaneously adjusts the wavelength and rate of the OLT and ONU. Each wavelength and its maximum carrying rate are stored in a table, and wavelength and rate adjustments are performed by looking up the table. The combined decision conditions include the load of each CP detected by the network management system and / or external DU, the energy-saving control parameters from the network management side, and the overall load status of the entire OLT. Energy-saving management control methods include, but are not limited to, PLOAM messages, Ethernet OAM, OMCI defined by G.988, TR069 protocol, NETCONF or YANG management models, SNMP, etc. Taking PLOAM messages as an example, the content of PLOAM energy-saving messages during the energy-saving adjustment process is designed. In addition, a comprehensive energy-saving adjustment process was designed, ensuring that the ONU will not be re-registered after being exited throughout the entire process. This process includes adjustable rate, wavelength channel switching, and channel sleep, as well as message sending and response procedures for successful and failed adjustments. This energy-saving configuration of the passive optical network enables flexible configuration and adjustment of operating parameters, reducing the complexity of energy-saving optimization in passive optical networks.
[0259] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0260] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for energy saving configuration of a passive optical network, characterized in that, include: The Optical Line Terminal (OLT) sends an energy-saving control message or message group to the Optical Network Unit (ONU). The energy-saving control message or message group includes a first operating parameter and a second operating parameter of the channel pair (CP) between the OLT and the ONU. The first operating parameter is the operating parameter of the CP in the target energy-saving state; the second operating parameter is the operating parameter of the CP in the original state or the original energy-saving state. The OLT is configured according to the first operating parameter or the second operating parameter, including: when the energy-saving control message or message group is used for energy-saving adjustment, the OLT is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the OLT is configured according to the second operating parameter.
2. The method according to claim 1, characterized in that, The configuration of the OLT according to the first operating parameters includes: when the OLT receives an energy-saving adjustment response message returned by the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment, the OLT is configured according to the first operating parameters. or, The configuration of the OLT according to the second operating parameters includes: when the OLT receives a response message from the ONU indicating that it is in the energy-saving shutdown or the original energy-saving state is maintained within a second predetermined time period after sending the energy-saving control message or message group for energy-saving shutdown or maintaining the original energy-saving state, the OLT is configured according to the second operating parameters.
3. The method according to claim 1, characterized in that, Also includes: If no energy-saving adjustment response message is received from the ONU within a first predetermined time period after sending the energy-saving control message or message group for energy-saving adjustment, the OLT sends the energy-saving control message or message group to the ONU for energy-saving shutdown or maintaining the original energy-saving state. or, If no response message for energy saving or maintaining the original energy-saving state is received from the ONU within a second predetermined time period after sending the energy-saving control message or message group for energy saving shutdown or maintaining the original energy-saving state, the OLT will send the energy-saving control message or message group for energy saving shutdown or maintaining the original energy-saving state to the ONU again.
4. The method according to claim 1, characterized in that, After configuring the OLT according to the first operating parameters, the method further includes: the OLT sending a clock synchronization message to the ONU and receiving a synchronization response message returned by the ONU; if the synchronization response message indicates successful synchronization, the OLT transmitting data with the ONU through the CP according to the first operating parameters; if the synchronization response message indicates failed synchronization, the OLT sending the energy-saving control message or message group to the ONU for energy-saving shutdown or maintaining the original energy-saving state. or, After configuring the OLT according to the second operating parameters, the method further includes: the OLT sending a clock synchronization message to the ONU and receiving a synchronization response message returned by the ONU; if the synchronization response message indicates successful synchronization, the OLT transmitting data with the ONU through the CP according to the second operating parameters; if the synchronization response message indicates synchronization failure, the OLT again sending the energy-saving control message or message group to the ONU for energy-saving shutdown or maintaining the original energy-saving state.
5. The method according to any one of claims 1-4, characterized in that, The energy-saving control message or message group also includes at least one of the following: Energy-saving mode status, wherein the energy-saving mode status is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state; A status flag, wherein the status flag is used to indicate the current step to which the energy-saving control message or message group belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
6. The method according to any one of claims 1-4, characterized in that, Both the first operating parameter and the second operating parameter include at least one of the following: line speed and operating wavelength.
7. The method according to any one of claims 1-4, characterized in that, It also includes one of the following: The OLT receives the adjustment strategy for energy saving adjustment of the CP specified manually, and generates the energy saving control message or message group for energy saving adjustment based on the adjustment strategy. The OLT determines the energy-saving adjustment for the CP based on the load of the CP, selects the adjustment strategy to be used for energy-saving adjustment, and generates the energy-saving control message or message group for energy-saving adjustment based on the adjustment strategy. After the OLT receives the adjustment strategy for energy saving of the CP based on the load of the CP and selects the adjustment strategy to be used for energy saving adjustment, it sends the adjustment strategy to be used for energy saving adjustment of the CP, and generates the energy saving control message or message group for energy saving adjustment based on the adjustment strategy.
8. The method according to claim 7, characterized in that, Before manually specifying the adjustment strategy for energy saving adjustment of the CP or determining the energy saving adjustment for the CP based on the load of the CP, the method further includes: Determining that a first condition is met, wherein the first condition includes at least one of the following: The current time meets the energy-saving time parameters configured by the network management system; The OLT and / or the ONU are located within the area range defined by the device area parameters configured in the network device configuration; The OLT and / or the ONU belong to the type range defined by the device type parameter configured in the network device configuration; The OLT and / or the ONU support energy-saving regulation.
9. The method according to claim 7 or 8, characterized in that, Determining energy-saving adjustments for the CP based on its load includes: If the second condition is met based on the load of the CP, energy-saving adjustment is determined for the CP, wherein the second condition includes: the load of the CP is lower than the load threshold.
10. The method according to claim 7 or 8, characterized in that, The regulation strategy includes one of the following: Adjust the line rate of the CP; Adjust the CP to enter hibernation; Adjust the line rate and operating wavelength of the CP.
11. The method according to claim 10, characterized in that, The regulation strategies selected for energy-saving regulation include: The energy-saving regulation strategy is selected based on a third condition, wherein the third condition includes at least one of the following: If the load of the CP meets the CP hibernation conditions, select an adjustment strategy to induce the CP to hibernate. In the presence of other wavelength channels with optical link power levels lower than the current optical link power level of the CP, an adjustment strategy is selected to adjust the operating wavelength of the CP, wherein the line rate is determined based on the other wavelength channels after adjusting the operating wavelength of the CP; If there are no other wavelength channels with an optical link power level lower than the current optical link power level of the CP, and there are other line rates with lower line rates than the current line rate that can meet the current CP load transmission, an adjustment strategy is selected to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
12. The method according to any one of claims 1-4, characterized in that, It also includes one of the following: The OLT receives a command specified manually to shut down the CP for energy saving or maintain the original energy saving state, and generates the energy saving control message or message group for shutting down the CP for energy saving or maintaining the original energy saving state based on the command. The OLT determines that the energy-saving conditions are not currently met and generates the energy-saving control message or message group for energy-saving shutdown. After determining that the current energy-saving conditions are not met, the OLT receives an instruction from the network management system to shut down the CP for energy saving, and generates the energy-saving control message or message group for energy saving shutdown based on the instruction.
13. The method according to claim 12, characterized in that, The energy-saving conditions include a first condition, a second condition, and a third condition, wherein, The first condition includes at least one of the following: the current time meets the energy-saving time parameters configured by the network management system; the OLT and / or the ONU is located within the area range defined by the device area parameters configured by the network device; the OLT and / or the ONU belongs to the type range defined by the device type parameters configured by the network device; the OLT and / or the ONU supports energy-saving adjustment. The second condition includes the load of the CP being lower than the load threshold; The third condition includes at least one of the following: when the load of the CP meets the CP sleep condition, select an adjustment strategy to adjust the CP to enter sleep mode; when there are other wavelength channels with optical link power levels lower than the current optical link power level of the CP, select an adjustment strategy to adjust the operating wavelength of the CP, wherein after adjusting the operating wavelength of the CP, the line rate is determined based on the other wavelength channels; when there are no other wavelength channels with optical link power levels lower than the current optical link power level of the CP, and there are other line rates lower than the current line rate that can be used to transmit the current CP load, select an adjustment strategy to adjust the line rate of the CP, wherein the adjusted line rate is the other line rate.
14. An energy-saving configuration method for a passive optical network, characterized in that, include: The Optical Network Unit (ONU) receives an energy-saving control message or message group sent by the Optical Line Terminal (OLT). The energy-saving control message or message group includes a first operating parameter and a second operating parameter of the channel pair (CP) between the OLT and the ONU. The first operating parameter is the operating parameter of the CP in the target energy-saving state; the second operating parameter is the operating parameter of the CP in the original state or the original energy-saving state. The ONU is configured according to the first operating parameter or the second operating parameter, including: when the energy-saving control message or message group is used for energy-saving adjustment, the ONU is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the ONU is configured according to the second operating parameter.
15. The method according to claim 14, characterized in that, The configuration of the ONU according to the first operating parameters includes: the ONU parsing the energy-saving control message or message group for energy-saving adjustment, returning the energy-saving adjustment response message to the OLT, and then configuring the ONU according to the first operating parameters; or, The configuration of the ONU according to the second operating parameters includes: the ONU parsing the energy-saving control message or message group used for energy saving shutdown or maintaining the original energy-saving state, returning the energy saving shutdown or maintaining the original energy-saving state response message to the OLT, and then configuring the ONU according to the second operating parameters.
16. The method according to any one of claims 14-15, characterized in that, Also includes: The ONU receives the clock synchronization message sent by the OLT; The ONU performs clock synchronization based on the clock synchronization message and returns a synchronization response message to the OLT, wherein the synchronization response message indicates whether the synchronization was successful or failed.
17. The method according to any one of claims 14-15, characterized in that, The energy-saving control message or message group also includes at least one of the following: Energy-saving mode status, wherein the energy-saving mode status is used to indicate whether the energy-saving control message or message group is used for energy-saving adjustment, energy-saving shutdown, or maintaining the original energy-saving state; A status flag, wherein the status flag is used to indicate the current step to which the energy-saving control message or message group belongs in the energy-saving adjustment process, or in the energy-saving shutdown or maintaining the original energy-saving state process.
18. An energy-saving configuration device for a passive optical network, applied to an optical line terminal (OLT), characterized in that, The device includes: The first sending module is used to send an energy-saving control message or message group to the optical network unit (ONU). The energy-saving control message or message group includes a first operating parameter and a second operating parameter of the channel pair CP between the OLT and the ONU. The first operating parameter is the operating parameter of the CP in the target energy-saving state; the second operating parameter is the operating parameter of the CP in the original state or the original energy-saving state. A first configuration module is used to configure the OLT according to the first operating parameter or the second operating parameter, including: when the energy-saving control message or message group is used for energy-saving adjustment, the OLT is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the OLT is configured according to the second operating parameter.
19. An energy-saving processing configuration device for a passive optical network, applied to an optical network unit (ONU), characterized in that, The device includes: The first receiving module is used to receive energy-saving control messages or message groups sent by the optical line terminal (OLT). The energy-saving control messages or message groups include first and second operating parameters of the channel pair CP between the OLT and the ONU. The first operating parameters are the operating parameters of the CP in the target energy-saving state; the second operating parameters are the operating parameters of the CP in the original state or the original energy-saving state. The second configuration module is used to configure the ONU according to the first operating parameter or the second operating parameter, including: when the energy-saving control message or message group is used for energy-saving adjustment, the ONU is configured according to the first operating parameter; or, when the energy-saving control message or message group is used for energy-saving shutdown or maintaining the original energy-saving state, the ONU is configured according to the second operating parameter.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 13, or implements the steps of the method described in any one of claims 14 to 17.
21. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 13, or the steps of the method described in any one of claims 14 to 17.