Energy consumption determination method and apparatus, and electronic device, product, program and medium

Through the linked list and identification information, the energy consumption statistics of central air-conditioning equipment are processed, and the problems of cumbersome energy consumption determination and data not real-time in the existing technology are solved, and efficient and accurate energy consumption management is achieved.

WO2025130204A9PCT designated stage expired Publication Date: 2025-08-07SHANGHAI MEICON INTELLIGENT CONSTR CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/119328
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-22
Filing Date
2024-09-18
Publication Date
2025-08-07

AI Technical Summary

Technical Problem

In the prior art, the energy consumption determination process of central air conditioning equipment is cumbersome, and when the equipment instance is bound to the meter incorrectly, it requires on-site debugging, resulting in high labor and time costs, data collection is not real-time and difficult to remotely monitor and manage.

Method used

By obtaining the power information of the energy consumption statistics device and storing it in the linked list, the energy consumption value of the device instance is determined in the linked list using the pre-stored association information and identification information, and the energy consumption of the device type is calculated independently of the device instance attribute.

Benefits of technology

It simplifies the acquisition process of equipment type energy consumption, reduces on-site debugging requirements, improves the accuracy and management efficiency of energy consumption determination, and supports remote monitoring and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024119328_07082025_PF_FP_ABST
    Figure CN2024119328_07082025_PF_FP_ABST
Patent Text Reader

Abstract

An energy consumption determination method and apparatus, and an electronic device, a product, a program and a medium. The method comprises: acquiring power information of each energy consumption statistical apparatus, and storing power data of the power information to corresponding linked lists; on the basis of pre-stored association information, determining an energy consumption statistical apparatus corresponding to a device instance of each device type, wherein there is at least one device instance; on the basis of identification information of the energy consumption statistical apparatus, determining from among the linked lists a target linked list corresponding to the device instance; and determining an energy consumption value of the device instance on the basis of power data stored in the target linked list, and obtaining a target energy consumption of each device type on the basis of the energy consumption value.
Need to check novelty before this filing date? Find Prior Art

Description

Energy consumption determination method, device, electronic device, product, program and medium Technical Field

[0001] The present application relates to the technical field of air conditioners, and in particular to an energy consumption determination method, device, electronic device, product, program, and medium. Background Art

[0002] Central air conditioning is the most widely used refrigeration equipment for temperature regulation in various public places and computer rooms. It is also the equipment with the highest energy consumption. By calculating the energy consumption of various types of equipment in central air conditioning, it is easier for management personnel to maintain and manage central air conditioners.

[0003] In the exemplary technology, the energy consumption of each device type is calculated by debugging and binding the meter to the device instance contained in each device type in the central air conditioner. Finally, the meter is reported as a device instance attribute to calculate the energy consumption of each device type. When determining the energy consumption of each device type using this method, if the binding between the device instance and the meter is incorrect, or if a meter is added or removed, debugging personnel must go to the site to conduct a tracing operation, which consumes a lot of time and manpower. In other words, the existing technology for determining the energy consumption of each device type suffers from a cumbersome operation process and is not conducive to subsequent maintenance.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide an energy consumption determination method, device, electronic device, product, program and medium, which obtain energy consumption information of a device instance in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, thereby simplifying the process of obtaining the target energy consumption of each device type.

[0006] In a first aspect, an embodiment of the present application provides a method for determining energy consumption, the method comprising:

[0007] Obtain power information of each energy consumption statistics device, and store the power data of the power information in a corresponding linked list;

[0008] Determining, based on pre-stored association information, an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one;

[0009] Determining a target linked list corresponding to the device instance in the linked list based on the identification information of the energy consumption statistics device;

[0010] The energy consumption value of the device instance is determined based on the power data stored in the target linked list, and the target energy consumption of each device type is obtained based on the energy consumption value.

[0011] In a second aspect, an embodiment of the present application provides an energy consumption determination device, comprising:

[0012] A power information acquisition unit configured to acquire power information of each energy consumption statistics device and store the power data of the power information in a corresponding linked table;

[0013] A first determining unit is configured to determine, based on pre-stored association information, an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one;

[0014] a second determining unit configured to determine, in the linked list, a target linked list corresponding to the device instance based on identification information of the energy consumption statistics apparatus;

[0015] The target energy consumption obtaining unit is configured to determine the energy consumption value of the device instance based on the power data stored in the target linked list, and obtain the target energy consumption of each device type based on the energy consumption value.

[0016] In a third aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the above method.

[0017] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.

[0018] In a fifth aspect, an embodiment of the present application provides a computer program product having at least one instruction stored thereon, which implements the steps of the above method when the at least one instruction is executed by a processor.

