Environmental state adjustment method, device, system and electronic equipment

By realizing catch-up and convergent adjustment of environmental data in intelligent equipment, the problem of singularity of existing equipment in environmental parameter control is solved, and a stable and comfortable living environment is provided.

CN115685773BActive Publication Date: 2025-05-02SHENZHEN LUMIUNITED TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211110281.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2025-05-02
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

The existing intelligent equipment is relatively single in environmental parameter control and cannot provide a stable and comfortable living environment.

Method used

By obtaining the current environmental data of the target space, if the data does not meet the environmental threshold, the initial adjustment amplitude is used to catch up until the data meets the threshold. If the data exceeds the threshold, the adjustment amplitude is updated and the convergence adjustment is performed until the stable state is reached.

Benefits of technology

It realizes stable adjustment of environmental data, meets the user's comfort requirements, avoids sudden changes in the environment, and provides a more stable and comfortable living environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685773B_ABST
    Figure CN115685773B_ABST
Patent Text Reader

Abstract

The present application relates to an environmental state adjustment method, device, system and electronic device. The environmental state adjustment method includes: obtaining the current environmental data of the target space; if the current environmental data does not meet the environmental threshold, then according to the initial adjustment range, the target device is adjusted to catch up with the environmental data of the target space based on the environmental threshold; if the current environmental data after adjustment exceeds the environmental threshold, the last adjustment range is updated, and the target device is convergently adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold. The environmental data of the target space is gradually adjusted by catch-up adjustment and convergent adjustment, which can not only keep the environmental data of the target space in a stable state to meet the user's comfort requirements, but also avoid the occurrence of sudden changes in the environment during adjustment, which will cause stimulation to the user, and provide the user with a more stable and comfortable living environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to an environmental state adjustment method, device, system and electronic device. Background Art

[0002] With the rapid development of electronic technology, more and more intelligent devices are applied to people's lives, providing more convenience for people's lives. For example, the application of smart home provides people with a more comfortable living environment. However, the control of environmental parameters by existing intelligent devices is often relatively simple, and cannot provide people with a more stable and comfortable living environment. Summary of the invention

[0003] Based on this, it is necessary to provide an environmental state adjustment method, device, system and electronic device that can provide users with a more stable and comfortable living environment in response to the above technical problems.

[0004] To achieve the above objectives, this application adopts the following technical solutions:

[0005] The first aspect of the present application provides an environmental state adjustment method, comprising:

[0006] Get the current environment data of the target space;

[0007] If the current environmental data does not meet the environmental threshold, then performing catch-up adjustment on the target device according to the initial adjustment amplitude, so as to adjust the environmental data of the target space based on the environmental threshold;

[0008] If the adjusted current environmental data exceeds the environmental threshold, the last adjustment range is updated, and the target device is converged and adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold.

[0009] Optionally, the performing catch-up adjustment on the target device according to the initial adjustment amplitude includes:

[0010] According to the initial adjustment range corresponding to the target device, the environmental data of the target device is controlled to be adjusted according to a first trend; the first trend is a direction determined according to the current environmental data and the environmental threshold.

[0011] Optionally, the performing convergence adjustment on the target device according to the updated adjustment amplitude includes:

[0012] Determining a second trend according to the current environmental data after the last adjustment and the environmental threshold;

[0013] According to the updated adjustment range, the environment data of the target device is controlled to be adjusted according to the second trend.

[0014] Optionally, the target device includes a first device and a second device; and the catching-up adjustment of the target device according to the initial adjustment amplitude includes:

[0015] Performing catch-up adjustment on the first device according to the initial adjustment amplitude corresponding to the first device;

[0016] If the adjustment of the environmental data by the first device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, the second device is adjusted according to the initial adjustment amplitude corresponding to the second device;

[0017] If the adjusted current environment data exceeds the environment threshold, the last adjustment range is updated, and convergence adjustment is performed on the target device according to the updated adjustment range, including:

[0018] If the adjusted current environmental data exceeds the environmental threshold, the last adjustment amplitude corresponding to the second device is updated, and the second device is converged and adjusted according to the updated adjustment amplitude.

[0019] Optionally, the target device includes a first device and a second device; and the catching-up adjustment of the target device according to the initial adjustment amplitude includes:

[0020] If the current time is in the first time period and the second device is in the target state, the second device is adjusted according to the initial adjustment amplitude corresponding to the second device;

[0021] If the adjustment of the environmental data by the second device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, the first device is adjusted according to the initial adjustment amplitude corresponding to the first device.

[0022] Optionally, the target device includes a plurality of first devices; and the catching-up adjustment of the target device according to the initial adjustment amplitude includes:

[0023] If the current time is in the second time period, then according to the initial adjustment amplitude, a catch-up adjustment is performed on the first device closest to the target spatial position;

[0024] The method further comprises:

[0025] If the adjustment of the environmental data by the current first device reaches the adjustment threshold, and the adjusted current environmental data does not reach the environmental threshold, catch-up adjustment is performed on other first devices except the current first device based on the target spatial position.

[0026] Optionally, the target device includes a first device and a second device; and the method further includes:

[0027] If the current environmental data is greater than the environmental threshold and the first device is in an on state, the first device is adjusted according to the initial adjustment amplitude corresponding to the first device.

[0028] Optionally, the environmental data includes lighting data; the first device includes a lighting device, and the second device includes a shading device.

[0029] A second aspect of the present application provides an environmental state adjustment device, comprising:

[0030] The acquisition module is used to obtain the current environment data of the target space;

[0031] A catch-up adjustment module, configured to perform catch-up adjustment on the target device according to an initial adjustment range if the current environmental data does not meet the environmental threshold, so as to adjust the environmental data of the target space based on the environmental threshold;

[0032] The convergence adjustment module is used to update the last adjustment range if the adjusted current environmental data exceeds the environmental threshold, and to perform convergence adjustment on the target device according to the updated adjustment range until the current environmental data meets the environmental threshold.

[0033] Optionally, when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module is specifically used to: control the environmental data of the target device to be adjusted according to a first trend according to the initial adjustment amplitude corresponding to the target device; the first trend is a direction determined according to the current environmental data and the environmental threshold.

[0034] Optionally, when the target device is converged and adjusted according to the updated adjustment amplitude, the convergence adjustment module is specifically used to: determine a second trend based on the current environmental data after the last adjustment and the environmental threshold; and control the environmental data of the target device to be adjusted according to the second trend according to the updated adjustment amplitude.

[0035] Optionally, the target device includes a first device and a second device; when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module is specifically used to: perform catch-up adjustment on the first device according to the initial adjustment amplitude corresponding to the first device; if the adjustment of the environmental data by the first device reaches an adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then perform catch-up adjustment on the second device according to the initial adjustment amplitude corresponding to the second device;

[0036] When the last adjustment amplitude is updated if the current environmental data after adjustment exceeds the environmental threshold, and the target device is converged and adjusted according to the updated adjustment amplitude, the convergence adjustment module is specifically used for: if the current environmental data after adjustment exceeds the environmental threshold, the last adjustment amplitude corresponding to the second device is updated, and the second device is converged and adjusted according to the updated adjustment amplitude.

