CN115717756B - Air conditioner power consumption detection method and device, air conditioner and storage medium - Google Patents
Air conditioner power consumption detection method and device, air conditioner and storage medium Download PDFInfo
- Publication number
- CN115717756B CN115717756B CN202211503972.3A CN202211503972A CN115717756B CN 115717756 B CN115717756 B CN 115717756B CN 202211503972 A CN202211503972 A CN 202211503972A CN 115717756 B CN115717756 B CN 115717756B
- Authority
- CN
- China
- Prior art keywords
- air conditioner
- state information
- historical
- power consumption
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 16
- 230000007717 exclusion Effects 0.000 claims 9
- 230000005611 electricity Effects 0.000 claims 3
- 239000002699 waste material Substances 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000001816 cooling Methods 0.000 description 5
- 238000010438 heat treatment Methods 0.000 description 5
- 238000005057 refrigeration Methods 0.000 description 5
- 238000004378 air conditioning Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Landscapes
- Air Conditioning Control Device (AREA)
Abstract
本发明公开了一种空调耗电检测方法、装置、空调及存储介质,该方法包括:当空调的状态发生改变时,获取所述空调的当前状态信息;从存储模块中获取所述空调的置顶历史状态信息;判断所述当前状态信息与所述置顶历史状态信息是否存在互斥模式;若所述当前状态信息与所述置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。本发明有利于提高空调耗电检测精准度,减少了由于用户操作不当造成的资源浪费。
The present invention discloses a method and device for detecting power consumption of an air conditioner, an air conditioner and a storage medium, the method comprising: when the state of the air conditioner changes, obtaining the current state information of the air conditioner; obtaining the top historical state information of the air conditioner from a storage module; judging whether there is a mutually exclusive mode between the current state information and the top historical state information; if there is a mutually exclusive mode between the current state information and the top historical state information, judging that there is a power consumption operation of the air conditioner, and issuing a warning message. The present invention is conducive to improving the accuracy of power consumption detection of the air conditioner and reducing the waste of resources caused by improper user operation.
Description
技术领域Technical Field
本发明涉及空调技术领域,尤其涉及一种空调耗电检测方法、装置、空调及存储介质。The present invention relates to the technical field of air conditioners, and in particular to a method and device for detecting power consumption of an air conditioner, an air conditioner and a storage medium.
背景技术Background technique
随着人们的生活水平逐渐提高,越来越多的人们家里都用上了空调,但是多数人在使用空调的过程中,只知道购买节能的空调,但都不知道其实在使用过程中的操作不当也会增加空调的功耗,从而不利于节能降耗。所以需要对空调耗电操作进行检测,以便减少空调耗电操作,节约能源。As people's living standards gradually improve, more and more people use air conditioners at home. However, most people only know to buy energy-saving air conditioners when using air conditioners, but they don't know that improper operation during use will also increase the power consumption of the air conditioner, which is not conducive to energy saving and consumption reduction. Therefore, it is necessary to detect the power consumption operation of the air conditioner in order to reduce the power consumption of the air conditioner and save energy.
现有的空调耗电检测方式是监测当前环境温度和所设置的空调温度,基于当前环境温度和空调温度来判断是否存在空调耗电操作。例如当前环境温度为 28摄氏度,而空调温度为33摄氏度,此时对空调的温度设置达不到制冷的目的,属于空调耗电操作。然而这种方式,没有考虑到在空调实际使用过程中不同模式的切换所带来的耗电情况,从而导致现有的空调耗电操作检测的精准度较低。The existing air conditioner power consumption detection method is to monitor the current ambient temperature and the set air conditioner temperature, and determine whether there is an air conditioner power consumption operation based on the current ambient temperature and the air conditioner temperature. For example, if the current ambient temperature is 28 degrees Celsius and the air conditioner temperature is 33 degrees Celsius, the temperature setting of the air conditioner cannot achieve the purpose of cooling, which is an air conditioner power consumption operation. However, this method does not take into account the power consumption caused by switching between different modes during the actual use of the air conditioner, resulting in low accuracy of the existing air conditioner power consumption operation detection.
发明内容Summary of the invention
本发明实施例提供了一种空调耗电检测方法、装置、空调及存储介质,以提高空调耗电检测精准度。Embodiments of the present invention provide a method and device for detecting power consumption of an air conditioner, an air conditioner, and a storage medium to improve the accuracy of detecting power consumption of an air conditioner.
第一方面,本发明实施例提供了一种空调耗电检测方法,其包括:In a first aspect, an embodiment of the present invention provides a method for detecting power consumption of an air conditioner, which includes:
当空调的状态发生改变时,获取所述空调的当前状态信息;When the state of the air conditioner changes, obtaining the current state information of the air conditioner;
从存储模块中获取所述空调的置顶历史状态信息;Acquire the top-setting historical status information of the air conditioner from the storage module;
判断所述当前状态信息与所述置顶历史状态信息是否存在互斥模式;Determine whether the current state information and the top historical state information have mutually exclusive patterns;
若所述当前状态信息与所述置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。If the current status information and the top historical status information have mutually exclusive patterns, it is determined that there is a power-consuming operation of the air conditioner, and a warning message is issued.
第二方面,本发明实施例提供了一种空调耗电检测装置,其包括:In a second aspect, an embodiment of the present invention provides an air conditioner power consumption detection device, which includes:
当前状态信息获取单元,用于当空调的状态发生改变时,获取所述空调的当前状态信息;A current state information acquisition unit, used to acquire current state information of the air conditioner when the state of the air conditioner changes;
置顶历史状态信息获取单元,用于从存储模块中获取所述空调的置顶历史状态信息;A top setting history status information acquisition unit, used for acquiring the top setting history status information of the air conditioner from a storage module;
互斥模式判断单元,用于判断所述当前状态信息与所述置顶历史状态信息是否存在互斥模式;A mutually exclusive mode determination unit, used for determining whether the current state information and the top historical state information have mutually exclusive modes;
空调耗电操作判定单元,用于若所述当前状态信息与所述置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。The air conditioner power consumption operation determination unit is used to determine that there is an air conditioner power consumption operation and issue a warning message if the current status information and the top historical status information have mutually exclusive patterns.
第三方面,本发明实施例提供了一种空调,其包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面所述的空调耗电检测方法。In a third aspect, an embodiment of the present invention provides an air conditioner, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the air conditioner power consumption detection method described in the first aspect when executing the computer program.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其中所述计算机可读存储介质存储有计算机程序,所述计算机程序当被处理器执行时使所述处理器执行上述第一方面所述的空调耗电检测方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the air conditioner power consumption detection method described in the first aspect above.
本发明实施例提供了一种空调耗电检测方法、装置、空调及存储介质,该方法包括:当空调的状态发生改变时,获取所述空调的当前状态信息;从存储模块中获取所述空调的置顶历史状态信息;判断所述当前状态信息与所述置顶历史状态信息是否存在互斥模式;若所述当前状态信息与所述置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。本发明实施例通过判断当前状态信息与所述置顶历史状态信息是否存在互斥模式,从而检测出空调是否存在耗电操作,有利于提高空调耗电检测精准度,减少了由于用户操作不当造成的资源浪费。The embodiment of the present invention provides a method, device, air conditioner and storage medium for detecting power consumption of an air conditioner. The method includes: when the state of the air conditioner changes, obtaining the current state information of the air conditioner; obtaining the top historical state information of the air conditioner from a storage module; judging whether the current state information and the top historical state information have a mutually exclusive pattern; if the current state information and the top historical state information have a mutually exclusive pattern, judging that there is a power-consuming operation of the air conditioner, and issuing a warning message. The embodiment of the present invention determines whether the current state information and the top historical state information have a mutually exclusive pattern, thereby detecting whether there is a power-consuming operation of the air conditioner, which is beneficial to improving the accuracy of power consumption detection of the air conditioner and reducing the waste of resources caused by improper user operation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
图1为本发明实施例提供的空调耗电检测方法的流程示意图;FIG1 is a schematic flow chart of a method for detecting power consumption of an air conditioner provided by an embodiment of the present invention;
图2为本发明一实施例提供的空调耗电检测方法的流程示意图;FIG2 is a schematic diagram of a flow chart of a method for detecting power consumption of an air conditioner provided by an embodiment of the present invention;
图3为本发明另一实施例提供的空调耗电检测方法的流程示意图;FIG3 is a flow chart of a method for detecting power consumption of an air conditioner according to another embodiment of the present invention;
图4为本发明另一实施例提供的空调耗电检测方法的流程示意图;FIG4 is a flow chart of a method for detecting power consumption of an air conditioner according to another embodiment of the present invention;
图5为本发明另一实施例提供的空调耗电检测方法的流程示意图;FIG5 is a schematic flow chart of a method for detecting power consumption of an air conditioner according to another embodiment of the present invention;
图6为本发明另一实施例提供的空调耗电检测方法的流程示意图;FIG6 is a flow chart of a method for detecting power consumption of an air conditioner according to another embodiment of the present invention;
图7为本发明另一实施例提供的空调耗电检测方法的流程示意图;FIG7 is a flow chart of a method for detecting power consumption of an air conditioner according to another embodiment of the present invention;
图8为本发明实施例提供的空调耗电检测装置的示意性框图;FIG8 is a schematic block diagram of an air conditioner power consumption detection device provided by an embodiment of the present invention;
图9为本发明实施例提供的空调的示意性框图。FIG. 9 is a schematic block diagram of an air conditioner provided in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and/or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or combinations thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/ 或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should be further understood that the term "and/or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
请参阅图1,图1为本发明实施例提供的空调耗电检测方法的流程示意图。本发明实施例提供的空调耗电检测方法,应用于空调中。Please refer to Fig. 1, which is a flow chart of an air conditioner power consumption detection method provided by an embodiment of the present invention. The air conditioner power consumption detection method provided by an embodiment of the present invention is applied to air conditioners.
S1、当空调的状态发生改变时,获取空调的当前状态信息。S1. When the state of the air conditioner changes, obtain the current state information of the air conditioner.
本实施例中,空调的状态包括开关机状态、不同模式状态、风速档位状态以及温度状态等。当前状态信息是指空调的状态发生改变时,此时空调当前的状态,包括开关机状态、不同模式、风速档位以及温度等。在空调的状态发生改变时,有可能存在用户操作不当,导致空调耗电操作。所以在当空调的状态发生改变时,获取空调的当前状态信息,便于后续根据空调的当前状态信息检测空调是否在空调耗电操作。In this embodiment, the state of the air conditioner includes the on/off state, different mode states, wind speed level state, and temperature state. The current state information refers to the current state of the air conditioner when the state of the air conditioner changes, including the on/off state, different modes, wind speed level, and temperature. When the state of the air conditioner changes, there may be improper user operation, resulting in power-consuming operation of the air conditioner. Therefore, when the state of the air conditioner changes, the current state information of the air conditioner is obtained, so as to facilitate the subsequent detection of whether the air conditioner is in power-consuming operation according to the current state information of the air conditioner.
需要说明的是存储模块可以为空调、服务器或是其他介质中具有存储功能的模块。在一实施例中,在不增加空调的实际硬件或原始设备资源的情况下,在空调的存储位置增加一个虚拟的存储模块。该虚拟的存储模块会记忆空调的历史状态信息及当前状态信息;并通过该记忆信息与当前操作的空调状态进行分析,分析是否有对应的空调耗电反向操作的情况,并根据此情况进行语音播报进行耗电操作提醒。从而起到在不增加空调实际硬件资源的情况下,告知用户操作不当的具体原因及位置,减少用户操作不当引起的资源浪费。It should be noted that the storage module can be a module with storage function in an air conditioner, a server or other media. In one embodiment, without increasing the actual hardware or original device resources of the air conditioner, a virtual storage module is added to the storage location of the air conditioner. The virtual storage module will memorize the historical status information and current status information of the air conditioner; and analyze the memory information with the current operating state of the air conditioner to analyze whether there is a corresponding reverse operation of the air conditioner power consumption, and perform voice broadcast to remind the power consumption operation according to this situation. Thereby, the user is informed of the specific reasons and locations of improper operation without increasing the actual hardware resources of the air conditioner, thereby reducing the waste of resources caused by improper user operation.
请参阅图2,图2示出了步骤S1之后的一种具体实施方式,详叙如下:Please refer to FIG. 2 , which shows a specific implementation after step S1, which is described in detail as follows:
S11:若开关机状态发生改变,则从存储模块中获取空调开机时的历史状态信息,作为初始开机状态信息。S11: If the power on/off state changes, the historical state information when the air conditioner is turned on is obtained from the storage module as the initial power on state information.
S12:计算初始开机状态信息与当前状态信息的间隔时间,作为第一间隔时间;S12: Calculate the interval between the initial startup state information and the current state information as the first interval;
S13:若第一间隔时间未超过第一预设时间,则判定存在空调耗电操作,并发出示警信息。S13: If the first interval time does not exceed the first preset time, it is determined that there is an air-conditioning power-consuming operation, and a warning message is issued.
具体地,在空调的存储模块中存储有历史状态信息,该历史状态信息中包括空调开机时的历史状态信息。所以当空调的开关机状态发生改变时,从存储模块中获取空调开机时的历史状态信息,作为初始开机状态信息。其中,初始开机状态信息和当前状态信息均包括状态信息生成时的时间。本申请实施例计算初始开机状态信息与当前状态信息的间隔时间,作为第一间隔时间;若第一间隔时间超过第一预设时间,说明空调在短时间内频繁开关机,而短时间的频繁开关机,造成耗电增加。所以若第一间隔时间未超过第一预设时间,则判定存在空调耗电操作,并发出示警信息。若第二间隔时间超过第二预设时间,说明隔了较长时间,再次进行开关机,此时的空调操作较为合理。示警信息的发出可以由空调的控制模块发送至APP应用或者语音播报模块,进行播报提醒。Specifically, historical status information is stored in the storage module of the air conditioner, and the historical status information includes historical status information when the air conditioner is turned on. Therefore, when the on/off state of the air conditioner changes, the historical status information when the air conditioner is turned on is obtained from the storage module as the initial on/off state information. Among them, the initial on/off state information and the current state information both include the time when the state information is generated. The embodiment of the present application calculates the interval time between the initial on/off state information and the current state information as the first interval time; if the first interval time exceeds the first preset time, it means that the air conditioner is frequently turned on and off in a short time, and the frequent on/off in a short time causes the power consumption to increase. Therefore, if the first interval time does not exceed the first preset time, it is determined that there is a power-consuming operation of the air conditioner, and an alarm message is issued. If the second interval time exceeds the second preset time, it means that the on/off is performed again after a long time, and the air conditioner operation at this time is more reasonable. The issuance of the alarm message can be sent by the control module of the air conditioner to the APP application or the voice broadcast module for broadcast reminder.
需要说明的是,第一预设时间根据实际情况进行设定,此处不作限定。在一具体实施例中,第一预设时间为30分钟。请参见如下表1,表1记录着一个具体实施例中的初始开机状态信息和当前状态信息。It should be noted that the first preset time is set according to actual conditions and is not limited here. In a specific embodiment, the first preset time is 30 minutes. Please refer to the following Table 1, which records the initial startup state information and current state information in a specific embodiment.
表1Table 1
在表1中记录着初始开机状态信息与当前状态信息的时间分别为14:00和 14:20,所以两者的时间间隔为20分钟,而两者的开关机状态时相反的,由于时间间隔低于第一预设时间30分钟,所以判定出该空调在短时间内频繁实施了开关机操作,而该操作存在耗电增加的情况,所以此时空调发出示警信息。Table 1 records the initial power-on status information and the current status information at 14:00 and 14:20 respectively, so the time interval between the two is 20 minutes, and the on/off status of the two is opposite. Since the time interval is lower than the first preset time of 30 minutes, it is determined that the air conditioner has frequently turned on and off the air conditioner in a short period of time, and this operation increases power consumption, so the air conditioner issues an alarm message at this time.
请参阅图3,图3示出了步骤S1之后的另一种具体实施方式,详叙如下:Please refer to FIG. 3 , which shows another specific implementation after step S1, which is described in detail as follows:
S1A:若风速档位状态发生改变,则从存储模块中获取上一风速档位状态的历史状态信息,作为初始风速档位状态信息。S1A: If the wind speed gear state changes, the historical state information of the previous wind speed gear state is obtained from the storage module as the initial wind speed gear state information.
S1B:计算初始风速档位状态信息与当前状态信息的间隔时间,作为第二间隔时间。S1B: Calculate the interval time between the initial wind speed gear status information and the current status information as the second interval time.
S1C:若第二间隔时间未超过第二预设时间,则判定存在空调耗电操作,并发出示警信息。S1C: If the second interval time does not exceed the second preset time, it is determined that there is an air-conditioning power-consuming operation, and a warning message is issued.
具体地,若在短时间内频繁调整空调风速档位的情况时,此时空调的耗电情况也会增加,此时也会发出示警信息提醒用户。在本申请实施例中,若是风速档位状态发生改变,则从存储模块中获取上一风速档位状态的历史状态信息,作为初始风速档位状态信息;计算初始风速档位状态信息与当前状态信息的间隔时间,作为第二间隔时间;若第二间隔时间未超过第二预设时间,则判定存在空调耗电操作,并发出示警信息。若第二间隔时间超过第二预设时间,说明隔了较长时间,再次调整风速档位,此时的空调操作较为合理。Specifically, if the air conditioner wind speed level is frequently adjusted in a short period of time, the power consumption of the air conditioner will also increase, and an alarm message will be issued to remind the user. In an embodiment of the present application, if the wind speed level status changes, the historical status information of the previous wind speed level status is obtained from the storage module as the initial wind speed level status information; the interval time between the initial wind speed level status information and the current status information is calculated as the second interval time; if the second interval time does not exceed the second preset time, it is determined that there is an air conditioner power consumption operation, and an alarm message is issued. If the second interval time exceeds the second preset time, it means that after a long time, the wind speed level is adjusted again, and the air conditioner operation is more reasonable at this time.
需要说明的是,第二预设时间根据实际情况进行设定,此处不作限定。在一具体实施例中,第二预设时间为30分钟。请参见如下表2,表2记录着一个具体实施例中的初始风速档位状态信息和当前状态信息。It should be noted that the second preset time is set according to actual conditions and is not limited here. In a specific embodiment, the second preset time is 30 minutes. Please refer to the following Table 2, which records the initial wind speed gear state information and current state information in a specific embodiment.
表2Table 2
在表2中记录着初始风速档位状态信息与当前状态信息的风速分别为低档风和高档风,所以两者的时间间隔为20分钟,而两者的风速档位状态时相反的,由于时间间隔低于第二预设时间30分钟,所以判定出该空调在短时间内频繁实施了风速档位调整操作,而该操作存在耗电增加的情况,所以此时空调发出示警信息。Table 2 records the initial wind speed level status information and the current status information as low wind and high wind respectively, so the time interval between the two is 20 minutes, and the wind speed level states of the two are opposite. Since the time interval is lower than the second preset time of 30 minutes, it is determined that the air conditioner has frequently implemented wind speed level adjustment operations in a short period of time, and this operation results in increased power consumption, so the air conditioner issues an alarm message at this time.
S2、从存储模块中获取空调的置顶历史状态信息。S2. Obtain the top-setting historical status information of the air conditioner from the storage module.
具体地,置顶历史状态信息是指存储模块中存储在首位的历史状态信息,也即在距离当前状态信息生成时间最近的一条历史状态信息。其中,历史状态信息是指之前空调状态发生改变时所生成的状态信息。Specifically, the top historical status information refers to the historical status information stored in the first place in the storage module, that is, the historical status information that is closest to the generation time of the current status information. The historical status information refers to the status information generated when the air conditioner status changes before.
请参阅图4,图4示出了步骤S2之前的另一种具体实施方式,详叙如下:Please refer to FIG. 4 , which shows another specific implementation before step S2, which is described in detail as follows:
S21:判断存储模块中是否存在置顶历史状态信息,得到判断结果。S21: Determine whether there is top-fixed historical status information in the storage module, and obtain a determination result.
S22:若判断结果为存在置顶历史状态信息,则执行从存储模块中获取空调的置顶历史状态信息的步骤。S22: If the result of the determination is that the historical status information of the air conditioner is present, the step of acquiring the historical status information of the air conditioner from the storage module is executed.
S23:若判断结果为未存在置顶历史状态信息,则将当前状态信息存储于存储模块中。S23: If the judgment result is that there is no top historical status information, the current status information is stored in the storage module.
具体地,在实施步骤S2之前,本申请实施例还判断存储模块中是否存在置顶历史状态信息;若存储模块中不存在置顶历史状态信息,说明此时存储模块中也不存在其他历史状态信息,所以空调是刚刚开机状态或者是很久没有发生过状态改变了,此时的存储模块中的历史状态信息还没有生成,或者是历史状态信息已经被完全删除。所以当判断结果为未存在置顶历史状态信息,则将当前状态信息存储于存储模块中,并结束后续流程;而若判断结果为存在置顶历史状态信息,则执行从存储模块中获取空调的置顶历史状态信息的步骤,也即执行后续步骤S3。Specifically, before implementing step S2, the embodiment of the present application also determines whether there is top historical status information in the storage module; if there is no top historical status information in the storage module, it means that there is no other historical status information in the storage module at this time, so the air conditioner has just been turned on or has not changed its state for a long time, and the historical status information in the storage module at this time has not been generated, or the historical status information has been completely deleted. Therefore, when the judgment result is that there is no top historical status information, the current status information is stored in the storage module and the subsequent process ends; and if the judgment result is that there is top historical status information, the step of obtaining the top historical status information of the air conditioner from the storage module is executed, that is, the subsequent step S3 is executed.
请参阅图5,图5示出了步骤S2之后的另一种具体实施方式,详叙如下:Please refer to FIG. 5 , which shows another specific implementation after step S2, which is described in detail as follows:
S2A:分别获取当前状态信息与置顶历史状态信息中的温度信息,得到当前温度和历史温度。S2A: respectively obtain the temperature information in the current state information and the top historical state information to obtain the current temperature and the historical temperature.
S2B:计算历史温度与当前温度的差值,得到温度差。S2B: Calculate the difference between the historical temperature and the current temperature to obtain the temperature difference.
S2C:若温度差超过预设温度阈值,则判定存在空调耗电操作,并发出示警信息。S2C: If the temperature difference exceeds the preset temperature threshold, it is determined that the air conditioner is consuming power and a warning message is issued.
具体地,若空调在两次状态改变时,温度调整过大时,也会增加空调的耗电。所以在本申请实施例中,分别获取当前状态信息与置顶历史状态信息中的温度信息,得到当前温度和历史温度;再计算历史温度与当前温度的差值,得到温度差;若温度差超过预设温度阈值,则判定存在空调耗电操作,并发出示警信息;若是温度差没有超过预设温度阈值,则说明此时的温度调整较为合理。Specifically, if the temperature of the air conditioner is adjusted too much when the state changes twice, the power consumption of the air conditioner will also increase. Therefore, in the embodiment of the present application, the temperature information in the current state information and the top historical state information are obtained respectively to obtain the current temperature and the historical temperature; then the difference between the historical temperature and the current temperature is calculated to obtain the temperature difference; if the temperature difference exceeds the preset temperature threshold, it is determined that there is a power-consuming operation of the air conditioner, and a warning message is issued; if the temperature difference does not exceed the preset temperature threshold, it means that the temperature adjustment at this time is relatively reasonable.
需要说明的是,设温度阈值根据实际情况进行设定,此处不作限定。在一具体实施例中,预设温度阈值为10摄氏度。It should be noted that the temperature threshold is set according to actual conditions and is not limited here. In a specific embodiment, the preset temperature threshold is 10 degrees Celsius.
请参见如下表3,表3记录着一个具体实施例中的置顶历史状态信息和当前状态信息。Please refer to the following Table 3, which records the top historical status information and current status information in a specific embodiment.
表3table 3
在表3中记录着置顶历史状态信息与当前状态信息的温度分别为27摄氏度和15摄氏度,所以两者的温度差为12摄氏度,由于温度差(12摄氏度)超过预设温度阈值(10摄氏度),所以判定出该空调在短时间内频繁实施了较大温度的调整,而该操作存在耗电增加的情况,所以此时空调发出示警信息。Table 3 records that the temperatures of the top historical status information and the current status information are 27 degrees Celsius and 15 degrees Celsius respectively, so the temperature difference between the two is 12 degrees Celsius. Since the temperature difference (12 degrees Celsius) exceeds the preset temperature threshold (10 degrees Celsius), it is determined that the air conditioner has frequently implemented a large temperature adjustment in a short period of time, and this operation results in increased power consumption, so the air conditioner issues an alarm message at this time.
S3、判断当前状态信息与置顶历史状态信息是否存在互斥模式。S3. Determine whether the current status information and the top historical status information have mutually exclusive modes.
具体地,互斥模式是指空调中存在相反操作的模式状态。例如,制冷模式和制热模式属于相反操作的模式状态,所以这两种模式状态为互斥模式。例如,睡眠模式和固定模式在空调的模式状态中属于相互相反的操作。固定模式需要风速、温度等根据时间进行动态调整;而固定模式则需要保持风速、温度等一直保持一致,所以睡眠模式和固定模式也属于互斥模式。Specifically, mutually exclusive modes refer to mode states in which opposite operations exist in the air conditioner. For example, cooling mode and heating mode belong to mode states of opposite operations, so these two mode states are mutually exclusive modes. For example, sleep mode and fixed mode are mutually opposite operations in the mode states of the air conditioner. Fixed mode requires dynamic adjustment of wind speed, temperature, etc. according to time; while fixed mode requires keeping wind speed, temperature, etc. consistent at all times, so sleep mode and fixed mode are also mutually exclusive modes.
请参阅图5,图5示出了步骤S3的另一种具体实施方式,详叙如下:Please refer to FIG. 5 , which shows another specific implementation of step S3, which is described in detail as follows:
S31:根据预设的模式类型,分别获取当前状态信息与置顶历史状态信息中的多种模式状态,得到多种当前模式状态和多种历史模式状态。S31: According to a preset mode type, respectively obtain multiple mode states in the current state information and the top historical state information to obtain multiple current mode states and multiple historical mode states.
S32:将多种当前模式状态和多种历史模式状态对应进行对比,得到对比结果。S32: Compare the multiple current mode states with the multiple historical mode states to obtain a comparison result.
S33:若对比结果中存在至少一种相反操作的模式状态,则判定当前状态信息与置顶历史状态信息存在互斥模式。S33: If there is at least one mode state of opposite operation in the comparison result, it is determined that the current state information and the top historical state information have mutually exclusive modes.
S34:若对比结果中未存在相反操作的模式状态,则判定当前状态信息与置顶历史状态信息未存在互斥模式。S34: If the comparison result does not contain a mode state of the opposite operation, it is determined that the current state information and the top historical state information do not contain mutually exclusive modes.
具体地,在实施步骤S3之前,本申请实施例还将存在互斥模式的模式类型进行归类,作为预设的模式类型,在后续需要进行模式状态的判定时,可以获取对应的模式状态信息。需要说的是,预设的模式类型根据实际情况进行设定,存储不作限定。在一具体实施例中,预设的模式类型包括模式1(模式1包括制冷模式和制热模式)和模式2(模式2包括睡眠模式和固定模式)。Specifically, before implementing step S3, the embodiment of the present application also classifies the mode types of mutually exclusive modes as preset mode types, and when the mode state needs to be determined later, the corresponding mode state information can be obtained. It should be noted that the preset mode type is set according to the actual situation, and the storage is not limited. In a specific embodiment, the preset mode types include mode 1 (mode 1 includes cooling mode and heating mode) and mode 2 (mode 2 includes sleep mode and fixed mode).
本申请实施例中,根据预设的模式类型,分别获取当前状态信息与置顶历史状态信息中的多种模式状态,得到多种当前模式状态和多种历史模式状态。例如分别获取当前状态信息与置顶历史状态信息中的模式1和模式2。然后将多种当前模式状态和多种历史模式状态对应进行对比,得到对比结果;若对比结果中存在至少一种相反操作的模式状态,则判定当前状态信息与置顶历史状态信息存在互斥模式;若对比结果中未存在相反操作的模式状态,则判定当前状态信息与置顶历史状态信息未存在互斥模式。In the embodiment of the present application, according to the preset mode type, multiple mode states in the current state information and the top historical state information are obtained respectively, and multiple current mode states and multiple historical mode states are obtained. For example, mode 1 and mode 2 in the current state information and the top historical state information are obtained respectively. Then, the multiple current mode states and the multiple historical mode states are compared correspondingly to obtain a comparison result; if there is at least one mode state of opposite operation in the comparison result, it is determined that the current state information and the top historical state information have mutually exclusive modes; if there is no mode state of opposite operation in the comparison result, it is determined that the current state information and the top historical state information do not have mutually exclusive modes.
请参见如下表4,表4记录着另一个具体实施例中的置顶历史状态信息和当前状态信息。Please refer to the following Table 4, which records the top historical status information and current status information in another specific embodiment.
表4Table 4
在表4中记录着置顶历史状态信息的模式1(制冷)和模式2(睡眠模式),当前状态信息的模式1(制热)和模式2(睡眠模式)。将置顶历史状态信息和当前状态信息的模式状态对应进行对比发现,两者的模式2均为睡眠模式,而两者的模式1这是分别采用了制冷和制热。所以对比结果中存在了一种相反操作的模式状态,所以判定当前状态信息与置顶历史状态信息存在互斥模式,而该操作存在耗电增加的情况,所以此时空调发出示警信息。Table 4 records the modes 1 (cooling) and 2 (sleep mode) of the top historical status information, and the modes 1 (heating) and 2 (sleep mode) of the current status information. By comparing the mode states of the top historical status information and the current status information, it is found that the mode 2 of both is the sleep mode, while the mode 1 of both is cooling and heating respectively. Therefore, there is a mode state of opposite operation in the comparison result, so it is determined that the current status information and the top historical status information have mutually exclusive modes, and the operation has the situation of increased power consumption, so the air conditioner sends out a warning message at this time.
S4、若当前状态信息与置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。S4. If the current status information and the top historical status information have mutually exclusive patterns, it is determined that there is an air-conditioning power-consuming operation, and a warning message is issued.
具体地,若当前状态信息与置顶历史状态信息存在互斥模式,说明此时空调的模式切换操作存在空调耗电操作,容易造成资源浪费,所以空调发出示警信息,以提醒用户此时对空调的操作不合理。Specifically, if the current status information and the top historical status information have mutually exclusive modes, it means that the air conditioner mode switching operation at this time consumes power and easily causes waste of resources, so the air conditioner sends out a warning message to remind the user that the operation of the air conditioner at this time is unreasonable.
请参阅图7,图7示出了步骤S4之后的一种具体实施方式,详叙如下:Please refer to FIG. 7 , which shows a specific implementation after step S4, which is described in detail as follows:
S4A:将当前状态信息进行置顶存储于存储模块中。S4A: The current status information is stored in the storage module.
S4B:若存储模块中存在历史状态信息超过预设存储时间,则将超过预设存储时间的历史状态信息进行删除。S4B: If the historical status information in the storage module exceeds the preset storage time, the historical status information exceeding the preset storage time is deleted.
具体地,在判断此时空调是否存在空调耗电操作后,本申请实施例将当前状态信息进行置顶存储于存储模块中,此时的当前状态信息作为下一次空调的状态改变时的置顶历史状态信息。所以在下一次空调的状态发生改变时,可以获取存储在存储模块中的置顶历史状态信息,从而进行空调耗电操作的判断。Specifically, after determining whether the air conditioner has any power-consuming operation at this time, the embodiment of the present application stores the current status information on top in the storage module, and the current status information at this time serves as the top historical status information when the state of the air conditioner changes next time. Therefore, when the state of the air conditioner changes next time, the top historical status information stored in the storage module can be obtained to determine the power-consuming operation of the air conditioner.
进一步地,判断存储模块中是否存在历史状态信息超过预设存储时间;若存在,则将超过预设存储时间的历史状态信息进行删除。从而避免了历史状态信息存储过多,造成数据冗余,增加空调的负载。Furthermore, it is determined whether there is any historical status information in the storage module that exceeds the preset storage time; if so, the historical status information that exceeds the preset storage time is deleted, thereby avoiding excessive storage of historical status information, causing data redundancy, and increasing the load of the air conditioner.
本实施例中,当空调的状态发生改变时,获取空调的当前状态信息;从存储模块中获取空调的置顶历史状态信息;判断当前状态信息与置顶历史状态信息是否存在互斥模式;若当前状态信息与置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。本发明实施例通过判断当前状态信息与置顶历史状态信息是否存在互斥模式,从而检测出空调是否存在耗电操作,有利于提高空调耗电检测精准度,减少了由于用户操作不当造成的资源浪费。In this embodiment, when the state of the air conditioner changes, the current state information of the air conditioner is obtained; the top historical state information of the air conditioner is obtained from the storage module; it is determined whether the current state information and the top historical state information have mutually exclusive patterns; if the current state information and the top historical state information have mutually exclusive patterns, it is determined that there is a power-consuming operation of the air conditioner, and an alarm message is issued. The embodiment of the present invention determines whether the current state information and the top historical state information have mutually exclusive patterns, thereby detecting whether there is a power-consuming operation of the air conditioner, which is conducive to improving the accuracy of air conditioner power consumption detection and reducing resource waste caused by improper user operation.
本发明实施例还提供一种空调耗电检测装置,该空调耗电检测装置用于执行前述空调耗电检测方法的任一实施例。具体地,请参阅图8,图8为本发明实施例提供的空调耗电检测装置的示意性框图。The embodiment of the present invention further provides an air conditioner power consumption detection device, which is used to execute any embodiment of the above-mentioned air conditioner power consumption detection method. Specifically, please refer to Figure 8, which is a schematic block diagram of the air conditioner power consumption detection device provided by the embodiment of the present invention.
其中,如图8所示,空调耗电检测装置5包括当前状态信息获取单元51、置顶历史状态信息获取单元52、互斥模式判断单元53和空调耗电操作判定单元 54。As shown in FIG. 8 , the air conditioner power consumption detection device 5 includes a current state information acquisition unit 51 , a top history state information acquisition unit 52 , a mutually exclusive mode determination unit 53 and an air conditioner power consumption operation determination unit 54 .
当前状态信息获取单元51,用于当空调的状态发生改变时,获取空调的当前状态信息;The current state information acquisition unit 51 is used to acquire the current state information of the air conditioner when the state of the air conditioner changes;
置顶历史状态信息获取单元52,用于从存储模块中获取空调的置顶历史状态信息;The top setting history status information acquisition unit 52 is used to acquire the top setting history status information of the air conditioner from the storage module;
互斥模式判断单元53,用于判断当前状态信息与置顶历史状态信息是否存在互斥模式;A mutually exclusive mode determination unit 53, used to determine whether the current state information and the top historical state information have mutually exclusive modes;
空调耗电操作判定单元54,用于若当前状态信息与置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。The air conditioner power consumption operation determination unit 54 is used to determine that there is an air conditioner power consumption operation and issue a warning message if the current status information and the top historical status information have mutually exclusive patterns.
进一步地,互斥模式判断单元53包括:Further, the mutually exclusive mode determination unit 53 includes:
根据预设的模式类型,分别获取当前状态信息与置顶历史状态信息中的多种模式状态,得到多种当前模式状态和多种历史模式状态;According to the preset mode type, multiple mode states in the current state information and the top historical state information are respectively obtained to obtain multiple current mode states and multiple historical mode states;
将多种当前模式状态和多种历史模式状态对应进行对比,得到对比结果;Compare the multiple current mode states with the multiple historical mode states to obtain comparison results;
若对比结果中存在至少一种相反操作的模式状态,则判定当前状态信息与置顶历史状态信息存在互斥模式;If there is at least one mode state of opposite operation in the comparison result, it is determined that the current state information and the top historical state information have mutually exclusive modes;
若对比结果中未存在相反操作的模式状态,则判定当前状态信息与置顶历史状态信息未存在互斥模式。If the comparison result does not contain a mode state of the opposite operation, it is determined that the current state information and the top historical state information do not have mutually exclusive modes.
进一步地,空调耗电操作判定单元54之后还包括:Furthermore, the air conditioner power consumption operation determination unit 54 further includes:
将当前状态信息进行置顶存储于存储模块中;The current status information is stored in the storage module;
若存储模块中存在历史状态信息超过预设存储时间,则将超过预设存储时间的历史状态信息进行删除。If the historical status information in the storage module exceeds the preset storage time, the historical status information exceeding the preset storage time will be deleted.
进一步地,当前状态信息获取单元51之后还包括:Furthermore, the current state information acquiring unit 51 further includes:
若开关机状态发生改变,则从存储模块中获取空调开机时的历史状态信息,作为初始开机状态信息;If the power on/off state changes, the historical state information when the air conditioner is turned on is obtained from the storage module as the initial power on state information;
计算初始开机状态信息与当前状态信息的间隔时间,作为第一间隔时间;Calculate the interval between the initial startup status information and the current status information as the first interval;
若第一间隔时间未超过第一预设时间,则判定存在空调耗电操作,并发出示警信息。If the first interval time does not exceed the first preset time, it is determined that there is a power-consuming operation of the air conditioner, and a warning message is issued.
进一步地,当前状态信息获取单元51之后还包括:Furthermore, the current state information acquiring unit 51 further includes:
若风速档位状态发生改变,则从存储模块中获取上一风速档位状态的历史状态信息,作为初始风速档位状态信息;If the wind speed gear state changes, the historical state information of the previous wind speed gear state is obtained from the storage module as the initial wind speed gear state information;
计算初始风速档位状态信息与当前状态信息的间隔时间,作为第二间隔时间;Calculate the interval between the initial wind speed gear state information and the current state information as the second interval time;
若第二间隔时间未超过第二预设时间,则判定存在空调耗电操作,并发出示警信息。If the second interval time does not exceed the second preset time, it is determined that there is a power-consuming operation of the air conditioner, and a warning message is issued.
进一步地,置顶历史状态信息获取单元52之后还包括:Furthermore, the top history status information acquisition unit 52 further includes:
分别获取当前状态信息与置顶历史状态信息中的温度信息,得到当前温度和历史温度;Respectively obtain the temperature information in the current state information and the top historical state information to obtain the current temperature and the historical temperature;
计算历史温度与当前温度的差值,得到温度差;Calculate the difference between the historical temperature and the current temperature to obtain the temperature difference;
若温度差超过预设温度阈值,则判定存在空调耗电操作,并发出示警信息。If the temperature difference exceeds the preset temperature threshold, it is determined that the air conditioner is consuming power and a warning message is issued.
进一步地,置顶历史状态信息获取单元52之前还包括:Furthermore, before the top history status information acquisition unit 52, the following is further included:
判断存储模块中是否存在置顶历史状态信息,得到判断结果;Determine whether there is top history status information in the storage module, and obtain a determination result;
若判断结果为存在置顶历史状态信息,则执行从存储模块中获取空调的置顶历史状态信息的步骤;If the judgment result is that there is top-setting historical status information, the step of acquiring the top-setting historical status information of the air conditioner from the storage module is executed;
若判断结果为未存在置顶历史状态信息,则将当前状态信息存储于存储模块中。If the judgment result is that there is no top historical status information, the current status information is stored in the storage module.
本实施例中,当空调的状态发生改变时,获取空调的当前状态信息;从存储模块中获取空调的置顶历史状态信息;判断当前状态信息与置顶历史状态信息是否存在互斥模式;若当前状态信息与置顶历史状态信息存在互斥模式,则判定存在空调耗电操作,并发出示警信息。本发明实施例通过判断当前状态信息与置顶历史状态信息是否存在互斥模式,从而检测出空调是否存在耗电操作,有利于提高空调耗电检测精准度,减少了由于用户操作不当造成的资源浪费。In this embodiment, when the state of the air conditioner changes, the current state information of the air conditioner is obtained; the top historical state information of the air conditioner is obtained from the storage module; it is determined whether the current state information and the top historical state information have mutually exclusive patterns; if the current state information and the top historical state information have mutually exclusive patterns, it is determined that there is a power-consuming operation of the air conditioner, and an alarm message is issued. The embodiment of the present invention determines whether the current state information and the top historical state information have mutually exclusive patterns, thereby detecting whether there is a power-consuming operation of the air conditioner, which is conducive to improving the accuracy of air conditioner power consumption detection and reducing resource waste caused by improper user operation.
上述空调耗电检测装置可以实现为计算机程序的形式,该计算机程序可以在如图9所示的空调上运行。The above-mentioned air conditioner power consumption detection device can be implemented in the form of a computer program, and the computer program can be run on the air conditioner as shown in Figure 9.
请参阅图9,图9是本发明实施例提供的空调的示意性框图。该空调500包括通过装置总线501连接的处理器502、存储器和网络接口505,其中,存储器可以包括存储介质503和内存储器504。Please refer to FIG9 , which is a schematic block diagram of an air conditioner provided by an embodiment of the present invention. The air conditioner 500 includes a processor 502 , a memory and a network interface 505 connected via a device bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .
该存储介质503可存储操作装置5031和计算机程序5032。该计算机程序 5032被执行时,可使得处理器502执行空调耗电检测方法。The storage medium 503 can store an operating device 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute the air conditioner power consumption detection method.
该处理器502用于提供计算和控制能力,支撑整个空调500的运行。The processor 502 is used to provide computing and control capabilities to support the operation of the entire air conditioner 500.
该内存储器504为存储介质503中的计算机程序5032的运行提供环境,该计算机程序5032被处理器502执行时,可使得处理器502执行空调耗电检测方法。The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the air conditioner power consumption detection method.
该网络接口505用于进行网络通信,如提供数据信息的传输等。本领域技术人员可以理解,图5中示出的结构,仅仅是与本发明方案相关的部分结构的框图,并不构成对本发明方案所应用于其上的空调500的限定,具体的空调500 可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The network interface 505 is used for network communication, such as providing transmission of data information, etc. Those skilled in the art can understand that the structure shown in FIG5 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the air conditioner 500 to which the solution of the present invention is applied. The specific air conditioner 500 may include more or less components than those shown in the figure, or combine certain components, or have different component arrangements.
其中,处理器502用于运行存储在存储器中的计算机程序5032,以实现本发明实施例公开的空调耗电检测方法。The processor 502 is used to run the computer program 5032 stored in the memory to implement the air conditioner power consumption detection method disclosed in the embodiment of the present invention.
本领域技术人员可以理解,图9中示出的空调的实施例并不构成对空调具体构成的限定,在其他实施例中,空调可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。例如,在一些实施例中,空调可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图9 所示实施例一致,在此不再赘述。Those skilled in the art will appreciate that the embodiment of the air conditioner shown in FIG. 9 does not constitute a limitation on the specific configuration of the air conditioner. In other embodiments, the air conditioner may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, in some embodiments, the air conditioner may only include a memory and a processor. In such an embodiment, the structure and function of the memory and the processor are consistent with the embodiment shown in FIG. 9 and will not be described in detail herein.
应当理解,在本发明实施例中,处理器502可以是中央处理单元(CentralProcessing Unit,CPU),该处理器502还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
在本发明的另一实施例中提供计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以为易失性的计算机可读存储介质。该计算机可读存储介质存储有计算机程序,其中计算机程序被处理器执行时实现本发明实施例公开的空调耗电检测方法。In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the air conditioner power consumption detection method disclosed in the embodiment of the present invention is implemented.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的设备、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为逻辑功能划分,实际实现时可以有另外的划分方式,也可以将具有相同功能的单元集合成一个单元,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be an electrical, mechanical or other form of connection.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention 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. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,后台服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括: U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a background server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), disk or optical disk and other media that can store program codes.
以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211503972.3A CN115717756B (en) | 2022-11-28 | 2022-11-28 | Air conditioner power consumption detection method and device, air conditioner and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211503972.3A CN115717756B (en) | 2022-11-28 | 2022-11-28 | Air conditioner power consumption detection method and device, air conditioner and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115717756A CN115717756A (en) | 2023-02-28 |
CN115717756B true CN115717756B (en) | 2024-06-18 |
Family
ID=85256875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211503972.3A Active CN115717756B (en) | 2022-11-28 | 2022-11-28 | Air conditioner power consumption detection method and device, air conditioner and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115717756B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104236008A (en) * | 2013-06-21 | 2014-12-24 | 海尔集团公司 | Air conditioner and automatic control method for operational mode thereof |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1834936A (en) * | 2005-03-14 | 2006-09-20 | 佛山市顺德区顺达电脑厂有限公司 | Power consumption monitoring system |
JP4892271B2 (en) * | 2006-04-13 | 2012-03-07 | 新日本空調株式会社 | Air conditioning system |
CN201497119U (en) * | 2009-09-03 | 2010-06-02 | 海信科龙电器股份有限公司 | Manual double-mode switching air-conditioner |
US10060643B2 (en) * | 2012-05-14 | 2018-08-28 | Mitsubishi Electric Corporation | Air-conditioning apparatus and air-conditioning system executing a precooling operation or a preheating operation |
JP2014211294A (en) * | 2013-04-22 | 2014-11-13 | 日立アプライアンス株式会社 | Remote controller and air conditioning system including remote controller |
US10175276B2 (en) * | 2014-11-26 | 2019-01-08 | Sense Labs, Inc. | Identifying and categorizing power consumption with disaggregation |
CN104930647B (en) * | 2015-05-29 | 2018-03-27 | 广东美的制冷设备有限公司 | control method, control system and air conditioner |
CN105958442A (en) * | 2016-06-15 | 2016-09-21 | 维沃移动通信有限公司 | Overheat protection method and circuit and mobile terminal |
CN111002784B (en) * | 2019-12-03 | 2021-05-07 | 珠海格力电器股份有限公司 | Intelligent electric quantity control method, computer readable storage medium and air conditioner |
WO2021214858A1 (en) * | 2020-04-21 | 2021-10-28 | 日立ジョンソンコントロールズ空調株式会社 | Air conditioner and management device |
-
2022
- 2022-11-28 CN CN202211503972.3A patent/CN115717756B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104236008A (en) * | 2013-06-21 | 2014-12-24 | 海尔集团公司 | Air conditioner and automatic control method for operational mode thereof |
Non-Patent Citations (1)
Title |
---|
空调智能节电器设计开发;刘暾东;吴昌才;韩尧;;计算机工程与应用;20070621(第18期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115717756A (en) | 2023-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110578986B (en) | Control method and device of air conditioner, air conditioner and computer readable storage medium | |
CN112128944B (en) | Method, device and air conditioner for humidity control of air conditioner | |
CN111964234A (en) | Method and device for controlling air conditioner compressor and air conditioner | |
CN113932426B (en) | Control method, control system, electronic equipment and storage medium for air-conditioning power limitation | |
CN114608158B (en) | Method and device for controlling direct-current air conditioner and air conditioner | |
WO2021088359A1 (en) | Air conditioner shutdown control method and apparatus, and air conditioner | |
CN115079800A (en) | Intelligent heat dissipation control method and system for IOT (input/output) of server | |
CN115717756B (en) | Air conditioner power consumption detection method and device, air conditioner and storage medium | |
CN114608145A (en) | Control method and control device for air conditioner, air conditioner and storage medium | |
CN114704934A (en) | Method and device for controlling direct current air conditioner and direct current air conditioner | |
CN108279755A (en) | Server fan management method, device, system and computer readable storage medium | |
CN107763798B (en) | Air conditioner compressor control method, computer device and computer readable storage medium | |
CN115076916A (en) | Control method and control system for air conditioner sterilization, electronic equipment and storage medium | |
CN107203455B (en) | Method and system for preventing over-discharge of backup power module when a storage system is powered off and a fan hangs | |
WO2022166165A1 (en) | Air conditionder self-cleaning control method and device, and air conditioner | |
CN112594893B (en) | Method and device for air conditioner heating control and air conditioner | |
CN115264832A (en) | Control method, control system, electronic device and storage medium for air-conditioning sterilization | |
CN114738954A (en) | Air conditioner fresh air fan control method and system | |
CN115788934B (en) | PSU fan control method, device and electronic equipment based on air pressure detection | |
CN118729487A (en) | Air conditioner power failure protection detection method, device, equipment and storage medium | |
CN115451622B (en) | Method and device for fault detection, drying system and storage medium | |
CN113251574B (en) | Compressor frequency control method and device, electronic equipment and storage medium | |
CN116345451B (en) | Operation control method and device for variable frequency temperature control load and terminal equipment | |
CN115628523B (en) | Air conditioning control method, device, equipment and storage medium | |
CN112146237B (en) | Method and device for controlling the operation of air conditioner, and air conditioner |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |