Method, device and equipment for air conditioner energy consumption statistics and storage medium

By using SRAM and EEPROM to perform collaborative calculations, the system periodically collects and accumulates air conditioner energy consumption values, solving the problem that air conditioner energy consumption statistics depend on WiFi network quality. This achieves stable and accurate energy consumption data statistics, improving user experience and the intelligence of the air conditioner.

CN118998909BActive Publication Date: 2026-05-08QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
Filing Date
2024-08-20
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing methods for calculating air conditioning energy consumption rely on the quality of WiFi networks, resulting in insufficient data stability and accuracy, making them particularly ineffective in remote mountainous areas and regions with underdeveloped communication networks.

Method used

The system employs a combination of static random access memory (SRAM) and electrically erasable read-only memory (EEPROM) for collaborative calculation. It periodically collects air conditioner energy consumption values ​​and accumulates them locally. The data is then periodically updated to the EEPROM and reported to the cloud server when network conditions are good, thus achieving stable and accurate statistics of energy consumption data.

Benefits of technology

It improves the stability and accuracy of air conditioner energy consumption statistics, reduces the impact of network quality fluctuations on data, enhances user experience, and displays energy consumption information through a terminal APP, thereby enhancing the intelligence of the air conditioner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118998909B_ABST
    Figure CN118998909B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent air conditioners, and discloses a method, device and equipment for air conditioner energy consumption statistics and a storage medium. The method comprises the following steps: in the case that a first collection time corresponding to a first cycle length is reached, determining a first current energy consumption value of a set energy source of an air conditioner in a first current cycle; and storing the first current energy consumption value in a static random access memory (SRAM), wherein the set energy source comprises one or both of solar energy and municipal energy; in the case that a second collection time corresponding to a second cycle length is reached, updating the first energy consumption value stored in the SRAM in a second current cycle to an electrically erasable programmable read-only memory (EEPROM) for accumulation, so as to obtain a corresponding current cumulative energy consumption value, wherein the second cycle length is greater than the first cycle length; and determining an energy consumption value of the set energy source of the air conditioner in a unit statistical period according to the cumulative energy consumption value. In this way, the accuracy of air conditioner energy consumption data no longer depends on the real-time quality of a communication network, the stability and accuracy of air conditioner energy consumption statistics are improved, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent air conditioning technology, such as methods, apparatus, devices, and storage media for air conditioning energy consumption statistics. Background Technology

[0002] With the rapid development of the national economy and the advancement of smart technology, smart air conditioners have entered thousands of households. These air conditioners offer various operating modes, including cooling, heating, and dehumidification. Furthermore, solar-powered air conditioners have emerged, which are environmentally friendly systems that utilize solar energy for both cooling and heating. They convert solar energy into electricity through solar panels, which then drives the refrigeration cycle system to provide both cooling and heating. When solar energy is insufficient, it is supplemented by mains electricity (AC 220V).

[0003] How much solar energy and mains electricity is consumed during air conditioner operation, and how much money is saved, are information that users are very concerned about. Currently, air conditioner energy consumption statistics can be translated as electricity usage statistics. The corresponding process involves: the air conditioner is equipped with a WiFi module, which uploads power consumption data to the cloud in real time via WiFi, and the cloud performs cumulative energy consumption calculations. It is evident that the accuracy of energy consumption data obtained in this way is greatly affected by the quality of the WiFi network, mainly including factors such as the network coverage and quality of the telecom operator, the network coverage and quality of the user's home WiFi, and the distance between the appliance and the router. Network downtime or interruptions in any of these steps will result in the loss of statistical data. This method is even less suitable for remote mountainous areas in China and some overseas regions with underdeveloped communication networks.

[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0006] This disclosure provides a method, apparatus, device, and storage medium for air conditioning energy consumption statistics to address the technical problem of low stability in air conditioning energy consumption statistics.

[0007] In some embodiments, the method includes:

[0008] Upon reaching the first acquisition time corresponding to the first cycle duration, the first current energy consumption value of the air conditioner's set energy within the first current cycle is determined and stored in the static random access memory (SRAM). The set energy includes one or both of solar energy and municipal energy.

[0009] When the second acquisition time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM in the current second cycle is updated to the electrically erasable programmable read-only memory (EEPROM) for accumulation to obtain the corresponding current cumulative energy consumption value. The second cycle duration is longer than the first cycle duration.

[0010] Based on the cumulative energy consumption value, determine the energy consumption value of the set energy of the air conditioner within the unit statistical period.

[0011] In some embodiments, determining the energy consumption value of the set energy of the air conditioner within a unit statistical period based on the cumulative energy consumption value includes:

[0012] Retrieve multiple cumulative energy consumption values ​​for the current statistical period from the EEPROM, and based on the cumulative energy consumption values ​​and formula (1), obtain the current energy consumption value of the air conditioner for the current statistical period; or,

[0013] The cumulative energy consumption value in the EEPROM is reported to the server, so that the server can obtain multiple cumulative energy consumption values ​​within the current unit statistical period from the reported cumulative energy consumption value, and obtain the current energy consumption value of the air conditioner within the current unit statistical period based on the cumulative energy consumption value and formula (1).

[0014] T z =Σ i=1 n (T i -T i-1 (1)

[0015] Among them, T z T represents the current energy consumption value of the air conditioner within the current statistical period, where n is the number of cumulative energy consumption values ​​obtained within the current statistical period, and T is the total energy consumption value of the air conditioner. i T0 represents the i-th cumulative energy consumption value obtained within the current statistical period, while T0 represents the last cumulative energy consumption value obtained within the previous statistical period.

[0016] In some embodiments, it also includes:

[0017] In (T) i -T i-1 When (T) < 0, when calculating using formula (1), (T) i -T i-1 )give up.

