Curtain control method and device, storage medium and computer device
By calculating the opening speed of smart curtains and combining it with changes in lighting and music, the problem of cumbersome operation caused by single curtain control is solved, realizing convenient automated curtain control and a user-friendly wake-up experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2026-03-10
AI Technical Summary
The existing curtain control methods are limited, requiring users to manually operate the remote control to open the curtains the next day. This is cumbersome and cannot achieve convenient automated control.
By acquiring the curtain opening parameters uploaded by the mobile terminal, and combining the track length and opening time of the smart curtain, the opening speed is calculated, and the curtain is automatically driven to open at that speed at a preset time. It supports background music playback and changes in lighting environment, improving the user's waking experience.
The system enables the curtains to open automatically within a preset time, improving ease of control, and uses light and music to help wake up the user, enhancing the wake-up experience.
Smart Images

Figure CN115969215B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of curtain control, in particular to a curtain control method and device, a storage medium and a computer device. BACKGROUND
[0002] A curtain is a decorative product with the functions of sun-shading, heat-insulation and indoor light adjustment. With the development of technology, a curtain can be controlled electrically, including being driven to open, close and stop by a remote controller. For a curtain in a bedroom, in order to protect privacy during sleep, a user usually closes the curtain before sleeping. However, since the control mode of the curtain is very simple, the user has to find the remote controller and manually operate the remote controller to open the curtain the next day to adjust indoor light, which is very troublesome. SUMMARY
[0003] The present application aims to overcome the shortcomings and deficiencies in the prior art, and provides a curtain control method and device, a storage medium and a computer device, which can automatically open a curtain at a preset time and at a preset speed, thereby improving the convenience of controlling the curtain to open.
[0004] The first aspect of the present application provides a curtain control method, comprising:
[0005] obtaining curtain opening parameters uploaded by a mobile terminal; the curtain opening parameters include an opening time and a curtain opening time consumption;
[0006] obtaining an opening speed of the first smart curtain according to the slide rail length of the first smart curtain and the curtain opening time consumption;
[0007] driving the first smart curtain to open at the opening speed when a real-time time reaches the opening time.
[0008] The second aspect of the present application provides a curtain control device, comprising:
[0009] a curtain opening parameter obtaining module configured to obtain curtain opening parameters uploaded by a mobile terminal; the curtain opening parameters include an opening time and a curtain opening time consumption;
[0010] an opening speed obtaining module configured to obtain an opening speed of the first smart curtain according to the slide rail length of the first smart curtain and the curtain opening time consumption;
[0011] a curtain opening module configured to drive the first smart curtain to open at the opening speed when a real-time time reaches the opening time.
[0012] The third aspect of the embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the window curtain control method.
[0013] The fourth aspect of the embodiment of the present application provides a computer device, which comprises a storage, a processor and a computer program stored in the storage and executable by the processor, and the processor implements the steps of the window curtain control method when executing the computer program.
[0014] Compared with the related art, the present application can calculate the opening speed of the first smart window curtain according to the sliding rail length of the first smart window curtain and the window curtain opening time uploaded by the mobile terminal, drive the first smart window curtain to open the window curtain at the opening speed when the real-time time reaches the opening time uploaded by the mobile terminal, and realize the technical effect of automatically opening the window curtain at a preset speed at a preset time, thereby improving the convenience of controlling the window curtain to open.
[0015] In order to more clearly understand the present application, the specific embodiments of the present application will be described in the following with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 The flowchart of the window curtain control method of one embodiment of the present application.
[0017] Figure 2 The flowchart of steps S41-S43 of the window curtain control method of one embodiment of the present application.
[0018] Figure 3 The module connection diagram of the window curtain control device of one embodiment of the present application.
[0019] 100, window curtain control device; 101, window curtain opening parameter acquisition module; 102, opening speed acquisition module; 103, window curtain opening module. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical scheme and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0021] It should be clear that the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of protection of the present application.
[0022] The following description refers to the accompanying drawings. Unless otherwise noted, like elements in different drawings have the same or similar notation, and the same or similar elements in different drawings are represented with the same or similar references. In the description of the present application, it is to be understood that the terminology used is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. It is also possible in this particular case to interpret terms used in the description in accordance with their meaning in the art. The use herein of the terms "including", "comprising", "having" and "with" are meant to be interpreted as "including but not limited to". The use herein of the term "if" can be interpreted as "when" or "in response to determining" or "in response to a determination".
[0023] In addition, in the description of the present application, "a plurality of" means two or more, unless otherwise specified. The term "and / or" describes the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after are in an "or" relationship.
[0024] Referring to Figure 1 which is a flowchart of a window curtain control method according to an embodiment of the present application, the window curtain control method comprises:
[0025] S1: Obtain the window curtain opening parameter uploaded by the mobile terminal; the window curtain opening parameter comprises an opening time and a window curtain opening time.
[0026] The mobile terminal refers to an electronic device that can interact with the intelligent window curtain or the cloud server for controlling the intelligent window curtain, including electronic devices such as smart phones and tablet computers installed with intelligent window curtain control application programs.
[0027] S2: Obtain the opening speed of the first intelligent window curtain according to the slide rail length of the first intelligent window curtain and the window curtain opening time.
[0028] The first intelligent window curtain refers to the intelligent window curtain of the user's bedroom, wherein if the first intelligent window curtain is a single-opening window curtain, the slide rail length of the first intelligent window curtain is the total length of the slide rail of the first intelligent window curtain, and if the first intelligent window curtain is a double-opening window curtain, the slide rail length of the first intelligent window curtain is half of the total length of the slide rail of the first intelligent window curtain. The slide rail length can be bound to the model of the intelligent window curtain, that is, the mobile terminal can obtain the slide rail length of the first intelligent window curtain according to the model of the first intelligent window curtain; the slide rail length can also be input by the user.
[0029] The curtain opening time consumption is the time consumption of the first smart curtain from starting to open the curtain to completely opening the curtain, and the unit of the curtain opening time consumption can be seconds or minutes. The value of the curtain opening time consumption is input by the user or selected from a preset value list.
[0030] S3: When the real-time time reaches the opening time, drive the first smart curtain to open at the opening speed.
[0031] Compared with the related art, the embodiment can calculate the opening speed of the first smart curtain according to the slide rail length of the first smart curtain and the curtain opening time consumption uploaded by the mobile terminal. When the real-time time reaches the opening time uploaded by the mobile terminal, the first smart curtain is driven to open at the opening speed. The technical effect of automatically opening the curtain at a preset speed at a preset time is achieved, the convenience of controlling the opening of the curtain is improved, and the light outside the bedroom can be gradually irradiated into the bedroom when the first smart curtain automatically opens the curtain. Therefore, the light environment in the bedroom is gradually changed, and the user is assisted to wake up based on the change of the light environment.
[0032] In a feasible embodiment, the first smart curtain is provided with a music playing module, and the curtain opening parameter further includes background music.
[0033] The background music is target music selected by the user when setting the curtain opening parameter on the mobile terminal. Specifically, the user can select the target music in the music recommendation list of the mobile terminal, or search and select the target music through the search function.
[0034] The step S3: when the real-time time reaches the opening time, the step of driving the first smart curtain to open at the opening speed, includes:
[0035] S301: Obtain the music playing link of the background music.
[0036] The music playing link refers to the link address of the background music. Through the music playing link, the music resource of the background music can be obtained online and played.
[0037] S302: When the real-time time reaches the opening time, generate an opening instruction according to the opening speed and the music playing link and send it to the first smart curtain, drive the first smart curtain to open at the opening speed, and drive the first smart curtain to play the music resource pointed by the music playing link through the music playing module.
[0038] In the embodiment, since the opening instruction is generated according to the opening speed and the music playing link, the first smart curtain can be driven to open the curtain, and the music resource pointed by the music playing link can be played by the music playing module at the same time, so that the light environment and the sound environment in the bedroom can be changed at the same time, the user can be awakened by the light change and the music sound, and the getting-up experience and the getting-up state of the user can be improved.
[0039] In a feasible embodiment, the first smart curtain is provided with a music playing module, and the curtain opening parameter further includes background music.
[0040] Before the step of driving the first smart curtain to open at the opening speed when the real-time time reaches the opening time, the following steps are included:
[0041] The music resource of the background music is downloaded to the first smart curtain.
[0042] The step of driving the first smart curtain to open at the opening speed when the real-time time reaches the opening time includes:
[0043] When the real-time time reaches the opening time, an opening instruction is generated according to the opening speed and sent to the first smart curtain, the first smart curtain is driven to open at the opening speed, and the first smart curtain is driven to play the music resource through the music playing module.
[0044] Considering that playing background music in an online playing manner will be affected by signals, when the signals are not good, the playing of the background music will be intermittent, which will greatly affect the listening experience of the user and even the getting-up experience of the user and the getting-up state of the user, therefore, in the embodiment, before the first smart curtain is driven to open the curtain, the music resource of the background music is downloaded to the first smart curtain, the music resource of the background music is locally stored, when the first smart curtain is driven to open the curtain, the music resource of the background music can be played, and the fluency of playing the background music can be improved, so that the getting-up experience and the getting-up state of the user can be improved.
[0045] In a feasible embodiment, the curtain opening parameter further includes a music playing condition, and the music playing condition is sent to the first smart curtain with the opening instruction, so that the first smart curtain plays the background music through the music playing module according to the music playing condition.
[0046] The music playing condition can be a countdown, that is, the first smart curtain starts counting down from opening the curtain, and when the countdown is zero, the background music starts to play, thereby realizing the effect of delaying the playing of the background music. The music playing condition can also be a percentage of curtain opening, that is, when the ratio of the opened part to the unopened part of the curtain in the process of opening the curtain of the first smart curtain reaches the percentage of curtain opening in the music playing condition, the background music starts to play, thereby realizing the effect of delaying the playing of the background music.
[0047] In the embodiment, by delaying the playing of the background music, the user can first accept the change of the light environment caused by the opening of the curtain, and then accept the change of the sound environment caused by the music background, thereby avoiding the user being affected by the changes of the light environment and the sound environment at the beginning, and providing a buffer time for the user to wake up from the sleep state.
[0048] In a feasible embodiment, the curtain opening parameter includes a brightness list, the brightness list includes a plurality of preset outdoor brightness values, and one of the brightness values is a default preset outdoor brightness value.
[0049] The step S2 includes the following steps.
[0050] S211: Obtain the first opening speed of the curtain according to the slide rail length and the curtain opening time consumption.
[0051] S212: Input the default preset outdoor brightness value and the first opening speed into a pre-trained indoor brightness change value prediction model to predict a predicted indoor brightness change value when the curtain is opened.
[0052] The indoor brightness change value prediction model is used to predict the corresponding indoor brightness change value according to the outdoor brightness value and the opening speed of the curtain. The indoor brightness change value prediction model can be trained by outdoor brightness sample values, curtain opening speed sample values, and corresponding indoor brightness change sample values, and the outdoor brightness sample values, the curtain opening speed sample values, and the indoor brightness change sample values can be obtained by simulation experiment sampling. Preferably, when training the indoor brightness change value prediction model, corresponding sample data such as the thickness of the curtain, the material of the curtain, the area of the curtain, the orientation of the window, the height of the position of the window, and the size of the indoor space can also be added as training data of the indoor brightness change value prediction model to improve the accuracy of the prediction result of the indoor brightness change value prediction model.
[0053] S213: input the predicted indoor brightness change value and the slide rail length into a pre-trained second opening speed prediction model to predict a second opening speed corresponding to each preset outdoor brightness value of the brightness list except the default preset outdoor brightness value.
[0054] The second opening speed prediction model is used to predict a corresponding window curtain opening speed according to an indoor brightness change value and a slide rail length. The second opening speed prediction model can be trained according to indoor brightness change sample values, slide rail length sample values and corresponding window curtain opening speed sample values, and the indoor brightness change sample values, the slide rail length sample values and the corresponding window curtain opening speed sample values can be obtained by simulation experiment sampling. Preferably, when training the second opening speed prediction model, corresponding window curtain thickness, window curtain material, window curtain area, window orientation, window location height, indoor space size and other sample data can be added as training data of the second opening speed prediction model to improve the accuracy of the prediction result of the second opening speed prediction model.
[0055] S214: determining the first opening speed and the second opening speed as the opening speed of the window curtain.
[0056] The step S3: when the real-time time reaches the opening time, driving the first intelligent window curtain to open at the opening speed, comprising:
[0057] S311: when the real-time time reaches the opening time, constructing or updating an opening speed-outdoor brightness relationship table according to the relationship between the first opening speed and the default preset outdoor brightness value and the relationship between the second opening speed and each preset outdoor brightness value.
[0058] When step S311 is performed, if the opening speed-outdoor brightness relationship table has not been constructed, the opening speed-outdoor brightness relationship table is constructed according to the relationship between the first opening speed and the default preset outdoor brightness value and the relationship between the second opening speed and each preset outdoor brightness value; if the opening speed-outdoor brightness relationship table has been constructed, the opening speed-outdoor brightness relationship table is updated according to the relationship between the first opening speed and the default preset outdoor brightness value and the relationship between the second opening speed and each preset outdoor brightness value.
[0059] S312: generating the opening instruction according to the opening speed-outdoor brightness relationship table and sending the opening instruction to the first intelligent window curtain, driving the first intelligent window curtain to select a corresponding target opening speed from the opening speed-outdoor brightness relationship table according to an actual outdoor brightness, and opening the window curtain at the target opening speed.
[0060] The strength of the outdoor brightness directly affects the change of the light environment in the bedroom during the opening process of the first smart curtain. Specifically, under the same curtain opening speed, the stronger the outdoor brightness, the more intense the change of the light environment in the bedroom, and the weaker the outdoor brightness, the more gentle the change of the light environment in the bedroom. Therefore, in this embodiment, the first opening speed and the second opening speed are calculated for different outdoor brightnesses. The second opening speed includes opening speeds corresponding to a plurality of different preset outdoor brightness values or outdoor brightness ranges. When the real-time time reaches the opening time, an opening speed-outdoor brightness relationship table is constructed according to the relationship between the first opening speed and the default preset outdoor brightness value, and the relationship between the second opening speed and each preset outdoor brightness value, and then sent to the first smart curtain, so that the first smart curtain can select the corresponding target opening speed from the opening speed-outdoor brightness relationship table according to the actual outdoor brightness to open the curtain, which is beneficial to reduce the influence of outdoor brightness on the change of the light environment in the bedroom. Even under different outdoor brightness conditions, the user can wake up based on the same change of the light environment in the bedroom.
[0061] In a feasible embodiment, the default preset outdoor brightness value is a preset outdoor brightness value corresponding to the actual outdoor brightness when the first smart curtain was last opened.
[0062] Since the change of the light environment when the user last woke up has the greatest impact on the user's wake-up state and wake-up feeling, and also leaves the deepest impression on the user, in this embodiment, the preset outdoor brightness value corresponding to the actual outdoor brightness when the first smart curtain was last opened is taken as the default preset outdoor brightness value, which facilitates the user to set the curtain opening time according to the actual outdoor brightness when the curtain was last opened, and is beneficial to the user to obtain a more suitable opening speed of the first smart curtain and the change of the light environment corresponding to the opening speed when waking up next time.
[0063] Please refer to Figure 2 In a feasible embodiment, the curtain control method further comprises:
[0064] S41: When the real-time time reaches the opening time, obtain the positioning information of the mobile terminal.
[0065] S42: Search for a smart curtain according to the positioning information to obtain a second smart curtain.
[0066] S43: Generate an opening instruction according to the opening speed and send it to the second smart curtain to drive the second smart curtain to open at the opening speed.
[0067] Wherein, steps S41-S43 can be executed by a cloud server for controlling smart curtains.
[0068] The second smart curtain refers to a smart curtain of a temporary residence of a user, and the second smart curtain is installed at a different location from the first smart curtain. The second smart curtain can be controlled by the mobile terminal or the cloud server of the first smart curtain.
[0069] In the embodiment, even if the user temporarily changes the residence, when the real-time time reaches the opening time, the second smart curtain searched in the vicinity of the positioning information of the mobile terminal in the vicinity of the user can be driven to open the curtain at the opening speed according to the positioning information, without the user needing to reconnect the second smart curtain and re-set the opening time and the opening speed of the second smart curtain, thereby further improving the convenience of controlling the opening of the smart curtain.
[0070] Referring to Figure 3 An embodiment of the present application further provides a curtain control device 100, comprising:
[0071] A curtain opening parameter acquisition module 101 is configured to acquire curtain opening parameters uploaded by a mobile terminal. The curtain opening parameters comprise an opening time and a curtain opening time consumption.
[0072] An opening speed acquisition module 102 is configured to acquire an opening speed of the first smart curtain according to a slide rail length of the first smart curtain and the curtain opening time consumption.
[0073] A curtain opening module 103 is configured to drive the first smart curtain to open at the opening speed when a real-time time reaches the opening time.
[0074] The mobile terminal refers to an electronic device capable of data interaction with the smart curtain or the cloud server for controlling the smart curtain, and comprises a smart phone, a tablet computer and other electronic devices installed with a smart curtain control application.
[0075] The first smart curtain refers to a smart curtain of a permanent bedroom of a user. If the first smart curtain is a single-opening curtain, the slide rail length of the first smart curtain is the total length of the slide rail of the first smart curtain. If the first smart curtain is a double-opening curtain, the slide rail length of the first smart curtain is half of the total length of the slide rail of the first smart curtain. The slide rail length can be bound to the model of the smart curtain, that is, the mobile terminal can acquire the slide rail length of the first smart curtain according to the model of the first smart curtain. The slide rail length can also be input by the user.
[0076] The curtain opening time consumption refers to a time consumption of the first smart curtain from starting to open the curtain to completely opening the curtain. The unit of the curtain opening time consumption can be seconds or minutes. The value of the curtain opening time consumption is input by the user or selected from a preset value list.
[0077] Compared with the related art, the application can calculate the opening speed of the first smart curtain according to the sliding rail length of the first smart curtain and the curtain opening time uploaded by the mobile terminal, drive the first smart curtain to open the curtain at the opening speed when the real-time time reaches the opening time uploaded by the mobile terminal, and realize the technical effect of automatically opening the curtain at a preset speed at a preset time, thereby improving the convenience of controlling the curtain to open.
[0078] An embodiment of the application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the steps of the curtain control method.
[0079] An embodiment of the application further provides a computer device, which comprises a storage, a processor and a computer program stored in the storage and executable by the processor, and the processor realizes the steps of the curtain control method when executing the computer program.
[0080] The device embodiments described above are merely illustrative, wherein the components illustrated as separate components can or can not be physically separate, and the components illustrated as units can or can not be physical units, that is, can be located at one place or can be distributed on multiple network units. Part or all of the modules can be selected to realize the purposes of the application according to actual needs. Those skilled in the art can understand and implement without creative effort.
[0081] Those skilled in the art should understand that embodiments of the application can be provided as a method, a system or a computer program product. Therefore, the application can adopt a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the application can adopt a computer program product in the form of one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0082] The application is described with reference to flowcharts and / or block diagrams of the method, device (system) and computer program product according to embodiments of the application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams and the combination of the flows and / or blocks can be implemented by computer program instructions. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the computer or other programmable data processing device produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 one flow or multiple flows and / or blocks Figure 1apparatus for performing each block or blocks selected from the present flow or flows and / or a function described herein. The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow or flows Figure 1 a flow or flows and / or a block or blocks Figure 1 a function selected for implementation by one or more blocks.
[0083] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the flow or flows Figure 1 a flow or flows and / or a block or blocks Figure 1 a function selected for implementation by one or more blocks.
[0084] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0085] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) about which the processor can execute instructions. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), flash memory, or a combination of non-volatile memories in different types. The memory is an example of computer readable media.
[0086] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to computing devices. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.
[0087] It should also be noted that the terms "comprising", "comprises" or other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0088] The above embodiments are only used to illustrate the present application, but not to limit it. Instead of the above, various modifications and changes can be made to the application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application shall fall into the scope of the claims of the application.
Claims
1. A window covering control method, characterized by, The method comprises the following steps: obtaining curtain opening parameters uploaded by a mobile terminal; the curtain opening parameters comprise an opening time and a curtain opening time consumption; obtaining an opening speed of the first smart curtain according to a slide rail length of the first smart curtain and the curtain opening time consumption; driving the first smart curtain to open at the opening speed when real-time time reaches the opening time; wherein the curtain opening parameters comprise a brightness list, the brightness list comprises a plurality of preset outdoor brightness values, and one of the brightness values is a default preset outdoor brightness value; the step of obtaining the opening speed of the curtain according to the slide rail length of the first smart curtain and the curtain opening time consumption comprises: obtaining a first opening speed of the curtain according to the slide rail length and the curtain opening time consumption; inputting the default preset outdoor brightness value and the first opening speed into a pre-trained indoor brightness change value prediction model to predict a predicted indoor brightness change value when the curtain opens; inputting the predicted indoor brightness change value and the slide rail length into a pre-trained second opening speed prediction model to predict a second opening speed corresponding to each of the preset outdoor brightness values except the default preset outdoor brightness value in the brightness list; determining the first opening speed and the second opening speed as the opening speed of the curtain; the step of driving the first smart curtain to open at the opening speed when real-time time reaches the opening time comprises: when real-time time reaches the opening time, constructing or updating an opening speed and outdoor brightness relationship table according to the relationship between the first opening speed and the default preset outdoor brightness value, and the relationship between the second opening speed and each of the preset outdoor brightness values; generating an opening instruction according to the opening speed and outdoor brightness relationship table and sending the opening instruction to the first smart curtain to drive the first smart curtain to select a corresponding target opening speed from the opening speed and outdoor brightness relationship table according to actual outdoor brightness, and open the curtain at the target opening speed.
2. The window treatment control method of claim 1, wherein, The first smart curtain is provided with a music playing module, and the curtain opening parameters further comprise background music; the step of driving the first smart curtain to open at the opening speed when real-time time reaches the opening time comprises: obtaining a music playing link of the background music; when real-time time reaches the opening time, generating an opening instruction according to the opening speed and the music playing link and sending the opening instruction to the first smart curtain to drive the first smart curtain to open at the opening speed, and drive the first smart curtain to play a music resource pointed by the music playing link through the music playing module.
3. The window treatment control method of claim 1, wherein, The first smart curtain is provided with a music playing module, and the curtain opening parameters further comprise background music; the step of driving the first smart curtain to open at the opening speed when real-time time reaches the opening time comprises: downloading a music resource of the background music to the first smart curtain; the step of driving the first smart curtain to open at the opening speed when real-time time reaches the opening time comprises: When the real-time time reaches the opening time, an opening instruction is generated according to the opening speed and sent to the first smart curtain, the first smart curtain is driven to open at the opening speed, and the first smart curtain is driven to play the music resource through the music playing module.
4. The window treatment control method of claim 2 or 3, wherein, The window curtain opening parameter further comprises a music playing condition, the music playing condition is sent to the first smart curtain along with the opening instruction, and the first smart curtain plays the background music through the music playing module according to the music playing condition.
5. The window treatment control method of claim 1, wherein: The default preset outdoor brightness value is a preset outdoor brightness value corresponding to an actual outdoor brightness when the first smart curtain is last opened.
6. The window treatment control method of claim 1, wherein, Further comprising: When the real-time time reaches the opening time, the positioning information of the mobile terminal is acquired; According to the positioning information, a second smart curtain is searched to obtain a second smart curtain; An opening instruction is generated according to the opening speed and sent to the second smart curtain, and the second smart curtain is driven to open at the opening speed.
7. A window covering control device, characterized by, Comprising: A window curtain opening parameter acquisition module is configured to acquire window curtain opening parameters uploaded by a mobile terminal; the window curtain opening parameters comprise an opening time and a window curtain opening time consumption; An opening speed acquisition module is configured to acquire an opening speed of a first smart curtain according to a slide rail length of the first smart curtain and the window curtain opening time consumption; A window curtain opening module is configured to drive the first smart curtain to open at the opening speed when a real-time time reaches the opening time. The window curtain opening parameter comprises a brightness list, the brightness list comprises a plurality of preset outdoor brightness values, and one of the brightness values is a default preset outdoor brightness value. The step of acquiring the opening speed of the first smart curtain according to the slide rail length of the first smart curtain and the window curtain opening time consumption comprises: According to the slide rail length and the window curtain opening time consumption, a first opening speed of the window curtain is acquired; The default preset outdoor brightness value and the first opening speed are input into a pre-trained indoor brightness change value prediction model to predict a predicted indoor brightness change value when the window curtain is opened; The predicted indoor brightness change value and the slide rail length are input into a pre-trained second opening speed prediction model to predict a second opening speed corresponding to each of the preset outdoor brightness values except the default preset outdoor brightness value in the brightness list; The first opening speed and the second opening speed are determined as the opening speed of the first smart curtain. The step of driving the first smart curtain to open at the opening speed when the real-time time reaches the opening time comprises: When the real-time time reaches the opening time, an opening speed and outdoor brightness relationship table is constructed or updated according to a relationship between the first opening speed and the default preset outdoor brightness value, and a relationship between the second opening speed and each of the preset outdoor brightness values. According to the opening speed and outdoor brightness relationship table, an opening instruction is generated and sent to the first smart window curtain, and the first smart window curtain is driven to open the window curtain according to the actual outdoor brightness, to select a corresponding target opening speed from the opening speed and outdoor brightness relationship table, and open the window curtain at the target opening speed.
8. A computer readable storage medium storing a computer program, characterized in that: The computer program is executed by the processor to implement the steps of the window curtain control method according to any one of claims 1 to 6.
9. A computer device, comprising: The computer program is executed by the processor to implement the steps of the window curtain control method according to any one of claims 1 to 6. The computer program is executed by the processor to implement the steps of the window curtain control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Curtain control method and device, and storage medium
CN112782998A
Novel (window) curtain for family life
CN204931229U
Music curtain
CN207744998U