[0037] Optionally, the target device includes a first device and a second device; when the target device is catch-up adjusted according to the initial adjustment amplitude, the catch-up adjustment module is specifically used to: if the current time is in the first time period and the second device is in the target state, then catch-up adjustment is performed on the second device according to the initial adjustment amplitude corresponding to the second device; if the adjustment of the environmental data by the second device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then catch-up adjustment is performed on the first device according to the initial adjustment amplitude corresponding to the first device.

[0038] Optionally, the target device includes multiple first devices; when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module is specifically used to: if the current time is in the second time period, then according to the initial adjustment amplitude, perform catch-up adjustment on the first device closest to the target spatial position; the catch-up adjustment module is also used to: if the current first device's adjustment of the environmental data reaches an adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then perform catch-up adjustment on other first devices except the current first device based on the target spatial position.

[0039] Optionally, the target device includes a first device and a second device; the catch-up adjustment module is specifically used to: if the current environmental data is greater than the environmental threshold and the first device is in an on state, then catch-up adjustment is performed on the first device according to the initial adjustment amplitude corresponding to the first device.

[0040] Optionally, the environmental data includes lighting data; the first device includes a lighting device, and the second device includes a shading device.

[0041] A third aspect of the present application provides an environment state adjustment system, including: a target device and a control device;

[0042] The control device is used to obtain current environmental data of the target space; if the current environmental data does not meet the environmental threshold, the target device is adjusted according to the initial adjustment range to adjust the environmental data of the target space based on the environmental threshold; if the adjusted current environmental data exceeds the environmental threshold, the last adjustment range is updated, and the target device is convergently adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold;

[0043] The target device is used to obtain the adjustment instruction sent by the control device, and adjust the environmental state of the target space according to the adjustment range in the adjustment instruction.

[0044] A fourth aspect of the present application provides an electronic device, including:

[0045] A processor, and a memory connected to the processor;

[0046] The memory is used to store computer programs;

[0047] The processor is used to call and execute the computer program in the memory to perform the environmental state adjustment method as described in the first aspect of the present application.

[0048] The fifth aspect of the present application provides a storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various steps of the environmental state adjustment method described in the first aspect of the present application.

[0049] The sixth aspect of the present application provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor implements the steps of the above-mentioned environmental state adjustment method when executing the computer instructions.

[0050] In the implementation process of the above-mentioned environmental state adjustment method, device, system and electronic device, after obtaining the current environmental data of the target space, if the current environmental data does not meet the environmental threshold, it means that the current environment does not meet the user's requirements, then the target device can be adjusted according to the initial adjustment range to adjust the environmental data of the target space based on the environmental threshold. If the adjusted current environmental data exceeds the environmental threshold, the last adjustment range is updated, and the target device is convergently adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold. In this way, the environmental data of the target space is gradually adjusted by catch-up adjustment and convergent adjustment, which can not only keep the environmental data of the target space in a stable state to meet the user's comfort requirements, but also avoid the occurrence of sudden changes in the environment during adjustment, which will cause stimulation to the user, and provide a more stable and comfortable living environment for the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0052] Figure 1 It is a schematic diagram of the application environment of the environmental state adjustment method in one embodiment of the present application.

[0053] Figure 2 It is a hardware structure block diagram of a gateway in one embodiment of the present application.

[0054] Figure 3 This is a flow chart of an environmental state adjustment method provided by an embodiment of the present application.

[0055] Figure 4 This is a schematic diagram of an application scenario of an environmental state adjustment method provided by an embodiment of the present application.

[0056] Figure 5 It is a schematic diagram of an adjustment method for an environmental state provided in an embodiment of the present application.

[0057] Figure 6 This is another adjustment schematic diagram of an environmental state adjustment method provided by an embodiment of the present application.

[0058] Figure 7 This is another adjustment schematic diagram of an environmental state adjustment method provided in another embodiment of the present application.

[0059] Figure 8This is another adjustment schematic diagram of an environmental state adjustment method provided in another embodiment of the present application.

[0060] Fig. 9 This is a schematic diagram of an application scenario of an environmental state adjustment method provided in another embodiment of the present application.

[0061] Fig.10 It is a structural schematic diagram of an environmental state adjustment device provided by an embodiment of the present application.

[0062] Fig.11 It is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other implementation methods obtained by ordinary technicians in the field without creative work belong to the scope of protection of the present application.

