Equipment energy saving method and system

By collecting and analyzing service flow and power consumption data and dynamically adjusting the power supply status, the high energy consumption and low efficiency problems of distributed switches in data centers are solved, and dynamic energy saving and efficiency improvement of power supply is achieved.

CN120342979APending Publication Date: 2025-07-18ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410065130.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The power supply of distributed switches in data centers is inefficient and has high energy consumption under low load conditions, and the prior art lacks dynamic consumption reduction analysis.

Method used

By collecting service traffic data and power consumption data, analyzing service traffic changes and equipment power consumption status, and dynamically adjusting the power operation status to achieve energy saving.

Benefits of technology

It realizes dynamic energy saving of the power supply, improves the power load efficiency, and solves the problem of high power consumption ineffective power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342979A_ABST
    Figure CN120342979A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment energy-saving method and system, and the method comprises the steps: obtaining the flow data of equipment, and calculating the current power consumption data of the equipment according to the flow data; acquiring current power consumption data of the equipment, and judging whether the current power consumption data is matched with the calculated current required power consumption data or not; and under the condition that the current power consumption data is matched with the current required power consumption data, adjusting the running state of the power supply of the equipment according to the current power consumption data and a preset sleep power consumption threshold value. Dynamic energy saving of the power supply is realized, the power supply load efficiency can be effectively improved, and the problems of high power supply invalid energy consumption and low power supply load efficiency of the data center distributed switch in the related technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communications, and more particularly, to a method and system for device energy saving. Background Art

[0002] For the power supply of distributed switches in data centers, the power supply is usually fully configured for business expansion, but the actual average load rate of the device during operation is low, and the power efficiency of the fully configured power supply is low under low load conditions; the traffic in the existing network shows an obvious tidal effect over time, and the load difference between busy hours and idle hours is large; the correlation between the change in service load and the power efficiency of network devices is low, and the device power supply is in a state of ineffective energy consumption for a long time. Summary of the Invention

[0003] Embodiments of the present application provide a method and system for device energy saving, so as to at least solve the problem of high ineffective energy consumption and low power load efficiency of the power supply of distributed switches in data centers in related technologies.

[0004] According to an embodiment of the present application, a method for device energy saving is provided, which is applied to a controller and includes:

[0005] Obtain the traffic data of the device, and calculate the current power consumption data required by the device according to the traffic data;

[0006] Collect the current power consumption data of the device, and determine whether the current power consumption data matches the calculated current required power consumption data;

[0007] When the current power consumption data matches the current required power consumption data, adjust the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold.

[0008] According to another embodiment of the present application, a device energy saving system is provided, including:

[0009] A first acquisition module, configured to obtain the traffic data of the device, and calculate the current power consumption data required by the device according to the traffic data;

[0010] A collection module, configured to collect the current power consumption data of the device, and determine whether the current power consumption data matches the calculated current required power consumption data;

[0011] A first adjustment module, configured to adjust the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold when the current power consumption data matches the current required power consumption data.

[0012] According to another embodiment of the present application, there is also provided a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.

[0013] According to another embodiment of the present application, there is also provided an electronic device including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0014] The present application obtains the traffic data of the device, calculates the current power consumption data required by the device according to the traffic data; collects the current power consumption data of the device, and determines whether the current power consumption data matches the calculated current required power consumption data; when the current power consumption data matches the current required power consumption data, adjusts the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold. It realizes dynamic power saving of the power supply, and can effectively improve the power load efficiency, and solves the problems of high invalid power consumption of the power supply and low power load efficiency of the distributed switch in the data center in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a hardware structure block diagram of a mobile terminal of a device energy-saving method according to an embodiment of the present application;

[0016] Figure 2 is an energy-saving system architecture diagram according to an embodiment of the present application;

[0017] Figure 3 is a flowchart of device energy saving according to an embodiment of the present application;

[0018] Figure 4 is a schematic diagram of energy-saving strategy model training according to an embodiment of the present application;

