Method and apparatus for adjusting indoor illuminance, and electronic device
By installing a light sensor on the room windows, calculating the average illuminance in the room and controlling the opening and closing of the curtains, the problem that the existing technology cannot effectively adjust the indoor light illuminance is solved, improving the user experience and avoiding the adverse effects of excessive sunlight.
Patent Information
- Application Number
- PCT/CN2024/096551
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-21
- Filing Date
- 2024-05-31
- Publication Date
- 2025-03-27
AI Technical Summary
The existing technology cannot effectively adjust the indoor light illumination, resulting in excessive sunlight, resulting in furniture damage, temperature rise and energy consumption, and it cannot adapt to different weather conditions, affecting the user experience.
By installing a light sensor on the room window, light illuminance data is collected, and the average illuminance in the room is calculated based on the window azimuth angle and room area ratio, and then the curtains are opened and closed to adjust the indoor light illuminance.
It realizes dynamic adjustment of indoor light intensity according to actual lighting conditions, improves user experience, and avoids the adverse effects of excessive sunlight.
Smart Images

Figure CN2024096551_27032025_PF_FP_ABST
Abstract
Description
Method, device and electronic equipment for adjusting indoor light intensity
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on September 21, 2023, with application number 202311228279.4 and application name “Method, device and electronic device for adjusting indoor light intensity”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of smart terminal technology, and in particular to a method, device, and electronic device for adjusting indoor light intensity. Background Art
[0003] Users have certain requirements for daylighting in their homes. Typically, they increase window size, such as with floor-to-ceiling windows, to increase indoor lighting. However, this increased daylighting can expose furniture to direct sunlight, leading to elevated room temperatures and / or increased air conditioning energy consumption. Furthermore, strong direct sunlight can affect skin and visual health, significantly reducing comfort.
[0004] An existing sunshade solution is to open and close curtains at fixed times, but this solution cannot sense the actual weather conditions. There are cases where the curtains are closed on cloudy days, which results in a poor user experience.
[0005] Another existing shading solution uses a fixed light sensor threshold to trigger shading. Specifically, the light sensor threshold is set to a fixed threshold. When the light intensity detected by the light sensor exceeds this fixed threshold, the shading operation is triggered. However, the shading timing of this solution differs from the actual indoor lighting conditions, resulting in a significant difference in the shading experience.
[0006] Summary of the Invention
[0007] Embodiments of the present application provide a method, device, and electronic device for adjusting indoor light intensity. Embodiments of the present application also provide a computer-readable storage medium to obtain the average light intensity in the room by collecting light intensity through a light intensity sensor, and then control the opening or closing of curtains based on the average light intensity in the room, thereby adjusting the light intensity in the room and improving the user experience.
[0008] In a first aspect, an embodiment of the present application provides a method for adjusting indoor light illumination, comprising: obtaining a first light illumination collected by a light illumination sensor; wherein the light illumination sensor is installed on a window of a room; determining an average light illumination in the room based on the window azimuth, the first light illumination, and the area ratio of the window to the room; and opening or closing the curtains installed on the window based on the average light illumination in the room and the current opening or closing degree of the curtains to adjust the light illumination in the room.
[0009] In the above-mentioned method for adjusting indoor light intensity, after the electronic device obtains the first light intensity collected by the light intensity sensor, it determines the average light intensity in the room based on the window azimuth, the first light intensity, and the area ratio of the window to the room. Then, the electronic device opens or closes the curtains installed on the window based on the average light intensity in the room and the current opening or closing degree of the curtains to adjust the light intensity in the room. In this way, the average light intensity in the room can be obtained through the light intensity collected by the light intensity sensor, and the opening or closing of the curtains can be controlled based on the average light intensity in the room, thereby adjusting the light intensity in the room and improving the user experience.
[0010] In one possible implementation, determining the average illuminance in the room based on the window azimuth, the first illuminance, and the area ratio of the window to the room includes: determining the average illuminance of direct light and diffusely reflected light in the room based on the window azimuth, the first illuminance, the area ratio of the window to the room, and the diffuse reflection coefficient; and determining the average illuminance of scattered light in the room based on the window azimuth, the first illuminance, the area ratio of the window to the room, and the scattering coefficient; determining the average illuminance in the room based on the average illuminance of the direct light and diffusely reflected light in the room, and the average illuminance of the scattered light in the room.
[0011] In one possible implementation, opening or closing the curtains based on the average illuminance in the room and the current opening / closing degree of the curtains installed on the windows to adjust the illuminance in the room includes: determining an illuminance interval to which the average illuminance in the room belongs, and obtaining a curtain opening / closing degree interval corresponding to the illuminance interval; if the current opening / closing degree of the curtains is not within the curtain opening / closing degree interval, when the current opening / closing degree is less than a minimum value of the curtain opening / closing degree interval, obtaining a current time, opening the curtains based on the current time, and closing the curtains so that the opening / closing degree of the curtains falls within the curtain opening / closing degree interval when the current opening / closing degree is greater than a maximum value of the curtain opening / closing degree interval.
[0012] In one possible implementation, before determining the average illuminance in the room based on the window azimuth, the first illuminance, and the area ratio of the window to the room, the method further includes: obtaining a second illuminance collected by the illuminance sensor within a predetermined time period; screening the second illuminance to obtain a third illuminance, and obtaining the collection time of the third illuminance; determining the window azimuth based on the third illuminance, the collection time of the third illuminance, the longitude and latitude of the room, and the time zone to which the longitude and latitude belong.
[0013] In one possible implementation, at least two light sensors are installed on windows facing the same direction in the room; and obtaining the first light intensity collected by the light sensors includes obtaining a maximum value of the light intensity collected by the at least two light sensors installed on windows facing the same direction.
[0014] In a second aspect, embodiments of the present application provide a device for adjusting indoor light intensity. The device is included in an electronic device and has the function of implementing the electronic device behavior described in the first aspect and possible implementations of the first aspect. The functions can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, an acquisition module, a determination module, and an adjustment module.
[0015] In a third aspect, an embodiment of the present application provides an electronic device comprising: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to execute the method provided in the first aspect.
[0016] It should be understood that the second and third aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the first aspect.
[0018] In a fifth aspect, an embodiment of the present application provides a computer program, which, when executed by a computer, is used to execute the method provided in the first aspect.
[0019] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in whole or in part on a memory not packaged with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0021] Figures 2(a) and 2(b) are schematic diagrams of the installation of a light intensity sensor provided in one embodiment of the present application;
[0022] FIG3 is a flow chart of a method for adjusting indoor light intensity provided by one embodiment of the present application;
[0023] FIG4 is a flow chart of a method for adjusting indoor light intensity according to another embodiment of the present application;
[0024] FIG5 is a schematic diagram of the effect of outdoor sunlight on indoor lighting according to an embodiment of the present application;
[0025] FIG6 is a flow chart of a method for adjusting indoor light intensity according to another embodiment of the present application;
[0026] FIG7 is a schematic structural diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0027] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0028] The main purpose of sun shading is to ensure that the actual indoor illuminance is less than the set threshold. However, due to the presence of indoor lighting and the superposition of outdoor incident light, the light source structure is complex, making it difficult to measure the actual indoor illuminance through simple indoor illuminance collection.
[0029] Based on the above problems, an embodiment of the present application provides a method for adjusting indoor light illumination, in which outdoor light illumination is collected by a light sensor and used as the basic input parameter for determining indoor light illumination. The outdoor light illumination data is combined with the window azimuth and the area ratio of the window to the room (also known as the "window-to-room ratio") to calculate the average indoor illumination, and the shading operation is triggered by the average indoor illumination.
[0030] The indoor light adjustment method provided in the embodiments of the present application can be applied to electronic devices, wherein the electronic device can be a whole-house smart host, which can generally be installed in a household's power distribution box. Furthermore, the electronic device can also be other devices capable of whole-house smart control, and this embodiment does not limit the form of the electronic device.
[0031] For example, FIG1 is a schematic diagram of the structure of an electronic device provided by one embodiment of the present application. As shown in FIG1 , the electronic device 100 may include a processor 110 and a communication interface 120. Optionally, the electronic device 100 may further include a memory 130. The processor 110, the communication interface 120, and the memory 130 may communicate with each other via an internal connection path to transmit control and / or data signals. The memory 130 is used to store computer programs, and the processor 110 is used to call and execute the computer programs from the memory 130.
[0032] The processor 110 and the memory 130 may be combined into a processing device, or more commonly, they are independent components. The processor 110 is used to execute program codes stored in the memory 130. In a specific implementation, the memory 130 may also be integrated into the processor 110, or independent of the processor 110.
[0033] In addition, in order to make the functions of the electronic device 100 more complete, the electronic device 100 may further include one or more of an input unit 160 and a display unit 170 .
[0034] Optionally, the electronic device 100 may further include a power supply 150 for providing power to various devices or circuits in the electronic device 100 .
[0035] It should be understood that the processor 110 in the electronic device 100 shown in FIG1 may be a system on a chip (SOC), which may include a central processing unit (CPU) and may further include other types of processors, such as a graphics processing unit (GPU).
[0036] For ease of understanding, the following embodiments of the present application will take an electronic device having the structure shown in FIG1 as an example, and combine the accompanying drawings and application scenarios to specifically explain the indoor light intensity adjustment method provided in the embodiments of the present application.
[0037] The indoor light adjustment method provided in an embodiment of the present application uses the light collected by the light sensor as the basic input parameter, so it is necessary to install a light sensor on the window of the room. Specifically, as shown in Figure 2(a), two light sensors need to be installed on one window to collect outdoor light. As shown in Figure 2(b), if there are multiple windows in the same direction in the room, a total of two light sensors are installed in the same direction. Figures 2(a) and 2(b) are schematic diagrams of the installation of the light sensor provided in an embodiment of the present application.
[0038] The following describes a method for adjusting indoor light intensity provided in an embodiment of the present application.
[0039] FIG3 is a flow chart of a method for adjusting indoor light intensity according to an embodiment of the present application. As shown in FIG3 , the method for adjusting indoor light intensity may include:
[0040] In step 301, the electronic device 100 obtains a first illuminance collected by a illuminance sensor, wherein the illuminance sensor is installed on a window of a room.
[0041] Specifically, when at least two light sensors are installed on windows facing the same direction in a room, the electronic device 100 may obtain the first light intensity collected by the light sensors by: the electronic device 100 obtains the maximum value of the light intensity collected by the at least two light sensors installed on windows facing the same direction.
[0042] In step 302 , the electronic device 100 determines the average illuminance in the room according to the window azimuth, the first illuminance, and the area ratio of the window to the room.
[0043] In step 303 , the electronic device 100 opens or closes the curtains according to the average illumination in the room and the current opening / closing degree of the curtains installed on the windows to adjust the illumination in the room.
[0044] Specifically, the electronic device 100 opens or closes the curtains installed on the windows according to the average illumination in the room and the current opening and closing degree of the curtains to adjust the light illumination in the room. This can be as follows: the electronic device 100 determines the illumination interval to which the average illumination in the room belongs, and obtains the curtain opening and closing degree interval corresponding to the illumination interval; if the current opening and closing degree of the curtains is not within the curtain opening and closing degree interval, when the current opening and closing degree of the curtains is less than the minimum value of the curtain opening and closing degree interval, obtains the current time, and opens the curtains according to the current time; when the current opening and closing degree of the curtains is greater than the maximum value of the curtain opening and closing degree interval, closes the curtains so that the opening and closing degree of the curtains falls within the curtain opening and closing degree interval.
[0045] For example, assuming that the electronic device 100 determines that the average illuminance in the room belongs to an illumination interval of [9000, 20000), the electronic device 100 can obtain the curtain opening and closing interval [10%, 30%] corresponding to the illumination interval. If the current opening and closing degree of the curtain is 40%, it can be determined that the current opening and closing degree of the curtain is not within the curtain opening and closing interval and is greater than the maximum value of the curtain opening and closing interval. In this case, the curtain can be closed to bring the curtain opening and closing degree within the curtain opening and closing interval. If the current opening and closing degree of the curtain is 8%, it can be determined that the current opening and closing degree of the curtain is not within the curtain opening and closing interval and is less than the minimum value of the curtain opening and closing interval. In this case, the current time can be obtained and the curtain can be opened based on the current time to bring the curtain opening and closing degree within the curtain opening and closing interval. It should be noted that the curtains can be opened according to the current time by pre-setting the time period during which the curtains are allowed to be opened. For example, the time period during which the curtains are allowed to be opened can be set to 7:00-17:00. If the current time is within the time period, the curtains can be opened, but if the current time is not within the time period, the curtains will not be opened.
[0046] In the above-mentioned method for adjusting indoor light intensity, after the electronic device 100 obtains the first light intensity collected by the light intensity sensor, it determines the average light intensity in the room based on the window azimuth, the first light intensity, and the area ratio of the window to the room. Then, the electronic device 100 opens or closes the curtains based on the average light intensity in the room and the current opening and closing degree of the curtains installed on the window to adjust the light intensity in the room. In this way, the average light intensity in the room can be obtained through the light intensity collected by the light intensity sensor, and then the opening or closing of the curtains can be controlled based on the average light intensity in the room, thereby adjusting the light intensity in the room and improving the user experience.
[0047] FIG4 is a flow chart of a method for adjusting indoor light intensity according to another embodiment of the present application. As shown in FIG4 , in the embodiment shown in FIG3 of the present application, step 302 may include:
[0048] In step 401, the electronic device 100 determines the average illuminance of direct light and diffusely reflected light in the room based on the window azimuth, the first illuminance, the area ratio of the window to the room, and the diffuse reflection coefficient; and determines the average illuminance of scattered light in the room based on the window azimuth, the first illuminance, the area ratio of the window to the room, and the scattering coefficient.
[0049] In step 402 , the electronic device 100 determines an average illumination in the room according to the average illumination of the direct light and the diffusely reflected light in the room, and the average illumination of the scattered light in the room.
[0050] Specifically, the average illuminance in the room may be the sum of the average illuminance of direct light and diffusely reflected light in the room, and the average illuminance of the scattered light in the room.
[0051] Figure 5 is a schematic diagram of the impact of outdoor sunlight on the lighting in the room provided by an embodiment of the present application. Referring to Figure 5, the impact of outdoor sunlight on the lighting in the room can be decomposed into three parameters: direct light, outdoor scattered light and indoor light spot diffuse reflection. Therefore, to determine the average illumination in the room, it is necessary to consider the impact of these three parameters: direct light, scattered light and diffuse reflection light on the average illumination in the room.
[0052] 1. Average illumination of direct light and diffuse light in the room
[0053] Specifically, the direction of the window can be set to d win , and at time t, the direction of the sun is d sun In addition, the orientation of the plane of interest can be set to d plain After obtaining the value of the light sensor I lux with I env Afterwards, the solar intensity at time t can be obtained as:
[0054] I sun =(I lux -I env ) / cos(d win ,d sun ) (1)
[0055] In formula (1), I sun is the solar intensity at time t; I lux I is the first illuminance collected by the illuminance sensor, indicating the illuminance in the sunny area; env is the illuminance in the shade, I env Can be based on I lux Obtained in proportion, in actual scenarios, the typical value of this ratio can be: 0.3; cos(d win ,d sun ) is the cosine of the angle between the window direction and the sun direction, cos(d win ,d sun ) can be obtained based on the window azimuth.
[0056] On this basis, the light intensity I generated by the direct light on the plane of interest can be obtained. plainwin :
[0057] I plainwin =I sun ·cos(d sun ,d plain ) (2)
[0058] At this time, since the light cannot directly act on all planes, the area size S corresponding to the above intensity plainwin It can be shown as formula (3).
[0059] S plainwin =S win *tan(d win ,d sun ) (3)
[0060] In formula (3), S win is the area of the window; see Figure 5, S plainwin It can be the area of the plane shown by 51 in FIG. 5 .
[0061] Since the light intensity generated by direct light has a certain reflection in the whole room, according to the diffuse reflection coefficient c1=0.3 and the diffuse reflection theory of light, the average illumination I of direct light and diffuse reflected light in the room can be calculated. ave1 :
[0062] In formula (4), S room is the area of the room, is the area ratio of windows to rooms, The value of is generally Between, cos(d win ,d sun ) is the cosine of the angle between the window direction and the sun direction, cos(d win ,d sun ) can be obtained according to the window azimuth; f(S plainwin , S room ) is the ratio of the spot area formed by direct light entering the room through the window to the room area.
[0063] 2. Average illumination of scattered light in the room
[0064] Scattered light provides a value for indoor lighting in a diffuse manner. Therefore, the average illuminance of the room is I ave2 , can be calculated according to formula (5).
[0065] In formula (5), c2 is the scattering coefficient, and the value of c2 can be 0.4; f(S room , S win) is the ratio of the room area to the window area.
[0066] After obtaining the average illuminance of direct light and diffuse reflected light in the room, and the average illuminance of scattered light in the room, the electronic device 100 determines the average illuminance in the room based on the average illuminance of direct light and diffuse reflected light in the room, and the average illuminance of scattered light in the room, as shown in formula (6).
[0067] FIG6 is a flow chart of a method for adjusting indoor light intensity according to another embodiment of the present application. As shown in FIG6 , in the embodiment shown in FIG3 of the present application, before step 302, the following steps may also be included:
[0068] In step 601 , the electronic device 100 obtains a second illuminance collected by a illuminance sensor within a predetermined time period.
[0069] The predetermined time period may be a period of time before the current moment and may be set during specific implementation. This embodiment does not limit the predetermined time period.
[0070] In step 602 , the electronic device 100 filters the second illuminance to obtain a third illuminance, and acquires a collection time of the third illuminance.
[0071] In some examples, the electronic device 100 can filter out the maximum illuminance from the above-mentioned second illuminances as the third illuminance, and obtain the collection time of the third illuminance. Of course, this is only one implementation method of this embodiment and does not constitute a limitation of this embodiment. This embodiment does not limit the method of filtering to obtain the third illuminance.
[0072] In step 603, the electronic device 100 determines the window azimuth according to the third illuminance, the time of collecting the third illuminance, the longitude and latitude of the location of the room, and the time zone to which the longitude and latitude belong.
[0073] In this embodiment, the above-mentioned window azimuth is the solar azimuth. In specific implementation, the electronic device 100 can use the ecliptic coordinate system in the celestial coordinate system to calculate the above-mentioned window azimuth based on the third illuminance, the collection time of the third illuminance, the longitude and latitude of the location of the above-mentioned room, and the time zone to which the above-mentioned longitude and latitude belong.
[0074] It is understood that some or all of the steps or operations in the above embodiments are merely examples, and the present application embodiments may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the above embodiments, and it is possible that not all of the operations in the above embodiments need to be performed.
[0075] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed in this application, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.
[0076] This embodiment can divide the electronic device into functional modules based on the above-mentioned method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0077] FIG7 is a schematic diagram of the structure of an electronic device provided in another embodiment of the present application. In the case where each functional module is divided according to each function, FIG7 shows a possible schematic diagram of the composition of an electronic device 700 involved in the above embodiment. As shown in FIG7 , the electronic device 700 may include: an acquisition module 701, a determination module 702, and an adjustment module 703;
[0078] The acquisition module 701 is configured to acquire a first illuminance collected by a illuminance sensor, wherein the illuminance sensor is installed on a window of the room;
[0079] a determination module 702 for determining an average illuminance in the room based on the window azimuth, the first illuminance, and an area ratio between the window and the room;
[0080] The adjustment module 703 is configured to open or close the curtains according to the average illumination in the room and the current opening / closing degree of the curtains installed on the windows, so as to adjust the illumination in the room.
[0081] In this embodiment, the determination module 702 is specifically used to determine the average illumination of direct light and diffuse reflected light in the above-mentioned room based on the window azimuth, the first light illuminance, the area ratio of the above-mentioned window and the above-mentioned room, and the diffuse reflection coefficient; and to determine the average illumination of scattered light in the above-mentioned room based on the window azimuth, the first light illuminance, the area ratio of the above-mentioned window and the above-mentioned room, and the scattering coefficient; and to determine the average illumination in the above-mentioned room based on the average illumination of the above-mentioned direct light and diffuse reflected light in the above-mentioned room, and the average illumination of the above-mentioned scattered light in the above-mentioned room.
[0082] Furthermore, the determination module 702 is further configured to determine the illumination interval to which the average illumination in the room belongs;
[0083] The acquisition module 701 is further configured to acquire the curtain opening and closing interval corresponding to the illumination interval;
[0084] The adjustment module 703 is specifically configured to, when the current opening degree of the curtain is not within the curtain opening degree range, obtain a current time if the current opening degree is less than a minimum value of the curtain opening degree range, and open the curtain according to the current time; and, if the current opening degree is greater than a maximum value of the curtain opening degree range, close the curtain so that the opening degree of the curtain falls within the curtain opening degree range.
[0085] Furthermore, the acquisition module 701 is further configured to, before the determination module 702 determines the average illuminance in the room, acquire a second illuminance collected by the illuminance sensor within a predetermined time period; filter the second illuminance to obtain a third illuminance; and obtain a time at which the third illuminance is collected;
[0086] The determination module 702 is further configured to determine the window azimuth according to the third illuminance, the time of collecting the third illuminance, the longitude and latitude of the location of the room, and the time zone to which the longitude and latitude belong.
[0087] In this embodiment, at least two light sensors may be installed on the windows facing the same direction in the room; thus, the acquisition module 701 is specifically configured to obtain the maximum value of the light intensities collected by the at least two light sensors installed on the windows facing the same direction.
[0088] It should be noted that all relevant contents of each step involved in the method embodiments shown in Figures 3 to 6 of the present application can be referred to the functional description of the corresponding functional modules and will not be repeated here.
[0089] The electronic device 700 provided in this embodiment is used to execute the indoor light intensity adjustment method provided in the embodiments shown in Figures 3 to 6 of this application, and thus can achieve the same effect as the above method.
[0090] It should be understood that the electronic device 700 may correspond to the electronic device 100 shown in Figure 1 . The functions of the acquisition module 701 , the determination module 702 , and the adjustment module 703 may be implemented by the processor 110 in the electronic device 100 shown in Figure 1 .
[0091] In the case of adopting an integrated unit, the electronic device 700 may include a processing module, a storage module, and a communication module.
[0092] The processing module can be used to control and manage the actions of the electronic device 700. For example, it can be used to support the electronic device 700 in executing the steps performed by the acquisition module 701, determination module 702, and adjustment module 703. The storage module can be used to support the electronic device 700 in storing program code and data. The communication module can be used to support communication between the electronic device 700 and other devices.
[0093] Among them, the processing module can be a processor or a controller, which can implement or execute the various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip and / or a Wi-Fi chip.
[0094] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device 700 involved in this embodiment may be a device having the structure shown in FIG. 1 .
[0095] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is run on a computer, the computer executes the method provided in the embodiments shown in Figures 3 to 6 of the present application.
[0096] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided in the embodiments shown in Figures 3 to 6 of the present application.
[0097] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.
[0098] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0099] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0100] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0101] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A method for adjusting indoor light intensity, characterized in that: include: Acquire a first light intensity collected by a light intensity sensor; wherein the light intensity sensor is installed on a window of the room; Determining an average illumination in the room according to the window azimuth, the first illuminance, and an area ratio of the window to the room; According to the average illumination in the room and the current opening degree of the curtain installed on the window, the curtain is opened or closed to adjust the illumination in the room.
2. The method according to claim 1, characterized in that The determining the average illumination in the room according to the window azimuth, the first illuminance, and the area ratio of the window to the room comprises: Determine the average illumination of direct light and diffuse reflected light in the room according to the window azimuth, the first illumination, the area ratio of the window to the room, and the diffuse reflection coefficient; and determine the average illumination of scattered light in the room according to the window azimuth, the first illumination, the area ratio of the window to the room, and the scattering coefficient; The average illumination in the room is determined according to the average illumination of the direct light and the diffuse reflected light in the room and the average illumination of the scattered light in the room.
3. The method according to claim 1, characterized in that The step of opening or closing the curtain according to the average illumination in the room and the current opening degree of the curtain installed on the window to adjust the illumination in the room includes: Determine the illumination interval to which the average illumination in the room belongs, and obtain the curtain opening and closing interval corresponding to the illumination interval; If the current opening degree of the curtain is not within the curtain opening degree interval, when the current opening degree is less than the minimum value of the curtain opening degree interval, the current time is obtained, and the curtain is opened according to the current time; when the current opening degree is greater than the maximum value of the curtain opening degree interval, the curtain is closed so that the opening degree of the curtain falls within the curtain opening degree interval.
4. The method according to claim 1, characterized in that Before determining the average illumination in the room according to the window azimuth, the first illuminance, and the area ratio of the window to the room, the method further includes: Acquiring a second light intensity collected by the light intensity sensor within a predetermined time period; Screening the second light illuminance to obtain a third light illuminance, and acquiring a collection time of the third light illuminance; The window azimuth is determined according to the third light illumination, the time when the third light illumination is collected, the longitude and latitude of the room, and the time zone to which the longitude and latitude belong.
5. The method according to any one of claims 1 to 4, characterized in that: At least two light sensors are installed on the windows facing the same direction in the room; The step of obtaining the first light intensity collected by the light intensity sensor comprises: Obtain a maximum value of illuminances collected by at least two illuminance sensors installed on windows facing the same direction.
6. A device for adjusting indoor light intensity, characterized in that: include: An acquisition module, used for acquiring a first light intensity collected by a light intensity sensor; wherein the light intensity sensor is installed on a window of a room; A determination module, configured to determine an average illumination in the room according to the window azimuth, the first illumination, and an area ratio of the window to the room; The adjustment module is used to open or close the curtain according to the average illumination in the room and the current opening degree of the curtain installed on the window, so as to adjust the illumination in the room.
7. An electronic device, characterized in that: include: one or more processors; Memory; Multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the electronic device, enable the electronic device to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Environment zone controller
CN101819435A
Window and method and system for controlling window to being opened and closed
CN104481335A
Energy-saving-based indoor illumination control system and regulation and control method
CN112996202A
Smart energy-saving control system enable energy-saving actions to take place in response to the status of indoor environment, thereby automatically providing efficacies of environmental protection, energy saving, carbon reduction
TW201727422A
Smart curtain system and method of adjusting opening of curtain dynamically
US20200217132A1