[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.

[0065] Exemplary Implementation Environment

[0066] The environmental state adjustment method provided in this application can be applied to Figure 1 In the application environment shown.

[0067] Figure 1 A device control system is shown. As shown in the figure, the device control system may include a terminal device 100, a gateway 200, an IoT device 300 deployed in the gateway 200, a server 400, and a router 500. The gateway 200 may be an intelligent gateway for smart home control, which may realize functions such as system data collection, data transmission, and linkage control. The gateway 200 may also exchange information with products such as cloud servers and intelligent interactive terminals in a wireless manner.

[0068] The terminal device 100 may be any device with communication and storage functions, such as a desktop computer, a laptop computer, a tablet computer, a smart phone, or other intelligent communication device capable of network connection, which is not limited here.

[0069] The Internet of Things device 300 can be a smart lamp with sensing function, smart curtains, smart printers, smart fax machines, smart cameras, smart air conditioners, smart TVs, smart refrigerators, or radar modules with sensing function that are equipped with communication modules (such as ZIGBEE modules, WIFI modules, Bluetooth communication modules, etc.), human body sensors, door and window sensors, temperature and humidity sensors, water immersion sensors, natural gas alarms, smoke alarms, wall switches, wall sockets, wireless switches, wireless wall switches, magic cube controllers, curtain motors and other devices.

[0070] Among them, the Internet of Things device 300 can obtain the current environmental data of the target space, determine the control strategy according to the current environmental data, and then execute the control strategy.

[0071] The server 400 may be a local server, a cloud server, or other servers, and the specific server type may not be limited in the embodiments of the present application. The IoT devices 300 and the gateway 200 disposed in different spatial regions may communicate with the same server 400 through the network.

[0072] A network connection is established between the terminal device 100 and the gateway 200. In one embodiment, the terminal device 100 and the gateway 200 are connected via 2G / 3G / 4G / 5G, Wi-Fi, etc. The terminal device 100 interacts with the gateway 200 through the network connection, so that the user can control the device connected to the gateway 200 to perform corresponding actions with the help of the terminal device 100.

[0073] Optionally, a client that can manage the IoT device is installed in the terminal device 100. The client can be an application client (such as a mobile phone APP), or a web client or a small program, etc., which is not limited here.

[0074] The gateway 200 and the terminal device 100 can both be connected to the router 500 and access the network through the router 500. The router 500 can access the server 500 through a wired or wireless communication connection. For example, the gateway 200 and the terminal device 100 can store the acquired information in the cloud server 400. Optionally, the terminal device 100 can also establish a network connection with the server 400 through 2G / 3G / 4G / 5G, Wi-Fi, etc., so as to obtain data sent by the server 400.

[0075] In some embodiments, the IoT device 300 can send the acquired environmental data to the terminal device 100 or the server 400. The terminal device 100 or the server 400 determines a control strategy based on the acquired environmental data, obtains a control instruction based on the control strategy, and then sends it to the IoT device 300 so that the IoT device 300 executes the control instruction.

[0076] Figure 2 is a hardware structure block diagram of a gateway according to an exemplary embodiment. This gateway is suitable for Figure 1 The implementation environment shown.

[0077] It should be noted that the gateway is only an example adapted to the present application and cannot be considered to provide any limitation on the scope of use of the present application. The gateway cannot be interpreted as requiring dependence on or having Figure 2 One or more components of the exemplary gateway 200 shown in FIG.

[0078] The hardware structure of the gateway 200 may vary greatly due to different configurations or performances, such as Figure 2 As shown, the gateway 200 includes: a power supply 210 , an interface 230 , at least one memory 250 , and at least one central processing unit (CPU) 270 .

[0079] The power supply 210 is used to provide working voltage for each hardware device on the gateway 200 .

[0080] The interface 230 includes at least one wired or wireless network interface 231 , at least one serial-to-parallel conversion interface 233 , at least one input-output interface 235 , and at least one USB interface 237 , etc., for communicating with external devices.

[0081] The memory 250 is a carrier for storing resources, which can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon include an operating system 251, an application 253 or data 255, etc. The storage method can be temporary storage or permanent storage. Among them, the operating system 251 is used to manage and control the hardware devices and application 253 on the gateway 200 to enable the central processor 270 to calculate and process the massive data 255. It can be WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, FreeRTOS, etc. The application 253 is a computer program that completes at least one specific task based on the operating system 251, which can include at least one module ( Figure 2 (not shown in the figure), each module may respectively include a series of computer-readable instructions for the gateway 200. The data 255 may be photos, pictures, etc. stored in a disk.

[0082] The central processing unit 270 may include one or more processors and is configured to communicate with the memory 250 via a bus for computing and processing the mass data 255 in the memory 250 .

[0083] As described in detail above, the gateway 200 applicable to the present application will complete the environmental state adjustment method by having the central processor 270 read a series of computer-readable instructions stored in the memory 250 .

[0084] In addition, the present application can also be implemented through hardware circuits or hardware circuits combined with software instructions. Therefore, the implementation of the present application is not limited to any specific hardware circuits, software, or a combination of the two.

[0085] Exemplary Methods

[0086] See also Figure 3 In an exemplary embodiment, a method for adjusting an environment state is provided. The method can be performed by an electronic device. For example, the electronic device can be Figure 1 The server shown can also be Figure 1 The gateway in can also be Figure 1 The method for adjusting the environmental state comprises at least the following steps:

[0087] S101. Acquire current environment data of the target space.

[0088] Among them, the target space can refer to the physical space to be monitored, or it can refer to the physical space that can be affected after the environmental data is adjusted. The target space can be a confined space (such as a home indoor space or the internal space of a public area such as a shopping mall or a railway station), and the target space can also be an open space (such as a square, etc.). Correspondingly, the current environmental data can refer to a certain specific environmental data in the current target space. For example, the current environmental data can be the illuminance in the current target space. For example, the current environmental data can be the temperature or humidity in the current target space, etc., which are not exhaustive in this application.

[0089] In an exemplary embodiment of the present application, the target space may be a space area monitored by an IoT device in a smart furniture system, such as an office, classroom, corridor, etc. During implementation, the environmental data of the target space may be monitored by the IoT device to provide a data basis for adjusting the environmental state.

[0090] S102: If the current environmental data does not meet the environmental threshold, the target device is adjusted according to the initial adjustment range to adjust the environmental data of the target space based on the environmental threshold.

[0091] The catch-up adjustment of the target device refers to taking the environmental threshold as the catch-up target and adjusting the target device so that the adjusted current environmental data gradually approaches the environmental threshold.

[0092] The target device may be an intelligent device with communication and / or data processing functions, so that the target device may have instruction acquisition and / or execution functions. In an exemplary embodiment, the target device may be an IoT device in a device control system. In another exemplary embodiment, the target device may be an IoT device in a smart home system. For example, the target device may include a lighting device, a shading device, and the like.

[0093] During implementation, the current environmental data does not meet the environmental threshold, which means that the difference between the current environmental data and the environmental threshold is greater than the preset error, that is, the amplitude of the current environmental data greater than the environmental threshold exceeds the preset error, or the amplitude of the current environmental data less than the environmental threshold exceeds the preset error. Similarly, if the difference between the current environmental data and the environmental threshold is less than or equal to the preset error (the amplitude of the current environmental data greater than the environmental threshold does not exceed the preset error, or the amplitude of the current environmental data less than the environmental threshold does not exceed the preset error), it means that the current environmental data meets the environmental threshold.

[0094] It should be noted that the environmental threshold can be a threshold set by the user according to his or her own comfort requirements. Accordingly, when the current environmental data does not meet the environmental threshold, it means that the comfort level of the current environment does not meet the user's requirements. In order to improve the user's comfort experience and maximize the satisfaction of user needs, it is necessary to adjust the environmental data through the target device so that the current environmental data meets the environmental threshold.

[0095] During implementation, the initial adjustment range may be an adjustment range set according to actual needs, and may be an initial adjustment range of the target device or an initial adjustment range of current environment data.

[0096] Among them, when the initial adjustment amplitude is the initial adjustment amplitude of the target device, the target device is adjusted according to the initial adjustment amplitude, and the working parameters of the target device are adjusted according to the initial adjustment amplitude, so that the environmental data controlled by the target device catches up with the environmental threshold. Specifically, in the process of catching up with the working parameters of the target device, the electronic device can drive the current environmental data in the target space to catch up with the environmental threshold, and finally reach a state where the current environmental data meets the environmental threshold. Moreover, when the current environmental data changes, the environmental data of the target space can also be adjusted in real time through the target device, so that the target space can be maintained in a constant state where the environmental data meets the environmental threshold. In this way, the comfort of the target space can be maintained, and the excessive adjustment amplitude can be avoided to cause a bad experience to the user, thereby enhancing the applicability.

[0097] According to the initial adjustment amplitude, the target device is subjected to catch-up adjustment, with the environmental threshold as the catch-up target. When the current environmental data is less than the environmental threshold, if the initial adjustment amplitude is the adjustment amplitude of the target device, then when the target device is subjected to catch-up adjustment, each catch-up adjustment is performed on the target device, with the initial adjustment amplitude as the step length, and the working parameters of the target device are adjusted once, so that the current environmental data after adjustment is greater than the environmental data before adjustment, and is closer to the environmental threshold. If the initial adjustment amplitude is the initial adjustment amplitude of the current environmental data, then when the catch-up adjustment is performed, each time the target device is subjected to catch-up adjustment, the increase in the current environmental data after adjustment compared to the environmental data before adjustment is the initial adjustment amplitude, so that the current environmental data after adjustment gradually approaches the environmental threshold.

[0098] Correspondingly, when the current environmental data is greater than the environmental threshold, if the initial adjustment amplitude is the adjustment amplitude of the target device, then when the target device is caught up, each time the target device is caught up, the initial adjustment amplitude is used as the step size to adjust the working parameters of the target device once, so that the current environmental data after adjustment is smaller than the environmental data before adjustment and closer to the environmental threshold. If the initial adjustment amplitude is the initial adjustment amplitude of the current environmental data, then when the catch-up adjustment is performed, each time the target device is caught up, the current environmental data after adjustment is reduced by the initial adjustment amplitude compared to the environmental data before adjustment, so that the current environmental data after adjustment gradually approaches the environmental threshold.

[0099] For example, Figure 4 As shown, taking the target device as a smart lamp as an example, the target space can be the desktop space illuminated by the smart lamp, then a light sensor can be placed on the desktop, and the light sensor can be used to obtain the light intensity of the desktop space. Based on this, after the target light intensity (environmental threshold) is preset, when the light is turned on, the smart lamp gradually approaches the target light intensity from the current light intensity (correspondingly, the brightness of the smart lamp gradually becomes brighter or darker), and each step is a certain brightness step (that is, the adjustment amplitude, such as 5% as a step, to avoid excessive adjustment amplitude affecting eye comfort), and each adjustment cycle is several seconds (such as 5 seconds, not too short or too long). In this way, while improving the user experience, the light intensity of the target space can be effectively adjusted to meet the user's eye comfort and health requirements.

[0100] S103: If the adjusted current environment data exceeds the environment threshold, the last adjustment range is updated, and the target device is converged and adjusted according to the updated adjustment range until the current environment data meets the environment threshold.

[0101] Convergence adjustment of the target device refers to adjustment of the target device so that the adjusted current environment data converges with the environment threshold as a convergence target and gradually approaches the environment threshold after the adjusted current environment data exceeds the environment threshold.

[0102] During implementation, once the current environmental data after adjustment exceeds the environmental threshold, the subsequent adjustments are all convergence adjustments. In addition, each convergence adjustment must update the previous adjustment range until the current environmental data meets the environmental threshold.

[0103] Among them, the adjusted current environmental data exceeds the environmental threshold, which means that the size relationship between the adjusted current environmental data and the environmental threshold is opposite to the size relationship between the current environmental data and the environmental threshold before adjustment, and the adjusted current environmental data does not meet the environmental threshold.

[0104] In order to avoid the user experience being affected by the long catch-up adjustment time, the initial adjustment range should not be set too small. Therefore, a large initial adjustment range will inevitably cause the current environmental data after adjustment to exceed the environmental threshold. To this end, after the current environmental data after adjustment exceeds the environmental threshold, the last adjustment range can be updated to appropriately reduce the adjustment range, and the target device can be converged and adjusted according to the updated adjustment range, so that the current environmental data gradually approaches the environmental threshold and finally meets the environmental threshold.

[0105] During specific implementation, if the current environmental data is less than the environmental threshold, and after catch-up adjustment, the adjusted current environmental data exceeds the environmental threshold, the initial adjustment range can be updated and adjusted so that the updated adjustment range is less than the initial adjustment range, and the target device is converged and adjusted according to the updated adjustment range. If the current environmental data still does not meet the environmental threshold after this adjustment, the last adjustment range can be updated and adjusted so that the updated adjustment range is less than the last adjustment range, and the target device is converged and adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold. In this way, adjustment time is saved and the situation where the current environmental data cannot meet user needs due to excessive adjustment range is avoided.

[0106] The convergence adjustment of the target device according to the updated adjustment range refers to taking the environmental threshold as the convergence adjustment target and adjusting the target device according to the updated adjustment range so that the current environmental data gradually approaches the adjustment of the environmental threshold.

[0107] When applied, the last adjustment amplitude is updated by reducing the last adjustment amplitude, and the reduced adjustment amplitude is used as the updated adjustment amplitude. Preferably, the last adjustment amplitude is updated by halving the last adjustment amplitude, and the halved adjustment amplitude is used as the updated adjustment amplitude, so as to avoid the situation where the adjustment amplitude is too large and the adjusted current environmental data cannot meet the environmental threshold. Of course, the present application is not limited to this. In some other embodiments, reducing the last adjustment amplitude can also be reducing it to 1 / 3, 1 / 4 or 1 / 5 of the last adjustment amplitude, etc.

[0108] In this embodiment, after obtaining the current environmental data of the target space, if the current environmental data does not meet the environmental threshold, it means that the current environment does not meet the user's requirements, and the target device can be adjusted according to the initial adjustment range to adjust the environmental data of the target space based on the environmental threshold. If the adjusted current environmental data exceeds the environmental threshold, the last adjustment range is updated, and the target device is converged according to the updated adjustment range until the current environmental data meets the environmental threshold. In this way, the environmental data of the target space is gradually adjusted by catch-up adjustment and convergence adjustment, which can not only keep the environmental data of the target space in a stable state to meet the user's comfort requirements, but also avoid the occurrence of sudden changes in the environment during adjustment, which will cause stimulation to the user, and provide a more stable and comfortable living environment for the user.

[0109] In some embodiments, when the target device is adjusted according to the initial adjustment amplitude, the environmental data of the target device can be controlled to be adjusted according to a first trend according to the initial adjustment amplitude corresponding to the target device; wherein the first trend is a direction determined according to the current environmental data and the environmental threshold.

[0110] During implementation, the first trend is the trend of the current environmental data gradually approaching the environmental threshold. Specifically, if the current environmental data is greater than the environmental threshold, the first trend is the trend of the current environmental data continuously decreasing and gradually approaching the environmental threshold; if the current environmental data is less than the environmental threshold, the first trend is the trend of the current environmental data continuously increasing and gradually approaching the environmental threshold.

[0111] In specific implementation, a correspondence between the initial adjustment amplitude and the target device can be established in advance. In this way, when the target device is adjusted to catch up, if the current environmental data is greater than the environmental threshold, the environmental data of the target device is controlled to be reduced according to the corresponding initial adjustment amplitude, so that the current environmental data tends to the environmental threshold. Similarly, if the current environmental data is less than the environmental threshold, the environmental data of the target device is controlled to be increased according to the corresponding initial adjustment amplitude, so that the current environmental data tends to the environmental threshold. In this way, the gradual adjustment of the environmental state can be achieved, avoiding the occurrence of environmental mutations caused by excessive and too fast adjustment amplitudes during the adjustment process, and effectively improving the user experience.

[0112] The environmental data of the target device refers to the environmental data of the target space that can be affected by the target device.

[0113] In some embodiments, in order to ensure the accuracy of the adjustment, when the target device is converged and adjusted according to the updated adjustment amplitude, the second trend can be determined based on the current environmental data and environmental threshold after the last adjustment; and then, according to the updated adjustment amplitude, the environmental data of the target device is controlled to be adjusted according to the second trend.

[0114] Among them, if the current environmental data after the last adjustment is greater than the environmental threshold, the second trend is that the current environmental data after the last adjustment continues to decrease and gradually approaches the environmental threshold; if the current environmental data after the last adjustment is less than the environmental threshold, the second trend is that the current environmental data after the last adjustment continues to increase and gradually approaches the environmental threshold.

[0115] During implementation, after the last adjustment range is updated, if the second trend is that the current environmental data after the last adjustment is continuously decreasing and gradually approaching the environmental threshold, the environmental data of the target device can be reduced by the adjustment range after this update. If the current environmental data after this reduction still does not meet the environmental threshold, it is necessary to update the adjustment range after this update again, and reduce the environmental data of the target device again, and the reduction range is the adjustment range after the update again. In this way, the environmental data of the target device is convergently adjusted until the current environmental data meets the environmental threshold.

[0116] Similarly, if the second trend is that the current environmental data after the last adjustment is continuously increasing and gradually approaching the environmental threshold, the environmental data of the target device can be increased by the adjustment amplitude after this update. If the current environmental data after this increase still does not meet the environmental threshold, it is necessary to update the adjustment amplitude after this update again, and increase the environmental data of the target device again, and the increase amplitude is the adjustment amplitude after the update again. In this way, the environmental data of the target device is converged and adjusted until the current environmental data meets the environmental threshold.

[0117] like Figure 5 , Figure 6 , Figure 7 and Figure 8 The figure shows the adjustment diagram of the current environment data. The first n-1 times are catch-up adjustments, and the adjustment range of the catch-up adjustment is the initial adjustment range. If the adjusted current environment data exceeds the environment threshold after the n-1th adjustment, the adjustment after the n-1th adjustment, that is, the nth adjustment onwards, is convergence adjustment.

[0118] Figure 5 and Figure 6 In the case where the environmental data is lower than the environmental threshold, it is necessary to first make catch-up adjustments in the direction of increasing the environmental data. Figure 5 After performing three catch-up adjustments on the target device (i.e., after the nth adjustment), the environmental data exceeds the environmental threshold. At this time, convergence adjustment needs to be performed in the direction of reducing the environmental data. After performing three convergence adjustments (i.e., after the n+3th adjustment), the environmental data is lower than the environmental threshold. At this time, more convergence adjustment processing needs to be performed in the direction of increasing the environmental data. Finally, after performing four convergence adjustments on the target device, the adjusted current environmental data meets the environmental threshold.

[0119] Figure 6 In the example, after three catch-up adjustments were made to the target device (i.e., after the nth adjustment), the environmental data exceeded the environmental threshold. At this time, convergence adjustment needs to be performed in the direction of reducing the environmental data. After one convergence adjustment (i.e., after the n+1th adjustment), the environmental data is lower than the environmental threshold. At this time, more convergence adjustment needs to be performed in the direction of increasing the environmental data. Finally, after two convergence adjustments were made to the target device, the adjusted current environmental data met the environmental threshold.

[0120] Figure 7 and Figure 8 In both cases, the environmental data is higher than the environmental threshold, that is, they are all in the direction of lowering the environmental data, and catch-up adjustment is performed first. Figure 7 After performing three catch-up adjustments on the target device (i.e., after the nth adjustment), the environmental data is lower than the environmental threshold. At this time, convergence adjustment needs to be performed in the direction of increasing the environmental data. After performing three convergence adjustments (i.e., after the n+3th adjustment), the environmental data exceeds the environmental threshold. At this time, a more convergent adjustment process needs to be performed in the direction of reducing the environmental data. Finally, after performing four convergence adjustments on the target device, the adjusted current environmental data meets the environmental threshold.

[0121] Figure 8In the example, after the target device is adjusted for catch-up three times (i.e. after the nth adjustment), the environmental data exceeds the environmental threshold. At this time, convergence adjustment needs to be performed in the direction of reducing the environmental data. After one convergence adjustment (i.e. after the n+1th adjustment), the environmental data exceeds the environmental threshold. At this time, a more convergent adjustment process needs to be performed in the direction of reducing the environmental data. Finally, after two convergence adjustments are made to the target device, the adjusted current environmental data meets the environmental threshold.

[0122] In practical applications, the target device may include a first device and a second device. The above-mentioned catch-up adjustment of the target device according to the initial adjustment amplitude may specifically include: catch-up adjustment of the first device according to the initial adjustment amplitude corresponding to the first device; if the adjustment of the environmental data by the first device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, catch-up adjustment of the second device according to the initial adjustment amplitude corresponding to the second device.

[0123] The energy consumption of the second device may be lower than that of the first device, or the energy consumption of the second device may be lower than that of the first device in the running state, or the energy consumption of the second device may be lower than that of the first device in a certain running period. In this way, the first device is adjusted first, that is, the device with higher energy consumption is adjusted first, which can not only make the current environmental data reach the environmental threshold faster, but also save energy.

[0124] The adjustment threshold is a limit value of the environmental data that can be adjusted by the first device, including a maximum adjustment threshold and a minimum adjustment threshold.

[0125] For example, if the environmental data is illuminance and the first device is a curtain, the adjustment threshold of the curtain includes a maximum opening (maximum adjustment threshold) and a minimum opening (minimum adjustment threshold), wherein the maximum opening is the maximum degree to which the curtain can be opened, and the minimum opening is the state in which the curtain is completely closed. For another example, if the environmental data is illuminance and the first device is a lighting device, the adjustment threshold of the lighting device includes a maximum illuminance (maximum adjustment threshold) and a minimum illuminance (minimum adjustment threshold), wherein the maximum illuminance is the maximum brightness that the lighting device can reach, and the minimum illuminance is the state in which the lighting device is turned off.

[0126] When applying, the device type priority of the first device can be assumed to be higher than that of the second device. In this way, when catching up with the target device, the first device is preferentially adjusted according to the initial adjustment range corresponding to the first device. If the current environmental data can meet the environmental threshold after catching up with the first device, there is no need to adjust the second device. If the current environmental data still does not meet the environmental threshold when the adjustment of the environmental data by the first device reaches the adjustment threshold, the second device can be enabled and the second device can be caught up with according to the initial adjustment range corresponding to the second device until the current environmental data meets the environmental threshold. In this way, the priority of the device can be set according to user needs to achieve priority adjustment of the specified device when adjusting the environmental status.

[0127] In some embodiments, if the adjusted current environment data exceeds the environment threshold during the process of catching up with the second device according to the initial adjustment amplitude corresponding to the second device, the above-mentioned updating of the last adjustment amplitude and convergence adjustment of the target device according to the updated adjustment amplitude may specifically include: updating the last adjustment amplitude corresponding to the second device and convergence adjustment of the second device according to the updated adjustment amplitude. In this way, when the operation of the first device cannot meet the user's needs, the second device is started, and the first device and the second device work together, which can effectively save device resources and improve device utilization.

[0128] During specific implementation, the environmental data may be illumination data, the first device may be a lighting device, and the second device may be a shading device. Correspondingly, the environmental threshold is the illumination threshold, the current environmental data is the current illumination data, and the adjustment threshold includes the maximum illumination and the minimum illumination. Based on this, after obtaining the current illumination data of the target space, it is possible to detect whether the current illumination data meets the illumination threshold. If the current illumination data meets the illumination threshold, there is no need to adjust the environmental state. If the current illumination data does not meet the illumination threshold, the illumination device may be adjusted according to the initial adjustment amplitude corresponding to the illumination device, so as to adjust the illumination data of the target space based on the illumination threshold. If the current illumination data can meet the illumination threshold after the catch-up adjustment of the illumination device, there is no need to enable the shading device.

[0129] If after catch-up adjustment of the lighting device, the lighting device's adjustment of the lighting data reaches the adjustment threshold, and the current lighting data after adjustment still does not meet the light threshold, the shading device can continue to be catch-up adjusted according to the initial adjustment amplitude corresponding to the shading device.

[0130] If during the process of catching up adjustment of the shading device, the adjusted current light data exceeds the light threshold, indicating that overshoot has occurred, the last adjustment amplitude of the shading device can be updated to reduce the adjustment amplitude, and then the shading device can be converged and adjusted according to the updated adjustment amplitude so that the current light data can finally meet the light threshold.

[0131] Based on the above implementation, the illumination in the target space can be kept constant, providing users with comfortable, healthy and sufficient illumination. In addition, the lighting device works in conjunction with the shading device, and when the external ambient light (such as sunlight) is sufficient, the illumination brightness of the lighting device is preferentially reduced, which has the effect of energy saving and environmental protection to a certain extent.

[0132] Affected by time factors, the environmental state of the target space will be affected differently by external environmental resources in different time periods. In order to rationally utilize external environmental resources, in some embodiments, the above-mentioned catch-up adjustment of the target device according to the initial adjustment amplitude may also include: if the current time is in the first time period and the second device is in the target state, the second device is catch-up adjusted according to the initial adjustment amplitude corresponding to the second device; if the adjustment of the environmental data by the second device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, the first device is catch-up adjusted according to the initial adjustment amplitude corresponding to the first device.

[0133] During implementation, the first time period may refer to a specific time period in a natural environment, such as a daytime period, a nighttime period, etc., or a time period specified by a user, such as 8:00 a.m. to 12:00 p.m., etc. The target state may refer to a specific working state of the device, such as a closed state, a partially closed state, and an open state.

[0134] In specific implementation, the first device may be a lighting device, and the second device may be a shading device. For example, if the target space is a classroom, the lighting device is a lamp, and the shading device is a curtain, when the first period is the daytime period, and the target state is a partially closed state, if the current time is in the daytime period and the curtain is in a fully closed state, there may be insufficient light in the classroom. If at this time, the current light data is less than the light threshold (the current light data does not meet the light threshold), the curtain can be adjusted according to the initial adjustment range corresponding to the curtain.

[0135] If the current lighting data meets the lighting threshold after the curtains are adjusted, it means that after the curtain opening is increased, there is no need to turn on the lights, and the outside light can meet the lighting needs in the classroom, which effectively reduces power consumption.

[0136] If the current lighting data still cannot meet the lighting threshold after the curtains are opened to the maximum, it means that after the curtains are fully opened, the outside light cannot meet the lighting needs in the classroom. In this case, the lights can be turned on and adjusted according to the initial adjustment range corresponding to the lights until the lighting data in the classroom meets the lighting threshold.

[0137] In some embodiments, the target device may include multiple first devices. Accordingly, the target device is adjusted according to the initial adjustment range, which may specifically include: if the current time is in the second period, the first device closest to the target space position is adjusted according to the initial adjustment range.

[0138] During implementation, the second time period may also refer to a specific time period in a natural environment, such as a daytime period, a nighttime period, etc., or may be a time period specified by a user, such as 8:00 a.m. to 12:00 p.m., etc. Among them, the second time period is a time period different from the first time period. For example, the first time period is a daytime period, and the second time period may be a nighttime period. The target space position refers to the position of the target space, and accordingly, the first device closest to the target space position refers to the first device closest to the position of the target space.

[0139] If the adjustment of the environmental data by the current first device reaches the adjustment threshold, and the adjusted current environmental data does not reach the environmental threshold, catch-up adjustment can be performed on other first devices except the current first device based on the target spatial position.

[0140] The first device is a lighting device, and accordingly, the current first device refers to the lighting device closest to the target space, that is, the lighting device that performs catch-up adjustment in the above-mentioned target device. The second time period may be an evening time period. The specific time of the evening time period can be set according to actual needs and is not limited here.

[0141] During implementation, if the current time is at night, the lighting equipment closest to the target space position can be adjusted according to the initial adjustment range corresponding to the lighting equipment, so that the current lighting data can meet the lighting threshold as soon as possible. If the current lighting equipment adjusts the illumination data to the adjustment threshold, and the adjusted current illumination data does not meet the illumination threshold, then based on the target space position, other lighting equipment except the current lighting equipment can be adjusted to meet the illumination threshold.

[0142] It should be understood that the lighting equipment is not limited to lamps, but can also be other equipment that can provide lighting for the target space. Similarly, the shading equipment is not limited to curtains, but can also be awnings, sunshades and other equipment that can provide shading function for the target space.

[0143] In some embodiments, when the target device includes a first device and a second device, the environmental state adjustment method may further include: if the current environmental data is greater than the environmental threshold and the first device is in an on state, then the first device is adjusted according to the initial adjustment amplitude corresponding to the first device.

[0144] The first device is a lighting device, and the second device is a shading device. Correspondingly, the current environment data is the current illumination data, and the environment threshold is the illumination threshold.

[0145] During implementation, taking the lighting device as a lamp and the shading device as a curtain as an example, the current light data is greater than the light threshold, indicating that the light in the target space is too high and the current light data needs to be adjusted down. If the current light data is greater than the light threshold and the lamp is in the on state, then no matter what state the curtain is in, the light intensity of the lamp can be lowered to give priority to saving electricity. When adjusting downward, the lamp can be adjusted according to the initial adjustment range corresponding to the lamp. In this way, energy saving can be achieved and carbon neutrality can be contributed. If the current period is during the day and the current light data is greater than the light threshold, that is, the light is too bright, and the lamp is in the off state, the curtains can be adjusted to reduce the exposure of sunlight to the target space by reducing the opening of the curtains, thereby reducing the current light data to meet the user's environmental adjustment needs and maintain the constant light intensity in the target space.

[0146] The embodiment of the present application also provides an application scenario, which applies the above-mentioned environmental state adjustment method. Fig. 9 , the application of the environmental state adjustment method in this application scenario is as follows:

[0147] Taking the environmental threshold as the light intensity threshold, the first device is a smart lamp, and the second device is a shading device such as a smart curtain, an awning, etc. as an example, a light intensity sensor can be set in the target space, and the light intensity sensor can be used to obtain the illumination of natural light and the light of the smart lamp in the target space, and the current illumination value can be transmitted to the gateway. The gateway compares the current illumination value with the light intensity threshold. If the current illumination value does not meet the light intensity threshold, the gateway can issue a brightness instruction to the smart lamp and / or shading device to adjust the illumination value of the target space until the current illumination value meets the light intensity threshold.

[0148] If the current illuminance is greater than the illuminance threshold, it means that the light in the target space is too bright and the illuminance in the target space needs to be reduced. The gateway can first perform catch-up adjustment on the smart light according to the initial adjustment amplitude corresponding to the smart light, so that the brightness of the smart light is reduced according to the initial adjustment amplitude, thereby reducing the current illuminance in the target space, and continue to perform catch-up adjustment until the current illuminance is reduced to meet the illuminance threshold. During this adjustment process, if the current illuminance is reduced and is lower than the illuminance threshold, it is considered to be over-adjusted, indicating that the current light is insufficient. At this time, there is no need to perform catch-up adjustment, but convergence adjustment is required, that is, the initial adjustment amplitude corresponding to the smart light is updated to reduce the adjustment amplitude, and the smart light is converged according to the updated adjustment amplitude, so that the brightness of the smart light is increased according to the updated adjustment amplitude, thereby increasing the current illuminance in the target space, and continuing to perform convergence adjustment until the current illuminance is increased to meet the illuminance threshold.

[0149] When the smart light is turned off after catch-up adjustment, it means that the adjustment of the smart light reaches the adjustment threshold. If the current illuminance is still greater than the illuminance threshold at this time, it means that the lighting in the target space is still higher than the user's demand. The shading device can be adjusted to reduce the exposure to natural light, thereby reducing the current illuminance of the target space. When adjusting the shading device, the shading device can also be catch-up adjusted according to the initial adjustment amplitude corresponding to the shading device, so that the opening of the shading device is reduced according to the initial adjustment amplitude, thereby increasing the shielding of natural light entering the target space and reducing the current illuminance in the target space. The catch-up adjustment is continued until the current illuminance is reduced to meet the illuminance threshold. During this adjustment process, if the current light intensity decreases and is lower than the light intensity threshold, it is considered as over-adjustment, indicating that the current light intensity is insufficient. At this time, there is no need to catch up with the shading device, but it is necessary to perform convergence adjustment on the shading device, that is, to update the initial adjustment amplitude corresponding to the shading device to reduce the adjustment amplitude, and perform convergence adjustment on the opening of the shading device according to the updated adjustment amplitude, so that the opening of the shading device is increased according to the updated adjustment amplitude, thereby increasing the light intensity in the target space, and continue to perform convergence adjustment until the current light intensity is increased to meet the light intensity threshold.

[0150] On the other hand, when there are multiple smart lights, the smart light closest to the target space can be adjusted first. After the smart light is turned off after the adjustment, if the current illuminance is still greater than the illuminance threshold, the other smart lights except the smart light can be adjusted based on the location of the target space until the current illuminance meets the illuminance threshold. Similarly, if the current illuminance is still greater than the illuminance threshold after all smart lights are turned off, the shading device can be adjusted to make the current illuminance meet the illuminance threshold.

[0151] Correspondingly, if the current illuminance is less than the illuminance threshold, it means that the illuminance in the target space is too low and the illuminance in the target space needs to be increased. The gateway can first perform catch-up adjustment on the smart light according to the initial adjustment amplitude corresponding to the smart light, so that the brightness of the smart light increases according to the initial adjustment amplitude, thereby increasing the current illuminance in the target space, and continue to perform catch-up adjustment until the current illuminance increases to meet the illuminance threshold. During this adjustment process, if the current illuminance increases and exceeds the illuminance threshold, it is considered to be over-adjusted, indicating that the current illuminance is excessive. At this time, there is no need to perform catch-up adjustment, but convergence adjustment is required, that is, the initial adjustment amplitude corresponding to the smart light is updated to reduce the adjustment amplitude, and the smart light is converged according to the updated adjustment amplitude, so that the brightness of the smart light decreases according to the updated adjustment amplitude, thereby reducing the current illuminance in the target space, and continuing to perform convergence adjustment until the current illuminance decreases to meet the illuminance threshold.

[0152] It should be understood that although Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0153] Exemplary Devices

[0154] Accordingly, the embodiment of the present application also provides an environment state adjustment device, such as Fig.10 As shown, the device at least includes: an acquisition module 1001, used to acquire current environmental data of the target space; a catch-up adjustment module 1002, used to perform catch-up adjustment on the target device according to the initial adjustment amplitude if the current environmental data does not meet the environmental threshold, so as to adjust the environmental data of the target space based on the environmental threshold; a convergence adjustment module 1003, used to update the previous adjustment amplitude if the adjusted current environmental data exceeds the environmental threshold, and perform convergence adjustment on the target device according to the updated adjustment amplitude until the current environmental data meets the environmental threshold.

[0155] Optionally, when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module 1002 is specifically used to: control the environmental data of the target device to be adjusted according to a first trend according to the initial adjustment amplitude corresponding to the target device; the first trend is a direction determined according to the current environmental data and the environmental threshold.

[0156] Optionally, when the target device is converged and adjusted according to the updated adjustment range, the convergence adjustment module 1003 is specifically used to: determine the second trend based on the current environmental data and environmental threshold after the last adjustment; and control the environmental data of the target device to be adjusted according to the second trend according to the updated adjustment range.

[0157] Optionally, the target device includes a first device and a second device; when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module 1002 is specifically configured to: perform catch-up adjustment on the first device according to the initial adjustment amplitude corresponding to the first device; if the adjustment of the environmental data by the first device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then perform catch-up adjustment on the second device according to the initial adjustment amplitude corresponding to the second device;

[0158] If the current environmental data after adjustment exceeds the environmental threshold, the last adjustment amplitude is updated, and the target device is converged and adjusted according to the updated adjustment amplitude. The convergence adjustment module 1003 is specifically used for: if the current environmental data after adjustment exceeds the environmental threshold, the last adjustment amplitude corresponding to the second device is updated, and the second device is converged and adjusted according to the updated adjustment amplitude.

[0159] Optionally, the target device includes a first device and a second device; when the target device is catch-up adjusted according to the initial adjustment amplitude, the catch-up adjustment module 1002 is specifically used to: if the current time is in the first time period and the second device is in the target state, then catch-up adjustment is performed on the second device according to the initial adjustment amplitude corresponding to the second device; if the adjustment of the environmental data by the second device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then catch-up adjustment is performed on the first device according to the initial adjustment amplitude corresponding to the first device.

[0160] Optionally, the target device includes multiple first devices; when the target device is subjected to catch-up adjustment according to the initial adjustment amplitude, the catch-up adjustment module 1002 is specifically used for: if the current time is in the second time period, then according to the initial adjustment amplitude, performing catch-up adjustment on the first device closest to the target spatial position; the catch-up adjustment module 1002 is also used for: if the current first device's adjustment of the environmental data reaches an adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, then performing catch-up adjustment on other first devices except the current first device based on the target spatial position.

[0161] Optionally, the target device includes a first device and a second device; the catch-up adjustment module 1002 is specifically used to: if the current environmental data is greater than the environmental threshold and the first device is in an on state, then catch-up adjustment is performed on the first device according to the initial adjustment range corresponding to the first device.

[0162] Optionally, the environmental data includes illumination data; the first device includes a lighting device, and the second device includes a shading device.

[0163] An embodiment of the present application provides an environment state adjustment system, including: a target device and a control device.

[0164] Among them, the control device is used to obtain the current environmental data of the target space; if the current environmental data does not meet the environmental threshold, the target device is adjusted according to the initial adjustment range to adjust the environmental data of the target space based on the environmental threshold; if the adjusted current environmental data exceeds the environmental threshold, the last adjustment range is updated, and the target device is convergently adjusted according to the updated adjustment range until the current environmental data meets the environmental threshold.

[0165] The target device is used to obtain the adjustment instruction sent by the control device and adjust the environmental state of the target space according to the adjustment range in the adjustment instruction.

[0166] Exemplary Electronic Devices

[0167] An embodiment of the present application provides an electronic device, which may be an Internet of Things device, a gateway or a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The electronic device includes a processor, a memory, a network interface and an input device connected via a system bus. Among them, the electronic device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device can be used to store the initial adjustment amplitude corresponding to the target device, as well as the environmental threshold of the target space. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements the environmental state adjustment method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0168] Those skilled in the art will understand that Fig. 9The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0169] Exemplary computer program products and storage media