[0019] In a sixth aspect, an embodiment of the present application provides a computer program having at least one instruction stored thereon, which implements the steps of the above method when the at least one instruction is executed by a processor.

[0020] In an embodiment of the present application, the power information of the energy consumption statistics device obtained is stored in a corresponding linked list, and the energy consumption value of the device instance is determined in the linked list according to the identification information of the device instance, and then the target energy consumption of each device type is calculated. The energy consumption information of the device instance is obtained in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, which simplifies the process of obtaining the target energy consumption of each device type. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] FIG1 is a schematic diagram of a scenario of an energy consumption determination method provided in an embodiment of the present application;

[0023] FIG2 is a flow chart of another method for determining energy consumption provided in an embodiment of the present application;

[0024] FIG3 is a display interface diagram of an energy consumption determination method provided in an embodiment of the present application;

[0025] FIG4 is a flow chart of an energy consumption determination method provided in an embodiment of the present application;

[0026] FIG5 is a schematic diagram of a scenario of an energy consumption determination method provided in an embodiment of the present application;

[0027] FIG6 is a schematic diagram of a scenario of an energy consumption determination method provided in an embodiment of the present application;

[0028] FIG7 is a flow chart of an energy consumption determination method provided in an embodiment of the present application;

[0029] FIG8 is a schematic diagram of a scenario of an energy consumption determination method provided in an embodiment of the present application;

[0030] FIG9 is a diagram showing an interface of an energy consumption determination method provided in an embodiment of the present application;

[0031] FIG10 is a schematic diagram of the structure of an energy consumption determination device provided in an embodiment of the present application;

[0032] FIG11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0034] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. "and / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0035] Traditional technology uses meters as attributes of device instances to obtain energy consumption data for each device instance, but this presents several practical challenges. First, the relationship between device instances and meters must be bound one by one, which, if applied to a large number of devices, increases operational complexity and consumes significant manpower. Second, if the binding between a device instance and a meter is incorrect, or if meters need to be added or removed during use, on-site commissioning personnel must conduct tracing and modification, consuming significant time and labor.

[0036] Furthermore, traditional technologies suffer from issues such as insufficiently real-time data collection and incomplete monitoring. Due to their limited data collection methods, comprehensive monitoring and analysis of equipment energy consumption is difficult, making it difficult to detect anomalies and take appropriate action. Furthermore, traditional technologies struggle to support remote monitoring and management, requiring on-site manual operation and failing to meet the demands of modern management.

[0037] Based on these problems, an efficient and convenient way is needed to determine the energy consumption of various types of equipment to improve management efficiency and reduce costs.

[0038] Refer to Figure 1, which is a scenario diagram of the energy consumption determination method of the present application.

[0039] The executor of this application is an electronic device, which may include a server, cloud, etc. It receives power information sent by each energy consumption statistics device through a gateway, and then calculates the energy consumption of each device type included in the central air conditioner based on the power information.

[0040] As shown in Figure 1, after the electronic device receives the power information of each energy consumption statistics device A, B, and C, it stores the power data of the power information in each linked list according to the identification information of the energy consumption statistics device carried in the power information, and then determines the energy consumption statistics device corresponding to the device instance of each device type according to the pre-stored association information, and then obtains the target linked list corresponding to each device instance in the linked list according to the identification information of the energy consumption statistics device, and obtains the target energy consumption of each device type based on the power data stored in the data field in the target linked list.

[0041] In an embodiment of the present application, the power information of the acquired energy consumption statistics device is stored in a corresponding linked list, and the energy consumption value of the device instance is determined in the linked list according to the identification information of the device instance, and then the target energy consumption of each device type is calculated. The energy consumption information of the device instance is obtained in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, thereby simplifying the process of obtaining the target energy consumption of each device type.

[0042] The energy consumption determination method provided in the embodiment of the present application will be described in detail below with reference to FIG. 2 to FIG. 9 .

[0043] Please refer to Figure 2, which is a flowchart of an energy consumption determination method according to an embodiment of the present application. As shown in Figure 2, the energy consumption determination method may include the following steps S101 to S104.

[0044] S101, obtaining power information of each energy consumption statistics device, and storing the power data of the power information in a corresponding linked table;

[0045] The electronic device obtains the power information recorded in each energy consumption statistical device, and stores the power data contained in the power information in a corresponding linked table.

[0046] The energy consumption statistics device may be a device for collecting statistics on energy consumption information, including devices such as an electricity meter.