[0018] In some embodiments, it also includes:

[0019] If no cumulative energy consumption value is obtained within the statistical period of the previous unit, then (T1-T0) = 0.

[0020] In some embodiments, obtaining the current energy consumption value of the air conditioner within the current statistical period based on the cumulative energy consumption value and formula (1) includes:

[0021] Based on the multiple cumulative energy consumption values ​​within the current hour and formula (1), the current hourly energy consumption value of the air conditioner within the current hour is obtained;

[0022] Based on the hourly energy consumption value obtained within the current unit statistical period, determine the current energy consumption value of the air conditioner within the current unit statistical period. The unit statistical period may include: day, month, or year. The energy consumption value includes: daily photovoltaic energy consumption value, mains power energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains power energy consumption value.

[0023] In some embodiments, it also includes:

[0024] Send the current energy consumption value of the air conditioner within the current statistical period to the terminal application APP for display.

[0025] In some embodiments, it also includes:

[0026] If an EEPROM read / write error is confirmed and cannot be recovered, the cumulative power consumption value will be reset to zero.

[0027] In some embodiments, the apparatus for air conditioning energy consumption statistics includes a processor and a memory storing program instructions, the processor being configured to execute the above-described method for air conditioning energy consumption statistics when executing the program instructions.

[0028] In some embodiments, the device includes a device body; the aforementioned device for air conditioning energy consumption statistics is installed on the device body.

[0029] In some embodiments, the storage medium stores program instructions that, when executed, perform the above-described method for air conditioner energy consumption statistics.

[0030] The method, apparatus, and equipment for air conditioning energy consumption statistics provided in this disclosure can achieve the following technical effects:

[0031] The solar-powered air conditioner can periodically collect the initial energy consumption value set by the air conditioner and write it into SRAM. After the set time, the collected initial energy consumption value is updated to EEPROM for accumulation to obtain the corresponding cumulative energy consumption value. This determines the energy consumption value set by the air conditioner within a unit statistical period. In this way, the energy consumption value set by the air conditioner can be obtained in real time and periodically, or when the network condition is good, the cumulative energy consumption value can be reported to the cloud server to obtain the energy consumption value set by the air conditioner. Thus, the accuracy of the air conditioner energy consumption data no longer depends on the real-time quality of the communication network, improving the stability and accuracy of air conditioner energy consumption statistics, thereby improving the user experience.

[0032] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0033] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:

[0034] Figure 1 This is a schematic diagram of an architecture for an air conditioning energy consumption statistics scenario provided by an embodiment of this disclosure;

[0035] Figure 2 This is a schematic flowchart of a method for calculating air conditioning energy consumption provided in an embodiment of this disclosure;

[0036] Figure 3-1 This is a schematic flowchart of a method for calculating air conditioning energy consumption provided in an embodiment of this disclosure;

[0037] Figure 3-2 This is a schematic flowchart of a method for calculating air conditioning energy consumption provided in an embodiment of this disclosure;

[0038] Figure 4 This is a schematic diagram of a structure for an air conditioning energy consumption statistics device provided in an embodiment of this disclosure;

[0039] Figure 5 This is a schematic diagram of a structure for an air conditioning energy consumption statistics device provided in an embodiment of this disclosure;

[0040] Figure 6 This is a schematic diagram of a structure for an air conditioning energy consumption statistics device provided in an embodiment of this disclosure;

[0041] Figure 7 This is a schematic diagram of a device provided in an embodiment of this disclosure. Detailed Implementation

[0042] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0043] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0044] Unless otherwise stated, the term "multiple" means two or more.

[0045] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0046] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0047] The solar-powered air conditioner can periodically collect the initial energy consumption value set by the air conditioner locally and write it into SRAM. After a set time, the collected initial energy consumption value is updated to EEPROM for accumulation, obtaining the corresponding cumulative energy consumption value. This determines the energy consumption value set by the air conditioner within a unit statistical period. This allows for real-time accumulation and periodic retrieval of the air conditioner's set energy consumption value, or, when network conditions are good, reporting it to a cloud server. Thus, the accuracy of air conditioner energy consumption data no longer depends on the real-time quality of the communication network, improving the stability and accuracy of air conditioner energy consumption statistics, thereby enhancing the user experience. Furthermore, the collaborative calculation between SRAM and EEPROM reduces the impact of EEPROM data anomalies on air conditioner energy consumption statistics. Additionally, the air conditioner's energy consumption value can be displayed through a mobile app on the terminal, providing users with direct energy consumption information and further improving the user experience.

[0048] Figure 1 This disclosure provides a schematic diagram of an architecture for air conditioning energy consumption statistics. (See the provided image.) Figure 1 As shown, this scenario may include: an air conditioner 100 and a server 200.

[0049] The air conditioner 100 can be a solar-powered air conditioner, meaning it includes a solar panel 110 that converts solar energy into electrical energy to power other components within the air conditioner. Alternatively, the air conditioner 100 can be connected to municipal power, allowing it to be supplemented by mains power when solar energy is insufficient.

[0050] As can be seen, in this embodiment of the disclosure, the air conditioner can have two power supply methods. Therefore, in order to more clearly understand the energy consumption of the air conditioner in different scenarios, as well as the energy consumption of each energy source of the air conditioner, it is necessary to statistically analyze the energy consumption of the air conditioner.

