Access network mode adjustment method and device, computer device and storage medium
By acquiring real-time network traffic from the ONU and adjusting the modes of the OLT port and the passive optical network port, the problem of high energy consumption in the access network was solved, achieving reduced energy consumption and improved efficiency during low-traffic periods.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2024-12-13
- Publication Date
- 2026-04-17
AI Technical Summary
The difference between peak and off-peak network traffic in home and industrial park networks leads to higher electricity costs during off-peak hours, resulting in higher energy consumption in the access network.
By acquiring real-time network traffic from the access network optical network unit (ONU), the target operating mode of the OLT port and the channel control strategy of the passive optical network port are determined. The ONU mode is then adjusted to shut down high-speed channels and reduce unnecessary energy consumption.
During periods of low network traffic, reduce energy consumption in the access network system, improve energy efficiency, and avoid unnecessary electricity costs in high-speed mode.
Smart Images

Figure CN119729262B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of access network technology, and in particular to an access network mode adjustment method, apparatus, computer equipment, and storage medium. Background Technology
[0002] In home environments and industrial park networks, network traffic varies significantly between weekdays, nighttimes, and weekends, with higher traffic during peak hours and lower traffic during off-peak hours.
[0003] The main factor affecting network operating costs is electricity costs. However, although network traffic is lower during off-peak hours, it still generates a large amount of electricity costs, resulting in high energy consumption of the access network. Summary of the Invention
[0004] Therefore, it is necessary to provide an access network mode regulation method, apparatus, computer equipment, and storage medium that can control power costs based on network traffic, addressing the aforementioned technical problems.
[0005] Firstly, this application provides an access network mode adjustment method. The method includes:
[0006] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0007] Based on the real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy for the passive optical network port in the ONU.
[0008] The ONU is adjusted according to the control strategy and the target operating mode.
[0009] In one embodiment, determining the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU and the channel control strategy for the passive optical network port in the ONU based on the real-time network traffic includes:
[0010] Determine the relationship between the real-time network traffic and the preset traffic threshold;
[0011] Based on the aforementioned size relationship, the target operating mode corresponding to the OLT port and the channel control strategy for the passive optical network port in the ONU are determined.
[0012] In one embodiment, the traffic threshold includes a first traffic threshold and a second traffic threshold, wherein the first traffic threshold is less than the second traffic threshold; the size relationship includes a first size relationship between the network traffic and the first traffic threshold, and a second size relationship between the network traffic and the second traffic threshold.
[0013] In one embodiment, determining the target operating mode corresponding to the OLT port and the channel control strategy for the passive optical network port in the ONU based on the size relationship includes:
[0014] When the real-time network traffic is less than the first traffic threshold in the first size relationship, the target operating mode corresponding to the OLT port is determined to be low speed mode, and the channel control policy of the passive optical network port in the ONU is to be closed.
[0015] When the real-time network traffic is greater than the first traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control strategy of the passive optical network port in the ONU is start-up processing.
[0016] The energy consumption per unit time of the OLT in the low-speed mode is less than that of the OLT in the high-speed mode.
[0017] In one embodiment, adjusting the mode of the ONU according to the channel control strategy and the target operating mode includes:
[0018] A control command is sent to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; wherein the control command carries the channel control policy; the control command is used to instruct the MQTT module to control the high-speed channel of the passive optical network port in the ONU according to the channel control policy;
[0019] Switch the OLT port's operating mode from the current operating mode to the target operating mode.
[0020] In one embodiment, determining the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU and the channel control strategy for the passive optical network port in the ONU based on the real-time network traffic includes:
[0021] The real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at future times;
[0022] Based on the future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0023] Secondly, this application also provides an access network mode adjustment device. The device includes:
[0024] The acquisition module is used to acquire the real-time network traffic corresponding to the access network optical network unit (ONU).
[0025] The determination module is used to determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU and the channel control strategy of the passive optical network port in the ONU based on the real-time network traffic.
[0026] The adjustment module is used to adjust the mode of the ONU according to the channel control strategy and the target operating mode.
[0027] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0028] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0029] Based on the real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy for the passive optical network port in the ONU.
[0030] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0031] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0032] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0033] Based on the real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy for the passive optical network port in the ONU.
[0034] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0035] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0036] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0037] Based on the real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy for the passive optical network port in the ONU.
[0038] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0039] The aforementioned access network mode adjustment method, apparatus, computer equipment, and storage medium determine the target operating mode corresponding to the optical line terminal (OLT) port and the channel control strategy of the passive optical network port in the ONU by utilizing the real-time network traffic corresponding to the ONU. Then, based on the channel control strategy and the target operating mode, the ONU is mode-adjusted. As can be seen from the above, this application can adaptively adjust the ONU mode according to the real-time network traffic corresponding to the ONU, ensuring that the OLT has different target operating modes under different real-time network traffic conditions. Furthermore, when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be shut down, reducing the power cost generated during high-speed channel operation. This avoids unnecessary energy consumption in the high-speed mode of the CNU during periods of low network load, achieving the goal of significantly reducing energy consumption and improving the energy efficiency of the access network system. Attached Figure Description
[0040] Figure 1 An application environment diagram for an access network mode adjustment method provided in this application embodiment;
[0041] Figure 2 A flowchart illustrating the first access network mode adjustment method provided in this application embodiment;
[0042] Figure 3 A flowchart illustrating the second access network mode adjustment method provided in this application embodiment;
[0043] Figure 4 A flowchart illustrating the second access network mode adjustment method provided in this application embodiment;
[0044] Figure 5 A flowchart illustrating the third access network mode adjustment method provided in this application embodiment;
[0045] Figure 6 Signaling diagram of the first access network mode adjustment method provided in the embodiments of this application;
[0046] Figure 7 Signaling diagram of the second access network mode adjustment method provided in the embodiments of this application;
[0047] Figure 8 A flowchart illustrating the fourth access network mode adjustment method provided in this application embodiment;
[0048] Figure 9 A flowchart illustrating the fifth access network mode adjustment method provided in this application embodiment;
[0049] Figure 10 A schematic diagram of the access network mode adjustment method provided in the embodiments of this application;
[0050] Figure 11 A structural block diagram of an access network mode adjustment device provided in an embodiment of this application;
[0051] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0053] The access network mode adjustment method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed in the cloud or on other network servers. By utilizing the real-time network traffic corresponding to the ONU, the target operating mode corresponding to the OLT port and the channel control strategy for the passive optical network port in the ONU are determined; subsequently, the ONU is adjusted according to the channel control strategy and the target operating mode. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0054] In one embodiment, such as Figure 2 As shown, an access network mode adjustment method is provided, which can be applied to... Figure 1 Taking terminal 102 as an example, the following steps are included:
[0055] S201, obtain the real-time network traffic corresponding to the access network ONU.
[0056] It should be noted that real-time network traffic is used to characterize the network traffic information generated by the ONU at a certain time period. Real-time network traffic can include network traffic information at at least one moment, and the network traffic information can include parameter information related to network traffic, such as packet rate, traffic value, throughput, and bandwidth utilization. To ensure the universality of the obtained real-time network flow, when obtaining the real-time network traffic corresponding to the ONU, candidate network traffic at multiple moments is obtained. Then, the average value of each candidate network traffic is calculated, and the result is the real-time network traffic corresponding to the ONU.
[0057] In one embodiment of this application, when it is necessary to obtain the real-time network traffic corresponding to the ONU at a certain moment, the candidate network traffic corresponding to the n moments before that moment and the candidate network traffic corresponding to that moment can be obtained. Then, the average value of the candidate network traffic corresponding to the n+1 moments is calculated, and the result of the calculation is the real-time network traffic corresponding to the ONU.
[0058] To further explain, in order to ensure the accuracy of real-time network traffic, the candidate network traffic at the current moment, the candidate network traffic at the moment before the current moment, and the candidate network traffic at the moment after the current moment can be obtained. Then, the average value of the candidate network traffic at the three moments is calculated, and the result is the real-time network traffic corresponding to the ONU.
[0059] In one embodiment of this application, when it is necessary to obtain the real-time network traffic corresponding to the ONU at a certain moment, the candidate network traffic of the next moment after the current moment can be predicted. Furthermore, the candidate network traffic of the current moment and the candidate network traffic of the previous moment are obtained according to the network traffic record. Then, the average value of the candidate network traffic at the three moments is calculated, and the result is the real-time network traffic corresponding to the ONU.
[0060] To further explain, the OLT can report the real-time network traffic corresponding to the ONU through telemetry. This real-time network traffic can include the traffic volume of the ONU and the traffic data of the OLT PON, so as to realize the operation of obtaining the real-time network traffic corresponding to the access network optical network unit ONU.
[0061] S202, based on real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy for the passive optical network port in the ONU.
[0062] It should be noted that the real-time network traffic can be used to determine whether the ONU traffic is under low load. If it is determined that the ONU traffic is under low load, the target operating mode and channel control strategy for the corresponding low load situation can be determined. If it is determined that the ONU traffic is not under low load, the target operating mode and channel control strategy for the corresponding low load situation can be determined.
[0063] To further explain, the target operating mode and channel control strategy for low ONU traffic can be preset, as well as the target operating mode and channel control strategy for non-low ONU traffic. Thus, after determining whether low ONU traffic occurs, the target operating mode corresponding to the optical line terminal (OLT) port and the channel control strategy for the passive optical network port in the ONU can be successfully determined.
[0064] In one embodiment of this application, such as Figure 3 As shown, when it is necessary to determine whether ONU traffic is low based on real-time network traffic, time period, rate, and packet transmission / reception can be considered. Specifically, when considering time period, low-peak period analysis can be performed based on the historical traffic data corresponding to the ONU. Low-peak periods in the network (e.g., nighttime or non-working hours) can be identified based on historical traffic data. If the ONU is active during these periods and relevant indicators support a low-traffic state, then the period is considered a low-peak period. Furthermore, persistence testing of the ONU is performed; if the ONU maintains a low-traffic state for a continuous period, then the time consideration for the ONU is considered successful. When considering rate, the ratio between the actual bandwidth used by the ONU and its allocated maximum bandwidth can be determined. If the ONU is consistently at a low bandwidth utilization rate (e.g., ...), then the low-traffic state is considered successful. If the throughput is less than 10%-20% of the total loan volume, the ONU is determined to be in a low-traffic state. It can also be determined whether the ONU's throughput is consistently below a preset threshold; for example, if the ONU's downlink or uplink throughput is consistently below a set value, the ONU is determined to be in a low-traffic state. When considering packet transmission and reception, the ONU's packet transmission and reception rate over a period of time can also be detected. If the packet transmission and reception rate is significantly lower than the packet rate during normal business processing, it can be inferred that the ONU's traffic is low. It can also be determined whether there are sudden low-traffic events in the ONU; if so, the overall traffic of the ONU is determined to be low. It can also be verified whether there are a large number of idle packets and non-data packets in the ONU. In summary, by considering time periods, rates, and packet transmission and reception, it is possible to determine whether the ONU's traffic is low based on real-time network traffic.
[0065] S203 adjusts the mode of the ONU according to the channel control strategy and the target operating mode.
[0066] It should be noted that the ONU's mode can include a low-speed mode for low ONU traffic load and a high-speed mode for no ONU traffic load; the channel control strategy and target operating mode corresponding to the low-speed mode are different from those corresponding to the high-speed mode.
[0067] When it is necessary to adjust the mode of the ONU according to the channel control policy and the target operating mode, a control command can be sent to the Message Queue Telemetry Transmission (MQTT) module built into the ONU. The control command carries the channel control policy and is used to instruct the MQTT module to control the high-speed channel of the passive optical network port in the ONU according to the channel control policy. In addition, the operating mode of the OLT port is switched from the current operating mode to the target operating mode to adjust the mode of the ONU.
[0068] The aforementioned access network mode adjustment method determines the target operating mode of the optical line terminal (OLT) port and the channel control strategy of the passive optical network port in the ONU by using the real-time network traffic corresponding to the ONU. Then, based on the channel control strategy and the target operating mode, the ONU is mode-adjusted. As can be seen from the above, this application can adaptively adjust the ONU mode according to the real-time network traffic corresponding to the ONU, ensuring that the OLT has different target operating modes under different real-time network traffic conditions. Furthermore, when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be shut down, reducing the power cost generated during high-speed channel operation. This avoids unnecessary energy consumption in the high-speed mode of the CNU during periods of low network load, achieving the goal of significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0069] In one embodiment, such as Figure 4 As shown, when it is necessary to determine the target operating mode corresponding to the optical line terminal (OLT) port and the channel control strategy for the passive optical network port in the ONU based on real-time network traffic, the following can be included:
[0070] S401, determine the relationship between real-time network traffic and preset traffic thresholds.
[0071] It should be noted that the traffic thresholds include a first traffic threshold and a second traffic threshold, with the first traffic threshold being smaller than the second traffic threshold; the magnitude relationship includes a first magnitude relationship between network traffic and the first traffic threshold, and a second magnitude relationship between network traffic and the second traffic threshold.
[0072] To further explain, if the first relationship between network traffic and the first traffic threshold is that the real-time network traffic is less than the first traffic threshold, it indicates that the ONU traffic is in a low-load idle state. If the second relationship between network traffic and the second traffic threshold is that the real-time network traffic is greater than the first traffic threshold, it indicates that the ONU traffic is in a high-load busy state.
[0073] S402, based on the size relationship, determines the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0074] It should be noted that when determining the target operating mode of the OLT port and the channel control policy of the passive optical network port in the ONU based on the size relationship, the following can be included: If the first size relationship is that the real-time network traffic is less than a first traffic threshold, the target operating mode of the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is disabled; if the second size relationship is that the real-time network traffic is greater than the first traffic threshold, the target operating mode of the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is enabled; wherein, the energy consumption per unit time of the OLT in low-speed mode is less than the energy consumption per unit time of the OLT in high-speed mode.
[0075] Among them, the energy consumption per unit time of the OLT in low-speed mode is less than that of the OLT in high-speed mode.
[0076] It should be noted that when the channel control policy of the passive optical network port in the ONU is set to "closed," it means switching the passive optical network port in the ONU from XGPON (10-Gigabit-Capable Passive Optical Network) to GPON (Gigabit-Capable Passive Optical Network); when the channel control policy of the passive optical network port in the ONU is set to "open," it means switching the passive optical network port in the ONU from GPON to XGPON.
[0077] The aforementioned access network mode adjustment method determines the relationship between real-time network traffic and a preset traffic threshold. Based on this relationship, it determines the target operating mode corresponding to the OLT port and the channel control strategy for the passive optical network port in the ONU. This ensures that different channel control strategies and target operating modes can be selected to adjust the ONU mode according to its actual situation. This avoids unnecessary energy consumption in the high-speed mode of the CNU during periods of low network load, thereby significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0078] In one embodiment, such as Figure 5 As shown, when it is necessary to adjust the ONU mode according to the channel control strategy and the target operating mode, the following may be included:
[0079] S501 sends control commands to the MQTT module built into the ONU.
[0080] The control commands carry channel control policies; these commands instruct the MQTT module to control the high-speed channels of the passive optical network ports in the ONU according to the channel control policies.
[0081] S502 switches the operating mode of the OLT port from the current operating mode to the target operating mode.
[0082] In one embodiment of this application, such as Figure 6 As shown, the OLT can report the real-time network traffic corresponding to the ONU through Telemetry to obtain the real-time network traffic corresponding to the access network ONU. Then, based on the real-time network traffic corresponding to the ONU, it can determine whether the ONU is in a low-load idle state. The passive optical network port in the ONU will be switched from XGPON to GPON through the MQTT module. The ONU's registration information and service configuration will be deleted from the XGPON channel of the OLT PON port through NETCONF, and the configuration will be synchronized to the GPON channel of the OLT PON port. The OLT port's operating mode will be switched from the current operating mode to the target operating mode. Furthermore, it can determine whether all ONUs under the XGPON channel have been removed. Based on the determination result, the XGPON channel of the PON port will be closed.
[0083] In one embodiment of this application, such as Figure 7As shown, the OLT can report the real-time network traffic corresponding to the ONU through Telemetry to obtain the real-time network traffic corresponding to the access network ONU. Then, based on the real-time network traffic corresponding to the ONU, it can determine whether the ONU is in a high-load busy state. Then, through the MQTT module, the passive optical network port in the ONU will be switched from GPON to XGPON. The registration information and service configuration of the ONU will be deleted from the GPON channel of the OLT PON port through NETCONF, and the XGPON channel of the OLT PON port will be configured synchronously. The operating mode of the OLT port will be switched from the current operating mode to the target operating mode. Furthermore, it can determine whether the ONU has switched to the high-load mode and open the XGPON channel and close the GPON channel as appropriate.
[0084] The aforementioned access network mode adjustment method sends control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU to control the high-speed channel of the passive optical network port in the ONU according to the channel control strategy. Furthermore, it switches the operating mode of the OLT port from the current operating mode to the target operating mode, thus adjusting the ONU's mode. This allows for adaptive mode adjustment of the ONU based on the real-time network traffic, ensuring that the OLT has different target operating modes depending on the real-time network traffic of the ONU. Additionally, when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be shut down, reducing the power costs incurred during high-speed channel operation.
[0085] In one embodiment, such as Figure 8 As shown, when it is necessary to determine the target operating mode corresponding to the optical line terminal (OLT) port and the channel control strategy for the passive optical network port in the ONU based on real-time network traffic, the following can be included:
[0086] S801 inputs real-time network traffic into the traffic prediction model to predict the future network traffic of the ONU at future moments.
[0087] It should be noted that, in order to ensure that the ONU can adjust its operating mode more promptly, rather than after the real-time network traffic has changed, a traffic prediction model can be introduced. The traffic prediction model predicts the future network traffic of the ONU at future moments. Then, based on the future network traffic of the ONU at future moments, the target operating mode corresponding to the OLT port at future moments and the channel control strategy of the passive optical network port in the ONU can be determined.
[0088] The training process of the traffic prediction model may include: acquiring sample network traffic, manually labeling the future network traffic corresponding to the sample network traffic at future times, and inputting the sample network traffic labeled with future network traffic into the initial prediction model; adjusting the model parameters of the initial prediction model based on the difference between the output of the initial prediction model and the future network traffic to obtain the adjusted traffic prediction model.
[0089] S802 determines the target operating mode of the OLT port and the channel control strategy of the passive optical network port in the ONU based on future network traffic.
[0090] In one embodiment of this application, after determining the future network traffic, the relationship between the future network traffic and a preset traffic threshold can be determined; based on the relationship between the future network traffic and the preset traffic threshold, the target operating mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU can be determined.
[0091] Furthermore, after determining the target operating mode and channel control strategy corresponding to future network traffic, the ONU is adjusted according to the pre-set rules based on the target operating mode and channel control strategy corresponding to future network traffic.
[0092] Specifically, if the predefined setting rule is: if the time interval between the current time and the predicted time corresponding to the future network traffic is less than or equal to the preset time length, then the ONU mode adjustment step is executed according to the target operating mode and channel control strategy corresponding to the future network traffic.
[0093] The aforementioned access network mode adjustment method determines the target operating mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU based on future network traffic, further improving the flexibility of ONU mode adjustment and further reducing the power cost generated by the ONU during operation.
[0094] In one embodiment, such as Figure 9 As shown, when it is necessary to adjust the mode of the ONU, the following can be included:
[0095] S901, obtain the real-time network traffic corresponding to the access network optical network unit (ONU).
[0096] S902, determine the relationship between real-time network traffic and preset traffic threshold.
[0097] S903, when the first size relationship is that the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is turned off; when the second size relationship is that the real-time network traffic is greater than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is turned on.
[0098] S904 sends control commands to the MQTT module built into the ONU.
[0099] S905 switches the operating mode of the OLT port from the current operating mode to the target operating mode in order to adjust the mode of the ONU.
[0100] In one embodiment, such as Figure 10 As shown, the access network mode adjustment method of this application can be executed through the management platform. The real-time network traffic corresponding to the access network optical network unit (ONU) is obtained through the performance data acquisition module and the telemetry of the OLT. Through the data analysis model, the target operating mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined based on the real-time network traffic. Then, by sending control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU, the MQTT module controls the high-speed channel of the passive optical network port in the ONU according to the channel control strategy. Furthermore, the operating mode of the OLT port is switched from the current operating mode to the target operating mode to adjust the ONU's mode. The passive optical network port in the ONU includes both XGPON (10-Gigabit-Capable Passive Optical Network) high-speed mode and GPON (Gigabit-Capable Passive Optical Network) low-speed mode.
[0101] The aforementioned access network mode adjustment method determines the target operating mode of the optical line terminal (OLT) port and the channel control strategy of the passive optical network port in the ONU by using the real-time network traffic corresponding to the ONU. Then, based on the channel control strategy and the target operating mode, the ONU is mode-adjusted. As can be seen from the above, this application can adaptively adjust the ONU mode according to the real-time network traffic corresponding to the ONU, ensuring that the OLT has different target operating modes under different real-time network traffic conditions. Furthermore, when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be shut down, reducing the power cost generated during high-speed channel operation. This avoids unnecessary energy consumption in the high-speed mode of the CNU during periods of low network load, achieving the goal of significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0102] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0103] Based on the same inventive concept, this application also provides an access network mode adjustment device for implementing the access network mode adjustment method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more access network mode adjustment device embodiments provided below can be found in the limitations of the access network mode adjustment method described above, and will not be repeated here.
[0104] In one embodiment, such as Figure 11 As shown, an access network mode adjustment device is provided, comprising: an acquisition module 10, a determination module 20, and an adjustment module 30, wherein:
[0105] The acquisition module 10 is used to acquire the real-time network traffic corresponding to the access network optical network unit (ONU).
[0106] The determination module 20 is used to determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, and the channel control strategy of the passive optical network port in the ONU, based on the real-time network traffic.
[0107] The adjustment module 30 is used to adjust the mode of the ONU according to the channel control strategy and the target operating mode.
[0108] In one embodiment, the magnitude relationship between real-time network traffic and a preset traffic threshold is determined;
[0109] Based on the size relationship, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0110] In one embodiment, the traffic threshold includes a first traffic threshold and a second traffic threshold, wherein the first traffic threshold is less than the second traffic threshold; the size relationship includes a first size relationship between network traffic and the first traffic threshold, and a second size relationship between network traffic and the second traffic threshold.
[0111] In one embodiment, when the first size relationship is that the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is to be closed.
[0112] When the real-time network traffic is greater than the first traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is to start processing.
[0113] Among them, the energy consumption per unit time of the OLT in low-speed mode is less than that of the OLT in high-speed mode.
[0114] In one embodiment, a control command is sent to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; wherein the control command carries a channel control policy; the control command is used to instruct the MQTT module to control the high-speed channel of the passive optical network port in the ONU according to the channel control policy;
[0115] Switch the OLT port's operating mode from the current operating mode to the target operating mode.
[0116] In one embodiment, real-time network traffic is input into a traffic prediction model to predict the future network traffic of the ONU at future times;
[0117] Based on future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0118] The aforementioned access network mode adjustment device determines the target operating mode of the optical line terminal (OLT) port and the channel control strategy of the passive optical network port in the ONU based on the real-time network traffic corresponding to the ONU. Then, it adjusts the ONU mode according to the channel control strategy and the target operating mode. As can be seen from the above, this application can adaptively adjust the ONU mode based on the real-time network traffic corresponding to the ONU, ensuring that the OLT has different target operating modes under different real-time network traffic conditions, and that the high-speed channel of the passive optical network port in the ONU can be shut down when the real-time network traffic is low, reducing the power cost generated during the operation of the high-speed channel. This avoids unnecessary energy consumption in the high-speed mode of the CNU during periods of low network load, achieving the goal of significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0119] Each module in the aforementioned access network mode adjustment device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0120] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, input / output ports, communication ports, a display unit, and input devices. The processor, memory, and input / output ports are connected via a system bus, and the communication ports, display unit, and input devices are also connected to the system bus via input / output ports. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output ports are used for exchanging information between the processor and external devices. The communication ports are used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an access network mode adjustment method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0121] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0123] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0124] Based on real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, as well as the channel control strategy for the passive optical network port in the ONU.
[0125] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0126] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0127] Determine the relationship between real-time network traffic and preset traffic thresholds;
[0128] Based on the size relationship, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0129] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0130] The traffic thresholds include a first traffic threshold and a second traffic threshold, with the first traffic threshold being smaller than the second traffic threshold; the magnitude relationship includes a first magnitude relationship between network traffic and the first traffic threshold, and a second magnitude relationship between network traffic and the second traffic threshold.
[0131] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0132] When the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is to be turned off.
[0133] When the real-time network traffic is greater than the first traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is to start processing.
[0134] Among them, the energy consumption per unit time of the OLT in low-speed mode is less than that of the OLT in high-speed mode.
[0135] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0136] Send control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; the control commands carry channel control policies; the control commands are used to instruct the MQTT module to control the high-speed channels of the passive optical network ports in the ONU according to the channel control policies;
[0137] Switch the OLT port's operating mode from the current operating mode to the target operating mode.
[0138] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0139] The real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at future moments;
[0140] Based on future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0141] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0142] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0143] Based on real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, as well as the channel control strategy for the passive optical network port in the ONU.
[0144] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0145] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0146] Determine the relationship between real-time network traffic and preset traffic thresholds;
[0147] Based on the size relationship, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0148] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0149] The traffic thresholds include a first traffic threshold and a second traffic threshold, with the first traffic threshold being smaller than the second traffic threshold; the magnitude relationship includes a first magnitude relationship between network traffic and the first traffic threshold, and a second magnitude relationship between network traffic and the second traffic threshold.
[0150] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0151] When the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is to be turned off.
[0152] When the real-time network traffic is greater than the first traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is to start processing.
[0153] Among them, the energy consumption per unit time of the OLT in low-speed mode is less than that of the OLT in high-speed mode.
[0154] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0155] Send control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; the control commands carry channel control policies; the control commands are used to instruct the MQTT module to control the high-speed channels of the passive optical network ports in the ONU according to the channel control policies;
[0156] Switch the OLT port's operating mode from the current operating mode to the target operating mode.
[0157] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0158] The real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at future moments;
[0159] Based on future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0160] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0161] Obtain the real-time network traffic corresponding to the access network optical network unit (ONU);
[0162] Based on real-time network traffic, determine the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU, as well as the channel control strategy for the passive optical network port in the ONU.
[0163] The ONU is adjusted according to the channel control strategy and the target operating mode.
[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0165] Determine the relationship between real-time network traffic and preset traffic thresholds;
[0166] Based on the size relationship, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0167] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0168] The traffic thresholds include a first traffic threshold and a second traffic threshold, with the first traffic threshold being smaller than the second traffic threshold; the magnitude relationship includes a first magnitude relationship between network traffic and the first traffic threshold, and a second magnitude relationship between network traffic and the second traffic threshold.
[0169] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0170] When the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control policy of the passive optical network port in the ONU is to be turned off.
[0171] When the real-time network traffic is greater than the first traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control policy of the passive optical network port in the ONU is to start processing.
[0172] Among them, the energy consumption per unit time of the OLT in low-speed mode is less than that of the OLT in high-speed mode.
[0173] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0174] Send control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; the control commands carry channel control policies; the control commands are used to instruct the MQTT module to control the high-speed channels of the passive optical network ports in the ONU according to the channel control policies;
[0175] Switch the OLT port's operating mode from the current operating mode to the target operating mode.
[0176] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:
[0177] The real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at future moments;
[0178] Based on future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
[0179] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0180] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0181] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0182] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for adjusting access network modes, characterized in that, The method includes: Obtain the real-time network traffic corresponding to the access network optical network unit (ONU); Determine the magnitude relationship between the real-time network traffic and a preset traffic threshold; wherein the traffic threshold includes a first traffic threshold and a second traffic threshold, and the magnitude relationship includes a first magnitude relationship between the real-time network traffic and the first traffic threshold, and a second magnitude relationship between the real-time network traffic and the second traffic threshold; wherein the first traffic threshold is less than the second traffic threshold; When the real-time network traffic is less than the first traffic threshold in the first size relationship, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control strategy of the passive optical network port in the ONU is to close the high-speed channel and let the low-speed channel carry the traffic. When the real-time network traffic is greater than the second traffic threshold in the second size relationship, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control strategy of the passive optical network port in the ONU is high-speed channel start-up processing, and the high-speed channel is allowed to carry traffic. The ONU is adjusted according to the channel control strategy and the target operating mode.
2. The method according to claim 1, characterized in that, The low-speed mode is the mode in which the ONU traffic experiences low load, and the high-speed mode is the mode in which the ONU traffic does not experience low load.
3. The method according to claim 2, characterized in that, The energy consumption per unit time of the OLT in the low-speed mode is less than that of the OLT in the high-speed mode.
4. The method according to claim 1, characterized in that, The step of adjusting the mode of the ONU according to the channel control strategy and the target operating mode includes: A control command is sent to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; wherein the control command carries the channel control policy; the control command is used to instruct the MQTT module to control the channel of the passive optical network port in the ONU according to the channel control policy; Switch the OLT port's operating mode from the current operating mode to the target operating mode.
5. The method according to claim 1, characterized in that, The step of determining the target operating mode corresponding to the optical line terminal (OLT) port connected to the ONU and the channel control strategy for the passive optical network port in the ONU based on the real-time network traffic includes: The real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at future times; Based on the future network traffic, determine the target operating mode corresponding to the OLT port, and the channel control strategy for the passive optical network port in the ONU.
6. An access network mode adjustment device, characterized in that, The device includes: The acquisition module is used to acquire the real-time network traffic corresponding to the access network ONU; A determining module is used to determine the magnitude relationship between the real-time network traffic and a preset traffic threshold; wherein the traffic threshold includes a first traffic threshold and a second traffic threshold, and the magnitude relationship includes a first magnitude relationship between the real-time network traffic and the first traffic threshold, and a second magnitude relationship between the real-time network traffic and the second traffic threshold; wherein the first traffic threshold is less than the second traffic threshold; when the first magnitude relationship indicates that the real-time network traffic is less than the first traffic threshold, the target operating mode corresponding to the OLT port is determined to be low-speed mode, and the channel control strategy of the passive optical network port in the ONU is high-speed channel shutdown, allowing the low-speed channel to carry traffic; when the second magnitude relationship indicates that the real-time network traffic is greater than the second traffic threshold, the target operating mode corresponding to the OLT port is determined to be high-speed mode, and the channel control strategy of the passive optical network port in the ONU is high-speed channel activation, allowing the high-speed channel to carry traffic; The adjustment module is used to adjust the mode of the ONU according to the channel control strategy and the target operating mode.
7. The apparatus according to claim 6, characterized in that, The adjustment module includes: The transmission unit is used to send control commands to the Message Queuing Telemetry Transmission (MQTT) module built into the ONU; wherein the control commands carry the channel control strategy; the control commands are used to instruct the MQTT module to control the channel of the passive optical network port in the ONU according to the channel control strategy; The switching unit is used to switch the operating mode of the OLT port from the current operating mode to the target operating mode.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment management method and device
CN115021861A
Transmission rate control method of ONU, ONU, OLT, electronic device and storage medium
CN115567801A