[0047] The power information may be information collected by an energy consumption statistics device, including an identifier of the energy consumption statistics device, voltage data, current data, power data, etc.

[0048] Specifically, referring to Figure 3, in an embodiment of the present application, the electronic device can select the "button (calculate energy consumption)" button in the energy consumption display interface for determining each device type, and then the electronic device can obtain the power information of each energy consumption statistics device and calculate the energy consumption of each device type.

[0049] It is understood that a device type includes at least one. Each device type includes at least one device instance. For example, if the device type is cooling pump, the device instances include: cooling pump 1, cooling pump 2, and cooling pump 3; if the device type is cooling tower, the device instances include: cooling tower 1, cooling tower 2, cooling tower 3, and cooling tower 4; if the device type is host, the device instances include host 1, host 2, and host 3.

[0050] Optionally, the energy consumption statistics device may also periodically send power information to the electronic device so that the electronic device can periodically analyze the energy consumption of each device type. For example, the energy consumption statistics device may generate power information from power data collected in each time interval at 30-day intervals and send it to the electronic device.

[0051] After receiving the power information, the electronic device stores the power data in the power information into each linked list one by one.

[0052] S102, based on pre-stored association information, determining an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one;

[0053] The electronic device obtains pre-stored association information and determines the energy consumption statistics device corresponding to the device instance of each device type.

[0054] The equipment type may be the type of each equipment, which may include a cooling tower type, a cooling pump type, and the like.

[0055] The device instance can be a device of a certain device type, for example, Cooling Tower 1 of the Cooling Tower type.

[0056] The association information may be correspondence information between the device instance and the energy consumption statistics device.

[0057] In the embodiment of the present application, when the equipment type includes: cooling tower type, cooling pump type, refrigeration pump type, and host type, the pre-stored association information may be as shown in Table 1 below:

[0058] Table 1

[0059] As shown in Table 1, the energy consumption statistics device corresponding to the equipment instance cooling tower 1 and cooling tower 2 is determined to be energy consumption statistics device 1, the energy consumption statistics device corresponding to cooling tower 3 is energy consumption statistics device 2, and the energy consumption statistics device corresponding to cooling tower 4 is energy consumption statistics device 3; the energy consumption statistics device corresponding to cooling pump 1, cooling pump 2, and cooling pump 3 is energy consumption statistics device 4; the energy consumption statistics device corresponding to refrigeration pump 1 is energy consumption statistics device 5, and the energy consumption statistics device corresponding to refrigeration pump 2 is energy consumption statistics device 6; the energy consumption statistics device corresponding to host 1 and host 2 is energy consumption statistics device 7, and the energy consumption statistics device corresponding to host 3 is energy consumption statistics device 8.

[0060] S103, determining a target linked list corresponding to the device instance in the linked list based on the identification information of the energy consumption statistics device;

[0061] After determining the energy consumption statistics device corresponding to the device instance, the electronic device determines the target linked list corresponding to the device instance based on the identification information of the energy consumption statistics device.

[0062] For example, the identification information of the energy consumption statistics device 1 is "DB1", and the linked list named "DB1" is determined to be the target linked list corresponding to the device instances "Cooling Tower 1" and "Cooling Tower 2"; the identification information of the energy consumption statistics device 2 is "DB2", and the linked list named "DB2" is determined to be the target linked list corresponding to the device instance "Cooling Tower 3"; the identification information of the energy consumption statistics device 3 is "DB3", and the linked list named "DB3" is determined to be the target linked list corresponding to the device instance "Cooling Tower 4"; the identification information of the energy consumption statistics device 4 is "DB4", and the linked list named "DB4" is determined to be the target linked list corresponding to the device instances "Cooling Pump 1", "Cooling Pump 2" and "Cooling Pump 3" "The target linked list corresponding to the device instance "freezing pump 1" is determined; the identification information of the energy consumption statistics device 5 is "DB5", and the linked list named "DB5" is determined to be the target linked list corresponding to the device instance "freezing pump 2"; the identification information of the energy consumption statistics device 6 is "DB6", and the linked list named "DB6" is determined to be the target linked list corresponding to the device instance and "freezing pump 2"; the identification information of the energy consumption statistics device 7 is "DB7", and the linked list named "DB7" is determined to be the target linked list corresponding to the device instances "host 1" and "host 2"; the identification information of the energy consumption statistics device 8 is "DB8", and the linked list named "DB8" is determined to be the target linked list corresponding to the device instance "host 3".

[0063] S104: Determine the energy consumption value of the device instance based on the power data stored in the target linked list, and obtain the target energy consumption of each device type based on the energy consumption value.

[0064] The target energy consumption may be the total energy consumption of device instances of each device type.

[0065] After determining the target linked list, the electronic device obtains the power data stored in the target linked list, determines the energy consumption value of each device instance based on the power data, and then calculates the target energy consumption of each device type.

[0066] As described above, if the efficiency data stored in the first node of the linked list named "DB1" is 8 kilowatts, and the efficiency data in the second node is 10 kilowatts, and the energy consumption statistics device counts the power data of the device instances "Cooling Tower 1" and "Cooling Tower 2" every half-hour, then the energy consumption values ​​of the device instances "Cooling Tower 1" and "Cooling Tower 2" are calculated to be 9 kilowatt-hours. The energy consumption values ​​of the device instances "Cooling Tower 3" and "Cooling Tower 4," cooling pump 1, cooling pump 2, cooling pump 3, refrigeration pump 1, refrigeration pump 2, host 1, host 2, and host 3 are calculated in the same manner.

[0067] For example, the energy consumption of "Cooling Tower 3" can be 6 kWh; the energy consumption of "Cooling Tower 4" can be 5 kWh; the energy consumption of cooling pumps 1, 2, and 3 can be 16 kWh; the energy consumption of refrigeration pump 1 can be 8 kWh; the energy consumption of refrigeration pump 2 can be 11 kWh; the energy consumption of host machines 1 and 2 can be 20 kWh; and the energy consumption of host machine 3 can be 7 kWh. The target energy consumption for cooling tower equipment is calculated to be 20 kWh, the target energy consumption for cooling pump equipment is 16 kWh, the target energy consumption for refrigeration pump equipment is 19 kWh, and the target energy consumption for host equipment is 27 kWh.

[0068] In an embodiment of the present application, the power information of the energy consumption statistics device obtained is stored in a corresponding linked list, and the energy consumption value of the device instance is determined in the linked list according to the identification information of the device instance, and then the target energy consumption of each device type is calculated. The energy consumption information of the device instance is obtained in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, which simplifies the process of obtaining the target energy consumption of each device type.

[0069] Referring to Figure 4, which is a flow chart of an embodiment of a method for determining energy consumption of the present application, the method for determining energy consumption may include the following steps S401 to S403.

[0070] S401, obtaining power information of each energy consumption statistics device;

[0071] The electronic device obtains power information recorded in each energy consumption statistical device. The power information may be information collected by the energy consumption statistical device, including an identifier of the energy consumption statistical device, voltage data, current data, power data, etc.

[0072] In an embodiment of the present application, the power information recorded in each energy consumption statistics device can be sent to the electronic device through the gateway.

[0073] In an embodiment of the present application, the power information from each energy consumption statistics device can be aggregated through the gateway. Optionally, the gateway can collect power information regularly or based on a received trigger event and aggregate it together. The trigger event can be triggered by a user clicking on a target energy consumption of a computing device type in a display interface.

[0074] S402, obtaining identification information carried in the power information, and determining a hash value of the identification information;

[0075] The identification information may be information for distinguishing which energy consumption statistics device the power information comes from; and the time information is the time when the energy consumption statistics device obtains the power data.

[0076] In an embodiment of the present application, the power information in the energy consumption statistics device may include identification information, power data, and time information. The power information may be in the form of "identification information + power data + time information." For example, the power information received by the gateway may be "DB1 + 8 kilowatts + 17:19."

[0077] After receiving the power information, the electronic device determines the hash value of the identification information.

[0078] In the embodiment of the present application, the hash value of the identification information can be determined by a hash algorithm, where the hash algorithm can include MD5, SHA-1, SHA-256 and other algorithms.

[0079] In this embodiment, the identification information can be input into a hash algorithm to obtain a hash value corresponding to the identification information.

[0080] S403: Determine a linked list corresponding to the power data of the power information based on the hash value, and store the power data in the linked list based on time information carried in the power information.

[0081] In an embodiment of the present application, the identification information of the energy consumption statistics device can be determined based on pre-stored association information, a hash value of the identification information can be calculated, and an empty linked list corresponding to the hash value can be constructed. When receiving power information, after obtaining the hash value of the identification information, the currently obtained hash value is compared with the hash value of the linked list to determine the target linked list among the multiple linked lists.

[0082] In an embodiment of the present application, if the energy consumption statistics device generates power information and sends it to the electronic device after obtaining each power data, the electronic device determines the target linked list according to the identification information in the power information after obtaining the power information, and then adds it to the target linked list.