[0051] The air conditioner 100 can obtain the energy consumption value of each energy source within a unit statistical period, and obtain the total energy consumption value of the two energy sources, or it can only statistically analyze the energy consumption value of one or two energy sources separately. In some embodiments, the air conditioner 100 can periodically collect the energy consumption value of the set energy source of the air conditioner and perform corresponding calculations to obtain the energy consumption value of the set energy source of the air conditioner within a unit statistical period. The set energy source includes one or two of solar energy and municipal energy. The unit statistical period can be hour, day, week, month, or year, etc.

[0052] like Figure 1 As shown, the air conditioner 100 can communicate with the server 200, for example, via Wi-Fi communication. It can report operating data or other relevant data to the server, and also receive control commands or other relevant data from the server 200. Therefore, in some embodiments, the air conditioner can report the collected energy consumption value of its set energy level to the server 200, allowing the server 200 to perform corresponding energy consumption calculations and ultimately obtain the energy consumption value of the set energy level of the air conditioner within a given statistical period.

[0053] like Figure 1 As shown, this scenario may also include: a terminal 300, which is equipped with an energy consumption display application (APP). The terminal 300 can communicate with the air conditioner 100 or the server 200. After the air conditioner 100 or the server 200 obtains the set energy consumption value of the air conditioner within a statistical period, it can send it to the terminal, which then displays the corresponding value through the energy consumption display application (APP). This allows users to intuitively understand the energy consumption of the air conditioner.

[0054] In some embodiments, the air conditioner can be accessed via a state random access memory.

[0055] The system utilizes a combination of Static Random-Access Memory (SRAM) and Electrically Erasable Programmable Read-Only Memory (EEPROM) to calculate the cumulative energy consumption of the air conditioner within a set time period. Based on this cumulative energy consumption, the system can determine the energy consumption of the air conditioner within a given statistical period. Alternatively, if the communication network is functioning well, the cumulative energy consumption value can be reported to the server, thus providing the server with the energy consumption value for the air conditioner within the given statistical period. Since the air conditioner has already locally acquired the cumulative energy consumption value for the set time period, it can calculate the energy consumption value for the set time period locally or report it to the server for calculation. This eliminates the dependence of the air conditioner's energy consumption data on communication network quality, improving the stability and accuracy of air conditioner energy consumption statistics and ultimately enhancing the user experience.

[0056] Figure 2 This is a schematic flowchart illustrating a method for calculating air conditioner energy consumption, provided in an embodiment of this disclosure. The air conditioner includes a solar panel, such as... Figure 2 As shown, the process of calculating air conditioning energy consumption includes:

[0057] Step 201: When the first acquisition time corresponding to the first cycle duration is reached, determine the first current energy consumption value of the air conditioner's set energy within the first current cycle; and store it in the static random access memory (SRAM), wherein the set energy includes one or both of solar energy and municipal energy.

[0058] An energy consumption metering device can be installed in the air conditioner. This device can periodically acquire the first energy consumption value set for the air conditioner's energy usage. The periodicity corresponds to the first cycle duration; that is, at the first data collection moment corresponding to the first cycle duration, the air conditioner can obtain the first energy consumption value set for the first cycle through the energy consumption metering device. The current first data collection moment corresponds to the first current energy consumption value.

[0059] If the energy consumption metering device detects the energy consumption value of solar energy, then the first current energy consumption value is the first current day photovoltaic energy consumption value. If the energy consumption metering device detects the energy consumption value of municipal energy, then the first current energy consumption value is the first current municipal electricity energy consumption value. The first current day photovoltaic energy consumption value and the first current municipal electricity energy consumption value are added together to obtain the first current total energy consumption value.

[0060] Of course, in this embodiment of the disclosure, there are multiple ways to determine the energy consumption value of the air conditioner's set energy in each cycle. For example, the air conditioner can collect the current and voltage values ​​of the corresponding devices and calculate the first energy consumption value of the set energy. Specific examples will not be listed here.

[0061] To achieve finer granularity and more accurate results, the first cycle time may be relatively short, such as 3s, 5s, or 8s, while also taking into account SRAM storage space and air conditioning operation capabilities.

[0062] Step 202: When the second acquisition time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM during the second current cycle is updated to the electrically erasable programmable read-only memory (EEPROM) for accumulation to obtain the corresponding current cumulative energy consumption value, wherein the second cycle duration is longer than the first cycle duration.

[0063] As long as power is maintained, the data stored in SRAM can be preserved. However, when the power supply stops, the data stored in SRAM will be lost. EEPROM, on the other hand, is a type of memory that does not lose data after power failure. Therefore, the first energy consumption value stored in SRAM needs to be updated to EEPROM and accumulated to obtain the current cumulative energy consumption value corresponding to the current moment.

[0064] To reduce the chance of data anomalies caused by frequent EEPROM writes, the second cycle duration is longer than the first cycle duration, and can be 15s, 20s, or 30s, etc.

[0065] For example, if the first cycle duration is 5s and the second cycle duration is 15s, then when the second current usage time corresponding to the second cycle duration is reached, the three first current energy consumption values ​​stored in SRAM within the current second cycle duration can be updated to EEPROM, and these three first current energy consumption values ​​can be added to the existing cumulative energy consumption value to obtain the corresponding current cumulative energy consumption value.

[0066] Of course, if an EEPROM read / write error is confirmed and cannot be recovered, the air conditioner will also reset the accumulated energy consumption value to zero. This further improves the accuracy of energy consumption statistics.

[0067] Step 203: Determine the set energy consumption value of the air conditioner within the unit statistical period based on the cumulative energy consumption value.

[0068] In this embodiment of the disclosure, the unit statistical period can be hour, day, week, month, or year, etc. Therefore, it is necessary to calculate the energy consumption value of the set energy of the air conditioner within the unit statistical period based on one, two or more cumulative energy consumption values.

