Access network mode adjusting method and device, computer equipment and storage medium
By monitoring the network traffic of the optical network unit ONU in real time and adjusting the operating mode of the OLT port and ONU port, the problem of high power costs during non-peak periods is solved, and the energy efficiency of the access network system is improved.
Patent Information
- Application Number
- CN202411841684.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-13
AI Technical Summary
In home environments and industrial enterprise park networks, network traffic differs significantly between weekdays, nights and weekends, resulting in lower network traffic during off-peak hours but still incurring high power costs and increasing access network energy consumption.
By obtaining the real-time network traffic of the optical network unit ONU access network, the target operating mode of the optical line terminal OLT port connected to the ONU is determined, as well as the channel control strategy of the passive optical network port in the ONU, and the mode adjustment of the ONU is carried out according to these strategies to adapt to changes in network traffic and reduce power costs.
The ONU mode is adaptively adjusted according to real-time network traffic, reducing energy consumption during low load periods and improving the energy efficiency of the access network system.
Smart Images

Figure CN119729262A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of access network technology, and in particular to an access network mode adjustment method, device, computer equipment and storage medium. Background Art
[0002] In home environments and industrial enterprise campus networks, network traffic varies significantly between weekdays, nights, and weekends, with higher network traffic during peak hours and typically lower network traffic during off-peak hours.
[0003] The main factor affecting network operating costs is electricity costs. Although network traffic is lower during non-peak hours, a large amount of electricity costs will still be incurred, resulting in higher energy consumption of the access network. Summary of the invention
[0004] Based on this, it is necessary to provide an access network mode adjustment method, device, computer equipment and storage medium that can control electricity costs according to network traffic to address the above technical problems.
[0005] In a first aspect, the present application provides an access network mode adjustment method. The method comprises:
[0006] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0007] Determine, based on the real-time network traffic, a target operation mode corresponding to an optical line terminal OLT port connected to the ONU, and a channel control strategy for a passive optical network port in the ONU;
[0008] The ONU is operated in a mode-adjusted manner according to the control strategy and the target operation mode.
[0009] In one of the embodiments, determining the target operation 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 according to the real-time network traffic includes:
[0010] Determine the magnitude relationship between the real-time network traffic and a preset traffic threshold;
[0011] According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
[0012] In one of the embodiments, the traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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 of the embodiments, determining the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU according to the size relationship includes:
[0014] When the first size relationship is that the real-time network traffic is less than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a shutdown process;
[0015] When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is startup processing;
[0016] The energy consumption per unit time of the OLT in the low-speed mode is smaller than the energy consumption per unit time of the OLT in the high-speed mode.
[0017] In one of the embodiments, adjusting the mode of the ONU according to the channel control strategy and the target operation mode includes:
[0018] Sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries the channel control strategy; the control instruction 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 strategy;
[0019] Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0020] In one of the embodiments, determining the target operation 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 according to the real-time network traffic includes:
[0021] The real-time network traffic is input into a traffic prediction model to predict the future network traffic of the ONU at a future time;
[0022] According to the future network traffic, a target operation mode corresponding to the OLT port and a channel control strategy of the passive optical network port in the ONU are determined.
[0023] In a second aspect, the present application also provides an access network mode adjustment device. The device includes:
[0024] An acquisition module is used to acquire the real-time network traffic corresponding to the access network optical network unit ONU;
[0025] A determination module, used to determine the target operation 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 according to 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 operation mode.
[0027] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0028] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0029] Determine, based on the real-time network traffic, a target operation mode corresponding to an optical line terminal OLT port connected to the ONU, and a channel control strategy for a passive optical network port in the ONU;
[0030] The ONU is operated in a mode-adjusted manner according to the channel control strategy and the target operation mode.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0032] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0033] Determine, based on the real-time network traffic, a target operation mode corresponding to an optical line terminal OLT port connected to the ONU, and a channel control strategy for a passive optical network port in the ONU;
[0034] The ONU is operated in a mode-adjusted manner according to the channel control strategy and the target operation mode.
[0035] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0037] Determine, based on the real-time network traffic, a target operation mode corresponding to an optical line terminal OLT port connected to the ONU, and a channel control strategy for a passive optical network port in the ONU;
[0038] The ONU is operated in a mode-adjusted manner according to the channel control strategy and the target operation mode.
[0039] The access network mode adjustment method, device, computer equipment and storage medium can determine the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU through the real-time network traffic corresponding to the ONU; then, the ONU mode is adjusted according to the channel control strategy and the target operation mode; according to the above content, it can be seen that the present application can realize adaptive mode adjustment of the ONU according to the real-time network traffic corresponding to the ONU, ensuring that when the real-time network traffic corresponding to the ONU is different, the OLT has different target operation modes, and when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be closed, reducing the power cost generated by the high-speed channel during operation; avoiding unnecessary energy consumption caused by the high-speed mode of the CNU during the low-load period of the network, achieving the purpose of significantly reducing energy consumption and improving the energy efficiency of the access network system. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 An application environment diagram of an access network mode adjustment method provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a flow chart of a first access network mode adjustment method provided in an embodiment of the present application;
[0042] Figure 3 A flowchart of a second access network mode adjustment method provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of a second access network mode adjustment method provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of a flow chart of a third access network mode adjustment method provided in an embodiment of the present application;
[0045] Figure 6 A signaling diagram of the first access network mode adjustment method provided in an embodiment of the present application;
[0046] Figure 7 A signaling diagram of a second access network mode adjustment method provided in an embodiment of the present application;
[0047] Figure 8 A schematic diagram of a flow chart of a fourth access network mode adjustment method provided in an embodiment of the present application;
[0048] Fig. 9 A flowchart of a fifth access network mode adjustment method provided in an embodiment of the present application;
[0049] Fig.10 A schematic diagram of an access network mode adjustment method provided in an embodiment of the present application;
[0050] Fig.11 A structural block diagram of an access network mode adjustment device provided in an embodiment of the present application;
[0051] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] The access network mode adjustment method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Through the real-time network traffic corresponding to the ONU, 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 are determined; then, according to the channel control strategy and the target operating mode, the ONU mode is adjusted. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0054] In one embodiment, Figure 2 As shown, a method for adjusting access network mode is provided, and the method is applied to Figure 1 In the example of terminal 102, the following steps are included:
[0055] S201, obtaining real-time network traffic corresponding to the ONU of the access network.
[0056] It should be noted that the real-time network traffic is used to characterize the network traffic information generated by the ONU in a certain period of time; the real-time network traffic may include network traffic information at at least one moment, and the network traffic information may include parameter information related to the network traffic, such as packet rate, traffic value, throughput and bandwidth utilization, etc.; in order to ensure the universality of the acquired real-time network process, when acquiring the real-time network traffic corresponding to the ONU, the candidate network traffic at multiple moments is acquired, and then, the average operation is performed on each candidate network traffic, and the obtained operation result is the real-time network traffic corresponding to the ONU.
[0057] In one embodiment of the present 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 the moment and the candidate network traffic corresponding to the moment can be obtained, and then, the candidate network traffic corresponding to the n+1 moments is averaged, and the obtained calculation result is the real-time network traffic corresponding to the ONU.
[0058] Further explanation: in order to further 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, and then the candidate network traffic at the three moments is averaged, and the obtained calculation result is the real-time network traffic corresponding to the ONU.
[0059] In one embodiment of the present application, when it is necessary to obtain the real-time network traffic corresponding to the ONU at a certain moment, the candidate network traffic at the moment after the current moment can be predicted, and the candidate network traffic at the current moment and the candidate network traffic at the moment before the current moment are obtained according to the network traffic record. Then, the candidate network traffic at the three moments is averaged, and the obtained calculation result is the real-time network traffic corresponding to the ONU.
[0060] To further illustrate, OLT can report the real-time network traffic corresponding to ONU through Telemetry (telemetry technology), and the real-time network traffic may include the traffic number of ONU and the traffic data of 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, determining a target operation mode corresponding to an optical line terminal OLT port connected to the ONU and a channel control strategy of a passive optical network port in the ONU according to real-time network traffic.
[0062] It should be noted that whether the ONU traffic is under low load can be determined based on the real-time network traffic. If it is determined that the ONU traffic is under low load, the corresponding target operating mode and channel control strategy can be determined under the low load situation; if it is determined that the ONU traffic is not under low load, the corresponding target operating mode and channel control strategy can be determined under the low load situation.
[0063] It is further explained that the target operating mode and channel control strategy corresponding to the case where the ONU traffic is under low load, as well as the target operating mode and channel control strategy corresponding to the case where the ONU traffic is not under low load can be pre-set. Therefore, after determining whether the ONU traffic is under low load, 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 can be smoothly determined.
[0064] In one embodiment of the present application, Figure 3 As shown, when it is necessary to determine whether the ONU traffic is under low load based on the real-time network traffic, the real-time network traffic can be considered in terms of time period, rate, and packet receiving and sending conditions. Specifically, when considering the time period, the low-peak time period analysis can be performed based on the historical traffic data corresponding to the ONU, and the low-peak time period in the network (such as nighttime or non-working time period) can be determined based on the historical traffic data. If the ONU is active during these time periods and the relevant indicators support the low-traffic state, it is determined that the time period belongs to the low-peak period, and the ONU is subjected to persistence detection. If the ONU maintains a low-traffic state for a continuous time period, it is determined that the time consideration of the ONU has passed. When considering the rate, the ratio between the bandwidth actually used by the ONU and its allocated maximum bandwidth can be determined. If the ONU is in a low bandwidth utilization rate for a long time (for example, If it is lower than 10%-20% of the total loan), it is determined that the ONU is in a low traffic state; it can also be determined whether the throughput of the ONU is continuously lower than a preset threshold, for example, if the downstream throughput or upstream throughput of the ONU is continuously lower than a set value, it is determined that the ONU is in a low traffic state; when considering the packet receiving and sending situation, the packet receiving and sending rate of the ONU within a period of time can also be detected. If the packet receiving and sending rate is significantly lower than the packet rate of normal business processing, it is inferred that the ONU traffic is low; it can also be determined whether the ONU has a sudden low traffic event. If so, it is determined that the overall traffic of the ONU is 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 the time period, rate and packet receiving and sending situation, it is possible to determine whether the ONU traffic is under low load based on real-time network traffic.
[0065] S203: Adjust the mode of the ONU according to the channel control strategy and the target operation mode.
[0066] It should be noted that the ONU mode may include a low-speed mode for ONU traffic with low load, and a high-speed mode for ONU traffic with no low load; wherein the channel control strategy and target operation mode corresponding to the low-speed mode are different from the channel control strategy and target operation mode corresponding to the high-speed mode.
[0067] When the ONU needs to be adjusted in mode according to the channel control strategy and the target operation mode, a control instruction can be sent to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries the channel control strategy; the control instruction 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 strategy; and, the operation mode of the OLT port is switched from the current operation mode to the target operation mode, so as to adjust the mode of the ONU.
[0068] The above-mentioned access network mode adjustment method determines the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU through the real-time network traffic corresponding to the ONU; then, the ONU mode is adjusted according to the channel control strategy and the target operation mode; according to the above content, it can be seen that the present application can realize adaptive mode adjustment of the ONU according to the real-time network traffic corresponding to the ONU, ensuring that when the real-time network traffic corresponding to the ONU is different, the OLT has different target operation modes, and when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be closed, thereby reducing the power cost generated by the high-speed channel during operation; avoiding unnecessary energy consumption caused by the high-speed mode of the CNU during the low-load period of the network, thereby significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0069] In one embodiment, if Figure 4 As shown, when it is necessary to determine the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU according to the real-time network traffic, the following contents may be specifically included:
[0070] S401, determining the magnitude relationship between the real-time network traffic and a preset traffic threshold.
[0071] It should be noted that the traffic threshold includes a first traffic threshold and a second traffic threshold, and the first traffic threshold is smaller 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.
[0072] Further explanation: if the first size relationship between the network traffic and the first traffic threshold is that the real-time network traffic is less than the first traffic threshold, it means that the ONU traffic is in a low-load idle state; if the second size relationship between the network traffic and the second traffic threshold is that the real-time network traffic is greater than the first traffic threshold, it means that the ONU traffic is in a high-load busy state.
[0073] S402, determining a target operation mode corresponding to the OLT port and a channel control strategy of the passive optical network port in the ONU according to the size relationship.
[0074] It should be noted that when it is necessary to determine 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 the size relationship, the following contents may be specifically included: 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 the low-speed mode, and the channel control strategy of the passive optical network port in the ONU is the shutdown processing; 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 the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup processing; wherein, the energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0075] The energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0076] It should be noted that when the channel control strategy of the passive optical network port in the ONU of the present application is the shutdown processing, the passive optical network port in the ONU is switched from XGPON (10-Gigabit-Capable Passive Optical Network) to GPON (Gigabit-Capable Passive Optical Network); when the channel control strategy of the passive optical network port in the ONU of the present application is the startup processing, the passive optical network port in the ONU is switched from GPON to XGPON.
[0077] The access network mode adjustment method determines the size relationship between the real-time network traffic and the preset traffic threshold, and then determines the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU according to the size relationship, thereby ensuring that different channel control strategies and target operation modes can be selected according to the actual situation of the ONU to adjust the mode of the ONU, avoiding unnecessary energy consumption in the high-speed mode of the CNU during the low-load period of the network, and achieving the purpose of significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0078] In one embodiment, if Figure 5 As shown, when it is necessary to adjust the ONU mode according to the channel control strategy and the target operation mode, the following contents may be specifically included:
[0079] S501, sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU.
[0080] The control instruction carries a channel control strategy; the control instruction 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 strategy.
[0081] S502: Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0082] In one embodiment of the present application, Figure 6 As shown, OLT can report the real-time network traffic corresponding to ONU through Telemetry to obtain the real-time network traffic corresponding to ONU in the access network. Then, according to the real-time network traffic corresponding to ONU, it is determined that ONU is in a low-load idle state, and the passive optical network port in ONU is switched from XGPON to GPON through MQTT module. The registration information of ONU and the XGPON channel of service configuration OLT PON port are deleted through NETCONF, and the GPON channel configured to OLT PON port is synchronously configured, and the operation mode of OLT port is switched from current operation mode to target operation mode. Furthermore, it is determined whether ONUs under XGPON channel have been removed, and XGPON channel of PON port is closed according to the determination result.
[0083] In one embodiment of the present application, Figure 7As shown, OLT can report the real-time network traffic corresponding to ONU through Telemetry to obtain the real-time network traffic corresponding to ONU in access network, and then, according to the real-time network traffic corresponding to ONU, determine whether ONU is in high-load busy state, and then, through MQTT module, switch the passive optical network port in ONU from GPON to XGPON, delete the registration information of ONU and the GPON channel of service matching OLT PON port through NETCONF, and synchronously configure the XGPON channel to OLTPON port, and realize switching the operation mode of OLT port from current operation mode to target operation mode; further, determine whether ONU switched to high-load mode, open XGPON channel and close GPON channel in time.
[0084] The access network mode adjustment method sends a control instruction to the message queue telemetry transmission MQTT module built into the ONU, thereby controlling the high-speed channel of the passive optical network port in the ONU according to the channel control strategy, and switching the operation mode of the OLT port from the current operation mode to the target operation mode to adjust the mode of the ONU. This is to achieve adaptive mode adjustment of the ONU according to the real-time network traffic corresponding to the ONU, ensuring that when the real-time network traffic corresponding to the ONU is different, the OLT has different corresponding target operation modes, and when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be closed, reducing the power cost generated by the high-speed channel during operation.
[0085] In one embodiment, if Figure 8 As shown, when it is necessary to determine the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU according to the real-time network traffic, the following contents may be specifically included:
[0086] S801, input the real-time network traffic into the traffic prediction model to predict the future network traffic of the ONU at a future time.
[0087] It should be noted that in order to ensure that the ONU can adjust the mode more timely, rather than after the real-time network traffic has changed, a traffic prediction model can be introduced to predict the future network traffic of the ONU at a future time. Then, based on the future network traffic of the ONU at a future time, the target operating mode corresponding to the OLT port at a future time and the channel control strategy of the passive optical network port in the ONU can be determined.
[0088] Among them, the training process of the traffic prediction model may include: obtaining sample network traffic, annotating the future network traffic at the future time corresponding to the sample network traffic through manual annotation, and inputting the sample network traffic annotated with the future network traffic into the initial prediction model; adjusting the model parameters of the initial prediction model according to the difference between the output result of the initial prediction model and the future network traffic to obtain an adjusted traffic prediction model.
[0089] S802, determining a target operation mode corresponding to the OLT port and a channel control strategy of the passive optical network port in the ONU according to future network traffic.
[0090] In one embodiment of the present application, after determining the future network traffic, the size relationship between the future network traffic and the preset traffic threshold can be determined; based on the size 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 are determined.
[0091] Furthermore, after determining the target operation mode and channel control strategy corresponding to the future network traffic, the ONU mode is adjusted according to the target operation mode and channel control strategy corresponding to the future network traffic according to the pre-set setting rules.
[0092] Specifically, if the pre-defined setting rules can be: if the time interval between the current moment and the predicted moment corresponding to the future network traffic is less than or equal to the preset time length, then execute the step of adjusting the ONU mode according to the target operating mode and channel control strategy corresponding to the future network traffic.
[0093] The access network mode adjustment method described above determines the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU according to the future network traffic, further improving the flexibility of the ONU mode adjustment and further reducing the power cost generated by the ONU during operation.
[0094] In one embodiment, if Fig. 9 As shown, when the ONU mode needs to be adjusted, the following contents may be included:
[0095] S901, obtaining real-time network traffic corresponding to the access network optical network unit ONU.
[0096] S902, determining the magnitude relationship between the real-time network traffic and a preset traffic threshold.
[0097] S903, when the first size relationship is that the real-time network traffic is less than the first traffic threshold, determine that the target operation mode corresponding to the OLT port is the low-speed mode, and the channel control strategy of the passive optical network port in the ONU is the shutdown processing; when the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determine that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup processing.
[0098] S904, sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU.
[0099] S905: Switch the operation mode of the OLT port from the current operation mode to the target operation mode to adjust the mode of the ONU.
[0100] In one embodiment, if Fig.10 As shown, the access network mode adjustment method of the present application can be executed through the management platform, and the real-time network traffic corresponding to the access network optical network unit ONU can be obtained through the performance data collection module and the Telemetry of the OLT; through the data analysis model, the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU can be determined according to the real-time network traffic; then, a control instruction is sent to the message queue telemetry transmission MQTT module built into the ONU, so that the MQTT module controls the high-speed channel of the passive optical network port in the ONU according to the channel control strategy; and the operation mode of the OLT port is switched from the current operation mode to the target operation mode to adjust the mode of the ONU. Among them, the passive optical network port in the ONU includes XGPON (10-Gigabit-Capable Passive Optical Network, 10 Gigabit Passive Optical Network) high-speed mode and GPON (Gigabit-Capable Passive Optical Network, Gigabit Passive Optical Network) low-speed mode.
[0101] The above-mentioned access network mode adjustment method determines the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU through the real-time network traffic corresponding to the ONU; then, the ONU mode is adjusted according to the channel control strategy and the target operation mode; according to the above content, it can be seen that the present application can realize adaptive mode adjustment of the ONU according to the real-time network traffic corresponding to the ONU, ensuring that when the real-time network traffic corresponding to the ONU is different, the OLT has different target operation modes, and when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be closed, thereby reducing the power cost generated by the high-speed channel during operation; avoiding unnecessary energy consumption caused by the high-speed mode of the CNU during the low-load period of the network, thereby 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 involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0103] Based on the same inventive concept, the embodiment of the present application also provides an access network mode adjustment device for implementing the access network mode adjustment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more access network mode adjustment device embodiments provided below can refer to the limitations of the access network mode adjustment method above, and will not be repeated here.
[0104] In one embodiment, Fig.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 optical network unit ONU of the access network.
[0106] The determination module 20 is used to determine the target operation 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 according to 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 operation mode.
[0108] In one embodiment, determining a magnitude relationship between real-time network traffic and a preset traffic threshold;
[0109] According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
[0110] In one embodiment, the traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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.
[0111] In one embodiment, when the first size relationship is that the real-time network traffic is less than the first traffic threshold, it is determined that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a shutdown process;
[0112] When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup process;
[0113] The energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0114] In one embodiment, a control instruction is sent to a message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries a channel control strategy; the control instruction 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 strategy;
[0115] Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0116] In one embodiment, the real-time network traffic is input into the traffic prediction model to predict the future network traffic of the ONU at a future time;
[0117] According to the future network traffic, determine the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU.
[0118] The access network mode adjustment device can determine the target operation mode corresponding to the optical line terminal OLT port and the channel control strategy of the passive optical network port in the ONU through the real-time network traffic corresponding to the ONU; then, the ONU mode is adjusted according to the channel control strategy and the target operation mode; according to the above content, the present application can realize adaptive mode adjustment of the ONU according to the real-time network traffic corresponding to the ONU, ensuring that when the real-time network traffic corresponding to the ONU is different, the OLT has different target operation modes, and when the real-time network traffic is low, the high-speed channel of the passive optical network port in the ONU can be closed, thereby reducing the power cost generated by the high-speed channel during operation; avoiding unnecessary energy consumption caused by the high-speed mode of the CNU during the low-load period of the network, thereby significantly reducing energy consumption and improving the energy efficiency of the access network system.
[0119] Each module in the access network mode adjustment device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0120] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.12 As shown. The computer device includes a processor, a memory, an input / output port, a communication port, a display unit and an input device. The processor, the memory and the input / output port are connected through a system bus, and the communication port, the display unit and the input device are connected to the system bus through the input / output port. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output port of the computer device is used to exchange information between the processor and the external device. The communication port of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an access network mode adjustment method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0121] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0122] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0123] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0124] Determine the target operation 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 according to the real-time network traffic;
[0125] The ONU mode is adjusted according to the channel control strategy and the target operation mode.
[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0127] Determine the relationship between real-time network traffic and a preset traffic threshold;
[0128] According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
[0129] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0130] The traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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.
[0131] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0132] When the first size relationship is that the real-time network traffic is less than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a shutdown process;
[0133] When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup process;
[0134] The energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0136] Sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries a channel control strategy; the control instruction 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 strategy;
[0137] Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0138] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0139] Input the real-time network traffic into the traffic prediction model to predict the future network traffic of the ONU at the future time;
[0140] According to the future network traffic, determine the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU.
[0141] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0142] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0143] Determine the target operation 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 according to the real-time network traffic;
[0144] The ONU mode is adjusted according to the channel control strategy and the target operation mode.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0146] Determine the relationship between real-time network traffic and a preset traffic threshold;
[0147] According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0149] The traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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.
[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0151] When the first size relationship is that the real-time network traffic is less than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a shutdown process;
[0152] When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup process;
[0153] The energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0155] Sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries a channel control strategy; the control instruction 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 strategy;
[0156] Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0158] Input the real-time network traffic into the traffic prediction model to predict the future network traffic of the ONU at the future time;
[0159] According to the future network traffic, determine the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU.
[0160] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0161] Obtain the real-time network traffic corresponding to the access network optical network unit ONU;
[0162] Determine the target operation 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 according to the real-time network traffic;
[0163] The ONU mode is adjusted according to the channel control strategy and the target operation mode.
[0164] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0165] Determine the relationship between real-time network traffic and a preset traffic threshold;
[0166] According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
[0167] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0168] The traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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.
[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0170] When the first size relationship is that the real-time network traffic is less than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a shutdown process;
[0171] When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the startup process;
[0172] The energy consumption per unit time of the OLT in the low-speed mode is less than the energy consumption per unit time of the OLT in the high-speed mode.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] Sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries a channel control strategy; the control instruction 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 strategy;
[0175] Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] Input the real-time network traffic into the traffic prediction model to predict the future network traffic of the ONU at the future time;
[0178] According to the future network traffic, determine the target operation mode corresponding to the OLT port and the channel control strategy of 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, stored data, displayed data, 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 relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0180] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0181] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for adjusting an access network mode, characterized in that: The method comprises: Obtain the real-time network traffic corresponding to the access network optical network unit ONU; Determine, based on the real-time network traffic, a target operation mode corresponding to an optical line terminal OLT port connected to the ONU, and a channel control strategy for a passive optical network port in the ONU; The ONU is operated in a mode-adjusted manner according to the channel control strategy and the target operation mode.
2. The method according to claim 1, characterized in that Determining the target operation 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 according to the real-time network traffic includes: Determine the magnitude relationship between the real-time network traffic and a preset traffic threshold; According to the size relationship, the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU are determined.
3. The method according to claim 2, characterized in that The traffic threshold includes a first traffic threshold and a second traffic threshold, the first traffic threshold is smaller 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.
4. The method according to claim 3, characterized in that Determining the target operation mode corresponding to the OLT port and the channel control strategy of the passive optical network port in the ONU according to the size relationship includes: When the first size relationship is that the real-time network traffic is less than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is a low-speed mode, and the channel control strategy of the passive optical network port in the ONU is a high-speed channel shutdown process, and allowing the low-speed channel to carry traffic; When the second size relationship is that the real-time network traffic is greater than the first traffic threshold, determining that the target operation mode corresponding to the OLT port is the high-speed mode, and the channel control strategy of the passive optical network port in the ONU is the high-speed channel startup processing, and allowing the high-speed channel to carry traffic; The energy consumption per unit time of the OLT in the low-speed mode is smaller than the energy consumption per unit time of the OLT in the high-speed mode.
5. 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 operation mode includes: Sending a control instruction to the message queue telemetry transmission MQTT module built into the ONU; wherein the control instruction carries the channel control strategy; the control instruction 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 strategy; Switch the operation mode of the OLT port from the current operation mode to the target operation mode.
6. The method according to claim 1, characterized in that Determining the target operation 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 according to the real-time network traffic includes: The real-time network traffic is input into a traffic prediction model to predict the future network traffic of the ONU at a future time; According to the future network traffic, a target operation mode corresponding to the OLT port and a channel control strategy of the passive optical network port in the ONU are determined.
7. An access network mode adjustment device, characterized in that: The device comprises: An acquisition module is used to obtain the real-time network traffic corresponding to the access network ONU; A determination module, used to determine the target operation mode corresponding to the OLT port connected to the ONU and the channel control strategy of the passive optical network port in the ONU according to the real-time network traffic; The adjustment module is used to adjust the mode of the ONU according to the channel control strategy and the target operation mode.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Equipment management method and device
CN115021861A
Transmission rate control method of ONU, ONU, OLT, electronic device and storage medium
CN115567801A
Traffic distribution method, optical line terminal, electronic equipment and readable storage medium
CN118827391A
PON system and band allocation method therefor
JP2012049738A
Optical line terminal for supporting ethernet
KR101553002B1
Cited By
Method and device for adaptively adjusting power consumption of FTTR gateway
CN120751467A
Access network mode adjustment method and apparatus, computer device, and storage medium
WO2026124139A1