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

Through SRAM and EEPROM collaborative calculations, the air conditioner energy consumption value is periodically collected and accumulated, which solves the problem that air conditioner energy consumption statistics rely on WiFi network quality, and achieves more stable and accurate energy consumption statistics, improving user experience and air conditioner intelligence.

CN118998909AActive Publication Date: 2024-11-22QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411149060.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-22
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

The existing air conditioner energy consumption statistical methods rely on the quality of WiFi networks, resulting in low stability and accuracy of statistical data, especially in areas with poor network coverage.

Method used

Using static random access memory (SRAM) and live-erase write-only memory (EEPROM) to periodically collect and accumulate the energy consumption value of the air conditioner to ensure real-time updates and periodic accumulation of energy consumption data, and even disconnects the network. It can also maintain the accumulated energy consumption value and reduce network dependence.

Benefits of technology

It improves the stability and accuracy of air conditioner energy consumption statistics, reduces the dependence on the quality of communication networks, provides a higher user experience, and directly displays energy consumption information through terminal APP, enhancing the intelligence of air conditioners.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118998909A_ABST
    Figure CN118998909A_ABST
Patent Text Reader

Abstract

The invention 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 steps that under the condition that a first collection moment corresponding to first period duration is reached, a first current energy consumption value of set energy of the air conditioner in a first current period is determined; the set energy sources comprise one or two of solar energy and municipal energy sources, and the set energy sources are stored in a static random access memory (SRAM); under the condition that a second collection moment corresponding to a second period duration is reached, a first energy consumption value stored in the SRAM in a second current period is updated to an electrically erasable programmable read-only memory EEPROM for accumulation, a corresponding current accumulated energy consumption value is obtained, and the second period duration is larger than the first period duration; and according to the accumulated energy consumption value, the energy consumption value of the set energy of the air conditioner in the unit statistical time period is determined. Thus, the accuracy of the air conditioner energy consumption data does not depend on the real-time quality of a communication network any more, the stability and accuracy of air conditioner energy consumption statistics are improved, and then the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent air conditioning technology, for example, to methods, devices, equipment and storage media for air conditioning energy consumption statistics. Background Art

[0002] With the rapid development of the national economy and the development of intelligent technology, intelligent air conditioners have entered thousands of households. Air conditioners can have multiple operating modes, including: cooling mode, heating mode, dehumidification mode, etc. In addition, solar air conditioners have also appeared. It is an environmentally friendly air conditioning system that uses solar energy for cooling and heating. It converts solar energy into electrical energy through solar panels, and then uses the electrical energy to drive the refrigeration cycle system to achieve the cooling and heating functions of the air conditioner. When solar energy is insufficient, the city electricity (AC 220v) supplements the electricity.

[0003] How much solar energy and city electricity are consumed during the operation of the air conditioner, and how much money is saved are information that users are very concerned about. At present, the energy consumption statistics of air conditioners can be electricity consumption statistics, and the corresponding process includes: the air conditioner is equipped with a WiFi module, and the air conditioner uploads the power to the cloud in real time through the WiFi module, and the cloud performs energy consumption accumulation calculation. It can be seen that the accuracy of the energy consumption data obtained by this method is greatly affected by the quality of the WiFi network, mainly including: the network coverage and quality of the telecom operator, the network coverage and quality of the user's home WiFi, the distance between the home appliance and the router, and other factors. Network offline and momentary disconnection in any of the above links will result in the loss of statistical data. It is even more inapplicable in remote mountainous areas in China and some underdeveloped communication areas overseas.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] The embodiments of the present disclosure provide a method, an apparatus, a device and a storage medium for air conditioner energy consumption statistics to solve the technical problem that the air conditioner energy consumption statistics are not stable.

[0007] In some embodiments, the method comprises:

[0008] When the first collection time corresponding to the first cycle duration is reached, a first current energy consumption value of the air conditioner set energy in the first current cycle is determined; and the value is stored in a static random access memory SRAM, wherein the set energy includes: one or both of solar energy and municipal energy;

[0009] When the second collection time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM in the second current cycle is updated to the electrically erasable and writable read-only memory EEPROM for accumulation to obtain the corresponding current accumulated energy consumption value, wherein the second cycle duration is greater than the first cycle duration;

[0010] According to the accumulated energy consumption value, the energy consumption value of the set energy of the air conditioner within the unit statistical period is determined.

[0011] In some embodiments, determining the energy consumption value of the set energy of the air conditioner within the unit statistical period according to the accumulated energy consumption value includes:

[0012] Obtain multiple accumulated energy consumption values ​​in the current unit statistical period from the EEPROM, and obtain the current energy consumption value of the air conditioner in the current unit statistical period according to the accumulated energy consumption values ​​and formula (1); or,

