Smart home control method and smart home system
By establishing a damage prediction model and dynamically adjusting environmental conditions, the problem of fixed mode of the smart home control system is solved, flexible environmental control of different objects and scenes is achieved, ensuring that objects receive a suitable environment, and improving the user experience.
Patent Information
- Application Number
- CN202411058254.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-02
AI Technical Summary
The existing smart home control system has a fixed and rigid model, making it difficult to take into account the needs of different objects and scenarios. Especially when there are specific environmental requirements for antiques, pets, etc. in the home environment, flexible and variable environmental control cannot be achieved.
By pre-collecting the damage data of objects under different environmental conditions, we can establish a damage prediction model, calculate the environmental endurance and damage resistance time of the object, and dynamically adjust the environmental conditions to ensure that each object gets a suitable environment, including temperature, humidity, and light. Control of intensity, etc.
It realizes flexible environmental control of different objects and scenes, avoids damage caused by environmental incompatibility, and improves user experience and equipment usage efficiency.
Smart Images

Figure CN118759876A_ABST
Abstract
Description
Technical Field
[0001] The present 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 Art
[0002] With the improvement of living standards, air conditioners are now used in more and more occasions, such as mine air conditioning, seafood storage air conditioning and so on.
[0003] Take people's daily home environment as an example. Different people have different home environments. For example, some people will place antiques and famous paintings in some spaces. Some people will keep pets that have high requirements for environmental conditions indoors. Therefore, people's requirements for indoor environment are also increasing.
[0004] For antique shops, flower shops or pet shops, different stores have different requirements for indoor environmental conditions.
[0005] Smart home control is a logic that is currently proposed to automatically control the purchased home appliances in the room in order to suit different people and different scenarios. However, the existing smart home control usually has several fixed modes, such as sleep mode. For people's rich and colorful work and life, this fixed mode of control is relatively simple and rigid, and requires manual adjustment of multiple devices. Multiple devices cannot be controlled in a linked manner, which is very inconvenient and difficult to take into account the needs of multiple scenarios and different objects.
[0006] Therefore, how to provide a flexible and changeable 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 mode of smart home in the prior art is relatively fixed and rigid, the present invention proposes a control method of smart home and a smart home system.
[0008] The smart home control method proposed by the present invention includes:
[0009] Collect data in advance on the extent of damage that occurs when different subjects stay in different environmental conditions for different lengths of time, as well as whether the damage is reversible, to obtain environmental conditions suitable for different subjects and establish a damage prediction model;
[0010] When the environmental conditions of the smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental bearing capacity and damage tolerance 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 the preset tolerance threshold, and 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 environmental conditions suitable for the corresponding object, and start a new round of environmental tolerance calculation after the current environmental conditions change and execute subsequent steps.
[0012] Furthermore, under any environmental conditions, if the environmental tolerance of each object in the current site under the current environmental conditions is greater than the preset tolerance threshold, then after a preset time, it will switch to the environmental conditions suitable for the object with the highest preset priority; if the current environmental conditions are suitable for the object with the highest preset priority, the current environmental conditions will continue to be maintained.
[0013] Furthermore, if the object with the highest preset priority is a class of objects, and each class of objects in the class of objects is suitable for different environmental conditions, the environmental conditions suitable for the object with the highest preset priority are obtained by using the following steps:
[0014] Divide the same type of objects into multiple levels, count the number of objects in each level and the environmental conditions suitable for each object;
[0015] Count the overlap intervals of environmental conditions suitable for all objects at each level;
[0016] Count the number of objects with overlapping intervals of different levels;
[0017] Multiply the weight of each level by the number of objects in its overlapping intervals to obtain the effective number of objects in the overlapping intervals of each level;
[0018] The overlap interval with the largest number of valid values is taken as the suitable environmental condition for the object with the highest preset priority.
[0019] Furthermore, objects of the same type but different kinds are divided into multiple levels according to the environmental bearing capacity, and the weaker the environmental bearing capacity of the object, the higher the weight of its level.
[0020] Further, the environmental bearing capacity 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 damage degree and whether it is reversible are obtained;
[0022] The time when all objects were injured is divided into time levels according to the length of time; the degree of injury of all objects is divided into injury levels according to the severity; and the reversibility of the injury of all objects is divided into recovery levels;
[0023] Weights are set for the time level, damage level and recovery level, and the sum of the time level of each object multiplied by the corresponding weight, the damage level multiplied by the corresponding weight and the recovery level multiplied by the corresponding weight is taken as the environmental tolerance of the object.
[0024] Furthermore, the damage tolerance time of the object is the shortest time corresponding to when the recovery level under the corresponding unsuitable environmental conditions is a reversible level.
[0025] Furthermore, the environmental conditions include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration.
[0026] Further, the light intensity is controlled by the following steps:
[0027] First build the room model of the current venue;
[0028] Get the projection position of at least one vertex of each window in the current site to the ground;
[0029] Simulating the projection position in the room model, establishing a coordinate system with a vertex angle of the corresponding window as the origin, and calculating the illumination angle of sunlight passing through the corresponding window;
[0030] Determine the illumination area of the room model through the corresponding window through the vertex of the corresponding window and its illumination angle;
[0031] According to the position of the corresponding object, the curtains of the window are adjusted to adjust the light intensity of the corresponding object to the environmental conditions suitable for the corresponding object.
[0032] The smart home system proposed in the present invention comprises a control module and a device with a detection device, and the control module uses the smart home control method described in the above technical solution to control the device.
[0033] Furthermore, the equipment includes at least one of an air conditioner, a humidifier, a fresh air system, an electric curtain, a sweeping robot, and a television.
[0034] The present invention pre-constructs a damage prediction model, and in the actual control process, calculates the environmental tolerance and damage resistance time of each object under the current environmental conditions based on the damage prediction model. Then, when the damage resistance time of the corresponding object is about to run out, the environmental conditions are adjusted dynamically and in a timely manner, so that different objects in the same space can be better taken care of. When the present invention is applied in a daily home environment, the objects, animals and plants in the room are first identified and classified, and the indoor temperature, CO2 concentration, fresh air, humidity, etc. are controlled according to the environmental conditions suitable for the preset highest priority objects. At the same time, the curtains are linked to control the indoor lighting, so as to adapt to different scenes in the room, protect other objects or animals and plants in the room as well as people, and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The present invention is described in detail below with reference to the embodiments and accompanying drawings, wherein:
[0036] Figure 1 It is the overall flow chart of the present invention.
[0037] Figure 2 This is a flow chart of obtaining suitable environmental conditions for an object with the highest preset priority according to an embodiment of the present invention.
[0038] Figure 3 It is a flow chart of calculating the environmental bearing capacity of an object according to an embodiment of the present invention.
[0039] Figure 4 It is an application flow chart of the present invention.
[0040] Figure 5 It is the room lighting model diagram of the present invention. DETAILED DESCRIPTION
[0041] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with 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 used to limit the present invention.
[0042] Thus, a feature indicated in this specification will be used to illustrate one of the features of an embodiment of the present invention, rather than implying that each embodiment of the present invention must have the described feature. In addition, it should be noted that this specification describes many features. Although some features can be combined together to illustrate possible system designs, these features can also be used in other combinations that are not explicitly described. Thus, unless otherwise stated, the described combinations are not intended to be limiting.
[0043] In a basic embodiment, Figure 1 As shown, the control method of the smart home of the present invention mainly includes the following steps.
[0044] Collect data in advance on the extent of damage that occurs when different subjects stay in different environmental conditions for different lengths of time, as well as whether the damage is reversible, to obtain environmental conditions suitable for different subjects and establish a damage prediction model;
[0045] When the environmental conditions of the smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental tolerance and damage tolerance 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 the preset tolerance threshold, and 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 environmental conditions suitable for the corresponding object, and start a new round of environmental tolerance calculation after the current environmental conditions change and execute subsequent steps.
[0047] In the above technical solution, the specific training process of the damage prediction model can be trained by the training method of the self-learning model in the prior art. The input of the damage prediction model includes at least the type of object and the environmental conditions, and the output of the damage prediction model includes at least the time when the damage occurs, the degree of damage, and whether the damage is reversible. If the current input environmental conditions are suitable for the object, the time when the damage occurs can be set to infinity or a fixed maximum value.
[0048] The damage tolerance time of the object under unsuitable environmental conditions is calculated based on the obtained damage prediction model. It can be determined according to the output result of the damage prediction model. For example, the time when the damage is slight and reversible is selected as a time basis, and a certain time value is subtracted from this time basis to serve as the damage tolerance time of the object under unsuitable environmental conditions. Different objects have different values. For some objects with relatively low values, the time when the damage is moderate and reversible is selected as a time basis to calculate the damage tolerance time of the object under unsuitable environmental conditions. The time value subtracted for different objects can also be different. Technical personnel in this field can make flexible adjustments according to different objects and specific needs.
[0049] Through the above-mentioned technical scheme of the present invention, the environmental conditions of different objects in the same environment can be taken into account, avoiding the current fixed and single control mode of smart homes. Flexible control logic can be given according to the differences in objects in the control space, so that each object in the control space can be taken care of by effective environmental conditions, avoiding the situation where some objects are damaged due to long-term exposure to unsuitable environmental conditions because the environmental conditions are only applicable to some of the objects.
[0050] In a further embodiment, under any environmental conditions, if the environmental tolerance of each object in the current site under the current environmental conditions is greater than a preset tolerance threshold, then after a preset time, the environmental conditions are switched to those suitable for the object with the highest preset priority; if the current environmental conditions are suitable for the object with the highest preset priority, the current environmental conditions are maintained.
[0051] In this embodiment, the control method of the smart home can be limited at the beginning. At the beginning of the control, since the smart home has not yet operated, an initial control logic is required to set the object with the highest priority. This can enable the smart home to have an initial control target when it is too late to analyze all objects at the beginning. Through this control target, the environmental conditions can be adjusted to be suitable for the object with the highest priority. And when the environmental conditions are adjusted dynamically in the subsequent period, if there is no object that needs special care, there can also be a control target that the user mainly favors, so as to avoid the control of the smart home from being too long and too far away from the user's expectations. In addition, different user needs are also different. For example, some users pay more attention to the environmental comfort of people. Even if there are famous paintings, antiques and other items that need special preservation at home, if the user wants to give priority to human comfort, through this embodiment, the control of the smart home can be mainly controlled under environmental conditions suitable for human habitation. If some users set up a special room to store their famous paintings, antiques and other items, the user can adjust the smart home control logic of the room to give priority to famous paintings and antiques. Even if an uninformed outsider breaks into the room, it can also avoid the situation where the existing smart home takes people as the main control object, resulting in damage to precious items.
[0052] If the object with the highest preset priority is a single type of object, such as an orchid, or a human being, or an oil painting, etc., it is relatively simple to control the environmental conditions according to the object with the highest preset priority. However, in fact, there are many kinds of objects in the world. As a pre-prepared program, the option of the object with the highest preset priority may be a large category. The objects in this large category include many different objects, and the environmental conditions suitable for each object in this category are different. In this case, the situation will be more complicated. In order to solve this problem, the present invention adopts the following steps to obtain the environmental conditions suitable for the object with the highest preset priority when the object with the highest preset priority includes many different objects and the environmental conditions suitable for them are different. See Figure 2 .
[0053] Divide the same type of objects into multiple levels, count the number of objects in each level and the environmental conditions suitable for each object;
[0054] Count the overlap intervals of environmental conditions suitable for all objects at each level;
[0055] Count the number of objects with overlapping intervals of different levels;
[0056] Multiply the weight of each level by the number of objects in its overlapping intervals to obtain the effective number of objects in the overlapping intervals of each level;
[0057] The overlap interval with the largest number of valid values is taken as the suitable environmental condition for the object with the highest preset priority.
[0058] For example, suppose the objects with the highest preset priority are famous paintings and antiques, but famous paintings and antiques are a large category, which includes many different objects, which can be further divided into oil paintings, Chinese paintings, porcelain, wood carvings, etc., and the environmental conditions suitable for each object are different. At this time, when the smart home is controlled to the environmental conditions suitable for the object with the highest preset priority, taking the oil paintings, Chinese paintings and porcelain in the current control space as an example, the above technical solution is used to first classify all oil paintings, Chinese paintings and porcelain, for example, into three levels, and then count the number of oil paintings in the first level, the environmental conditions suitable for oil paintings (assuming that there are oil paintings in the first level), the number of Chinese paintings, the environmental conditions suitable for Chinese paintings (assuming that there are Chinese paintings in the first level), the number of porcelain, and the environmental conditions suitable for porcelain (assuming that there are porcelain in the first level). According to this mode, the number of objects and suitable environmental conditions in each level are counted, and then the overlapping intervals of the environmental conditions suitable for objects in each level are looked at. Assuming that the overlapping intervals of the environmental conditions suitable for all objects in the first level are 5°C-20°C, the weight of the first level is 80%, and the number of objects in the overlapping intervals is 3, the effective number of objects in the overlapping intervals of the first level is 2.4, and the effective number of objects in other levels is calculated in this way, and a overlapping interval with the largest effective number is selected as the environmental condition suitable for the object with the highest preset priority. This method of the present embodiment can take into account the needs of users or the tolerance of objects, and can also take into account the environmental conditions required for the objects with the highest priority and a large proportion of number in the control space.
[0059] In a specific embodiment, objects of the same type but different kinds are divided into multiple levels according to the environmental bearing capacity, and the weaker the environmental bearing capacity of the object, the higher the weight of its level. This embodiment is used to take into account the bearing capacity of the object. In other embodiments, the user can also set the level by himself, in which case the user's needs are taken into account.
[0060] like Figure 3 As shown, in one embodiment, the environmental tolerance 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 it is reversible are obtained;
[0062] Divide all objects into time levels according to the length of time when they are damaged; divide all objects into damage levels according to the degree of damage; divide all objects into recovery levels according to whether the damage is reversible; the order of dividing time levels, damage levels and recovery levels can be adjusted arbitrarily, in no particular order.
[0063] Weights are set for the time level, damage level and recovery level, and the sum of the time level of each object multiplied by the corresponding weight, the damage level multiplied by the corresponding weight and the recovery level multiplied by the corresponding weight is taken as the environmental tolerance of the object.
[0064] This embodiment transforms the bearing capacity of an object, which can only be judged by subjective feelings in the prior art, into quantifiable data, thereby providing sufficient data support for the control of smart homes.
[0065] Since there are only two types of recovery levels, reversible and irreversible, the recovery levels of the present invention include two types, reversible and irreversible. The time when the damage occurs is different, the degree of damage is also different, and whether it is reversible is also different. Therefore, although the recovery level of the object is only reversible and irreversible, the recovery level of the same object in different situations is also different. By distinguishing between the two recovery levels of reversible and irreversible, it is more convenient to define the damage tolerance time of the present invention. In one embodiment, the damage tolerance time of the object can be defined as the shortest time corresponding to the reversible level of the recovery level of the object under a certain unsuitable environmental condition. Different environmental conditions of the same object have different damage tolerance times. For example, the damage tolerance time of the object under suitable environmental conditions can be set to infinity, or a certain maximum value. Under each unsuitable environmental condition, the damage begins to occur under the corresponding unsuitable environmental condition, but the shortest time corresponding to the reversible level of the damage recovery level is taken, that is, the moment when the damage just occurs, or the moment when the damage is about to occur. By defining a certain damage tolerance time, it is more convenient for smart homes to control environmental conditions.
[0066] In the above-mentioned embodiments of the present invention, or in the combination of the embodiments, the environmental conditions referred to include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration. When there are more corresponding devices, there are more parameters of the controllable environmental conditions. By controlling these environmental conditions, the needs of the object can be taken care of more finely.
[0067] In one embodiment, the light intensity of the present invention is controlled by the following steps.
[0068] First build the room model of the current venue;
[0069] Get the projection position of at least one vertex of each window in the current site to the ground;
[0070] Simulating the projection position in the room model, establishing a coordinate system with a vertex angle of the corresponding window as the origin, and calculating the illumination angle of sunlight passing through the corresponding window;
[0071] Determine the illumination area of the room model through the corresponding window through the vertex of the corresponding window and its illumination angle;
[0072] According to the position of the corresponding object, the curtains of the window are adjusted to adjust the light intensity of the corresponding object to the environmental conditions suitable for the corresponding object.
[0073] This embodiment constructs a room model and obtains the lighting angle of each window to accurately obtain the lighting area from each window to the room. The lighting area is calculated specifically according to the lighting angle. The existing projection formula can be used, and then based on the position of the object, it can be accurately controlled whether the object receives sunlight outside the window, thereby controlling the lighting intensity of the object.
[0074] In one application embodiment, the present invention detects and analyzes the current site through the detection device of each device of the smart home when the smart home is used for the first time in the current site to obtain the object of the current site. In other embodiments, the object can be detected once each time the control function of the smart home is turned on, or when the user inputs the corresponding control instruction to detect the object or update the object. By detecting the object of the current site, intelligent control can be performed according to the actual situation of the site.
[0075] The present invention is based on the above-mentioned smart home control method and also protects a smart home system. The smart home system 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 the present invention includes but is not limited to at least one of an air conditioner, a humidifier, a fresh air system, an electric curtain, a sweeping robot, and a television.
[0077] The technical solution of the present invention is further described below with some detailed examples. Figure 4 .
[0078] After the control module of the smart home establishes a connection with each device in the current venue (i.e. a control space), it conducts a whole-house detection through the detection devices installed in the devices distributed in various places, and identifies and classifies people, animals, plants, and some specific items (such as famous paintings and antiques, televisions, sofas, refrigerators, etc.) in the room.
[0079] The detection devices referred to here include devices equipped with different detection devices at different locations in the room, such as temperature and humidity sensors of air conditioners, infrared sensors of air conditioner controllers, image sensors of face recognition modules, temperature and humidity sensors of refrigerators, sound and video image sensors of televisions, temperature and humidity and infrared sensors of smart speakers, video images and lidar sensors of sweepers, sound and video image sensors of indoor cameras, etc., and the whole house is detected through these detection devices. If the performance of the detected device is sufficient, the device itself performs calculation processing and feeds back the calculation results to the control module. If the performance of the detected device is low and cannot undertake the calculation task, the detection information is fed back to the control module, which is uploaded to the server by the control module or the control module for calculation and identification. After that, no matter whether it is each device or the server, the calculation results after calculation and identification are uniformly fed back to the control module, and the control module performs statistical classification on the identified information, that is, obtains which objects are in each control space and where their specific locations are. At the same time, the room structure and object position are modeled using image information recognized at different angles, the path information of the sweeper, the lidar ranging information 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 objects with the highest preset priority are famous paintings and antiques, their suitable environmental conditions are obtained according to the identified types of famous paintings and antiques, such as oil paintings, Chinese paintings, porcelain, wood carvings, etc., so as to control the air conditioners, fresh air systems and other equipment to control the ambient temperature, humidity, CO2 concentration, etc. to the most suitable conditions for the famous paintings and antiques.
[0081] When there are multiple types of famous paintings and antiques, the levels and weights are divided according to the environmental bearing capacity of each type of famous paintings and antiques, and the level with weak environmental bearing capacity has a higher weight. The environmental bearing capacity of famous paintings and antiques is evaluated based on the time, degree of damage and whether it is reversible when the same type of items are in unsuitable environmental conditions during the test. The levels are divided according to the length of time the damage occurs, such as 1 to 5 levels, and the level with a shorter time is higher; the levels are divided according to the degree of damage, such as 1 to 5 levels, and the level with a larger degree of damage is higher; the levels are divided according to whether it is reversible, reversible is 0, and irreversible is 1. The time of damage, degree of damage and whether it is reversible can be weighted according to the severity, for example, the time of damage is 20%, the degree of damage is 30%, and whether it is reversible is 50%. The sum of each level multiplied by the weight is used as a quantitative assessment of the environmental bearing capacity of the object under the corresponding environmental conditions. Specifically, if the damage is more serious, the higher the level, the larger the sum obtained, that is, the larger the value of the environmental bearing capacity, but the larger the value of the environmental bearing capacity does not mean that the environmental bearing capacity is stronger in the present invention, on the contrary, it represents the weaker environmental bearing capacity.
[0082] The number of famous paintings and antiques at each level and the suitable preservation interval of each famous painting and antique are counted, and then the overlap intervals of environmental conditions suitable for famous paintings and antiques at each level are calculated, and the number of famous paintings and antiques in the overlap intervals of different levels is counted. The number of famous paintings and antiques of each level in the overlap interval is multiplied by the weight of the level as the effective number of famous paintings and antiques in the overlap interval, and the overlap interval with a larger effective number of famous paintings and antiques is used as the control interval corresponding to the suitable environmental conditions of famous paintings and antiques, giving priority to satisfying the preservation environment of most famous paintings and antiques with weak environmental tolerance. At the same time, the environmental tolerance of other types of famous paintings and antiques in the unsuitable environmental conditions and the time in the suitable environment are counted. 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, the current environmental conditions are switched to the environmental conditions suitable for the corresponding object, and the indoor environment is dynamically adjusted to prevent the famous paintings and antiques from being damaged due to being in an unsuitable environment for a long time.
[0083] If the object with the highest preset priority is flowers or pets, the environment conditions suitable for the flowers or pets will be selected according to the identified types and habits of the flowers or pets, such as preference for cold or humidity, to control air conditioning, humidifiers, fresh air systems and other equipment to control the ambient temperature, humidity, CO2 concentration, etc. within the preset range.
[0084] If there are multiple types and habits of flowers or pets, the levels and weights are divided according to the environmental tolerance of each type and habit of flowers or pets, and the level with weak environmental tolerance has a higher weight. The environmental tolerance of flowers or pets is evaluated based on the time, degree of damage and whether it is reversible when they are in unsuitable environmental conditions during the test. The levels are divided according to the length of time the damage occurs, such as 1 to 5, and the level with a shorter time is higher; the levels are divided according to the degree of damage, such as 1 to 5, and the level with a greater degree of damage is higher; the levels are divided according to whether it is reversible, with reversibility being 0 and irreversibility being 1. The time of damage, degree of damage and whether it is reversible are weighted according to the severity, such as 20% for the time of damage, 30% for the degree of damage, and 50% for reversibility. The sum of each level multiplied by the weight is used as the evaluation of its environmental tolerance. The larger the value, the weaker the environmental tolerance.
[0085] Count the number of flowers or pets at each level and the suitable environmental conditions for each type of flower or pet, then calculate the overlap intervals of the suitable environmental conditions for flowers or pets at each level, and count the number of flowers or pets in the overlap intervals of different levels. Multiply the number of flowers or pets of each level in the overlap interval by the weight of the level as the effective number of flowers or pets in the overlap interval, and take the overlap interval with a larger effective number of flowers or pets as the suitable environmental conditions for this type of object, giving priority to the preservation environment of most flowers or pets with weak environmental tolerance. At the same time, count the time that other types of flowers or pets are in unsuitable environmental conditions. According to their tolerance under 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 the preset time, switch the current environmental conditions to the suitable environmental conditions for the corresponding object, and dynamically adjust the indoor environment to prevent flowers or pets from being damaged by being in an unsuitable environment for a long time.
[0086] It can also analyze the status of flowers or pets based on the images of flowers or pets, such as lack of water, lack of fertilizer, illness, etc., and give prompts on the screen or push them to the mobile phone via WiFi for reminders.
[0087] Furthermore, the control module can also cooperate with the 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 on the ground, and ignores the projections not on the ground, so as to obtain the lighting angle at the current moment. For example, the projection position is simulated in the room model, and a coordinate system is established with the corresponding window corner as the origin. The angle of the line connecting the projection position to the coordinate origin is calculated as the light angle at the current time, and the sun position at the current time is recorded as a reference. Figure 5 . By simulating the lighting angle in the room model, the current lighting area and light intensity are determined according to the curtain position in conjunction with the light intensity sensor, and the curtain controller is linked to control the left and right movement of the two ends of the curtain to adjust the lighting area in the room. Through continuous learning and improvement of the room model, the lighting area coverage of the next time period can be calculated in advance based on the historical record of the sun's position, and the curtain position can be adjusted in advance to completely avoid light exposure.
[0088] Famous paintings, antiques, refrigerators, sofa leather, etc. should be protected from light. By simulating the current lighting angle and curtain position in the room model, it is determined whether the lighting area covers famous paintings, antiques, etc., and the curtain controller is controlled according to the lighting area to move the positions of the two ends of the curtains. The curtains are adjusted until the lighting area cannot cover the surfaces of famous paintings, antiques, etc., to avoid light damage to famous paintings and antiques, affecting the heat dissipation of refrigerators or accelerating leather aging. When some flowers or flower petals and leaves have water droplets on them through image recognition and should be protected from strong light, when light is detected shining on them, it is determined that the light intensity is too high and exceeds the preset value, and the window screen or curtain controller is linked to control the window screen or curtain position to reduce the light intensity and avoid strong light burning flowers.
[0089] If the object with the highest preset priority is a person, when it is recognized that the user is resting at night, the smart home can turn on the sleep mode, link the curtain controller to close the curtains, detect the ambient temperature and humidity, CO2 concentration, etc. in the room, and control the room environment to a suitable sleeping environment through air conditioning, humidifiers, fresh air systems, etc., to create a comfortable sleeping environment. According to the position and posture of the person in the room, when it is recognized that someone is moving in the room, the voice module is used to ask whether to turn on the exercise mode, detect the ambient temperature and humidity, CO2 concentration, etc. in the room, and control the room environment to a suitable exercise environment through air conditioning, humidifiers, fresh air systems, etc., to create a comfortable exercise environment. According to the status of the TV in the room, when it is determined that someone in the room is watching TV, the voice module is used to ask whether to turn on the viewing mode, and the indoor lighting conditions are judged in real time. The curtain controller is linked to control the curtain position to prevent sunlight from shining on the TV screen and improve the viewing experience.
[0090] In summary, the present invention can identify different objects, different scenes, etc. in the room, and control the linkage device to perform targeted control on the environmental conditions in the room, thereby improving the user experience in different scenes.
[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 in the protection scope of the present invention.
Claims
1. A control method for a smart home, characterized in that: include: Collect data in advance on the extent of damage that occurs when different subjects stay in different environmental conditions for different lengths of time, as well as whether the damage is reversible, to obtain environmental conditions suitable for different subjects and establish a damage prediction model; When the environmental conditions of the smart home are controlled according to the environmental conditions suitable for the object with the highest preset priority, the environmental bearing capacity and damage tolerance 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 the preset tolerance threshold, and 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 environmental conditions suitable for the corresponding object, and start a new round of environmental tolerance calculation after the current environmental conditions change and execute subsequent steps.
2. The smart home control method according to claim 1, characterized in that: Under any environmental conditions, if the environmental tolerance of each object in the current site under the current environmental conditions is greater than the preset capacity threshold, then after the preset time, it will switch to the environmental conditions suitable for the object with the highest preset priority; if the current environmental conditions are suitable for the object with the highest preset priority, the current environmental conditions will continue to be maintained.
3. The smart home control method according to claim 2, characterized in that: If the object with the highest preset priority is a class of objects, and each class of objects in the class of objects is suitable for different environmental conditions, the environmental conditions suitable for the object with the highest preset priority are obtained by the following steps: Divide the same type of objects into multiple levels, count the number of objects in each level and the environmental conditions suitable for each object; Count the overlap intervals of environmental conditions suitable for all objects at each level; Count the number of objects with overlapping intervals of different levels; Multiply the weight of each level by the number of objects in its overlapping intervals to obtain the effective number of objects in the overlapping intervals of each level; The overlap interval with the largest number of valid values is taken as the suitable environmental condition for the object with the highest preset priority.
4. The smart home control method according to claim 3, characterized in that: Objects of the same category but different types are divided into multiple levels according to the environmental carrying capacity, and the weaker the environmental carrying capacity of the object, the higher the weight of its level.
5. The smart home control method according to claim 1, characterized in that: The environmental bearing capacity 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 damage degree and whether it is reversible are obtained; The time when all objects were injured is divided into time levels according to the length of time; the degree of injury of all objects is divided into injury levels according to the severity; and the reversibility of the injury of all objects is divided into recovery levels; Weights are set for the time level, damage level and recovery level, and the sum of the time level of each object multiplied by the corresponding weight, the damage level multiplied by the corresponding weight and the recovery level multiplied by the corresponding weight is taken as the environmental tolerance of the object.
6. The smart home control method according to claim 5, characterized in that: The damage tolerance time of the object is the shortest time corresponding to the reversible level of the recovery level under the corresponding unsuitable environmental conditions.
7. The smart home control method according to any one of claims 1 to 6, characterized in that: The environmental conditions include at least one of temperature, humidity, light intensity, carbon dioxide concentration, and oxygen concentration.
8. The smart home control method according to claim 7, characterized in that: The light intensity is controlled by the following steps: First build the room model of the current venue; Get the projection position of at least one vertex of each window in the current site to the ground; Simulating the projection position in the room model, establishing a coordinate system with a vertex angle of the corresponding window as the origin, and calculating the illumination angle of sunlight passing through the corresponding window; Determine the illumination area of the room model through the corresponding window through the vertex of the corresponding window and its illumination angle; According to the position of the corresponding object, the curtains of the window are adjusted to adjust the light intensity of the corresponding object to the environmental conditions suitable for the corresponding object.
9. A smart home system, comprising a control module and a device with a detection device, characterized in that: The control module controls the device using the smart home control method as described in any one of claims 1 to 8.
10. The smart home system according to claim 9, characterized in that: The equipment includes at least one of an air conditioner, a humidifier, a fresh air system, an electric curtain, a sweeping robot, and a television.
Citation Information
Patent Citations
Intelligent household control system and method
CN106980266A
Control method for smart home system
CN113568317A
Intelligent control method and system used in intelligent home environment
CN114007310A
Intelligent household equipment linkage control method and device and nonvolatile storage medium
CN116088329A
Smart home control system and method
US20170208604A1