[0019] Figure 5 is a structure block diagram of a device energy-saving system according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] The embodiments of the present application will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0021] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence.

[0022] In the prior art, the power supply of data center equipment usually adopts a redundant backup mode, that is, the power supply module provides N+1 backup. Any power supply module fails, and it can ensure the stable power supply of the switch system. However, usually the power supply is fully configured and the power supply operates at a low load; when the data control system monitors and manages the equipment, it usually lacks the analysis of the dynamic power consumption reduction of the equipment.

[0023] In view of the above-mentioned technical problems, the present application provides a device energy-saving method. Its technical concept lies in analyzing the change of service traffic and the power consumption state of the device through the collected service traffic data and power consumption data, and dynamically adjusting the operation state of the power supply according to the change of service traffic and the power consumption state of the device, so as to achieve the energy-saving effect, and solve the problems of high invalid energy consumption of the power supply of the distributed switch in the data center and low power supply load efficiency in the related technology.

[0024] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 is a hardware structure block diagram of a mobile terminal of a device energy-saving method according to an embodiment of the present application. As Figure 1 shown, the mobile terminal may include one or more ( Figure 1 only one is shown in the figure) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Among them, the above-mentioned mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic, and it does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may further include more or fewer components than Figure 1 shown in the figure, or have a different configuration from Figure 1 shown in the figure.

[0025] The memory 104 can be used to store computer programs. For example, software programs and modules of application software, such as the computer program corresponding to the device energy-saving method in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-mentioned method. The memory 104 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0026] The transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of a mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0027] Figure 2 is an energy-saving system architecture diagram according to an embodiment of the present application. The embodiment of the present application can run on Figure 2 the network architecture shown, such as Figure 2 shown. The network architecture includes: a data center control system and data center devices. The functions and roles of the data center control system and data center devices are as follows:

[0028] The data center device can be composed of a set of software and hardware systems. The hardware system can be composed of a chassis, a power supply, a fan, a backplane, a system control single board, a switching network board, an interface board, etc. Among them, the power supply can be composed of multiple power modules, and the redundant backup method can ensure stable power supply of the system; the software system can manage and control modules such as the chassis, power supply, fan, backplane, system control single board, switching network board, and interface board of the hardware system, can be docked with an external control system, and run network protocols, etc.

[0029] The data center control system can be a set of software systems, which can run on a server, can remotely manage and control network devices such as data center switches, and can monitor and manage network devices in real time, including device service and resource configuration, and device operation information collection. The service and resource configuration includes switch device networking and device power supply, fan, board card, port, etc. The device operation information collection can include device operation traffic, energy consumption, etc.

[0030] In this embodiment, an energy-saving method for a device running on the above-mentioned mobile terminal or network architecture is provided, which is applied to a control system. Figure 3 is a flowchart of device energy saving according to an embodiment of the present application. As Figure 3 shown, the process includes the following steps:

[0031] Step S301, obtain the traffic data of the device, and calculate the current power consumption data required by the device according to the traffic data.

[0032] The control system in the embodiments of this application can be used to manage and monitor data center devices and networks. The power supply in the data center devices can adopt a redundant backup mode, that is, the power supply modules provide N+1 backup. In case any one of the power supply modules fails, the switch system can still be stably powered.

[0033] Exemplarily, the traffic data of the device can be obtained, and the traffic data can include historical traffic data and current traffic data. The current power consumption data required by the device can be calculated based on the obtained traffic data.

[0034] As an example, the data center devices and the data center control system can transmit the configuration information and operation information of the data center devices through the northbound interface. For example, power supply configuration information, device traffic information, device power consumption information, etc. Among them, the northbound interface can include but is not limited to the Telemetry interface, the Network Configuration Protocol (NETCONF) interface, the Simple Network Management Protocol (SNMP) interface, etc.

[0035] For example, the real-time traffic of the data center device ports can be collected through Telemetry subscription, Netconf, or SNMP, etc.

[0036] In an exemplary embodiment, step S301 includes:

[0037] Obtain the historical traffic increment data of the device, and calculate the current power consumption data required by the device according to the historical traffic increment data.

[0038] As an example, the control system can calculate and analyze the traffic data of the obtained device, extract the historical traffic increment data of the device, and calculate the current power consumption data required by the device according to the historical traffic increment data.

[0039] Step S302, collect the current power consumption data of the device, and determine whether the current power consumption data matches the calculated current required power consumption data;

[0040] Exemplarily, the control system can collect the current power consumption data of the device, and analyze based on the collected current power consumption data and the calculated current required power consumption data to determine whether the current power consumption data matches the calculated current required power consumption data. For example, the control system can first analyze the historical traffic data to predict the data range of the current required power consumption data, and then judge the collected current power consumption data to determine whether the current power consumption data is within the data range of the current required power consumption data.

[0041] As an example, the control system can collect the current power consumption data of the data center device through Telemetry subscription, Netconf, or SNMP, etc.

[0042] Step S303, when the current power consumption data matches the current required power consumption data, adjust the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold.

[0043] Exemplarily, a preset sleep power consumption threshold can be obtained. When the current power consumption data matches the current required power consumption data, the operating state of the power supply of the device can be adjusted according to the current power consumption data and the preset sleep power consumption threshold.

[0044] As an example, those skilled in the art can set the sleep power consumption threshold according to the actual situation, and the embodiments of the present application do not limit the size of the preset sleep power consumption threshold.

[0045] In an exemplary embodiment, step S303 may specifically include:

[0046] When the current power consumption data does not exceed the preset sleep power consumption threshold, issue a power supply sleep instruction so that the device performs a sleep process on the power supply according to the power supply sleep instruction;

[0047] When the current power consumption data exceeds the preset sleep power consumption threshold, issue a power supply wake-up instruction so that the device performs a wake-up process on the power supply according to the power supply wake-up instruction.

[0048] As an example, when the current power consumption data does not exceed the preset sleep power consumption threshold, interfaces such as NETCONF and SNMP can be called to issue a power supply sleep instruction so that the device performs a sleep process on the power supply according to the power supply sleep instruction.

[0049] As an example, when the current power consumption data exceeds the preset sleep power consumption threshold, interfaces such as NETCONF and SNMP can be called to issue a power supply wake-up instruction so that the device performs a wake-up process on the power supply according to the power supply wake-up instruction.

[0050] In an exemplary embodiment, after adjusting the operating state of the power supply of the device, it further includes:

[0051] Obtain an energy-saving policy, where the energy-saving policy includes the collection frequency corresponding to the power consumption data; adjust the collection frequencies of the traffic data and the power consumption data according to the energy-saving policy.

[0052] In an exemplary embodiment, the adjusting the collection frequencies of the traffic data and the power consumption data according to the energy-saving policy includes:

[0053] Adjust the collection frequencies of the traffic data and the power consumption data according to the energy-saving policy, and stop adjusting when both the traffic data and the power consumption data remain stable.

[0054] As an example, after adjusting the operating state of the power supply of the device, the flow rate data and power consumption data of the device can continue to be collected.

[0055] As an example, an energy-saving strategy can be obtained, where the energy-saving strategy can include the collection frequency corresponding to the power consumption data, and the control system can adjust the collection frequencies of the flow rate data and the power consumption data according to the energy-saving strategy.

[0056] For example, when the operating state of the power supply has just been adjusted and the system has not reached a stable state, the collection frequency can be adjusted accordingly according to the magnitude of the power consumption data. When the system reaches steady-state operation, the collection frequency can be reduced. When both the flow rate data and the power consumption data of the system remain stable, the adjustment can be stopped.

[0057] In an exemplary embodiment, after stopping the adjustment, it further includes:

[0058] Collect the current power consumption data of the device, and determine the energy-saving efficiency based on the power consumption data before the adjustment of the operating state of the power supply and the current power consumption data after the adjustment of the operating state of the power supply.