[0069] Furthermore, the air conditioner can calculate locally to obtain the energy consumption value of the set energy for the air conditioner within a unit statistical period. Or, as... Figure 1As shown, the air conditioner can communicate with the server. Since the air conditioner's EEPROM stores the cumulative energy consumption value, this value will not be lost regardless of whether the air conditioner is powered off or disconnected from the network. Thus, under the reporting conditions, the air conditioner can report the cumulative energy consumption value to the server. The server can then determine the set energy consumption value of the air conditioner within a given statistical period based on the obtained cumulative energy consumption value.

[0070] The method of determining the set energy consumption value of the air conditioner within a unit statistical period based on the cumulative energy consumption value may include: obtaining multiple cumulative energy consumption values ​​from the EEPROM in the current unit statistical period, then obtaining the difference between two adjacent cumulative energy consumption values ​​in sequence, and summing the differences to obtain the set energy consumption value of the air conditioner within the unit statistical period.

[0071] In some embodiments, determining the set energy consumption value of the air conditioner within a unit statistical period based on the cumulative energy consumption value includes: obtaining multiple cumulative energy consumption values ​​within the current unit statistical period from the EEPROM, and obtaining the current energy consumption value of the air conditioner within the current unit statistical period based on the cumulative energy consumption value and formula (1); or, reporting the cumulative energy consumption value in the EEPROM to the server, so that the server obtains multiple cumulative energy consumption values ​​within the current unit statistical period from the reported cumulative energy consumption value, and obtains the current energy consumption value of the air conditioner within the current unit statistical period based on the cumulative energy consumption value and formula (1).

[0072] T z =Σ i=1 n (T) i -T i-1 (1)

[0073] Among them, T z T represents the current energy consumption value of the air conditioner within the current statistical period, where n is the number of cumulative energy consumption values ​​obtained within the current statistical period, and T is the total energy consumption value of the air conditioner. i T0 represents the i-th cumulative energy consumption value obtained within the current statistical period, while T0 represents the last cumulative energy consumption value obtained within the previous statistical period.

[0074] For example: if the unit statistical period is one hour, multiple cumulative energy consumption values ​​for the current hour can be obtained from the EEPROM; based on the cumulative energy consumption values ​​and formula (1), the current hourly energy consumption value of the air conditioner in the current hour can be obtained; or, the cumulative energy consumption values ​​in the EEPROM can be reported to the server, so that the server can obtain multiple cumulative energy consumption values ​​for the current hour from the reported cumulative energy consumption values, and based on the obtained cumulative energy consumption values ​​and formula (1), the current hourly energy consumption value of the air conditioner in the current hour can be obtained.

[0075] T dh =Σi=1 n (Ti-Ti-1)

[0076] Among them, T dh T represents the current energy consumption value of the air conditioner within the current hour, where n is the number of cumulative energy consumption values ​​obtained within the current hour, and T is the current energy consumption value of the air conditioner within the current hour. i T0 represents the i-th cumulative energy consumption value obtained within the current hour, while T0 represents the last cumulative energy consumption value obtained within the previous hour.

[0077] Here, the statistical period is one hour, and the air conditioner can obtain n cumulative energy consumption values ​​T in sequence. i Let i = 1, 2, ..., n, and T0 be the last accumulated energy consumption value obtained in the previous hour. Thus, T... dh =(T n -T n-1 )+(T n-1 -T n-2 )+…+(T1-T0).

[0078] Alternatively, if the set reporting conditions are met, such as network restart or a timer, the air conditioner can read the corresponding cumulative energy consumption value from the EEPROM and report it to the server. Thus, when the unit statistical period is one hour, the server can also obtain the n cumulative energy consumption values ​​T in the set order within the current hour from the reported cumulative energy consumption values. i Then, by using formula (1), the current hourly energy consumption of the air conditioner can be obtained within the current hour.

[0079] Since the cumulative energy consumption value may be the cumulative daily photovoltaic energy consumption value, the cumulative mains power energy consumption value, or the cumulative total energy consumption value, the current hourly energy consumption value of the air conditioner in the current hour may also be the current daily photovoltaic hourly energy consumption value, the mains power hourly energy consumption value, or the total hourly energy consumption value.

[0080] Since the cumulative energy consumption value is obtained by adding the previous cumulative energy consumption value and the first energy consumption value obtained from SRAM, the subsequent cumulative energy consumption value should be greater than the previous one. If not, an anomaly may occur, such as a failure in EEPROM acquisition of the first energy consumption value. That is, in some embodiments, in (T... i -T i-1 If ) < 0, then when calculating using formula (1), discard (T) i -T i-1 ).

[0081] Since this is the last cumulative energy consumption value obtained within the previous statistical period, if it is the starting point of the statistics, or if data acquisition failed within the previous statistical period, then (T1-T0) = 0. That is, if no cumulative energy consumption value was obtained in the previous hour, then (T1-T0) = 0.

[0082] Since the unit statistical period can be hour, day, week, month, or year, etc., in some embodiments, the current energy consumption value of the air conditioner in the current unit statistical period is obtained according to the cumulative energy consumption value and formula (1). This includes: obtaining the current hourly energy consumption value of the air conditioner in the current hour based on multiple cumulative energy consumption values ​​in the current hour and formula (1); determining the current energy consumption value of the air conditioner in the current unit statistical period based on the hourly energy consumption value obtained in the current unit statistical period. The unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains power energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains power energy consumption value.

