Control method and control equipment of intelligent equipment
By using monitoring equipment and user portrait collection in public areas to determine the user's existence, and flexibly control air conditioning, lighting and fresh air equipment, the problem of inflexible control of smart devices in the prior art is solved, and resource conservation and equipment life extension are achieved.
Patent Information
- Application Number
- CN202411423532.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-02-18
AI Technical Summary
In public areas such as smart cities, smart parks, and smart hospitals, the control methods of smart devices are not flexible enough, resulting in waste of resources, reduced life span of smart devices and poor user experience.
By deploying monitoring devices and infrared detectors in the target area, or using pre-stored collections of user portraits, determine whether there is a user in the target area, and apply different control strategies to turn on or off the air conditioner, lighting and Fresh air equipment.
It realizes more flexible centralized control of smart devices, avoids waste of resources, extends the service life of smart devices, and improves user experience.
Smart Images

Figure CN119472345A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart devices, and in particular to a control method and a control device for a smart device. Background Art
[0002] In public areas such as smart cities, smart campuses, smart hospitals, and smart communities, many devices may need to be controlled, for example, opening or closing curtains, lights, or air conditioners in office buildings.
[0003] In related technologies, one method is that the last person to leave a certain area manually turns off the device, but in this case, the last person to leave is very likely to forget to turn it off, resulting in a waste of resources and a shortened lifespan of the smart device; another method is that property personnel conduct patrols within a specified time to turn off the device, but this does not rule out the possibility that some people are working overtime; or, the device is turned on or off at a scheduled time, but considering the situation of going to work early or working overtime, this method is also relatively limited and affects the user experience.
[0004] Therefore, there is an urgent need for a flexible control method for intelligent devices. Summary of the Invention
[0005] In an exemplary embodiment of the present application, a control method and a control device for a smart device are provided to improve the centralized control of the smart device for greater flexibility, avoid resource waste, and increase the lifespan of the smart device.
[0006] According to a first aspect of an exemplary embodiment, a method for controlling a smart device is provided, the method comprising:
[0007] Determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first-type smart device and at least one second-type smart device; the first-type smart device is an air conditioning device and / or a lighting device, and the second-type smart device is a fresh air device;
[0008] If a target user exists in the target area, a first control strategy is applied to control the first type of smart device, and a second control strategy is applied to control the second type of smart device; wherein the target user is any one of multiple users associated with the target area, and the first control strategy is to enable a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to enable a second type of smart device and / or adjust operating parameters of the second type of smart device;
[0009] If there is a user in the target area and the user is not the target user, or if there is no user in the target area, the first type of smart device and the second type of smart device are controlled to be turned off.
[0010] In an embodiment of the present application, for a target area of an indoor public area type, at least one air-conditioning device, lighting device and fresh air device is deployed in the target area. Each target area is associated with multiple users. When there is a target user among multiple users in the target area, it means that the target user has a need to use a smart device. At this time, a first number of air-conditioning devices and / or lighting devices can be turned on, and / or the operating parameters of a second number of air-conditioning devices and / or lighting devices can be adjusted. When there is a user in the target area but the user is not the target user, or there is no user in the target area, it means that there is no need to use the smart device at this time, and the air-conditioning devices, lighting devices and fresh air devices can be controlled to be turned off. Such intelligent and flexible control can not only save resources and increase the service life of smart devices, but also ensure user experience and save manpower.
[0011] In an optional embodiment, the method further includes:
[0012] Determine whether there is a user in the target area by using monitoring equipment and / or infrared detectors deployed in the target area; or
[0013] It is determined whether there is a user in the target area through a pre-stored user portrait set of the target area; wherein the user portrait set indicates the outing habit information of each user among a plurality of users associated with the target area.
[0014] In the above embodiment, in the process of determining whether there is a user in the target area, it can be implemented by using deployed monitoring equipment and / or infrared detectors, or it can be implemented through a pre-stored user portrait set, or it can be determined by combining the results of the two, thereby improving accuracy.
[0015] In an optional embodiment, the method further includes constructing a user portrait set of the target area in the following manner:
[0016] Get the out-of-office records of each user in the target area within the historical time range.
[0017] Generate user's outing habit information based on each user's outing record;
[0018] Determine the outing habit information corresponding to each user to form a user portrait set in the target area.
[0019] In the above embodiment, in the process of constructing the user portrait set, the outing habit information of each user is taken into consideration, thereby ensuring the accuracy of the constructed user portrait set.
[0020] In an optional embodiment, the method further includes:
[0021] Obtain access control information within a historical time range; access control information includes card swiping information and / or facial recognition information;
[0022] Generate each user's outgoing record based on access control information.
[0023] In the above embodiment, the user's outing record is generated through access control information, which further supplements the generation of the user's outing habits and further ensures the accuracy of the constructed user portrait set.
[0024] In an optional implementation, before applying the second control strategy to control the second type of smart device, the method further includes:
[0025] Make sure the following conditions are met:
[0026] A detection parameter of a first sensor satisfies a parameter threshold; wherein the first sensor is any one of a plurality of sensors, the plurality of sensors including a temperature sensor, a humidity sensor, and at least one environmental sensor, and the detection parameters of the environmental sensor include some or all of the concentration of volatile organic compounds, carbon dioxide, carbon monoxide, and inhalable particulate matter; or
[0027] The joint control value determined according to the dynamic analysis values corresponding to the respective detection parameters of the multiple sensors and the set weights is greater than the set threshold.
[0028] In the above embodiment, before controlling or adjusting the fresh air equipment, detection parameters such as temperature, humidity, and various concentrations can also be considered. Not only can the determination of whether each detection parameter meets the conditions be made individually, but the combined results of the detection parameters can also be considered to determine whether the conditions are met, further enhancing the intelligent control of the fresh air equipment.
[0029] In an optional embodiment, the method further includes calculating the joint control value in the following manner:
[0030] Get the detection parameters of each sensor;
[0031] For each sensor, determine the corresponding dynamic analysis value and weight according to the type and parameter value of the corresponding detection parameter;
[0032] The joint control value is calculated based on the dynamic analysis value and weight of each detection parameter.
[0033] In the above embodiment, when considering the comprehensive results of each monitoring parameter, the corresponding dynamic analysis value and weight are determined according to the type and parameter value of the detection parameters of different sensors, so as to ensure that the calculated joint control value is more accurate, and further ensure that the control and adjustment of the fresh air equipment is more accurate.
[0034] In an optional embodiment, after determining the target area, the method further includes:
[0035] If the current time is within the set time range, applying the third control strategy to adjust the first type of smart device;
[0036] Among them, the set time range is determined according to the commuting time and lunch break time of each user associated with the target area; the third control strategy is to turn on a third number of first-type smart devices and / or adjust the operating parameters of a fourth number of first-type smart devices.
[0037] In the above embodiment, a time control mode can also be set to ensure that when the first control strategy or the second control strategy fails due to a failure or detection error when detecting whether there is a target user in the target area, each smart device can still be effectively controlled intelligently without affecting the user experience.
[0038] In an optional embodiment, the method further includes:
[0039] If a communication failure is detected when applying the first control strategy to control the first type of smart device, the control command is stored;
[0040] If it is detected that the communication has returned to normal, the stored control command will be sent to the corresponding smart device to control the corresponding smart device; or, if it is determined that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command will be sent to the corresponding smart device to control the corresponding smart device.
[0041] In the above embodiment, the control command is stored when a communication failure occurs, so that the control command can be directly called when the communication is restored. One way is to directly reissue the control command to ensure the control of the smart device. Another way is to reissue the control command after determining that the control command has not been manually executed, thereby avoiding resource waste and extending the start-stop life of the smart device.
[0042] In an optional embodiment, if the target area is an outdoor area, it is determined that a third type of smart device is deployed in the outdoor area, and the third type of smart device includes a street lamp and / or a landscape lamp;
[0043] The method also includes:
[0044] If it is determined through access control information that all personnel have left, the third type of smart device is controlled to be turned off.
[0045] In the above embodiment, after it is determined that all people have left, the street lights and / or landscape lights are turned off to avoid wasting resources.
[0046] According to a second aspect of the exemplary embodiment, there is provided a control device including a processor and a memory, including:
[0047] Memory, configured to execute:
[0048] storing a first control strategy and a second control strategy;
[0049] A processor configured to execute:
[0050] Determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first-type smart device and at least one second-type smart device; the first-type smart device is an air conditioning device and / or a lighting device, and the second-type smart device is a fresh air device;
[0051] If a target user exists in the target area, a first control strategy is applied to control the first type of smart device, and a second control strategy is applied to control the second type of smart device; wherein the target user is any one of multiple users associated with the target area, and the first control strategy is to enable a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to enable a second type of smart device and / or adjust operating parameters of the second type of smart device;
[0052] If there is a user in the target area and the user is not the target user, or if there is no user in the target area, the first type of smart device and the second type of smart device are controlled to be turned off.
[0053] According to a third aspect of an exemplary embodiment, there is provided a control device for an intelligent device, comprising:
[0054] The determining unit is configured to: determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first-type smart device and at least one second-type smart device; the first-type smart device is an air conditioning device and / or a lighting device, and the second-type smart device is a fresh air device;
[0055] A control unit, configured to: if a target user exists in a target area, apply a first control strategy to control a first type of smart device, and apply a second control strategy to control a second type of smart device; wherein the target user is any one of a plurality of users associated with the target area, and the first control strategy is to enable a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to enable a second type of smart device and / or adjust operating parameters of the second type of smart device;
[0056] The control unit is further configured to: if there is a user in the target area and the user is not the target user, or if there is no user in the target area, control the first type of smart device and the second type of smart device to be turned off.
[0057] According to a fourth aspect of the exemplary implementation, a computer storage medium is provided, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the control method of the smart device according to the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0059] Figure 1 A schematic diagram exemplarily illustrates an application scenario of a control method for a smart device provided in an embodiment of the present application;
[0060] Figure 2 A flowchart of a method for controlling a smart device provided by an embodiment of the present application is exemplified;
[0061] Figure 3 The following is a flowchart of a method for constructing a user portrait set for a target area provided by an embodiment of the present application;
[0062] Figure 4 The following is a flowchart of a method for generating an outgoing record for each user provided in an embodiment of the present application;
[0063] Figure 5 A flowchart of a method for calculating a joint control value provided by an embodiment of the present application is exemplified;
[0064] Figure 6 The following is a flowchart illustrating a method for controlling an intelligent device in the event of a communication failure according to an embodiment of the present application.
[0065] Figure 7 A schematic diagram illustrating control command processing after a communication failure provided by an embodiment of the present application is exemplified;
[0066] Figure 8 A schematic diagram exemplarily illustrates a control process of a smart device provided by an embodiment of the present application;
[0067] Figure 9 The following is a schematic diagram showing the structure of a control device for an intelligent device provided in an embodiment of the present application;
[0068] Figure 10 The schematic diagram of the structure of a control device provided in an embodiment of the present application is exemplarily shown. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0070] With the rapid development of the national economy and the continuous improvement of people's living standards, people's requirements for home and work environments are becoming increasingly higher. They also demand hands-free operation, energy conservation, and increased equipment lifespan. Consequently, the application of many smart devices is becoming increasingly widespread. However, in current buildings such as industrial parks, R&D parks, office buildings, hospitals, and schools, human-machine interaction is often limited. Air conditioners must be manually turned on and off during get off work hours. Property management personnel frequently inspect floors to check for overtime, but they are unable to immediately shut down air conditioners when someone is working overtime. This results in increased energy waste and higher operating costs.
[0071] Specifically, in smart cities, smart parks, smart hospitals, and smart communities, there are many smart devices that require control, such as turning on curtains, lighting, air conditioning, and other equipment in office buildings. Manual switch operations cannot adjust to changes in environmental parameters such as temperature and light at any time. During work hours, lunch breaks, and after get off work, smart devices such as lighting and air conditioning in the building often need to be manually turned off, increasing the workload of property management personnel. In addition, if someone works overtime or leaves work late, property management personnel will remind them to turn off lights and air conditioning after get off work. However, if overtime workers work very late, their minds may not be clear at that time, and they often leave directly after get off work without turning off lights, air conditioning, and other related equipment. This leads to increased energy consumption, waste of resources, and reduced equipment life.
[0072] Given that the way equipment (such as curtains, lights, or air conditioners) in public areas such as smart cities, smart campuses, smart hospitals, and smart communities are opened or closed is inflexible, the embodiments of the present application provide a method for controlling smart devices. Different control strategies (turning on different numbers of different types of smart devices, or adjusting the parameters of the corresponding smart devices) are determined according to whether there are users or target users in the target area, so as to achieve more flexible centralized control of smart devices in public areas, avoid waste of resources, and improve the life of smart devices.
[0073] After introducing the design concepts of the embodiments of this application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of this application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of this application and are not limiting. In specific implementations, the technical solutions provided by the embodiments of this application can be flexibly applied according to actual needs.
[0074] refer to Figure 1 , a schematic diagram of an application scenario of a control method for intelligent devices is shown. Taking a park as an example, it includes multiple office buildings, and each office building includes multiple public areas. An indoor public area is taken as the research object, referred to as the target area. The target area can be an office, a conference room, a cafeteria, etc. Each target area is deployed with at least one intelligent device of the first type, and at least one intelligent device of the second type. The first type of intelligent device is an air-conditioning device and / or a lighting device, and the second type of intelligent device is a fresh air device. In addition, the lighting equipment in the outdoor area may include street lights and / or landscape lights, etc. In the embodiment of the present application, centralized control of intelligent devices in public areas is implemented, and the public areas include indoor public areas and outdoor public areas.
[0075] To further illustrate the technical solutions provided by the embodiments of the present application, the following is a detailed description of the technical solutions in conjunction with the accompanying drawings and specific implementation methods. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative work. In steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiments of the present application.
[0076] The following combination Figure 1 The application scenario shown, refer to Figure 2 A flowchart of a method for controlling an intelligent device is shown to illustrate the technical solution provided by an embodiment of the present application.
[0077] S201: Determine the target area.
[0078] S202: If the target user exists in the target area, apply the first control strategy to control the first type of smart device, and apply the second control strategy to control the second type of smart device.
[0079] S203: If there is a user in the target area and the user is not the target user, or if there is no user in the target area, control the first type of smart device and the second type of smart device to be turned off.
[0080] In an embodiment of the present application, for a target area of an indoor public area type, at least one air-conditioning device, lighting device and fresh air device is deployed in the target area. Each target area is associated with multiple users. When there is a target user among multiple users in the target area, it means that the target user has a need to use a smart device. At this time, a first number of air-conditioning devices and / or lighting devices can be turned on, and / or the operating parameters of a second number of air-conditioning devices and / or lighting devices can be adjusted. When there is a user in the target area but the user is not the target user, or there is no user in the target area, it means that there is no need to use the smart device at this time, and the air-conditioning devices, lighting devices and fresh air devices can be controlled to be turned off. Such intelligent and flexible control can not only save resources and increase the service life of smart devices, but also ensure user experience and save manpower.
[0081] Regarding S201, the target area may be an indoor public area, such as an office area in a park. At least one first-type smart device (e.g., air conditioning and / or lighting) and at least one second-type smart device (e.g., fresh air) are deployed in the target area. The smart devices may also be smart curtains, etc., but this is merely an example and does not constitute a specific limitation.
[0082] Each target area is associated with multiple users. For example, in an office area, the associated users are the people who work permanently in the target area (for example, if the office area has 20 workstations and all are occupied, then 20 users are associated). A target user is any one of the multiple users associated with the target area. The following describes the situation based on whether there are users in the target area or the target user classification.
[0083] The first case: the target user exists in the target area.
[0084] Regarding S202, in this case, it means that the target user is working in the target area and has not left work or gone out. At this time, the first control strategy can be applied to control the first type of smart devices, and the second control strategy can be applied to control the second type of smart devices.
[0085] The first control strategy involves activating a first number of smart devices of the first type and / or adjusting the operating parameters of a second number of smart devices of the first type. Alternatively, the number of air conditioning devices and indoor lighting devices to be activated, as well as their respective operating parameters, may be determined based on the number of target users in the target area. Examples of operating parameters include the set temperature and wind speed for air conditioning devices, and the light type for lighting devices.
[0086] The second control strategy is to enable the second type of smart device and / or adjust the operating parameters of the second type of smart device. Optionally, the fresh air device to be enabled and the operating parameters to be adjusted can be determined based on the number of target users in the target area. The operating parameters can be, for example, the value range of the fresh air device.
[0087] The second case: There are users in the target area but they are not the target users.
[0088] Regarding S203, in this case, it indicates that the existing user is a temporary user (for example, a person who comes to the target area from other areas for something temporary, or a person passing by). At this time, the air-conditioning equipment, indoor lighting equipment, and fresh air equipment can be controlled to be turned off.
[0089] Optionally, the embodiment of the present application further provides the following method to determine whether there is a user in the target area:
[0090] Method 1: Determine whether there is a user in the target area by deploying monitoring equipment and / or infrared detectors in the target area.
[0091] The monitoring device can be a camera, and the presence of a user in the target area can be determined using monitoring devices and / or infrared detectors deployed in the target area. Alternatively, this can be achieved using other human sensing devices. However, due to factors such as the location of the monitoring device or infrared detector, a user outside the target area but very close to the target area may be identified as a user in the target area. In this case, it is necessary to further determine whether the user is in the target area based on images from the monitoring device or infrared detector.
[0092] Method 2: Determine whether there are users in the target area through a pre-stored user portrait set of the target area.
[0093] The user profile set can be determined based on the outing habits of each user among multiple users associated with the target area. The control device pre-stores a user profile set for the target area. For example, the company stipulates that the break time is from 3:00 to 3:30 pm every day. Employees can choose to leave the office to rest. Zhang San is accustomed to going out for a break at this time, while Li Si is accustomed to staying in the office to work at this time. Therefore, it is possible to determine whether each user is a regular walker every day, or a regular walker on certain days of the week, by continuously collecting data. Alternatively, someone may finish lunch at 6 pm, return to their workstation at 7 pm to work overtime, and then leave work at 9 pm. Therefore, it is possible to determine whether there are users in the target area based on the user profile set of the target area. However, since user habits are not static, they can also be corrected in combination with other methods such as method 1.
[0094] It should be noted that, in order to improve accuracy, method 1 and method 2 may be combined to determine whether the target user exists.
[0095] In the above method 2, a pre-stored user portrait set is applied. In an optional embodiment, the user portrait set can be stored in a pre-stored user portrait set. Figure 3 The following steps are used to build a user profile set for the target area:
[0096] S301: Obtaining the out-of-office record of each user among multiple users associated with a target area within a historical time range.
[0097] The historical time range can be the past month, half a year, or a year. Figure 4 The outgoing records are obtained in the following way:
[0098] S301-1: Obtain access control information within a historical time range.
[0099] The access control information includes card swiping information and / or face swiping information, for example, the card swiping time and / or face swiping time and the number of times the card or face is swiped every day.
[0100] S301-2: Generate an outgoing record for each user based on the access control information.
[0101] The user's outing records such as working hours, off-duty hours, and outing time can be determined based on the user's card swiping information and / or face swiping information in the past period of time.
[0102] S302: Generate user's going-out habit information based on each user's going-out record.
[0103] The out-of-work habit information may include the time range for the user to go to work, the time range for the user to get off work, whether the user goes out during the work, and the time range for going out.
[0104] S303: Determine that the outing habit information corresponding to each user constitutes a user portrait set of the target area.
[0105] Among them, the user portrait collection stores the going-out habits of each user.
[0106] In the embodiment of the present application, the process of constructing a user portrait set can be achieved by collecting a large amount of data, through machine learning, and optimizing the user portrait set by continuously collecting data.
[0107] Since the second control strategy is to control the second type of smart device, which may be a fresh air device, environmental parameters such as temperature, humidity, and carbon dioxide may affect the opening and closing of the fresh air device. Therefore, before the second control strategy is executed, one of the following conditions may also be met:
[0108] Condition 1: The detection parameter of the first sensor meets the parameter threshold.
[0109] Among them, the first sensor is any one of a plurality of sensors, the plurality of sensors include a temperature sensor, a humidity sensor and at least one environmental sensor, and the detection parameters of the environmental sensor include part or all of the concentration of volatile organic compounds (VOC), the concentration of carbon dioxide (CO2), the concentration of carbon monoxide (CO), inhalable particulate matter (PM1.0) and inhalable particulate matter (PM2.5).
[0110] The following examples illustrate:
[0111] (1) Outdoor temperature (T)
[0112] The outdoor temperature is obtained from the installed outdoor temperature sensor. If the outdoor temperature is 30 degrees (the temperature parameter threshold), the indoor fresh air is turned on, the indoor air conditioning is turned on, and the temperature is adjusted to 26 degrees. When the outdoor temperature is 40 degrees, the indoor temperature is set to 23 degrees. In the actual temperature measurement process, a temperature sensor can be installed on the roof and the ground floor of the building to measure and take the average value to obtain the outdoor temperature.
[0113] (2) PM1.0 (P1)
[0114] The concentration of PM1.0 in the room is detected by environmental sensors. If it is less than 30μg / m3, no treatment is required. If it is greater than 40μg / m3 (the parameter threshold of PM1.0), the fresh air equipment needs to be turned on.
[0115] (3) PM2.5 (P2)
[0116] The indoor PM2.5 concentration is detected by environmental sensors. When it is greater than 75μg (PM2.5 parameter threshold), the fresh air equipment is controlled to start, and when it is less than 35μg, the fresh air equipment is turned off.
[0117] (4) VOC (V)
[0118] Environmental sensors detect indoor VOC concentrations. When the concentration exceeds 450 PPM (the VOC threshold), the fresh air system is activated. When it falls below 350 PPM, the fresh air system is shut down. In actual measurement, the results collected by a person standing at least 1.5 meters tall can be used as the basis.
[0119] (5)CO2(C)
[0120] The indoor CO2 concentration is detected by the environmental sensor. When it is greater than 1000PPM (the parameter threshold of CO2), the fresh air equipment is controlled to start. When it is less than 650PPM, the fresh air equipment is turned off.
[0121] (6) Indoor temperature (T1)
[0122] The indoor temperature is obtained through the indoor temperature sensor. There is a corresponding relationship between the indoor temperature and the outdoor temperature. There is also a corresponding relationship between the indoor temperature and the air conditioner setting temperature and the fresh air switch status. When the indoor temperature is 28 degrees, the air conditioner temperature is set to 26. When the outdoor temperature is 30 degrees, the air conditioner temperature is set to 24 degrees.
[0123] (7) Indoor humidity (H)
[0124] The indoor humidity is obtained through the indoor humidity sensor. When the indoor humidity is greater than 60% (the parameter threshold of humidity), the fresh air device is turned on and the air conditioner is turned on in dehumidification mode. When the indoor humidity is less than 30%, the fresh air device and air conditioner are turned off.
[0125] It should be noted that the thresholds of various parameters can be optimized in real time to ensure the normal start and stop of the corresponding smart devices, improve the experience, reduce energy consumption, reduce enterprise costs, increase equipment service life, and improve the intelligence level of the enterprise.
[0126] Condition 2: The joint control value determined based on the dynamic analysis values corresponding to the detection parameters of the multiple sensors and the set weights is greater than the set threshold.
[0127] The set threshold may be 70%.
[0128] Optional, Figure 5 A flow chart showing a method for calculating a joint control value is shown:
[0129] S501: Acquire detection parameters of each sensor.
[0130] For example, the detection parameter of the indoor temperature sensor is the indoor temperature, the detection parameter of the outdoor sensor is the outdoor temperature, and the humidity sensor is usually installed indoors, and its detection parameter is the indoor humidity; the detection parameters of the environmental sensor include the concentration of volatile organic compounds, the concentration of carbon dioxide, the concentration of carbon monoxide, part or all of the inhalable particulate matter PM1.0 and the inhalable particulate matter PM2.5.
[0131] S502: For each sensor, determine a corresponding dynamic analysis value and weight according to the type and parameter value of the corresponding detection parameter.
[0132] The dynamic analysis value and weight are both related to the type and value of the corresponding detection parameter and can be pre-set. In addition, each parameter threshold in condition 1, as well as the dynamic analysis value and weight in condition 2, can be determined by a linear regression algorithm or machine self-learning adjustment.
[0133] S503: Calculate the joint control value according to the dynamic analysis value and weight of each detection parameter.
[0134] Next, examples are given to illustrate the dynamic analysis values and weights of various detection parameters.
[0135] (1) Outdoor temperature (T)
[0136] When the outdoor temperature is 30 degrees, the dynamic analysis value is 90%, the air conditioner is set to 26 degrees, and the fresh air equipment is turned on. The range is 10% to 20%, and the weight W1 is 15%.
[0137] (2) Indoor temperature (T1)
[0138] When the indoor temperature is 28 degrees, the dynamic analysis value is 100%, the air conditioner is set to 26 degrees, and the fresh air equipment is turned on. The value range is 15% to 25%, and the weight W2 is 20%.
[0139] (3) VOC (V)
[0140] When the VOC concentration is 450PPM, the dynamic analysis value is 80%, the fresh air equipment is turned on, the value range is 10% to 20%, and the weight W3 is 10%.
[0141] (4) PM1.0 (P1)
[0142] When the concentration of PM1.0 is 40μg / m3, the dynamic analysis value is 70%, the fresh air equipment is turned on, the value range is 10% to 20%, and the weight W4 is 10%.
[0143] (5) PM2.5 (P2)
[0144] When the concentration of PM2.5 is 75μg / m3, the dynamic analysis value is 85%. When the fresh air equipment is turned on, the value range is 10% to 20%, and the weight W5 is 15%.
[0145] (6)CO2(C)
[0146] When the concentration of CO2 is 1000PPM, the dynamic analysis value is 95%, the fresh air equipment is turned on, the value range is 10% to 20%, and the weight W6 is 15%.
[0147] (7) Indoor humidity (H)
[0148] When the indoor humidity is greater than 60%, the dynamic analysis value is 90%, the fresh air equipment and air conditioning are turned on, the air conditioning mode is set to dehumidification, the value range of the fresh air equipment is 10% to 20%, and the weight W7 is 15%.
[0149] Optionally, the formula for calculating the joint control value is as follows:
[0150]
[0151] Substituting the values from the above example into this formula, we can determine:
[0152]
[0153] In this example, the joint control value is 79%, which is greater than the set threshold (for example, 75%). This confirms that condition 2 is met, and the air conditioning and fresh air equipment can be started and stopped based on the environmental parameter values. The above parameter values are only examples. In actual applications, real-time conditions can be adjusted to achieve better comfort and energy savings.
[0154] In addition, there are the following special cases: when T cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when T1 cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when V cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when P1 cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when P2 cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when C cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment; when H cannot be set, it can be set to 0, that is, the remaining 6 parameters are used as the detection parameters of the environment for weighted calculation and judgment. In other words, when any one of them is 0, the current value is discarded, and the remaining values are used as the detection parameters of the environment for weighted calculation and judgment to calculate the joint control value.
[0155] In addition, there are also cases of communication failure, which may cause the control command to fail. Next, take the control process of the first control strategy as an example, see Figure 6 , explain how to handle communication failures:
[0156] S601: If a communication failure is detected when applying a first control strategy to control a first type of smart device, the control command is stored.
[0157] Among them, the communication failure may be caused by power outage, network failure, network maintenance, etc. At this time, the control command (for example, raising all air conditioners in the target area by 2 degrees) can be stored first so that it can be recalled when communication is restored.
[0158] Alternatively, control commands can be stored using a Message Queue (MQ) cache, Redis, MySQL, Kafka, or other storage tools. In a specific example, Guava Cache + Redis can be used. First, the Guava Cache is queried, and a hit is returned. Otherwise, Redis is queried. This cache is an open-source Java toolkit from Google. The caching mechanism is Guava local cache, which supports distributed deployment.
[0159] S602: If it is detected that the communication has returned to normal, the stored control command is sent to the corresponding smart device to control the corresponding smart device; or, if it is determined that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command is sent to the corresponding smart device to control the corresponding smart device.
[0160] Specifically, if communication is detected to be restored to normal, the policy information can be obtained through the MQ cache and the corresponding scheduled tasks can be updated to correct the problem of control command failure during network failure. When reissuing control commands, there are several situations:
[0161] Case A: directly send the stored control command to the corresponding smart device to control the corresponding smart device.
[0162] In this case, the control command can be directly sent to the corresponding smart device for control. If the smart device has been manually operated to execute the control command, it will no longer respond to the control command, extending the life of the smart device. If the smart device has not been manually operated to execute the control command, the control command can be executed to control the smart device.
[0163] Case B: After determining that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command is sent to the corresponding smart device to control the corresponding smart device.
[0164] To avoid repeated issuance of control commands, it is possible to first determine whether the smart device has executed the control command before issuing the control command. Optionally, the method of determining whether the smart device corresponding to the control command has executed the control command includes:
[0165] Method B1: Directly detect the smart device to determine whether the smart device has executed the operation corresponding to the control command.
[0166] For example, if the control command is to increase the air-conditioning temperature by 2 degrees, it is possible to directly detect whether the air-conditioning temperature has been increased by 2 degrees to determine whether the control command has been executed.
[0167] Method B2: Send an inquiry message to the target person, and determine whether the smart device has executed the operation corresponding to the control command based on the feedback from the target person.
[0168] For example, inquiry information (such as whether manual adjustment has been made) is sent to the target person (administrator or user in the target area) through APP message, mini program, official account, SMS or phone call, and then it is determined based on the feedback from the target person that the smart device has executed the operation corresponding to the control command.
[0169] Figure 7 A schematic diagram of control command processing after a communication failure provided by an embodiment of the present application. Figure 7 As can be seen, the embodiments of the present application can resolve the issue of control command issuance failures due to communication failures during the issuance process. Unexecuted and pending control commands are cached and issued collectively after communication is restored. Therefore, when a communication failure occurs, the normal working experience is not affected. Instead, it frees up hands, improves the level of intelligence, saves energy, and increases the service life of the device.
[0170] After the target area is determined, control can also be performed according to the time control mode. For example, if the current time is within the set time range, the third control strategy is applied to adjust the first type of smart device.
[0171] Among them, the set time range is determined according to the commuting time and lunch break time of each user associated with the target area; the third control strategy is to turn on a third number of first-type smart devices and / or adjust the operating parameters of a fourth number of first-type smart devices.
[0172] Among them, the set time range can be half an hour before work (for example, 7:30), lunch break (for example, 12:00-13:00), and half an hour before leaving get off work (for example, 17:00). The corresponding third control strategy is to turn on half of the air conditioners and lighting equipment half an hour before work, and turn on the remaining half of the air conditioners and lighting equipment after work officially starts; during lunch break, adjust the air conditioner to low wind, increase the temperature by 2 degrees, and turn off the lighting equipment; half an hour before leaving get off work, turn off half of the air conditioners, and turn off the remaining half of the air conditioners and lighting equipment after leaving get off work. In addition, the set time range can also include 1 a.m., and after determining that there is no one in the company, turn off all lighting equipment and air conditioners.
[0173] In the embodiment of the present application, the application of the time control mode can automatically manage the working, lunch break, and off-duty modes while taking into account special circumstances during the working process and the off-duty process.
[0174] It should be noted that the time control mode can serve as a basic guarantee. For example, when monitoring equipment or infrared detectors are abnormal, air-conditioning equipment and lighting equipment can also be controlled according to this mode.
[0175] The above embodiments all focus on centralized control of smart devices in indoor areas. If the target area is an outdoor area, a third type of smart device is determined to be deployed in the outdoor area. The third type of smart device is an outdoor lighting device (street lights and / or landscape lights). In this case, if it is determined through access control information that all personnel have left, the third type of smart device is controlled to shut down.
[0176] Figure 8 A schematic diagram of a control process of a smart device provided in an embodiment of the present application. Figure 8 The operations in the figure are only for illustration and do not constitute a specific limitation.
[0177] This embodiment of the application, based on the time control mode, combines access control information, monitoring equipment, and infrared detector information to determine whether there are people (differentiating between working mode, lunch break mode, and off-duty mode processing logic). Multiple conditions are adaptively combined to achieve precise power on and off, saving resources and improving comfort. Through environmental sensors, intelligent devices can be linked to switch on and off, further improving comfort and being more intelligent.
[0178] like Figure 9 As shown, based on the same inventive concept, an embodiment of the present application provides a control device for a smart device, including a determination unit 91 and a control unit 92.
[0179] The determining unit 91 is configured to determine a target area, wherein the target area is an indoor public area, and the target area is deployed with at least one first-type smart device and at least one second-type smart device; the first-type smart device is an air conditioning device and / or a lighting device, and the second-type smart device is a fresh air device;
[0180] The control unit 92 is configured to: if a target user exists in the target area, apply a first control strategy to control the first type of smart device, and apply a second control strategy to control the second type of smart device; wherein the target user is any one of a plurality of users associated with the target area, and the first control strategy is to enable a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to enable a second type of smart device and / or adjust operating parameters of the second type of smart device;
[0181] The control unit 92 is further configured to: if there is a user in the target area and the user is not the target user, or if there is no user in the target area, control the first type of smart device and the second type of smart device to be turned off.
[0182] In an optional embodiment, the control unit 92 is further configured to execute:
[0183] Determine whether there is a user in the target area by using monitoring equipment and / or infrared detectors deployed in the target area; or
[0184] It is determined whether there is a user in the target area through a pre-stored user portrait set of the target area; wherein the user portrait set indicates the outing habit information of each user among a plurality of users associated with the target area.
[0185] In an optional embodiment, the control unit 92 is further configured to construct a user portrait set of the target area in the following manner:
[0186] Get the out-of-office records of each user in the target area within the historical time range.
[0187] Generate user's outing habit information based on each user's outing record;
[0188] Determine the outing habit information corresponding to each user to form a user portrait set in the target area.
[0189] In an optional embodiment, the control unit 92 is further configured to execute:
[0190] Obtain access control information within a historical time range; access control information includes card swiping information and / or facial recognition information;
[0191] Generate each user's outgoing record based on access control information.
[0192] In an optional embodiment, before applying the second control strategy to control the second type of smart device, the control unit 92 is further configured to execute:
[0193] Make sure that any of the following conditions are met:
[0194] A detection parameter of a first sensor satisfies a parameter threshold; wherein the first sensor is any one of a plurality of sensors, the plurality of sensors including a temperature sensor, a humidity sensor, and at least one environmental sensor, and the detection parameters of the environmental sensor include part or all of the concentration of volatile organic compounds, the concentration of carbon dioxide, the concentration of carbon monoxide, and the concentration of inhalable particulate matter; or
[0195] The joint control value determined according to the dynamic analysis values corresponding to the respective detection parameters of the multiple sensors and the set weights is greater than the set threshold.
[0196] In an optional embodiment, the control unit 92 is further configured to calculate the joint control value in the following manner:
[0197] Get the detection parameters of each sensor;
[0198] For each sensor, determine the corresponding dynamic analysis value and weight according to the type and parameter value of the corresponding detection parameter;
[0199] The joint control value is calculated based on the dynamic analysis value and weight of each detection parameter.
[0200] In an optional embodiment, after determining the target area, the control unit 92 is further configured to execute:
[0201] If the current time is within the set time range, applying the third control strategy to adjust the first type of smart device;
[0202] Among them, the set time range is determined according to the commuting time and lunch break time of each user associated with the target area; the third control strategy is to turn on a third number of first-type smart devices and / or adjust the operating parameters of a fourth number of first-type smart devices.
[0203] In an optional embodiment, the control unit 92 is further configured to execute:
[0204] If a communication failure is detected when applying the first control strategy to control the first type of smart device, the control command is stored;
[0205] If it is detected that the communication has returned to normal, the stored control command will be sent to the corresponding smart device to control the corresponding smart device; or, if it is determined that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command will be sent to the corresponding smart device to control the corresponding smart device.
[0206] In an optional implementation, if the target area is an outdoor area, it is determined that a third type of smart device is deployed in the outdoor area, and the third type of smart device is an outdoor lighting device;
[0207] The control unit 92 is further configured to perform:
[0208] If it is determined through access control information that all personnel have left, the third type of smart device is controlled to be turned off.
[0209] Since the device is the device in the method in the embodiment of the present application, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0210] like Figure 10As shown, based on the same inventive concept, an embodiment of the present application provides a control device, including a processor 101 and a memory 102, including:
[0211] The memory 102 is configured to execute:
[0212] storing a first control strategy and a second control strategy;
[0213] The processor 101 is configured to execute:
[0214] Determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first-type smart device and at least one second-type smart device; the first-type smart device is an air conditioning device and / or a lighting device, and the second-type smart device is a fresh air device;
[0215] If a target user exists in the target area, a first control strategy is applied to control the first type of smart device, and a second control strategy is applied to control the second type of smart device; wherein the target user is any one of multiple users associated with the target area, and the first control strategy is to enable a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to enable a second type of smart device and / or adjust operating parameters of the second type of smart device;
[0216] If there is a user in the target area and the user is not the target user, or if there is no user in the target area, the first type of smart device and the second type of smart device are controlled to be turned off.
[0217] In an optional embodiment, the processor 101 is further configured to execute:
[0218] Determine whether there is a user in the target area by using monitoring equipment and / or infrared detectors deployed in the target area; or
[0219] It is determined whether there is a user in the target area through a pre-stored user portrait set of the target area; wherein the user portrait set indicates the outing habit information of each user among a plurality of users associated with the target area.
[0220] In an optional implementation, the processor 101 is further configured to construct a user portrait set of the target area in the following manner:
[0221] Get the out-of-office records of each user in the target area within the historical time range.
[0222] Generate user's outing habit information based on each user's outing record;
[0223] Determine the outing habit information corresponding to each user to form a user portrait set in the target area.
[0224] In an optional embodiment, the processor 101 is further configured to execute:
[0225] Obtain access control information within a historical time range; access control information includes card swiping information and / or facial recognition information;
[0226] Generate each user's outgoing record based on access control information.
[0227] In an optional implementation, before applying the second control strategy to control the second type of smart device, the processor 101 is further configured to execute:
[0228] Make sure that any of the following conditions are met:
[0229] A detection parameter of a first sensor satisfies a parameter threshold; wherein the first sensor is any one of a plurality of sensors, the plurality of sensors including a temperature sensor, a humidity sensor, and at least one environmental sensor, and the detection parameters of the environmental sensor include some or all of the concentration of volatile organic compounds, carbon dioxide, carbon monoxide, and inhalable particulate matter; or
[0230] The joint control value determined according to the dynamic analysis values corresponding to the respective detection parameters of the multiple sensors and the set weights is greater than the set threshold.
[0231] In an optional implementation, the processor 101 is further configured to calculate the joint control value in the following manner:
[0232] Get the detection parameters of each sensor;
[0233] For each sensor, determine the corresponding dynamic analysis value and weight according to the type and parameter value of the corresponding detection parameter;
[0234] The joint control value is calculated based on the dynamic analysis value and weight of each detection parameter.
[0235] In an optional embodiment, after determining the target area, the processor 101 is further configured to execute:
[0236] If the current time is within the set time range, applying the third control strategy to adjust the first type of smart device;
[0237] Among them, the set time range is determined according to the commuting time and lunch break time of each user associated with the target area; the third control strategy is to turn on a third number of first-type smart devices and / or adjust the operating parameters of a fourth number of first-type smart devices.
[0238] In an optional embodiment, the processor 101 is further configured to execute:
[0239] If a communication failure is detected when applying the first control strategy to control the first type of smart device, the control command is stored;
[0240] If it is detected that the communication has returned to normal, the stored control command will be sent to the corresponding smart device to control the corresponding smart device; or, if it is determined that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command will be sent to the corresponding smart device to control the corresponding smart device.
[0241] In an optional implementation, if the target area is an outdoor area, it is determined that a third type of smart device is deployed in the outdoor area, and the third type of smart device is an outdoor lighting device;
[0242] The processor 101 is further configured to execute:
[0243] If it is determined through access control information that all personnel have left, the third type of smart device is controlled to be turned off.
[0244] An embodiment of the present application further provides a computer storage medium, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the steps of the above-mentioned method for controlling a smart device.
[0245] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0246] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0247] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0248] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0249] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.
Claims
1. A control method for an intelligent device, characterized in that: include: Determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first type of smart device and at least one second type of smart device; the first type of smart device is an air conditioning device and / or an indoor lighting device, and the second type of smart device is a fresh air device; If there is a target user in the target area, a first control strategy is applied to control the first type of smart device, and a second control strategy is applied to control the second type of smart device; wherein the target user is any one of a plurality of users associated with the target area, and the first control strategy is to turn on a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to turn on the second type of smart device / or adjust operating parameters of the second type of smart device; If there is a user in the target area and the user is not the target user, or if there is no user in the target area, the first type of smart device and the second type of smart device are controlled to be turned off.
2. The method according to claim 1, characterized in that The method further comprises: Determine whether there is a user in the target area by using monitoring equipment and / or infrared detectors deployed in the target area; or It is determined whether there are users in the target area through a pre-stored user portrait set of the target area; wherein the user portrait set indicates the outing habit information of each user among a plurality of users associated with the target area.
3. The method according to claim 2, characterized in that The method further includes constructing a user portrait set of the target area in the following manner: Obtaining the out-of-office record of each user among multiple users associated with the target area within a historical time range; Generate the user's outing habit information based on each user's outing record; Determine that the outing habit information corresponding to each user constitutes a user portrait set of the target area.
4. The method according to claim 3, characterized in that The method further comprises: Obtaining access control information within the historical time range; wherein the access control information includes card swiping information and / or face swiping information; Generate an out-of-office record for each user according to the access control information.
5. The method according to claim 1, characterized in that Before applying the second control strategy to control the second type of smart device, the method further includes: Make sure that any of the following conditions are met: The detection parameter of the first sensor satisfies the parameter threshold; wherein the first sensor is any one of a plurality of sensors, the plurality of sensors including a temperature sensor, a humidity sensor and at least one environmental sensor, and the detection parameter of the environmental sensor includes part or all of the concentration of volatile organic compounds, the concentration of carbon dioxide, the concentration of carbon monoxide, and the concentration of inhalable particulate matter; or The joint control value determined according to the dynamic analysis values corresponding to the respective detection parameters of the multiple sensors and the set weights is greater than the set threshold.
6. The method according to claim 5, characterized in that The method further comprises calculating the joint control value in the following manner: Get the detection parameters of each sensor; For each sensor, determine the corresponding dynamic analysis value and weight according to the type and parameter value of the corresponding detection parameter; The joint control value is calculated according to the dynamic analysis value and weight of each detection parameter.
7. The method according to claim 1, characterized in that After determining the target area, the method further includes: If the current time is within the set time range, applying a third control strategy to adjust the first type of smart device; Among them, the set time range is determined according to the commuting time and lunch break time of each user associated with the target area; the third control strategy is to turn on a third number of smart devices of the first type and / or adjust the operating parameters of a fourth number of smart devices of the first type.
8. The method according to claim 1, characterized in that The method further comprises: If a communication failure is detected when applying the first control strategy to control the first type of smart device, the control command is stored; If it is detected that the communication has returned to normal, the stored control command is sent to the corresponding smart device to control the corresponding smart device; or, if it is determined that the smart device corresponding to the control command has not performed the operation corresponding to the control command, the stored control command is sent to the corresponding smart device to control the corresponding smart device.
9. The method according to any one of claims 1 to 8, characterized in that: If the target area is an outdoor area, determining that a third type of smart device is deployed in the outdoor area, and the third type of smart device is an outdoor lighting device; The method further comprises: If it is determined through access control information that all personnel have left, the third type of smart device is controlled to be turned off.
10. A control device, characterized in that: Includes processor and memory, including: The memory is configured to execute: storing a first control strategy and a second control strategy; The processor is configured to execute: Determine a target area; wherein the target area is an indoor public area, and the target area is deployed with at least one first type of smart device and at least one second type of smart device; the first type of smart device is an air conditioning device and / or a lighting device, and the second type of smart device is a fresh air device; If there is a target user in the target area, a first control strategy is applied to control the first type of smart device, and a second control strategy is applied to control the second type of smart device; wherein the target user is any one of a plurality of users associated with the target area, and the first control strategy is to turn on a first number of the first type of smart devices and / or adjust operating parameters of a second number of the first type of smart devices; and the second control strategy is to turn on the second type of smart device / or adjust operating parameters of the second type of smart device; If there is a user in the target area and the user is not the target user, or if there is no user in the target area, the first type of smart device and the second type of smart device are controlled to be turned off.