[0059] As an example, the control system can analyze the power consumption data before and after the adjustment of the operating state of the power supply. For example, the power consumption data before the adjustment of the operating state of the power supply can be compared with the power consumption data after the adjustment of the operating state of the power supply, the energy-saving power consumption before and after the adjustment of the operating state of the power supply can be calculated, and the energy-saving efficiency can be calculated.

[0060] As an example, the control system can generate an energy-saving efficiency analysis report based on the analysis results of the power consumption data before and after the adjustment of the operating state of the power supply.

[0061] In an exemplary embodiment, the obtaining of the energy-saving strategy further includes:

[0062] Obtain the energy-saving strategy according to the flow rate data, the power consumption data, and the energy-saving strategy model.

[0063] As an example, the control system can use the flow rate data and the power consumption data as the input of the energy-saving strategy model to obtain the energy-saving strategy output by the energy-saving strategy model.

[0064] As an example, the control system can dynamically issue the energy-saving strategy through interfaces such as NETCONF and SNMP.

[0065] In an exemplary embodiment, the energy-saving strategy model is trained in the following manner:

[0066] Obtain historical traffic data, historical power consumption data corresponding to the historical traffic data, collection time corresponding to the historical traffic data, collection frequency of the historical traffic data, collection frequency of the historical power consumption data, and an initial energy-saving strategy model;

[0067] Use the historical traffic data, historical power consumption data corresponding to the historical traffic data, collection time corresponding to the historical traffic data, collection frequency of the historical traffic data, and collection frequency of the historical power consumption data as sample data of the initial energy-saving strategy model, and perform model training to obtain the energy-saving strategy model.

[0068] Figure 4 is a schematic diagram of the training of the energy-saving strategy model according to an embodiment of the present application. As shown in Figure 4 shown, the following steps can be executed in the control system:

[0069] (1) Data collection: Collect historical data.

[0070] As an example, different service types can correspond to different energy-saving strategy models. After obtaining data such as historical traffic data, historical power consumption data, collection time corresponding to the historical traffic data, collection frequency of the historical traffic data, and collection frequency of the historical power consumption data, the data can be preprocessed first.

[0071] (2) Data preprocessing: Generate data samples through steps such as determining the service type, feature extraction, classification and aggregation.

[0072] For example, the service type of the data can be determined, then multiple data features of the data under different service types can be determined, and then classification and aggregation can be performed based on multiple data features under a certain service type to form data samples.

[0073] Among them, the service type can include but is not limited to cloud computing services and traditional non-cloud services. Cloud computing services can include public cloud, private cloud, hybrid cloud, information technology computing cloud, industrial and commercial computing cloud, etc., and traditional non-cloud services can include Internet Data Center (IDC), Content Distribute / Delivery Network (CDN), rack rental, etc.

[0074] Among them, the data features can include traffic increment, power consumption increment, collection time, collection interval, etc.

[0075] Among them, data classification and aggregation can refer to classification or merging according to data characteristics. For example, IT cloud data shows high traffic in the first half of the night, and more large-packet backup services in the second half of the night, and CT cloud data shows high traffic during holidays, etc.

[0076] (3) Sample training and model construction: Historical traffic data, historical power consumption data corresponding to the historical traffic data, collection time of the historical traffic data, collection frequency of the historical traffic data, and collection frequency of the historical power consumption data can be used as sample data for the initial energy-saving strategy model for model training to obtain an energy-saving strategy model.

[0077] (4) Optimal algorithm

[0078] As an example, the optimal algorithm can be selected according to influencing factors such as different service types and user device usage habits and algorithm optimization parameters of the energy-saving strategy model to form the latest energy-saving strategy. Among them, user usage habits can include time period requirements, high-value service guarantee, power consumption threshold adjustment differentiation strategy, etc.

[0079] (5) Execution of energy-saving strategy

[0080] The control system can dynamically issue energy-saving strategies through interfaces such as NETCONF and SNMP.

