Method, apparatus, electronic device and storage medium for controlling air conditioner

By monitoring users' voice information and blink frequency, the system automatically adjusts the air conditioner temperature, solving the problem of users experiencing physical discomfort during gameplay and improving the user experience of the air conditioner.

CN115264876BActive Publication Date: 2025-11-18QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210824229.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-14
Publication Date
2025-11-18
Estimated Expiration
2042-07-14

AI Technical Summary

Technical Problem

When users are playing games, the air conditioner cannot automatically adjust the temperature, causing discomfort.

Method used

By monitoring the user's voice information and blink frequency, the system automatically adjusts the air conditioner's operating temperature and calculates temperature correction values ​​based on changes in blink frequency to adjust the air conditioner's set temperature.

Benefits of technology

It enables automatic temperature adjustment of the air conditioner, improving the user experience in gaming scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115264876B_ABST
    Figure CN115264876B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of air conditioners, and discloses a method for controlling an air conditioner, which comprises the following steps: in response to an instruction for entering a game scene, monitoring voice information of a user; in the case that the voice information comprises a preset keyword, acquiring an eye blinking frequency of the user at intervals in a preset time period; acquiring a target operating temperature of the air conditioner according to the eye blinking frequency; and controlling the air conditioner to operate according to the target operating temperature. In this way, the target operating temperature of the air conditioner can be changed along with the change of the eye blinking frequency. Therefore, by controlling the air conditioner to operate according to the target operating temperature corresponding to the eye blinking frequency, the target operating temperature of the air conditioner can be automatically adjusted in the case that the game scene changes, so that the experience of using the air conditioner by the user is improved. The application further discloses an apparatus for controlling an air conditioner, an electronic device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of air conditioners, for example to a method and device for controlling an air conditioner, an electronic device and a storage medium. BACKGROUND

[0002] With the continuous improvement of people's living standards, air conditioners have become an important household appliance in daily life. In daily use, the air conditioner can meet the needs according to the user's set state. However, in some special scenarios, such as games, the user will issue many instructions in a very short time when entering a more intense game scenario. At this time, the user's adrenaline will increase, causing the user's body temperature to rise. At this time, the running temperature of the air conditioner needs to be adjusted.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:

[0004] The air conditioner in the related art is usually run according to the set temperature, and in the scenario where the user is playing games, there is no time to adjust the set temperature of the air conditioner. This may cause the user to feel uncomfortable. SUMMARY

[0005] To provide a basic understanding of some aspects of the disclosed embodiments, the following summary is given. The summary is not an overall description of the application, nor is it intended to determine key / important elements or delineate the scope of these embodiments. It is intended to serve as a prelude to the detailed description below.

[0006] The embodiments of the present disclosure provide a method and device for controlling an air conditioner, an electronic device and a storage medium, so as to automatically adjust the temperature of the air conditioner when the user is in the scenario of playing games.

[0007] In some embodiments, the method for controlling an air conditioner comprises: in response to an instruction to enter a game scenario, monitoring voice information of a user; in the case that the voice information includes a preset keyword, acquiring the blinking frequency of the user at intervals of a preset time period; acquiring a target running temperature of the air conditioner according to the blinking frequency; and controlling the air conditioner to run according to the target running temperature.

[0008] In some embodiments, acquiring the target running temperature of the air conditioner according to the blinking frequency comprises: acquiring a change amount between the blinking frequency at the current time and the blinking frequency at the previous time; acquiring a set running temperature of the air conditioner; acquiring a temperature correction value for correcting the set running temperature according to the change amount; and correcting the set running temperature by using the temperature correction value to obtain the target running temperature of the air conditioner.

[0009] In some embodiments, the temperature correction value for correcting the set running temperature is obtained according to the change amount, including: in a case where the change amount is greater than a first preset threshold and less than a second preset threshold, a first correction value for reducing the set running temperature of the air conditioner is obtained.

[0010] In some embodiments, the temperature correction value for correcting the set running temperature is obtained according to the change amount, including: in a case where the change amount is greater than a second preset threshold, a second correction value for reducing the set running temperature of the air conditioner is obtained.