[0083] As shown above, the current hourly energy consumption of the air conditioner within the current hour can be obtained. Thus, the hourly energy consumption value T for each hour within the current day can be obtained. h Then, by summing the results, we can obtain the current daily energy consumption value of the air conditioner, i.e., T. d =∑(T) h Similarly, the daily energy consumption value for each day within the current month can be obtained, and then accumulated to obtain the current monthly energy consumption value of the air conditioner, i.e., T. m =∑(T) d By analogy, the monthly energy consumption value for each month within the current year can be obtained. These values ​​are then summed to obtain the current annual energy consumption value for the air conditioner, i.e., T. y =∑(T) m ).

[0084] As can be seen, in this embodiment, the solar-powered air conditioner can periodically collect the first energy consumption value set by the air conditioner locally and write it into SRAM. After a set time, the collected first energy consumption value is updated to EEPROM for accumulation, obtaining the corresponding cumulative energy consumption value. This determines the energy consumption value set by the air conditioner within a unit statistical period. In this way, the energy consumption value set by the air conditioner can be obtained in real time and periodically, or reported to a cloud server. Thus, the accuracy of the air conditioner's energy consumption data no longer depends on the real-time quality of the communication network, improving the stability and accuracy of air conditioner energy consumption statistics, thereby enhancing the user experience. Furthermore, through collaborative calculation between SRAM and EEPROM, the impact of EEPROM data anomalies on air conditioner energy consumption statistics is reduced.

[0085] The air conditioner has a human-machine interface; therefore, in some embodiments, the air conditioner can display the energy consumption value of the set energy level within a unit statistical period. Alternatively, as... Figure 1 As shown, the terminal can communicate with an air conditioner or server. The air conditioner or server can then send the current energy consumption value for the current statistical period to the terminal's application app for display. For example, the terminal may have an energy consumption display app configured. This app can offer various display options, including selection of the statistical time period and energy source. The terminal can then subscribe to specific energy consumption values, obtaining the energy consumption values ​​from the air conditioner or server that match the user's selected time period and energy source, and displaying them. It can also display bar charts showing changes in energy consumption values, etc.

[0086] For example: Upon receiving a user-defined "day" command, the terminal can display the current day's energy consumption value. This includes the total daily energy consumption, the current day's photovoltaic (PV) energy consumption, the current day's mains energy consumption, and a bar chart showing the hourly energy consumption changes. If the current day's data is less than a full day's data, only the existing data will be displayed. Upon receiving a user-defined "month" command, the terminal can display the current month's energy consumption value. This includes the total monthly energy consumption, the current day's PV energy consumption, the current month's mains energy consumption, and a bar chart showing the dayly energy consumption changes. If the current month's data is less than a full month's data, only the existing data will be displayed. Upon receiving a user-defined "year" command, the terminal can display the current year's energy consumption value. It can display the current total annual energy consumption value, the current daily photovoltaic annual energy consumption value, the current annual grid power energy consumption value, and can also display a bar chart showing the monthly energy consumption value changes accurate to the month. If the current annual data is not a full year's data, only the existing data will be displayed.

[0087] In this way, users can intuitively understand the energy consumption of the air conditioner, which not only facilitates the research and development and upgrading of the air conditioner and improves its intelligence, but also enhances the user experience.

[0088] The following describes the operation process in a specific embodiment, illustrating the air conditioning energy consumption statistics process provided by the embodiments of the present invention.

[0089] In one embodiment of this disclosure, such as Figure 1 As shown, the air conditioner can communicate with the server, and the server can communicate with the terminal. The air conditioner is a solar-powered air conditioner, and the terminal is equipped with an energy consumption display application (APP). The first cycle can last for 5 seconds, and the second cycle can last for 20 seconds.

[0090] Figure 3-1 Figure 3-2 is a flowchart illustrating a method for calculating air conditioning energy consumption according to an embodiment of this disclosure. Figure 3-1 As shown in Figure 3-2, the process of calculating air conditioning energy consumption includes:

[0091] Step 301: Determine if the first acquisition time corresponding to 5 seconds has been reached? If yes, proceed to step 302; otherwise, proceed to step 303.

[0092] Step 302: The air conditioner determines the first current daily photovoltaic energy consumption value and the first current mains power energy consumption value within the current 5-second cycle, obtains the first current total energy consumption value, and stores it in SRAM.

[0093] Step 303: Determine if the second acquisition time corresponding to 20s has been reached? If yes, proceed to step 303; otherwise, proceed to step 305.

[0094] Step 304: The air conditioner updates the first current daily photovoltaic energy consumption value, the first current mains power energy consumption value, and the first current total energy consumption value stored in the SRAM within the current 20 seconds to the EEPROM for accumulation, so as to obtain the corresponding current daily cumulative photovoltaic energy consumption value, current cumulative mains power energy consumption value, and current total cumulative energy consumption value.

[0095] Step 305: Determine whether to report to the server? If yes, proceed to step 306; otherwise, return to step 301.

[0096] The air conditioner can report to the server periodically, or report after receiving a reporting instruction from the server; or report after the air conditioner re-establishes a connection with the server. In short, the air conditioner can report when the Wi-Fi network quality between the air conditioner and the server is good.

[0097] Step 306: The air conditioner reports the daily cumulative solar energy consumption value, the cumulative mains power energy consumption value, and the total cumulative energy consumption value from the EEPROM to the server.

[0098] In this embodiment, the air conditioner uses SRAM and EEPROM to perform collaborative calculations to obtain the daily cumulative photovoltaic energy consumption value, the cumulative mains power energy consumption value, and the total cumulative energy consumption value, and then reports it to the server, so that the server can perform calculations.