[0081] In this application, by obtaining the traffic data of the device and calculating the current required power consumption data of the device according to the traffic data; collecting the current power consumption data of the device and determining whether the current power consumption data matches the calculated current required power consumption data; in the case where the current power consumption data matches the current required power consumption data, the operating state of the power supply of the device is adjusted according to the current power consumption data and the preset sleep power consumption threshold. It realizes dynamic power saving and can effectively improve the power load efficiency, and solves the problems of high invalid energy consumption of the power supply of the distributed switch in the data center and low power load efficiency in the related art.

[0082] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

[0083] In this embodiment, a control system is further provided. This system is used to implement the above embodiments and exemplary embodiments, and those that have been described will not be repeated. As used hereinafter, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0084] Figure 5 is a structural block diagram of an equipment energy-saving system according to an embodiment of the present application. As Figure 5 shown, this system includes

[0085] A first acquisition module 501, configured to acquire the flow data of the equipment and calculate the current power consumption data required by the equipment according to the flow data;

[0086] An acquisition module 502, configured to acquire the current power consumption data of the equipment and determine whether the current power consumption data matches the calculated current required power consumption data;

[0087] A first adjustment module 503, configured to adjust the operating state of the power supply of the equipment according to the current power consumption data and a preset sleep power consumption threshold when the current power consumption data matches the current required power consumption data.

[0088] In an exemplary embodiment, the adjustment module 503 includes:

[0089] A sleep instruction issuing sub-module, configured to issue a power supply sleep instruction to cause the equipment to perform a sleep process on the power supply according to the power supply sleep instruction when the current power consumption data does not exceed the preset sleep power consumption threshold;

[0090] A wake-up instruction issuing sub-module, configured to issue a power supply wake-up instruction to cause the equipment to perform a wake-up process on the power supply according to the power supply wake-up instruction when the current power consumption data exceeds the preset sleep power consumption threshold.

[0091] In an exemplary embodiment, it further includes:

[0092] A second acquisition module, configured to acquire an energy-saving strategy after adjusting the operating state of the power supply of the equipment, where the energy-saving strategy includes the acquisition frequency corresponding to the power consumption data;

[0093] A second adjustment module, configured to adjust the acquisition frequencies of the flow data and the power consumption data according to the energy-saving strategy.

[0094] In an exemplary embodiment, the acquisition module includes:

[0095] A obtaining sub-module, configured to obtain the energy-saving policy according to the traffic data, the power consumption data, and the energy-saving policy model.

[0096] In an exemplary embodiment, the energy-saving policy model is trained through the following steps:

[0097] An obtaining unit, configured to obtain historical traffic data, historical power consumption data corresponding to the historical traffic data, collection time corresponding to the historical traffic data, collection frequency of the historical traffic data, collection frequency of the historical power consumption data, and an initial energy-saving policy model.

[0098] A training unit, configured to use the historical traffic data, the historical power consumption data corresponding to the historical traffic data, the collection time corresponding to the historical traffic data, the collection frequency of the historical traffic data, and the collection frequency of the historical power consumption data as sample data of the initial energy-saving policy model, and perform model training to obtain the energy-saving policy model.

[0099] In an exemplary embodiment, the obtaining module 501 includes:

[0100] An obtaining sub-module, configured to obtain historical traffic increment data of a device, and calculate current power consumption data required by the device according to the historical traffic increment data.

[0101] In an exemplary embodiment, the second adjustment module includes:

[0102] An adjustment sub-module, configured to adjust the collection frequencies of the traffic data and the power consumption data according to the energy-saving policy, and stop adjustment when both the traffic data and the power consumption data are stable and unchanged.

[0103] In an exemplary embodiment, it further includes:

[0104] A determination sub-module, configured to, after stopping adjustment, collect current power consumption data of the device, and determine an energy-saving efficiency according to the power consumption data before adjustment of the operating state of the power supply and the current power consumption data after adjustment of the operating state of the power supply.

