Control method and apparatus for home appliance
By analyzing the user's sleep state and the operating stage of the temperature control device, the operating parameters of the fan are dynamically adjusted, which solves the problems of reduced user sleep comfort and increased energy consumption caused by fixed fan speed control, and achieves higher comfort and energy saving effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
- Filing Date
- 2026-03-11
- Publication Date
- 2026-05-29
AI Technical Summary
The existing fixed-speed fan control method leads to reduced user sleep comfort and increased system energy consumption in scenarios where temperature regulation devices and fans are linked for control.
By acquiring user behavior data and temperature control device status data within the space where home appliances are located, the system analyzes the user's sleep state and the operating stage of the temperature control device, and dynamically adjusts the fan's operating parameters to adapt to the needs of different sleep states and operating stages.
It improves user sleep comfort, reduces system energy consumption, and enables personalized and dynamic adaptation of fan operating parameters.
Smart Images

Figure CN122107554A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of home appliance technology, and in particular to control methods and devices for home appliances. Background Technology
[0002] With the development of smart home technology, temperature control devices and fans have been widely used in indoor environment regulation, especially in resting environments such as bedrooms. Temperature control devices and fans are usually used together to improve the efficiency of indoor temperature regulation and the user's comfort.
[0003] Existing fans already have basic functions such as multi-speed adjustment, forward and reverse switching, and timed operation. Some control schemes have also realized simple linkage between temperature control equipment and fans, such as starting the fan synchronously when the temperature control equipment is turned on and running it at a fixed speed.
[0004] However, this fixed-gear control method can lead to increased user sleep comfort and system energy consumption. Summary of the Invention
[0005] The main purpose of this application is to provide a control method and device for home appliances, which aims to solve the problem that in the scenario of linkage control between temperature regulation equipment and fan, the fan operates at a fixed speed, resulting in reduced user sleep comfort and increased system energy consumption.
[0006] To achieve the above objectives, this application proposes a method for controlling household appliances, comprising: During the collaboration between the temperature control device and the fan, user behavior data and the status data of the temperature control device within the space where the home appliance is located are acquired. The user's sleep state is determined based on user behavior data, and the operating stage of the temperature control device is determined based on the status data of the temperature control device. Based on the user's sleep state and the operating stage of the temperature control device, the fan's operating parameters are adjusted to obtain the target operating parameters; Control the fan to operate according to the target operating parameters.
[0007] In addition, to achieve the above objectives, this application also proposes a control device for a home appliance, comprising: a memory, a processor, and a control program for the home appliance stored in the memory and executable on the processor, wherein the control program for the home appliance is configured to implement the steps of the control method for the home appliance as described above.
[0008] One or more technical solutions proposed in this application have at least the following technical effects: In the collaboration between temperature control devices and fans, user behavior data is used to analyze user sleep patterns, and the operating stage of the temperature control device is determined by its status data. Then, based on the user's sleep state and the operating stage of the temperature control device, the fan's operating parameters are comprehensively adjusted. Because the temperature control device experiences different operating stages during its actual operation, and the indoor temperature change trend varies significantly across these stages, and because users experience different sleep states during sleep, their sensitivity to wind and noise, as well as the risk of catching a cold or feeling uncomfortable, dynamically changes. With this adjustment method, the fan speed is no longer fixed but dynamically adapts to different operating stages and user sleep states, thereby improving user sleep comfort and reducing system energy consumption. Attached Figure Description
[0009] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A flowchart illustrating an embodiment of the control method for household appliances provided in this application; Figure 2 This is a schematic diagram of the overall process of the control method for the household appliances of this application; Figure 3 This is another overall flow diagram of the control method for the household appliances of this application; Figure 4 A flowchart illustrating the process for determining the sleep state of the user in this application; Figure 5 This is a flowchart illustrating the operational stages of the temperature control equipment identified in this application. Figure 6 This is a schematic diagram of the control device for the household appliance in this application.
[0012] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0013] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0014] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0015] The main solution of this application embodiment is as follows: during the collaboration between the temperature regulating device and the fan, user behavior data and the status data of the temperature regulating device in the space where the home appliance is located are obtained; the user's sleep state is determined based on the user behavior data, and the operating stage of the temperature regulating device is determined based on the status data of the temperature regulating device; the operating parameters of the fan are adjusted based on the user's sleep state and the operating stage of the temperature regulating device to obtain the target operating parameters; and the fan is controlled to operate according to the target operating parameters.
[0016] In this embodiment, for ease of description, the following description will focus on the control device of the home appliance as the executing entity.
[0017] Because existing fan technology uses a fixed speed control method, it can reduce the user's sleep comfort.
[0018] This application provides a solution that allows the fan speed to be dynamically adapted to different operating stages and different user sleep states, thereby improving user sleep comfort and reducing system energy consumption.
[0019] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone; or an electronic device or control device for home appliances capable of performing the above functions; or a cloud server, local server, or cloud collaborative control platform capable of performing the above functions.
[0020] Based on this, the embodiments of this application provide a method for controlling home appliances, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the control method for household appliances according to this application.
[0021] In this embodiment, the control method for home appliances includes steps S10 to S40: Step S10: During the collaboration between the temperature control device and the fan, acquire user behavior data and status data of the temperature control device within the space where the home appliance is located. Temperature control equipment refers to air conditioning equipment with cooling or heating functions. In this application, it mainly refers to air conditioners, including wall-mounted air conditioners, cabinet air conditioners, and other equipment capable of actively regulating indoor temperature. This equipment can collect and report indoor temperature data, set temperature data, and operating mode data. It can also include other temperature control equipment such as underfloor heating and fan heaters.
[0022] A fan is a fan-shaped device that has multiple speed settings, forward and reverse rotation control, timer function, and intermittent operation function. It is a cooperating device with temperature regulation equipment to promote air circulation, improve the uniformity of temperature distribution, or reduce the discomfort of direct airflow.
[0023] User behavior data refers to multi-dimensional data sources used to determine a user's sleep state. For example, it can include human presence and posture data collected by millimeter-wave radar, physiological state data collected by wearable devices such as smart bracelets, mobile phone interaction data, and data on sleep time periods preset by the user in applications. This user behavior data can also directly include initial sleep states determined from different sources. Since the initial sleep states determined by different sources may differ, subsequent filtering and source validity assessments are required to determine the final user sleep state. It should be noted that this user behavior data requires user authorization before access can be obtained to avoid the leakage of user privacy.
[0024] The status data of temperature control devices can include real-time indoor temperature, user-set temperature, absolute temperature difference, and temperature change trend data. Among them, the temperature difference is the absolute value of the difference between the indoor temperature and the set temperature, and the temperature change trend can be the temperature difference over a period of time.
[0025] In one optional approach, the system collects multi-source data simultaneously through the status access and aggregation module of a cloud-based collaborative control platform at a set period. For user behavior data, the system connects to millimeter-wave radar devices via IoT protocols to acquire human point cloud data and bed exit markers, connects to wearable devices to acquire sleep stage data and wearing status, listens to interactive events reported by the mobile application, and reads the user's preset sleep time period configuration. For temperature control device status data, the system collects air conditioner return air temperature sensor data as room temperature, reads the target temperature set by the user via remote control or application, calculates the current temperature difference, and stores historical temperature sequences for trend analysis. All data undergoes timestamp alignment and deduplication caching during collection to ensure that multi-source data is analyzed and processed under the same time reference.
[0026] Another alternative approach involves deploying edge computing nodes locally on home appliances to collect and process raw sensor data in real time. Specifically, after the millimeter-wave radar detects human presence and recognizes posture locally, it uploads the identified user behavior data to the cloud; the air conditioner controller maintains a sliding average window for temperature data locally, uploading smoothed temperature data and trend calculation results every preset period; the wearable device forwards the calculated user behavior data to the cloud platform through a gateway. The cloud maintains a data cache queue, reassembling and completing delayed or out-of-order data packets to ensure the continuity and integrity of the data stream.
[0027] Multi-source heterogeneous data acquisition ensures the reliability of input for user sleep state assessment and air conditioning stage identification. Multi-source acquisition improves data redundancy and fault tolerance; the system can continue operating even if a single data source fails. Timestamp alignment and deduplication caching mechanisms avoid data conflicts and redundant calculations, providing high-quality data input for subsequent fusion algorithms. This step improves the accuracy of subsequent sleep state fusion and the stability of air conditioning stage determination.
[0028] Step S20: Determine the user's sleep state based on user behavior data, and determine the operating stage of the temperature control device based on the status data of the temperature control device; User sleep state refers to the unified sleep stage output by the system, which can be divided into multiple states according to the actual situation, such as wakefulness, sleep preparation, light sleep, deep sleep, and wake-up preparation. Each state can be accompanied by a confidence score and a validity period. The target operating parameters determined for different user sleep states are different.
[0029] The operating phase refers to the working state of temperature control equipment, categorized based on temperature difference and temperature trend. It reflects the speed at which the indoor temperature approaches the set temperature, including the acceleration phase, transition phase, and stabilization phase. In the acceleration, transition, and stabilization phases, the absolute value of the temperature difference decreases sequentially. That is, in the acceleration phase, the indoor temperature approaches the set temperature relatively quickly, followed by the transition phase, and the stabilization phase sees the slowest approach. If the temperature control equipment is an air conditioner, the speed at which the indoor temperature approaches the set temperature can be adjusted by regulating the compressor's operating frequency, the opening of the electronic expansion valve, and the fan speed.
[0030] In one optional approach, user behavior data is first subjected to single-source stability filtering, requiring the state of any data source to remain consistent for a certain period of time before it is considered valid. Next, single-source validity is determined, filtering invalid data based on bed-off and wear-related indicators. Then, weights are redistributed, reallocating them among radar, wearable devices, and a set sleep time period according to their original weight ratios. Next, conflict arbitration is performed. Then, a set sleep time period mapping is enabled, inferring the user's sleep state based on the set sleep time period when valid data is lacking. The confidence level of the user's sleep state is then calculated. Finally, a validity period anti-jump mechanism is applied, disallowing state switching caused by non-contradictory events within the validity period to determine the user's sleep state. For the operating phase of the temperature regulation device, the system calculates the temperature difference and performs a preliminary operating phase division, then corrects the preliminary operating phase based on the temperature change trend over a past period to obtain the operating phase of the temperature regulation device.
[0031] Alternatively, user behavior data and the status data of the temperature control device can be input into an existing deep learning or machine learning model to obtain the user's sleep state and the operating stage of the temperature control device. This model can be a neural network model, a large language model, etc. Deep learning or machine learning models are conventional models in this field, and their specific processing procedures will not be described in detail here.
[0032] Step S30: Based on the user's sleep state and the operating stage of the temperature control device, adjust the fan's operating parameters to obtain the target operating parameters; Target operating parameters refer to the final operating parameters of the fan, including speed, direction of rotation, operating mode, and duration of operation.
[0033] In one alternative approach, a pre-defined correspondence can be established between the user's sleep state, the operating stage of the temperature control device, and the fan's operating parameters. In practical applications, after obtaining the user's sleep state and the operating stage of the temperature control device, the correspondence can be matched to obtain the target operating parameters.
[0034] In another optional approach, after obtaining the user's sleep state and the operating stage of the temperature control device, a first weight of the user's sleep state on the fan's operating parameters and a second weight of the temperature control device's operating stage on the fan's operating parameters are obtained. The fan's operating parameters are then adjusted using these first and second weights to obtain the target operating parameters. Notably, the first weight of the fan's operating parameters can differ for different user sleep states, and the second weight can differ for different operating stages. This allows for personalized adjustments to the fan's operating parameters based on different user sleep states and the operating stage of the temperature control device, ensuring that the fan's operating parameters are adapted to the specific needs of the scenario.
[0035] Step S40: Control the fan to run according to the target operating parameters.
[0036] In one alternative approach, the cloud-based collaborative control platform encapsulates the calculated target operating parameters into control commands and sends them to the fan via an IoT communication protocol. The commands include the target gear, target direction, and target operating mode. Upon receiving the commands, the fan controller parses and executes them, driving the motor to switch gears and directions, and setting timers or intermittent operation logic to control the fan to operate according to the target parameters.
[0037] In this embodiment, during the collaboration between the temperature control device and the fan, user behavior data is used to analyze the user's sleep state, and the operating stage of the temperature control device is determined using its status data. Then, based on the user's sleep state and the operating stage of the temperature control device, the fan's operating parameters are comprehensively adjusted. Because the temperature control device experiences different operating stages during its actual operation, and the indoor temperature change trend varies significantly across these stages, and because users experience different sleep states during sleep, their sensitivity to wind and noise, as well as the risk of catching a cold or feeling uncomfortable, dynamically changes. With this adjustment method, the fan speed is no longer fixed but dynamically adapts to different operating stages and user sleep states, thereby improving user sleep comfort and reducing system energy consumption.
[0038] In one feasible implementation, step S30 may include steps S31-S32: Step S31: Obtain the target operating parameters associated with the user's sleep state and operating stage; The user's sleep state can be categorized into four phases based on actual conditions: wakefulness, sleep preparation, light sleep, deep sleep, and wake-up preparation. The operation phase can be further divided into three phases: acceleration, transition, and stabilization. The absolute value of the temperature difference between the room temperature and the set temperature decreases sequentially from acceleration to transition to stabilization. The target operating parameters differ depending on the combination of different user sleep states and operation phases.
[0039] In one optional approach, target operating parameters corresponding to each acceleration phase, transition phase, and stabilization phase can be pre-established for the waking state, sleep preparation state, light sleep state, deep sleep state, and wake-up preparation state, and a basic strategy master table can be constructed. In practical applications, after obtaining the user's sleep state and operating phase, the corresponding relationship in the basic strategy master table can be looked up to obtain the target operating parameters.
[0040] Step S32: Adjust the current operating parameters of the fan to the target operating parameters.
[0041] After obtaining the target operating parameters, adjust the fan's current operating parameters to match the target operating parameters.
[0042] In this embodiment, the target operating parameters are obtained by establishing a correlation between the user's sleep state, operating stage, and target operating parameters. The fan's current operating parameters are then adjusted to match the target operating parameters. Since different combinations of user sleep states and operating stages are associated with corresponding target operating parameters, the determination of the target operating parameters is dynamically adapted to the user's sleep state and operating stage, improving the accuracy of the target operating parameters and their adaptability to the actual scenario, thereby enhancing user sleep comfort.
[0043] In one embodiment, the target operating parameters include at least one of target gear level, target direction, and target operating mode. The target gear level can be divided into multiple levels according to actual conditions, for example, from 1 to 6. The target direction can also be divided into multiple levels according to actual conditions, such as forward and reverse rotation. The target operating mode can also be divided according to actual conditions, for example, into continuous operation, timed operation, and intermittent operation. Intermittent operation can be set according to actual conditions, for example, it can be set to intermittently turn on for 5 minutes and off for 10 minutes as one cycle. Obtaining the target operating parameters associated with the user's sleep state and operating stage includes: obtaining at least one of the target gear level, target direction, and target operating mode associated with the user's sleep state and the operating stage of the temperature control device.
[0044] In one optional approach, at least one of the target gear, target direction, and target operating mode can be pre-established for each acceleration phase, transition phase, and stabilization phase in the following states: waking state, sleep preparation state, light sleep state, deep sleep state, and wake-up preparation state. A basic strategy master table can then be constructed. In practical applications, after obtaining the user's sleep state and operating phase, the corresponding relationships in the basic strategy master table can be looked up to obtain at least one of the target gear, target direction, and target operating mode.
[0045] Adjusting the fan's current operating parameters to the target operating parameters includes at least one of the following: adjusting the fan's current speed to the target speed; adjusting the fan's current direction of rotation to the target direction of rotation; adjusting the fan's current operating mode to the target operating mode.
[0046] Specifically, it can obtain the target speed associated with the user's sleep state and the operating stage of the temperature control device; and adjust the fan's current speed to the target speed. Alternatively, it can obtain the target direction associated with the user's sleep state and the operating stage of the temperature control device; and adjust the fan's current direction to the target direction. Or, it can obtain the target operating mode associated with the user's sleep state and the operating stage of the temperature control device; and adjust the fan's current operating mode to the target operating mode. Alternatively, it can obtain the target speed, target direction, and target operating mode associated with the user's sleep state and the operating stage of the temperature control device; and adjust the fan's current speed to the target speed; adjust the fan's current direction to the target direction; and adjust the fan's current operating mode to the target operating mode.
[0047] For example, the following are examples of at least one of the gear, steering, and operating mode corresponding to different operating stages and user sleep states: 1. Acceleration Phase: Awake state: Level 4, continuous operation, intermittent operation; Preparing for sleep: Level 3, timer for 60 minutes; Light sleep / awake state: Level 2, timer for 45 minutes; Deep sleep / wake state: Level 1, timer for 30 minutes; Preparing to wake up: Level 2, timer for 20 minutes.
[0048] 2. Transition Phase: Awake state: Level 3, timer for 90 minutes; Sleep preparation mode: Level 2, timer for 60 minutes; Light sleep mode: Level 2, timer for 45 minutes; Deep sleep mode: Level 1, timer for 30 minutes; Ready to wake up: Level 1, timer for 20 minutes.
[0049] 3. Stable Phase Awake state: Level 2, timer for 60 minutes; Sleep preparation mode: Level 1, timer for 45 minutes; Light sleep state: Level 1, intermittent (on 5 / off 10) for 60 minutes; Deep sleep state (and C≥0.65): priority to turn off; if the user prefers not to turn it off, then level 1 intermittent (5 on / 10 off) lasts for 60 minutes; Ready to wake up: Level 1, timer for 20 minutes.
[0050] For example, if the user is awake during a sleep state and the temperature control device is in a transitional phase, then the target operating parameters are "Level 3, Timer for 90 minutes," where Level 3 refers to the fan speed setting and 90 minutes refers to the fan's operating mode and duration. The fan can be controlled to operate at "Level 3, Timer for 90 minutes."
[0051] In this embodiment, at least one of the following is obtained, associated with the user's sleep state and the operating stage of the temperature control device: target speed, target direction, and target operating mode. The system then adjusts the fan's current speed to the target speed, the fan's current direction to the target direction, and the fan's current operating mode to the target operating mode. By enriching the fan's adjustment dimensions, different dimensions of fan adjustment are applied to meet various needs, making the fan adjustment more intelligent and satisfying diverse fan adjustment requirements. Furthermore, the system can dynamically adjust the fan's operating parameters based on the operating stage and the user's sleep state, reducing ineffective operating time and lowering fan power consumption while maintaining user comfort, thus achieving energy savings.
[0052] In one feasible implementation, the status data of the temperature control device includes the indoor temperature. Step S20, determining the operating stage of the temperature control device based on its status data, includes: Step S21: Determine the absolute value of the temperature difference between the indoor temperature and the set temperature; In cooling mode, the temperature difference can be calculated based on the difference between the indoor temperature and the set temperature. In heating mode, the temperature difference can be calculated based on the difference between the set temperature and the indoor temperature.
[0053] Step S22: Determine the initial operating stage of the temperature control equipment based on the absolute value of the temperature difference; The initial operation phase includes an acceleration phase, a transition phase, and a stabilization phase, with the absolute value of the temperature difference decreasing sequentially from acceleration to transition to stabilization.
[0054] In one optional approach, the temperature range within which the temperature difference lies can be determined, and a preset operating stage associated with this temperature range can be used as the initial operating stage of the temperature regulating device. If the temperature difference is greater than or equal to a first preset value, the initial operating stage of the temperature regulating device is determined to be an acceleration stage; if the temperature difference is greater than a second preset value but less than the first preset value, the initial operating stage of the temperature regulating device is determined to be a transition stage; if the temperature difference is less than or equal to the second preset value, the initial operating stage of the temperature regulating device is determined to be a stabilization stage. The first and second preset values can be set according to actual conditions; for example, the first and second preset values can be set to 2℃ and 0.7℃, respectively.
[0055] Understandably, when the temperature difference is greater than or equal to the first preset value, it indicates a large temperature difference between the indoor temperature and the set temperature, requiring accelerated cooling or heating to improve the cooling or heating effect; this is the acceleration phase. When the temperature difference is less than or equal to the second preset value, it indicates a small temperature difference between the indoor temperature and the set temperature. To avoid overheating, the initial operating phase of the temperature control device is maintained as a stable phase. The compressor's operating frequency decreases sequentially during the acceleration phase, transition phase, and stable phase.
[0056] In another alternative approach, a preset operating stage associated with the temperature difference can be obtained, and this preset operating stage can be determined as the initial operating stage of the temperature control device. Specifically, different temperature differences can be pre-set with corresponding preset operating stages; during actual use, the corresponding initial operating stage is matched based on the temperature difference and the associated relationship.
[0057] Step S23: Based on the changes in indoor temperature, the initial operating stage is corrected to obtain the operating stage of the temperature regulating equipment.
[0058] Because sudden changes in indoor temperature can cause errors in the identification of operating phases during the actual operation of temperature control equipment, in order to improve the accuracy of operating phase identification, after obtaining the initial operating phase of indoor temperature, the initial operating phase can be corrected based on the changes in indoor temperature to obtain a more accurate operating phase.
[0059] Indoor temperature changes can be categorized into two types based on actual conditions: continuous fluctuation and stability. If the indoor temperature has been trending upwards or downwards over a period of time, the change is considered continuous fluctuation; if the indoor temperature has been stable over a period of time, the change is considered stable. When the indoor temperature is fluctuating continuously, the initial operating stage of the temperature control equipment needs to be increased; when the indoor temperature is stable, the initial operating stage needs to be decreased. By adjusting the initial operating stage based on the changes in indoor temperature, the operating stage of the temperature control equipment can be made more accurate.
[0060] In this embodiment, the initial operating stage of the temperature control device is determined by the absolute value of the temperature difference between the indoor temperature and the set temperature. Based on changes in the indoor temperature, the initial operating stage is corrected to obtain the final operating stage of the temperature control device. Determining the operating stage of the temperature control device by using the temperature difference and changes in indoor temperature can reduce the error in identifying the operating stage caused by sudden changes in indoor temperature, thus improving the accuracy of the operating stage identification.
[0061] In one embodiment, the initial operation phase includes an acceleration phase, a transition phase, and a stabilization phase, wherein the absolute value of the temperature difference decreases sequentially during the acceleration phase, transition phase, and stabilization phase. The initial operation phase is corrected based on the fluctuation range of the indoor temperature, including: adjusting the initial operation phase of the temperature control device to an acceleration phase when the initial operation phase is in the transition phase and the indoor temperature continues to fluctuate; adjusting the initial operation phase of the temperature control device to a transition phase when the initial operation phase is in the stabilization phase and the indoor temperature continues to fluctuate; and adjusting the initial operation phase of the temperature control device to a transition phase when the initial operation phase is in the acceleration phase and the indoor temperature is stable.
[0062] Specifically, if the temperature control equipment is in the transition phase and the indoor temperature fluctuates continuously during operation, the operating phase should be increased to the acceleration phase. If the temperature control equipment is in the stable phase and the indoor temperature fluctuates continuously during operation, it indicates that the current operating phase does not meet the actual needs, and the current operating phase should be increased to the transition phase. If the temperature control equipment is in the acceleration phase and the indoor temperature is stable during operation, the current operating phase should be decreased to the transition phase. This avoids prolonged operation without downgrading during the acceleration phase, prevents resource waste, and achieves energy-saving effects.
[0063] In this embodiment, the initial operating phase is adjusted based on the changes in the initial operating phase and the indoor temperature. If the initial operating phase is a transitional or stable phase, the operating phase is increased; if the initial operating phase is an acceleration phase, the operating phase is decreased, thereby improving the adjustment accuracy of the operating phase.
[0064] In one feasible implementation, the sources of user behavior data include at least two; step S20, determining the user's sleep state based on the user behavior data, includes: Step S24: Filter the user behavior data from each source to obtain filtered user behavior data.
[0065] This data can originate from multiple sources, such as a first source and a second source. The first source could be millimeter-wave radar, and the second source could be a wearable device, or other sources such as mattress sensors, door sensors, or mobile phones. User behavior data from each source can include initial sleep state, signal quality, and corresponding flags. Because initial sleep states from different sources may conflict or contain errors, further processing is required to obtain the user's actual sleep state. Flags are used for subsequent validity checks, determining whether the source is valid. Different sources can have separate first and second flags; the first flag can be used to determine if the source is invalid, and the second flag can be used to determine if the source is valid.
[0066] For example, if the source is millimeter-wave radar, the user behavior data includes: initial sleep state Sr, signal quality qr (0~1), and flag br (0 / 1); if the source is a wearable device, the user behavior data includes: initial sleep state Sw, signal quality qw (0~1), and flag bw (0 / 1).
[0067] The filtering here is used to filter out invalid user behavior data.
[0068] In one optional approach, for any source's initial sleep state, if the initial sleep state acquired in the current cycle does not meet preset conditions, the user behavior data acquired from that source in the current cycle is filtered to obtain filtered user behavior data. The preset conditions include: the initial sleep state acquired in the current cycle is the same as the initial sleep state acquired a preset number of consecutive historical cycles. Specifically, taking millimeter-wave radar as an example, if the initial sleep state determined by millimeter-wave radar in the current cycle differs from the initial sleep state acquired a preset number of consecutive historical cycles, then the initial sleep state determined by millimeter-wave radar in the current cycle, along with other user behavior data, is filtered out and does not participate in subsequent user sleep state determination, thereby improving the accuracy of subsequent user sleep state assessments.
[0069] For example, an initial sleep state output from any source must persist for more than 120 seconds to be considered "stable and valid." If sampling is performed every 60 seconds, then two consecutive identical initial sleep states are required for it to pass. Those that fail are marked as "invalid" for the current cycle and will not participate in subsequent operations.
[0070] Step S25: Determine the source validity of each type of filtered user behavior data to obtain the source validity determination result for each type of filtered user behavior data; The source validity determination is used to determine whether a source is valid. The source validity determination result includes two possibilities: valid source and invalid source.
[0071] In one optional approach, when the source includes a first source and a second source, the user behavior data from the first source includes a first flag, and the user behavior data from the second source includes a second flag; the source validity is determined for each type of filtered user behavior data, and the source validity determination result for each type of filtered user behavior data includes: if the first flag is an "out of bed" flag, the first source is determined to be invalid for this period; or, if the first flag is a "in bed" flag, the first source is determined to be valid for this period; if the second flag is a "not wearing" flag, the second source is determined to be invalid for this period; or, if the second flag is a "wearing" flag, the second source is determined to be valid for this period. Wherein, an "out of bed" flag can be represented by 1, an "in bed" flag can be represented by 0, a "wearing" flag can be represented by 1, and a "not wearing" flag can be represented by 0.
[0072] Step S26: Determine the valid sources based on the source validity determination results, and calculate the contribution value of the valid sources; The validity of a source can be determined based on the source validity assessment results obtained above. Specifically, if a source's validity assessment result is valid, then that source is considered valid; if a source's validity assessment result is invalid, then that source is considered invalid. Invalid sources are not considered. For valid sources, if multiple valid sources exist, their contribution values can be calculated, and these contribution values can be used to arbitrate state conflicts among the sources in subsequent processes.
[0073] Step S27: Arbitrate state conflicts among the sources based on contribution values to obtain the user's sleep state.
[0074] Because there are multiple sleep sources, the initial sleep states from these sources may conflict. For example, the radar might determine the initial sleep state as awake, while the wearable device might determine it as near-sleep. This conflict can prevent the accurate determination of the user's sleep state or negatively impact the determination result. Therefore, after determining the contribution value of each valid source, the source validity determination results can be combined to arbitrate state conflicts and obtain an accurate user sleep state.
[0075] In this embodiment, user behavior data is first filtered for stability to obtain stable and reliable user behavior data; then, the source validity of the filtered user behavior data is determined to ensure that the user behavior data is valid, thereby identifying valid sources; finally, state conflict arbitration is performed based on the contribution value of each valid source. Through a series of operations including stability filtering, validity determination, and state conflict arbitration, the reliability of the user's sleep state is improved.
[0076] In one embodiment, calculating the contribution value of a valid source includes: if all sources are determined to be valid based on the source validity determination result, calculating the contribution value of each source according to its default weight and signal quality. Specifically, the contribution value of a source can be obtained by multiplying its default weight by its signal quality. The default weights of each source can be set according to actual conditions, and the sum of the default weights of all sources equals 1. For example, assuming the sources include a first source and a second source, then the sum of the default weights of the first source and the second source equals 1.
[0077] Calculating the contribution value of valid sources may also include: if, based on the source validity determination result, invalid sources exist among all sources, the default weights of valid sources are reallocated, and the contribution value of the valid source is calculated according to the reallocated weights and the signal quality of the valid source. For example, if the sources include radar, wearable devices, and a set sleep time period, their default weights are 0.5, 0.4, and 0.1, respectively. When radar is invalid, the valid sources are the wearable device and the set sleep time period. The reallocated weight of the wearable device is: ww'=0.40 / (0.40+0.10)=0.80; the reallocated weight of the set sleep time period is: wu'=0.10 / (0.40+0.10)=0.20.
[0078] In this embodiment, if all sources are determined to be valid based on the source validity determination results, the contribution value of each source is calculated according to its default weight and signal quality. If invalid sources are determined based on the source validity determination results, the default weights of the valid sources are reallocated, and the contribution value of each valid source is calculated according to its reallocated weight and signal quality. By identifying valid sources and adjusting their weights based on their validity or invalidity, the contribution value of valid sources is accurately calculated. This allows subsequent determination of the user's sleep state to fully incorporate the valid sources, avoiding interference from invalid sources and improving the accuracy of the user's sleep state determination.
[0079] In one embodiment, step S27: Based on the contribution value and the source validity determination result, state conflict arbitration is performed on each source to obtain the user's sleep state, including: If the source validity determination results indicate that all sources are valid and the initial sleep states of all sources are consistent, then the consistent initial sleep state will be taken as the user's sleep state. For example, if the initial sleep state determined by the radar and the initial sleep state determined by the wearable device are both awake, then the awake state will be taken as the final user's sleep state.
[0080] If, based on the source validity determination results, all sources are deemed valid and their initial sleep states are inconsistent, the user's sleep state is determined by comparing the contribution values of each source. Specifically, if the contribution value of the first source is greater than or equal to the contribution value of the second source, the initial sleep state corresponding to the first source is determined as the user's sleep state; if the contribution value of the second source is greater than or equal to the contribution value of the first source, the initial sleep state corresponding to the second source is determined as the user's sleep state; if the difference between the contribution values of the first and second sources is less than a preset value, the user's sleep state determined in the previous cycle is determined as the user's sleep state in the current cycle. This technique can suppress frequent fluctuations in the sleep state when the forces are evenly matched. The first source can be radar, the second source can be a wearable device, and the preset value can be set according to actual conditions; for example, the preset value can be set to 0.10.
[0081] If the source validity determination results indicate that all sources are invalid, or if the initial sleep states of the sources are inconsistent, the user's sleep state is determined based on the set sleep time period and the preset duration corresponding to each sleep state.
[0082] The sleep time period can be set according to the actual situation. In the case that all sources are invalid or the initial sleep states of each source are inconsistent, it is used as a fallback strategy to determine the user's sleep state, so as to ensure that the user's sleep state can be obtained for the subsequent determination of the target operating parameters of the fan.
[0083] The preset duration can be set according to the actual situation, and the preset duration is different for different initial sleep states.
[0084] In one alternative approach, a set sleep period is monitored. Upon detecting that the set sleep period has been reached, a first preset duration following the set sleep period is defined as a sleep preparation state; a second preset duration from the start of the set sleep period to its end is defined as a light sleep state; a third preset duration before the end of the set sleep period is defined as a wake-up preparation state; and if the period falls outside the set sleep period, it is identified as an awake state.
[0085] The first preset duration for the sleep preparation state is 45 minutes; the second preset duration for the light sleep state is 60 minutes; and the third preset duration for the wake-up preparation state is 60 minutes. Specifically, the set sleep time periods can be monitored. If the set sleep time period is reached, the first 45 minutes after the set sleep time period are defined as the sleep preparation state; the period from the start of the set sleep time period to the end of the set sleep time period is defined as the light sleep state; the 60 minutes before the end of the set sleep time period is defined as the wake-up preparation state; if it falls outside the set sleep time period, it is identified as an awake state.
[0086] In this embodiment, by setting multiple methods for determining the user's sleep state, the reliability and accuracy of the user's sleep state are improved.
[0087] In one feasible implementation, after determining the user's sleep state, the confidence level of the user's sleep state can be determined, wherein the confidence level is used to measure the reliability of the user's sleep state; if the confidence level of the user's sleep state is greater than a preset confidence level, the operation phase based on the user's sleep state and the temperature regulation device is executed, the operating parameters of the fan are adjusted to obtain the target operating parameters; and the fan is controlled to operate according to the target operating parameters.
[0088] In one feasible implementation, after determining the user's sleep state, the control method for the home appliance in this application embodiment further includes: determining a basic confidence level based on the source of the user's sleep state; determining a target sleep state based on user behavior data; correcting the basic confidence level based on the stability duration of the user's sleep state and the counter-evidence between the target sleep state and the user's sleep state to obtain a confidence level of the user's sleep state, wherein the confidence level is used to measure the reliability of the user's sleep state; if the confidence level of the user's sleep state is greater than a preset confidence level, executing the operation phase based on the user's sleep state and the temperature regulation device, adjusting the operating parameters of the fan to obtain target operating parameters; and controlling the fan to operate according to the target operating parameters.
[0089] As mentioned earlier, the source of a user's sleep state can be a first source or a second source. When the first and second sources are invalid, the source of the user's sleep state can be a set sleep time period. If the source of the user's sleep state is the first source or the second source, then the basic confidence level can be determined by summing the contribution values of the first source and the second source. If the source of the user's sleep state is a set sleep time period, then the basic confidence level can be determined based on a preset confidence level associated with the set sleep time period. This preset confidence level can be set according to the actual situation; for example, it can be set to 0.35.
[0090] After establishing a basic confidence level, the target sleep state can be determined based on user behavior data. This user behavior data could include whether the user's electronic device screen is on, whether the device is unlocked, whether the fan is manually adjusted, or whether the lights are turned on. It's important to note that this user behavior data requires the user's authorization to be obtained, to prevent privacy breaches. The target sleep state, i.e., the actual sleep state, can be determined based on this user behavior data. Specifically, if any one of the following is met—electronic device screen on, electronic device unlocked, fan manually adjusted, or lights turned on—it indicates the user is active, meaning the target sleep state is likely a waking state. If none of these conditions are met, the user's sleep state can be determined to be either light sleep or deep sleep.
[0091] After determining the baseline confidence level and the target sleep state, the baseline confidence level can be revised to obtain a more accurate confidence level for the user's sleep state. Specifically, based on the duration of stability of the user's sleep state and the evidence against the target sleep state, the baseline confidence level is revised to obtain the confidence level for the user's sleep state. The confidence level is used to measure the reliability of the user's sleep state.
[0092] In one alternative approach, adjusting the baseline confidence level can include: increasing the confidence level if the duration of stability increases; and decreasing the baseline confidence level if the evidence shows that the target sleep state is inconsistent with the user's sleep state. By adjusting the baseline confidence level based on the duration of stability and the evidence, the accuracy and reliability of the user's sleep state can be improved.
[0093] It should be noted that the aforementioned stability duration refers to the set duration for which the user's sleep state remains continuously in the same state. For example, this stability duration can be set to 10 minutes. If the stability duration increases, the confidence level can be increased based on a preset step size. This preset step size can be set according to actual conditions, for example, to 0.05. For instance, the confidence level increases by 0.05 for every 10 minutes of continuous maintenance of the user's sleep state, up to a maximum increase of 0.15.
[0094] It should be noted that the above-mentioned proof by contradiction includes both cases where the target sleep state matches the user's sleep state and cases where they do not match. If the target sleep state does not match the user's sleep state, the base confidence level needs to be lowered. Specifically, if the target sleep state does not match the user's sleep state, the base confidence level is lowered based on a preset step size. This preset step size can be set according to the actual situation, for example, set to 0.25, and lowered to at least 0. By proving the user's sleep state by contradiction, the accuracy of the user's sleep state can be improved.
[0095] It should be noted that the confidence level of the user's sleep state after the above correction needs to be limited to between 0 and 1.
[0096] In this embodiment, by correcting the basic confidence level using the stability duration and the results of counter-evidence, a more accurate confidence level of the user's sleep state can be obtained to measure the reliability of the user's sleep state.
[0097] In other embodiments, if the confidence level of the user's sleep state is less than the preset confidence level, the reliability of the determined user sleep state is considered low, and in this case, subsequent adjustments to the fan's operating parameters and fan control will not be performed.
[0098] In one feasible implementation, after determining the user's sleep state, the control method for the home appliance according to this application embodiment further includes: Step S60: Set the state validity period and keep the user's sleep state unchanged during the state validity period.
[0099] The validity period of the status is based on the duration during which the user's sleep state remains unchanged. Once the user's sleep state is output, it cannot be changed within the default validity period. This validity period can be set according to the actual situation; the validity period set for different user sleep states can be the same or different, for example, it can be set to 10 minutes.
[0100] In this embodiment, by setting a state validity period and keeping the user's sleep state unchanged within the validity period, the effect of preventing the user's sleep state from changing is achieved.
[0101] In other embodiments, the validity period of the state can be terminated if the following conditions exist: the target sleep state is detected to be inconsistent with the user's sleep state; or, the user's sleep state is detected to be awake for multiple consecutive sampling cycles. If none of the above exceptions apply, even if a different candidate user sleep state is generated in the current cycle, the system will continue to output the old user sleep state until its validity period expires before switching.
[0102] In this embodiment, by setting a validity period for the user's sleep state, the aim is to balance sensitivity and stability, so as to follow the changes in the actual sleep stage and avoid frequent jumps in the output state caused by signal noise or short-term interference.
[0103] Because deep sleep requires greater protection against cold, direct drafts, and dampness, existing solutions often rely on timed or roughly segmented time periods, failing to implement appropriate protective measures when risks increase, thus impacting user safety and health. Therefore, in a feasible implementation, the control method for home appliances in this application embodiment further includes: Step S310: During the process of controlling the fan to run according to the target operating parameters, acquire environmental data within the space where the home appliance is located; Step S320: Determine the environmental risk identification results based on the environmental data; In one alternative approach, the range in which the environmental data is located can be obtained, and the environmental risk identification result can be determined based on the preset environmental risk identification result associated with the range.
[0104] Specifically, environmental data may include indoor temperature and indoor humidity, and environmental risk identification results may include one of the following: damp and cold risk, high humidity risk, or deep sleep high confidence protection. Based on the environmental data, the environmental risk identification results are determined as follows: if the indoor temperature is less than or equal to the preset temperature and the indoor humidity is greater than or equal to the first preset humidity, the environmental risk identification result is determined to be damp and cold risk; if the indoor temperature is greater than or equal to the second preset humidity and continues for a preset duration, the environmental risk identification result is determined to be high humidity risk; if the user's sleep state is deep sleep and the confidence level of the user's sleep state is greater than or equal to the preset confidence level, the environmental risk identification result is determined to be deep sleep high confidence protection.
[0105] The preset temperature, first preset humidity, second preset humidity, and preset confidence level can be set according to actual conditions. For example, the preset temperature can be set to 20℃, the first preset humidity can be set to 70%, the second preset humidity can be set to 85%, and the preset confidence level can be set to 0.65.
[0106] Step S330: Based on the environmental risk identification results, the target operating parameters are corrected.
[0107] In one alternative approach, if the environmental risk identification result is one of the following: damp and cold risk, high humidity risk, or deep sleep high confidence protection, the fan speed will be reduced to a preset level, or the fan will be turned off. The method of correcting the target operating parameters may differ depending on the environmental risk identification result.
[0108] For example, if the environmental risk identification result is a damp and cold risk, the fan can be turned off because the temperature is low and the humidity is high, and continuous airflow may cause chills. If it cannot be turned off, it should be forced to run at level 1 for 15 minutes. If the environmental risk identification result is a high humidity risk, the high humidity may exacerbate the risk of condensation / mold due to continuous strong winds. Therefore, the fan should be set to a maximum of level 2 and timed for 30 minutes; after that, it should be reduced to level 1 or turned off. If the environmental risk identification result is a deep sleep high confidence protection, the deep sleep and high confidence level prioritize preventing chills and reducing noise. Therefore, the fan should be set to a maximum of level 1; if the condition is stable, it should be intermittently run or turned off.
[0109] In this embodiment, environmental data within the space where the home appliance is located is acquired while the fan is operating according to the target operating parameters; environmental risk identification results are determined based on the environmental data; and the target operating parameters are corrected based on the environmental risk identification results. If the user is detected to have entered deep sleep, the fan speed is further reduced or the fan is turned off, thereby reducing the risk of continuous wind, noise, and catching a cold, improving sleep quality, and enhancing the user's sleep comfort.
[0110] In one usage scenario, if a user adjusts the fan's volume at night, immediately reverting the adjustment would result in a poor user experience; however, complete inaction could pose health risks in damp, cold, or high-humidity environments, highlighting the lack of a clear conflict resolution mechanism. Therefore, addressing how to handle user intervention while prioritizing safety and preventing conflicts between system and user fan control becomes crucial. In one feasible implementation, the home appliance control method of this application further includes: when receiving a user adjustment command for the target operating parameters during fan operation according to target parameters, setting a lock duration; within the lock duration, acquiring environmental data within the space where the home appliance is located; determining environmental risk identification results based on the environmental data; and correcting the target operating parameters based on the environmental risk identification results.
[0111] Among them, the user adjustment command can be used to adjust any one of the fan's speed, direction, operating mode, and running time.
[0112] If the user's adjustment command is received, a lockout duration is set. During this duration, automatic adjustments to the target operating parameters based on comfort / energy-saving needs are suspended to avoid interfering with user operation. Within this lockout duration, an environmental risk identification process can be performed. If a risk is identified, the process can proceed to correct the target operating parameters to improve user safety. Furthermore, when an environmental risk is detected within this lockout duration, in addition to automatically correcting the target operating parameters, an explanation must be output, detailing the type of environmental risk detected, the fan's actions under that risk, and the reason for the risk.
[0113] In this embodiment, upon receiving a user adjustment command, a lockout duration is set. During this lockout duration, the automatic adjustment of target operating parameters for comfort / energy saving needs is suspended. Simultaneously, during this lockout duration, environmental risk identification is performed. If a risk is identified, considering the higher priority of safety, the target operating parameters need to be corrected. This adjustment method can balance safety priority arbitration with user intervention lockout, avoiding conflicts between system and user control of the fan.
[0114] In one feasible implementation, after step S30, the control method for the home appliance of this application embodiment further includes: sending the target operating parameters to the fan and obtaining a response from the fan; if the response indicates successful sending, proceeding to step S40: controlling the fan to operate according to the target operating parameters; if the response indicates failed sending, controlling the fan to operate using a preset control strategy, wherein the fan operates according to a preset speed and a preset time duration under the preset control strategy. The preset speed and preset time duration can be set according to actual conditions; for example, the preset speed can be set to speed 1, and the preset time duration can be set to 30 minutes.
[0115] In one optional approach, the number of failed delivery attempts can be detected. If the number reaches a preset threshold, the system will downgrade and control the fan to operate using a preset control strategy.
[0116] In this embodiment, target operating parameters are sent to the fan and a response is obtained from the fan. When the response indicates that the sending failed, the fan is controlled to operate using a preset control strategy to achieve risk downgrading control and improve safety.
[0117] For example, to help understand the implementation flow of the home appliance control method obtained by combining this embodiment with the above embodiment one, please refer to... Figures 2 to 5 .
[0118] Figure 2 This is a schematic diagram of the overall process of a control method for a home appliance according to this application. In this method, the air conditioner on the home side reports data as a status source. After the cloud completes sleep fusion, stage identification, risk identification and rule arbitration, it issues control strategies to the fan and lights and pushes "why do this" to the APP.
[0119] Figure 3 This is another overall flowchart illustrating a control method for a home appliance according to this application. The complete control flow includes triggering conditions, policy generation, distribution, receipt processing, and interpretation push. Key branching points include: whether the air conditioner is running, whether a safety risk has been detected, whether the user has locked the window, and whether the receipt was successful.
[0120] Figure 4 A flowchart illustrating the process of determining a user's sleep state. It demonstrates how multi-source sleep inputs undergo stabilization filtering, validity assessment, conflict arbitration, confidence calculation, and state validity period setting, ultimately outputting a reliable sleep state. Figure 4 The catch-all interval is the set sleep period mentioned above in this application. The catch-all confidence level is the confidence level determined by the set sleep period.
[0121] Figure 5 This is a flowchart illustrating the operational stages of the temperature control equipment identified in this application.
[0122] The TTL in the above diagram is an anti-transition mechanism used to set the validity period of a state.
[0123] The following are two embodiments of the technical solution of this application: (1) Summer night sleep collaboration.
[0124] At 23:00, the air conditioner started cooling mode, Troom=28.0℃, Tset=26.0℃, Δ=2.0℃ → Acceleration phase The radar outputs a stable 2-minute sleep preparation time, qr=0.85; wearable devices are missing → radar takes the lead.
[0125] Output: Fan speed 3, forward rotation, timer 60 minutes.
[0126] 00:00 Temperature approaches the set temperature, Δ=0.8℃ → transition stage; sleep merges into light sleep, C=0.70.
[0127] Output: Fan speed 2, timer 45 minutes.
[0128] 01:00Δ=0.4℃→Stable stage; sleep is integrated into deep sleep and C=0.72.
[0129] Output: Prioritize shutdown; if the user sets "deep sleep without shutdown", then the interval at level 1 (5 on / 10 off) is 60 minutes.
[0130] The app allows you to see the reason for each action (stage changes / sleep changes / whether safety rules were met).
[0131] (2) Users turn on the fan at midnight.
[0132] 01:10 The user adjusted the fan speed from 1 to 4.
[0133] The system enters a 30-minute lockout period, stopping automatic downshifting to comfort / energy-saving modes.
[0134] 01:20RH rises to 86% and remains there for 5 minutes → High humidity risk.
[0135] The system allows coverage: limited to level 2 and timed for 30 minutes, while the APP displays the reason.
[0136] 01:40 Lockout expires, no new intervention → Restore automatic policy.
[0137] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the control method of the household appliances in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0138] Based on the same inventive concept, this application provides a control device for a home appliance, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the control method for the home appliance in the above embodiments.
[0139] The following is for reference. Figure 6 The diagram illustrates a structural schematic of a control device suitable for implementing the embodiments of this application for home appliances. The control device for home appliances in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), tablet computers (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The control device for the household appliance shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0140] like Figure 6As shown, the control device for a home appliance may include a processing unit 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the control device of the home appliance. The processing unit 1001, the ROM 1002, and the RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the control device of the home appliance to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows control devices for home appliances with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0141] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0142] The control device for home appliances provided in this application, employing the control method for home appliances in the above embodiments, can solve the technical problem of reduced user sleep comfort and increased system energy consumption caused by the fan operating at a fixed speed in the scenario of linkage control between temperature regulation equipment and fan. Compared with the prior art, the beneficial effects of the control device for home appliances provided in this application are the same as those of the control method for home appliances provided in the above embodiments, and other technical features in the control device for home appliances are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0143] Based on the same inventive concept, this application provides a control system for a home appliance, including the home appliance, which includes a temperature regulating device and a fan; and a control device for the home appliance.
[0144] The control system for home appliances provided in this application, employing the control method for home appliances in the above embodiments, can solve the technical problem of reduced user sleep comfort and increased system energy consumption caused by the fan operating at a fixed speed in the scenario of linkage control between temperature regulation equipment and fan. Compared with the prior art, the beneficial effects of the control system for home appliances provided in this application are the same as those of the control method for home appliances provided in the above embodiments, and other technical features in the control system for home appliances are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0145] Based on the same inventive concept, this application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, which are used to execute the control method of the home appliance in the above embodiments.
[0146] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory (EPROM), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.
[0147] The aforementioned computer-readable storage medium may be included in the control device of the home appliance; or it may exist independently and not assembled into the control device of the home appliance.
[0148] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the control device of the home appliance, the control device of the home appliance can dynamically adapt to different operating stages and different user sleep states, thereby improving user sleep comfort and saving system energy consumption.
[0149] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0150] 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 various embodiments of this application. 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. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0151] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0152] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the control method of the aforementioned home appliance. This solves the technical problem that, in scenarios involving the coordinated control of a temperature regulating device and a fan, the fan operates at a fixed speed, leading to reduced user sleep comfort and increased system energy consumption. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the control method for the home appliance provided in the above embodiments, and will not be elaborated upon here.
[0153] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for controlling a household appliance, characterized in that, The household appliance includes a temperature control device and a fan, and the method includes: During the collaboration between the temperature control device and the fan, user behavior data within the space where the home appliance is located and status data of the temperature control device are acquired. The user's sleep state is determined based on the user behavior data, and the operating stage of the temperature regulation device is determined based on the status data of the temperature regulation device. Based on the user's sleep state and the operating stage of the temperature regulation device, the operating parameters of the fan are adjusted to obtain the target operating parameters; Control the fan to operate according to the target operating parameters.
2. The control method for household appliances as described in claim 1, characterized in that, The adjustment of the fan's operating parameters based on the user's sleep state and the operating stage of the temperature control device to obtain target operating parameters includes: Obtain the target operating parameters associated with the user's sleep state and the operating phase; Adjust the current operating parameters of the fan to the target operating parameters; The user's sleep state includes one of the following: awake state, sleep preparation state, light sleep state, deep sleep state, and wake-up preparation state. The operation phase includes one of the following: acceleration phase, transition phase, and stabilization phase. In the acceleration phase, the transition phase, and the stabilization phase, the absolute value of the temperature difference between the indoor temperature and the set temperature decreases sequentially.
3. The control method for household appliances as described in claim 2, characterized in that, The target operating parameters include at least one of target gear, target steering, and target operating mode; obtaining the target operating parameters associated with the user's sleep state and the operating stage includes: Obtain at least one of the target gear, target direction, and target operating mode associated with the user's sleep state and the operating phase of the temperature control device; Adjusting the current operating parameters of the fan to the target operating parameters includes at least one of the following: Adjust the current speed of the fan to the target speed; Adjust the current direction of the fan to the target direction; Adjust the current operating mode of the fan to the target operating mode.
4. The control method for household appliances as described in claim 1, characterized in that, The status data of the temperature control device includes the indoor temperature; determining the operating stage of the temperature control device based on the status data includes: Determine the absolute value of the temperature difference between the indoor temperature and the set temperature; The initial operating stage of the temperature regulating device is determined based on the absolute value of the temperature difference. Based on the changes in indoor temperature, the initial operating phase is corrected to obtain the operating phase of the temperature regulating device.
5. The control method for household appliances as described in claim 4, characterized in that, The initial operation phase includes an acceleration phase, a transition phase, and a stabilization phase, wherein the absolute value of the temperature difference decreases sequentially during the acceleration phase, the transition phase, and the stabilization phase; the correction of the initial operation phase based on the fluctuation of the indoor temperature includes: During the initial operation phase, when the indoor temperature is in the transition phase and the indoor temperature is fluctuating, the initial operation phase of the temperature control device is adjusted to the acceleration phase. If the temperature regulation device is in the stable phase during the initial operation phase and the indoor temperature continues to fluctuate, the initial operation phase of the temperature regulation device will be adjusted to the transition phase. During the initial operation phase, when the room temperature is stable and the acceleration phase is in progress, the initial operation phase of the temperature control device is adjusted to a transition phase.
6. The control method for household appliances as described in claim 1, characterized in that, The user behavior data comes from at least two sources; determining the user's sleep state based on the user behavior data includes: Filter the user behavior data from each source separately to obtain filtered user behavior data; The source validity of each type of filtered user behavior data is determined separately to obtain the source validity determination result of each type of filtered user behavior data. Based on the source validity determination results, valid sources are identified, and the contribution value of the valid sources is calculated. Based on the contribution value, state conflict arbitration is performed on each source to obtain the user's sleep state.
7. The control method for household appliances as described in claim 6, characterized in that, The calculation of the contribution value of the effective source includes: If all sources are determined to be valid based on the source validity determination results, the contribution value of each source is calculated according to the default weight of each source and the signal quality of each source. If, based on the source validity determination result, it is determined that there is an invalid source among all sources, the default weight of the valid source is reallocated, and the contribution value of the valid source is calculated according to the reallocated weight and the signal quality of the valid source.
8. The control method for household appliances as described in claim 6, characterized in that, Based on the contribution value and the source validity determination result, the state conflict arbitration of each source is performed to obtain the user's sleep state, including: If, based on the source validity determination result, it is determined that all sources are valid and the initial sleep states of all sources are consistent, then the consistent initial sleep state shall be taken as the user's sleep state. If, based on the source validity determination results, all sources are determined to be valid and the initial sleep states of each source are inconsistent, the user's sleep state is determined according to the comparison results of the contribution values of each source. If, based on the source validity determination results, all sources are determined to be invalid, or the initial sleep states of each source are inconsistent, the user's sleep state is determined based on the preset duration corresponding to each sleep period and each sleep state.
9. The control method for household appliances as described in any one of claims 1 to 8, characterized in that, The control method for the home appliance also includes: Determine the baseline confidence level based on the source of the user's sleep state; Determine the target sleep state based on user behavior data; Based on the duration of stability of the user's sleep state and the evidence of contradiction between the target sleep state and the user's sleep state, the base confidence level is corrected to obtain the confidence level of the user's sleep state, wherein the confidence level is used to measure the reliability of the user's sleep state. If the confidence level of the user's sleep state is greater than the preset confidence level, the step of adjusting the operating parameters of the fan based on the user's sleep state and the operation phase of the temperature regulation device is executed to obtain the target operating parameters; and controlling the fan to operate according to the target operating parameters is then performed.
10. The control method for household appliances as described in claim 9, characterized in that, The step of correcting the base confidence level based on the duration of stability of the user's sleep state and the evidence of contradiction between the target sleep state and the user's sleep state includes: If the duration of the stability increases, the base confidence level increases; If the result of the counter-evidence is that the target sleep state is inconsistent with the user's sleep state, the base confidence level is reduced.
11. The control method for household appliances as described in claim 1, characterized in that, The control method for the home appliance also includes: After determining the user's sleep state, a state validity period is set, and the user's sleep state remains unchanged during the state validity period.
12. The control method for household appliances as described in claim 1, characterized in that, The control method for the home appliance also includes: During the process of controlling the fan to operate according to the target operating parameters, environmental data within the space where the home appliance is located is acquired; Based on the environmental data, the environmental risk identification results are determined; Based on the environmental risk identification results, the target operating parameters are corrected.
13. The control method for household appliances as described in claim 12, characterized in that, The environmental data includes indoor temperature and indoor humidity, and the environmental risk identification results include one of the following: damp and cold risk, high humidity risk, and deep sleep high confidence protection. The step of determining the environmental risk identification result based on the environmental data includes: If the indoor temperature is less than or equal to the preset temperature and the indoor humidity is greater than or equal to the first preset humidity, the environmental risk identification result is determined to be a damp and cold risk. If the indoor temperature is greater than or equal to the second preset humidity and continues for a preset duration, the environmental risk identification result is determined to be high humidity risk; If the user's sleep state is deep sleep and the confidence level of the user's sleep state is greater than or equal to the preset confidence level, the environmental risk identification result is determined to be deep sleep high confidence protection. The step of correcting the target operating parameters based on the environmental risk identification results includes: If the environmental risk identification result is one of the following: damp and cold risk, high humidity risk, or deep sleep high confidence protection, the fan speed will be reduced to the preset speed or the fan will be turned off.
14. The control method for household appliances as described in claim 12 or 13, characterized in that, The control method for the home appliance also includes: When a user adjustment command for the target operating parameters of the fan is received during the process of controlling the fan to operate according to the target operating parameters, a lockout duration is set. During the lockout period, the following steps are performed: acquiring environmental data within the space where the home appliance is located; determining the environmental risk identification result based on the environmental data; and correcting the target operating parameters based on the environmental risk identification result.
15. The control method for household appliances as described in claim 1, characterized in that, After adjusting the fan's operating parameters based on the user's sleep state and the operating stage of the temperature control device to obtain the target operating parameters, the method further includes: The target operating parameters are sent to the fan, and the fan's response is obtained. If the receipt indicates successful delivery, control the fan to operate according to the target operating parameters; If the receipt indicates a failure to send, the fan is controlled to operate using a preset control strategy, wherein the fan operates at a preset speed and a preset time duration under the preset control strategy.
16. A control device for a household appliance, characterized in that, The apparatus includes: a memory, a processor, and a control program for a home appliance stored in the memory and executable on the processor, the control program being configured to implement the steps of the control method for the home appliance as described in any one of claims 1 to 15.