[0099] Step 307: The server obtains the cumulative daily photovoltaic energy consumption, cumulative mains power energy consumption, and total cumulative energy consumption for the current hour from the reported data.

[0100] Step 308: Based on the daily cumulative photovoltaic energy consumption value, the cumulative mains power energy consumption value, and the total cumulative energy consumption value, the server obtains the current daily photovoltaic hourly energy consumption value, the current mains power hourly energy consumption value, and the current total hourly energy consumption value respectively through formula (1).

[0101] Step 309: The server obtains the daily photovoltaic energy consumption value, the mains power energy consumption value, and the total energy consumption value for each hour within the current day, and adds them up to obtain the corresponding current daily photovoltaic energy consumption value, current daily mains power energy consumption value, and current total daily energy consumption value.

[0102] Step 310: The server obtains the daily photovoltaic energy consumption value, the daily grid power energy consumption value, and the total daily energy consumption value for each day of the current month, and adds them up to obtain the corresponding current monthly photovoltaic energy consumption value, current monthly grid power energy consumption value, and current total monthly energy consumption value.

[0103] Step 311: The server obtains the monthly solar power consumption value, the monthly grid power consumption value, and the total monthly energy consumption value for each month within the current year, and adds them up to obtain the corresponding annual solar power consumption value, the current annual grid power consumption value, and the current total annual energy consumption value.

[0104] Step 312: Determine if a display request has been received from the terminal. If yes, proceed to step 313; otherwise, return to step 307.

[0105] Step 313: Based on the time information in the display request, the server sends the corresponding energy consumption value and the energy consumption value corresponding to the next level unit statistical period to the terminal for display.

[0106] The hierarchical order of the statistical time period can be year, month, day, or hour. If the time information is day / hour, the terminal can receive the current day's photovoltaic daily energy consumption, current grid daily energy consumption, and current total daily energy consumption. Additionally, the terminal can receive the corresponding hourly photovoltaic energy consumption, grid hourly energy consumption, and total hourly energy consumption for each hour. The terminal can then display the current total daily energy consumption, the current day's photovoltaic daily energy consumption, the current day's grid daily energy consumption, and a bar chart showing the hourly energy consumption changes. Similarly, if the time information is year / hour, the terminal can receive the current year's annual photovoltaic energy consumption, current year's grid annual energy consumption, and current total annual energy consumption. Additionally, the terminal can receive the corresponding monthly photovoltaic monthly energy consumption, grid monthly energy consumption, and total monthly energy consumption for each month. The terminal can then display the current total annual energy consumption, the current day's annual photovoltaic energy consumption, the current year's annual grid energy consumption, and a bar chart showing the monthly energy consumption changes.

[0107] As can be seen, in this embodiment, the solar-powered air conditioner can periodically collect the first energy consumption value set by the air conditioner locally and write it into SRAM. After a set time, the collected first energy consumption value is updated to EEPROM for accumulation, obtaining the corresponding cumulative energy consumption value. Then, when the reporting conditions are met, it can be reported to the cloud server to obtain the air conditioner's set energy consumption value. In this way, the accuracy of the air conditioner's energy consumption data no longer depends on the real-time quality of the communication network, improving the stability and accuracy of air conditioner energy consumption statistics, thereby enhancing the user experience. Furthermore, the collaborative calculation between SRAM and EEPROM reduces the impact of EEPROM data anomalies on air conditioner energy consumption statistics. In addition, the air conditioner's energy consumption value can be displayed through an app on the terminal, providing users with direct energy consumption information, improving the air conditioner's intelligence, and further enhancing the user experience.

[0108] Based on the above process for air conditioning energy consumption statistics, a device for air conditioning energy consumption statistics can be constructed.

[0109] Figure 4 This is a schematic diagram of a structure for an air conditioner energy consumption statistics device provided in an embodiment of this disclosure. It can be applied to air conditioners, such as... Figure 4 As shown, the air conditioning energy consumption statistics device 400 includes: a first storage module 410, a second storage module 420 and a first statistics determination module 430.

[0110] The first storage module 410 is configured to determine the first current energy consumption value of the air conditioner's set energy within the first current cycle when the first acquisition time corresponding to the first cycle duration is reached; and store it in the static random access memory (SRAM), wherein the set energy includes one or both of solar energy and municipal energy.

[0111] The second storage module 420 is configured to, when the second acquisition time corresponding to the second cycle duration is reached, update the first energy consumption value stored in the SRAM in the second current cycle to the electrically erasable programmable read-only memory (EEPROM) for accumulation, and obtain the corresponding current cumulative energy consumption value, wherein the second cycle duration is longer than the first cycle duration.

[0112] The first statistical determination module 430 is configured to determine the energy consumption value of the set energy of the air conditioner within a unit statistical period based on the cumulative energy consumption value.

[0113] In some embodiments, the first statistical determination module 430 includes:

[0114] The first acquisition unit is configured to acquire multiple cumulative energy consumption values ​​within the current unit statistical period from the EEPROM.

[0115] The first statistical unit is configured to obtain the current energy consumption value of the air conditioner within the current statistical period based on the cumulative energy consumption value and formula (1);

[0116] T z =Σ i=1 n (T) i -T i-1 (1)

[0117] Among them, T z T represents the current energy consumption value of the air conditioner within the current statistical period, where n is the number of cumulative energy consumption values ​​obtained within the current statistical period, and T is the total energy consumption value of the air conditioner. i T0 represents the i-th cumulative energy consumption value obtained within the current statistical period, while T0 represents the last cumulative energy consumption value obtained within the previous statistical period.

