Summary of the invention
In view of this, the purpose of the present invention is to provide air conditioning control method, device, electronic equipment and computer-readable depositing
Storage media, to alleviate the case where existing air-conditioning is easy to produce complete hot, half heat, Quan Leng, half cold frequent switching, cause compressor with
Heater frequent start-stop increases energy consumption, and the technical issues of be easily reduced compressor and heater life.
In a first aspect, the embodiment of the invention provides a kind of air conditioning control methods, comprising:
When outdoor temperature is within the scope of set temperature, judge whether the difference of room temperature and indoor target temperature is little
In first threshold;
If it is, being heated or being freezed to set power;Wherein, the heating when setting power does not include full heat
Power and it is complete cold when refrigeration work consumption;
Judge whether the room temperature and the difference of the indoor target temperature are not more than second threshold;Wherein, described
Second threshold is less than the first threshold;
If it is, stopping heating or refrigeration, and open ventilation mode.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
It states and judges whether the difference of room temperature and indoor target temperature is not more than first when outdoor temperature is within the scope of set temperature
The step of threshold value, comprising:
When outdoor temperature is within the scope of set temperature, judge whether air-conditioning is heating mode;
If it is the heating mode, then judge whether the difference of the room temperature and the indoor target temperature is little
In the first threshold;
If it is not, then judging whether air-conditioning is refrigeration mode;
If it is the refrigeration mode, then judge whether the difference of the room temperature and the indoor target temperature is little
In the first threshold.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute
State set temperature range and be divided into multiple and different temperature ranges, and multiple temperature ranges respectively correspond it is different described
First threshold and the second threshold, the method also includes:
Outdoor temperature is obtained, and judges the outdoor temperature whether within the scope of the set temperature;
If it is, the temperature range according to locating for the outdoor temperature determines the first threshold and second threshold
Value.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute
Stating set temperature range is 10 DEG C~22 DEG C.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein institute
State method further include:
When the outdoor temperature is not within the scope of the set temperature, heating power or refrigeration work consumption are not limited.
Second aspect, the embodiment of the present invention also provide a kind of air conditioning control device, including temperature equalization module, the temperature
Balance module is used for:
When outdoor temperature is within the scope of set temperature, judge whether the difference of room temperature and indoor target temperature is little
In first threshold;
If it is, being heated or being freezed to set power;Wherein, the heating when setting power does not include full heat
Power and it is complete cold when refrigeration work consumption;
Judge whether the room temperature and the difference of the indoor target temperature are not more than second threshold;Wherein, described
Second threshold is less than the first threshold;
If it is, stopping heating or refrigeration, and open ventilation mode.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute
Temperature equalization module is stated to be also used to:
When outdoor temperature is within the scope of set temperature, judge whether air-conditioning is heating mode;
If it is the heating mode, then judge whether the difference of the room temperature and the indoor target temperature is little
In the first threshold;
If it is not, then judging whether air-conditioning is refrigeration mode;
If it is the refrigeration mode, then judge whether the difference of the room temperature and the indoor target temperature is little
In the first threshold.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute
Stating set temperature range includes multiple and different temperature ranges, and multiple temperature ranges respectively correspond different described
One threshold value and the second threshold, further include threshold determination module, and the threshold determination module is used for:
Outdoor temperature is obtained, and judges the outdoor temperature whether within the scope of the set temperature;
If it is, the temperature range according to locating for the outdoor temperature determines the first threshold and second threshold
Value.
The third aspect the embodiment of the invention also provides a kind of electronic equipment, including memory, processor and is stored in institute
The computer program that can be run on memory and on the processor is stated, the processor executes real when the computer program
Now the step of air conditioning control method as described above.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages
Computer program is stored on medium, which executes air conditioning control method as described above when being run by processor
Step.
The embodiment of the present invention bring it is following the utility model has the advantages that
The present invention provides a kind of air conditioning control methods, comprising: when outdoor temperature is within the scope of set temperature, judges room
Whether the difference of interior temperature and indoor target temperature is not more than first threshold;If it is, being heated or being made to set power
It is cold;Wherein, heating power when setting power does not include full heat and it is complete cold when refrigeration work consumption;Judge the room temperature with
Whether the difference of the indoor target temperature is not more than second threshold;Wherein, the second threshold is less than the first threshold;Such as
Fruit is then to stop heating or freeze, and open ventilation mode.When room temperature and indoor target temperature are close, pass through limitation
Heating power or refrigeration work consumption are heated or are freezed so that half heat or half are cold;Rise or fall room temperature slowly to mesh
Mark temperature, avoid due to over-heating or refrigeration excessively cause heating, refrigeration frequent switching, and then avoid compressor and plus
Hot device frequent start-stop extends the service life of compressor and heater to save energy consumption.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Existing air-conditioning is when temperature and indoor target temperature are close indoors, is easy to produce complete hot, half heat, Quan Leng, half cold
The case where frequent switching, leads to compressor and heater frequent start-stop, increases energy consumption, and be easily reduced compressor and heater
Service life.Based on this, a kind of air conditioning control method provided in an embodiment of the present invention, device, electronic equipment and computer-readable deposit
Storage media, avoid due to over-heating or refrigeration excessively cause heating, refrigeration frequent switching, and then avoid compressor and plus
Hot device frequent start-stop extends the service life of compressor and heater to save energy consumption.
For convenient for understanding the present embodiment, first to a kind of air conditioning control method disclosed in the embodiment of the present invention into
Row is discussed in detail.
Fig. 1 shows the flow chart of air conditioning control method provided in an embodiment of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of air conditioning control method, can be used for all passing through airconditioning control
The scene of temperature, especially relatively high to temperature control requirement scene, such as EMU air-conditioning etc..In the embodiment of the present invention,
It obtains outdoor temperature, indoor temperature first and indoor target temperature is put down when outdoor temperature is within the scope of set temperature by temperature
The module that weighs executes following steps:
Step S101, judges whether the difference of room temperature and indoor target temperature is not more than first threshold;If it is,
Execute step S102;
In this step, when outdoor temperature is within the scope of set temperature, judge whether air-conditioning is heating mode;
Specifically, heating power is obtained, judges whether heating power is greater than 0;If heating power is greater than 0, for heating
Mode, judges whether the difference of room temperature and indoor target temperature is not more than first threshold at this time;If heating power is equal to
0, then it is not heating mode, judges whether air-conditioning is refrigeration mode;
Similarly, refrigeration work consumption is obtained, judges whether refrigeration work consumption is greater than 0;If refrigeration work consumption is greater than 0, for refrigeration
Mode, judges whether the difference of room temperature and indoor target temperature is not more than first threshold at this time;If refrigeration work consumption is equal to
0, then it is not refrigeration mode.
Step S102 is heated or is freezed to set power;Wherein, heating power when setting power does not include full heat
And refrigeration work consumption when complete cold;
In specific implementation, it is heated with the heating element for setting power control air-conditioning, or to set power control
Cooling module freezes.Generally, air-conditioning includes multiple heating levels and refrigerant level, for example, can be by heating levels point
It is complete hot and half heat, refrigerant level is divided into complete cold and half is cold;Here, in practical applications, multiple groups heating may be usually set
Element and multiple groups cooling module;When multiple groups heating element all starts, for full heat;When the group number of the heating element of starting is one
When half, for half heat;It similarly, is Quan Leng when multiple groups cooling module all starts;When the group number of the cooling module of starting is one
It is half cold when half.Certainly, heating levels be not limited to it is complete it is hot, half hot, complete cold and half is cold, the heating element or cooling module of starting
Group number can also be greater than half or be less than half.In addition, can pass through when heating element and cooling module only have one group
Intermittency check heating element or cooling module close one point to limit heating power or refrigeration work consumption, such as starting one minute
Clock circuits sequentially.
In the present embodiment, when the difference of room temperature and indoor target temperature is not more than first threshold, limitation heating
Power is full heat or refrigeration work consumption is Quan Leng, i.e., heating power when heating power is less than complete hot, refrigeration work consumption is less than complete cold
When heating power, such as can be half heat or half cold, can specifically be set according to the actual situation.
When the difference of room temperature and indoor target temperature reaches first threshold, start to limit heating power or the function that freezes
Rate, so that heating rate or rate of temperature fall are reduced, so that room temperature is slowly close to indoor target temperature.
Step S103, judges whether the difference of room temperature and indoor target temperature is not more than second threshold;Wherein, second
Threshold value is less than first threshold;If so, thening follow the steps S104;
Step S104 stops heating or refrigeration, and opens ventilation mode.
In this step, if air-conditioning is currently heating mode, heating element is closed, while opening ventilation;If empty
Adjusting currently is refrigeration mode, then closes cooling module, while opening ventilation;I.e. when room temperature and indoor target temperature are into one
When walking close, room temperature is balanced using ventilation.It rises or falls room temperature slowly to indoor target temperature, avoids
Refrigeration, heating frequent switching, reduce air conditioning energy consumption, and extend the service life of compressor and heater, reduce the dimension in product later period
Protect cost.
In one embodiment, due to when outdoor temperature is located at different temperature ranges, the heating efficiency of air-conditioning and
Refrigerating efficiency is all different, and therefore, the set temperature range of above-mentioned outdoor temperature is divided into multiple and different temperature models
It encloses, and multiple temperature ranges respectively correspond different first threshold and second threshold, i.e., according to outdoor temperature to first threshold
Stepping is carried out with second threshold, equalized temperature effect is made to reach more excellent.Further, as shown in Fig. 2, method further include:
Step S201 obtains outdoor temperature;
Whether step S202 judges outdoor temperature within the scope of set temperature;If so, thening follow the steps S203;
Step S203, the temperature range according to locating for outdoor temperature determine first threshold and second threshold.
In specific implementation, set temperature may range from 10 DEG C~22 DEG C, can also be other ranges, setting temperature certainly
Degree range can for example be divided into following temperature range: 10 DEG C~14 DEG C;14 DEG C~18 DEG C;It 18 DEG C~22 DEG C, certainly can be with
Other different temperature ranges are divided into, herein with no restrictions, different temperature ranges corresponds to different first thresholds (difference 1)
With second threshold (difference 2), for example, have following stepping result:
10 DEG C < outdoor temperature < 14 DEG C: 1=a of difference;2=b of difference;
14 DEG C≤outdoor temperature < 18 DEG C: 1=c of difference;2=d of difference;
18 DEG C≤outdoor temperature < 22 DEG C: 1=e of difference;2=f of difference.
Further, method further include: when outdoor temperature is not within the scope of set temperature, do not limit heating power or system
Cold power.
Specifically, when set temperature range is 10 DEG C~22 DEG C, under normal circumstances, it is not more than 10 DEG C in outdoor temperature
When, do not allow to start and freeze;When outdoor temperature is not less than 22 DEG C, does not allow to start and heat.Therefore, little for outdoor temperature
In 10 DEG C the case where, heating power is not limited;And the case where 22 DEG C are not less than for outdoor temperature, refrigeration work consumption is not limited,
To reach preferable heating effect and refrigeration effect.
As shown in figure 3, the embodiment of the present invention also provides a kind of air conditioning control device, including temperature equalization module 20, temperature
Balance module 20 is used for:
When outdoor temperature is within the scope of set temperature, judge whether the difference of room temperature and indoor target temperature is little
In first threshold;
If it is, being heated or being freezed to set power;
Judge whether the difference of room temperature and indoor target temperature is not more than second threshold;Wherein, second threshold is less than
First threshold;
If it is, stopping heating or refrigeration, and open ventilation mode.
In the embodiment of the present invention, temperature equalization module 20 is also used to:
When outdoor temperature is within the scope of set temperature, judge whether air-conditioning is heating mode;
If it is heating mode, then judge whether the difference of room temperature and indoor target temperature is not more than first threshold;
If it is not, then judging whether air-conditioning is refrigeration mode;
If it is refrigeration mode, then judge whether the difference of room temperature and indoor target temperature is not more than first threshold.
In one embodiment, set temperature range includes multiple and different temperature range, and multiple temperature ranges
Different first threshold and second threshold are respectively corresponded, further includes threshold determination module 10, threshold determination module 10 is used for:
Outdoor temperature is obtained, and judges outdoor temperature whether within the scope of set temperature;
If it is, the temperature range according to locating for outdoor temperature determines first threshold and second threshold.
The technical effect and preceding method embodiment phase of device provided by the embodiment of the present invention, realization principle and generation
Together, to briefly describe, Installation practice part does not refer to place, can refer to corresponding contents in preceding method embodiment.
Air conditioning control device provided in an embodiment of the present invention has identical with air conditioning control method provided by the above embodiment
Technical characteristic reach identical technical effect so also can solve identical technical problem.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor, and being stored in memory can locate
The computer program run on reason device, processor realize air conditioning control method provided by the above embodiment when executing computer program
The step of.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the step of air conditioning control method of above-described embodiment is executed when computer program is run by processor.
Referring to fig. 4, the embodiment of the present invention also provides a kind of electronic equipment 1000, comprising: processor 500, memory 501,
Bus 502 and communication interface 503, processor 500, communication interface 503 and memory 501 are connected by bus 502;Memory
501 for storing program;Processor 500 is used to call the program being stored in memory 501 by bus 502, executes above-mentioned
The air conditioning control method of embodiment.
Wherein, memory 501 may include high-speed random access memory (RAM, Random Access Memory),
It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely
A few communication interface 503(can be wired or wireless) realize leading between the system network element and at least one other network element
Letter connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 502 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, number
According to bus, control bus etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus convenient for indicating
Or a type of bus.
Wherein, memory 501 is for storing program, and processor 500 executes described program after receiving and executing instruction,
Method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to processor
In 500, or realized by processor 500.
Processor 500 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization
Each step of method can be completed by the integrated logic circuit of the hardware in processor 500 or the instruction of software form.On
The processor 500 stated can be general processor, including central processing unit (Central Processing Unit, abbreviation
CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital
Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated
Circuit, abbreviation ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or
Person other programmable logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute sheet
Disclosed each method, step and logic diagram in inventive embodiments.General processor can be microprocessor or the processing
Device is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in
Hardware decoding processor executes completion, or in decoding processor hardware and software module combination execute completion.Software mould
Block can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory 501, and processor 500 reads memory
Information in 501, in conjunction with the step of its hardware completion above method.
In the description of the present invention, it should be noted that term " first ", " second ", " third " are used for description purposes only,
It is not understood to indicate or imply relative importance.
The computer program product of air conditioning control method is carried out provided by the embodiment of the present invention, including stores processor
The computer readable storage medium of executable non-volatile program code, the instruction that said program code includes can be used for executing
Previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with
Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.