[0083] After collecting each piece of power data, the energy consumption statistics device stores it and, after acquiring a certain amount of power data, generates power information and sends it to the electronic device. After receiving the power information, the electronic device determines the node position of the power data in the target linked list based on the time information carried in the power information, and then stores the power data in the target linked list.

[0084] In the above embodiment, the target linked list is determined by the hash value of the identification information, and the power data is then stored in the linked list according to the time information. Therefore, when searching the target linked list based on the identification information, the energy consumption value of the device instance can be quickly found in the target linked list.

[0085] Optionally, in the present application, when storing power data in a linked list according to time information, it is further possible to determine whether there is a preceding node in the linked list according to the time information. If there is a preceding node, after the power data in the data field of the preceding node is stored in the preceding node, a new node is created, and the pointer in the pointer field of the preceding node points to the data field of the currently newly created node, and the power data is stored in the data field of the node. Thus, when the electronic device determines the target linked list corresponding to the identification information and reads the power data stored in the data field of each node in the target linked list, it can read the power data in the data field of the next node in sequence according to the pointer in the target linked list. When it is determined according to the time information that there is no preceding node in the linked list, a new node is created in the linked list, and the power data is stored in the data field of the currently newly created node.

[0086] Refer to Figure 5, which is a schematic diagram of a scenario of the energy consumption determination method of the present application.

[0087] The electronic device constructs linked lists based on the identification information in the pre-stored association information. Optionally, the electronic device constructs linked lists based on hash values ​​of the identification information. For example, if the hash values ​​of the identification information "DB1," "DB2," and "DB3" are "L1," "L2," and "L3," respectively, the linked lists constructed based on the hash values ​​of the identification information are shown in FIG5 .

[0088] After receiving the power information, the electronic device stores the power data in the power information into a corresponding linked list according to the identification information in the power information.

[0089] For example, the power information received by the electronic device is "DB1+8 (kW) + 2023.11.17.05", "DB1+12 (kW) + 2023.11.17.01", "DB2+8 (kW) + 2023.11.17.01", and "DB3+14 (kW) + 2023.11.17.01", and the hash values ​​of the identification information in the power information are determined to be "L1", "L1", "L2", and "L3" respectively. It is then determined that the power data "8" and "12" in the power information "DB1+8 (kW) + 2023.11.17.05" and "DB1+12 (kW) + 2023.11.17.01" are respectively stored in the linked list with the hash value of "L1"; the power data "8" of the power information "DB2+8 (kW) + 2023.11.17.01" is stored in the linked list with the hash value of "L2"; and the power data "14" of the power information "DB3+14 (kW) + 2023.11.17.01" is stored in the linked list with the hash value of "L3". When the electronic device stores the power data "8" in the power information "DB1+8 (kW)+2023.11.17.05" into the linked list with the hash value of "L1", it determines that there is a predecessor node in the linked list with the hash value of "L1" based on the time information in the power information, and then writes the power data "12" into the data field of its predecessor node. Afterwards, a new node is created, the power data "8" is written into the data field of the new node, and the pointer in the pointer field of the predecessor node points to the data field of the new node, as shown in Figure 6. When the electronic device determines that there is no predecessor node in the linked list with the hash value of "L2" based on the time information of the power information "DB2+8 (kW)+2023.11.17.01", it creates a new node and stores the power data "8" into the data field of the current new node.

[0090] In the above embodiment, the power data is stored in a linked list according to the time information carried by the power information, so as to facilitate the subsequent processing of the power data.

[0091] Referring to Figure 7, which is a flow chart of an embodiment of the energy consumption determination method of the present application, the energy consumption determination method may include the following steps S701 to S703.

[0092] S701, obtaining power data corresponding to the device instance based on the target linked list, and obtaining an average value and a standard deviation of the power data;

[0093] S702, filtering the power data based on the average value and the standard deviation to obtain target power data of the device instance;

[0094] It is understandable that the energy consumption value of the device instance calculated by time and power data in the above embodiment is based on a constant value or average value of the power data over a period of time. Optionally, the power information obtained by each energy consumption statistics device may also be variable, and abnormal data may exist in the obtained power data, resulting in inaccurate energy consumption values. Therefore, in the embodiment of the present application, after obtaining the power data, the electronic device needs to filter the power data.

[0095] In the above embodiment, after the electronic device determines the target linked list based on the identification information of the energy consumption statistics device corresponding to the device instance in the associated information, it obtains the power data in the target linked list, calculates the average value and standard deviation based on the power data, and then filters the power data in the target linked list according to the average value and standard deviation to obtain the target power data.

[0096] Optionally, in an embodiment of the present application, the power data in the target linked list may be screened according to the normal distribution principle to obtain target power data.