[0011] In some embodiments, the device for controlling the air conditioner includes: a monitoring module configured to monitor voice information of a user in response to an instruction to enter a game scene; a first obtaining module configured to obtain an eye blinking frequency of the user at intervals of a preset time period in a case where the voice information includes a preset keyword; a second obtaining module configured to obtain a target running temperature of the air conditioner according to the eye blinking frequency; and a control module configured to control the air conditioner to run according to the target running temperature.

[0012] In some embodiments, the second obtaining module is configured to obtain the target running temperature of the air conditioner according to the eye blinking frequency by: obtaining a change amount between the eye blinking frequency at a current time and the eye blinking frequency at a previous time; obtaining a set running temperature of the air conditioner; obtaining a temperature correction value for correcting the set running temperature according to the change amount; and correcting the set running temperature by using the temperature correction value to obtain the target running temperature of the air conditioner.

[0013] In some embodiments, the second obtaining module is configured to obtain the temperature correction value for correcting the set running temperature according to the change amount by: in a case where the change amount is greater than a first preset threshold and less than a second preset threshold, a first correction value for reducing the set running temperature of the air conditioner is obtained.

[0014] In some embodiments, the second obtaining module is configured to obtain the temperature correction value for correcting the set running temperature according to the change amount by: in a case where the change amount is greater than a second preset threshold, a second correction value for reducing the set running temperature of the air conditioner is obtained.

[0015] In some embodiments, the device for controlling the air conditioner includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling the air conditioner when running the program instructions.

[0016] In some embodiments, the electronic device includes the above-mentioned device for controlling the air conditioner.

[0017] In some embodiments, the storage medium stores program instructions which, when executed, perform the method for controlling an air conditioner described above.

[0018] The method, device, electronic device and storage medium for controlling an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects: by monitoring voice information of a user, and in a case where the voice information includes a preset keyword, the blinking frequency of the user is obtained at intervals of a preset time period, and then the target operating temperature of the air conditioner is obtained according to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the blinking frequency. Therefore, by controlling the air conditioner to operate at the target operating temperature corresponding to the blinking frequency, the target operating temperature of the air conditioner can be automatically adjusted in the case where the game scene changes, thereby improving the experience of the user using the air conditioner.

[0019] The foregoing general description and the following description are merely exemplary and explanatory, and are not intended to limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, which are schematic and not intended to be limiting of the embodiments, and in which like reference numerals designate similar items in the figures and wherein:

[0021] Figure 1 is a schematic diagram of one method for controlling an air conditioner provided by the embodiments of the present disclosure;

[0022] Figure 2 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;

[0023] Figure 3 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;

[0024] Figure 4 is a schematic diagram of another method for controlling an air conditioner provided by the embodiments of the present disclosure;

[0025] Figure 5 is a schematic diagram of one device for controlling an air conditioner provided by the embodiments of the present disclosure;

[0026] Figure 6 is a schematic diagram of another device for controlling an air conditioner provided by the embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] In order to enable a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure is described in detail below, and the accompanying drawings are used for reference only and do not limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, through multiple details, a sufficient understanding of the disclosed embodiments is provided. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be simplified to facilitate the drawings.

[0028] The terms "first", "second", and the like in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so as to implement the embodiments of the present disclosure described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.

[0029] Unless otherwise specified, the term "a plurality of" means two or more.

[0030] In the embodiments of the present disclosure, the character " / " represents that the objects before and after are in an "or" relationship. For example, A / B represents: A or B.

[0031] The term "and / or" is a description of the association between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.

[0032] The term "corresponding" can refer to an association or binding relationship, and A corresponds to B means that there is an association or binding relationship between A and B.

