CN114216252B - Air conditioner sleep mode control method, air conditioner and computer readable storage medium - Google Patents

Air conditioner sleep mode control method, air conditioner and computer readable storage medium Download PDF

Info

Publication number
CN114216252B
CN114216252B CN202111584636.1A CN202111584636A CN114216252B CN 114216252 B CN114216252 B CN 114216252B CN 202111584636 A CN202111584636 A CN 202111584636A CN 114216252 B CN114216252 B CN 114216252B
Authority
CN
China
Prior art keywords
sleep mode
preset
air conditioner
range
sleep
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
Application number
CN202111584636.1A
Other languages
Chinese (zh)
Other versions
CN114216252A (en
Inventor
张守信
刘汉
李建建
王烨
芦静
陈志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111584636.1A priority Critical patent/CN114216252B/en
Publication of CN114216252A publication Critical patent/CN114216252A/en
Application granted granted Critical
Publication of CN114216252B publication Critical patent/CN114216252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode
    • F24F11/66Sleep mode
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides an air conditioner sleep mode control method, an air conditioner and a computer readable storage medium, wherein the method comprises the following steps: when the air conditioner is in a working state, acquiring an indoor volume value and indoor brightness; and when the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity drop rate within the first preset time, judging whether the current indoor volume value, the current indoor brightness and the current time are within a preset sleep mode entering judgment range, and if so, starting the sleep mode. The air conditioner sleep mode control method can improve the air conditioner sleep mode control precision.

Description

Air conditioner sleep mode control method, air conditioner and computer readable storage medium
Technical Field
The invention relates to the technical field of air conditioners, in particular to an air conditioner sleep mode control method, an air conditioner applying the air conditioner sleep mode control method and a computer readable storage medium applying the air conditioner sleep mode control method.
Background
At present, intelligence and health are a great trend of household air conditioner development, more and more functions are matched with the household air conditioner, and an intelligent sleep mode is also one of the functions. The intelligent sleep mode is a working mode which is started when a user sleeps so as to meet the temperature regulation requirement when the user sleeps. The sleep mode generally needs a user to input an instruction through a remote controller or voice so as to enter the corresponding mode, and the operation is not simple and convenient enough and is easy to forget.
In order to improve user experience, in the existing air conditioner sleep mode, whether the air conditioner needs to enter the sleep mode is determined by automatically acquiring brightness, noise, human body movement and the like of an indoor environment, but the method controls the air conditioner to enter the sleep mode only by determining that the brightness, the volume and the like reach threshold conditions. However, the environment of the air conditioner and the work and rest habits of people have great difference, and a single sleep judgment scheme has great defects, which easily causes inaccurate starting time of the sleep mode and affects user experience.
Disclosure of Invention
The first purpose of the invention is to provide an air conditioner sleep mode control method for improving the control precision of the air conditioner sleep mode.
A second object of the present invention is to provide an air conditioner that improves the control accuracy of a sleep mode of the air conditioner.
It is a third object of the present invention to provide a computer-readable storage medium for improving the control accuracy of a sleep mode of an air conditioner.
In order to achieve the first object, the air conditioner sleep mode control method provided by the invention comprises the following steps: when the air conditioner is in a working state, acquiring an indoor volume value and indoor brightness; and when the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity drop rate within the first preset time, judging whether the current indoor volume value, the current indoor brightness and the current time are within a preset sleep mode entering judgment range, and if so, starting the sleep mode.
According to the scheme, when the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity drop rate in the first preset time, the method for controlling the sleep mode of the air conditioner confirms that the initial condition of the user for sleeping is met, then further judges whether the current indoor volume value, the current indoor brightness and the current time are within the preset sleep mode entering judgment range, controls the air conditioner to start the sleep mode after the conditions are met, and can improve the control precision of the sleep mode of the air conditioner through a plurality of judgment factors.
In a further aspect, the presetting of the sleep mode entering determination range includes: the current indoor volume value is in the first volume value range, the current indoor brightness is in the first brightness range, and the current time is in the preset sleep time.
Therefore, whether the current environment parameters accord with the sleep mode can be determined by judging whether the current indoor volume value is in the first volume value range, the current indoor brightness is in the first brightness range and the current time is in the preset sleep time.
In a further aspect, after the step of starting the sleep mode, the method further includes: acquiring sleep time for entering a sleep mode; and when the condition of exiting the sleep mode corresponding to the sleep duration is met, exiting the sleep mode.
Therefore, after the sleep mode is started, the opportunity of exiting the sleep mode needs to be judged, and different temperature requirements exist in different time periods when a user sleeps, so that the condition of exiting the sleep mode needs to be determined according to the sleep duration of entering the sleep mode, and the accuracy of controlling to exit the sleep mode is improved.
In a further aspect, when a condition of exiting the sleep mode corresponding to the sleep duration is satisfied, the step of exiting the sleep mode includes: when the sleep time length of entering the sleep mode is in a first time length range, if the change rate of the indoor sound volume value in a second preset time length is in a first preset sound rising rate range and the change rate of the indoor brightness is in a first preset illumination intensity rising rate range, exiting the sleep mode; when the sleep duration of entering the sleep mode is in a second duration range, if the change rate of the indoor volume value in a third preset duration is in a second preset sound rising rate range and the change rate of the indoor brightness is in a first preset illumination intensity rising rate range, judging whether the current indoor volume value, the current indoor brightness and the current time are in a preset sleep mode exit judgment range, and if so, exiting the sleep mode; the lower limit value of the second time length range is larger than the upper limit value of the first time length range, the lower limit value of the second preset sound rising rate range is larger than the upper limit value of the first preset sound rising rate range, and the lower limit value of the second preset illumination intensity rising rate range is larger than the upper limit value of the second preset illumination intensity rising rate range.
Therefore, the different sleep stages are judged in a segmented mode in consideration of the fact that the user is different between the shallow sleep stage and the deep sleep stage, and the accuracy of exiting the sleep mode can be improved.
In a further aspect, the preset sleep mode exit determination range includes: the current indoor volume value is in the second volume value range, the current indoor brightness is in the second brightness range, and the current time is outside the preset sleep time.
Therefore, whether the environmental parameters meet the requirement of exiting the sleep mode or not can be determined by judging that the current indoor volume value is in the second volume value range, the current indoor brightness is in the second brightness range and the current time is beyond the preset sleep time.
In a further aspect, after the step of exiting the sleep mode, the method further includes: if the current moment is out of the preset sleep time, judging whether the current indoor volume value is in the first threshold range and lasts for a fourth preset time, and if so, reducing the air conditioner operation power to the preset power.
Therefore, after the user exits the sleep mode, the user is in the waking state, and the user is in the absence of people in the room by confirming that the indoor volume value is in the first threshold range and continues for the fourth preset time, so that the operating power of the air conditioner is reduced, and the energy-saving state is achieved.
In a further aspect, after the step of reducing the operating power of the air conditioner to the preset power, the method further includes: and if the current indoor volume value is in the first threshold range and lasts for a fifth preset time, closing the air conditioner.
Therefore, after the operating power is reduced to the preset power, if the current indoor volume value is within the first threshold range and lasts for the fifth preset duration, it is determined that the user leaves and forgets to turn off the air conditioner, and at the moment, the air conditioner is automatically turned off, so that the energy consumption is saved.
In a further aspect, after the step of exiting the sleep mode, the method further includes: and if the current moment is within the preset sleep time, judging to enter the sleep mode in the next round.
Therefore, if the current time is in the preset sleep time, it indicates that the user still needs to sleep, and therefore, the next round of judgment for entering the sleep mode needs to be performed again, so as to re-enter the sleep mode.
In order to achieve the second object of the present invention, the present invention provides an air conditioner including a processor and a memory, wherein the memory stores a computer program, and the computer program implements the steps of the above-mentioned air conditioner sleep mode control method when being executed by the processor.
In order to achieve the third object of the present invention, the present invention provides a computer readable storage medium having stored thereon a computer program, which when executed by a controller, implements the steps of the air conditioner sleep mode control method described above.
Drawings
Fig. 1 is a flowchart of an embodiment of an air conditioner sleep mode control method according to the present invention.
Fig. 2 is a flowchart of determining to exit from the sleep mode in the embodiment of the sleep mode control method of the air conditioner of the present invention.
Fig. 3 is a flowchart executed after exiting from the sleep mode in the embodiment of the sleep mode control method of the air conditioner of the present invention.
The invention is further explained with reference to the drawings and the embodiments.
Detailed Description
The embodiment of the air conditioner sleep mode control method comprises the following steps:
the method for controlling the sleep mode of the air conditioner in the embodiment is an application program applied to the air conditioner and used for controlling the sleep mode.
As shown in fig. 1, in the present embodiment, when the air conditioner sleep mode control method is in operation, step S1 is executed first, and when the air conditioner is in an operating state, an indoor volume value and indoor brightness are obtained. After the air conditioner is started and enters a working state, the indoor volume value and the indoor brightness can be obtained in real time, the indoor volume value can be obtained through a sound sensor of the air conditioner, and the indoor brightness can be obtained through a light brightness sensor of the air conditioner.
After the indoor volume value and the indoor brightness are obtained, step S2 is executed to judge whether the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity drop rate for the first preset time. The first preset time, the preset sound reduction rate and the preset illumination intensity reduction rate are preset according to experimental data. When a user needs to sleep, the indoor volume value and the indoor brightness change, for example, the change rate of the indoor volume value and the change rate of the indoor brightness change greatly within a period of time before and after sleeping, so that whether the user is ready to sleep can be determined by judging whether the change rate of the indoor volume value is greater than a preset sound drop rate and the change rate of the indoor brightness is greater than a preset illumination intensity drop rate for a first preset time.
And when the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity reduction rate when the first preset time length is not met, returning to execute the step S1 and carrying out next judgment.
And when the change rate of the indoor volume value is greater than the preset sound drop rate and the change rate of the indoor brightness is greater than the preset illumination intensity reduction rate within the first preset time, executing the step S3, and judging whether the current indoor volume value, the current indoor brightness and the current time are within the preset sleep mode entering judgment range. Wherein, presetting the sleep mode entering judgment range comprises: the current indoor volume value is in the first volume value range, the current indoor brightness is in the first brightness range, and the current time is in the preset sleep time. The first volume value range, the first brightness range and the preset sleep time can be set according to the environment where the air conditioner is located, for example, the first volume value range is less than or equal to 30dB, the first brightness range is lower than 0.2lux, and the preset sleep time is night 22:30 to 7 in the morning: 30. when the user is confirmed to be ready to sleep through the change rate of the indoor volume value and the change rate of the indoor brightness, in order to avoid that the user does not really fall asleep, for example, the user may play a mobile phone and chase after turning off the light in bed, or turn off the main light and turn on a night light, etc., further judgment needs to be performed on the current indoor volume value, the current indoor brightness and the current time, so as to improve the accuracy of entering the sleep mode.
And if the current indoor volume value, the current indoor brightness and the current time do not meet the preset sleep mode entering judgment range, returning to the step S1 to perform the next judgment.
And if the current indoor volume value, the current indoor brightness and the current time are within the preset sleep mode entering judgment range, executing the step S4 and starting the sleep mode. And when the user is confirmed to be ready to sleep through the change rate of the indoor volume value and the change rate of the indoor brightness, and the current indoor volume value, the current indoor brightness and the current time meet the preset sleep mode entering judgment range, the user is indicated to fall asleep, and at the moment, the sleep mode is started so as to meet the sleep requirement of the user.
In addition, since there may be a case where the rate of change of the indoor volume value in the first preset time period does not reach the set value at the same time as the rate of change of the indoor brightness, for example, the rate of change of the indoor volume value in the first preset time period reaches the set value and the rate of change of the indoor brightness does not reach the set value. When the conditions which are not satisfied simultaneously occur, carrying out delay judgment: when the change rate of the indoor volume value reaches or the change rate of the indoor brightness meets a set value, judging whether the other change rate in the period of t later reaches the set value, if so, executing the next step, and judging whether the current indoor volume value, the current indoor brightness and the current time are within a preset sleep mode entering judgment range; if the sleep mode cannot be triggered within the time period t, the user directly enters the sleep mode after the time period t is finished, and the situation that the user cannot enter the sleep state is avoided. Wherein t can be set according to experimental data, and in the embodiment, t is less than 60min.
And after the sleep mode is started, executing the step S5 to obtain the sleep time length for entering the sleep mode. After the sleep mode is started, the condition for exiting the sleep mode needs to be determined according to the sleep duration for entering the sleep mode.
And after the sleep duration of entering the sleep mode is acquired, executing the step S6, and judging whether the condition of exiting the sleep mode corresponding to the sleep duration is met. Different sleep time lengths are correspondingly provided with different sleep quitting conditions, and when the current sleep time length is determined, whether the current environment parameters are met or not is judged according to the sleep quitting condition corresponding to the sleep time length.
And if the condition of exiting the sleep mode corresponding to the sleep time length is not met, returning to execute the step S5, and continuously monitoring the sleep time length entering the sleep mode. And if the condition of exiting the sleep mode corresponding to the sleep duration is met, executing the step S7 and exiting the sleep mode.
Referring to fig. 2, in this embodiment, when determining whether the condition of exiting from the sleep mode corresponding to the sleep duration is satisfied, step S10 is executed first, and it is determined whether the sleep duration entering into the sleep mode is in the first duration range. Wherein the first time length range is preset according to experimental data. In this embodiment, the first time period range is within 20 minutes after entering the sleep mode.
When the sleep time is within the first time range, step S20 is executed to determine whether the change rate of the volume value in the room is greater than the first preset sound rise rate range and the change rate of the indoor brightness is greater than the first preset illumination intensity rise rate range in the second preset time. When the sleep duration is within the first duration range, the user may not enter the deep sleep stage, and the action of getting up may be stored, so that to make the sleep mode more suitable for the actual sleep state of the user, it needs to be determined whether the change rate of the indoor volume value within the second preset duration is greater than the first preset sound rise rate range and the change rate of the indoor brightness is greater than the first preset illumination intensity rise rate range, so as to determine whether the user gets up to move.
And when the change rate of the indoor volume value in the second preset duration is larger than the first preset sound rise rate range and the change rate of the indoor brightness is larger than the first preset illumination intensity rise rate range, executing the step S7 and exiting the sleep mode. And when the change rate of the indoor volume value within the second preset duration is not greater than the first preset sound rise rate range and the change rate of the indoor brightness is not greater than the first preset illumination intensity rise rate range, continuing to execute the step S10 to perform continuous detection.
When step S10 is executed, if the sleep duration is not in the first duration range, step S30 is executed to determine whether the sleep duration entering the sleep mode is in the second duration range. Wherein the first time length range is preset according to experimental data. In this embodiment, the second time period range is greater than 20 minutes for entering the sleep mode.
And if the sleep time length which does not meet the requirement of entering the sleep mode is in the second time length range, returning to execute S10. If the sleep duration of the sleep mode is within the second duration range, step S40 is executed to determine whether a change rate of the indoor volume value within a third preset duration is greater than the second preset sound rise rate range and a change rate of the indoor brightness is greater than the second preset illumination intensity rise rate range. The lower limit value of the second time length range is greater than the upper limit value of the first time length range, the lower limit value of the second preset sound rising rate range is greater than the upper limit value of the first preset sound rising rate range, and the lower limit value of the second preset illumination intensity rising rate range is greater than the upper limit value of the first preset illumination intensity rising rate range. If the sleeping time is in the second time range, the user is in a sound sleeping stage, the air conditioner needs to enter a stable operation sleeping mode stage, and at the moment, the second preset sound rising rate range is properly increased, so that the situation that the user accidentally exits the sleeping mode due to fluctuation of the indoor environment value, for example, outdoor noise and overhigh brightness caused by lightning strike and the like cause fluctuation of the indoor environment value is avoided.
When the change rate of the indoor volume value within the third preset duration is greater than the second preset sound rise rate range and the change rate of the indoor brightness is greater than the second preset illumination intensity rise rate range, step S50 is executed to determine whether the current indoor volume value, the current indoor brightness and the current time are within the preset sleep mode exit determination range. Wherein, the preset sleep mode exiting judgment range comprises: the current indoor volume value is in the second volume value range, the current indoor brightness is in the second brightness range, and the current time is outside the preset sleep time. The second volume value range and the second brightness range are set according to the environment of the air conditioner. When the change rate of the indoor volume value within the third preset time is larger than the second preset sound rising rate range and the change rate of the indoor brightness is larger than the second preset illumination intensity rising rate range, the possibility that the user gets up is indicated. For further confirmation, it is determined whether the current indoor volume value, the current indoor brightness, and the current time are within a preset sleep mode exit determination range.
And if the current indoor volume value, the current indoor brightness and the current time do not meet the preset sleep mode exit judgment range, continuing to execute the step S50 for continuous detection. And if the current indoor volume value, the current indoor brightness and the current time are within the preset sleep mode exit judgment range, executing the step S7 to exit the sleep mode. After the possibility of getting up of the user is judged according to the change rate of the volume value and the change rate of the indoor brightness, if the current indoor volume value, the current indoor brightness and the current time are detected to be within the preset sleep mode exiting judgment range, the user is indicated to have got up, and therefore the user can exit the sleep mode and enter the normal operation mode.
In addition, since a case may occur in which the rate of change of the indoor volume value in the third preset time period does not reach the set value at the same time as the rate of change of the indoor brightness, for example, the rate of change of the indoor volume value in the third preset time period reaches the set value and the rate of change of the indoor brightness does not reach the set value. When the conditions which are not satisfied simultaneously occur, carrying out delay judgment: when the change rate of the indoor volume value reaches or the change rate of the indoor brightness meets a set value, judging whether the other change rate in the period of t1 later reaches the set value, if so, executing the next step, and judging whether the current indoor volume value, the current indoor brightness and the current time are in a preset sleep mode exit judgment range; if the sleep mode quitting can not be triggered in the t1 time period, the sleep mode is directly quitted after the t1 time period is finished, and the condition that the sleep state can not be quitted is avoided. Wherein, t1 can be set according to experimental data, and in this embodiment, t1 is less than 60min.
After the step of exiting the sleep mode, in order to further control the air conditioner, in this embodiment, referring to fig. 3, after exiting the sleep mode, step S100 is executed to determine whether the current time is within the preset sleep time. The operation of the air conditioner needs to be controlled differently within the preset sleep time and after exiting the sleep mode outside the preset sleep time. Therefore, it is necessary to first determine whether the current time is within the preset sleep time.
If the current time is within the preset sleep time, step S200 is executed to determine that the next round of sleep mode entry is performed, that is, the operation steps after step S2 are executed again. If the current time is in the preset sleep time, it indicates that the user still needs to sleep, and therefore, the next round of judgment for entering the sleep mode needs to be performed again, so as to re-enter the sleep mode.
If the current time is out of the preset sleep time, step S300 is executed to determine whether the current indoor volume value is within the first threshold range and lasts for a fourth preset duration. The first threshold range and the fourth preset time are set according to user requirements. Outside the preset sleep time at the present moment, the user gets up to move, the sleep mode is not required to be entered any more, at the moment, the air conditioner continuously and normally operates and wastes electricity in order to avoid that the user does not move indoors, and therefore, whether the current indoor volume value is in the first threshold range or not and whether the current indoor volume value lasts for the fourth preset time length or not is judged, and whether the user moves indoors or not is confirmed.
If the current indoor volume value does not satisfy the first threshold range and lasts for the fourth preset time period, the step S300 is continuously executed to perform continuous detection.
If the current indoor volume value is within the first threshold range and lasts for a fourth preset time, step S400 is executed to reduce the air conditioner operating power to a preset power. When the current indoor volume value is within the first threshold range and lasts for the fourth preset time, it indicates that the user is not moving indoors, and in order to avoid electric power waste, the air conditioner operating power is reduced to the preset power.
After the air conditioner running power is reduced to the preset power, step S500 is executed, and it is determined whether the indoor volume value is within the first threshold range and lasts for a fifth preset duration, where the fifth preset duration is set according to the user requirement, and the fifth preset duration is greater than the fourth preset duration. In order to avoid that the user forgets to turn off the air conditioner when going out, it is required to determine whether the volume value in the front room is within the first threshold range and lasts for a fifth preset time period.
If the current indoor volume value does not satisfy the first threshold range and lasts for the fifth preset time period, the process returns to step S400. If the current indoor volume value is within the first threshold range and lasts for a fifth preset time, step S600 is executed to turn off the air conditioner. If the current indoor volume value is within the first threshold range and lasts for the fifth preset time, it indicates that the user forgets to turn off the air conditioner, and therefore the air conditioner needs to be automatically turned off so as to save electric power.
The embodiment of the air conditioner is as follows:
the air conditioner of the embodiment comprises a controller, and the controller executes the computer program to realize the steps of the air conditioner sleep mode control method embodiment.
For example, a computer program may be partitioned into one or more modules, which are stored in a memory and executed by a controller to implement the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the air conditioner.
The air conditioner may include, but is not limited to, a controller, a memory. Those skilled in the art will appreciate that an air conditioner may include more or fewer components, or combine certain components, or different components, e.g., an air conditioner may also include input output devices, network access devices, buses, etc.
For example, the controller may be a Central Processing Unit (CPU), other general purpose controller, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic, discrete hardware components, and so on. The general controller may be a microcontroller or the controller may be any conventional controller or the like. The controller is the control center of the air conditioner, and various interfaces and lines are used for connecting all parts of the whole air conditioner.
The memory may be used to store computer programs and/or modules, and the controller may implement various functions of the air conditioner by operating or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. For example, the memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Computer-readable storage medium embodiments:
the air conditioner integrated module of the above embodiment, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, all or part of the flow of the above embodiments of the method for controlling the sleep mode of the air conditioner may also be implemented by a computer program instructing related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a controller, the steps of the above embodiments of the method for controlling the sleep mode of the air conditioner may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, software distribution medium, etc. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
It should be noted that the above is only a preferred embodiment of the present invention, but the design concept of the present invention is not limited thereto, and insubstantial modifications of the present invention using the design concept also fall within the protection scope of the present invention.

Claims (8)

1. A control method for a sleep mode of an air conditioner is characterized by comprising the following steps: the method comprises the following steps:
when the air conditioner is in a working state, acquiring an indoor volume value and indoor brightness;
when the change rate of the indoor volume value is greater than a preset sound drop rate and the change rate of the indoor brightness is greater than a preset illumination intensity drop rate within a first preset duration, judging whether the current indoor volume value, the current indoor brightness and the current time are within a preset sleep mode entering judgment range, and if so, starting a sleep mode;
acquiring sleep time for entering a sleep mode;
when the condition of exiting the sleep mode corresponding to the sleep duration is met, exiting the sleep mode;
wherein, when the condition of exiting the sleep mode corresponding to the sleep duration is satisfied, the step of exiting the sleep mode includes:
when the sleep duration of the sleep mode is in a first duration range, if the change rate of the indoor volume value in a second preset duration is in a first preset sound rising rate range and the change rate of the indoor brightness is in a first preset illumination intensity rising rate range, exiting the sleep mode;
when the sleep duration of the sleep mode is in a second duration range, if the change rate of the indoor volume value is in a second preset sound rising rate range and the change rate of the indoor brightness is in a second preset illumination intensity rising rate range within a third preset duration, judging whether the current indoor volume value, the current indoor brightness and the current time are in a preset sleep mode exit judgment range, and if so, exiting the sleep mode;
the lower limit value of the second time length range is greater than the upper limit value of the first time length range, the lower limit value of the second preset sound rising rate range is greater than the upper limit value of the first preset sound rising rate range, and the lower limit value of the second preset illumination intensity rising rate range is greater than the upper limit value of the first preset illumination intensity rising rate range.
2. The sleep mode control method of an air conditioner according to claim 1, wherein:
the preset sleep mode entering determination range includes: the current indoor volume value is in a first volume value range, the current indoor brightness is in a first brightness range, and the current time is in the preset sleep time.
3. The air conditioner sleep mode control method as claimed in claim 1 or 2, wherein:
the preset sleep mode exit determination range includes: the current indoor volume value is in a second volume value range, the current indoor brightness is in a second brightness range, and the current time is outside the preset sleep time.
4. The sleep mode control method of an air conditioner according to claim 3, wherein:
after the step of exiting the sleep mode, further comprising:
if the current moment is out of the preset sleep time, judging whether the current indoor volume value is in the first threshold range and lasts for a fourth preset time, and if so, reducing the air conditioner operation power to the preset power.
5. The sleep mode control method of an air conditioner according to claim 4, wherein:
after the step of reducing the air conditioner operating power to the preset power, the method further comprises the following steps:
and if the current indoor volume value is within the first threshold range and lasts for a fifth preset time, closing the air conditioner.
6. The sleep mode control method of an air conditioner according to claim 3, wherein:
after the step of exiting the sleep mode, further comprising:
and if the current moment is within the preset sleep time, judging to enter the sleep mode in the next round.
7. An air conditioner, includes treater and memory, its characterized in that: the memory stores a computer program that when executed by the processor implements the steps of the air conditioner sleep mode control method as set forth in any one of claims 1 to 6.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a controller, implements the steps of the air conditioner sleep mode control method as claimed in any one of claims 1 to 6.
CN202111584636.1A 2021-12-22 2021-12-22 Air conditioner sleep mode control method, air conditioner and computer readable storage medium Active CN114216252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111584636.1A CN114216252B (en) 2021-12-22 2021-12-22 Air conditioner sleep mode control method, air conditioner and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111584636.1A CN114216252B (en) 2021-12-22 2021-12-22 Air conditioner sleep mode control method, air conditioner and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114216252A CN114216252A (en) 2022-03-22
CN114216252B true CN114216252B (en) 2022-12-09

Family

ID=80705177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111584636.1A Active CN114216252B (en) 2021-12-22 2021-12-22 Air conditioner sleep mode control method, air conditioner and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114216252B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114738960B (en) * 2022-04-20 2023-08-11 安徽奥克斯智能电气有限公司 Sound control method and device and air conditioner

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04236051A (en) * 1991-01-14 1992-08-25 Matsushita Electric Ind Co Ltd Sleeping device
CN101639273A (en) * 2009-08-26 2010-02-03 陈秋池 Automatic monitoring instrument for temperature of air conditioner
CN104713200A (en) * 2015-03-18 2015-06-17 广东美的制冷设备有限公司 Control method and control device for air conditioner
CN106357902A (en) * 2016-09-12 2017-01-25 努比亚技术有限公司 Reminding device, mobile terminal and reminding method
CN106765886A (en) * 2016-11-29 2017-05-31 美的集团武汉制冷设备有限公司 The control method and air-conditioner of air-conditioner
CN107484068A (en) * 2017-10-25 2017-12-15 解君 A kind of domestic intelligent audio amplifier and its control method
CN109140718A (en) * 2017-06-27 2019-01-04 奥克斯空调股份有限公司 A kind of air conditioner intelligent control sleep method and its air conditioner
CN110072319A (en) * 2019-05-29 2019-07-30 赵睿博 A kind of domestic intelligent emergency light and its implementation method of meeting an urgent need
CN111288605A (en) * 2020-03-06 2020-06-16 苏州艾科西尔电气有限公司 Module-based interactive control system
WO2020217384A1 (en) * 2019-04-25 2020-10-29 三菱電機株式会社 Environment control system and environment control method
CN113074453A (en) * 2021-03-12 2021-07-06 珠海格力电器股份有限公司 Air conditioner sleep mode control method and device and air conditioner

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103574830B (en) * 2012-07-20 2016-02-24 珠海格力电器股份有限公司 Air-conditioner and control method thereof and control device
CN111148189B (en) * 2018-11-02 2022-09-30 展讯半导体(南京)有限公司 User terminal, control method thereof, and computer-readable storage medium
CN109737569A (en) * 2019-01-17 2019-05-10 奥克斯空调股份有限公司 A kind of control method of sleep pattern, device and air conditioner
CN110094852A (en) * 2019-05-29 2019-08-06 珠海格力电器股份有限公司 Sleep pattern control method, device, system and the air-conditioning of temperature control equipment
CN112611024B (en) * 2020-11-30 2023-02-03 青岛海尔空调电子有限公司 Air conditioner and sleep mode control method, storage medium and control device thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04236051A (en) * 1991-01-14 1992-08-25 Matsushita Electric Ind Co Ltd Sleeping device
CN101639273A (en) * 2009-08-26 2010-02-03 陈秋池 Automatic monitoring instrument for temperature of air conditioner
CN104713200A (en) * 2015-03-18 2015-06-17 广东美的制冷设备有限公司 Control method and control device for air conditioner
CN106357902A (en) * 2016-09-12 2017-01-25 努比亚技术有限公司 Reminding device, mobile terminal and reminding method
CN106765886A (en) * 2016-11-29 2017-05-31 美的集团武汉制冷设备有限公司 The control method and air-conditioner of air-conditioner
CN109140718A (en) * 2017-06-27 2019-01-04 奥克斯空调股份有限公司 A kind of air conditioner intelligent control sleep method and its air conditioner
CN107484068A (en) * 2017-10-25 2017-12-15 解君 A kind of domestic intelligent audio amplifier and its control method
WO2020217384A1 (en) * 2019-04-25 2020-10-29 三菱電機株式会社 Environment control system and environment control method
CN110072319A (en) * 2019-05-29 2019-07-30 赵睿博 A kind of domestic intelligent emergency light and its implementation method of meeting an urgent need
CN111288605A (en) * 2020-03-06 2020-06-16 苏州艾科西尔电气有限公司 Module-based interactive control system
CN113074453A (en) * 2021-03-12 2021-07-06 珠海格力电器股份有限公司 Air conditioner sleep mode control method and device and air conditioner

Also Published As

Publication number Publication date
CN114216252A (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN111295022B (en) Light control method and system
CN105302174B (en) bathroom humidity adjusting method, bathroom mirror and adjusting system
CN114216252B (en) Air conditioner sleep mode control method, air conditioner and computer readable storage medium
CN107726545B (en) Air conditioner control method, electronic device, and computer-readable storage medium
CN204465920U (en) Lighting device
CN110500721A (en) A kind of air-conditioning sound control method, device and air conditioner
CN111645493A (en) Parking air conditioner and control method and device thereof
CN114151912A (en) Air conditioner control method and device and air conditioner
CN110553361A (en) Air conditioner control method and device, storage medium and electrical equipment
CN110740550B (en) Control method and device for story accompanying lamp, story accompanying lamp and storage medium
CN111895580A (en) Air conditioner anti-disturbance control method and device and air conditioner
CN113932389A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113531844A (en) Control method and system for noise reduction of air conditioner, electronic equipment and storage medium
CN114724558A (en) Method and device for voice control of air conditioner, air conditioner and storage medium
CN111594994A (en) Fresh air port valve adjusting method, computer device and computer readable storage medium
CN115899985A (en) Air conditioner control method and device, air conditioner and storage medium
CN111385945B (en) Intelligent panel control method, device and system, electronic equipment and storage medium
CN110701737B (en) Air conditioner temperature compensation setting method, computer device and computer readable storage medium
CN114279074B (en) Sleep awakening control method, control system, air conditioner and household appliance
CN113260113B (en) LED drive control method and device capable of steplessly setting constant illumination value
CN114815635A (en) Computer readable storage medium, intelligent panel and voice interaction method thereof
CN111200894A (en) Intelligent toilet lighting control method and system
AU2012244272B2 (en) Adaptive light sensitive switching device
CN115183316B (en) Control method, device and equipment of heating equipment and storage medium
CN112015100B (en) Intelligent switch authority adjusting method and device, intelligent switch and storage medium

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