Air conditioner control method and device, storage medium and electronic equipment
By recognizing the motion information of the target object, the system automatically controls the air conditioner's operating mode and air output parameters, solving the environmental temperature problem for people with mobility impairments when they are home alone, and achieving personalized temperature adjustment and energy-saving effects.
Patent Information
- Application Number
- CN202510980165.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-15
- Publication Date
- 2025-11-07
AI Technical Summary
When elderly people with limited mobility, children, or pets are home alone, they cannot operate the air conditioner, which can easily lead to an environment that is too cold or too hot, causing physical discomfort or even illness. In addition, running the air conditioner for a long time will shorten the life of the equipment and increase energy consumption.
By acquiring motion information from the target area, identifying the target object's temperature status and needs, and automatically controlling the air conditioner's operating mode and airflow parameters, the system can meet personalized temperature requirements.
It enables accurate identification of the air conditioning needs of the target object, avoids discomfort caused by excessively cold or hot environments, improves energy-saving performance, extends the life of air conditioning equipment, and reduces energy consumption.
Smart Images

Figure CN120907224A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of air conditioning, and specifically relate to an air conditioner control method and device, a storage medium and an electronic device. BACKGROUND
[0002] With the improvement of people's living standards, air conditioners have become a necessity in daily life. Air conditioners can raise and lower the temperature of indoor air, thereby providing a comfortable environment.
[0003] However, when the elderly, children or domestic pets who are unable to move easily are alone at home, they are likely to be in an environment that is too cold or too hot, which can cause them to feel unwell or even get sick, because they are unable to operate the air conditioning equipment. SUMMARY
[0004] Embodiments of the present application provide an air conditioner control method and device, a storage medium and an electronic device, which can automatically control the air conditioner according to the action information of the target object, thereby effectively avoiding the situation where the target object feels unwell due to an environment that is too cold or too hot, while improving energy saving effects.
[0005] In a first aspect, embodiments of the present application provide an air conditioner control method, comprising:
[0006] obtaining action information of a target object in a first target area;
[0007] identifying the action information to determine air conditioner demand information of the target object;
[0008] controlling an air conditioner based on the air conditioner demand information.
[0009] In one embodiment, the obtaining of the action information of the target object in the first target area comprises:
[0010] performing person recognition on a second target area to obtain a person recognition result of the second target area; the second target area is an area other than the first target area in a detection area;
[0011] if the person recognition result indicates that the second target area is empty, obtaining the action information of the target object in the first target area.
[0012] In one embodiment, the identifying of the action information to determine the air conditioner demand information of the target object comprises:
[0013] identifying the action information to determine cold and hot state information of the target object;
[0014] determine air conditioning demand information of the target object based on the cold and hot state information and target temperature information; wherein the target temperature information comprises ambient temperature information and / or body surface temperature information of the target object.
[0015] In one of the embodiments, the identifying the action information and determining the cold and hot state information of the target object comprises:
[0016] identifying the action information and determining posture information of the target object;
[0017] in a case where the posture information indicates that the target object is in a curled state, determining the cold and hot state information as first state information; the first state information indicates that the target object is in a cold state;
[0018] in a case where the posture information indicates that the target object is in a lying state, determining the cold and hot state information of the target object based on motion information of a target key point of the target object.
[0019] In one of the embodiments, the motion information of the target key point comprises motion distance and motion speed of the target key point.
[0020] The determining the cold and hot state information of the target object based on the motion information of the target key point of the target object comprises:
[0021] determining motion state information and motion trend information of the target object based on the motion distance and motion speed of the target key point.
[0022] in a case where the motion state information indicates that the number of times of turning over of the target object is greater than a number of times threshold, or in a case where the motion state information indicates that the motion frequency of a target part of the target object is greater than a frequency threshold, determining the cold and hot state information as second state information; the second state information indicates that the target object is in a hot state.
[0023] in a case where the motion trend information indicates that the target object is moving towards the curled state, determining the cold and hot state information as the first state information.
[0024] In one of the embodiments, the air conditioning demand information comprises heating demand information and cooling demand information; the determining the air conditioning demand information of the target object based on the cold and hot state information and target temperature information comprises:
[0025] In a case where the cold-heat state information is first state information and a temperature value corresponding to the target temperature information is less than a first temperature threshold, the air conditioner demand information is determined as the heating demand information; the first state information indicates that the target object is in a cold state.
[0026] In a case where the cold-heat state information is second state information and a temperature value corresponding to the target temperature information is greater than a second temperature threshold, the air conditioner demand information is determined as the cooling demand information; the second state information indicates that the target object is in a hot state.
[0027] In one of the embodiments, the controlling the air conditioner based on the air conditioner demand information comprises:
[0028] determining an operation mode of the air conditioner based on the air conditioner demand information, and determining an air outlet parameter based on the position information of the target object;
[0029] controlling the air conditioner to operate based on the operation mode and the air outlet parameter.
[0030] In a second aspect, the embodiments of the present application provide an air conditioner control device, and the device comprises:
[0031] an information acquisition module configured to acquire action information of a target object in a first target area;
[0032] a demand determination module configured to identify the action information and determine air conditioner demand information of the target object;
[0033] an air conditioner control module configured to control an air conditioner based on the air conditioner demand information.
[0034] In one of the embodiments, the information acquisition module comprises:
[0035] a person identification sub-module configured to perform person identification on a second target area to obtain a person identification result of the second target area; the second target area is an area other than the first target area in a detection area;
[0036] an information acquisition sub-module configured to acquire action information of a target object in the first target area if the person identification result indicates that the second target area is empty.
[0037] In one of the embodiments, the demand determination module comprises:
[0038] a state identification sub-module configured to identify the action information and determine cold-heat state information of the target object;
[0039] The demand determining sub-module is configured to determine air conditioner demand information of the target object based on the cold and hot state information and target temperature information, wherein the target temperature information comprises ambient temperature information and / or body surface temperature information of the target object.
[0040] In one of the embodiments, the state identifying sub-module comprises:
[0041] The posture information determining unit is configured to identify the action information and determine posture information of the target object.
[0042] The first state determining unit is configured to determine the cold and hot state information as first state information if the posture information indicates that the target object is in a curled state, wherein the first state information indicates that the target object is in a cold state.
[0043] The second state determining unit is configured to determine the cold and hot state information of the target object based on motion information of a target key point of the target object if the posture information indicates that the target object is in a lying state.
[0044] In one of the embodiments, the motion information of the target key point comprises a motion distance and a motion speed of the target key point, and the second state determining unit comprises:
[0045] The motion information determining sub-unit is configured to determine motion state information and motion trend information of the target object based on the motion distance and the motion speed of the target key point.
[0046] The first state determining sub-unit is configured to determine the cold and hot state information as second state information if the motion state information indicates that the number of times of turning over of the target object is greater than a number threshold, or if the motion state information indicates that the motion frequency of a target part of the target object is greater than a frequency threshold, wherein the second state information indicates that the target object is in a hot state.
[0047] The first state determining sub-unit is configured to determine the cold and hot state information as the first state information if the motion trend information indicates that the target object is moving towards the curled state.
[0048] In one of the embodiments, the air conditioner demand information comprises heating demand information and cooling demand information, and the demand determining sub-module comprises:
[0049] The heating demand determining unit is configured to determine the air conditioner demand information as the heating demand information if the cold and hot state information is first state information and a temperature value corresponding to the target temperature information is less than a first temperature threshold, wherein the first state information indicates that the target object is in a cold state.
[0050] The refrigeration demand determining unit is configured to determine the air conditioner demand information as the refrigeration demand information when the cold and heat state information is second state information and a temperature value corresponding to the target temperature information is greater than a second temperature threshold, the second state information indicating that the target object is in a heat state.
[0051] In one of the embodiments, the air conditioner control module comprises:
[0052] The parameter determining sub-module is configured to determine an operation mode of the air conditioner based on the air conditioner demand information, and determine an air outlet parameter based on the position information of the target object.
[0053] The air conditioner control sub-module is configured to control the air conditioner to operate based on the operation mode and the air outlet parameter.
[0054] In a third aspect, the embodiments of the present application further provide an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is executed by the processor to implement the steps in the air conditioner control method.
[0055] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps in the air conditioner control method.
[0056] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, which comprises computer instructions stored in a computer readable storage medium, and a processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the method provided in the various optional implementation manners of the embodiments of the present application.
[0057] To sum up, in the embodiments of the present application, the action information of the target object in the first target region is acquired, and the action information is recognized to determine the air conditioner demand information of the target object, and then the air conditioner is controlled based on the air conditioner demand information. In this way, the accurate recognition of the air conditioner demand information of the target object is achieved, and the automatic control of the air conditioner is realized according to the air conditioner demand information, thereby improving the energy saving effect and effectively avoiding the situation that the target object is not comfortable due to the overcooling or overheating of the environment. BRIEF DESCRIPTION OF DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description only represent some of the embodiments of the present application, and all other drawings obtained by those skilled in the art without creative effort based on these drawings also belong to the protection scope of the present application.
[0059] Figure 1 is a schematic diagram of steps of an air conditioner control method provided by an embodiment of the present application;
[0060] Figure 2 is a structural schematic diagram of an air conditioner control device provided by an embodiment of the present application;
[0061] Figure 3 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0062] The technical solutions in the present application will be described clearly and completely in combination with the drawings in the present application. Obviously, the described embodiments only represent some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort also belong to the protection scope of the present application.
[0063] It should be noted that in people's daily work and life, young people often go out to work, and the old, children or cats and dogs at home are alone at home in the special environment of too hot in summer or too cold in winter, which may cause unnecessary harm to the old, children or pets, leading to physical discomfort or even illness. Even if the family turns on the air conditioner in advance before going out, since different people have different preferences and adaptability to the environment temperature, the environment may still be too cold or too hot, and long-term use of the air conditioner will shorten the service life of the air conditioner and cause large energy consumption and electricity charges.
[0064] In view of the problem that it is difficult to provide a comfortable environment temperature for the old, children or pets alone at home, the present application aims to provide an air conditioner control method, which can determine the air conditioner demand information of the target object by acquiring the motion information of the target object in the first target area and identifying the motion information, and then control the air conditioner based on the air conditioner demand information. In this way, the air conditioner demand information of the target object can be accurately identified, and the air conditioner can be automatically controlled according to the air conditioner demand information, thereby improving the energy saving effect and effectively avoiding the discomfort of the target object caused by the environment being too cold or too hot.
[0065] The following are described in detail, respectively. It should be noted that the order of description of the following embodiments is not a limitation on the priority order of the embodiments.
[0066] Figure 1 A flowchart of an air conditioner control method according to an embodiment of the present application is schematically shown. The execution subject of the air conditioner control method can be an air conditioner control device, which can be integrated in an electronic device, which can be a server, a terminal, or the like.
[0067] The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
[0068] The terminal can be a smartphone, a tablet computer, a notebook computer, a desktop computer, an air conditioner, or the like, but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication, which is not limited in the present application.
[0069] In the present embodiment, the air conditioner control device will be described from the perspective of the air conditioner control device, which can be integrated in a server or a terminal or the like. In order to facilitate the description of the air conditioner control method of the present application, the air conditioner control device will be described in detail below, i.e., the terminal will be described in detail as the execution subject.
[0070] Referring to Figure 1 , an air conditioner control method according to the present application is shown, which can specifically include the following steps:
[0071] S101: Obtain the action information of the target object in the first target area.
[0072] In the present embodiment, the terminal can identify the preset detection area to obtain the action information of the target object in the first target area; wherein the first target area can be part or all of the detection area. That is, the terminal can detect the first target area specifically, or extract the first target area from the detection area, and identify the target object in the first target area to obtain the action information of the target object.
[0073] In this embodiment, the target object can specifically include a person such as an old person or a child, or a pet such as a cat or a dog, and the first target area can be a preset area where an object to be detected is located. For example, the object to be detected can be an object such as a bed, a sofa, or a pet house that provides a resting place for the target object. In this way, the action information of the target object in the first target area can be continuously monitored when the target object is in a resting state, and the air conditioning demand information of the target object can be identified in a timely manner.
[0074] In this embodiment, the terminal can obtain the action information of the target object in the first target area through multiple detection methods. Specifically, a visible light image of the detection area can be obtained through a camera, and the action information of the target object in the first target area can be obtained by identifying the visible light image. Alternatively, an infrared image of the detection area can be obtained through an infrared sensor, and the action information of the target object in the first target area can be obtained by identifying the infrared image. Alternatively, point cloud data of the detection area can be obtained through a radar sensor, and the action information of the target object in the first target area can be obtained by identifying the point cloud data.
[0075] In this embodiment, in order to fully utilize the advantages of different detection methods, a corresponding target detection method can be selected according to environmental information to identify the action of the target object. Specifically, the environmental information can include the light intensity of the first target area. When it is detected that the light intensity of the first target area is less than a first light intensity threshold, that is, the light environment is relatively dark, the action information of the target object can be identified based on the infrared image and / or the point cloud data. Alternatively, when it is detected that the light intensity of the first target area is greater than a second light intensity threshold, that is, the light environment is relatively bright, the action information of the target object can be identified based on the visible light image and / or the point cloud data.
[0076] S102: identifying the action information to determine the air conditioning demand information of the target object.
[0077] In this embodiment, considering that the target object usually exhibits different actions in different temperature environments, for example, when the target object is in a cold state, a huddled action usually occurs, and when the target object is in a hot state, actions such as repeatedly turning over and restless hands and feet usually occur. Therefore, by identifying the action information, the cold and hot state information of the target object can be effectively identified, and the air conditioning demand information of the target object can be determined according to the cold and hot state information.
[0078] In this embodiment, the air conditioning demand information represents the demand information of the target object for the air conditioner. Specifically, it can include heating demand information and cooling demand information. In this way, when it is identified that the target object feels cold, the air conditioner can be controlled to heat in a timely manner, or when it is identified that the target object feels hot, the air conditioner can be controlled to cool in a timely manner.
[0079] S103: controlling the air conditioner based on the air conditioner demand information.
[0080] In the embodiment, the target parameter of the air conditioner can be determined according to the air conditioner demand information, and then the air conditioner is controlled to operate according to the target parameter. The target parameter can include an operating mode of the air conditioner.
[0081] In specific implementation, when the air conditioner demand information is heating demand information, the operating mode of the air conditioner is determined as a heating mode; and when the air conditioner demand information is cooling demand information, the operating mode of the air conditioner is determined as a cooling mode.
[0082] In the embodiment, the target parameter can also include a target set temperature of the air conditioner. Different air conditioner demand information can correspond to different target set temperatures. After the air conditioner is controlled to switch to the operating mode corresponding to the air conditioner demand information, the air conditioner can be controlled to operate according to the target set temperature corresponding to the air conditioner demand information.
[0083] In specific implementation, a temperature interval can be determined based on the target set temperature. The temperature interval can be a closed interval composed of an upper limit temperature value and a lower limit temperature value. The upper limit temperature value is greater than the target set temperature, and the lower limit temperature value is less than the target set temperature. After the air conditioner switches to the heating mode, if it is detected that the target temperature information is greater than the upper limit temperature value, the air conditioner is controlled to stop until the target temperature information is less than the upper limit temperature value, and the air conditioner is restarted to perform heating. After the air conditioner switches to the cooling mode, if it is detected that the target temperature information is less than the lower limit temperature value, the air conditioner is controlled to stop until the target temperature information is greater than the upper limit temperature value, and the air conditioner is restarted to perform cooling. The target temperature information includes environmental temperature information and / or body surface temperature information of the target object.
[0084] In the embodiment, by setting the temperature interval, the air conditioner can always maintain the environment in a comfortable temperature range, while effectively avoiding unnecessary energy consumption caused by long-time opening of the air conditioner, thereby improving energy saving effect.
[0085] In the embodiment, by obtaining the action information of the target object in the first target area and identifying the action information, accurate identification of the air conditioner demand information of the target object is realized, and then automatic control of the air conditioner is realized according to the air conditioner demand information. In this way, not only can the air conditioner be avoided to be opened for a long time, thereby improving energy saving effect, but also the situation that the old, the children who have difficulty in action, or the pet alone at home are physically uncomfortable due to too cold or too hot environment can be effectively avoided.
[0086] In a feasible embodiment, the step of obtaining the action information of the target object in the first target area can specifically include the following sub-steps:
[0087] S101-1: Perform person recognition on the second target region to obtain a person recognition result of the second target region.
[0088] It should be noted that the second target region is a region in the detection region other than the first target region.
[0089] In this embodiment, the terminal can form an explicit room layout by dividing the detection region into the first target region and the second target region, and further perform targeted recognition on the first target region and the second target region.
[0090] In this embodiment, the terminal can first perform person recognition on the second target region to determine whether there is a person in the second target region, and only when it is detected that there is no person in the second target region, the action recognition on the target object in the first target region is performed.
[0091] In a specific implementation, a visible light image of the detection region can be obtained by a camera, and then the person recognition result of the second target region is obtained by performing person recognition on the visible light image; or an infrared image of the detection region can be obtained by an infrared sensor, and then the person recognition result of the second target region is obtained by performing person recognition on the infrared image; or point cloud data of the detection region can be obtained by a radar sensor, and then the person recognition result of the second target region is obtained by performing recognition on the point cloud data.
[0092] S101-2: If the person recognition result indicates that there is no person in the second target region, obtain action information of the target object in the first target region.
[0093] In this embodiment, if it is detected that there is a person in the second target region, it means that a person can help the old or child in the first target region who has difficulty in action to adjust the temperature, so there is no need to adjust the air conditioner; if it is detected that there is no person in the second target region, the air conditioner automatic control function is automatically triggered, and then the action information of the target object in the first target region is obtained, and the environmental temperature in the room is automatically adjusted according to the action information to ensure the comfort of the target object.
[0094] In this embodiment, by performing person recognition on the second target region, it can be accurately determined whether the target object in the first target region is at home alone, and further when it is detected that the target object is at home alone, the air conditioner is controlled in time to provide a comfortable resting environment for the old or child who has difficulty in action.
[0095] In this embodiment, the user can also actively trigger the air conditioner automatic control function. Specifically, the user can send a function start instruction to the terminal through the client device, and the terminal triggers the air conditioner automatic control function to obtain the action information of the target object in the first target region in response to the function start instruction.
[0096] In an implementation, the step of identifying the action information and determining the air conditioning demand information of the target object can include the following sub-steps:
[0097] S102-1: Identify the action information and determine the cold-heat state information of the target object.
[0098] In this embodiment, the cold-heat state information can include first state information and second state information; the first state information indicates that the target object is in a cold state; and the second state information indicates that the target object is in a hot state.
[0099] In this embodiment, the action recognition model can be trained based on a large amount of sample action data, so that the action recognition model learns the association pattern between the action information and the cold-heat state information, and then the cold-heat state information output by the action recognition model can be obtained by inputting the action information into the pre-trained action recognition model.
[0100] In this embodiment, although the action recognition model can accurately identify the cold-heat state information, it will consume a large amount of model training resources and computing resources. Therefore, the posture recognition and motion recognition of the target object based on the action information of the target object can be performed to quickly and effectively identify the cold-heat state information.
[0101] S102-2: Determine the air conditioning demand information of the target object based on the cold-heat state information and the target temperature information.
[0102] In this embodiment, the target temperature information includes environmental temperature information and / or body surface temperature information of the target object.
[0103] In this embodiment, by further considering the environmental temperature information and / or the body surface temperature information of the target object based on the cold-heat state information, the misjudgment can be effectively avoided, and the accuracy of the air conditioning demand information of the target object can be fully ensured.
[0104] In a specific implementation, the air conditioning demand information can include heating demand information and cooling demand information. The terminal can determine that the air conditioning demand information is the heating demand information when the cold-heat state information is the first state information and the temperature value corresponding to the target temperature information is less than a first temperature threshold. The terminal can determine that the air conditioning demand information is the cooling demand information when the cold-heat state information is the second state information and the temperature value corresponding to the target temperature information is greater than a second temperature threshold.
[0105] In this embodiment, the first temperature threshold and the second temperature threshold can be determined based on the temperature type of the target temperature information.
[0106] In this embodiment, when the target temperature information adopts the ambient temperature information, the first temperature threshold and the second temperature threshold can be lower in value; when the target temperature information adopts the body surface temperature information, the first temperature threshold and the second temperature threshold can be higher in value.
[0107] In this embodiment, when the target temperature information adopts the ambient temperature information and the body surface temperature information, the first temperature threshold can include a first ambient temperature threshold and a first body surface temperature threshold; the second temperature threshold can include a second ambient temperature threshold and a second body surface temperature threshold. Further, in a case where the cold-heat state information is the first state information, the temperature value corresponding to the ambient temperature information is less than the first ambient temperature threshold, and the temperature value corresponding to the body surface temperature information is less than the first body surface temperature threshold, it can be determined that the air conditioner demand information is the heating demand information; in a case where the cold-heat state information is the second state information, the temperature value corresponding to the ambient temperature information is greater than the second ambient temperature threshold, and the temperature value corresponding to the body surface temperature information is greater than the second body surface temperature threshold, it can be determined that the air conditioner demand information is the cooling demand information.
[0108] In this embodiment, by matching the target temperature information with the corresponding temperature threshold, the effective identification of the cold-heat state of the user can be realized in the temperature dimension, and further combined with the cold-heat state information identified based on the action information, the air conditioner demand information of the target object can be accurately identified.
[0109] In one possible implementation, the step of identifying the action information and determining the cold-heat state information of the target object can specifically include the following sub-steps:
[0110] S102-1-1: identifying the action information and determining the posture information of the target object.
[0111] In this embodiment, the terminal will first identify the posture of the target object according to the action information to obtain the posture information of the target object.
[0112] In a specific implementation, if the terminal obtains the action information of the target object in the first target region through the camera, i.e., the action information is image data, the image segmentation technology can be used to separate the target object from the background, and a preset classification model (such as a support vector machine, a random forest, etc.) or a deep learning classification network (such as ResNet, DenseNet, etc.) can be used to identify the posture of the segmented image region to obtain the posture information of the target object.
[0113] In a specific implementation, if the action information of the target object in the first target region obtained by the terminal through the radar sensor is point cloud data, the distribution state of the point cloud data can be analyzed to obtain the posture information of the target object. Specifically, if the point cloud data of the target object is compactly distributed, it can be determined that the target object is in a curled state; if the point cloud data of the target object is horizontally distributed, it can be determined that the target object is in a lying state.
[0114] S102-1-2: In the case where the posture information indicates that the target object is in a curled state, the cold and hot state information is determined as the first state information.
[0115] In this embodiment, if it is detected that the target object is in a curled state, it indicates that the cold and hot state information of the target object is the first state information, i.e., the target object is in a cold state.
[0116] S102-1-3: In the case where the posture information indicates that the target object is in a lying state, the cold and hot state information of the target object is determined based on the motion information of the target key points of the target object.
[0117] It should be noted that the lying state specifically includes a flat lying state and a prone state.
[0118] In this embodiment, if it is detected that the target object is in a lying state, it indicates that the user may not feel cold temporarily, and at this time, the motion information of the target key points of the target object can be detected in real time to further determine the cold and hot state information of the target object.
[0119] In this embodiment, by performing posture recognition and action recognition on the target object, comprehensive and accurate recognition of the cold and hot state information of the target object can be achieved.
[0120] In one possible implementation, to achieve accurate action recognition, the motion information of the target key points includes the motion distance and the motion speed of the target key points; the step of determining the cold and hot state information of the target object based on the motion information of the target key points of the target object can specifically include the following sub-steps:
[0121] S102-1-3-1: Based on the motion distance and the motion speed of the target key points, the motion state information and the motion trend information of the target object are determined.
[0122] In this embodiment, the target key points specifically include a head key point, a torso key point, a hand key point, and a leg key point.
[0123] In this embodiment, by detecting the motion distance and the motion speed of the target key point, the motion state information and the motion trend information of the target object can be accurately recognized. Specifically, by recognizing the motion distance of the target key point, it can be effectively judged whether the target object performs a turning-over action; by recognizing the motion speed of the target key point, the motion frequency of the target object can be recognized to determine whether the user frequently performs a palm-fanning, sweat-wiping or foot-kicking action due to the heat.
[0124] S102-1-3-2: In a case where the motion state information represents that the number of times of turning-over of the target object is greater than the number threshold, or in a case where the motion state information represents that the motion frequency of the target part of the target object is greater than the frequency threshold, the cold-heat state information is determined as the second state information.
[0125] In this embodiment, in order to improve the detection accuracy, the terminal can trigger the accumulation counting of the number of times of turning-over each time the target object performs the turning-over, and if the number of times of turning-over of the target object within the first preset time is greater than the number threshold, it indicates that the target object frequently turns over, and the cold-heat state information is determined as the second state information, i.e., the target object is in a hot state.
[0126] In this embodiment, the target part can include the hand and / or the foot, and the terminal can also monitor the motion frequency of the target part in real time, and if the motion frequency of the target part of the target object is greater than the frequency threshold, it indicates that the target object is in an unstable state of hands and feet due to the heat, and the cold-heat state information is determined as the second state information, i.e., the target object is in a hot state.
[0127] S102-1-3-3: In a case where the motion trend information represents that the target object moves towards the action of the curled-up state, the cold-heat state information is determined as the first state information.
[0128] In this embodiment, considering that when the target object is in a sleeping state, the action will not be changed in a short time, therefore, the terminal can also obtain the posture information of the target object at a preset time interval, and then fit the plurality of posture information collected in succession to recognize the motion trend of the target object, and if it is detected that the posture of the target object gradually moves from the lying state to the action of the curled-up state, it indicates that the target object will gradually become the curled-up state due to the cold environment, and the cold-heat state information of the target object is determined as the first state information, i.e., the target object is in a cold state.
[0129] In this embodiment, by recognizing the motion trend information of the target object, the air conditioner can be controlled to start the heating mode in time before the target object is in the curled-up state, so as to avoid the case that the target object is in the cold state for a long time and causes the discomfort of the body.
[0130] In the embodiment, by comprehensively considering the motion distance and the motion speed of the target key point, accurate recognition of various actions of the target object can be realized, and further, comprehensive and accurate recognition of the cold and hot state information of the target object can be realized.
[0131] In a feasible embodiment, the step of controlling the air conditioner based on the air conditioner demand information can specifically include the following sub-steps:
[0132] S103-1: Based on the air conditioner demand information, the operation mode of the air conditioner is determined, and based on the position information of the target object, the outflow parameter is determined.
[0133] In the embodiment, when the air conditioner demand information is heating demand information, the operation mode of the air conditioner is determined as a heating mode; when the air conditioner demand information is cooling demand information, the operation mode of the air conditioner is determined as a cooling mode.
[0134] In the embodiment, in order to achieve the purpose of quickly adjusting the temperature, the terminal will further determine the outflow parameter according to the position information of the target object.
[0135] In specific implementation, the terminal can determine the angle information and the distance information of the target object relative to the air conditioner according to the position information of the target object, and further determine the outflow parameter of the air conditioner according to the angle information and the distance information. The outflow parameter can include the outflow angle and the outflow wind speed.
[0136] S103-2: Based on the operation mode and the outflow parameter, the air conditioner is controlled to operate.
[0137] In the embodiment, the terminal can generate an air conditioner control instruction containing the operation mode and the outflow parameter, and send the air conditioner control instruction to the air conditioner, so that the air conditioner operates according to the operation mode and the outflow parameter.
[0138] In the embodiment, by determining the appropriate outflow parameter, the outflow angle of the air conditioner can be adjusted according to the angle information of the target object relative to the air conditioner, so that the air conditioner can blow air at the target object in the early stage; and the outflow wind volume of the air conditioner can be adjusted according to the distance information of the target object relative to the air conditioner, so that the cool wind or the hot wind blown by the air conditioner can effectively reach the target object. In this way, the purpose of quickly adjusting the temperature can be achieved.
[0139] In the embodiment, the terminal can further determine the target set temperature of the air conditioner according to the air conditioner demand information and the attribute information of the target object, and further control the air conditioner to operate based on the operation mode, the outflow parameter and the target set temperature. That is, when the terminal controls the air conditioner to automatically heat or cool, the terminal can also determine the appropriate set temperature for the target object to meet the individual temperature demand of the target object.
[0140] In a specific implementation, the terminal can first determine a basic set temperature according to the air conditioner demand information, then determine a temperature correction coefficient based on the attribute information of the target object, and finally correct the basic set temperature based on the temperature correction coefficient to obtain the target set temperature.
[0141] In this embodiment, the tolerance to temperature is generally different for different ages and genders, for example, the body temperature of children is generally slightly higher than that of adults, the body temperature of the elderly is relatively low, and the average body temperature of women is slightly higher than that of men. Therefore, the attribute information can specifically include age and gender, and the temperature correction coefficient is further determined according to the age and gender of the target object.
[0142] In a specific implementation, a comparison table of age, gender, and temperature correction coefficient can be constructed, and the corresponding temperature correction coefficient is found in the comparison table according to the age and gender of the target object.
[0143] In this embodiment, by comprehensively considering the air conditioner demand information, the position information, and the attribute information of the target object, appropriate air conditioner operation parameters can be determined for the target object, and rapid and accurate adjustment of the temperature can be realized.
[0144] To better implement the air conditioner control method of the present application, the present application further provides an air conditioner control device based on the above-mentioned air conditioner control method. The meanings of the terms are the same as in the above-mentioned air conditioner control method, and the specific implementation details can be referred to the description in the method embodiment.
[0145] Based on the same inventive concept, referring to Figure 2 The embodiment of the present application provides an air conditioner control device 200, which comprises:
[0146] An information acquisition module 201 is configured to acquire action information of a target object in a first target area.
[0147] A demand determination module 202 is configured to identify the action information and determine air conditioner demand information of the target object.
[0148] An air conditioner control module 203 is configured to control an air conditioner based on the air conditioner demand information.
[0149] In one embodiment, the information acquisition module 201 comprises:
[0150] A person identification sub-module is configured to perform person identification on a second target area to obtain a person identification result of the second target area; the second target area is an area other than the first target area in the detection area.
[0151] An information acquisition sub-module is configured to acquire the action information of the target object in the first target area if the person identification result indicates that the second target area is empty.
[0152] In one of the embodiments, the demand determining module 202 comprises:
[0153] a state identifying sub-module, configured to identify the action information and determine cold and hot state information of the target object;
[0154] a demand determining sub-module, configured to determine air conditioner demand information of the target object based on the cold and hot state information and target temperature information; the target temperature information comprises ambient temperature information and / or body surface temperature information of the target object.
[0155] In one of the embodiments, the state identifying sub-module comprises:
[0156] a posture information determining unit, configured to identify the action information and determine posture information of the target object;
[0157] a first state determining unit, configured to, in a case where the posture information indicates that the target object is in a curled state, determine the cold and hot state information as first state information; the first state information indicates that the target object is in a cold state;
[0158] a second state determining unit, configured to, in a case where the posture information indicates that the target object is in a lying state, determine the cold and hot state information of the target object based on motion information of a target key point of the target object.
[0159] In one of the embodiments, the motion information of the target key point comprises motion distance and motion speed of the target key point; the second state determining unit comprises:
[0160] a motion information determining sub-unit, configured to determine motion state information and motion trend information of the target object based on the motion distance and the motion speed of the target key point;
[0161] a first state determining sub-unit, configured to, in a case where the motion state information indicates that the number of times of turning over of the target object is greater than a number threshold, or in a case where the motion state information indicates that the motion frequency of a target part of the target object is greater than a frequency threshold, determine the cold and hot state information as second state information; the second state information indicates that the target object is in a hot state;
[0162] a first state determining sub-unit, configured to, in a case where the motion trend information indicates that the target object is moving towards a curled state, determine the cold and hot state information as the first state information.
[0163] In one of the embodiments, the air conditioner demand information comprises heating demand information and cooling demand information; the demand determining sub-module comprises:
[0164] The heating demand determining unit is configured to determine the air conditioner demand information as heating demand information in a case where the cold-heat state information is first state information and a temperature value corresponding to the target temperature information is less than a first temperature threshold; and the first state information indicates that the target object is in a cold state.
[0165] The cooling demand determining unit is configured to determine the air conditioner demand information as cooling demand information in a case where the cold-heat state information is second state information and a temperature value corresponding to the target temperature information is greater than a second temperature threshold; and the second state information indicates that the target object is in a hot state.
[0166] In one of the embodiments, the air conditioner control module 203 includes:
[0167] The parameter determining sub-module is configured to determine an operation mode of the air conditioner based on the air conditioner demand information, and determine an air outlet parameter based on the position information of the target object.
[0168] The air conditioner control sub-module is configured to control the air conditioner to operate based on the operation mode and the air outlet parameter.
[0169] By adopting the technical solutions of the embodiments of the present application, the air conditioner control device 200 can determine the air conditioner demand information of the target object by acquiring the action information of the target object in the first target area and identifying the action information, and then control the air conditioner based on the air conditioner demand information. In this way, the accurate identification of the air conditioner demand information of the target object can be realized, and the automatic control of the air conditioner can be realized according to the air conditioner demand information, thereby effectively avoiding the situation that the target object is not comfortable due to the overcooling or overheating of the environment while improving the energy saving effect.
[0170] The specific limitations of the air conditioner control device 200 can be referred to the limitations of the air conditioner control method in the foregoing, and will not be described herein. Each module in the air conditioner control device can be realized by software, hardware, and a combination thereof in whole or in part. Each module can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0171] In addition, the present application also provides an electronic device, as shown in the following figure, which shows a structural schematic diagram of the electronic device related to the present application, in particular: Figure 3
[0172] The electronic device can include a processor 301 with one or more processing cores and a memory 302 with one or more computer readable storage media. Those skilled in the art can understand that the processor 301 and the memory 302 are not limited to the above components, and the electronic device can further include other components. Figure 3 The electronic device structure shown in the figures does not constitute a limitation on the electronic device, and can include more or fewer components than shown, or combine certain components, or arrange the components differently. Among them:
[0173] The processor 301 is the control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, thereby overall monitoring the electronic device. Optionally, the processor 301 can include one or more processing cores; preferably, the processor 301 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 301.
[0174] The memory 302 can be used to store software programs and modules, and the processor 301 executes various functions and data processing by running the software programs and modules stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 302 can also include a memory controller to provide access for the processor 301 to the memory 302.
[0175] In a possible implementation, the electronic device further includes a power supply 303 for supplying power to each component, and preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 303 can also include one or more than one direct current or alternating current power supply, a recharging system, a power supply device debugging circuit, a power supply converter or inverter, a power supply state indicator, and any other components.
[0176] In a possible implementation, the electronic device can further include an input unit 304, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0177] Although not shown, the electronic device can further include a display unit and the like, which will not be described here. Specifically, in the present embodiment, the processor 301 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 302 according to the following instructions, and run the application program stored in the memory 302 by the processor 301, thereby implementing the steps in any air conditioner control method provided by the embodiments of the present application.
[0178] Those skilled in the art can understand that, Figure 3 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. Specifically, the electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0179] In a feasible implementation, an electronic device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the method described in any embodiment of the present application when executing the computer program.
[0180] In a feasible implementation, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the method described in any embodiment of the present application when executed by a processor.
[0181] In a feasible implementation, a computer program product is also provided, which includes a computer program or instructions, and the computer program or instructions implement the method described in any embodiment of the present application when executed by a processor.
[0182] The specific implementation of each operation can refer to the previous embodiments, which will not be described here.
[0183] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by relevant hardware controlled by instructions, which can be stored in a computer readable storage medium and loaded and executed by a processor.
[0184] To this end, the present application provides a computer readable storage medium, which stores a computer program capable of being loaded by a processor to execute the steps in any air conditioner control method provided by the present application.
[0185] The specific implementation of each operation can refer to the previous embodiments, which will not be described here.
[0186] The computer readable storage medium can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0187] The steps of any of the air conditioner control methods provided by the present application can be executed due to the instructions stored in the computer readable storage medium, thus the beneficial effects of any of the air conditioner control methods provided by the present application can be achieved, which will be described in detail in the foregoing embodiments and will not be repeated here.
[0188] Finally, it should be noted that in this document, the terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or terminal device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or terminal device including the element.
[0189] The above provides a detailed description of the air conditioner control method, device, storage medium and electronic equipment provided by the present application. In this document, specific examples are applied to describe the principles and implementation modes of the present application. The above description of the embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; in conclusion, the content of the specification should not be understood as a limitation of the present application.
Claims
1. An air conditioner control method characterized by comprising: The method comprises: acquiring action information of a target object in a first target area; recognizing the action information to determine air conditioner demand information of the target object; controlling an air conditioner based on the air conditioner demand information.
2. The air conditioner control method according to claim 1, characterized by, The acquiring of the action information of the target object in the first target area comprises: performing person recognition on a second target area to obtain a person recognition result of the second target area; the second target area is an area other than the first target area in a detection area; if the person recognition result indicates that the second target area is unoccupied, acquiring the action information of the target object in the first target area.
3. The air conditioner control method according to claim 1, characterized by, The recognizing of the action information to determine the air conditioner demand information of the target object comprises: recognizing the action information to determine cold-heat state information of the target object; determining air conditioner demand information of the target object based on the cold-heat state information and target temperature information; the target temperature information comprises ambient temperature information and / or body surface temperature information of the target object.
4. The air conditioner control method according to claim 3, characterized by, The recognizing of the action information to determine the cold-heat state information of the target object comprises: recognizing the action information to determine posture information of the target object; if the posture information indicates that the target object is in a curled state, determining the cold-heat state information as first state information; the first state information indicates that the target object is in a cold state; if the posture information indicates that the target object is in a lying state, determining the cold-heat state information of the target object based on motion information of a target key point of the target object.
5. The air conditioner control method according to claim 4, characterized by, The motion information of the target key point comprises a motion distance and a motion speed of the target key point. The determining of the cold-heat state information of the target object based on the motion information of the target key point of the target object comprises: determining motion state information and motion trend information of the target object based on the motion distance and the motion speed of the target key point; if the motion state information indicates that a number of times of turning over of the target object is greater than a number threshold, or if the motion state information indicates that a motion frequency of a target part of the target object is greater than a frequency threshold, determining the cold-heat state information as second state information; the second state information indicates that the target object is in a hot state; if the motion trend information indicates that the target object is moving towards the curled state, determining the cold-heat state information as the first state information.
6. The air conditioner control method according to claim 3, characterized by, The air conditioner demand information comprises heating demand information and cooling demand information; the determining of the air conditioner demand information of the target object based on the cold-heat state information and the target temperature information comprises: if the cold-heat state information is the first state information and a temperature value corresponding to the target temperature information is less than a first temperature threshold, determining the air conditioner demand information as the heating demand information; the first state information indicates that the target object is in a cold state. In a case where the cold-heat state information is second state information and a temperature value corresponding to the target temperature information is greater than a second temperature threshold, the air conditioner demand information is determined as the refrigeration demand information; the second state information represents that the target object is in a hot state.
7. The air conditioner control method according to claim 1, characterized by, The air conditioner is controlled based on the air conditioner demand information, including: An operation mode of the air conditioner is determined based on the air conditioner demand information, and an air outlet parameter is determined based on the position information of the target object; The air conditioner is controlled to operate based on the operation mode and the air outlet parameter.
8. An air conditioner control device characterized by comprising: The device includes: An information acquisition module configured to acquire action information of a target object in a first target area; A demand determination module configured to identify the action information and determine air conditioner demand information of the target object; An air conditioner control module configured to control an air conditioner based on the air conditioner demand information.
9. An electronic device, comprising: The computer program is stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps in the air conditioner control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer program is stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps in the air conditioner control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for controlling air conditioner and air conditioner
CN114234410A
Equipment control method and device, air conditioning equipment and storage medium
CN119983465A