[0013] Report the accumulated energy consumption value in the EEPROM to the server, so that the server obtains multiple accumulated energy consumption values ​​in the current unit statistical period from the reported accumulated energy consumption values, and obtains the current energy consumption value of the air conditioner in the current unit statistical period according to the accumulated energy consumption values ​​and formula (1);

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

[0015] Among them, T z is the current energy consumption value of the air conditioner in the current unit statistical period, n is the number of accumulated energy consumption values ​​obtained in the current unit statistical period, T i T0 is the i-th cumulative energy consumption value obtained in the current unit statistical period, and T1 is the last cumulative energy consumption value obtained in the previous unit statistical period.

[0016] In some embodiments, it also includes:

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

[0018] In some embodiments, it also includes:

[0019] In the case where the accumulated energy consumption value is not obtained during the previous unit statistical period, it is determined that (T1-T0)=0.

[0020] In some embodiments, the current energy consumption value of the air conditioner in the current unit statistical period is obtained according to the accumulated energy consumption value and formula (1), including:

[0021] According to the multiple accumulated energy consumption values ​​in the current hour and formula (1), the current energy consumption value of the air conditioner in the current hour is obtained;

[0022] According to the hourly energy consumption value obtained in the current unit statistical period, the current energy consumption value of the air conditioner in the current unit statistical period is determined, wherein the unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains energy consumption value, or the total energy consumption value corresponding to the sum of the daily photovoltaic energy consumption value and the mains energy consumption value.

[0023] In some embodiments, it also includes:

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

[0025] In some embodiments, it also includes:

[0026] When it is determined that the EEPROM has a read / write abnormality and cannot be recovered, the accumulated energy consumption value is reset to zero.

[0027] In some embodiments, the device for counting energy consumption of air conditioners includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for counting energy consumption of air conditioners when executing the program instructions.

[0028] In some embodiments, the device includes a device body; the above-mentioned device for counting air conditioning energy consumption is installed on the device body.

[0029] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for air conditioning energy consumption statistics is executed.

[0030] The method, device and apparatus for air conditioning energy consumption statistics provided by the embodiments of the present disclosure can achieve the following technical effects:

[0031] The solar air conditioner can periodically collect the first energy consumption value of the air conditioner's set energy consumption locally and write it into the SRAM. Moreover, after the set time is reached, the collected first energy consumption value is updated to the EEPROM for accumulation to obtain the corresponding cumulative energy consumption value, and then determine the energy consumption value of the set energy of the air conditioner within the unit statistical period. In this way, real-time accumulation can be performed to obtain the energy consumption value of the set energy of the air conditioner regularly, 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 of the set energy of the air conditioner. In this way, the accuracy of the air conditioner energy consumption data no longer depends on the real-time quality of the communication network, which improves the stability and accuracy of the air conditioner energy consumption statistics, thereby improving the user experience.

[0032] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

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

[0035] Figure 2 It is a flow chart of a method for calculating energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0036] Figure 3-1 It is a flow chart of a method for calculating energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0037] Figure 3-2 It is a flow chart of a method for calculating energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0038] Figure 4 It is a structural schematic diagram of a device for counting energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0039] Figure 5 It is a structural schematic diagram of a device for counting energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0040] Figure 6 It is a structural schematic diagram of a device for counting energy consumption of air conditioners provided by an embodiment of the present disclosure;

[0041] Figure 7 It is a schematic diagram of a device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0042] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0043] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

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

[0045] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0046] The term "and / or" is a description of the association relationship 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 air conditioner can periodically collect the first energy consumption value of the air conditioner's set energy consumption locally and write it into SRAM. Moreover, after the set time is reached, the collected first energy consumption value is updated to EEPROM for accumulation to obtain the corresponding cumulative energy consumption value, and then determine the energy consumption value of the set energy of the air conditioner within the unit statistical period. In this way, the energy consumption value of the set energy of the air conditioner can be accumulated in real time, and the energy consumption value of the set energy of the air conditioner can be obtained regularly, or when the network condition is good, it can be reported to the cloud server to obtain the energy consumption value of the set energy of the air conditioner. In this way, the accuracy of the air conditioner energy consumption data no longer depends on the real-time quality of the communication network, which improves the stability and accuracy of the air conditioner energy consumption statistics, thereby improving the user experience. Moreover, through the collaborative calculation of SRAM and EEPROM, the impact of EEPROM data abnormalities on the air conditioner energy consumption statistics is reduced. In addition, the energy consumption value of the air conditioner can also be displayed through the APP on the terminal, which can provide users with direct energy consumption information and further improve the user experience.

[0048] Figure 1 The present disclosure provides a schematic diagram of an architecture for air conditioning energy consumption statistics scenario. Figure 1 As shown, the scenario may include: an air conditioner 100 and a server 200 .