[0033] In the case that the user is in different game scenes, the amount of adrenaline secreted in the body of the user will change due to the intensity of the game scene, thereby causing the body temperature of the user to change. However, the air conditioner in the related technology usually runs according to the set temperature. Since the user has no time to adjust the set temperature of the air conditioner in the case that the user is in the scene of playing the game, it may cause the user to feel uncomfortable. The scheme first monitors the voice information of the user. Then in the case that the voice information includes a preset keyword, the blinking frequency of the user is obtained at intervals of a preset time period. Then the target running temperature of the air conditioner is obtained according to the blinking frequency, so that the target running temperature of the air conditioner can change with the change of the blinking frequency. Since in the case that the user is in different game scenes, the conversation content of the user and the teammates will change with the change of the game scene. Therefore, in the case that the voice information includes the preset keyword, it can be determined that the user is in the game scene. At the same time, since in the case that the user is in an intense game scene, the user is highly concentrated. And in the case that the user is highly concentrated, the blinking frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blinking frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blinking frequency, and then the air conditioner is controlled to run according to the target running temperature corresponding to the blinking frequency, so that the target running temperature of the air conditioner can change with the change of the game scene, thereby improving the user's experience of using the air conditioner.

[0034] In combination Figure 1 The embodiments of the present disclosure provide a method for controlling an air conditioner, comprising:

[0035] Step S101, the electronic device monitors the voice information of the user in response to an instruction to enter a game scene.

[0036] Step S102, the electronic device obtains the blinking frequency of the user at intervals of a preset time period in the case that the voice information includes a preset keyword.

[0037] Step S103, the electronic device obtains the target running temperature of the air conditioner according to the blinking frequency.

[0038] Step S104, the electronic device controls the air conditioner to run according to the target running temperature.

[0039] The method for controlling the air conditioner provided by the embodiment of the present disclosure first monitors the voice information of the user. Then, in the case that the voice information includes a preset keyword, the blinking frequency of the user is acquired at intervals of a preset time period. Then, the target operating temperature of the air conditioner is acquired according to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the blinking frequency. Since the conversation content of the user and the teammates will change with the change of the game scene in the case that the user is in different game scenes. Therefore, the game scene in which the user is located can be determined in the case that the voice information includes the preset keyword. At the same time, since the user is highly concentrated in the case that the user is in an intense game scene. And in the case that the user is highly concentrated, the blinking frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blinking frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blinking frequency, and then the air conditioner is controlled to operate according to the target operating temperature corresponding to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0040] In some embodiments, the preset keyword is attack, sneak attack, encircle and kill, or surround and kill. In the case that the voice information includes the preset keyword, it is determined that the user will enter an intense game scene. Since the amount of adrenaline secreted in the body of the user will increase after the user enters the intense game scene, thereby causing the body temperature of the user to rise. In this case, the operating temperature of the air conditioner is adjusted, so that the user is always in a comfortable temperature.

[0041] In some embodiments, the infrared detection system is used to acquire the blinking frequency of the user.

[0042] Optionally, after monitoring the voice information of the user, the method further includes: in the case that the voice information does not include the preset keyword, controlling the air conditioner to operate according to the set operating temperature.

[0043] In combination Figure 2 As shown in the figure, the embodiment of the present disclosure provides a method for controlling an air conditioner, comprising:

[0044] Step S201, the electronic device monitors the voice information of the user in response to the instruction of entering the game scene.

[0045] Step S202, the electronic device determines whether the voice information includes a preset keyword; if yes, step S203 is performed; if no, step S206 is performed.

[0046] Step S203, the electronic device acquires the blinking frequency of the user at intervals of a preset time period. Then, step S204 is performed.

[0047] Step S204, the electronic device acquires the target operating temperature of the air conditioner according to the blink frequency. Then step S205 is performed.

[0048] Step S205, the electronic device controls the air conditioner to operate according to the target operating temperature. Then end.

[0049] Step S206, the electronic device controls the air conditioner to operate according to the set operating temperature. Then end.

