Method and device for controlling intelligent curtain and intelligent curtain
By obtaining the angle information of sunlight and outdoor light intensity, determining the indoor light intensity and adjusting the smart curtains, the problem of the sensor installation position affecting the control accuracy is solved, achieving more accurate automatic control and cost savings.
Patent Information
- Application Number
- CN202311711647.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-13
- Publication Date
- 2025-06-13
AI Technical Summary
In the existing automatic control method of smart curtains, the sunlight intensity detected by the sensor is easily affected by the sensor installation position, resulting in inaccurate control of the curtains and unable to meet the actual user needs.
By obtaining the angle information of sunlight and outdoor light intensity, determine the indoor light intensity, and adjust the smart curtains based on the light intensity and angle information to achieve automatic control.
There is no need to install a sensor, and the automatic control of curtains is achieved through only the sunlight lighting information, which improves control accuracy and saves the cost of smart curtains.
Smart Images

Figure CN120130804A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home, and more particularly, to a method, a device and a smart curtain for controlling a smart curtain. Background Art
[0002] With the continuous development and popularization of smart home, the number of smart home devices in users' homes is increasing, and the smart curtain is one of them. Currently, users can simply control the smart curtain through an app to adjust the rotation angle and opening degree of the curtain.
[0003] In the prior art, sensors are usually installed on the smart curtain to detect the light intensity and achieve automatic control of the curtain.
[0004] In the process of implementing the embodiments of the present application, it is found that there are at least the following problems in the related art:
[0005] The sunlight intensity detected by the sensor is easily affected by the installation position of the sensor, resulting in inaccurate control of the curtain and the indoor sunlight irradiation range not meeting the actual user needs.
[0006] It should be noted that the information disclosed in the above background art is only used to enhance the understanding of the background of the present application, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0007] To provide a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a comprehensive review, nor is it intended to identify key / important elements or delineate the scope of protection of these embodiments. Instead, it serves as a preface to the subsequent detailed description.
[0008] The embodiments of the present application provide a method, a device and a smart curtain for controlling a smart curtain to improve the control accuracy of the smart curtain.
[0009] In some embodiments, the method includes: obtaining the angle information of sunlight at the current moment; determining the indoor light intensity according to the angle information of sunlight and the outdoor light intensity at the current moment; and adjusting the smart curtain according to the indoor light intensity and the angle information.
[0010] Optionally, the angle information of sunlight includes the solar azimuth angle and the solar altitude angle; the determining of the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment includes: determining the incident angle of sunlight according to the solar azimuth angle, the solar altitude angle and the window azimuth angle; and determining the indoor light intensity at the current moment according to the incident angle and the outdoor light intensity at the current moment.
[0011] Optionally, adjusting the target smart curtain according to the indoor light intensity and the angle information includes: determining a light level according to the indoor light intensity and the incident angle; determining a curtain control strategy according to the light level; and adjusting the angle of the smart curtain based on the curtain control strategy.
[0012] Optionally, the light levels include weak, moderate, strong, and extremely strong; determining the light level according to the indoor light intensity and the incident angle includes: when the incident angle is less than or equal to a preset angle, determining that the light level is weak; or when the incident angle is greater than the preset angle and the indoor light intensity is less than or equal to a first preset intensity, determining that the light level is moderate; or when the incident angle is greater than the preset angle, the indoor light intensity is greater than the first preset intensity, and the indoor light intensity is less than or equal to a second preset intensity, determining that the light level is strong; or when the incident angle is greater than the preset angle and the indoor light intensity is greater than the second preset intensity, determining that the light level is extremely strong; where the first preset intensity is less than the second preset intensity.
[0013] Optionally, determining the target smart curtain control strategy according to the light level includes: when the indoor light level is weak, determining that the angle of the target smart curtain is always fully open; or when the indoor light level is moderate, determining that the angle of the target smart curtain is parallel to the sunlight in real time; or when the indoor light level is strong, determining that the angle between the target smart curtain and the sunlight in real time is a preset angle; or when the indoor light level is extremely strong, determining that the angle of the target smart curtain is always perpendicular to the sunlight.
[0014] Optionally, the method further includes: obtaining a preset user habit model; inputting the angle information into the user habit model to obtain a target position output by the user habit model; and adjusting the opening degree of the target smart curtain so that the irradiation range of the sunlight does not include the target position.
[0015] Optionally, the user habit model is trained by the following method: obtaining multiple groups of training data; where each group of training data includes angle information when the user adjusts the curtain and label information identifying the target position where the user wants to avoid sunlight; and training the user habit model based on the multiple groups of training data.
[0016] In some embodiments, the device includes: an acquisition module configured to acquire the angle information of sunlight at the current moment at the location where the target intelligent curtain is located; a determination module configured to determine the indoor light intensity at the current moment according to the angle information of sunlight and the outdoor light intensity at the current moment; and an adjustment module configured to adjust the target intelligent curtain according to the indoor light intensity and the angle information.
[0017] In some embodiments, the intelligent curtain includes: a curtain body; and the above device for controlling the intelligent curtain, which is installed on the curtain body.
[0018] The method, device and intelligent curtain for controlling an intelligent curtain provided by the embodiments of the present application can achieve the following technical effects:
[0019] First, acquire the angle information of sunlight and the outdoor light intensity at the current moment at the location where the target intelligent curtain is located, and based on the angle information of sunlight and the outdoor light intensity, determine the indoor light intensity at the current moment, and then adjust the target intelligent curtain. The embodiments of the present application do not require the installation of sensors, and can realize the automatic control of the curtain only through the light information of sunlight. Therefore, it is not affected by the installation position and sensitivity of the sensors, the control of the curtain is more accurate, and at the same time, the cost of the intelligent curtain is effectively saved.
[0020] The above general description and the following description are only exemplary and explanatory, and are not used to limit the present application. Description of the Drawings
[0021] The drawings here are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
[0023] Figure 1 Schematic diagram of the hardware environment of a method for controlling an intelligent curtain according to an embodiment of the present application;
[0024] Figure 2 Flowchart of a method for controlling an intelligent curtain provided by an embodiment of the present application;
[0025] Figure 3 Schematic diagram of the angle information of sunlight;
[0026] Figure 4Schematic diagram of the included angle between the sunlight angle and the window in each time period;
[0027] Figure 5 Flowchart of another method for controlling an intelligent curtain provided by an embodiment of the present application;
[0028] Figure 6 Flowchart of yet another method for controlling an intelligent curtain provided by an embodiment of the present application;
[0029] Figure 7 Schematic diagram of a curtain following sunlight provided by an embodiment of the present application;
[0030] Figure 8 Flowchart of still another method for controlling an intelligent curtain provided by an embodiment of the present application;
[0031] Figure 9 Flowchart of a method for controlling an intelligent curtain in an actual application scenario provided by an embodiment of the present application;
[0032] Figure 10 Schematic structural diagram of a device for controlling an intelligent curtain provided by an embodiment of the present application;
[0033] Figure 11 Schematic structural diagram of a device for controlling an intelligent curtain provided by an embodiment of the present application;
[0034] Figure 12 Schematic diagram of an intelligent curtain provided by an embodiment of the present application. Detailed implementation manners
[0035] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] The method for controlling smart curtains provided in the embodiment of the present application can be widely used in smart home (SmartHome), smart home, smart home equipment ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the method for controlling smart curtains can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 through a network, and can be used to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104. It should be understood that the above-mentioned terminal device 102 in the embodiment of the present application can be a smart curtain.
[0038] The existing automatic control method for smart curtains directly adjusts the curtain equipment. The parameters of the equipment adjustment are pre-set according to time, geographical location and other conditions. Therefore, most users may have the same adjustment parameters, which lacks personalization and cannot meet the different preferences of different users for curtain adjustment.
[0039] However, if you try to install a light sensor on each curtain, the price of a light intensity sensor that can grade the light intensity ranges from hundreds to thousands, which will greatly increase the production cost of smart curtains. In addition, the sensor has a limited lifespan, which makes subsequent maintenance inconvenient, thus affecting the adjustment accuracy of the curtains.
[0040] Based on this, an embodiment of the present application provides a method for controlling smart curtains, which uses the angle information of sunlight and real-time outdoor lighting information to adjust the curtains. It has low cost and high data accuracy, thereby improving the adjustment accuracy of the smart curtains.
[0041] Combined Figure 2 As shown, a method for controlling an intelligent curtain provided by an embodiment of the present application is as follows Figure 2 As shown, the method includes:
[0042] S201: Obtain the angle information of sunlight at the current moment at the location of the target intelligent curtain.
[0043] S202: Determine the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment.
[0044] S203: Adjust the target intelligent curtain according to the indoor light intensity and the angle information.
[0045] For the above method provided by the embodiment of the present application, first obtain the angle information of sunlight and the outdoor light intensity at the current moment at the location of the target intelligent curtain, and based on the angle information of sunlight and the outdoor light intensity, determine the indoor light intensity at the current moment, and then adjust the target intelligent curtain. The embodiment of the present application does not require the installation of sensors, and can realize the automatic control of the curtain only through the light information of sunlight. Therefore, it is not affected by the installation position and sensitivity of the sensors, and the control of the curtain is more accurate, and at the same time, the cost of the intelligent curtain is effectively saved.
[0046] Optionally, the angle information of sunlight includes the solar azimuth angle and the solar altitude angle; determining the indoor light intensity at the current moment according to the angle information of sunlight and the outdoor light intensity at the current moment includes: determining the incident angle of sunlight according to the solar azimuth angle, the solar altitude angle and the window azimuth angle; determining the indoor light intensity at the current moment according to the incident angle and the outdoor light intensity at the current moment.
[0047] Figure 3 It is a schematic diagram of the angle information of sunlight. The solar altitude angle refers to the angle between the incident direction of sunlight and the ground plane direction for a certain point on the earth, that is, the solar altitude angle refers to the angle between the solar rays at a certain place and the tangent line of the landmark connected to the earth's center through this place. The solar altitude angle is Figure 3 the Elevation Angle in
[0048] The solar azimuth angle is the deviation angle of the orientation relative to the due north. The sun rises in the east and sets in the west. The azimuth angle ranges from 0 to 360 degrees from 0:00 to 24:00 at night. Convert the azimuth angle to the angle between the window and the sun rays. The solar altitude angle is Figure 3 the zimuthAngle in
[0049] Figure 4It is the angle between the azimuth of sunlight and the window for each time period. The azimuth angle of the window is the angle between the orientation of the window and the set coordinate system. For example, taking the north-up, south-down, west-left, and east-right as the coordinate axes, the window facing due north is 0 degrees, the window facing due south is 180 degrees, the window facing due west is -90 degrees, the window facing due east is +90 degrees, and the azimuth angle of the window in other directions is the angle between the window orientation and the coordinate axes. Of course, the coordinate system can also be formulated according to other rules, and the embodiments of the present application do not limit this. As Figure 4 shown, taking the south-facing window as an example and only considering the daytime situation, the sun angle starts from 0 degrees in the morning and reaches about 180 degrees in the evening. The angle between the sun rays and any window with any orientation at any moment can be obtained through calculation.
[0050] The outdoor light intensity at the current moment can be obtained from meteorological data. The granularity of the light intensity in meteorological data is very fine and can be accurate to the district or county level. By accessing the light intensity, the cost of installing sensors on the curtains can be saved. The meteorological data can be directly obtained from the meteorological server.
[0051] Specifically, the indoor light intensity can be calculated by the following formula:
[0052] IndoorLightIntensity=sin(θ)*outdoorLightIntensity
[0053] Among them, the angle between the window and the sun rays can be calculated in real time as θ. The light intensity entering the room is recorded as the indoor light intensity (IndoorLightIntensity), and outdoorLightIntensity is the outdoor light intensity. In this way, using the information of sunlight and the house location information, the indoor illuminance at the current moment can be obtained without the help of sensors, effectively saving the cost of intelligent curtains.
[0054] Combined with Figure 5 shown, it is another method for controlling an intelligent curtain provided by the embodiments of the present application. As Figure 5 shown, this method includes:
[0055] S501: Obtain the angle information of sunlight at the current moment at the location of the target intelligent curtain.
[0056] S502: Determine the indoor light intensity according to the angle information of sunlight and the outdoor light intensity at the current moment.
[0057] S503: Determine the incident angle of sunlight according to the sun azimuth angle, the sun altitude angle, and the window azimuth angle;
[0058] S504: Determine the indoor light intensity according to the incident angle and the outdoor light intensity at the current moment.
[0059] S505: Determine the lighting level based on the indoor light intensity and the incident angle.
[0060] S506: Determine the curtain control strategy according to the lighting level.
[0061] S507: Adjust the angle of the smart curtain based on the curtain control strategy.
[0062] In this embodiment, after determining the indoor light intensity, the lighting level is jointly determined according to the light intensity and the incident angle. According to different levels, the curtain control strategy is determined from the preset corresponding relationship. In this way, different lighting levels adopt different strategies, and the strategies corresponding to each level can be adjusted at any time according to the longitude and latitude, climate, season, etc. of the city where it is located. The control process is flexible and the adaptation range is wide.
[0063] Optionally, the lighting levels include weak, moderate, strong, and extremely strong. Determining the lighting level according to the light intensity and the incident angle includes: when the incident angle is less than or equal to the preset angle, determining the lighting level as weak; or, when the incident angle is greater than the preset angle and the indoor light intensity is less than or equal to the first preset intensity, determining the lighting level as moderate; or, when the incident angle is greater than the preset angle, the indoor light intensity is greater than the first preset intensity, and the indoor light intensity is less than or equal to the second preset intensity, determining the lighting level as strong; or, when the incident angle is greater than the preset angle and the indoor light intensity is greater than the second preset intensity, determining the lighting level as extremely strong. Among them, the first preset intensity is less than the second preset intensity.
[0064] In this embodiment, the lighting level is divided into four levels. According to the actual situation and customer needs, the lighting level can also be divided into other numbers of levels. For example, two levels, three levels, five levels or more levels. The embodiments of the present application do not make limitations.
[0065] It can also be understood that the lighting level can be fixed or changed at any time. For example, when the sunlight intensity is weak in winter, fewer lighting levels can be set. When the sunlight intensity is strong in midsummer, more lighting levels can be set. Whether the lighting level is fixed or not does not affect the implementation of the embodiments of the present application.
[0066] Combined with Figure 6 As shown, another method for controlling a smart curtain provided by an embodiment of the present application is as Figure 6 shown. The method includes:
[0067] S601: Obtain the angle information of the sunlight at the current moment at the position where the target smart curtain is located.
[0068] S602: Determine the indoor light intensity at the current moment based on the angle information of sunlight and the outdoor light intensity at the current moment.
[0069] S603: Determine the incident angle of sunlight based on the azimuth angle of sunlight, the altitude angle of sunlight, and the azimuth angle of the window.
[0070] S604: Determine the indoor light intensity based on the incident angle and the outdoor light intensity at the current moment.
[0071] S605: Determine the light level based on the light intensity and the incident angle.
[0072] S606: When the light level is weak, determine that the angle of the target intelligent curtain is always fully open.
[0073] S607: Alternatively, when the light level is moderate, determine that the angle of the target intelligent curtain is parallel to the sunlight in real time.
[0074] S608: Alternatively, when the light level is strong, determine that the angle between the target intelligent curtain and the sunlight is a preset angle in real time.
[0075] S609: Alternatively, when the light level is extremely strong, determine that the angle of the target intelligent curtain is always perpendicular to the sunlight.
[0076] S610: Adjust the angle of the intelligent curtain based on the curtain control strategy.
[0077] In the above embodiments, when the light level is moderate, controlling the rotation direction of the blades of the target intelligent curtain to be parallel to the sunlight can block a part of the light, but not too much to cause insufficient indoor light. When the light level is strong, keeping the rotation direction of the blades of the target intelligent curtain at a preset angle with the sunlight, and this preset angle can be preset and saved according to user habits, or can be updated at any time. When the light level is extremely strong, controlling the rotation direction of the blades of the target intelligent curtain to be always perpendicular to the sun rays can ensure the indoor brightness while avoiding direct sunlight. In this way, setting the target intelligent curtain to follow the sun can ensure that the sunlight in the house is always in a balanced state, neither too dark nor too bright, improving the user experience.
[0078] Specifically, refer to Figure 7 As shown, it is a schematic diagram of a curtain following sunlight provided by an embodiment of the present application. Among them, the straight line with an arrow represents the light ray of sunlight, and the straight line without an arrow represents the rotatable blade on the curtain.
[0079] Combined with Figure 8 As shown, it is another method for controlling an intelligent curtain provided by an embodiment of the present application, as Figure 8As shown, the method includes:
[0080] S801: Obtain the angle information of sunlight at the current moment at the location where the target intelligent curtain is located.
[0081] S802: Determine the indoor light intensity at the current moment according to the angle information of sunlight and the outdoor light intensity at the current moment.
[0082] S803: Adjust the intelligent curtain according to the indoor light intensity and the angle information.
[0083] S804: Obtain the preset user habit model.
[0084] S805: Input the angle information into the user habit model to obtain the target position output by the user habit model.
[0085] S806: Adjust the opening and closing degree of the target intelligent curtain so that the sunlight irradiation range does not include the target position.
[0086] In the embodiment of the present application, a model is further trained according to user habits, and the position or range that the user does not want sunlight to irradiate is automatically recognized based on the user habit model, and then the opening and closing of the target intelligent curtain is controlled, further improving the intelligence level of the curtain and the human-computer interaction friendliness.
[0087] Optionally, the user habit model is trained by the following method: obtain multiple groups of training data; wherein, each group of training data includes the angle information when the user adjusts the curtain, and the label information indicating the target position where the user wants to avoid sunlight; train the user habit model based on the multiple groups of training data.
[0088] Specifically, within a certain period of time, collect the altitude angle and azimuth angle of the sun each time the user manually controls the curtain. According to the altitude angle, the depth of sunlight entering the room can be calculated, and according to the azimuth angle, the position where the light shines can be calculated. Therefore, according to the altitude angle and azimuth angle, the position where the user wants to avoid direct sunlight can be calculated each time the curtain is adjusted. For example, if the user has cosmetics on the bedside table and does not want to be directly irradiated by sunlight, when the sun reaches this position next time, the sunlight can be directly and vertically blocked to avoid direct sunlight hitting this position.
[0089] Combined with Figure 9 As shown, it is a method for controlling an intelligent curtain in an actual application scenario provided by the embodiment of the present application. As Figure 9 shown, the method includes:
[0090] 1. Determine the longitude and latitude of the user's current location according to the user's city, and calculate the azimuth angle and altitude angle of sunlight based on the longitude, latitude, and the current time.
[0091] 2. The window angle can be determined according to the window orientation, and the incident angle of sunlight can be calculated based on the window angle, the azimuth angle, and the altitude angle of sunlight.
[0092] 3. Based on the incident angle and the light intensity, the indoor light intensity Rinner at the current moment can be determined.
[0093] 4. By inputting the incident angle and the indoor light intensity into the perception model, the current light level can be obtained.
[0094] Among them, in the perception model, the preset angle is set to 10, the first preset intensity is set to 1000, and the second preset intensity is set to 3500.
[0095] 5. Execute the decision model.
[0096] When the light level is weak, the curtain is fully opened.
[0097] When the light level is moderate, keep the blades of the curtain always parallel to the sunlight.
[0098] When the light level is strong, keep the blades of the curtain at a certain angle to the sunlight.
[0099] When the light level is extremely strong, keep the blades of the curtain perpendicular to the sunlight.
[0100] 6. In the decision model, there is also a user habit model. Based on the output of the user habit model, the opening and closing angle of the curtain is controlled to ensure that the sunlight does not shine on the target position.
[0101] In the embodiment of the present application, the light intensity in the real-time weather data is used to replace the sensor installed on the curtain, saving the curtain cost and eliminating the problem of later sensor maintenance. Moreover, the curtain can be adjusted in real time according to the light intensity to keep a suitable light intensity indoors. Further, the user's usage habits are recorded to customize a personalized curtain automatic control strategy for the user.
[0102] Combined Figure 10 As shown, a device 1000 for controlling an intelligent curtain provided by an embodiment of the present application includes: an acquisition module 1001, a determination module 1002, and an adjustment module 1003. Among them, the acquisition module 1001 is configured to acquire the angle information of sunlight at the current moment at the position where the target intelligent curtain is located; the determination module 1002 is configured to determine the indoor light intensity at the current moment according to the angle information of sunlight and the outdoor light intensity at the current moment; the adjustment module 1003 is configured to adjust the intelligent curtain according to the indoor light intensity and the angle information.
[0103] The above-mentioned device provided by the embodiment of the present application first obtains the angle information of sunlight and the outdoor light intensity at the current moment at the location of the target intelligent curtain, and determines the indoor light intensity at the current moment based on the angle information of sunlight and the outdoor light intensity, and then adjusts the target intelligent curtain. The embodiment of the present application does not require the installation of sensors, and can realize the automatic control of the curtain only through the light information of sunlight. Therefore, it is not affected by the installation position and sensitivity of the sensors, the control of the curtain is more accurate, and at the same time, the cost of the intelligent curtain is effectively saved.
[0104] Optionally, the angle information of the sunlight includes the solar azimuth angle and the solar altitude angle; the determining of the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment includes: determining the incident angle of sunlight according to the solar azimuth angle, the solar altitude angle, and the window azimuth angle; determining the indoor light intensity at the current moment according to the incident angle and the outdoor light intensity at the current moment.
[0105] Optionally, the adjusting of the target intelligent curtain according to the indoor light intensity and the angle information includes:. determining a light level according to the indoor light intensity and the incident angle; determining a curtain control strategy according to the light level; adjusting the angle of the intelligent curtain based on the curtain control strategy.
[0106] Optionally, the light levels include weak, moderate, strong, and extremely strong; the determining of the light level according to the indoor light intensity and the incident angle includes: determining the light level as weak when the incident angle is less than or equal to a preset angle; or, determining the light level as moderate when the incident angle is greater than the preset angle and the indoor light intensity is less than or equal to a first preset intensity; or, determining the light level as strong when the incident angle is greater than the preset angle, the indoor light intensity is greater than the first preset intensity, and the indoor light intensity is less than or equal to a second preset intensity; or, determining the light level as extremely strong when the incident angle is greater than the preset angle and the indoor light intensity is greater than the second preset intensity; wherein, the first preset intensity is less than the second preset intensity.
[0107] Optionally, determining the target intelligent curtain control strategy according to the illumination level includes: when the indoor illumination level is weak, determining that the angle of the target intelligent curtain is always fully open; or, when the indoor illumination level is moderate, determining that the angle of the target intelligent curtain is parallel to the sunlight in real time; or, when the indoor illumination level is strong, determining that the angle between the target intelligent curtain and the sunlight is a preset angle in real time; or, when the indoor illumination level is extremely strong, determining that the angle of the target intelligent curtain is always perpendicular to the sunlight.
[0108] Optionally, the method further includes: obtaining a preset user habit model; inputting the angle information into the user habit model to obtain a target position output by the user habit model; adjusting the opening and closing degree of the target intelligent curtain so that the irradiation range of the sunlight does not include the target position.
[0109] Optionally, the user habit model is trained by the following method: obtaining multiple groups of training data; where each group of training data includes angle information when the user adjusts the curtain and label information identifying the target position where the user wants to avoid sunlight; training the user habit model based on the multiple groups of training data.
[0110] Combined Figure 11 As shown in the figure, an apparatus 1100 for controlling an intelligent curtain provided in an embodiment of the present application includes a processor 100 and a memory 101. Optionally, the apparatus may further include a communication interface 102 and a bus 103. Among them, the processor 100, the communication interface 102, and the memory 101 can complete mutual communication through the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call the logical instructions in the memory 101 to execute the method for controlling the intelligent curtain in the above embodiment.
[0111] In addition, when the logical instructions in the above-mentioned memory 101 are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium.
[0112] The memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 100 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, implements the method for controlling the intelligent curtain in the above embodiment.
[0113] The memory 101 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.
[0114] Combined with Figure 12 As shown, an embodiment of the present application provides an intelligent curtain 1200, which is characterized by including: a curtain body 1201; the above-mentioned device 1000 or 1100 for controlling the intelligent curtain, which is installed on the curtain body 1201. The installation relationship described here is not limited to being placed inside the curtain body 1201, but also includes installation connections with other components of the curtain body 1201, including but not limited to physical connections, electrical connections, or signal transmission connections, etc. Those skilled in the art can understand that the device 1000 or 1100 for controlling the intelligent curtain can be adapted to a feasible curtain body 1201, thereby implementing other feasible embodiments.
[0115] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are set to execute the method for controlling an intelligent curtain in the above embodiment.
[0116] An embodiment of the present application provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the method for controlling an intelligent curtain in the above embodiment.
[0117] The above-mentioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transient computer-readable storage medium.
[0118] The technical solution of the embodiment of the present application can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present application. The foregoing storage medium may be a non-transient storage medium, including: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc that can store program codes, or may also be a transient storage medium.
[0119] The above description and the accompanying drawings fully illustrate the embodiments of the present application, enabling those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. Embodiments merely represent possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only for describing embodiments and do not limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Similarly, as used in this application, the term "and / or" refers to any and all possible combinations of one or more of the associated listed items. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. mean the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups thereof. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. Herein, what each embodiment focuses on can be the differences from other embodiments, and the same or similar parts among the embodiments can be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method parts disclosed in the embodiments, the relevant parts can refer to the description of the method parts.
[0120] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner can depend on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present application. The skilled person can 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 foregoing method embodiments, and will not be elaborated herein.
[0121] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units can be merely a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present application, the various functional units can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit.
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks can also occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks can also occur in a different order than that disclosed in the description. Sometimes, there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, which can depend on the functions involved. Each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0123] The above is only the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of the present application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A method for controlling an intelligent curtain, characterized in that, it includes: Obtaining the angle information of sunlight at the current moment at the location where the target intelligent curtain is located; Determining the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment; Adjusting the target intelligent curtain according to the indoor light intensity and the angle information.
2. The method according to claim 1, characterized in that, the angle information of the sunlight includes the solar azimuth angle and the solar altitude angle; the determining the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment includes: Determining the incident angle of sunlight according to the solar azimuth angle, the solar altitude angle and the window azimuth angle; Determining the indoor light intensity at the current moment according to the incident angle and the outdoor light intensity at the current moment.
3. The method according to claim 2, characterized in that, the adjusting the target intelligent curtain according to the indoor light intensity and the angle information includes: Determining the light level according to the indoor light intensity and the incident angle; Determining the curtain control strategy according to the light level; Adjusting the angle of the intelligent curtain based on the curtain control strategy.
4. The method according to claim 3, characterized in that, the light levels include weak, moderate, strong and extremely strong; the determining the light level according to the indoor light intensity and the incident angle includes: When the incident angle is less than or equal to a preset angle, determining that the light level is weak; or, When the incident angle is greater than the preset angle and the indoor light intensity is less than or equal to a first preset intensity, determining that the light level is moderate; or, When the incident angle is greater than the preset angle, the indoor light intensity is greater than the first preset intensity, and the indoor light intensity is less than or equal to a second preset intensity, determining that the light level is strong; or, When the incident angle is greater than the preset angle and the indoor light intensity is greater than the second preset intensity, determining that the light level is extremely strong; wherein, the first preset intensity is less than the second preset intensity.
5. The method according to claim 4, characterized in that, determining the target intelligent curtain control strategy according to the light level includes: When the indoor light level is weak, determining that the angle of the target intelligent curtain is always fully open; or, When the indoor light level is moderate, determining that the angle of the target intelligent curtain is parallel to the sunlight in real time; or, When the indoor light level is strong, determining that the angle of the target intelligent curtain forms a preset included angle with the sunlight in real time; or, When the indoor light level is extremely strong, determining that the angle of the target intelligent curtain is always perpendicular to the sunlight.
6. The method according to claim 1, characterized in that, the method further includes: Obtaining a preset user habit model; inputting the angle information into the user habit model to obtain the target position output by the user habit model; Adjust the opening degree of the target intelligent curtain so that the irradiation range of sunlight does not cover the target position.
7. The method according to claim 6, wherein, the user habit model is trained by the following method: Obtain multiple sets of training data; wherein, each set of training data includes the angle information when the user adjusts the curtain, and the label information identifying the target position where the user wants to avoid sunlight; Train the user habit model based on the multiple sets of training data.
8. A device for controlling an intelligent curtain, wherein, comprising: An acquisition module configured to acquire the angle information of sunlight at the current moment at the position where the target intelligent curtain is located; A determination module configured to determine the indoor light intensity at the current moment according to the angle information and the outdoor light intensity at the current moment; An adjustment module configured to adjust the target intelligent curtain according to the indoor light intensity and the angle information.
9. A device for controlling an intelligent curtain, comprising a memory and a processor, wherein, a computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.
10. An intelligent curtain, wherein, comprising: A curtain body; The device for controlling an intelligent curtain according to claim 8 or 9, which is installed on the curtain body.
Citation Information
Patent Citations
Curtain control method, storage medium and intelligent curtain
CN110547650A
Curtain control method and device, storage medium and intelligent curtain
CN116537686A
Illuminating energy reducing system using situation of sun
KR1020110073904A
Real time estimation of indoor lighting conditions
US20200349693A1