[0049] The air conditioner 100 may be a solar air conditioner, that is, the air conditioner 100 includes a solar panel 110, which can convert solar energy into electrical energy to power other components in the air conditioner. Of course, the air conditioner 100 may also be connected to a municipal power supply, so that when solar energy is insufficient, the municipal power supply can supplement the electrical energy.

[0050] It can be seen that in the embodiment of the present disclosure, the air conditioner can have two power supply modes. Therefore, in order to more clearly know the energy consumption of the air conditioner in different scenarios, as well as the energy consumption of each energy of the air conditioner, it is necessary to conduct statistics on the energy consumption of the air conditioner.

[0051] The air conditioner 100 may obtain the energy consumption value of each energy source within the unit statistical period, and obtain the total energy consumption value of the two energy sources, or may only separately calculate the energy consumption value of one or two energy sources. In some embodiments, the air conditioner 100 may regularly collect the energy consumption value of the air conditioner set energy, and perform corresponding calculations to obtain the energy consumption value of the air conditioner set energy within the unit statistical period, wherein the set energy includes: one or both of solar energy and municipal energy. The unit statistical period may 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, by WIFI communication, and can report operation data or other relevant data to the server, and can also receive control instructions or other relevant data information issued by the server 200. Therefore, in some embodiments, the air conditioner can report the collected energy consumption value of the air conditioner set energy to the server 200, so that the server 200 can perform the corresponding energy consumption calculation and finally obtain the energy consumption value of the air conditioner set energy in the unit statistical period.

[0053] like Figure 1 As shown, the scenario may also include: a terminal 300, in which an energy consumption display application APP is configured, so that the terminal 300 can communicate with the air conditioner 100 or the server 200, so that after the air conditioner 100 or the server 200 obtains the energy consumption value of the set energy of the air conditioner in the unit statistical period, it can be sent to the terminal, so that the terminal performs corresponding display through the energy consumption display application APP. Thus, the user can intuitively understand the energy consumption of the air conditioner.

[0054] In some embodiments, the air conditioner can be stored in a stateful random access memory

[0055] The accumulative energy consumption value of the air conditioner's set energy within the set time is obtained through the collaborative calculation of the Static Random-Access Memory (SRAM) and the Electrically Erasable Programmable read only memory (EEPROM). Then, the energy consumption value of the air conditioner's set energy within the unit statistical period can be determined based on the accumulative energy consumption value, or, when the communication network is in good condition, the accumulative energy consumption value is reported to the server, so that the server obtains the energy consumption value of the air conditioner's set energy within the unit statistical period. Since the air conditioner has already obtained the accumulative energy consumption value of the air conditioner's set energy within the set time locally, it can be calculated locally or reported to the server for calculation to obtain the energy consumption value of the air conditioner's set energy within the unit statistical period. The accuracy of the air conditioner's energy consumption data no longer depends on the quality of the communication network, which improves the stability and accuracy of the air conditioner's energy consumption statistics, thereby improving the user experience.

[0056] Figure 2 is a flow chart of a method for calculating energy consumption of an air conditioner provided by an embodiment of the present disclosure. The air conditioner includes a solar panel, such as Figure 2 As shown in the figure, the process of air conditioning energy consumption statistics includes:

[0057] Step 201: When the first collection time corresponding to the first cycle duration is reached, determine the first current energy consumption value of the air conditioner set energy in 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] The air conditioner can be equipped with an energy consumption metering device, and the first energy consumption value of the energy set by the air conditioner can be obtained regularly through the energy consumption metering device, wherein the timing corresponds to the first cycle duration, that is, when the first collection time corresponding to the first cycle duration is reached, the air conditioner can obtain the first energy consumption value of the energy set by the air conditioner in the first cycle through the energy consumption metering device. The current first collection time corresponds to the first current energy consumption value.

[0059] If the energy consumption metering device detects the energy consumption value of solar energy, 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, the first current energy consumption value is the first current municipal electricity energy consumption value. Adding the first current day photovoltaic energy consumption value and the first current municipal electricity energy consumption value together can be obtained as the first current total energy consumption value.

[0060] Of course, in the embodiment of the present disclosure, there are many ways to determine the energy consumption value of the energy set by the air conditioner in each cycle, for example, the air conditioner can collect the current value and voltage value of the corresponding device and calculate the first energy consumption value of the energy set by the air conditioner.

[0061] In order to make the calculation granularity finer and the results more accurate, the first cycle may be shorter, for example: 3s, 5s or 8s, etc., but it also takes into account the SRAM storage space and the air conditioning operation capacity.