[0170] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the environmental state adjustment method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0171] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0172] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the various steps of the environmental state adjustment method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0173] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0174] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0175] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for adjusting an environmental state, characterized in that: include: Get the current environment data of the target space; If the current environmental data does not meet the environmental threshold, the operating parameters of the target device are adjusted toward the environmental threshold according to the initial adjustment range, so as to adjust the environmental data of the target space based on the environmental threshold; If the adjusted current environmental data exceeds the environmental threshold, the last adjustment amplitude is updated to reduce the last adjustment amplitude, and the operating parameters of the target device are convergently adjusted toward the environmental threshold according to the updated adjustment amplitude until the current environmental data meets the environmental threshold; Among them, the target device includes a first device. If the current adjustment of the environmental data by the first device reaches an adjustment threshold, and the adjusted current environmental data does not reach the environmental threshold, then catch-up adjustment is performed on the other target devices except the current first device based on the target spatial position.

2. The method according to claim 1, characterized in that The catch-up adjustment of the target device according to the initial adjustment range includes: According to the initial adjustment range corresponding to the target device, the environmental data of the target device is controlled to be adjusted according to a first trend; the first trend is a direction determined according to the current environmental data and the environmental threshold.

3. The method according to claim 1, characterized in that The performing convergence adjustment on the target device according to the updated adjustment amplitude includes: Determining a second trend according to the current environmental data after the last adjustment and the environmental threshold; According to the updated adjustment range, the environment data of the target device is controlled to be adjusted according to the second trend.

