Smart home control method and smart home system
By establishing a damage prediction model and linking it with devices, environmental conditions are dynamically adjusted, solving the problem of a single control mode for smart homes. This enables personalized environmental adaptation to different objects, improving user experience and device efficiency.
Patent Information
- Application Number
- CN202411058254.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Existing smart home control modes are fixed and singular, making it difficult to meet the diverse needs of different users. In particular, they lack adaptability to the home environment for items and plants, resulting in inconvenience in device linkage control.
By establishing a damage prediction model, damage data of objects under different environments is collected, environmental tolerance and damage resistance time are calculated, environmental conditions are dynamically adjusted to meet the needs of preset priority objects, and flexible environmental adjustment is achieved through lighting control and equipment linkage.
It enables personalized environmental control for different objects, avoids damage caused by unsuitable environments, and improves user experience and device linkage efficiency.
Smart Images

Figure CN118759876B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of smart homes, and in particular to a smart home control system that can take into account various objects in a room. Background Technology
[0002] With the improvement of living standards, air conditioners are now being used in more and more places, such as mine air conditioning and seafood storage air conditioning.
[0003] Even in terms of people's daily home environment, different people have different home environments. For example, some people will display antiques and famous paintings in certain spaces. Some people will keep pets indoors that have high requirements for environmental conditions. As a result, people's requirements for indoor environment are also increasing.
[0004] For antique shops, flower shops, or pet shops, different shops have different requirements for indoor environmental conditions.
[0005] Smart home control is a logic proposed to automatically control purchased home appliances in the home to suit different people and different scenarios. However, existing smart home control usually has a few fixed modes, such as sleep mode. For people's rich and varied work and life, this fixed mode control is relatively simple and rigid. It requires manual adjustment of multiple devices, and multiple devices cannot be controlled in conjunction, which is very inconvenient and makes it difficult to meet the needs of various scenarios and different people.
[0006] Therefore, how to provide a flexible and adaptable smart home control method is a technical problem to be solved. Summary of the Invention
[0007] In order to solve the technical problem that the modes of smart homes in the prior art are relatively fixed and rigid, this invention proposes a control method and a smart home system for smart homes.
[0008] The smart home control method proposed in this invention includes:
[0009] Data on the degree of damage and whether the damage is reversible are collected in advance when different objects stay in different environmental conditions for different durations, so as to obtain the suitable environmental conditions for different objects and establish a damage prediction model.
[0010] When the environmental conditions of a smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental tolerance and damage resistance time of each object in the current site under the current environmental conditions are calculated based on the damage prediction model.
[0011] Filter out objects whose environmental tolerance is less than or equal to a preset threshold. When the damage tolerance time of the corresponding object minus the survival time under the current environmental conditions is less than or equal to the preset duration, switch the current environmental conditions to the environmental conditions suitable for the corresponding object. After the current environmental conditions change, start a new round of environmental tolerance calculation and execute subsequent steps.
[0012] Furthermore, under any environmental conditions, if the environmental tolerance of each object in the current site is greater than the preset capacity threshold, then after a preset time, the environment will be switched to the environmental conditions suitable for the object with the highest preset priority; if the current environmental conditions are the environmental conditions suitable for the object with the highest preset priority, then the current environmental conditions will continue to be maintained.
[0013] Furthermore, if the object with the highest preset priority is a type of object, and each type of object within that type is suited to different environmental conditions, then the environmental conditions suitable for the object with the highest preset priority are obtained through the following steps:
[0014] Divide objects of the same type but different kinds into multiple levels, and count the number of objects in each level and the environmental conditions suitable for each type of object.
[0015] Calculate the overlap range of suitable environmental conditions for all objects at each level;
[0016] Count the number of objects in overlapping intervals at different levels;
[0017] Multiply the weight of each level by the number of objects in its overlapping interval to get the effective number of objects in the overlapping interval of each level.
[0018] The overlapping interval with the largest number of valid values is selected as the environment condition suitable for the object with the highest preset priority.
[0019] Furthermore, based on environmental carrying capacity, objects of the same type but different species are divided into multiple levels, and the weaker the environmental carrying capacity of an object, the higher its level weight.
[0020] Furthermore, the environmental tolerance is obtained according to the following steps:
[0021] Based on the damage prediction model, the time when all objects are damaged under unsuitable environmental conditions, the corresponding degree of damage, and whether the damage is reversible are obtained.
[0022] Classify the time of damage to all objects into time levels based on duration; classify the degree of damage to all objects into damage levels based on severity; classify the reversibility of damage to all objects into recovery levels.
[0023] Weights are assigned to time level, damage level, and recovery level. The sum of the time level multiplied by its corresponding weight, the damage level multiplied by its corresponding weight, and the recovery level multiplied by its corresponding weight for each type of object is used as the environmental tolerance of that object.
[0024] Furthermore, the damage resistance time of the object is the shortest time corresponding to the reversible recovery level under the corresponding unsuitable environmental conditions.
[0025] Furthermore, the environmental conditions include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration.
[0026] Furthermore, the light intensity is controlled through the following steps:
[0027] First, construct a room model of the current site;
[0028] Obtain the projected position of at least one apex corner of each window in the current site onto the ground;
[0029] The projection position is simulated in the room model, and a coordinate system is established with the top corner of the corresponding window as the origin to calculate the illumination angle of sunlight through the corresponding window.
[0030] By determining the vertices of the corresponding windows and their illumination angles, the area illuminated by sunlight through the corresponding windows into the room model is determined.
[0031] Adjust the window curtains according to the location of the corresponding object to adjust the light intensity to suit the environmental conditions of the corresponding object.
[0032] The smart home system proposed in this invention includes a control module and a device with a detection device. The control module controls the device using the smart home control method described in the above technical solution.
[0033] Furthermore, the device includes at least one of the following: air conditioner, humidifier, fresh air system, electric curtains, robot vacuum cleaner, and television.
[0034] This invention pre-constructs a damage prediction model and calculates the environmental tolerance and damage resistance time of each object under the current environmental conditions based on this model during actual control. Then, when the damage resistance time of a corresponding object is about to expire, the environmental conditions are dynamically adjusted in a timely manner, ensuring that different objects in the same space receive adequate care. When this invention is applied to a daily home environment, it first identifies and classifies items, plants, and animals in the room. Based on the preset environmental conditions suitable for the highest priority objects, it controls indoor temperature, CO2 concentration, fresh air, humidity, etc., and simultaneously controls curtains and other elements to regulate indoor lighting. This adapts to different scenarios within the room, protects other items, plants, animals, and people, and enhances the user experience. Attached Figure Description
[0035] The present invention will now be described in detail with reference to the embodiments and accompanying drawings, wherein:
[0036] Figure 1 This is the overall flowchart of the present invention.
[0037] Figure 2 This is a flowchart illustrating how an embodiment of the present invention obtains suitable environmental conditions for an object with the highest preset priority.
[0038] Figure 3 This is a flowchart illustrating the calculation of an object's environmental tolerance according to an embodiment of the present invention.
[0039] Figure 4 This is a flowchart illustrating the application of the present invention.
[0040] Figure 5 This is a room lighting model diagram of the present invention. Detailed Implementation
[0041] To make the technical problems to be solved, the technical solutions, and the beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0042] Therefore, a feature pointed out in this specification is used to describe one feature of one embodiment of the invention, and does not imply that every embodiment of the invention must have the described feature. Furthermore, it should be noted that this specification describes many features. Although certain features may be combined to illustrate possible system designs, these features may also be used in other combinations not explicitly stated. Therefore, unless otherwise stated, the described combinations are not intended to be limiting.
[0043] In a basic embodiment, such as Figure 1 As shown, the smart home control method of the present invention mainly includes the following steps.
[0044] Data on the degree of damage and whether the damage is reversible are collected in advance for different objects under different environmental conditions and for different durations of stay, so as to obtain the suitable environmental conditions for different objects and establish a damage prediction model.
[0045] When the environmental conditions of a smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental tolerance and damage resistance time of each object in the current site under the current environmental conditions are calculated based on the damage prediction model.
[0046] Filter out objects whose environmental tolerance is less than or equal to a preset threshold. When the damage tolerance time of the corresponding object minus the survival time under the current environmental conditions is less than or equal to the preset duration, switch the current environmental conditions to the environmental conditions suitable for the corresponding object. After the current environmental conditions change, start a new round of environmental tolerance calculation and execute subsequent steps.
[0047] In the above technical solution, the specific training process of the damage prediction model can adopt the training method for self-learning models in existing technologies. The input of the damage prediction model includes at least the type of object and environmental conditions, and the output of the damage prediction model includes at least the time of damage occurrence, the degree of damage occurrence, and whether the damage is reversible. If the current input environmental conditions are suitable for this type of object, the time of damage occurrence can be set to infinity or a fixed maximum value.
[0048] The damage tolerance time of an object under unsuitable environmental conditions is calculated based on the obtained damage prediction model. This can be determined according to the output of the damage prediction model. For example, the time when the damage is minor and reversible can be selected as a base time. A certain time value is then subtracted from this base time to obtain the damage tolerance time of the object under unsuitable environmental conditions. Different objects have different values. For objects with relatively low value, the time when the damage is moderate and reversible can also be selected as a base time to calculate the damage tolerance time under unsuitable environmental conditions. Furthermore, the subtracted time value can vary for different objects. Those skilled in the art can flexibly adjust this based on the specific object and requirements.
[0049] Through the above-mentioned technical solution of the present invention, the environmental conditions of different objects in the same environment can be taken into account, avoiding the fixed and single control mode of current smart homes. Flexible control logic can be given according to the different objects in the control space, so that each object in the control space can receive effective environmental conditions, avoiding damage to some objects due to prolonged exposure to unsuitable environmental conditions because the environmental conditions only apply to some objects.
[0050] In a further embodiment, under any environmental conditions, if the environmental tolerance of each object in the current site is greater than a preset capability threshold, then after a preset time, the environment will be switched to the environmental conditions suitable for the object with the highest preset priority; if the current environmental conditions are the environmental conditions suitable for the object with the highest preset priority, then the current environmental conditions will continue to be maintained.
[0051] This embodiment defines the initial control method for the smart home. At the initial control stage, since the smart home is not yet operational, an initial control logic is needed to set the highest priority object. This allows the smart home to have an initial control target before it can analyze all objects. This target allows the environmental conditions to be adjusted to suit the highest priority object. Furthermore, when dynamically adjusting environmental conditions later, if no object requires special care, there is still a user-preferred control target, preventing the smart home control from deviating too far from the user's expectations. In addition, different users have different needs. For example, some users prioritize human comfort. Even if they have valuable paintings or antiques that require special preservation, if the user wants to prioritize human comfort, this embodiment allows the smart home control to primarily focus on a comfortable living environment. If a user has a dedicated room for storing their paintings or antiques, the user can adjust the smart home control logic for that room to prioritize the paintings and antiques. Even if an unsuspecting outsider enters the room, it avoids the current smart home prioritizing the human and potentially damaging valuable items.
[0052] If the highest-priority object is a single type of object, such as an orchid, a human, or an oil painting, then controlling the environmental conditions based on the highest-priority object is relatively simple. However, in reality, there are many different types of objects. As a pre-prepared program, the built-in options for the highest-priority object might be a broad category containing various different objects, each with different suitable environmental conditions. This situation becomes more complex. To address this problem, this invention, when the highest-priority object contains various different objects and their suitable environmental conditions differ, obtains the suitable environmental conditions for the highest-priority object through the following steps (see [link]). Figure 2 .
[0053] Divide objects of the same type but different kinds into multiple levels, and count the number of objects in each level and the environmental conditions suitable for each type of object.
[0054] Calculate the overlap range of suitable environmental conditions for all objects at each level;
[0055] Count the number of objects in overlapping intervals at different levels;
[0056] Multiply the weight of each level by the number of objects in its overlapping interval to get the effective number of objects in the overlapping interval of each level.
[0057] The overlapping interval with the largest number of valid values is selected as the environment condition suitable for the object with the highest preset priority.
[0058] For example, suppose the highest priority objects are famous paintings and antiques. However, "famous paintings and antiques" is a broad category that includes many different objects, such as oil paintings, traditional Chinese paintings, porcelain, and wood carvings. Each type of object has different suitable environmental conditions. To control the smart home system to the environmental conditions suitable for the highest priority object, taking oil paintings, traditional Chinese paintings, and porcelain in the current control space as an example, the above technical solution would first classify all oil paintings, traditional Chinese paintings, and porcelain into three levels. Then, it would count the number of oil paintings and their suitable environmental conditions (assuming there are oil paintings in the first level) in the first level, the number of traditional Chinese paintings and their suitable environmental conditions (assuming there are traditional Chinese paintings in the first level), and the number of porcelain and their suitable environmental conditions (assuming there are porcelain in the first level). Following this model, the number of objects and their suitable environmental conditions within each level are statistically analyzed. Then, the overlap range of suitable environmental conditions for objects within each level is examined. Assuming the overlap range for suitable environmental conditions for all objects in the first level is 5℃-20℃, and the first level has a weight of 80%, with 3 objects in the overlap range, the effective number of objects in the overlap range for the first level is 2.4. This is used to calculate the effective number of objects in other levels, and the overlap range with the largest effective number is selected as the environmental condition suitable for the object with the highest preset priority. This method in this embodiment can balance user needs and object tolerance, while also considering the environmental conditions required by the highest priority objects with a large proportion within the control space.
[0059] In one specific embodiment, objects of the same type but different kinds are divided into multiple levels based on environmental tolerance, with objects having weaker environmental tolerance receiving higher weights in their respective levels. This embodiment is designed to take into account the environmental tolerance of objects. In other embodiments, users can also set the levels themselves, in which case user needs are taken into account.
[0060] like Figure 3 As shown, in one embodiment, the environmental resilience of each object is obtained according to the following steps.
[0061] Based on the damage prediction model, the time when all objects are damaged under unsuitable environmental conditions, the corresponding degree of damage, and whether the damage is reversible are obtained.
[0062] The time of damage to all objects is classified into time levels based on the duration of the damage; the degree of damage to all objects is classified into damage levels based on the severity of the damage; and the reversibility of damage to all objects is classified into recovery levels. The order of these classifications (time level, damage level, and recovery level) can be arbitrarily adjusted and is not in any particular order.
[0063] Weights are assigned to time level, damage level, and recovery level. The sum of the time level multiplied by its corresponding weight, the damage level multiplied by its corresponding weight, and the recovery level multiplied by its corresponding weight for each type of object is used as the environmental tolerance of that object.
[0064] This embodiment transforms the ability of an object to withstand stress, which in the prior art could only be judged through subjective feelings, into quantifiable data, thereby providing sufficient data support for the control of smart homes.
[0065] Since there are only two recovery levels, reversible and irreversible, the recovery levels of this invention include both reversible and irreversible levels. The time at which damage occurs affects the degree of damage and whether it is reversible. Therefore, although the recovery level of an object is only two levels, reversible and irreversible, the recovery level of the same object will differ under different conditions. Distinguishing between reversible and irreversible recovery levels makes it easier to define the damage resistance time of this invention. In one embodiment, the damage resistance time of an object can be defined as the shortest time corresponding to the reversible recovery level of the object under a certain unsuitable environmental condition. The same object has different damage resistance times under different environmental conditions. For example, the damage resistance time of an object under suitable environmental conditions can be set to infinity or a maximum value. Under each unsuitable environmental condition, the shortest time corresponding to the start of damage under the corresponding unsuitable environmental condition, but where the recovery level is reversible, is taken—that is, the instant damage occurs or the instant damage is about to occur. By defining a specific damage resistance time, it is easier for smart homes to control environmental conditions.
[0066] In the above embodiments of the present invention, or combinations thereof, the environmental conditions referred to include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration. The more devices available, the more environmental parameters can be controlled. By controlling these environmental conditions, the needs of the object can be more precisely addressed.
[0067] In one embodiment, the light intensity of the present invention is controlled by the following steps.
[0068] First, construct a room model of the current site;
[0069] Obtain the projected position of at least one apex corner of each window in the current site onto the ground;
[0070] The projection position is simulated in the room model, and a coordinate system is established with the top corner of the corresponding window as the origin to calculate the illumination angle of sunlight through the corresponding window.
[0071] By determining the vertices of the corresponding windows and their illumination angles, the area illuminated by sunlight through the corresponding windows into the room model is determined.
[0072] Adjust the window curtains according to the location of the corresponding object to adjust the light intensity to suit the environmental conditions of the corresponding object.
[0073] This embodiment constructs a room model and obtains the lighting angle of each window, which can accurately obtain the lighting area of each window into the room. Specifically, the lighting area is calculated based on the lighting angle. Existing projection formulas can be used. Then, based on the position of the object, it is possible to accurately control whether the object receives sunlight from outside the window, thereby controlling the lighting intensity of the object.
[0074] In one application embodiment, when the smart home is used for the first time in a given location, the present invention detects and analyzes the current location using the detection devices of each smart home device to obtain the objects in that location. In other embodiments, the objects can be detected each time the smart home control function is activated, or when the user inputs a corresponding control command to detect or update an object. By detecting the objects in the current location, intelligent control can be performed according to the actual situation of the location.
[0075] Based on the above-mentioned smart home control method, this invention also protects a smart home system, which includes a control module and a device with a detection device. The control module uses the smart home control method of the above-mentioned technical solution to control the device.
[0076] In one embodiment, the device referred to in this invention includes, but is not limited to, at least one of an air conditioner, a humidifier, a fresh air system, an electric curtain, a robot vacuum cleaner, and a television set.
[0077] The technical solution of the present invention will be further described below with some detailed examples, for reference. Figure 4 .
[0078] After the smart home control module establishes a connection with various devices in the current location (i.e., a control space), it uses the detection devices built into the devices distributed in various places to perform whole-house detection, identifying and classifying people, animals and plants, and certain items (such as famous paintings and antiques, televisions, sofas, refrigerators, etc.) in the room.
[0079] The detection devices referred to here include equipment with different detection capabilities installed in different locations within the room, such as temperature and humidity sensors for air conditioners, infrared sensors for air conditioner controllers, image sensors for facial recognition modules, temperature and humidity sensors for refrigerators, sound and video image sensors for televisions, temperature, humidity, and infrared sensors for smart speakers, video image and LiDAR sensors for robot vacuums, and sound and video image sensors for indoor cameras. These devices are used for whole-house detection. If the detection equipment has sufficient performance, it performs its own calculations and feeds the results back to the control module. If the detection equipment has insufficient performance to handle the calculation task, it feeds the detection information back to the control module, which then uploads it to the server for calculation and identification. Afterwards, both the individual devices and the server feed back the calculated results to the control module. The control module then statistically classifies the identified information, determining which objects exist within each controlled space and their specific locations. Simultaneously, the room structure and object positions are modeled using image information recognized from different angles, as well as the path information of the robot vacuum cleaner, the range information of the lidar, and the image information. Then, the environmental conditions in the current control space are adjusted and controlled according to the current scene and the preset priority, that is, the environmental conditions in the current control space are adjusted and controlled according to the object with the highest preset priority.
[0080] If the highest priority object is a famous painting or antique, then based on the identified type of famous painting or antique, such as oil painting, traditional Chinese painting, porcelain, wood carving, etc., the suitable environmental conditions for them are obtained, and then the air conditioning, fresh air system and other equipment are controlled to keep the ambient temperature, humidity, CO2 concentration and other conditions under the most suitable conditions for famous paintings and antiques.
[0081] When there are multiple types of famous paintings and antiques, each type is graded and weighted according to its environmental tolerance, with lower tolerance levels receiving higher weights. The environmental tolerance of a famous painting or antique is assessed based on the time, extent, and reversibility of damage sustained by similar items under unsuitable environmental conditions during testing. Grades are assigned based on the duration of damage (e.g., 1-5, with shorter durations resulting in higher grades); the extent of damage is also assigned (e.g., 1-5, with more severe damage resulting in higher grades); and reversibility is assigned (0 for reversible and 1 for irreversible). The time of damage, extent of damage, and reversibility can be weighted according to severity (e.g., 20% for time of damage, 30% for extent of damage, and 50% for reversibility). The sum of each grade multiplied by its weight is used as a quantitative assessment of the object's environmental tolerance under corresponding environmental conditions. Specifically, the more severe the damage, the higher the grade, and the larger the sum, meaning a higher environmental tolerance value. However, a higher environmental tolerance value does not necessarily indicate stronger environmental tolerance in this invention; on the contrary, it may indicate weaker environmental tolerance.
[0082] The number of famous paintings and antiques under each grade and the suitable preservation range for each type were statistically analyzed. Then, the overlap range of suitable environmental conditions for famous paintings and antiques under each grade was calculated, and the number of famous paintings and antiques in the overlap ranges for different grades was counted. The number of famous paintings and antiques of each grade within the overlap range was multiplied by the weight of that grade to obtain the effective number of famous paintings and antiques in that overlap range. The overlap range with the larger number of effective famous paintings and antiques was taken as the control range corresponding to the suitable environmental conditions for famous paintings and antiques, prioritizing the preservation environment for the majority of famous paintings and antiques with weak environmental tolerance. Simultaneously, the environmental tolerance of other types of famous paintings and antiques under these unsuitable environmental conditions and the time they could survive in suitable environments were statistically analyzed. When the damage tolerance time of the corresponding object minus the survival time under the current environmental conditions was less than or equal to a preset time, the current environmental conditions were switched to the suitable environmental conditions for the corresponding object, dynamically adjusting the indoor environment to prevent damage to famous paintings and antiques caused by prolonged exposure to unsuitable environments.
[0083] If the highest priority target is flowers or pets, then based on the identified flower or pet type and habits, such as preference for cold or humidity, suitable environmental conditions are selected for the flowers or pets to control the temperature, humidity, CO2 concentration and other environmental conditions within the preset range by installing air conditioning, humidifiers, fresh air systems and other equipment.
[0084] When multiple types and habits of flowers or pets exist, their environmental tolerance is graded and weighted according to the type and habit of each flower or pet, with lower environmental tolerance grades having higher weights. The environmental tolerance of flowers or pets is assessed based on the duration, severity, and reversibility of damage caused by unsuitable environmental conditions during testing. Grades are assigned based on the duration of damage (e.g., 1-5, shorter duration, higher grade); the severity of damage (e.g., 1-5, more severe damage, higher grade); and reversibility (0 for reversible, 1 for irreversible). The duration, severity, and reversibility of damage are weighted according to their severity (e.g., duration 20%, severity 30%, reversibility 50%). The sum of each grade multiplied by its weight is the assessment of its environmental tolerance; a higher value indicates lower environmental tolerance.
[0085] The number of flowers or pets at each level and their suitable environmental conditions are statistically analyzed. Then, the overlap range of suitable environmental conditions for each flower or pet at each level is calculated, and the number of flowers or pets in the overlap range for different levels is counted. The number of flowers or pets at each level within the overlap range is multiplied by the weight of that level to obtain the effective number of flowers or pets in that overlap range. The overlap range with the larger effective number of flowers or pets is considered the suitable environmental condition for that type of object, prioritizing the preservation environment for the majority of flowers or pets with weak environmental tolerance. Simultaneously, the time other types of flowers or pets are exposed to unsuitable environmental conditions is recorded. Based on their tolerance to unsuitable environmental conditions, when the damage tolerance time of the corresponding object minus the survival time under the current environmental conditions is less than or equal to a preset time, the current environmental conditions are switched to the suitable environmental conditions for the corresponding object, dynamically adjusting the indoor environment to prevent damage to flowers or pets from prolonged exposure to unsuitable environments.
[0086] It can also analyze the status of flowers or pets based on images, such as lack of water, lack of fertilizer, or illness, and provide prompts on the screen or push notifications to mobile phones via WiFi.
[0087] Furthermore, the control module can also work with a light intensity sensor to detect the current lighting conditions in the room. The control module uses image recognition to obtain the projection positions of the four corners of the window onto the ground, ignoring projections not on the ground, in order to obtain the current lighting angle. For example, it simulates the projection positions in a room model, establishes a coordinate system with the corresponding window corners as the origin, calculates the angle between the projection position and the origin as the current light angle, and records the current sun position for reference. Figure 5 By simulating the angle of light in a room model, and using a light intensity sensor to determine the current illuminated area and intensity based on the curtain position, the system then controls the curtain controller to move the curtains left and right, adjusting the illuminated area within the room. Through continuous learning and improvement of the room model, it can also calculate the illumination area coverage for the next time period in advance based on historical sun positions, and adjust the curtain position accordingly to completely avoid direct sunlight.
[0088] Items such as famous paintings, antiques, refrigerators, and leather sofas should be kept out of direct sunlight. By simulating the current light angle and curtain position in a room model, the system determines whether the illuminated area covers these items. Based on the illuminated area, the system controls the curtain controller to move the curtains at both ends until the illuminated area no longer covers the surfaces of the paintings and antiques, preventing light damage, affecting refrigerator heat dissipation, or accelerating leather aging. Similarly, by recognizing water droplets on flowers or flower petals and leaves, the system identifies areas where strong light should be avoided. When light is detected shining on these areas, it determines that the light intensity is too high, exceeding a preset value. The system then triggers the curtain or screen controller to adjust the position of the curtains or screen, reducing the light intensity and preventing the flowers from being burned by strong light.
[0089] If the highest priority is set for a person, when the smart home system detects that the user is resting at night, it can activate sleep mode, triggering the curtain controller to close the curtains. It can also monitor indoor temperature, humidity, and CO2 concentration, using air conditioning, humidifiers, and fresh air systems to maintain a comfortable sleep environment. Based on the location and posture of people in the room, when movement is detected, the system can use a voice module to ask if exercise mode should be activated. It can also monitor indoor temperature, humidity, and CO2 concentration, using air conditioning, humidifiers, and fresh air systems to maintain a comfortable exercise environment. Finally, based on the status of the television in the room, if someone is watching TV, the system can use a voice module to ask if viewing mode should be activated. It can also monitor indoor lighting in real time, triggering the curtain controller to position the curtains to prevent sunlight from shining on the TV screen and improve the viewing experience.
[0090] In summary, this invention can identify different objects and scenes in a room, and link control devices to perform targeted control of the room's environmental conditions, thereby improving the user experience in different scenarios.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A control method for smart homes, characterized in that, include: Data on the degree of damage and whether the damage is reversible are collected in advance for different objects under different environmental conditions and for different durations of stay, so as to obtain the suitable environmental conditions for different objects and establish a damage prediction model. When the environmental conditions of a smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental tolerance and damage resistance time of each object in the current site under the current environmental conditions are calculated based on the damage prediction model. Filter out objects whose environmental tolerance is less than or equal to a preset threshold. When the damage tolerance time of the corresponding object minus the survival time under the current environmental conditions is less than or equal to the preset time, switch the current environmental conditions to the environmental conditions suitable for the corresponding object. After the current environmental conditions change, start a new round of environmental tolerance calculation and execute subsequent steps. The environmental tolerance is obtained according to the following steps: Based on the damage prediction model, the time when all objects are damaged under unsuitable environmental conditions, the corresponding degree of damage, and whether the damage is reversible are obtained. Classify the time of damage to all objects into time levels based on duration; classify the degree of damage to all objects into damage levels based on severity; classify the reversibility of damage to all objects into recovery levels. Weights are assigned to time level, damage level, and recovery level. The sum of the time level multiplied by its corresponding weight, the damage level multiplied by its corresponding weight, and the recovery level multiplied by its corresponding weight for each type of object is used as the environmental tolerance of that object.
2. The smart home control method as described in claim 1, characterized in that, Under any environmental conditions, if the environmental tolerance of each object in the current site is greater than the preset threshold, then after a preset time, the environment will be switched to the environmental conditions suitable for the object with the highest preset priority; if the current environmental conditions are the environmental conditions suitable for the object with the highest preset priority, then the current environmental conditions will continue to be maintained.
3. The smart home control method as described in claim 2, characterized in that, If the object with the highest preset priority is a type of object, and each type of object within that type is suited to different environmental conditions, then the environmental conditions suitable for the object with the highest preset priority are obtained using the following steps: Divide objects of the same type but different kinds into multiple levels, and count the number of objects in each level and the environmental conditions suitable for each type of object. Calculate the overlap range of suitable environmental conditions for all objects at each level; Count the number of objects in overlapping intervals at different levels; Multiply the weight of each level by the number of objects in its overlapping interval to get the effective number of objects in the overlapping interval of each level. The overlapping interval with the largest number of valid values is selected as the environment condition suitable for the object with the highest preset priority.
4. The smart home control method as described in claim 3, characterized in that, Based on environmental tolerance, objects of the same type but different species are divided into multiple levels, and the weaker the environmental tolerance of an object, the higher its level weight.
5. The smart home control method as described in claim 1, characterized in that, The damage resistance time of the object is the shortest time corresponding to the reversible recovery level under the corresponding unsuitable environmental conditions.
6. The smart home control method according to any one of claims 1 to 5, characterized in that, The environmental conditions include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration.
7. The smart home control method as described in claim 6, characterized in that, The light intensity is controlled through the following steps: First, construct a room model of the current site; Obtain the projected position of at least one apex corner of each window in the current site onto the ground; The projection position is simulated in the room model, and a coordinate system is established with the top corner of the corresponding window as the origin to calculate the illumination angle of sunlight through the corresponding window. By determining the apex corner of the corresponding window and its illumination angle, the area illuminated by sunlight through the corresponding window into the room model is determined; Adjust the window curtains according to the location of the corresponding object to adjust the light intensity to suit the environmental conditions of the corresponding object.
8. A smart home system, comprising a control module and a device with a detection unit, characterized in that, The control module uses the smart home control method as described in any one of claims 1 to 7 to control the device.
9. The smart home system as described in claim 8, characterized in that, The equipment includes at least one of the following: air conditioner, humidifier, fresh air system, electric curtains, robot vacuum cleaner, and television.
Citation Information
Patent Citations
Control method for smart home system
CN113568317A
Intelligent control method and system used in intelligent home environment
CN114007310A