[0062] Step 202: When the second collection time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM in the second current cycle is updated to the electrically erasable and writable read-only memory EEPROM for accumulation to obtain the corresponding current accumulated energy consumption value, wherein the second cycle duration is greater than the first cycle duration.

[0063] As long as the power is kept on, the data stored in the SRAM can be kept constant. When the power supply is stopped, the data stored in the SRAM will disappear. EEPROM is a memory that does not lose data after power failure. Therefore, the first energy consumption value stored in the SRAM needs to be updated to the EEPROM and accumulated to obtain the current accumulated energy consumption value corresponding to the current moment.

[0064] In order to reduce the probability of data anomalies caused by frequent writing to the EEPROM, the second cycle duration is longer than the first cycle duration, and can be 15s, 20s, or 30s, etc.

[0065] For example: the first cycle length is 5s and the second cycle length is 15s. When the second current adoption time corresponding to the second cycle length is reached, the three first current energy consumption values ​​stored in the SRAM within the current second cycle length can be updated to the 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 it is determined that the EEPROM has read and write abnormalities and cannot be restored, the air conditioner will also reset the accumulated energy consumption value to zero, thus further improving the accuracy of energy consumption statistics.

[0067] Step 203: Determine the energy consumption value of the set energy of the air conditioner within the unit statistical period according to the accumulated energy consumption value.

[0068] In the disclosed embodiment, the unit statistical period may be an hour, day, week, month, or year, etc. Therefore, it is necessary to perform calculations based on one, two or more accumulated energy consumption values ​​to obtain the energy consumption value of the set energy of the air conditioner within the unit statistical period.

[0069] In addition, the air conditioner can calculate locally to obtain the energy consumption value of the set energy of the air conditioner within the unit statistical period. Figure 1As shown, the air conditioner can communicate with the server. Since the accumulated energy consumption value is stored in the EEPROM of the air conditioner, the accumulated energy consumption value will not be lost regardless of the air conditioner being powered off or disconnected from the network. In this way, the air conditioner can report the accumulated energy consumption value to the server if the reporting conditions are met. Thus, the server can determine the energy consumption value of the set energy of the air conditioner within the unit statistical period based on the accumulated energy consumption value obtained.

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

[0071] In some embodiments, determining the energy consumption value of the set energy of the air conditioner within the 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 values, 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 is the current energy consumption value of the air conditioner in the current unit statistical period, n is the number of accumulated energy consumption values ​​obtained in the current unit statistical period, T i T0 is the i-th cumulative energy consumption value obtained in the current unit statistical period, and T1 is the last cumulative energy consumption value obtained in the previous unit statistical period.

[0074] For example, if the unit statistical period is one hour, multiple accumulated energy consumption values ​​within the current hour can be obtained from the EEPROM; according to the accumulated energy consumption value and formula (1), the current hourly energy consumption value of the air conditioner within the current hour is obtained; or, the accumulated energy consumption value in the EEPROM is reported to the server, so that the server obtains multiple accumulated energy consumption values ​​within the current hour from the reported accumulated energy consumption value, and according to the accumulated energy consumption value obtained and formula (1), the current hourly energy consumption value of the air conditioner within the current hour is obtained;

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

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

[0077] Here, the unit statistical period is one hour, and the air conditioner can obtain n cumulative energy consumption values ​​T in sequence. i , i = 1, 2, ... n, and T0 is the last accumulated energy consumption value obtained in the last hour. 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 timing, the air conditioner can read the corresponding cumulative energy consumption value from the EEPROM and report it to the server. Therefore, 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 value. i , and then through formula (1), we can get the current energy consumption value of the air conditioner in the current hour.

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

[0080] Since the accumulated energy consumption value is obtained by adding the previous accumulated energy consumption value and the first energy consumption value obtained from the SRAM, the accumulated energy consumption value obtained later should be greater than the accumulated energy consumption value obtained earlier. If not, an abnormality may occur, for example, EEPROM obtains the first energy consumption value identification or failure. That is, in some embodiments, in (T i -T i-1 )<0, then when calculating by formula (1), discard (T i -T i-1 ).

[0081] Since it is the last cumulative energy consumption value obtained in the previous statistical period, if it is the statistical starting point, or the data acquisition in the previous statistical period fails, then (T1-T0)=0, that is, if the cumulative energy consumption value is not obtained in the previous hour, it is determined that (T1-T0)=0.

[0082] Since the unit statistical period may be an hour, day, week, month, or year, etc., therefore, in some embodiments, according to the accumulated energy consumption value and formula (1), the current energy consumption value of the air conditioner in the current unit statistical period is obtained, including: according to multiple accumulated energy consumption values ​​in the current hour and formula (1), the current hourly energy consumption value of the air conditioner in the current hour is obtained; according to the hourly energy consumption value obtained in the current unit statistical period, the current energy consumption value of the air conditioner in the current unit statistical period is determined, wherein the unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains energy consumption value, or the total energy consumption value corresponding to the sum of daily photovoltaic energy consumption value and mains energy consumption value.

