Method and apparatus for air conditioner control, air conditioner, storage medium
Patent Information
- Application Number
- CN202211704400.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2042-12-29
AI Technical Summary
然而,在公共区域内,存在人们并排进入或者离开的情况,使得红外监测模块无法准确确定室内人数,从而导致空调器的控制精确性降低,用户体验差
[0016] The system uses a first infrared module and a second infrared module to identify the first person entering the room and the second person leaving the room, respectively. Based on these two numbers, the total number of people in the room is determined, and finally, the air conditioner is controlled according to the total number of people in the room. Because people's walking speed and stride length vary, by setting several sets of infrared sensors at predetermined intervals at the entrance and exit, it is possible to accurately identify people walking side-by-side who could not be identified at the initial location. This allows for a more precise determination of the total number of people in the room, making the air conditioner control based on this total number of people more accurate and enhancing the user experience.
Smart Images

Figure CN116164390B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home appliance technology, such as a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium. Background Technology
[0002] Currently, smart homes are developing rapidly. Due to the high mobility of people in public areas, air cleaning in public areas is very complex and tedious, putting significant pressure on public areas such as shopping malls, supermarkets, and hospitals to ensure the health of users.
[0003] The related technology discloses an automatic temperature control system for bus air conditioning, including a central processor, an inlet infrared monitoring module, an outlet infrared monitoring module, an air conditioning control module, a display module, and a verification module. The central processor is responsible for receiving monitoring data from the inlet and outlet infrared monitoring modules and comparing and judging the data. The inlet infrared monitoring module is responsible for monitoring the number of passengers boarding the bus. The outlet infrared monitoring module is responsible for monitoring the number of passengers alighting the bus. The air conditioning control module is responsible for receiving control commands from the central processor and controlling the operation of the bus air conditioning system according to the corresponding commands. The display module, connected to the central processor, is responsible for displaying the temperature reduction determined by the central processor. The verification module is responsible for verifying the identity of the bus driver. This invention can adjust the temperature environment inside the bus in real time, greatly improving passenger comfort.
[0004] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:
[0005] Using relevant technologies, infrared monitoring modules are employed to determine the number of people inside a bus, and the air conditioner's operation is controlled based on this number, which improves the accuracy of air conditioner operation to some extent. However, in public areas, people may enter or leave side-by-side, making it difficult for the infrared monitoring module to accurately determine the number of people inside. This results in reduced air conditioner control accuracy and a poor user experience.
[0006] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0007] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0008] This disclosure provides a method and apparatus for controlling an air conditioner, an air conditioner, and a storage medium to accurately identify the total number of people indoors, improve the accuracy of air conditioner control, and enhance the user experience.
[0009] In some embodiments, the air conditioner includes a first infrared module disposed at the indoor entrance and a second infrared module disposed at the indoor exit, both the first and second infrared modules including a plurality of sets of infrared sensors; the method includes: identifying a first number of people entering the room and a second number of people leaving the room through the first and second infrared modules respectively; determining the total number of people in the room based on the first and second numbers; and controlling the operation of the air conditioner based on the total number of people in the room.
[0010] In some embodiments, the apparatus includes a processor and a memory storing program instructions, wherein the processor is configured to execute the method for controlling an air conditioner when executing the program instructions.
[0011] In some embodiments, the air conditioner includes:
[0012] The air conditioner body includes a first infrared module located at the indoor inlet and a second infrared module located at the indoor outlet. Both the first and second infrared modules include several groups of infrared sensors spaced at predetermined intervals. The first infrared module includes a first group of infrared sensors, a second group of infrared sensors, and a third group of infrared sensors. The second infrared module includes a fourth group of infrared sensors and a fifth group of infrared sensors. Furthermore,
[0013] The aforementioned device for controlling the air conditioner is installed on the air conditioner body.
[0014] In some embodiments, the storage medium stores program instructions that, when executed, perform the aforementioned method for controlling an air conditioner.
[0015] The method and apparatus for controlling an air conditioner, the air conditioner, and the storage medium provided in this disclosure can achieve the following technical effects:
[0016] The system uses a first infrared module and a second infrared module to identify the first person entering the room and the second person leaving the room, respectively. Based on these two numbers, the total number of people in the room is determined, and finally, the air conditioner is controlled according to the total number of people in the room. Because people's walking speed and stride length vary, by setting several sets of infrared sensors at predetermined intervals at the entrance and exit, it is possible to accurately identify people walking side-by-side who could not be identified at the initial location. This allows for a more precise determination of the total number of people in the room, making the air conditioner control based on this total number of people more accurate and enhancing the user experience.
[0017] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0018] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:
[0019] Figure 1 This is a schematic diagram of a method for controlling an air conditioner provided in an embodiment of this disclosure;
[0020] Figure 2 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0021] Figure 3 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0022] Figure 4 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0023] Figure 5 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0024] Figure 6 This is a schematic diagram of an air conditioner control device provided in an embodiment of this disclosure;
[0025] Figure 7 This is a schematic diagram of an air conditioner provided in an embodiment of this disclosure. Detailed Implementation
[0026] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0027] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0028] Unless otherwise stated, the term "multiple" means two or more.
[0029] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0030] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0031] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0032] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage smart home appliances.
[0033] In the disclosed embodiments, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances via the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.
[0034] This disclosure provides an air conditioner comprising: a first infrared module disposed at an indoor inlet and a second infrared module disposed at an indoor outlet. Both the first and second infrared modules include a plurality of sets of infrared sensors spaced at predetermined intervals. The first infrared module includes a first set of infrared sensors, a second set of infrared sensors, and a third set of infrared sensors; the second infrared module includes a fourth set of infrared sensors, a fifth set of infrared sensors, and a sixth set of infrared sensors. The predetermined intervals can be any value, such as 39 cm, 40 cm, or 41 cm.
[0035] Combination Figure 1 As shown, this disclosure provides a method for controlling an air conditioner, including:
[0036] S01, the air conditioner identifies the first person entering the room and the second person leaving the room through the first infrared module and the second infrared module, respectively.
[0037] S02, the air conditioner determines the total number of people in the room based on the first number of people and the second number of people.
[0038] S03, the air conditioner controls its operation based on the total number of people in the room.
[0039] The air conditioner control method provided in this disclosure identifies a first number of people entering the room and a second number of people leaving the room using a first infrared module and a second infrared module, respectively. Based on the first and second numbers, the total number of people in the room is determined, and finally, the air conditioner is controlled to operate based on the total number of people in the room. Since people's walking speed and stride length vary, by setting several sets of infrared sensors at predetermined intervals at entrances and exits, it is possible to accurately identify people walking side-by-side who could not be identified at the initial location. This makes the total number of people in the room more accurate, resulting in more precise air conditioner control based on the total number of people in the room and enhancing the user experience.
[0040] Optionally, such as Figure 2 As shown, the air conditioner identifies the first person entering the room via a first infrared module, including:
[0041] S21, the air conditioner records the initial number of people entering through the first set of infrared sensors.
[0042] S22, the air conditioner records the number of people entering side by side using the second set of infrared sensors.
[0043] S23, the air conditioner determines the first person based on the initial number of people entering and the number of people entering side by side.
[0044] In this way, the air conditioner records the initial number of people entering from the initial location using a first set of infrared sensors, and records the number of people entering side-by-side using a second set of infrared sensors spaced at predetermined intervals. Since each person's stride and walking speed are different, the second set of infrared sensors at predetermined intervals can identify the number of people entering side-by-side. Thus, the air conditioner can ultimately determine the first person to enter the room based on the initial number of people entering and the number of people entering side-by-side.
[0045] Optionally, such as Figure 3 As shown, the air conditioner determines the first person based on the initial number of people entering and the number of people entering side-by-side, including:
[0046] S31, the air conditioner calculates the first sum of the initial number of people entering and the number of people entering side by side.
[0047] S32, the air conditioner determines the first sum value as the number of people.
[0048] When no people are detected sitting side by side, the number of people entering side by side is zero.
[0049] The air conditioner records the number of people entering side-by-side using a second set of infrared sensors, including: the air conditioner detects the second number of people entering at a second location within a set time period using the second set of infrared sensors; if the number of people entering is greater than the number of people entering initially, the air conditioner determines that there are people entering side-by-side; if there are people leaving side-by-side, the air conditioner calculates the difference between the number of people entering and the number of people entering initially; the air conditioner determines the difference between the number of people entering and the number of people entering side-by-side as the number of people entering side-by-side.
[0050] In this way, the air conditioner calculates the initial number of people entering and the first sum of the number of people entering side by side, and determines the first sum as the first number. By correcting the initial number of people entering side by side, the actual number of people entering the room can be accurately obtained.
[0051] Optionally, such as Figure 4 As shown, after determining the first person based on the initial number of people entering and the number of people entering side-by-side, the air conditioner also includes:
[0052] S41, the air conditioner uses a third set of infrared sensors to determine the number of people entering the room.
[0053] S42, if the number of third people is greater than the number of first people, the third person is determined to be the new number of first people.
[0054] In this way, after the air conditioner determines the first number of people based on the initial number of people entering and the number of people entering side-by-side, there is still a small probability that people walking side-by-side will not be detected at the second set of infrared sensors. Therefore, the first number is corrected by the third set of infrared sensors. If the third number is greater than the first number, it indicates that there are undetected side-by-side people entering at the first and second sets of infrared sensors. Therefore, the third number is determined as the new first number. By adding a third set of infrared sensors to correct the first number, accurate identification of the number of people entering the room is achieved, improving the accuracy of air conditioner control.
[0055] Optionally, the air conditioner identifies a second person entering or leaving the room via a second infrared module, including:
[0056] S51, the air conditioner records the initial number of people leaving through the fourth set of infrared sensors.
[0057] S52, the air conditioner records and counts the number of people leaving through the fifth set of infrared sensors.
[0058] S53, the air conditioner determines the second number of people based on the initial number of people leaving and the number of people leaving side by side.
[0059] In this way, the air conditioner records the initial number of people leaving using the fourth set of infrared sensors, and the number of people leaving side-by-side using the fifth set of infrared sensors. Finally, based on the initial number of people leaving and the number of people leaving side-by-side, the air conditioner determines the second number of people entering the room. Since each person's stride and walking speed are different, the fourth set of infrared sensors, which are spaced at predetermined intervals, can identify the number of people standing side-by-side. Thus, the air conditioner can ultimately determine the second number of people entering the room based on the initial number of people leaving and the number of people leaving side-by-side.
[0060] Optionally, the air conditioner determines a second number of people based on the initial number of people leaving and the number of people leaving side by side, including: the air conditioner calculating a second sum of the initial number of people leaving and the number of people leaving side by side; the air conditioner determining the second sum as the second number of people.
[0061] When no people are detected sitting side-by-side, the number of people leaving side-by-side is zero.
[0062] The air conditioner records the number of people leaving side by side using the fourth set of infrared sensors, including: the air conditioner detects the second number of people leaving at the fifth position within a set time period using the fourth set of infrared sensors; if the second number of people leaving is greater than the initial number of people leaving, the air conditioner determines that there are people leaving side by side; if there are people leaving side by side, the air conditioner calculates the difference between the second number of people leaving and the initial number of people leaving; the air conditioner determines the difference between the number of people leaving and the number of people leaving side by side as the number of people leaving side by side.
[0063] In this way, the air conditioner calculates the second sum of the initial number of people leaving and the number of people leaving side by side, and determines the second sum as the second number. By correcting the initial number of people leaving side by side, the actual number of people leaving the room can be accurately obtained.
[0064] Optionally, after determining the first number of people based on the initial number of people leaving and the number of people leaving side by side, the air conditioner further includes: determining the fourth number of people leaving the room through the sixth set of infrared sensors; if the fourth number of people is greater than the second number of people, the air conditioner determines the fourth number of people as the new second number of people.
[0065] In this way, after the air conditioner determines the second number of people based on the initial number of people leaving and the number of people leaving side-by-side, there is still a small probability that people walking side-by-side will not be detected at the fifth set of infrared sensors. Therefore, the second number is corrected by the sixth set of infrared sensors. If the fourth number is greater than the second number, it means that there are undetected people leaving side-by-side at the fourth and fifth sets of infrared sensors. Therefore, the fourth number is determined as the new first number. By adding a sixth set of infrared sensors to correct the second number, accurate identification of the number of people leaving the room is achieved, improving the accuracy of air conditioner control.
[0066] Optionally, the air conditioner determines the total number of people in the room based on the first number of people and the second number of people, including: the air conditioner obtaining the difference between the first number of people and the second number of people; the air conditioner calculating the sum of the difference in the number of people and the currently recorded number of people in the room; and the air conditioner determining the sum of the number of people as the total number of people in the room.
[0067] In this way, the air conditioner obtains the difference between the first and second number of people, and can determine the increase or decrease in the total number of people in the room. The air conditioner calculates the sum of the number difference and the currently recorded number of people in the room, and finally determines the total number of people in the room, thus obtaining the current total number of people in the room.
[0068] Optionally, the air conditioner controls its operation based on the total number of people in the room, including: when the total number of people in the room is less than a set threshold, the air conditioner activates a fresh air mode; when the total number of people in the room is greater than or equal to the set threshold, the air conditioner activates both a fresh air mode and an air washing mode.
[0069] The set threshold for the number of people can be any value, such as 45, 50, or 55 people. When the total number of people in the room is less than the second set threshold, the air conditioner will shut off the fresh air mode and air washing mode to avoid wasting energy. The second set threshold for the number of people can also be any value, such as 19, 20, or 21 people.
[0070] In this way, when the total number of people in the room is less than a set threshold, the air conditioner activates the fresh air mode. When the total number of people in the room is greater than or equal to the set threshold, it activates both the fresh air mode and the air washing mode. By controlling the air conditioner to operate in either fresh air mode or a combination of fresh air and air washing modes based on the total number of people in the room, the indoor air quality can be matched with the current number of people in the room. This improves the accuracy of air conditioner control, keeps the indoor air fresh, ensures the health of users, and enhances the user experience.
[0071] Combination Figure 6 As shown, this disclosure provides an apparatus 300 for controlling an air conditioner, including a processor 301 and a memory 101. Optionally, the apparatus may further include a communication interface 102 and a bus 103. The processor 301, communication interface 102, and memory 101 can communicate with each other via the bus 103. The communication interface 102 can be used for information transmission. The processor 301 can call logical instructions in the memory 101 to execute the air conditioner control method described in the above embodiment.
[0072] Furthermore, the logic instructions in the aforementioned memory 101 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0073] The memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 301 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, it implements the method for air conditioner control in the above embodiments.
[0074] The memory 101 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 101 may include high-speed random access memory and may also include non-volatile memory.
[0075] Combination Figure 7As shown, this disclosure provides an air conditioner 100, including: an air conditioner body, and the aforementioned air conditioner control device 200 (300). The air conditioner control device 200 (300) is installed on the air conditioner body. The installation relationship described herein is not limited to placement inside the air conditioner, but also includes installation connections with other components of the air conditioner, including but not limited to physical connections, electrical connections, or signal transmission connections. Those skilled in the art will understand that the air conditioner control device 200 (300) can be adapted to feasible air conditioner bodies to achieve other feasible embodiments.
[0076] This disclosure provides a storage medium storing computer-executable instructions configured to perform the above-described method for controlling an air conditioner.
[0077] The aforementioned storage medium can be either transient or non-transient.
[0078] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.
[0079] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0080] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0081] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0082] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized in that, The air conditioner includes a first infrared module located at the indoor inlet and a second infrared module located at the indoor outlet. Both the first and second infrared modules include a plurality of infrared sensors spaced at predetermined intervals. The method includes: The first person entering the room and the second person leaving the room are identified respectively through the first infrared module and the second infrared module; Determine the total number of people indoors based on the first number and the second number; Control the operation of the air conditioner based on the total number of people in the room; The first infrared module includes a first group of infrared sensors, a second group of infrared sensors, and a third group of infrared sensors. Identifying the first person entering the room using the first infrared module includes: recording the initial number of people entering using the first set of infrared sensors; recording the number of people entering side-by-side using the second set of infrared sensors; and determining the first person based on the initial number of people entering and the number of people entering side-by-side. The second set of infrared sensors records the number of people entering side by side, including: detecting the second number of people entering at the second position within a set time period using the second set of infrared sensors; determining that there are people entering side by side if the number of people entering side by side is greater than the number of people entering initially; calculating the difference between the number of people entering side by side and the number of people leaving side by side if there are people leaving side by side; and determining the difference between the number of people entering side by side as the number of people entering side by side. After determining the first number of people based on the initial number of people entering and the number of people entering side by side, the method further includes: determining a third number of people entering the room using the third set of infrared sensors; and if the third number of people is greater than the first number of people, determining the third number of people as the new first number of people.
2. The method according to claim 1, characterized in that, Determining the first number based on the initial number of entrants and the number of entrants side-by-side includes: Calculate the first sum of the initial number of people entering and the number of people entering side by side; The sum of the first values is determined to be the number of people.
3. The method according to claim 1 or 2, characterized in that, The second infrared module includes a fourth set of infrared sensors and a fifth set of infrared sensors; the second infrared module identifies a second person leaving the room, including: The initial number of people leaving is recorded using the fourth set of infrared sensors; The number of people leaving is recorded and ranked using the fifth set of infrared sensors; The second number is determined based on the initial number of people leaving and the number of people leaving side by side.
4. The method according to claim 1 or 2, characterized in that, The process of determining the total number of people indoors based on the first number and the second number includes: Obtain the difference between the first number of people and the second number of people; Calculate the difference in the number of people and the sum of the number of people currently recorded indoors; The number of people and the sum of values are determined to be the total number of people in the room.
5. The method according to claim 1 or 2, characterized in that, The step of controlling the operation of the air conditioner based on the total number of people in the room includes: If the total number of people indoors is less than a set threshold, the fresh air mode will be activated. If the total number of people in the room is greater than or equal to the set threshold number, activate the fresh air mode and the air washing mode.
6. 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 5.
7. An air conditioner, characterized in that, include: The air conditioner body includes a first infrared module disposed at the indoor inlet and a second infrared module disposed at the indoor outlet. Both the first and second infrared modules include several groups of infrared sensors arranged at predetermined intervals. The first infrared module includes a first group of infrared sensors, a second group of infrared sensors, and a third group of infrared sensors. The second infrared module includes a fourth group of infrared sensors and a fifth group of infrared sensors. The device for controlling an air conditioner as described in claim 6 is installed on the air conditioner body.
8. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling an air conditioner as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Fresh air volume control method and device for fresh air ventilator and computer readable storage medium
CN107883551A
Automatic counting method for number of people entering and exiting the door
CN108875701A
Environment control method for indoor child activity area
CN113587278A
Power-saving device of central air conditioner
CN211823007U