4. The method according to claim 1, characterized in that: The target device includes a first device and a second device; and the catching-up adjustment of the target device according to the initial adjustment range includes: Performing catch-up adjustment on the first device according to the initial adjustment amplitude corresponding to the first device; If the adjustment of the environmental data by the first device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, the second device is adjusted according to the initial adjustment amplitude corresponding to the second device; If the adjusted current environment data exceeds the environment threshold, the last adjustment range is updated, and convergence adjustment is performed on the target device according to the updated adjustment range, including: If the adjusted current environmental data exceeds the environmental threshold, the last adjustment amplitude corresponding to the second device is updated, and the second device is converged and adjusted according to the updated adjustment amplitude.

5. The method according to claim 1, characterized in that The target device includes a first device and a second device; and the catching-up adjustment of the target device according to the initial adjustment range includes: If the current time is in the first time period and the second device is in the target state, the second device is adjusted according to the initial adjustment amplitude corresponding to the second device; If the adjustment of the environmental data by the second device reaches the adjustment threshold, and the current environmental data after adjustment does not reach the environmental threshold, the first device is adjusted according to the initial adjustment amplitude corresponding to the first device.

6. The method according to claim 1, characterized in that The target device includes a plurality of first devices; and the catch-up adjustment of the target device according to the initial adjustment amplitude includes: If the current time is in the second time period, a catch-up adjustment is performed on the first device closest to the target spatial position according to the initial adjustment amplitude.