[0083] Among them, the current hourly energy consumption value of the air conditioner in the current hour can be obtained as above. In this way, the hourly energy consumption value T corresponding to each hour in the current day can be obtained. h , and then accumulate to get the current day's energy consumption value of air conditioning, that is, T d =∑(T h ). Similarly, the daily energy consumption value corresponding to each day in the current month can be obtained, and then accumulated to obtain the current monthly energy consumption value of the air conditioner in the current month, that is, T m =∑(T d ). By analogy, the monthly energy consumption values ​​corresponding to each month in the current year can be obtained, and then accumulated to obtain the current annual energy consumption value of the air conditioner in the current year, that is, T y =∑(T m ).

[0084] It can be seen that in the disclosed embodiment, the solar air conditioner can periodically collect the first energy consumption value of the air conditioner's set energy consumption locally and write it into the SRAM, and after the set time is reached, the collected first energy consumption value is updated to the EEPROM for accumulation to obtain the corresponding cumulative energy consumption value, and then determine the energy consumption value of the set energy of the air conditioner in the unit statistical period. In this way, real-time accumulation can be performed to regularly obtain the energy consumption value of the set energy of the air conditioner, or report to the cloud server to obtain the energy consumption value of the set energy of the air conditioner. In this way, the accuracy of the air conditioner energy consumption data no longer depends on the real-time quality of the communication network, which improves the stability and accuracy of the air conditioner energy consumption statistics, thereby improving the user experience. In addition, through the collaborative calculation of SRAM and EEPROM, the impact of EEPROM data abnormalities on the air conditioner energy consumption statistics is reduced.

[0085] The air conditioner has a human-machine interactive interface, so in some embodiments, the energy consumption value of the set energy of the air conditioner in the unit statistical period is determined, and the air conditioner can display it. Figure 1 As shown, the terminal can communicate with the air conditioner or server, so that the air conditioner or server can send the current energy consumption value of the air conditioner in the current unit statistical period to the terminal application APP for display. For example: the terminal is configured with an energy consumption display application APP, which can have multiple displays, including statistical time selection and energy selection. Therefore, the terminal can subscribe to a certain energy consumption value, that is, obtain the energy consumption value that matches the time period and energy selected by the user from the air conditioner or server, and then display it, and can also get a bar chart of energy consumption value changes, etc.

[0086] For example: upon receiving the "day" instruction determined by the user, the terminal can display the current day's energy consumption value that matches the current day. Among them, the current total daily energy consumption value, the current photovoltaic daily energy consumption value, the current city electricity daily energy consumption value, and the corresponding hourly energy consumption value change bar chart can be displayed. If the current day's data is less than a full day's data, only the existing data will be displayed. Upon receiving the "month" instruction determined by the user, the terminal can display the current month's energy consumption value that matches the current month. Among them, the current total monthly energy consumption value, the current photovoltaic monthly energy consumption value, the current city electricity monthly energy consumption value, and the corresponding day's energy consumption value change bar chart can be displayed. If the current month's data is less than a full month's data, only the existing data will be displayed. Upon receiving the "year" instruction determined by the user, the terminal can display the current year's energy consumption value that matches the current year. Among them, the current total annual energy consumption value, the current day's photovoltaic annual energy consumption value, the current city electricity annual energy consumption value, and the monthly energy consumption value change bar chart accurate to the month can be displayed. If the current annual data is less than 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, improves the intelligence of the air conditioner, but also improves the user experience.

[0088] The operation flow is collected into a specific embodiment below to illustrate the air conditioning energy consumption statistics process provided by the embodiment of the present invention.

[0089] In one embodiment of the present disclosure, 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 air conditioner, and the terminal is equipped with an energy consumption display application APP. The first cycle can be 5s long, and the second cycle can be 20s long.

[0090] Figure 3-1 ,3-2 is a flow chart of a method for calculating air conditioning energy consumption provided by an embodiment of the present disclosure. Figure 3-1 ,As shown in 3-2, the air conditioning energy consumption statistics process includes:

[0091] Step 301: Determine whether the first collection time corresponding to 5s has been reached. If yes, execute step 302; otherwise, execute step 303.

[0092] Step 302: the air conditioner determines the first current day photovoltaic energy consumption value and the first current city power energy consumption value of the air conditioner within the current 5s period, obtains the first current total energy consumption value, and stores it in the SRAM.

[0093] Step 303: Determine whether the second collection time corresponding to 20 seconds has been reached. If yes, execute step 303; otherwise, execute step 305.