[0105] It should be noted that the above-mentioned each module can be implemented by software or hardware. For the latter, it can be implemented through the following ways, but not limited thereto: the above-mentioned modules are all located in the same processor; or, the above-mentioned each module is separately located in different processors in any combination form.

[0106] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program is configured to execute the steps in any one of the above method embodiments when running.

[0107] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media that can store computer programs such as USB flash drives, read-only memory (ROM for short), random access memory (RAM for short), mobile hard disks, magnetic disks, or optical discs.

[0108] An embodiment of the present application also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0109] In an exemplary embodiment, the above electronic device may further include a transmission device and an input / output device. Among them, the transmission device is connected to the above processor, and the input / output device is connected to the above processor.

[0110] The specific examples in this embodiment may refer to the examples described in the above embodiments and exemplary implementation manners, and will not be repeated here.

[0111] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.

[0112] The above are only exemplary embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for energy saving of a device, characterized in that, Applied to a control system, the method includes: Obtain the flow data of the device, and calculate the current required power consumption data of the device according to the flow data; Collect the current power consumption data of the device, and determine whether the current power consumption data matches the calculated current required power consumption data; When the current power consumption data matches the current required power consumption data, adjust the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold.

2. The method according to claim 1, wherein The adjusting the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold includes: When the current power consumption data does not exceed the preset sleep power consumption threshold, issue a power sleep instruction to enable the device to perform a sleep process on the power supply according to the power sleep instruction; When the current power consumption data exceeds the preset sleep power consumption threshold, issue a power wake-up instruction to enable the device to perform a wake-up process on the power supply according to the power wake-up instruction.

3. The method according to claim 1, wherein After adjusting the operating state of the power supply of the device, it further includes: Obtain an energy-saving strategy, where the energy-saving strategy includes the collection frequency corresponding to the power consumption data; Adjust the collection frequencies of the flow data and the power consumption data according to the energy-saving strategy.

4. The method according to claim 3, characterized in that, The obtaining the energy-saving strategy includes: Obtain the energy-saving strategy according to the flow data, the power consumption data, and an energy-saving strategy model.

5. The method according to claim 4, wherein The energy-saving strategy model is trained in the following manner: Obtain historical flow data, the historical power consumption data corresponding to the historical flow data, the collection time corresponding to the historical flow data, the collection frequency of the historical flow data, the collection frequency of the historical power consumption data, and an initial energy-saving strategy model; Use the historical flow data, the historical power consumption data corresponding to the historical flow data, the collection time corresponding to the historical flow data, the collection frequency of the historical flow data, and the collection frequency of the historical power consumption data as sample data of the initial energy-saving strategy model, and perform model training to obtain the energy-saving strategy model.

6. The method according to claim 1, wherein The obtaining the flow data of the device and calculating the current required power consumption data of the device according to the flow data includes: Obtain the historical flow increment data of the device, and calculate the current required power consumption data of the device according to the historical flow increment data.

7. The method according to claim 3, characterized in that, The adjusting the collection frequencies of the flow data and the power consumption data according to the energy-saving strategy includes: Adjust the collection frequencies of the flow data and the power consumption data according to the energy-saving strategy, and stop adjusting when both the flow data and the power consumption data remain stable.

8. The method according to claim 7, characterized in that After stopping the adjustment, it further includes: Collect the current power consumption data of the device, and determine the energy-saving efficiency according to the power consumption data before adjusting the operating state of the power supply and the current power consumption data after adjusting the operating state of the power supply.

9. A control system, characterized in that, It includes: A first obtaining module, configured to obtain the flow data of the device and calculate the current required power consumption data of the device according to the flow data; A collection module, configured to collect the current power consumption data of the device and determine whether the current power consumption data matches the calculated current required power consumption data; A first adjustment module, configured to, when the current power consumption data matches the current required power consumption data, adjust the operating state of the power supply of the device according to the current power consumption data and a preset sleep power consumption threshold.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

11. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method described in any one of claims 1 to 8 are implemented.