7. The method according to claim 1, characterized in that The target device includes a first device and a second device; the method further includes: If the current environmental data is greater than the environmental threshold and the first device is in an on state, the first device is adjusted according to the initial adjustment amplitude corresponding to the first device.

8. The method according to any one of claims 4, 5 and 7, characterized in that: The environmental data includes illumination data; the first device includes a lighting device, and the second device includes a shading device.

9. An environmental state adjustment device, characterized in that: include: The acquisition module is used to obtain the current environment data of the target space; a catch-up adjustment module, configured to, if the current environmental data does not meet the environmental threshold, perform catch-up adjustment on the operating parameters of the target device toward the environmental threshold according to the initial adjustment amplitude, so as to adjust the environmental data of the target space based on the environmental threshold; A convergence adjustment module is used to update the last adjustment amplitude to reduce the last adjustment amplitude if the current environmental data after adjustment exceeds the environmental threshold, and to convergently adjust the working parameters of the target device toward the environmental threshold according to the updated adjustment amplitude until the current environmental data meets the environmental threshold; wherein, the target device includes a first device, if the current first device adjusts the environmental data to the adjustment threshold and the current environmental data after adjustment does not reach the environmental threshold, then catch-up adjustment is performed on the target devices other than the current first device based on the target spatial position.