[0094] Step 304: The air conditioner updates the first current day photovoltaic energy consumption value, the first current city 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 to obtain the corresponding current day photovoltaic cumulative energy consumption value, current city power cumulative energy consumption value, and current total cumulative energy consumption value.

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

[0096] The air conditioner can report to the server at a fixed time, or after receiving the report instruction from the server, the air conditioner reports; or after the air conditioner re-establishes the connection with the server, the air conditioner reports. That is, the air conditioner reports when the WIFI network quality between the air conditioner and the server is good.

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

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

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

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

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

[0102] Step 310: The server obtains the daily photovoltaic energy consumption value, the daily city electricity energy consumption value, and the total daily energy consumption value corresponding to each day in the current month, and accumulates them to obtain the corresponding current daily photovoltaic monthly energy consumption value, the current city electricity monthly energy consumption value, and the current total monthly energy consumption value.

[0103] Step 311: The server obtains the daily photovoltaic monthly energy consumption value, the mains monthly energy consumption value, and the total monthly energy consumption value corresponding to each month in the current year, and accumulates them to obtain the corresponding current daily photovoltaic annual energy consumption value, current mains annual energy consumption value, and current total annual energy consumption value.

[0104] Step 312: Determine whether a display request sent by the terminal is received. If yes, execute step 313; otherwise, return to step 307.

[0105] Step 313: 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 corresponding display according to the time information in the display request.

[0106] Among them, the upper and lower order of the unit statistical time period level can be year, month, day, and hour. In this way, if the time information is day and hour, the current photovoltaic daily energy consumption value, the current city electricity daily energy consumption value, and the current total daily energy consumption value that match the current day can be sent to the terminal, and the daily photovoltaic hourly energy consumption value, the city electricity hourly energy consumption value, and the total hourly energy consumption value corresponding to each hour are also sent to the terminal. In this way, the terminal can display the current total daily energy consumption value, the current photovoltaic daily energy consumption value, the current city electricity daily energy consumption value, and can also display the hourly energy consumption value change bar chart accurately corresponding to the hour. Similarly, if the time information is year and hour, the current daily photovoltaic annual energy consumption value, the current city electricity annual energy consumption value, and the current total annual energy consumption value that match the current year can be sent to the terminal, and the daily photovoltaic monthly energy consumption value, the city electricity monthly energy consumption value, and the total monthly energy consumption value corresponding to each month are also sent to the terminal. In this way, the terminal can display the current total annual energy consumption value, the current daily photovoltaic annual energy consumption value, the current city electricity annual energy consumption value, and can also display the monthly energy consumption value change bar chart accurately corresponding to the month.

[0107] It can be seen that in this embodiment, the solar air conditioner can periodically collect the first energy consumption value of the air conditioner's set energy consumption locally and write it into the SRAM, and after the set time is reached, the collected first energy consumption value is updated to the EEPROM for accumulation to obtain the corresponding cumulative energy consumption value, and then, when the reporting conditions are met, it can be reported to the cloud server to obtain the energy consumption value of the set energy of the air conditioner. In this way, the accuracy of the air conditioner energy consumption data no longer depends on the real-time quality of the communication network, which improves the stability and accuracy of the air conditioner energy consumption statistics, thereby improving the user experience. Moreover, through the collaborative calculation of SRAM and EEPROM, the impact of EEPROM data abnormalities on the air conditioner energy consumption statistics is reduced. In addition, the energy consumption value of the air conditioner can also be displayed through the APP on the terminal, which can provide users with direct energy consumption information, improve the intelligence of the air conditioner, and further improve the user experience.

[0108] According to the above process for counting energy consumption of air conditioners, a device for counting energy consumption of air conditioners can be constructed.

[0109] Figure 4 Schematic diagram of a device for calculating energy consumption of air conditioner provided by an embodiment of the present disclosure. Figure 4 As shown, the air conditioner 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 a first current energy consumption value of the air conditioner set energy within the first current cycle when the first collection moment 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 update the first energy consumption value stored in the SRAM in the second current cycle to the electrically erasable and writable read-only memory EEPROM for accumulation when the second collection moment corresponding to the second cycle duration is reached, so as to obtain the corresponding current accumulated energy consumption value, wherein the second cycle duration is greater 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 according to the accumulated energy consumption value.

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

[0114] The first acquisition unit is configured to acquire a plurality of accumulated energy consumption values ​​in a 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 in the current unit statistical period according to the accumulated energy consumption value and formula (1);

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

[0117] Among them, T z is the current energy consumption value of the air conditioner in the current unit statistical period, n is the number of accumulated energy consumption values ​​obtained in the current unit statistical period, T i T0 is the i-th cumulative energy consumption value obtained in the current unit statistical period, and T1 is the last cumulative energy consumption value obtained in the previous unit statistical period.

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

