Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the embodiment of the application, "and/or" describes the association relation of the association objects, which means that three relations can exist. For example, a and/or B may represent three cases: a alone; both A and B are present; b alone. Wherein A, B can be singular or plural.
In the embodiment of the present application, the symbol "/" may indicate that the associated object is an or relationship. In addition, the symbol "/" may also denote a divisor, i.e. performing a division operation. For example, A/B may represent A divided by B.
"at least one" or the like in the embodiments of the present application means any combination of these items, including any combination of single item(s) or plural items(s), meaning one or more, and plural means two or more. For example, at least one (one) of a, b or c may represent the following seven cases: a, b, c, a and b, a and c, b and c, a, b and c. Wherein each of a, b, c may be an element or a set comprising one or more elements.
The 'equal' in the embodiment of the application can be used with the greater than the adopted technical scheme, can also be used with the lesser than the adopted technical scheme. When the combination is equal to or greater than the combination, the combination is not less than the combination; when the value is equal to or smaller than that used together, the value is not larger than that used together.
In order to better understand the schemes of the embodiments of the present application, the following description will first describe terminal devices, related concepts and contexts that may be involved in the embodiments of the present application.
The terminal device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), mobile Station (MS), electronic device (terminal device), etc.
Referring to fig. 1, fig. 1 is a schematic diagram of an architecture of an energy consumption verification system according to an embodiment of the application. As shown in fig. 1, the system includes a power management system (Energy Management System, EMS) 101, a terminal device 102, and a target device 103, the power management system 101 is communicatively connected to the terminal device 102, and the power management system 101 is communicatively connected to the target device 103.
Wherein the terminal device 102 may send the first and second energy consumption verification requests to the power management system 101, and the power management system 101 may send the first, second and third verification reports to the terminal device 102.
The power management system 101 may send the operation mode switching information to the target device 103, and after receiving the operation mode switching message, the target device 103 switches the operation modes accordingly, for example: the current operation mode of the target device 103 is a first operation mode, and the power management system 101 sends operation mode switching information for switching the first operation mode to the second operation mode to the target device 103, and after receiving the operation mode switching information, the target device 103 switches the current operation mode from the first operation mode to the second operation mode.
Wherein the first verification report, the second verification report and the third verification report all comprise data content and conclusion content, the data content comprises energy consumption data related to energy consumption verification and a plurality of energy consumption verification steps, such as: the data content of the first verification report includes a first preset energy consumption, a second preset energy consumption, a first preset threshold, a second preset threshold, a third preset threshold, a fourth preset threshold, a first energy consumption and a second energy consumption, and a calculation process and a conclusion output process of a first energy consumption difference value and a second energy consumption difference value, wherein the conclusion output process is used for judging whether the energy consumption of the target equipment is abnormal or normal based on the first preset threshold, the second preset threshold, the third preset threshold, the fourth preset threshold, the first energy consumption difference value and the second energy consumption difference value, so that a user using the terminal equipment is convenient to understand the energy consumption verification process, and the conclusion content is convenient for the user to intuitively understand a specific mode or state of the equipment energy consumption abnormality, such as: the energy consumption of the target equipment is abnormal, and the energy consumption of the target equipment is abnormal in the first working mode, and the energy consumption of the target equipment is normal in the second working mode.
The power management system 101 may collect the energy consumption information of a plurality of devices managed by the power management system in real time, form a reference energy consumption information set according to the corresponding relationship between the device identifier and the energy consumption information of each device, and store the reference energy consumption information set, so that the energy consumption information acquisition efficiency can be improved when the energy consumption verification of the target device is performed.
In one possible example, the power management system 101 may obtain the power consumption information of the target device, where the power consumption information includes a first preset power consumption of the target device in a first operation mode and a second preset power consumption of the target device in a second operation mode, where the first operation mode is a performance mode in which the target device operates, and the second operation mode is a balance mode in which the target device operates, then the power management system 101 collects the first power consumption and the second power consumption of the target device when receiving the first power consumption verification request for the target device, the first power consumption is the power consumption of the target device currently in the first operation mode, the second power consumption is the power consumption of the target device currently in the second operation mode, further, the power management system 101 calculates a difference between the first power consumption and the first preset power consumption, obtains a first power consumption difference, and calculates a difference between the second power consumption and the second preset power consumption, obtaining a second energy consumption difference value, the electric energy management system 101 determines whether the first energy consumption difference value is greater than a first preset threshold value or less than a second preset threshold value, and determines whether the second energy consumption difference value is greater than a third preset threshold value or less than a fourth preset threshold value, further, if the electric energy management system 101 determines that the first energy consumption difference value is greater than the first preset threshold value or less than the second preset threshold value, determining that the target device is abnormal in the first working mode, and if the second energy consumption difference value is greater than the third preset threshold value or less than the fourth preset threshold value, determining that the target device is abnormal in the second working mode, generating a first verification report of the target device, and sending the first verification report to the terminal device, and finally, if the electric energy management system 101 determines that the first energy consumption difference value is greater than or equal to the second preset threshold value and less than or equal to the first preset threshold value, the energy consumption of the target equipment is determined to be normal in the first working mode, and if the second energy consumption difference value is determined to be larger than or equal to a fourth preset threshold value and smaller than or equal to a third preset threshold value, the energy consumption of the target equipment is determined to be normal in the second working mode, a second verification report of the target equipment is generated, and the second verification report is sent to the terminal equipment. In this way, the power management system 101 can monitor the energy consumption of the target device and verify whether the energy consumption of the target device is abnormal, which is beneficial to improving the intelligence of the power management system 101 and saving the cost of performing special device test on the target device for the user.
Referring to fig. 2, fig. 2 is a flow chart of an energy consumption verification method according to an embodiment of the application, which is applied to an electric energy management system, and the method includes:
step S201, obtaining energy consumption information of the target device.
The target device may be a fire protection device, an air conditioner, a fan in the energy storage system, or may be other sensors, for example: smoke sensors, infrared sensors, image acquisition devices, etc.
The energy consumption comprises, but is not limited to, the types of power consumption, water consumption, air consumption, self heat consumption and the like, the energy consumption information comprises first preset energy consumption of the target equipment in a first working mode and second preset energy consumption of the target equipment in a second working mode, the first working mode is a performance mode of the target equipment, and the second working mode is a balance mode of the target equipment.
The performance mode refers to a default working state set by a manufacturer of the target equipment when the target equipment works in a highest state capable of bearing pressure; the first preset energy consumption and the second preset energy consumption are energy consumption of target equipment promised by a target equipment manufacturer when the target equipment works in a performance mode and a balance mode respectively.
For example: the liquid cooling unit for heat dissipation in the energy storage system has the cooling rated power of 350W and the maximum cooling power of 400W, the performance mode of the liquid cooling unit means that the liquid cooling unit works in the cooling state with the maximum efficiency of 400W, and the balance mode means that the energy consumption of the cooling power in the performance mode is larger than that in the balance mode when the liquid cooling unit works in the cooling state with the rated power of 350W.
Step S202, when a first energy consumption verification request aiming at the target equipment is received, collecting first energy consumption and second energy consumption of the target equipment.
The first energy consumption verification request is used for requesting the electric energy management system to verify whether the energy consumption of a first working mode of the target equipment is abnormal or not and whether the energy consumption of a second working mode of the target equipment is abnormal or not.
The first energy consumption is the energy consumption of the target equipment in the first working mode at present, and the second energy consumption is the energy consumption of the target equipment in the second working mode at present.
The power management system can send working mode switching information for switching the working modes to the target equipment, the target equipment switches the first working mode and the second working mode after receiving the working mode switching information, and other equipment in the power management system does not adjust when the target equipment switches the modes.
Step S203, calculating a difference between the first energy consumption and the first preset energy consumption to obtain a first energy consumption difference, and calculating a difference between the second energy consumption and the second preset energy consumption to obtain a second energy consumption difference.
Step S204, determining whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determining whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold.
The first preset threshold and the second preset threshold are critical values of normal energy consumption operation of the target device in the first working mode, the first preset threshold is larger than the second preset threshold, the third preset threshold and the fourth preset threshold are critical values of normal energy consumption operation of the target device in the second working mode, the third preset threshold is larger than the fourth preset threshold, and the first preset threshold, the second preset threshold, the third preset threshold and the fourth preset threshold can be manually set or default by the system, and are not limited herein.
Step S205, if it is determined that the first energy consumption difference is greater than the first preset threshold or less than the second preset threshold, determining that the target device is abnormal in energy consumption in the first working mode, and if it is determined that the second energy consumption difference is greater than the third preset threshold or less than the fourth preset threshold, determining that the target device is abnormal in energy consumption in the second working mode; and generating a first verification report of the target equipment, and sending the first verification report to terminal equipment.
Step S206, if the first energy consumption difference value is larger than or equal to the second preset threshold value and smaller than or equal to the first preset threshold value, determining that the energy consumption of the target equipment is normal in the first working mode, and if the second energy consumption difference value is larger than or equal to the fourth preset threshold value and smaller than or equal to the third preset threshold value, determining that the energy consumption of the target equipment is normal in the second working mode; and generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment.
It can be seen that, in the embodiment of the present application, the power management system may obtain the power consumption information of the target device, where the power consumption information includes a first preset power consumption of the target device in a first working mode and a second preset power consumption of the target device in a second working mode, where the first working mode is a performance mode of the target device, and the second working mode is a balance mode of the target device, and then, when receiving a first power consumption verification request for the target device, collect the first power consumption and the second power consumption of the target device, where the first power consumption is the current power consumption of the target device in the first working mode, and the second power consumption is the current power consumption of the target device in the second working mode, further, calculate a difference between the first power consumption and the first preset power consumption to obtain a first power consumption difference, calculate a difference between the second power consumption and the second preset power consumption to obtain a second power consumption difference, and determining whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determining whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold, further, if the first energy consumption difference is greater than the first preset threshold or less than the second preset threshold, determining that the target device is abnormal in energy consumption in the first working mode, and if the second energy consumption difference is greater than the third preset threshold or less than the fourth preset threshold, determining that the target device is abnormal in energy consumption in the second working mode, generating a first verification report of the target device, and transmitting the first verification report to the terminal device, and finally, if the first energy consumption difference is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, determining that the target device is normal in energy consumption in the first working mode, and if the second energy consumption difference value is judged to be larger than or equal to the fourth preset threshold value and smaller than or equal to the third preset threshold value, determining that the energy consumption of the target equipment is normal in the second working mode, generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment. Therefore, the power consumption of the target equipment can be monitored by the power management system, whether the power consumption of the target equipment is abnormal or not is verified, the intelligence of the power management system is improved, and meanwhile, the cost of special equipment testing of the target equipment by a user is saved.
Referring to fig. 3, fig. 3 is a schematic diagram of an interaction flow between a power management system and a terminal device according to an embodiment of the present application, wherein,
step S301, the power management system acquires the energy consumption information of the target device.
Step S302, the terminal equipment sends a first energy consumption verification request to the electric energy management system.
Step S303, when the electric energy management system receives a first energy consumption verification request aiming at the target equipment, the electric energy management system collects first energy consumption and second energy consumption of the target equipment.
Step S304, the electric energy management system calculates the difference between the first energy consumption and the first preset energy consumption to obtain a first energy consumption difference value, and calculates the difference between the second energy consumption and the second preset energy consumption to obtain a second energy consumption difference value.
Step S305, the electric energy management system determines whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determines whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold.
Step S306, if the electric energy management system determines that the first energy consumption difference is greater than the first preset threshold or less than the second preset threshold, determining that the target device is abnormal in energy consumption in the first working mode, and if the second energy consumption difference is greater than the third preset threshold or less than the fourth preset threshold, determining that the target device is abnormal in energy consumption in the second working mode; and generating a first verification report of the target equipment, and sending the first verification report to terminal equipment.
Step S307, if the electric energy management system determines that the first energy consumption difference is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, determining that the energy consumption of the target device is normal in the first working mode, and if the second energy consumption difference is greater than or equal to the fourth preset threshold and less than or equal to the third preset threshold, determining that the energy consumption of the target device is normal in the second working mode; and generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment.
In one possible example, in terms of the acquiring the first energy consumption and the second energy consumption of the target device, the method may include the steps of: collecting a first to-be-detected energy consumption of the target equipment in a current working mode; transmitting working mode switching information to the target equipment; after receiving the interaction information of the completion of the working mode switching sent by the target equipment, collecting a second to-be-consumed energy after the target equipment switches the working mode; judging whether the current working mode is the first working mode or not; if the current working mode is the first working mode, the first energy consumption to be used as the first energy consumption and the second energy consumption to be used as the second energy consumption are judged; and if the current working mode is not the first working mode, taking the first energy consumption to be used as the second energy consumption and taking the second energy consumption to be used as the first energy consumption.
The first to-be-determined energy consumption is energy consumption of the target device in a preset time period in a current working mode, the second to-be-determined energy consumption is energy consumption of the target device in the preset time period after the working mode is switched, and the preset time period can be set manually or by default of the system, and the method is not limited.
Wherein the current operation mode is any one of the first operation mode and the second operation mode.
Referring to fig. 4, fig. 4 is a schematic diagram of an interaction flow between a power management system and a target device according to an embodiment of the present application, wherein,
step S401, the electric energy management system collects first to-be-consumed energy of the target equipment in a current working mode.
Step S402, the electric energy management system sends working mode switching information to the target equipment.
Step S403, the target equipment sends interaction information of the completion of the working mode switching to the electric energy management system.
Step S404, after receiving the interaction information of the completion of the working mode switching sent by the target device, the electric energy management system collects a second to-be-consumed energy after the target device switches the working mode.
Step S405, the electric energy management system determines whether the current working mode is the first working mode.
Step S406, if the electric energy management system determines that the current working mode is the first working mode, the first to-be-used energy consumption is taken as the first energy consumption, and the second to-be-used energy consumption is taken as the second energy consumption.
Step S407, if the electric energy management system determines that the current working mode is not the first working mode, the first to-be-used energy consumption is taken as the second energy consumption, and the second to-be-used energy consumption is taken as the first energy consumption.
Therefore, in the example, the electric energy management system and the target device are interacted to collect the energy consumption of the target device in different working modes, so that the intelligent performance of the electric energy management system is improved.
In one possible example, in terms of the obtaining energy consumption information of the target device, the method may include the steps of: acquiring a reference energy consumption information set, wherein the reference energy consumption information set comprises a corresponding relation between a device identifier and reference energy consumption information; determining a device identification of the target device; and inquiring the reference energy consumption information set according to the equipment identifier to acquire the energy consumption information of the target equipment.
The energy consumption information includes preset energy consumption and mode labels, such as: the preset energy consumption is a first preset energy consumption, and the mode label of the first preset energy consumption is a first working mode.
The electric energy management system can receive the device identification of each device in the plurality of devices sent by the terminal device and the reference energy consumption information corresponding to the device identification, and form a reference energy consumption information set by the corresponding relation between the plurality of device identifications and the reference energy consumption information, and store the reference energy consumption information set. The reference energy consumption information is the energy consumption of the device under different modes or states promised by the device manufacturer.
For example, the reference energy consumption information set includes reference energy consumption information corresponding to the device identifiers a and a as a first preset energy consumption-a first working mode and a second preset energy consumption-a second working mode, the device identifier of the target device is a, the reference energy consumption information set is queried by using the device identifier a, and the corresponding reference energy consumption information, that is, the energy consumption information of the target device, is obtained, and the reference energy consumption information is the first preset energy consumption-the first working mode (mode tag) and the second preset energy consumption-the second working mode (mode tag).
In this example, the power management system may query the reference power consumption information set according to the device identifier of the target device, so as to obtain the power consumption information of the target device, which is beneficial to improving the intelligence of the power management system.
In one possible example, the first verification report includes data content and conclusion content, and in the generating the first verification report of the target device, the method may include the steps of: when the target equipment is abnormal in energy consumption in the first working mode, determining that a first energy consumption label in the first working mode is abnormal in energy consumption; when the target equipment is abnormal in energy consumption in the second working mode, determining that a second energy consumption label in the second working mode is abnormal in energy consumption; generating the data content of the first verification report according to the first preset threshold, the second preset threshold, the first energy consumption, the second energy consumption, the first energy consumption difference value and the second energy consumption difference value; and generating the conclusion content of the first verification report according to the equipment identifier, the first working mode and the second working mode, wherein the first energy consumption label and the second energy consumption label.
The data content includes energy consumption data related to energy consumption verification and a plurality of energy consumption verification steps, and the conclusion content may include energy consumption verification results, for example: the first working mode of the target equipment is abnormal in energy consumption, and the second working mode is abnormal in energy consumption.
Optionally, the second verification report includes data content and conclusion content, and in generating the second verification report of the target device, the method may include the steps of: when the energy consumption of the target equipment is normal in the first working mode, determining that a third energy consumption label in the first working mode is normal; when the energy consumption of the target equipment is normal in the second working mode, determining that a fourth energy consumption label in the second working mode is normal; generating the data content of the second verification report according to the first preset threshold, the second preset threshold, the first energy consumption, the second energy consumption, the first energy consumption difference value and the second energy consumption difference value; and generating the conclusion content of the second verification report according to the equipment identifier, the first working mode and the second working mode, the third energy consumption label and the fourth energy consumption label.
It can be seen that, in this example, the power management system may generate the first verification report and the second verification report according to the device identifier, the first energy consumption tag, the second energy consumption tag, the first energy consumption, the second energy consumption, and the like, which is beneficial to improving the intelligence of the power management system.
In one possible example, before the obtaining the energy consumption information of the target device, the method may include the steps of: when a second energy consumption verification request is received, collecting a plurality of target energy consumption data of a plurality of electricity utilization areas; performing anomaly detection on the plurality of target energy consumption data, and determining a target area with abnormal energy consumption, wherein the target area is any one of the plurality of power utilization areas; and generating a third verification report according to the target area with abnormal energy consumption, and sending the third verification report to the terminal equipment.
The energy storage system comprises a plurality of electricity utilization areas, each electricity utilization area comprises a plurality of devices, the devices in the electricity utilization areas uniformly control operation or stop operation, and the devices in the electricity utilization areas can be fire protection devices, air conditioners, fans or other sensors, for example: smoke sensors, infrared sensors, image acquisition devices, etc.
Each power utilization area corresponds to one target energy consumption data, the target energy consumption data comprises total energy consumption of a plurality of electric equipment of the corresponding power utilization area in a preset time period, the third verification report comprises conclusion content and data content, the data content of the third verification report is generated according to the target energy consumption data of the target area with abnormal energy consumption, the energy consumption label of the target area is marked as abnormal energy consumption, and the conclusion content of the third verification report is generated according to the target area and the energy consumption label of the abnormal energy consumption.
In this example, the power management system may detect the energy consumption abnormality of the target energy consumption data of the plurality of power consumption areas, determine the target area with the abnormal energy consumption, and generate the third verification report, which is beneficial to improving the intelligence of the power management system.
In one possible example, in the aspect of performing anomaly detection on the plurality of target energy consumption data and determining a target area with abnormal energy consumption, the method may include the steps of: acquiring historical energy consumption data of each electricity utilization area; determining baselines of the historical energy consumption data according to the historical energy consumption data, wherein each baseline corresponds to one target energy consumption data; determining abnormal energy consumption data according to the base line and the target energy consumption data corresponding to the base line; and determining the target area with abnormal energy consumption according to the abnormal energy consumption data.
The base line is obtained empirically by learning historical energy consumption data, the historical energy consumption data of each power utilization area corresponds to one base line, and the base lines corresponding to the historical energy consumption data of different power utilization areas are the same or different; the baseline is a time series including a plurality of time points and a plurality of energy consumption values corresponding to each time point.
The historical energy consumption data are historical data of energy consumption of at least one electric equipment in the electricity utilization area during electricity utilization, and the abnormal energy consumption data are any one or more of a plurality of target energy consumption data.
It can be seen that, in this example, the electrical energy management system may determine the baseline according to the historical energy consumption data, and perform anomaly detection on the target energy consumption data by using the baseline, so as to determine the target area with abnormal energy consumption, which is beneficial to improving the intelligence of the electrical energy management system.
In one possible example, in determining abnormal energy consumption data according to the baseline and the target energy consumption data corresponding to the baseline, the method may further include the steps of: determining a plurality of energy-consuming time sequences according to the target energy consumption data, wherein each target energy consumption data corresponds to one energy-consuming time sequence; performing the following operations on each of the energy-consuming time sequences to determine abnormal energy consumption data: counting the target times when the currently processed energy-consuming time sequence exceeds the baseline; judging whether the target times are larger than preset times or not; and if the target times are larger than the preset times, taking the target energy consumption data corresponding to the currently processed energy time sequence as the abnormal energy consumption data.
The method comprises the steps that target energy consumption data are converted into energy time sequences, abnormal detection can be carried out on the target energy consumption data by utilizing a base line, specifically, a plurality of time points and energy consumption values corresponding to each time point are determined according to the target energy consumption data, if the determined time points are minutes, the energy consumption values corresponding to the time points are energy consumption values of equipment within 1 minute, for example, the target energy consumption data comprise energy consumption data of the target equipment within 7:00-7:10, the time points are divided into 10 time points by taking minutes as time point dividing units, the first time point is the first minute, the energy consumption values corresponding to the first minute are the energy consumption of the target equipment within 7:00-7:01, and the energy consumption values corresponding to the seventh minute are the energy consumption of the target equipment within 7:06-7:07 minutes; the time-consuming sequence comprises a plurality of time points and energy consumption values corresponding to each time point, and the time-consuming sequence corresponds to the base line and comprises the time point; at the same point in time, the energy consumption value of the energy consumption time sequence is greater than the energy consumption value of the base line, and the energy consumption time sequence is considered to exceed the base line once.
The preset times can be set manually or default by the system, and are not limited herein.
Referring to fig. 5, fig. 5 is a schematic diagram of a baseline and an energy-consuming time sequence provided by an embodiment of the present application, as shown in fig. 5, at a time point of 7 minutes, the energy consumption value of the currently processed energy-consuming time sequence is greater than the energy consumption value of the baseline, and then the currently processed energy-consuming time sequence is considered to exceed the primary baseline, and at a time point of 11 minutes, the energy consumption value of the currently processed energy-consuming time sequence is considered to be less than the energy consumption value of the baseline, and then the currently processed energy-consuming time sequence is considered to not exceed the baseline; in fig. 3, the energy consumption time sequence of the current process exceeds the baseline at the time points of the 3 rd minute, the 7 th minute, the 15 th minute and the 21 st minute, the target frequency is 4 times when the baseline is exceeded, when the preset frequency is 3 times, the target frequency is greater than the preset frequency, the target energy consumption data corresponding to the energy consumption time sequence of the current process is considered to be abnormal, and the power utilization area corresponding to the abnormal target energy consumption data is the power consumption abnormal target area.
It can be seen that, in this example, the electrical energy management system uses the baseline to perform anomaly detection on the target energy consumption data, so as to determine a target area with abnormal energy consumption, which is beneficial to improving the intelligence of the electrical energy management system.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electric energy management system according to an embodiment of the present application; as shown in fig. 6, the power management system includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs are configured by the processor to perform the following instructions:
acquiring energy consumption information of target equipment, wherein the energy consumption information comprises first preset energy consumption of the target equipment in a first working mode and second preset energy consumption of the target equipment in a second working mode, the first working mode is a performance mode of the target equipment, and the second working mode is a balance mode of the target equipment;
when a first energy consumption verification request aiming at the target equipment is received, collecting first energy consumption and second energy consumption of the target equipment, wherein the first energy consumption is the energy consumption of the target equipment in the first working mode currently, and the second energy consumption is the energy consumption of the target equipment in the second working mode currently;
calculating a difference value between the first energy consumption and the first preset energy consumption to obtain a first energy consumption difference value, and calculating a difference value between the second energy consumption and the second preset energy consumption to obtain a second energy consumption difference value;
Judging whether the first energy consumption difference value is larger than a first preset threshold value or smaller than a second preset threshold value, and judging whether the second energy consumption difference value is larger than a third preset threshold value or smaller than a fourth preset threshold value;
if the first energy consumption difference value is judged to be larger than the first preset threshold value or smaller than a second preset threshold value, determining that the energy consumption of the target equipment is abnormal in the first working mode, and if the second energy consumption difference value is judged to be larger than a third preset threshold value or smaller than a fourth preset threshold value, determining that the energy consumption of the target equipment is abnormal in the second working mode;
generating a first verification report of the target equipment, and sending the first verification report to terminal equipment;
if the first energy consumption difference value is larger than or equal to the second preset threshold value and smaller than or equal to the first preset threshold value, determining that the energy consumption of the target equipment is normal in the first working mode, and if the second energy consumption difference value is larger than or equal to the fourth preset threshold value and smaller than or equal to the third preset threshold value, determining that the energy consumption of the target equipment is normal in the second working mode;
And generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment.
It can be seen that, in the embodiment of the present application, the electronic device may obtain the energy consumption information of the target device, where the energy consumption information includes a first preset energy consumption of the target device in a first working mode and a second preset energy consumption of the target device in a second working mode, where the first working mode is a performance mode of the target device, and the second working mode is a balance mode of the target device, and then, when receiving a first energy consumption verification request for the target device, collect the first energy consumption and the second energy consumption of the target device, where the first energy consumption is the current energy consumption of the target device in the first working mode, and the second energy consumption is the current energy consumption of the target device in the second working mode, further, calculate a difference between the first energy consumption and the first preset energy consumption to obtain a first energy consumption difference, and calculate a difference between the second energy consumption and the second preset energy consumption to obtain a second energy consumption difference, and determining whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determining whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold, further, if the first energy consumption difference is greater than the first preset threshold or less than the second preset threshold, determining that the target device is abnormal in energy consumption in the first working mode, and if the second energy consumption difference is greater than the third preset threshold or less than the fourth preset threshold, determining that the target device is abnormal in energy consumption in the second working mode, generating a first verification report of the target device, and transmitting the first verification report to the terminal device, and finally, if the first energy consumption difference is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, determining that the target device is normal in energy consumption in the first working mode, and if the second energy consumption difference value is judged to be larger than or equal to the fourth preset threshold value and smaller than or equal to the third preset threshold value, determining that the energy consumption of the target equipment is normal in the second working mode, generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment. Therefore, the power consumption of the target equipment can be monitored by the power management system, whether the power consumption of the target equipment is abnormal or not is verified, the intelligence of the power management system is improved, and meanwhile, the cost of special equipment testing of the target equipment by a user is saved.
In one possible example, in terms of said acquiring the first energy consumption and the second energy consumption of the target device, the above-mentioned program comprises instructions for performing the steps of:
collecting a first to-be-detected energy consumption of the target equipment in a current working mode;
transmitting working mode switching information to the target equipment;
after receiving the interaction information of the completion of the working mode switching sent by the target equipment, collecting a second to-be-consumed energy after the target equipment switches the working mode;
judging whether the current working mode is the first working mode or not;
if the current working mode is the first working mode, the first energy consumption to be used as the first energy consumption and the second energy consumption to be used as the second energy consumption are judged;
and if the current working mode is not the first working mode, taking the first energy consumption to be used as the second energy consumption and taking the second energy consumption to be used as the first energy consumption.
In one possible example, in terms of the obtaining the energy consumption information of the target device, the above program includes instructions for:
acquiring a reference energy consumption information set, wherein the reference energy consumption information set comprises a corresponding relation between a device identifier and reference energy consumption information;
Determining a device identification of the target device;
and inquiring the reference energy consumption information set according to the equipment identifier to acquire the energy consumption information of the target equipment.
In one possible example, the first verification report includes data content and conclusion content, and in the generating the first verification report for the target device, the program includes instructions for further performing the steps of:
when the target equipment is abnormal in energy consumption in the first working mode, determining that a first energy consumption label in the first working mode is abnormal in energy consumption;
when the target equipment is abnormal in energy consumption in the second working mode, determining that a second energy consumption label in the second working mode is abnormal in energy consumption;
generating the data content of the first verification report according to the first preset threshold, the second preset threshold, the first energy consumption, the second energy consumption, the first energy consumption difference value and the second energy consumption difference value;
and generating the conclusion content of the first verification report according to the equipment identifier, the first working mode and the second working mode, wherein the first energy consumption label and the second energy consumption label.
In one possible example, before the obtaining the energy consumption information of the target device, the program includes instructions for further performing the steps of:
when a second energy consumption verification request is received, collecting a plurality of target energy consumption data of a plurality of electricity utilization areas;
performing anomaly detection on the plurality of target energy consumption data, and determining a target area with abnormal energy consumption, wherein the target area is any one of the plurality of power utilization areas;
and generating a third verification report according to the target area with abnormal energy consumption, and sending the third verification report to the terminal equipment.
In one possible example, in said detecting of anomalies in said plurality of target energy consumption data, determining a target area of energy consumption anomalies, the program includes instructions for further performing the steps of:
acquiring historical energy consumption data of each electricity utilization area;
determining baselines of the historical energy consumption data according to the historical energy consumption data, wherein each baseline corresponds to one target energy consumption data;
determining abnormal energy consumption data according to the base line and the target energy consumption data corresponding to the base line;
and determining the target area with abnormal energy consumption according to the abnormal energy consumption data.
In one possible example, in determining abnormal energy consumption data from the baseline and the target energy consumption data corresponding to the baseline, the program further includes instructions for:
determining a plurality of energy-consuming time sequences according to the target energy consumption data, wherein each target energy consumption data corresponds to one energy-consuming time sequence;
performing the following operations on each of the energy-consuming time sequences to determine abnormal energy consumption data:
counting the target times when the currently processed energy-consuming time sequence exceeds the baseline;
judging whether the target times are larger than preset times or not;
and if the target times are larger than the preset times, taking the target energy consumption data corresponding to the currently processed energy time sequence as the abnormal energy consumption data.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional units of the power management system according to the method example, for example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
In the case of dividing each functional module by using each corresponding function, fig. 7 is a functional unit block diagram of a power management system according to an embodiment of the present application, as shown in fig. 7, the power management system 700 includes: an acquisition unit 701, an acquisition unit 702, a calculation unit 703, a judgment unit 704, a processing unit 705, and a determination unit 706, wherein,
the obtaining unit 701 is configured to obtain energy consumption information of a target device, where the energy consumption information includes a first preset energy consumption of the target device in a first working mode and a second preset energy consumption of the target device in a second working mode, and the first working mode is a performance mode in which the target device works, and the second working mode is a balance mode in which the target device works;
The collecting unit 702 is configured to collect, when a first energy consumption verification request for the target device is received, a first energy consumption and a second energy consumption of the target device, where the first energy consumption is an energy consumption of the target device in the first working mode currently, and the second energy consumption is an energy consumption of the target device in the second working mode currently;
the calculating unit 703 is configured to calculate a difference between the first energy consumption and the first preset energy consumption to obtain a first energy consumption difference, and calculate a difference between the second energy consumption and the second preset energy consumption to obtain a second energy consumption difference;
the determining unit 704 is configured to determine whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determine whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold;
the processing unit 705 is configured to determine that the target device is abnormal in energy consumption in the first working mode if the first energy consumption difference is determined to be greater than the first preset threshold or less than the second preset threshold, and determine that the target device is abnormal in energy consumption in the second working mode if the second energy consumption difference is determined to be greater than the third preset threshold or less than the fourth preset threshold; generating a first verification report of the target equipment, and sending the first verification report to terminal equipment;
The processing unit 705 is further configured to determine that the target device has normal energy consumption in the first working mode if the first energy consumption difference is determined to be greater than or equal to the second preset threshold and less than or equal to the first preset threshold, and determine that the target device has normal energy consumption in the second working mode if the second energy consumption difference is determined to be greater than or equal to the fourth preset threshold and less than or equal to the third preset threshold; and generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment.
It can be seen that, in the power management system described in the embodiment of the present application, the energy consumption information of the target device may be obtained, where the energy consumption information includes a first preset energy consumption of the target device in a first working mode and a second preset energy consumption of the target device in a second working mode, the first working mode is a performance mode in which the target device works, the second working mode is a balance mode in which the target device works, then, when a first energy consumption verification request for the target device is received, the first energy consumption and the second energy consumption of the target device are collected, the first energy consumption is the current energy consumption of the target device in the first working mode, the second energy consumption is the current energy consumption of the target device in the second working mode, further, a difference between the first energy consumption and the first preset energy consumption is calculated to obtain a first energy consumption difference, and a difference between the second energy consumption and the second preset energy consumption is calculated to obtain a second energy consumption difference, and determining whether the first energy consumption difference is greater than a first preset threshold or less than a second preset threshold, and determining whether the second energy consumption difference is greater than a third preset threshold or less than a fourth preset threshold, further, if the first energy consumption difference is greater than the first preset threshold or less than the second preset threshold, determining that the target device is abnormal in energy consumption in the first working mode, and if the second energy consumption difference is greater than the third preset threshold or less than the fourth preset threshold, determining that the target device is abnormal in energy consumption in the second working mode, generating a first verification report of the target device, and transmitting the first verification report to the terminal device, and finally, if the first energy consumption difference is greater than or equal to the second preset threshold and less than or equal to the first preset threshold, determining that the target device is normal in energy consumption in the first working mode, and if the second energy consumption difference value is judged to be larger than or equal to the fourth preset threshold value and smaller than or equal to the third preset threshold value, determining that the energy consumption of the target equipment is normal in the second working mode, generating a second verification report of the target equipment, and sending the second verification report to the terminal equipment. Therefore, the power consumption of the target equipment can be monitored by the power management system, whether the power consumption of the target equipment is abnormal or not is verified, the intelligence of the power management system is improved, and meanwhile, the cost of special equipment testing of the target equipment by a user is saved.
In one possible example, in the aspect of determining the first energy consumption and the second energy consumption of the target device according to the first energy consumption data, the acquisition unit 702 is specifically configured to:
collecting a first to-be-detected energy consumption of the target equipment in a current working mode;
transmitting working mode switching information to the target equipment;
after receiving the interaction information of the completion of the working mode switching sent by the target equipment, collecting a second to-be-consumed energy after the target equipment switches the working mode;
judging whether the current working mode is the first working mode or not;
if the current working mode is the first working mode, the first energy consumption to be used as the first energy consumption and the second energy consumption to be used as the second energy consumption are judged;
and if the current working mode is not the first working mode, taking the first energy consumption to be used as the second energy consumption and taking the second energy consumption to be used as the first energy consumption.
In one possible example, in terms of the obtaining the energy consumption information of the target device, the obtaining unit 701 is specifically configured to:
acquiring a reference energy consumption information set, wherein the reference energy consumption information set comprises a corresponding relation between a device identifier and reference energy consumption information;
Determining a device identification of the target device;
and inquiring the reference energy consumption information set according to the equipment identifier to acquire the energy consumption information of the target equipment.
In one possible example, where the first verification report includes data content and conclusion content, the generating the first verification report of the target device, the processing unit 705 is specifically configured to:
when the target equipment is abnormal in energy consumption in the first working mode, determining that a first energy consumption label in the first working mode is abnormal in energy consumption;
when the target equipment is abnormal in energy consumption in the second working mode, determining that a second energy consumption label in the second working mode is abnormal in energy consumption;
generating the data content of the first verification report according to the first preset threshold, the second preset threshold, the first energy consumption, the second energy consumption, the first energy consumption difference value and the second energy consumption difference value;
and generating the conclusion content of the first verification report according to the equipment identifier, the first working mode and the second working mode, wherein the first energy consumption label and the second energy consumption label.
In one possible example, before the obtaining the energy consumption information of the target device, the processing unit 705 is further specifically configured to:
When a second energy consumption verification request is received, collecting a plurality of target energy consumption data of a plurality of electricity utilization areas;
performing anomaly detection on the plurality of target energy consumption data, and determining a target area with abnormal energy consumption, wherein the target area is any one of the plurality of power utilization areas;
and generating a third verification report according to the target area with abnormal energy consumption, and sending the third verification report to the terminal equipment.
In one possible example, in the aspect of performing anomaly detection on the plurality of target energy consumption data to determine a target area with abnormal energy consumption, the determining unit 706 is specifically configured to:
acquiring historical energy consumption data of each electricity utilization area;
determining baselines of the historical energy consumption data according to the historical energy consumption data, wherein each baseline corresponds to one target energy consumption data;
determining abnormal energy consumption data according to the base line and the target energy consumption data corresponding to the base line;
and determining the target area with abnormal energy consumption according to the abnormal energy consumption data.
In one possible example, in determining abnormal energy consumption data according to the baseline and the target energy consumption data corresponding to the baseline, the determining unit 706 is specifically configured to:
Determining a plurality of energy-consuming time sequences according to the target energy consumption data, wherein each target energy consumption data corresponds to one energy-consuming time sequence;
performing the following operations on each of the energy-consuming time sequences to determine abnormal energy consumption data:
counting the target times when the currently processed energy-consuming time sequence exceeds the baseline;
judging whether the target times are larger than preset times or not;
and if the target times are larger than the preset times, taking the target energy consumption data corresponding to the currently processed energy time sequence as the abnormal energy consumption data. It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The power management system provided in this embodiment is used to execute the above-mentioned power consumption verification method, so that the same effects as those of the above-mentioned implementation method can be achieved.
In the case of an integrated unit, the power management system may include a processing module, a storage module, and a communication module. The processing module may be configured to control and manage an action of the power management system, for example, may be configured to support the power management system to perform the steps performed by the acquisition unit 701, the acquisition unit 702, the calculation unit 703, the determination unit 704, the processing unit 705, and the determination unit 706. The memory module may be used to support the power management system in executing stored program code, data, and the like. And the communication module can be used for supporting the communication of the power management system with other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
The embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program makes a computer execute part or all of the steps of any one of the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising a control platform.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-only memory, random access memory, magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the application, wherein the principles and embodiments of the application are explained in detail using specific examples, the above examples being provided solely to facilitate the understanding of the method and core concepts of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.