[0097] Specifically, the difference between the mean and three times the standard deviation, and the sum of the mean and three times the standard deviation are determined, and power data less than the difference or greater than the sum is filtered out from the power data to obtain the target power data of the device instance.

[0098] For example, if the power data in the target linked list is [4, 4, 5, 4, 5, 5, 6, 5, 5, 20], the calculated mean is 6.3, the standard deviation is 4.45, the difference between the mean and three times the standard deviation is -7.05, and the sum of the mean and three times the standard deviation is 19.65. Therefore, the target power data is determined to be [4, 4, 5, 4, 5, 5, 6, 5, 5].

[0099] In an embodiment of the present application, by using the mean value and standard deviation to determine the target power data, abnormal data can be filtered out, thereby improving the accuracy of determining the energy consumption value of the device instance, and thereby improving the accuracy of the target energy consumption of the device type.

[0100] S703: Integrate the target power data to obtain an energy consumption value of the device instance, and obtain the target energy consumption of each device type based on the energy consumption value.

[0101] In the embodiment of the present application, when the power information obtained by the energy consumption statistics device is variable, it can truly reflect the power data of the energy consumption statistics device at different times. For such power data, the present application can obtain the target energy consumption of each device type through integral calculation.

[0102] Specifically, referring to FIG8 , after determining the target power data in the target linked list, the electronic device constructs an integral curve f(x) in sequence according to the position of the node of the target power data in the target linked list (i.e., the time information corresponding to the target power data) and the size of the target power data, and then calculates the energy consumption value of the device instance. The calculation formula is: Where n is the number of equal parts of the area formed by the integral curve f(x), b is the upper limit of integration, a is the lower limit of integration, f(a) is the value of f(x) at point a, f(b) is the value of f(x) at point b, Δx is the spacing, and Δf(x) is the difference between the spacings.

[0103] According to the above method, the energy consumption values ​​of all device instances are obtained in turn, and then the target energy consumption of each device type is calculated.

[0104] In the embodiment of the present application, the target energy consumption of each device type is obtained by integrating the power information, thereby improving the accuracy of determining the target energy consumption of each device type.

[0105] Optionally, in the above embodiment, the target energy consumption of each device type may be obtained through aggregation calculation.

[0106] It can be understood that aggregation operations are calculations performed on large amounts of data, which can quickly analyze and process large amounts of data.

[0107] When there are multiple energy consumption statistics devices for each device type, an aggregation operation is used to obtain the target energy consumption of each device type, thereby improving the speed of determining the target energy consumption of each device type.

[0108] Furthermore, in the above embodiment, if a user modification operation for association information is received in the display interface, the modification information input by the user based on the display interface is obtained, and the association information between the device instance and the energy consumption statistics device is updated according to the modification information.

[0109] For example, refer to Figure 9. Before the association information is changed, energy consumption statistics device 6 is associated with the device instance "Refrigeration Pump 2," and energy consumption statistics device 7 is associated with the device instances "Host 1" and "Host 2." If it is determined that the association information is incorrect, the association should be modified so that energy consumption statistics device 6 is associated with the device instances "Host 1" and "Host 2," and energy consumption statistics device 7 is associated with the device instance "Refrigeration Pump 2." The corresponding change information is then entered into the display interface. After receiving the change information, the electronic device updates the association information.

[0110] In the above embodiment, when it is determined that there is an error in the power information of the device instance reported by the energy consumption statistics device, the correct power information of the device instance can be obtained by changing the associated information, without the need for on-site debugging, thereby improving the efficiency of correcting the power information of the device instance reported by the energy consumption statistics device.

[0111] Please refer to Figure 10, which is a schematic diagram of the structure of an energy consumption determination device according to an embodiment of the present application. As shown in Figure 10, the energy consumption determination device 1 according to the embodiment of the present application may include: a power information acquisition unit 01, a first determination unit 02, a second determination unit 03, and a target energy consumption acquisition unit 04.

[0112] The power information acquisition unit 01 is configured to acquire the power information of each energy consumption statistics device and store the power data of the power information into a corresponding linked table;

[0113] The first determining unit 02 is configured to determine the energy consumption statistics device corresponding to the device instance of each device type based on pre-stored association information, wherein the device instance includes at least one;

[0114] A second determining unit 03 is configured to determine a target linked list corresponding to the device instance in the linked list based on the identification information of the energy consumption statistics device;

[0115] The target energy consumption obtaining unit 04 is configured to determine the energy consumption value of the device instance based on the power data stored in the target linked list, and obtain the target energy consumption of each device type based on the energy consumption value.