[0118] In some embodiments, the first statistical unit is further configured to (T) i -T i-1 If ) < 0, then when calculating using formula (1), discard (T) i -T i-1 ).

[0119] In some embodiments, the first statistical unit is further configured to determine (T1-T0) = 0 if no cumulative energy consumption value is obtained within the previous statistical period.

[0120] In some embodiments, the first statistical unit is specifically configured to obtain the current hourly energy consumption value of the air conditioner in the current hour based on multiple cumulative energy consumption values ​​in the current hour and formula (1); and to determine the current energy consumption value of the air conditioner in the current unit statistical period based on the hourly energy consumption value obtained in the current unit statistical period, wherein the unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains power energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains power energy consumption value.

[0121] In some embodiments, it also includes:

[0122] The first sending and display module is configured to send the current energy consumption value of the air conditioner within the current statistical period to the terminal application APP for display.

[0123] In some embodiments, it also includes:

[0124] The zeroing module is configured to reset the accumulated energy consumption value to zero when it is determined that the EEPROM has a read / write error and cannot be recovered.

[0125] As can be seen, in this embodiment, the device for air conditioner energy consumption statistics can periodically collect the first energy consumption value set by the air conditioner locally and write it into SRAM. After a set time, the collected first energy consumption value is updated to EEPROM for accumulation, obtaining the corresponding cumulative energy consumption value. This determines the energy consumption value set by the air conditioner within a unit statistical period. In this way, real-time accumulation and periodic acquisition of the air conditioner's set energy consumption value mean that the accuracy of air conditioner energy consumption data no longer depends on communication network quality and does not require server calculation, improving the stability and accuracy of air conditioner energy consumption statistics and thus enhancing the user experience. Furthermore, the collaborative calculation between SRAM and EEPROM reduces the impact of EEPROM data anomalies on air conditioner energy consumption statistics.

[0126] Figure 5 This is a schematic diagram of a structure for an air conditioning energy consumption statistics device provided in an embodiment of this disclosure. It can be applied to, for example... Figure 1 In the servers shown, such as Figure 5 As shown, the air conditioning energy consumption statistics device 500 includes: a reporting and acquisition module 510 and a second statistics determination module 520.

[0127] The reporting module 510 is configured to receive and report the cumulative energy consumption value obtained by the air conditioner from the EEPROM.

[0128] The second statistical determination module 520 is configured to determine the energy consumption value of the air conditioner's set energy within a unit statistical period based on the cumulative energy consumption value.

[0129] In some embodiments, the second statistical determination module 520 includes:

[0130] The second acquisition unit is configured to acquire multiple cumulative energy consumption values ​​within the current unit statistical period from the reported cumulative energy consumption values.

[0131] The second statistical unit is configured to obtain the current energy consumption value of the air conditioner within the current statistical period based on the cumulative energy consumption value and formula (1);

[0132] T z =Σ i=1 n (T) i -T i-1 (1)

[0133] Among them, T z T represents the current energy consumption value of the air conditioner within the current statistical period, where n is the number of cumulative energy consumption values ​​obtained within the current statistical period, and T is the total energy consumption value of the air conditioner. i T0 represents the i-th cumulative energy consumption value obtained within the current statistical period, while T0 represents the last cumulative energy consumption value obtained within the previous statistical period.

[0134] In some embodiments, the second statistical unit is further configured to (T) i -T i-1 If ) < 0, then when calculating using formula (1), discard (T) i -T i-1 ).

[0135] In some embodiments, the second statistical unit is further configured to determine (T1-T0) = 0 if no cumulative energy consumption value is obtained within the previous statistical period.

[0136] In some embodiments, the second statistical unit is specifically configured to obtain the current hourly energy consumption value of the air conditioner in the current hour based on multiple cumulative energy consumption values ​​in the current hour and formula (1); and to determine the current energy consumption value of the air conditioner in the current unit statistical period based on the hourly energy consumption value obtained in the current unit statistical period, wherein the unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains power energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains power energy consumption value.

[0137] In some embodiments, it also includes:

[0138] The second sending and display module is configured to send the current energy consumption value of the air conditioner within the current unit statistical period to the terminal application APP for display.

[0139] As can be seen, in this embodiment, the device for air conditioner energy consumption statistics determines the set energy consumption value of the air conditioner within a unit statistical period based on the cumulative energy consumption value reported by the air conditioner. Thus, when the WIFI network quality is good, the cumulative energy consumption value of the set energy of the air conditioner can be obtained, and subsequently, the energy consumption value of the set energy of the air conditioner within a unit statistical period can be obtained. Therefore, the accuracy of air conditioner energy consumption data no longer depends on the real-time quality of the real-time WIFI network, improving the stability and accuracy of air conditioner energy consumption statistics, thereby enhancing the user experience. Furthermore, the air conditioner's energy consumption value can be displayed through an app on the terminal, providing users with direct energy consumption information, improving the intelligence of the air conditioner, and further enhancing the user experience.

[0140] Combination Figure 6 This disclosure provides a device 600 for air conditioning energy consumption statistics, which can be applied to... Figure 1 The air conditioner or server in the system includes:

[0141] The processor 1000 and memory 1001 may further include a communication interface 1002 and a bus 1003. The processor 1000, communication interface 1002, and memory 1001 can communicate with each other via the bus 1003. The communication interface 1002 can be used for information transmission. The processor 1000 can call logical instructions stored in the memory 1001 to execute the method for air conditioner energy consumption statistics described in the above embodiment.

[0142] Furthermore, the logic instructions in the aforementioned memory 1001 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0143] The memory 1001, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 1000 executes functional applications and data processing by running the program instructions / modules stored in the memory 1001, that is, it implements the method for air conditioner energy consumption statistics in the above method embodiments.

