Verification method of energy saving scheme, electronic equipment and storage medium
By simulating various business change scenarios in the target network simulation model, the energy-saving scheme to be tested is verified, which solves the problems of inaccurate verification results and time-consuming and labor-intensive energy-saving scheme evaluation, and realizes efficient and low-cost energy-saving scheme evaluation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-03-10
AI Technical Summary
The verification results of existing energy-saving solutions are inaccurate and time-consuming, making it difficult to fully cover various traffic change scenarios in the network.
By inputting data from preset test scenarios and the energy-saving solutions to be tested into the target network simulation model for simulation verification, various business change scenarios are simulated to determine the feasibility of the energy-saving solutions.
It improves the efficiency and accuracy of energy-saving solution verification, and can efficiently evaluate the feasibility of energy-saving solutions in simulated scenarios.
Smart Images

Figure CN121644375A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of intelligent operation and maintenance of network equipment, and particularly relates to a verification method of an energy-saving scheme, an electronic device and a storage medium. BACKGROUND
[0002] With the rapid development of the Internet, massive access and huge bandwidth demand lead to a substantial increase in energy consumption of network equipment. Network traffic changes over time and shows a clear tidal effect. When the network traffic is low, the bandwidth utilization of the equipment is low, resulting in waste of energy consumption. Therefore, the sleep state of the devices in the equipment needs to be dynamically adjusted to achieve dynamic energy saving of the network equipment. Since dynamic energy saving must ensure business safety and cannot affect the normal operation of network business, it also needs to have a certain energy-saving effect, and ideal energy-saving benefits can be achieved after application. Therefore, before applying dynamic energy saving, the safety and effectiveness of the energy-saving scheme need to be evaluated, and only when the evaluation is passed, the application will be deployed in the actual network.
[0003] However, in the evaluation process, the amount of business carried by the equipment changes complexly and variously. The amount of business carried by the equipment may be different in different networks, different places and different time periods. It is difficult to comprehensively cover various traffic change scenarios in the network by relying on manual generation of traffic test scenarios using instruments, which requires high personnel requirements and is time-consuming and labor-intensive, resulting in verification results that are not close to reality. SUMMARY
[0004] The application aims to provide a verification method of an energy-saving scheme, an electronic device and a storage medium, which at least solve the problem in the related art that the energy-saving verification result is related to the operation of personnel, the verification result is inaccurate, and it is time-consuming and labor-intensive.
[0005] In a first aspect, an embodiment of the application provides a verification method of an energy-saving scheme, comprising: inputting data of a preset test scenario and a to-be-tested energy-saving scheme into a target network simulation model for simulation verification to obtain power consumption information of each network equipment in the network after executing the to-be-tested energy-saving scheme, the target network simulation model being used to describe the relationship between parameters of each network equipment in the network and the relationship between each network equipment, and the to-be-tested energy-saving scheme being an energy-saving action generated based on the data of the preset test scenario; and determining the feasibility of the to-be-tested energy-saving scheme according to the power consumption information.
[0006] In a second aspect, an embodiment of the application provides an electronic device, comprising a processor, a memory and a program or instructions stored in the memory and executable on the processor, the program or instructions being executed by the processor to implement the steps of the method according to the first aspect.
[0007] In a third aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a program or instructions, and the program or instructions are executed by a processor to implement the steps of the method in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method in the first aspect.
[0009] In the embodiments of the present application, the data of the preset test scenario and the energy-saving scheme to be tested are input into the target network simulation model for verification, to obtain the power consumption information of each network device in the network after the energy-saving scheme to be tested is executed, the target network simulation model is used to describe the relationship between the parameters of each network device in the network and the relationship between each network device, the energy-saving scheme to be tested is an energy-saving action generated based on the data of the preset test scenario, and then the feasibility of the energy-saving scheme to be tested is determined according to the power consumption information. The embodiments of the present application simulate various business change scenarios in a real network in the simulation model, and perform simulation testing on the energy-saving scheme to be tested in the simulated scenario, so that the energy-saving scheme can be verified and evaluated in a more efficient and low-cost manner, and the verification efficiency and accuracy are improved. BRIEF DESCRIPTION OF DRAWINGS
[0010] Figure 1 FIG. 1 is a flowchart of a method for verifying an energy-saving scheme according to an embodiment of the present application;
[0011] Figure 2 FIG. 2 is a schematic diagram of a device for verifying an energy-saving scheme according to an embodiment of the present application;
[0012] Figure 3 FIG. 3 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0013] Embodiments of the present application will be described in detail below, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are only used to explain the present application, and cannot be understood as a limitation of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0014] The terms "first", "second" in the description and claims of the present application can explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified and limited, the meaning of "a plurality of" is two or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in a "or" relationship.
[0015] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.
[0016] In the description of the present application, it should be noted that, unless otherwise specified and limited, the terms "mounting", "connection", "connection" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0017] The verification method of the energy saving scheme provided by the embodiments of the present application will be described in detail below in combination with specific embodiments and application scenarios. Figures 1-3
[0018] As shown in Figure 1 , a flowchart of the verification method of the energy saving scheme provided by the embodiments of the present application. As shown in Figure 1 , the verification method of the energy saving scheme can include the contents shown in steps 101 to 102.
[0019] In S101, the data of the preset test scenario and the energy saving scheme to be tested are input into the target network simulation model for simulation verification, and the power consumption information of each network device in the network after executing the energy saving scheme to be tested is obtained.
[0020] Among them, the target network simulation model is used to describe the relationship between the parameters of each network device in the network, and the relationship between each network device, and the energy saving action generated based on the data of the preset test scenario is the energy saving scheme to be tested.
[0021] The target network simulation model can be a digital twin simulation model or other simulation model, and the actual application is used as the criterion, and the embodiment is not limited. The preset test scene can be a traffic scene of different places and different time periods, such as schools and squares, or an abnormal scene caused by network failure, device failure, traffic switching, and use of standby devices, and the actual application is used as the criterion, and the embodiment is not limited.
[0022] In the embodiment, the energy-saving action can be generated according to the data of the preset test scene, the data of the preset test scene and the energy-saving action corresponding to the energy-saving scheme to be tested are input into the target network simulation model for simulation verification, the energy-saving action corresponding to the energy-saving scheme executed by each network device in the network under the preset test scene can be simulated, and then the power consumption information of each network device after energy saving is obtained. That is, various test scenes can be simulated in the model, and the energy-saving action corresponding to the energy-saving scheme executed by each network device in the network under each scene can be simulated, and various situations can be configured in the model, so that the verification process is more convenient and efficient.
[0023] In S102, the feasibility of the energy-saving scheme to be tested is determined according to the power consumption information.
[0024] That is, various scenes are simulated in the above model, and each network device executes the energy-saving scheme under the scene, the power consumption information after the energy-saving scheme is executed can be obtained, and the feasibility of the energy-saving scheme to be tested can be determined according to the power consumption information.
[0025] In the embodiment of the application, the data of the preset test scene and the energy-saving scheme to be tested are input into the target network simulation model for verification, the power consumption information of each network device in the network after executing the energy-saving scheme to be tested is obtained, the target network simulation model is used to describe the relationship between the parameters of each network device in the network and the relationship between each network device, the energy-saving scheme to be tested is an energy-saving action generated based on the data of the preset test scene, and then the feasibility of the energy-saving scheme to be tested is determined according to the power consumption information. The embodiment of the application simulates various business change scenes in the real network in the simulation model, simulates the energy-saving scheme to be tested in the simulated scene, can verify and evaluate the energy-saving scheme in a more efficient and low-cost manner, and improves the verification efficiency and accuracy.
[0026] Because the device power consumption itself fluctuates with the changes of traffic load, device state, and temperature, the two main influencing factors of power consumption fluctuation are the opening or closing of energy-saving dynamic control part devices and the speed change during heat dissipation. There is no direct relationship between the heat dissipation devices and the energy-saving devices, the devices in the network device can be classified, so that the power consumption determined by the established model is more accurate.
[0027] In a possible implementation of the present application, before inputting the data of the preset test scenario and the energy saving scheme to be tested into the target network simulation model for simulation verification, the verification method of the energy saving scheme can further include: for each network device in the network, constructing a network simulation sub-model corresponding to each device category according to the preset device category and the operation data of each device in the network device; coupling the network simulation sub-models corresponding to each device category to obtain a device model corresponding to the network device; and obtaining the target network simulation model based on the device models corresponding to each network device in the network.
[0028] That is, each network device can include multiple devices, and the multiple devices are classified, for example, the devices can be classified according to the functions of the devices, the network simulation sub-models corresponding to each device category are constructed according to the categories of the devices, then the network simulation sub-models corresponding to each device category are coupled to obtain the device model corresponding to the network device, and finally the target network simulation model is obtained based on the device models corresponding to each network device in the network. By classifying the devices in the network device, the model established can be more accurate, the modeling can be more simple and efficient, so that the energy saving power consumption of each type of device after performing the action corresponding to the energy saving scheme can be better distinguished in the subsequent process, and it is determined whether the scheme is feasible.
[0029] Among them, the coupling of the network simulation sub-model means that the data in the target network simulation model is multi-dimensional input, and the simulation calculation can be performed in the corresponding network simulation sub-model according to the type of the data, so that the simulation of the data in the target network simulation model is more efficient, that is, the simulation efficiency is higher.
[0030] In a possible implementation of the present application, for each network device in the network, constructing a network simulation sub-model corresponding to each device category according to the preset device category and the operation data can include: for each network device in the network, the network device is divided into a heat dissipation device, an energy saving device and other devices, the energy saving device is a device that can be controlled by the energy saving scheme to be tested, and the other devices are devices in the network device other than the heat dissipation device and the energy saving device; based on the operation data of each device in the network device, constructing a digital twin model based on the heat dissipation device, the energy saving device and the other devices to obtain a network simulation sub-model corresponding to the heat dissipation device, a network simulation sub-model corresponding to the energy saving device and a network simulation sub-model corresponding to the other devices.
[0031] Among them, the operation data of each device in the network device can include traffic data, power consumption, device operation load, chip frequency, memory usage, temperature, voltage, chip junction temperature and other device state information.
[0032] In this embodiment, according to the performance of the network device, for example, whether it is a heat dissipation device such as a fan, whether it is a device that can be controlled by the energy saving scheme under test, such as a device that undertakes processing, forwarding and the like of service data traffic, the plurality of devices in the network device can be divided into heat dissipation devices, energy saving devices and other devices. Then, based on the operation data of each device in the network device, a digital twin model of each device type is constructed, and a network simulation sub-model corresponding to each device type is obtained. The present embodiment can divide the operation data into data corresponding to the heat dissipation device, data corresponding to the energy saving device and data corresponding to the other device according to different parameters described by different sub-models, and use them respectively to train the corresponding network simulation sub-model, so that the model obtained by training is more accurate, and the modeling is also more simple and efficient.
[0033] Among them, the network simulation sub-model corresponding to the heat dissipation model is used to describe the relationship between device load, temperature and rotating speed of the heat dissipation device (such as fan); the network simulation sub-model corresponding to the energy saving device is used to describe the relationship between control information, device bandwidth carrying capacity and device power consumption, each device has its bandwidth carrying capacity, and the bandwidth carrying capacity of the network device is the sum of the bandwidth carrying capacities of each device; the network simulation sub-model corresponding to the other device is used to describe the relationship between the operation load of the remaining device, the traffic data, the chip and the memory data usage rate, and the power consumption.
[0034] In other embodiments, the devices of the network device can also not be classified, and the relationship between the traffic load, the operation load, the device state, the temperature, the chip usage rate, the fan rotating speed, the dynamic control information and the power consumption of the device can be directly described by modeling. Specifically, the actual application is used as the criterion, and the embodiments of the present application are not limited.
[0035] In one possible implementation of the present application, based on the device models corresponding to each network device in the network, the target network simulation model can be obtained, which can include: based on the network topology and routing configuration of the network, constructing a connection matrix between each network device; based on the connection matrix, configuring the data interaction between the device models corresponding to each network device, to obtain the target network simulation model.
[0036] That is, after obtaining the device model through the above embodiments, the connection matrix between each network device can be constructed based on the topology structure and routing configuration of the network, and the data interaction between different device models can be configured according to the connection matrix, and then the target network simulation model is obtained. Through the classification of devices, the present embodiment can obtain a plurality of network simulation sub-models, so that the modeling is more accurate, and then the device model is obtained through the coupling of the sub-models, and the data interaction between each device model is determined based on the structure and configuration of the network, and finally the target network simulation model can be determined.
[0037] In one possible implementation of this application, before inputting the data of the preset test scenario and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the verification method of the energy-saving scheme may further include: dividing the network corresponding to the preset test scenario into multiple link paths based on the data of the preset test scenario; determining the target traffic link from the multiple link paths, wherein the target traffic link is the link path whose traffic value is less than or equal to a first threshold; and determining the energy-saving action control command information corresponding to the energy-saving scheme to be tested based on the target traffic link, wherein the energy-saving action control command information is to set the mode of the network device through which the target traffic link passes to a low-power mode.
[0038] Because network traffic fluctuates over time, and some network links may be under light load or idle due to a small user base, this embodiment divides the network into multiple link paths based on data from a preset test scenario. Target traffic links with traffic values less than or equal to a first threshold are identified from these paths. Since these target traffic links have lower traffic values, the network devices in these links can be set to low-power mode to reduce their computing power and achieve energy savings. The first threshold can be set based on the experience of technicians, historical network data, or other factors; this embodiment does not impose any limitations and the actual application shall prevail.
[0039] In addition to the link-based energy saving mentioned above, the energy saving scheme to be tested can also be determined based on the status of network devices.
[0040] In one possible implementation of this application, before inputting the data of the preset test scenario and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the verification method of the energy-saving scheme may further include: predicting the state of network devices in the network based on the data of the preset test scenario, wherein the data of the preset test scenario is multi-dimensional time-series data; and determining the energy-saving scheme to be tested based on the predicted state of the network devices.
[0041] In this embodiment, based on multi-dimensional time-series data from a preset test scenario, the future state of network devices in the network can be predicted. Then, based on the predicted state, an energy-saving solution can be determined. Determining the energy-saving solution by examining the state of the network devices makes the determined solution more accurate, thereby improving the network's energy-saving effect. The multi-dimensional time-series data includes network device state data and traffic value data at multiple time points.
[0042] The method for predicting the state of network devices in the network can be a machine learning algorithm, or a neural network, deep learning, or other algorithms. This embodiment does not limit the specific method; the actual application shall prevail.
[0043] In one possible implementation of this application, determining the energy-saving scheme to be tested based on the predicted state of the network device may include: determining a target multiple based on the predicted traffic fluctuation range and a second threshold of the network device; determining energy-saving action control command information corresponding to the energy-saving scheme to be tested based on the target multiple, wherein the energy-saving action control command information is to set the device traffic bandwidth of the network device according to the target multiple of the predicted traffic peak; and, if the predicted state of the network device is that no service is configured, the energy-saving action control command information is to shut down the network device that is not configured with the service.
[0044] In this embodiment, the device traffic bandwidth reserved for the network devices can be determined based on the predicted fluctuation range of the network device traffic and the preset second threshold, so that network devices with high traffic can have wider bandwidth, while idle network devices or devices in the network devices can be turned off, so that the reserved device traffic bandwidth can meet the sum of the bandwidth of the remaining devices.
[0045] The fluctuation range of the predicted traffic can be determined by the range of the predicted traffic. The second threshold can be set based on the experience of technicians, historical network data, or other factors; this embodiment does not impose any limitations and the actual application shall prevail. The target multiple can be dynamically adjusted based on different scenarios, energy-saving control results, and different energy-saving benefit standards; this embodiment does not impose any limitations and the actual application shall prevail.
[0046] In one instance, if the fluctuation range exceeds the second threshold, the device bandwidth is reserved at 1.5 times the peak value of the predicted traffic, and idle devices in the network equipment are turned off, so that the sum of the bandwidth of the remaining devices meets the reserved bandwidth; if the fluctuation range does not exceed the second threshold, the device bandwidth is reserved at 1.3 times the peak value of the predicted traffic, and idle devices in the network equipment are turned off, so that the sum of the bandwidth of the remaining devices meets the reserved bandwidth; if the device is not configured with services, the device is directly turned off.
[0047] In one possible implementation of this application, the data of a preset test scenario and the energy-saving scheme to be tested are input into the target network simulation model for simulation verification to obtain the power consumption information of each network device after executing the energy-saving scheme to be tested. This may include: inputting the data of the preset test scenario and the energy-saving action control command information into the target network simulation model, simulating the execution of the energy-saving action corresponding to the energy-saving action control command information by each network device under the preset test scenario, and obtaining the power consumption and device bandwidth of each network device after energy saving.
[0048] In other words, the data from the pre-test scenario and the energy-saving action control command information corresponding to the energy-saving scheme to be tested are input into the target network simulation model. The network devices in the target network simulation model are simulated and controlled to perform corresponding energy-saving actions. For example, the network devices through which the low-traffic links pass are set to low-power mode to reduce the computing load of the network devices, or idle network devices are turned off or idle devices in the network devices are turned off. The power consumption and device traffic bandwidth of each network device after the above-mentioned energy-saving actions are obtained.
[0049] The power consumption of each network device before energy saving is P = P F (f)+P L (l)+P E , where P F (f) represents the power consumption before energy saving by the heat dissipation device, which can be determined based on the speed of the heat dissipation device, such as the fan; P L (l) represents the power consumption of other components, such as the power supply module and main control module. Power consumption cannot be reduced directly by shutting down these components. The power consumption of these components is related to the computational load (l); the larger l is, the stronger the computing power of the device, and the higher the power consumption. E The power consumption of energy-saving devices can be obtained by statistical querying based on the device model.
[0050] The power consumption of each network device after energy saving is P′=P′ F (f)+P′ L (l)+P′ E , where P′ F (f) represents the power consumption after energy saving by the heat dissipation device; P′ L (l) The power consumption after energy saving for other devices can be determined based on the equipment load status; P E ′ represents the power consumption after energy saving by energy-saving devices, that is, the power consumption of the remaining devices after some devices are turned off.
[0051] In one possible implementation of this application, determining the feasibility of the energy-saving scheme to be tested based on power consumption information may include: determining energy-saving benefits based on the power consumption of each network device after energy saving and the power consumption of each network device before energy saving; determining service security based on the device traffic bandwidth of each network device after energy saving and the preset device traffic bandwidth; and determining the feasibility of the energy-saving scheme to be tested based on energy-saving benefits and service security.
[0052] In this embodiment, based on the power consumption of each network device after energy saving and the power consumption of each network device before energy saving obtained from the above embodiments, the energy saving benefit can be determined. The energy saving benefit can be the benefit obtained from the reduction in power consumption, and the energy saving benefit can be (PP′) / P, depending on the actual application. Service security can be determined based on the device traffic bandwidth of each network device after energy saving and the preset device traffic bandwidth. That is, when the reserved bandwidth output by the energy-saving control algorithm is greater than the traffic data bandwidth, it is considered that the energy-saving control action will not affect service security. Finally, based on the energy saving benefit and service security, the feasibility of the energy-saving scheme to be tested is determined. That is, if both the energy saving benefit and service security meet the requirements, the energy-saving scheme to be tested can be determined to be feasible. By judging the feasibility of the energy-saving scheme to be tested from the above two aspects of energy saving benefit and service security, the judgment of the energy-saving scheme is more comprehensive, and the final energy-saving scheme better meets the requirements.
[0053] In one possible implementation of this application, determining the feasibility of the energy-saving solution to be tested based on energy-saving benefits and business security may include: determining the energy-saving solution to be tested to be feasible if the energy-saving benefits are greater than or equal to the preset benefits and the business security meets the security expectations; and determining the energy-saving solution to be tested to be infeasible if the energy-saving benefits are less than the preset benefits and / or the business security does not meet the security expectations.
[0054] In other words, an energy-saving solution to be tested can only be deemed feasible if the energy-saving benefits are greater than or equal to the expected benefits and the business security meets the security expectations. If either of these conditions is not met, the energy-saving solution to be tested is deemed infeasible. This makes the judgment criteria more stringent, and the resulting feasible energy-saving solutions to be tested better meet the requirements and have better energy-saving effects.
[0055] In one possible implementation of this application, after determining that the energy-saving scheme to be tested is infeasible, the verification method of the energy-saving scheme may further include: adjusting the parameter configuration of the energy-saving scheme to be tested to obtain the adjusted energy-saving scheme to be tested; inputting the data of the preset test scenario and the adjusted energy-saving scheme to be tested into the network simulation model for simulation verification to obtain the power consumption information of each network device in the network after executing the adjusted energy-saving scheme to be tested; and determining the feasibility of the adjusted energy-saving scheme to be tested based on the power consumption information.
[0056] The parameter configuration includes at least one of the following: energy-saving settings; energy-saving modes; parameters of preset rules and / or preset algorithms in the energy-saving scheme.
[0057] In this embodiment, if the energy-saving solution to be tested does not meet the requirements, the parameter configuration of the energy-saving solution to be tested can be adjusted, such as adjusting the energy-saving settings, energy-saving mode, or parameters of preset rules and / or preset algorithms in the energy-saving solution. After adjustment, simulation verification is performed again until a feasible energy-saving solution is obtained. Simulation testing is performed through the model, making the testing more convenient. If the energy-saving solution to be tested does not meet the requirements, only the parameter configuration needs to be adjusted to perform simulation again, making the determination of the energy-saving solution to be tested more efficient.
[0058] Accordingly, after determining an energy-saving solution that meets the requirements in this scenario, the test scenario can be changed for simulation verification. The above verification can also be performed multiple times to ensure the accuracy of the energy-saving solution and reduce errors.
[0059] In one possible implementation of this application, before inputting the data of the preset test scenario and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the verification method of the energy-saving scheme may further include: obtaining the data corresponding to the preset test scenario according to the marking of the network data in the network, wherein the marking of the network data corresponds to the scenario when the network data is collected.
[0060] In other words, data corresponding to a preset test scenario can be obtained based on the markings of network data within the network. This network data can include network device parameters, network topology between network devices, geographical location, and environmental context.
[0061] Specifically, network data is collected in the network, and then the network data is labeled with different scenarios to obtain data for different scenarios. Scenario labeling includes the location of network devices, such as marking places like schools and squares, the data collection time, such as weekdays and holidays, and traffic changes, such as traffic changes in places like schools and squares on weekdays and holidays. It can also mark scenarios such as high traffic load, low traffic load, stable traffic load, and traffic bursts. The specific methods can be changed according to the needs, and this embodiment does not limit them.
[0062] In one example, after scene labeling of the network data, preprocessing or feature extraction can be performed. Preprocessing can include outlier filtering, missing value imputation, normalization, and standardization. Outlier filtering methods can include boxplot detection, 3-sigma filtering, and the Isolation Forest algorithm; missing value imputation methods can include mean imputation and neighbor imputation; normalization methods can include maximum-minimum normalization and Z-score standardization. Extracted features can be categorized as follows: time-domain features such as moving average, variance of moving average, and autocorrelation coefficient; statistical features such as mean, variance, and peak value; and frequency-domain features such as Fourier transform or wavelet transform of the time series. Based on the preprocessed and / or feature-extracted data, rule-based and / or algorithmic models can be used for learning and generation. The rules can be customized according to the needs of the scenario and the corresponding data characteristics; the algorithm model is a generative model, including probabilistic models such as Hidden Markov Models and Gaussian Mixture Models; generative adversarial networks, such as original generative adversarial networks and deep convolutional generative adversarial networks; autoencoders and their variants, such as variational autoencoders and coefficient autoencoders; stream models and their variants, such as autoregressive stream models; and deep generative models, such as deep Boltzmann machines. The above processing methods are not limited to the methods described above, and the specific application shall prevail; this embodiment does not impose any limitations.
[0063] Figure 2 This is a schematic diagram of a verification device for an energy-saving scheme provided in an embodiment of this application. Figure 2 As shown, the verification device for this energy-saving scheme may include a verification module 201 and a determination module 202.
[0064] The verification module 201 is used to input the data of the preset test scenario and the energy-saving scheme to be tested into the target network simulation model for simulation verification, and obtain the power consumption information of each network device in the network after executing the energy-saving scheme to be tested. The target network simulation model is used to describe the relationship between the parameters of each network device in the network, as well as the relationship between each network device. The energy-saving scheme to be tested is an energy-saving action generated based on the data of the preset test scenario. The determination module 202 is used to determine the feasibility of the energy-saving scheme to be tested based on the power consumption information.
[0065] In the embodiments of this application, the verification module 201 inputs the data of the preset test scenario and the energy-saving scheme to be tested into the target network simulation model for verification, obtaining the power consumption information of each network device after executing the energy-saving scheme to be tested. The target network simulation model is used to describe the relationship between the parameters of each network device in the network, as well as the relationship between each network device. The energy-saving scheme to be tested is an energy-saving action generated based on the data of the preset test scenario. The determination module 202 then determines the feasibility of the energy-saving scheme to be tested based on the power consumption information. The embodiments of this application simulate various service change scenarios in the real network in the simulation model, and perform simulation testing on the energy-saving scheme to be tested in the simulated scenario. This allows for the verification and evaluation of the energy-saving scheme in a more efficient and cost-effective manner, improving verification efficiency and accuracy.
[0066] In one possible embodiment of this application, the verification device for the energy-saving scheme may further include: a construction module, a coupling module, and a second determination module.
[0067] The first module is used to construct a network simulation sub-model for each network device in the network, based on the preset device category and the operating data of each device in the network device. The second module is used to couple the network simulation sub-models corresponding to each device category to obtain the device model corresponding to the network device. The third module is used to obtain the target network simulation model based on the device model corresponding to each network device in the network.
[0068] In one possible implementation of this application, the construction module is configured to: for each network device in the network, divide the network device into heat dissipation devices, energy-saving devices, and other devices, wherein energy-saving devices are devices that can be controlled by the energy-saving scheme to be tested, and other devices are devices in the network device other than heat dissipation devices and energy-saving devices; based on the operating data of each device in the network device, construct a digital twin model based on heat dissipation devices, energy-saving devices, and other devices, and obtain a network simulation sub-model corresponding to the heat dissipation devices, a network simulation sub-model corresponding to the energy-saving devices, and a network simulation sub-model corresponding to the other devices.
[0069] In one possible implementation of this application, the second determining module is used to: construct a connection matrix between network devices based on the network topology and routing configuration; and configure data interaction between device models corresponding to each network device based on the connection matrix to obtain a target network simulation model.
[0070] In one possible embodiment of this application, the verification device for the energy-saving scheme may further include: a division module, a third determination module, and a fourth determination module.
[0071] The system includes a segmentation module, which divides the network corresponding to the preset test scenario into multiple link paths based on the data from the preset test scenario; a third determination module, which determines the target traffic link from the multiple link paths, wherein the target traffic link is the link path whose traffic value is less than or equal to a first threshold; and a fourth determination module, which determines the energy-saving action control command information corresponding to the energy-saving scheme to be tested based on the target traffic link, wherein the energy-saving action control command information is to set the mode of the network device through which the target traffic link passes to low power mode.
[0072] In one possible embodiment of this application, the verification device for the energy-saving scheme may further include: a prediction module and a fifth determination module.
[0073] The prediction module is used to predict the state of network devices in the network based on data from a preset test scenario, wherein the data from the preset test scenario is multi-dimensional time-series data; the fifth determination module is used to determine the energy-saving scheme to be tested based on the predicted state of the network devices.
[0074] In one possible implementation of this application, the fifth determining module is configured to: determine a target multiple based on the fluctuation range of the predicted traffic of the network device and a second threshold; determine energy-saving action control command information corresponding to the energy-saving scheme to be tested based on the target multiple, wherein the energy-saving action control command information is to set the device traffic bandwidth of the network device according to the target multiple of the peak value of the predicted traffic; and, if the predicted state of the network device is that no service is configured, the energy-saving action control command information is to shut down the network device that is not configured with the service.
[0075] In one possible implementation of this application, the verification module 201 is used to: input the data of the preset test scenario and the energy-saving action control command information into the target network simulation model, simulate the energy-saving actions corresponding to the energy-saving action control command information of each network device under the preset test scenario, and obtain the power consumption and device traffic bandwidth of each network device after energy saving.
[0076] In one possible implementation of this application, the determining module 202 is used to: determine energy-saving benefits based on the power consumption of each network device after energy saving and the power consumption of each network device before energy saving; determine service security based on the device traffic bandwidth of each network device after energy saving and the preset device traffic bandwidth; and determine the feasibility of the energy-saving scheme to be tested based on the energy-saving benefits and service security.
[0077] In one possible implementation of this application, the determining module 202 is configured to: determine that the energy-saving solution to be tested is feasible if the energy-saving benefit is greater than or equal to the preset benefit and the business security meets the security expectations; and determine that the energy-saving solution to be tested is not feasible if the energy-saving benefit is less than the preset benefit and / or the business security does not meet the security expectations.
[0078] In one possible embodiment of this application, the verification device for the energy-saving scheme may further include: an adjustment module, a second verification module, and a sixth determination module.
[0079] The system includes: an adjustment module for adjusting the parameter configuration of the energy-saving scheme to be tested, resulting in an adjusted energy-saving scheme; a verification module for inputting data from a preset test scenario and the adjusted energy-saving scheme to be tested into a network simulation model for simulation verification, obtaining power consumption information of each network device after executing the adjusted energy-saving scheme; and a determination module for determining the feasibility of the adjusted energy-saving scheme based on the power consumption information. The parameter configuration includes at least one of the following: energy-saving settings; energy-saving mode; parameters of preset rules and / or preset algorithms in the energy-saving scheme.
[0080] In one possible embodiment of this application, the verification device for the energy-saving scheme may further include: an acquisition module.
[0081] The acquisition module is used to acquire data corresponding to a preset test scenario based on the markings of network data in the network. The markings of the network data correspond to the scenario when the network data is collected.
[0082] The energy-saving solution verification device provided in this application embodiment can achieve Figure 1 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0083] like Figure 3 As shown, this application embodiment also provides an electronic device 300, including a processor 301, a memory 302, and a program or instructions stored in the memory 302 and executable on the processor 301. When the program or instructions are executed by the processor 301, they implement the various processes of the above-mentioned verification method embodiment of the energy-saving scheme and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0084] This application also provides a storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the verification method embodiment of the energy-saving scheme provided in any of the above embodiments. Since the same technical effects can be achieved, further details are omitted here to avoid repetition.
[0085] The processor is the processor in the electronic device described in the above embodiments. The storage medium includes computer storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0086] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-mentioned verification method embodiment of the energy-saving scheme, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0087] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0088] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described verification method embodiment of the energy-saving scheme, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0089] This application embodiment also provides a processing device, which is configured to execute various processes of the above-described verification method embodiment of the energy-saving scheme and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0090] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0091] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0092] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for verifying an energy saving scheme, characterized by, The method comprises the following steps: inputting data of a preset test scene and an energy-saving scheme to be tested into a target network simulation model for simulation verification, obtaining power consumption information of each network device in the network after the network device executes the energy-saving scheme to be tested, the target network simulation model being used to describe relationships between parameters of each network device in the network and relationships between the network devices, and the energy-saving scheme to be tested being an energy-saving action generated based on the data of the preset test scene; determining feasibility of the energy-saving scheme to be tested according to the power consumption information.
2. The method of claim 1, wherein, Before the step of inputting the data of the preset test scene and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the method further comprises the following steps: for each network device in the network, constructing a network simulation sub-model corresponding to each device category according to a preset device category and operation data of each device in the network device; coupling the network simulation sub-models corresponding to each device category to obtain a device model corresponding to the network device; obtaining a target network simulation model based on the device models corresponding to each network device in the network.
3. The method of claim 2, wherein, The step of constructing, for each network device in the network, a network simulation sub-model corresponding to each device category according to a preset device category and operation data comprises the following steps: for each network device in the network, dividing the network device into a heat dissipation device, an energy-saving device and other devices, the energy-saving device being a device that can be controlled by the energy-saving scheme to be tested, and the other devices being devices other than the heat dissipation device and the energy-saving device in the network device; constructing a digital twin model based on the heat dissipation device, the energy-saving device and the other devices based on operation data of each device in the network device to obtain a network simulation sub-model corresponding to the heat dissipation device, a network simulation sub-model corresponding to the energy-saving device and a network simulation sub-model corresponding to the other devices.
4. The method of claim 2, wherein, The step of obtaining a target network simulation model based on the device models corresponding to each network device in the network comprises the following steps: constructing a connection matrix between each network device based on a network topology and a routing configuration of the network; configuring data interaction between the device models corresponding to each network device based on the connection matrix to obtain a target network simulation model.
5. The method of claim 1, wherein, Before the step of inputting the data of the preset test scene and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the method further comprises the following steps: based on the data of the preset test scene, dividing a network corresponding to the preset test scene into a plurality of link paths; determining a target traffic link from the plurality of link paths, the target traffic link being a link path with a traffic value less than or equal to a first threshold value in the plurality of link paths; determining energy-saving action control command information corresponding to the energy-saving scheme to be tested based on the target traffic link, the energy-saving action control command information being a command for setting a mode of a network device through which the target traffic link passes to a low-power consumption mode.
6. The method of claim 1, wherein, Before the step of inputting the data of the preset test scene and the energy-saving scheme to be tested into the target network simulation model for simulation verification, the method further comprises the following steps: predict a state of a network device in the network based on data of a preset test scenario, wherein the data of the preset test scenario is multidimensional time series data; determine an energy saving scheme to be tested based on the predicted state of the network device.
7. The method of claim 6, wherein, The determination of the energy saving scheme to be tested based on the predicted state of the network device comprises: determining a target multiple based on a fluctuation range of the predicted traffic of the network device and a second threshold value; determining energy saving action control command information corresponding to the energy saving scheme to be tested based on the target multiple, wherein the energy saving action control command information is to set a device traffic bandwidth of the network device according to the target multiple of a peak value of the predicted traffic; in a case where the predicted state of the network device is no configured traffic, the energy saving action control command information is to close the network device with no configured traffic.
8. The method according to claim 5 or 7, characterized in that, The simulation verification of the preset test scenario data and the energy saving scheme to be tested in the target network simulation model comprises: inputting the preset test scenario data and the energy saving action control command information into the target network simulation model to simulate the execution of the energy saving action corresponding to the energy saving action control command information by each network device under the preset test scenario, and obtaining power consumption and device traffic bandwidth of each network device after energy saving.
9. The method of claim 8, wherein, The determination of the feasibility of the energy saving scheme to be tested based on the power consumption information comprises: determining energy saving benefits based on the power consumption of each network device after energy saving and the power consumption of each network device before energy saving; determining traffic safety based on the device traffic bandwidth of each network device after energy saving and a preset device traffic bandwidth; determining the feasibility of the energy saving scheme to be tested based on the energy saving benefits and the traffic safety.
10. The method of claim 9, wherein, The determination of the feasibility of the energy saving scheme to be tested based on the energy saving benefits and the traffic safety comprises: in a case where the energy saving benefits are greater than or equal to preset benefits and the traffic safety meets safety expectations, determining that the energy saving scheme to be tested is feasible; in a case where the energy saving benefits are less than the preset benefits and / or the traffic safety does not meet safety expectations, determining that the energy saving scheme to be tested is not feasible.
11. The method of claim 10, wherein, After determining that the energy saving scheme to be tested is not feasible, the method further comprises: adjusting a parameter configuration of the energy saving scheme to be tested to obtain an adjusted energy saving scheme to be tested; inputting the preset test scenario data and the adjusted energy saving scheme to be tested into the network simulation model to perform simulation verification and obtain power consumption information of each network device in the network after the execution of the adjusted energy saving scheme to be tested; determining the feasibility of the adjusted energy saving scheme to be tested based on the power consumption information; The parameter configuration comprises at least one of the following: energy saving settings; energy saving modes; parameters of preset rules and / or preset algorithms in the energy saving scheme.
12. The method of claim 1, wherein, Before the inputting of the preset test scenario data and the energy saving scheme to be tested into the target network simulation model for simulation verification, the method further comprises: According to a mark of network data in a network, data corresponding to the preset test scene is acquired, the mark of the network data corresponding to a scene when the network data is collected.
13. An electronic device, comprising: A processor, a memory, and a program or instructions stored on the memory and executable on the processor are included, and the program or instructions are executed by the processor to implement the steps of the method according to any one of claims 1 to 12.
14. A storage medium, characterized by A program or instructions are stored on the storage medium, and the program or instructions are executed by the processor to implement the steps of the method according to any one of claims 1 to 12.
15. A program product, characterized by The program product is stored in the storage medium, and the program product is executed by at least one processor to implement the steps of the method according to any one of claims 1 to 12.