[0050] The method for controlling the air conditioner provided by the embodiment of the present disclosure first monitors the voice information of the user. Then in the case that the voice information includes the preset keyword, the blink frequency of the user is acquired at intervals of a preset time period. Then the target operating temperature of the air conditioner is acquired according to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the blink frequency. Because in the case that the user is in different game scenes, the conversation content of the user and the teammates will change with the change of the game scene. Therefore, in the case that the voice information includes the preset keyword, it can be determined that the user is in the game scene. At the same time, because in the case that the user is in an intense game scene, the user is highly concentrated. And in the case that the user is highly concentrated, the blink frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blink frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blink frequency, and then the air conditioner is controlled to operate according to the target operating temperature corresponding to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the user's experience of using the air conditioner.

[0051] Optionally, acquiring the target operating temperature of the air conditioner according to the blink frequency comprises: acquiring a change amount between the blink frequency at the current moment and the blink frequency at the previous moment, and acquiring a set operating temperature of the air conditioner. Acquiring a temperature correction value for correcting the set operating temperature according to the change amount, and correcting the set operating temperature by using the temperature correction value to obtain the target operating temperature of the air conditioner. In this way, by acquiring the change amount between the blink frequency at the current moment and the blink frequency at the previous moment, it can be determined whether the blink frequency changes. At the same time, by acquiring the temperature correction value for correcting the set operating temperature according to the change amount, and correcting the set operating temperature of the air conditioner by using the temperature correction value, the operating temperature of the air conditioner can change with the change of the blink frequency.

[0052] In combination with Figure 3 the present disclosure provides a method for controlling an air conditioner, comprising

[0053] Step S301, the electronic device monitors the voice information of the user in response to the instruction of entering the game scene.

[0054] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0055] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0056] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0057] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0058] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0059] The method for controlling an air conditioner provided by the embodiment of the present disclosure first monitors voice information of a user. Then in the case that the voice information includes a preset keyword, the blink frequency of the user is acquired at intervals of a preset time period. Then the target operating temperature of the air conditioner is acquired according to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the blink frequency. Since in the case that the user is in different game scenes, the conversation content of the user and teammates will change with the change of the game scene. Therefore, the game scene in which the user is located can be determined in the case that the voice information includes the preset keyword. At the same time, since in the case that the user is in an intense game scene, the user is highly concentrated. And in the case that the user is highly concentrated, the blink frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blink frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blink frequency, and then the air conditioner is controlled to operate according to the target operating temperature corresponding to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0060] Optionally, the change amount between the blink frequency at the current time and the blink frequency at the previous time is acquired by subtracting the blink frequency at the current time from the blink frequency at the previous time. The current time and the previous time are separated by a preset time period. In this way, the change amount between the blink frequency at the current time and the blink frequency at the previous time can be obtained.

[0061] Optionally, the temperature correction value for correcting the set running temperature is obtained according to the change amount, including: in a case where the change amount is greater than a first preset threshold and less than a second preset threshold, a first correction value for reducing the set running temperature of the air conditioner is obtained. In this way, the correction value corresponding to the change amount can be obtained, and the set running temperature of the air conditioner is corrected by using the correction value, so that the target running temperature of the air conditioner can change with the change of the change amount, thereby creating a comfortable environment for the user and improving the user's experience of using the air conditioner.

[0062] Optionally, the temperature correction value for correcting the set running temperature is obtained according to the change amount, including: in a case where the change amount is less than the first preset threshold, the temperature correction value is determined as 0.

[0063] Optionally, the temperature correction value for correcting the set running temperature is obtained according to the change amount, including: in a case where the change amount is greater than the second preset threshold, a second correction value for reducing the set running temperature of the air conditioner is obtained. In this way, the correction value corresponding to the change amount can be obtained, and the set running temperature of the air conditioner is corrected by using the correction value, so that the target running temperature of the air conditioner can change with the change of the change amount, thereby creating a comfortable environment for the user and improving the user's experience of using the air conditioner.

[0064] In some embodiments, in some embodiments, the first set threshold and the second set threshold are both positive integers. Therefore, in a case where the change amount between the blink frequency at the current moment and the blink frequency at the previous moment is greater than the first preset threshold, it can be determined that the blink frequency has been reduced, and it can be further determined that the user's energy is relatively concentrated, and at this time the set temperature of the air conditioner needs to be reduced. The first correction value is less than the second correction value. In this way, the greater the change amount, the greater the temperature correction value for reducing the set running temperature of the air conditioner.