10. An environmental state adjustment system, characterized in that: include: Target devices and control devices; The control device is used to obtain current environmental data of the target space; If the current environmental data does not meet the environmental threshold, the operating parameters of the target device are adjusted toward the environmental threshold according to the initial adjustment amplitude, so as to adjust the environmental data of the target space based on the environmental threshold; if the adjusted current environmental data exceeds the environmental threshold, the last adjustment amplitude is updated to reduce the last adjustment amplitude, and the operating parameters of the target device are convergently adjusted toward the environmental threshold according to the updated adjustment amplitude until the current environmental data meets the environmental threshold; wherein the target device includes a first device, and if the adjustment of the environmental data by the current first device reaches the adjustment threshold, and the adjusted current environmental data does not reach the environmental threshold, the target devices other than the current first device are adjusted based on the target space position; The target device is used to obtain the adjustment instruction sent by the control device, and adjust the environmental state of the target space according to the adjustment range in the adjustment instruction.

11. An electronic device, characterized in that: include: A processor, and a memory connected to the processor; The memory is used to store computer programs; The processor is used to call and execute the computer program in the memory to perform the environmental state adjustment method according to any one of claims 1-8.

12. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, each step of the environmental state adjustment method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Intelligent indoor light intensity control system and working method thereof

    CN103997825A

  • Sensor correction method, device, equipment and storage medium

    CN107147901A