[0119] In some embodiments, the first statistical unit is further configured to determine that (T1-T0)=0 when no accumulated energy consumption value is obtained in the previous unit 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 within the current hour based on multiple accumulated energy consumption values ​​within the current hour and formula (1); determine the current energy consumption value of the air conditioner within the current unit statistical period based on the hourly energy consumption value obtained within 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 energy consumption value, or the total energy consumption value corresponding to the sum of the daily photovoltaic energy consumption value and the mains energy consumption value.

[0121] In some embodiments, it also includes:

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

[0123] In some embodiments, it also includes:

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

[0125] It can be seen that in this embodiment, the device for air conditioning energy consumption statistics can locally periodically collect the first energy consumption value of the air conditioning set energy consumption and write it into SRAM, and after the set time is reached, the collected first energy consumption value is updated to EEPROM for accumulation to obtain the corresponding cumulative energy consumption value, and then determine the energy consumption value of the set energy of the air conditioner in the unit statistical period. In this way, real-time accumulation can be performed to obtain the energy consumption value of the set energy of the air conditioner regularly. In this way, the accuracy of the air conditioning energy consumption data no longer depends on the quality of the communication network, and does not require the server to perform calculations, which improves the stability and accuracy of the air conditioning energy consumption statistics, thereby improving the user experience. In addition, through the collaborative calculation of SRAM and EEPROM, the impact of EEPROM data abnormalities on air conditioning energy consumption statistics is reduced.

[0126] Figure 5 Schematic diagram of a device for calculating energy consumption of air conditioners provided by an embodiment of the present disclosure. Figure 1 In the server shown, Figure 5 As shown, the air conditioner energy consumption statistics device 500 includes: a reporting acquisition module 510 and a second statistics determination module 520.

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

[0128] The second statistical determination module 520 is configured to determine the energy consumption value of the set energy of the air conditioner within the unit statistical period according to the accumulated energy consumption value.

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

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

[0131] The second statistical unit is configured to obtain the current energy consumption value of the air conditioner in the current unit statistical period according to the accumulated energy consumption value and formula (1);

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

[0133] Among them, T z is the current energy consumption value of the air conditioner in the current unit statistical period, n is the number of accumulated energy consumption values ​​obtained in the current unit statistical period, T i T0 is the i-th cumulative energy consumption value obtained in the current unit statistical period, and T1 is the last cumulative energy consumption value obtained in the previous unit statistical period.

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

[0135] In some embodiments, the second statistical unit is further configured to determine that (T1-T0)=0 when no accumulated energy consumption value is obtained in the previous unit 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 within the current hour based on multiple accumulated energy consumption values ​​within the current hour and formula (1); determine the current energy consumption value of the air conditioner within the current unit statistical period based on the hourly energy consumption value obtained within 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 energy consumption value, or the total energy consumption value corresponding to the sum of the daily photovoltaic energy consumption value and the mains energy consumption value.

[0137] In some embodiments, it also includes:

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

[0139] It can be seen that in this embodiment, the device for air conditioning energy consumption statistics determines the energy consumption value of the set energy of the air conditioner in the unit statistical period according to the cumulative energy consumption value reported by the air conditioner. In this way, when the quality of the WIFI network is good, the cumulative energy consumption value of the set energy of the air conditioner can be obtained, and then the energy consumption value of the set energy of the air conditioner in the unit statistical period can be obtained. Therefore, the accuracy of the air conditioning energy consumption data no longer depends on the real-time quality of the real-time WiFi network, which improves the stability and accuracy of the air conditioning energy consumption statistics, and thus improves the user experience. In addition, the energy consumption value of the air conditioner can also be displayed through the APP on the terminal, which can provide users with direct energy consumption information, improve the intelligence of the air conditioner, and further improve the user experience.

[0140] Combination Figure 6 The present disclosure provides a device 600 for counting energy consumption of air conditioners, which can be applied to Figure 1 In air conditioners or servers, including:

[0141] The processor 1000 and the memory 1001 may also include a communication interface 1002 and a bus 1003. The processor 1000, the communication interface 1002, and the memory 1001 may communicate with each other through the bus 1003. The communication interface 1002 may be used for information transmission. The processor 1000 may call the logic instructions in the memory 1001 to execute the method for air conditioning energy consumption statistics of the above embodiment.

[0142] In addition, the logic instructions in the above-mentioned memory 1001 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

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

[0144] The memory 1001 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory and may also include a non-volatile memory.

[0145] An embodiment of the present disclosure provides a device for counting energy consumption of an air conditioner, comprising: a processor and a memory storing program instructions, wherein the processor is configured to execute a method for counting energy consumption of an air conditioner when executing the program instructions.