[0065] Optionally, the target running temperature of the air conditioner is obtained according to the blink frequency, including: in a case where the blink frequency is less than or equal to a third preset threshold, a third correction value for reducing the set running temperature is obtained, and the set running temperature is corrected by using the third correction value to obtain the target running temperature. And / or, in a case where the blink frequency is greater than the third preset threshold, the set running temperature is determined as the target running temperature. In this way, the set running temperature of the air conditioner can be automatically adjusted in a case where the blink frequency is less than or equal to the third preset threshold, so that the running temperature of the air conditioner can change with the change of the blink frequency.

[0066] In combination with Figure 4 As shown in the figure, the embodiments of the present disclosure provide a method for controlling an air conditioner, including:

[0067] In step S401, the electronic device monitors the voice information of the user in response to an instruction to enter a game scene.

[0068] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0069] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0070] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0071] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0072] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0073] In the case that the voice information includes the preset keyword, the electronic device acquires the blink frequency of the user at intervals of a preset time period.

[0074] The method for controlling the air conditioner provided by the embodiments of the present disclosure first monitors the voice information of the user. Then in the case that the voice information includes the preset keyword, the blink frequency of the user is acquired at intervals of a preset time period. Then the target operating temperature of the air conditioner is acquired according to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the blink frequency. Since in the case that the user is in different game scenes, the conversation content of the user and the teammates will change with the change of the game scene. Therefore, in the case that the voice information includes the preset keyword, the game scene in which the user is located can be determined. At the same time, since in the case that the user is in an intense game scene, the user is highly concentrated. And in the case that the user is highly concentrated, the blink frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blink frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blink frequency, and then the air conditioner is controlled to operate at the target operating temperature corresponding to the blink frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0075] In some embodiments, the electronic device is a computer, a mobile phone, a tablet computer, or the like.

[0076] In combination Figure 5As shown, the embodiment of the present disclosure provides a device for controlling an air conditioner, comprising: a detection module 501, a first acquisition module 502, a second acquisition module 503 and a control module 504. The detection module 501 is configured to monitor voice information of a user in response to an instruction of entering a game scene. The first acquisition module 502 is configured to acquire an eye blinking frequency of the user at intervals of a preset time period in a case where the voice information includes a preset keyword. The second acquisition module 503 is configured to acquire a target operating temperature of the air conditioner according to the eye blinking frequency. The control module 504 is configured to control the air conditioner to operate at the target operating temperature.

[0077] By using the device for controlling an air conditioner provided by the embodiment of the present disclosure, first, the voice information of the user is monitored. Then, in a case where the voice information includes a preset keyword, the eye blinking frequency of the user is acquired at intervals of a preset time period. Then, the target operating temperature of the air conditioner is acquired according to the eye blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the eye blinking frequency. Since the conversation content of the user and teammates will change with the change of the game scene in a case where the user is in different game scenes. Therefore, the game scene in which the user is located can be determined in a case where the voice information includes a preset keyword. At the same time, since the user is highly concentrated in a case where the user is in an intense game scene. And in a case where the user is highly concentrated, the eye blinking frequency of the user is usually less than or equal to 8 times per minute. And in a case where the user is not highly concentrated, the eye blinking frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined by the eye blinking frequency, and then the air conditioner is controlled to operate at the target operating temperature corresponding to the eye blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0078] Optionally, the second acquisition module is configured to acquire the target operating temperature of the air conditioner according to the eye blinking frequency by: acquiring a change amount between the eye blinking frequency at the current moment and the eye blinking frequency at the previous moment; acquiring a set operating temperature of the air conditioner. Acquiring a temperature correction value for correcting the set operating temperature according to the change amount, correcting the set operating temperature by using the temperature correction value to obtain the target operating temperature of the air conditioner.