[0144] The memory 1001 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 1001 may include high-speed random access memory and may also include non-volatile memory.

[0145] This disclosure provides an air conditioning energy consumption statistics device, including: a processor and a memory storing program instructions, wherein the processor is configured to execute an air conditioning energy consumption statistics method when executing the program instructions.

[0146] Combination Figure 7 This disclosure provides a device 700, including: a device body, and the aforementioned air conditioning energy consumption statistics device 400 (600) or 500 (600). The air conditioning energy consumption statistics device 400 (600) or 500 (600) is installed on the device body. The installation relationship described herein is not limited to placement inside the product, but also includes installation connections with other components of the product, including but not limited to physical connections, electrical connections, or signal transmission connections. Those skilled in the art will understand that the air conditioning energy consumption statistics device 400 (600) or 500 (600) can be adapted to feasible device bodies to achieve other feasible embodiments.

[0147] This disclosure provides a storage medium storing program instructions that, when executed, perform the method described above for air conditioner energy consumption statistics.

[0148] This disclosure provides a computer program product, which includes a computer program stored on a storage medium. The computer program includes program instructions, which, when executed by a computer, cause the computer to perform the above-described method for calculating air conditioning energy consumption.

[0149] The aforementioned storage medium can be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0150] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.

[0151] The foregoing description and accompanying drawings fully illustrate embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included or replace parts and features of other embodiments. The scope of the embodiments of this disclosure includes the entire scope of the claims and all available equivalents of the claims. While the terms “first,” “second,” etc., may be used in this application to describe elements, these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first element may be called a second element without changing the meaning of the description, and similarly, a second element may be called a first element, provided that all occurrences of “first element” are consistently renamed and all occurrences of “second element” are consistently renamed. First and second elements are both elements, but may not be the same element. Moreover, the terminology used in this application is only for describing embodiments and is not intended to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “the” are intended to also include the plural forms. Similarly, the term “and / or” as used herein means including one or more of the associated listed elements and all possible combinations thereof. Additionally, when used herein, the terms “comprise” and its variations “comprises” and / or “comprising” refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase “comprising an…” does not exclude the presence of additional identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0152] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0153] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0154] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for calculating air conditioning energy consumption, characterized in that, include: When the first collection time corresponding to the first cycle duration is reached, the first current energy consumption value of the air conditioner set energy is determined within the first current cycle. And store it in static random access memory (SRAM), wherein the energy source is set to include one or both of solar energy and municipal energy; When the second acquisition time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM in the current second cycle is updated to the electrically erasable programmable read-only memory (EEPROM) for accumulation to obtain the corresponding current cumulative energy consumption value. The second cycle duration is longer than the first cycle duration. Based on the cumulative energy consumption value, determine the energy consumption value of the set energy of the air conditioner within the unit statistical period; The determination of the set energy consumption value of the air conditioner within a unit statistical period based on the cumulative energy consumption value includes: From the EEPROM, obtain multiple cumulative energy consumption values ​​within the current unit statistical period, and based on the cumulative energy consumption values ​​and formula (1), obtain the current energy consumption value of the air conditioner within the current unit statistical period; or, report the cumulative energy consumption values ​​in the EEPROM to the server, so that the server obtains multiple cumulative energy consumption values ​​within the current unit statistical period from the reported cumulative energy consumption values, and based on the cumulative energy consumption values ​​and formula (1), obtains the current energy consumption value of the air conditioner within the current unit statistical period; T z =Σ i=1 n ( T i -T i-1 )(1) Among them, T z T represents the current energy consumption value of the air conditioner within the current statistical period, where n is the number of cumulative energy consumption values ​​obtained within the current statistical period, and T is the total energy consumption value of the air conditioner. i T0 represents the i-th cumulative energy consumption value obtained within the current statistical period, while T0 represents the last cumulative energy consumption value obtained within the previous statistical period. In (T) i -T i-1 When ) < 0, when calculating using formula (1), (T) i -T i-1 If the cumulative energy consumption value is not obtained within the statistical period of the previous unit, then (T1-T0) = 0.

2. The method according to claim 1, characterized in that, The current energy consumption value of the air conditioner within the current statistical period, obtained based on the cumulative energy consumption value and formula (1), includes: Based on the multiple cumulative energy consumption values ​​within the current hour and formula (1), the current hourly energy consumption value of the air conditioner within the current hour is obtained; Based on the hourly energy consumption value obtained within the current unit statistical period, determine the current energy consumption value of the air conditioner within the current unit statistical period. The unit statistical period may include: day, month, or year. The energy consumption value includes: daily photovoltaic energy consumption value, mains power energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains power energy consumption value.

3. The method according to claim 2, characterized in that, Also includes: Send the current energy consumption value of the air conditioner within the current statistical period to the terminal application APP for display.

4. The method according to any one of claims 1-3, characterized in that, Also includes: If an EEPROM read / write error is confirmed and cannot be recovered, the cumulative power consumption value will be reset to zero.

5. A device for calculating air conditioning energy consumption, the device comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to perform the method for air conditioning energy consumption statistics as described in any one of claims 1 to 4 when executing the program instructions.

6. A device, characterized in that, include: Equipment body; The device for air conditioning energy consumption statistics as described in claim 5 is installed on the device body.

7. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for air conditioning energy consumption statistics as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for energy consumption statistics

    CN108932217A

  • Illuminating lamp energy accumulation method

    CN114554311A

  • Storage device service life prolonging equipment and method suitable for civil aviation airborne equipment

    CN114840446A