[0116] In an embodiment of the present application, the power information of the energy consumption statistics device obtained is stored in a corresponding linked list, and the energy consumption value of the device instance is determined in the linked list according to the identification information of the device instance, and then the target energy consumption of each device type is calculated. The energy consumption information of the device instance is obtained in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, which simplifies the process of obtaining the target energy consumption of each device type.

[0117] An embodiment of the present application also provides a computer storage medium, which can store multiple program instructions. The program instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in Figures 1 to 9 above. The specific execution process can be found in the specific description of the embodiments shown in Figures 1 to 9, and will not be repeated here.

[0118] An embodiment of the present application also provides a computer program product having at least one instruction stored thereon, wherein the at least one instruction is suitable for being loaded by a processor and executing the method steps of the embodiments shown in Figures 1 to 9 above to obtain the energy consumption of various types of equipment of the central air conditioner. The specific execution process can be found in the specific description of the embodiments shown in Figures 1 to 9, which will not be repeated here.

[0119] The computer program provided in the embodiments of the present application includes instructions, and when the instructions are executed by a signal processing device, the information processing device is caused to perform the steps of the energy consumption determination method described in any one of the above embodiments.

[0120] An embodiment of the present application also provides a computer program having at least one instruction stored thereon, wherein the at least one instruction is suitable for being loaded by a processor and executing the method steps of the embodiments shown in Figures 1 to 9 above. The specific execution process can be found in the specific description of the embodiments shown in Figures 1 to 9, which will not be repeated here.

[0121] The computer program product provided in the present application includes a computer program or instructions, which, when executed by a processor, are used to implement the steps of the energy consumption determination method described in any of the above embodiments.

[0122] Please refer to Figure 11, which provides a structural diagram of an electronic device according to an embodiment of the present application. As shown in Figure 11, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk storage. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As shown in Figure 11, the memory 1005, which is a computer storage medium, may include an operating system, a network communication module, an input / output interface module, and an energy consumption determination application.

[0123] In the electronic device 1000 shown in FIG11 , the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user.

[0124] In one embodiment, the processor 1001 may be configured to call an energy consumption determination application stored in the memory 1005 and specifically perform the following operations:

[0125] Obtain power information of each energy consumption statistics device, and store the power data of the power information in a corresponding linked list;

[0126] Determining, based on pre-stored association information, an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one;

[0127] Determining a target linked list corresponding to the device instance in the linked list based on the identification information of the energy consumption statistics device;

[0128] The energy consumption value of the device instance is determined based on the power data stored in the target linked list, and the target energy consumption of each device type is obtained based on the energy consumption value.

[0129] In one embodiment, when the processor 1001 executes the step of storing the power data of the power information in the corresponding linked list, the processor 1001 specifically executes:

[0130] Obtaining identification information carried in the power information, and determining a hash value of the identification information;

[0131] A linked list corresponding to the power data of the power information is determined based on the hash value, and the power data is stored in the linked list based on time information carried in the power information.

[0132] In one embodiment, the processor 1001 determines the linked list corresponding to the power data of the power information based on the hash value, and stores the power data in the linked list based on the time information carried in the power information. Specifically, the following steps are performed: determining the linked list corresponding to the power data of the power information based on the hash value, and when it is determined according to the time information that there is a predecessor node in the linked list, creating a new node, and pointing the pointer in the pointer field of the predecessor node to the data field of the node, and storing the power data in the data field of the node; when it is determined according to the time information that there is no predecessor node in the linked list, creating a new node, and storing the power data in the data field of the node.

[0133] In one embodiment, when the processor 1001 determines the energy consumption value of the device instance based on the power data stored in the target linked list and obtains the target energy consumption of each device type based on the energy consumption value, the following steps are specifically performed: obtaining the power data corresponding to the device instance based on the target linked list, and obtaining the average value and standard deviation of the power data; filtering the power data based on the average value and standard deviation to obtain the target power data of the device instance; integrating the target power data to obtain the energy consumption value of the device instance, and obtaining the target energy consumption of each device type based on the energy consumption value.

[0134] In one embodiment, the processor 1001 performs the following steps when filtering the power data based on the mean value and the standard deviation to obtain the target power data of the device instance: determining the difference between the mean value and three times the standard deviation, and the sum of the mean value and the sum of three times the standard deviation; filtering out the power data that is less than the difference or the power data that is greater than the sum in the power data to obtain the target power data of the device instance.

[0135] In one embodiment, the processor 1001 determines the energy consumption value of the device instance based on the power data stored in the target linked list, and obtains the target energy consumption of each device type based on the energy consumption value. Specifically, for each device type, the energy consumption values ​​of the device instances of the device type are aggregated to obtain the target energy consumption of each device type.