[0079] Optionally, the second acquisition module is configured to acquire the temperature correction value for correcting the set operating temperature according to the change amount by: in a case where the change amount is greater than a first preset threshold and less than a second preset threshold, acquiring a first correction value for reducing the set operating temperature of the air conditioner.

[0080] Optionally, the second acquisition module is configured to acquire the temperature correction value for correcting the set operating temperature according to the change amount by: in a case where the change amount is greater than the second preset threshold, acquiring a second correction value for reducing the set operating temperature of the air conditioner.

[0081] In combination Figure 6 As shown in the figure, the apparatus for controlling an air conditioner provided by the embodiments of the present disclosure includes a processor 600 and a memory 601. Optionally, the apparatus can further include a communication interface 602 and a bus 603. The processor 600, the communication interface 602 and the memory 601 can complete mutual communication through the bus 603. The communication interface 602 can be used for information transmission. The processor 600 can invoke the logical instructions in the memory 601 to execute the method for controlling an air conditioner of the above-mentioned embodiments.

[0082] With the apparatus for controlling an air conditioner provided by the embodiments of the present disclosure, the voice information of the user is first monitored. Then in the case that the voice information includes a preset keyword, the blinking frequency of the user is acquired at intervals of a preset time period. Then the target operating temperature of the air conditioner is acquired according to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the blinking frequency. Since in the case that the user is in different game scenes, the conversation content of the user and the teammates will change with the change of the game scenes. Therefore, in the case that the voice information includes the preset keyword, the game scene in which the user is located can be determined. At the same time, since in the case that the user is in an intense game scene, the user is highly concentrated. And in the case that the user is highly concentrated, the blinking frequency of the user is usually less than or equal to 8 times per minute. And in the case that the user is not highly concentrated, the blinking frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blinking frequency, and then the air conditioner is controlled to operate according to the target operating temperature corresponding to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0083] In addition, the logical instructions in the memory 601 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium.

[0084] The memory 601 as a kind of computer readable storage medium can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiments of the present disclosure. The processor 600 executes the program instructions / modules stored in the memory 601, thereby executing function application and data processing, i.e. implementing the method for controlling an air conditioner in the above-mentioned embodiments.

[0085] The memory 601 can include a program storage area and a data storage area, where the program storage area can store an operating system, an application required by at least one function, and the like; and the data storage area can store data created according to use of the terminal device, and the like. In addition, the memory 601 can include a high-speed random access memory, and can also include a nonvolatile memory.

[0086] The electronic device provided by the embodiment of the present disclosure comprises the device for controlling the air conditioner.

[0087] The electronic device provided by the embodiment of the present disclosure is used to first monitor voice information of a user. Then, in a case where the voice information comprises a preset keyword, the blinking frequency of the user is acquired at intervals of a preset time period. Then, the target operating temperature of the air conditioner is acquired according to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the blinking frequency. Since the conversation content between the user and the teammates will change with the change of the game scene in a case where the user is in different game scenes. Therefore, the game scene in which the user is located can be determined in a case where the voice information comprises the preset keyword. At the same time, since the user is highly concentrated in a case where the user is in an intense game scene. And in a case where the user is highly concentrated, the blinking frequency of the user is usually less than or equal to 8 times per minute. And in a case where the user is not highly concentrated, the blinking frequency of the user is generally 16 to 20 times per minute. Therefore, the game scene in which the user is located can be further determined through the blinking frequency, and then the air conditioner is controlled to operate according to the target operating temperature corresponding to the blinking frequency, so that the target operating temperature of the air conditioner can change with the change of the game scene, thereby improving the experience of the user using the air conditioner.

[0088] The embodiment of the present disclosure provides a storage medium, which stores program instructions. When the program instructions are executed, the method for controlling the air conditioner is executed.

[0089] The embodiment of the present disclosure provides a computer program product, which comprises a computer program stored on a computer readable storage medium. The computer program comprises program instructions, which, when executed by a computer, cause the computer to execute the method for controlling the air conditioner.

[0090] The computer readable storage medium described above can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.

[0091] The technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method disclosed in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes, and can also be a transitory storage medium.