[0146] Combination Figure 7 , the embodiment of the present disclosure provides a device 700, including: a device body, and the above-mentioned device for counting energy consumption of air conditioners 400 (600) or 500 (600). The device for counting energy consumption of air conditioners 400 (600) or 500 (600) is installed on the device body. The installation relationship described here 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. It can be understood by those skilled in the art that the device for counting energy consumption of air conditioners 400 (600) or 500 (600) can be adapted to a feasible device body, thereby realizing other feasible embodiments.

[0147] An embodiment of the present disclosure provides a storage medium storing program instructions, which, when run, execute the above-mentioned method for counting air conditioner energy consumption.

[0148] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for counting air conditioning energy consumption.

[0149] The above-mentioned storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0150] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0151] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, individual components and functions are optional, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims, and all available equivalents of the claims. When used in this application, although the terms "first", "second", etc. may be used in this application to describe each element, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, the first element can be called the second element, and similarly, the second element can be called the first element, as long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first element and the second element are both elements, but may not be the same element. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms "a", "an" and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

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

[0154] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for air conditioning energy consumption statistics, characterized in that: include: When a first collection time corresponding to the first cycle duration is reached, determining a first current energy consumption value of the air conditioner set energy in a first current cycle; and stored in a static random access memory SRAM, wherein the set energy source includes: one or two of solar energy and municipal energy; When the second collection time corresponding to the second cycle duration is reached, the first energy consumption value stored in the SRAM in the second current cycle is updated to the electrically erasable and writable read-only memory EEPROM for accumulation to obtain the corresponding current accumulated energy consumption value, wherein the second cycle duration is greater than the first cycle duration; According to the accumulated energy consumption value, the energy consumption value of the set energy of the air conditioner within the unit statistical period is determined.

2. The method according to claim 1, characterized in that Determining the energy consumption value of the set energy of the air conditioner within the unit statistical period according to the accumulated energy consumption value includes: Obtain multiple accumulated energy consumption values ​​in the current unit statistical period from the EEPROM, and obtain the current energy consumption value of the air conditioner in the current unit statistical period according to the accumulated energy consumption values ​​and formula (1); or, Report the accumulated energy consumption value in the EEPROM to the server, so that the server obtains multiple accumulated energy consumption values ​​in the current unit statistical period from the reported accumulated energy consumption values, and obtains the current energy consumption value of the air conditioner in the current unit statistical period according to the accumulated energy consumption values ​​and formula (1); T z =Σ i=1 n (T i -T i-1 ) (1) Among them, T z is the current energy consumption value of the air conditioner in the current unit statistical period, n is the number of accumulated energy consumption values ​​obtained in the current unit statistical period, T i T0 is the i-th cumulative energy consumption value obtained in the current unit statistical period, and T1 is the last cumulative energy consumption value obtained in the previous unit statistical period.

3. The method according to claim 2, characterized in that Also includes: In (T i -T i-1 )<0, when calculating by formula (1), (T i -T i-1 )give up.

4. The method according to claim 2, characterized in that: Also includes: In the case where the accumulated energy consumption value is not obtained during the previous unit statistical period, it is determined that (T1-T0)=0.

5. The method according to claim 2, characterized in that: According to the accumulated energy consumption value and formula (1), the current energy consumption value of the air conditioner in the current unit statistical period is obtained, which includes: According to the multiple accumulated energy consumption values ​​in the current hour and formula (1), the current energy consumption value of the air conditioner in the current hour is obtained; According to the hourly energy consumption value obtained in the current unit statistical period, the current energy consumption value of the air conditioner in the current unit statistical period is determined, wherein the unit statistical period may include: day, month, or year, and the energy consumption value includes: daily photovoltaic energy consumption value, mains energy consumption value, or the total energy consumption value corresponding to the sum of the daily photovoltaic energy consumption value and the mains energy consumption value.

6. The method according to claim 5, characterized in that Also includes: The current energy consumption value of the air conditioner within the current unit statistical period is sent to the terminal application APP for display.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: When it is determined that the EEPROM has a read / write abnormality and cannot be recovered, the accumulated energy consumption value is reset to zero.

8. A device for counting air conditioning energy consumption, the device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for air conditioning energy consumption statistics according to any one of claims 1 to 7 when executing the program instructions.

9. A device, characterized in that: include: Equipment body; The device for counting air conditioning energy consumption as claimed in claim 8 is installed on the equipment body.

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

Citation Information

Patent Citations

  • Method and device for energy consumption statistics

    CN108932217A

  • Solar air conditioner capacity calculation and capacity ratio display method

    CN111306707A

  • Illuminating lamp energy accumulation method

    CN114554311A

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

    CN114840446A

  • Air conditioner energy consumption prediction method, device and equipment and storage medium

    CN117390362A