[0136] In one embodiment, the processor 1001 further executes: receiving change information input based on a display interface, wherein the change information is information for updating the correspondence between the device instance and the energy consumption statistics device; and updating the association information based on the change information.

[0137] In one embodiment, the power information of the energy consumption statistics device is based on information sent by a gateway.

[0138] In an embodiment of the present application, the power information of the energy consumption statistics device obtained is stored in a corresponding linked list, and the energy consumption value of the device instance is determined in the linked list according to the identification information of the device instance, and then the target energy consumption of each device type is calculated. The energy consumption information of the device instance is obtained in a manner independent of the attributes of the device instance. Therefore, the energy consumption of the device type can be obtained without debugging the energy consumption statistics device of each device instance one by one, which simplifies the process of obtaining the target energy consumption of each device type.

[0139] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0140] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for determining energy consumption, wherein: The method comprises: Obtain power information of each energy consumption statistics device, and store the power data of the power information in a corresponding linked list; Determining, based on pre-stored association information, an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one; Determining a target linked list corresponding to the device instance in the linked list based on the identification information of the energy consumption statistics device; and The energy consumption value of the device instance is determined based on the power data stored in the target linked list, and the target energy consumption of each device type is obtained based on the energy consumption value.

2. The method according to claim 1, wherein Storing the power data of the power information into a corresponding linked list includes: Obtaining identification information carried in the power information, and determining a hash value of the identification information; A linked list corresponding to the power data of the power information is determined based on the hash value, and the power data is stored in the linked list based on time information carried in the power information.

3. The method according to claim 2, wherein: The determining, based on the hash value, a linked list corresponding to the power data of the power information, and storing the power data in the linked list based on time information carried in the power information, includes: Determine a linked list corresponding to the power data of the power information based on the hash value, and when it is determined according to the time information that a previous node exists in the linked list, create a new node, point a pointer in a pointer field of the previous node to a data field of the node, and store the power data in the data field of the node; When it is determined according to the time information that no preceding node exists in the linked list, a new node is created, and the power data is stored in the data field of the node.

4. The method according to any one of claims 1 to 3, wherein: Determining the energy consumption value of the device instance based on the power data stored in the target linked list, and obtaining the target energy consumption of each device type based on the energy consumption value, includes: Obtaining power data corresponding to the device instance based on the target linked list, and obtaining an average value and a standard deviation of the power data; Filtering the power data based on the average value and the standard deviation to obtain target power data of the device instance; and The target power data is integrated to obtain an energy consumption value of the device instance, and the target energy consumption of each device type is obtained based on the energy consumption value.

5. The method according to claim 4, wherein The filtering the power data based on the average value and the standard deviation to obtain target power data of the device instance includes: determining the difference between the mean and three times the standard deviation, and the sum of the mean and three times the standard deviation; Power data smaller than the difference value or power data larger than the sum value is filtered out from the power data to obtain target power data of the device instance.

6. The method according to any one of claims 1 to 5, wherein: Determining the energy consumption value of the device instance based on the power data stored in the target linked list, and obtaining the target energy consumption of each device type based on the energy consumption value, includes: For each device type, the energy consumption values of the device instances of the device type are aggregated to obtain the target energy consumption of each device type.

7. The method according to any one of claims 1 to 5, wherein: The method further comprises: Receiving change information input based on a display interface, wherein the change information is information for updating a correspondence between a device instance and an energy consumption statistics device; The associated information is updated based on the change information.

8. The method according to any one of claims 1 to 7, wherein: The power information of the energy consumption statistics device is based on that sent by the gateway.

9. An energy consumption determination device, wherein: The device comprises: A power information acquisition unit configured to acquire power information of each energy consumption statistics device and store the power data of the power information in a corresponding linked table; A first determining unit is configured to determine, based on pre-stored association information, an energy consumption statistics device corresponding to a device instance of each device type, wherein the device instance includes at least one; a second determining unit configured to determine, in the linked list, a target linked list corresponding to the device instance based on identification information of the energy consumption statistics apparatus; The target energy consumption obtaining unit is configured to determine the energy consumption value of the device instance based on the power data stored in the target linked list, and obtain the target energy consumption of each device type based on the energy consumption value.

10. A computer storage medium, wherein: The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 8.

11. An electronic device, wherein: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 8.

12. A computer program product, wherein: At least one instruction is stored thereon, and when the at least one instruction is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

13. A computer program, wherein At least one instruction is stored thereon, and when the at least one instruction is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.