[0092] The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable one skilled in the art to practice them. Other embodiments can include structural, logical, electrical, process, and other changes. The embodiments represent only a few of the possible variations. Individual components and functions are optional unless explicitly required, and the order of operations can be changed. Parts and features of some embodiments can be included in or replace parts and features of other embodiments. Also, the words used in this application are used only to describe the embodiments and not to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly requires otherwise, the singular forms "a," "an," and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listed items. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprises" and the like mean the presence of the stated 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 groups thereof. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, or device including the stated element. In this document, each embodiment focuses on the differences from other embodiments, and the same or similar parts between embodiments can be referred to each other. For the method, product, etc. disclosed in the embodiments, if it corresponds to the method part disclosed in the embodiments, the relevant part can be referred to the description of the method part.

[0093] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to realize the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present disclosure. The skilled person can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

[0094] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the above-described device embodiments are only schematic, for example, the division of the units can only be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms. The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to implement the embodiments. In addition, each functional unit in the embodiments of the present disclosure can be integrated in one processing unit, or each unit can be a physically independent unit, or two or more units can be integrated in one unit.

[0095] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

Claims

1. A method for controlling an air conditioner, characterized in that, include: In response to commands to enter the game scene, monitor the user's voice information; When the voice information includes preset keywords, the user's blink frequency is obtained at preset time intervals. The target operating temperature of the air conditioner is obtained based on the blink frequency; Control the air conditioner to operate at the target operating temperature; Obtaining the target operating temperature of the air conditioner based on the blink frequency includes: obtaining the change between the blink frequency at the current moment and the blink frequency at the previous moment; obtaining the set operating temperature of the air conditioner; obtaining a temperature correction value for correcting the set operating temperature based on the change; and correcting the set operating temperature using the temperature correction value to obtain the target operating temperature of the air conditioner.

2. The method according to claim 1, characterized in that, Obtaining a temperature correction value for correcting the set operating temperature based on the change includes: If the change is greater than a first preset threshold and less than a second preset threshold, a first correction value is obtained to reduce the set operating temperature.

3. The method according to claim 1, characterized in that, Obtaining a temperature correction value for correcting the set operating temperature based on the change includes: If the change is greater than a second preset threshold, a second correction value is obtained to reduce the set operating temperature.

4. A device for controlling an air conditioner, characterized in that, include: The monitoring module is configured to monitor the user's voice information in response to the command to enter the game scene; The first acquisition module is configured to acquire the user's blink frequency at preset time intervals when the voice information includes preset keywords. The second acquisition module is configured to acquire the target operating temperature of the air conditioner based on the blink frequency; The control module is configured to control the air conditioner to operate at the target operating temperature; The second acquisition module is configured to acquire the target operating temperature of the air conditioner based on the blink frequency in the following ways: acquiring the change between the blink frequency at the current moment and the blink frequency at the previous moment; acquiring the set operating temperature of the air conditioner; Based on the change, a temperature correction value is obtained to correct the set operating temperature; the set operating temperature is corrected using the temperature correction value to obtain the target operating temperature of the air conditioner.

5. The apparatus according to claim 4, characterized in that, The second acquisition module is configured to acquire a temperature correction value for correcting the set operating temperature based on the amount of change in the following manner: If the change is greater than a first preset threshold and less than a second preset threshold, a first correction value is obtained to reduce the set operating temperature.

6. The apparatus according to claim 4, characterized in that, The second acquisition module is configured to acquire a temperature correction value for correcting the set operating temperature based on the amount of change in the following manner: If the change is greater than a second preset threshold, a second correction value is obtained to reduce the set operating temperature.

7. A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute, when running the program instructions, the method for controlling an air conditioner as described in any one of claims 1 to 3.

8. An electronic device, characterized in that, Includes the device for controlling an air conditioner as described in claim 7.

9. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling the air conditioner as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Household appliance control method, mobile terminal and computer readable storage medium

    CN108540358A

  • Emotion analysis method and device, equipment and storage medium

    CN113468983A