Electric curtain control method and device, electronic equipment and storage medium

By dividing the operation into stages and controlling its speed and time according to configuration parameters, the problems of high noise and sudden changes in light during the operation of electric curtains are solved, resulting in a more comfortable user experience.

CN116700066BActive Publication Date: 2026-07-10SHENZHEN LUMIUNITED TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN LUMIUNITED TECH CO LTD
Filing Date
2023-05-06
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Electric blinds are noisy during operation and can cause sudden changes in the lighting environment, affecting the user experience.

Method used

By responding to parameter configuration operations, the configuration parameters of the electric curtains in the target scenario are determined, an operation plan is generated, and by monitoring the operation position of the electric curtains, the system controls them to perform actions at different speeds and times in different operation stages to avoid excessive noise and sudden changes in light.

Benefits of technology

It effectively reduces noise during the operation of electric curtains, provides a gradual change in the lighting environment, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116700066B_ABST
    Figure CN116700066B_ABST
Patent Text Reader

Abstract

The application provides an electric curtain control method and device, electronic equipment and storage medium, and relates to the technical field of Internet of Things. The method comprises the following steps: in response to a parameter configuration operation of an electric curtain, configuration parameters of the electric curtain in a target scene are determined; the configuration parameters comprise target positions of at least one running stage of the electric curtain in the target scene; according to the determined configuration parameters, a running scheme of the electric curtain for the target scene is generated; and through a monitored running position of the electric curtain, the electric curtain is controlled to perform actions corresponding to respective running stages in the target scene according to running data in the running scheme. The application solves the problem of excessive noise and easy light environment mutation in the running process of the electric curtain in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) technology, and more specifically, to a method, device, electronic device, and storage medium for controlling electric curtains. Background Technology

[0002] With the rapid popularization of smart homes, traditional manually operated curtains are gradually being replaced by motorized curtains. Users can remotely control the opening and closing of motorized curtains through user terminals, realizing a more intelligent living scenario and greatly improving the quality of life. In some specific situations, such as when about to fall asleep, users may want the motorized curtains to be quieter during operation; or when getting up, users may want the motorized curtains to gradually adjust to the changing light environment.

[0003] However, motorized curtains often operate at the same speed when opening and closing, resulting in significant noise during operation and potentially causing sudden changes in the lighting environment, thus affecting the user experience.

[0004] As can be seen from the above, the problems of how to reduce the noise during the operation of electric curtains in certain specific situations and how to provide users with an adaptation process for perceiving changes in ambient light still need to be solved. Summary of the Invention

[0005] This application provides a method, device, electronic equipment, and storage medium for controlling electric curtains, which can solve the problems of excessive noise and sudden changes in lighting conditions during the operation of electric curtains in related technologies. The technical method is as follows:

[0006] According to one aspect of the embodiments of this application, a method for controlling an electric curtain is provided. The method includes: in response to a parameter configuration operation for the electric curtain, determining configuration parameters of the electric curtain in a target scene; the configuration parameters including a target position of the electric curtain in at least one operating stage in the target scene; generating an operating plan for the electric curtain in the target scene based on the determined configuration parameters; and controlling the electric curtain to perform actions corresponding to each operating stage in the target scene based on the operating data in the operating plan, using the monitored operating position of the electric curtain.

[0007] According to one aspect of the embodiments of this application, an electric curtain control device is provided, the device comprising: a configuration parameter acquisition module, configured to determine configuration parameters of the electric curtain in a target scene in response to a parameter configuration operation for the electric curtain; the configuration parameters including a target position of the electric curtain in at least one operating stage in the target scene; an operation plan generation module, configured to generate an operation plan for the electric curtain for the target scene based on the determined configuration parameters; and an electric curtain control module, configured to control the electric curtain to perform actions corresponding to each operating stage in the target scene based on the operating data in the operation plan, using the monitored operating position of the electric curtain.

[0008] In one exemplary embodiment, the device further includes: a travel acquisition module, configured to receive travel data reported by the electric curtain, the travel data indicating the operating position of the electric curtain; and to monitor the operating position of the electric curtain through the travel data.

[0009] In one exemplary embodiment, the motorized curtain control module includes: a stage determination unit, configured to determine the current operating stage of the motorized curtain based on its operating position; a data acquisition unit, configured to acquire operating data corresponding to the current operating stage from the operating plan based on the current operating stage of the motorized curtain; an instruction generation unit, configured to generate a device control instruction based on the operating data corresponding to the current operating stage; and an instruction sending unit, configured to send the device control instruction to the motorized curtain, causing the motorized curtain to perform an action corresponding to the current operating stage in response to the device control instruction. In one exemplary embodiment, the stage determination unit includes: a traversal subunit, configured to traverse the target positions of each operating stage; if the operating position of the motorized curtain is less than the target position of the traversed operating stage, then the traversed operating stage is determined to be the current operating stage of the motorized curtain; otherwise, the traversal of the target positions of each operating stage continues.

[0010] In an exemplary embodiment, the device further includes: a direction acquisition module, configured to determine the running direction of the electric curtain according to the target scene; and a stage division module, configured to divide the total travel of the electric curtain into multiple travel segments according to the running direction of the electric curtain and the target position of each running stage, with each travel segment corresponding to one running stage.

[0011] In an exemplary embodiment, the configuration parameters include total running time; the device further includes: a quantity determination module, configured to determine the number of running stages based on the starting position and the target position of each running stage if the monitored running position of the electric curtain is the starting position on the total travel of the electric curtain; a time and speed configuration module, configured to configure a corresponding running time and / or running speed for each running stage according to the total running time and the number of running stages; and a data determination module, configured to add the running time and / or running speed configured for each running stage as the running data to the running plan.

[0012] In one exemplary embodiment, the sum of the runtimes configured for each runtime phase equals the total runtime.

[0013] In an exemplary embodiment, the operation phase includes a first operation phase, a second operation phase, and a third operation phase; in each of the operation phases, the first operation phase has the lowest operation speed, the third operation phase has the highest operation speed, and the second operation phase has an operation speed between the first operation phase and the third operation phase.

[0014] In one exemplary embodiment, the device further includes: a detection module for detecting whether the variable speed operation function of the electric curtain is activated; the variable speed operation function is used to indicate whether the electric curtain is allowed to operate at variable speed; a variable speed operation module for controlling the electric curtain to perform actions corresponding to each operation stage in the target scene if the variable speed operation function is detected to be activated; and a constant speed operation module for controlling the electric curtain to operate at a constant speed in the target scene if the variable speed operation function is detected to be deactivated.

[0015] In an exemplary embodiment, the automation scheme is used to achieve automated control of the controlled device by monitoring the device status of the triggering device in the target scenario; the device further includes: an automation monitoring module, used to monitor whether the device status of the triggering device meets the triggering conditions in the automation scheme; if the triggering conditions in the automation scheme are met, then when the controlled device includes the electric curtain, the electric curtain is controlled to perform actions corresponding to each operating stage in the target scenario according to the operating data in the operating scheme, so as to achieve automated control of the electric curtain.

[0016] In one exemplary embodiment, the device further includes: a page display module for displaying a scene configuration page corresponding to the target scene, the scene configuration page displaying an automation addition entry; a page conversion module for entering the automation configuration page in response to a trigger operation in the automation addition entry; and an operation detection module for displaying an automation scheme for the electric curtain in the scene configuration page if an automation configuration operation for the electric curtain triggered in the automation configuration page is detected, so as to achieve automated control of the electric curtain through the automation scheme for the electric curtain.

[0017] According to one aspect of the embodiments of this application, an electronic device includes: at least one processor and at least one memory, wherein program instructions or code are stored in the memory; the program instructions or code are loaded and executed by the processor, causing the electronic device to implement the electric curtain control method as described above.

[0018] According to one aspect of this application, a storage medium has program instructions or code stored thereon, which are loaded and executed by a processor to implement the electric curtain control method as described above.

[0019] According to one aspect of the embodiments of this application, an application product includes program instructions or code stored in a storage medium. The processor of an electronic device reads the program instructions or code from the storage medium, loads and executes the program instructions or code, thereby enabling the electronic device to implement the electric curtain control method as described above.

[0020] The beneficial effects of the technical solution provided in this application are:

[0021] In the above technical solution, for the target scenario of the electric curtains, in response to the parameter configuration operation of the electric curtains, the operation process of the electric curtains is divided into several operation stages related to different target positions. This generates an operation plan for the electric curtains specific to the target scenario. By monitoring the operation position of the electric curtains and based on the operation data in the operation plan, the electric curtains can be controlled to perform actions corresponding to each operation stage in the target scenario. In other words, the electric curtains can complete the entire operation process at different speeds / times in different operation stages within the target scenario, avoiding excessive noise caused by the electric curtains operating at a constant speed. It also provides an adaptation process for users to perceive changes in ambient light. This is particularly suitable for specific situations, such as when a user gets up; the electric curtains can open gradually, reducing noise during operation and preventing sudden changes in light environment. This allows users to gradually adapt to a darker light environment, improving the user experience and effectively solving the problems of high noise and sudden changes in light environment during the operation of electric curtains in related technologies. Attached Figure Description

[0022] To more clearly illustrate the technical solutions provided in this application, the accompanying drawings used in the description of the various embodiments of this application will be briefly introduced below.

[0023] Figure 1 This is a schematic diagram of the implementation environment according to the embodiments of this application;

[0024] Figure 2 This is a flowchart illustrating an electric curtain control method according to an exemplary embodiment;

[0025] Figure 3 This is a schematic diagram illustrating a target location of an operational phase according to an exemplary embodiment;

[0026] Figure 4 This is an automation scheme configuration page illustrated according to an exemplary embodiment;

[0027] Figure 5 yes Figure 2 The corresponding step 350 shown in the embodiment is a flowchart of one embodiment;

[0028] Figure 6 This is a flowchart illustrating another method for controlling electric curtains according to an exemplary embodiment;

[0029] Figure 7 This is a schematic diagram illustrating the operating direction of an electric curtain in different scenarios according to an exemplary embodiment;

[0030] Figure 8 yes Figure 7The corresponding step 504 shown in the embodiment is a flowchart of one embodiment;

[0031] Figures 9a to 9c This is a schematic diagram illustrating different starting positions of an electric curtain according to an exemplary embodiment;

[0032] Figure 10 This is a flowchart illustrating another method for controlling electric curtains according to an exemplary embodiment;

[0033] Figure 11 This is a schematic diagram illustrating the specific implementation of an electric curtain control method in an application scenario;

[0034] Figure 12 This is a structural block diagram of an electric curtain control device according to an exemplary embodiment;

[0035] Figure 13 This is a hardware structure diagram of an electronic device according to an exemplary embodiment;

[0036] Figure 14 This is a structural block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0037] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0038] Those skilled in the art will understand that, unless explicitly stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application’s specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.

[0039] As mentioned earlier, in certain situations, users may want motorized curtains to operate with less noise or to allow them to gradually adapt to a changing lighting environment.

[0040] However, in related technologies, motorized curtains often operate at the same speed when opening and closing, which can be quite noisy and disturb users. They can also cause sudden changes in the lighting environment, making it difficult for users to gradually adapt to the change from dark to bright lighting, ultimately affecting the user experience.

[0041] Furthermore, the running time required for the entire operation of motorized curtains will vary depending on their initial position. For example, it might take 30 minutes for the curtains to fully open, but if they are already partially open, the time required to complete the operation at the same speed will inevitably be less than 30 minutes. This variation in running time can easily cause further disruption to the user. For instance, if a user wants the curtains to fully open in 30 minutes after waking up, but they are already partially open, the curtains might open prematurely at the same speed, failing to meet the user's needs and negatively impacting the user experience.

[0042] As can be seen from the above, how to improve the user experience in certain situations without causing interference to users is an urgent problem to be solved.

[0043] Therefore, the electric curtain control method provided in this application can not only effectively reduce the noise during the operation of electric curtains, but also effectively prevent sudden changes in the light environment. Accordingly, the electric curtain control method is applicable to electric curtain control devices, which can be deployed on electronic devices. For example, the electronic device can be a computer device configured with a von Neumann architecture, such as a desktop computer, laptop computer, server, etc., or it can be an electronic device with central control function, such as a gateway.

[0044] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0045] Figure 1 This is a schematic diagram of the implementation environment involved in a method for controlling electric curtains. The implementation environment includes a user terminal 110, a smart device 130, a gateway 150, a server 170, and a router 190.

[0046] Specifically, user terminal 110, which can also be understood as user terminal or terminal, can deploy (or install) the client associated with smart device 130. This user terminal 110 can be an electronic device such as a smartphone, tablet, laptop, desktop computer, smart control panel, or other device with display and control functions, without limitation here.

[0047] The client, associated with the smart device 130, is essentially where the user registers an account and configures the smart device 130. For example, the configuration includes adding a device identifier to the smart device 130, so that when the client runs on the user terminal 110, it can provide the user with functions such as device display and device control of the smart device 130. This client can be in the form of an application or a web page. Correspondingly, the interface for displaying the device on the client can be in the form of a program window or a web page, and there is no limitation here.

[0048] Smart device 130 is deployed in gateway 150 and communicates with gateway 150 through its own configured communication module, thereby being controlled by gateway 150. It should be understood that smart device 130 generally refers to one of multiple smart devices 130. This application embodiment only uses smart device 130 as an example; that is, this application embodiment does not limit the number or type of smart devices deployed in gateway 150. In one application scenario, smart device 130 is deployed in gateway 150 by accessing it through a local area network. The process of smart device 130 accessing gateway 150 through a local area network includes: gateway 150 first establishes a local area network, and smart device 130 joins the local area network established by gateway 150 by connecting to it. This local area network includes, but is not limited to, ZIGBEE or Bluetooth. Among them, smart devices 130 include, but are not limited to, electric curtains equipped with curtain motors, smart printers, smart fax machines, smart cameras, smart air conditioners, smart door locks, smart lights, smart refrigerators, natural gas alarms, smoke alarms, wall switches, wall sockets, wireless switches, wireless wall sticker switches, cube controllers, as well as electronic devices such as radar devices equipped with communication modules, human body sensors, door and window sensors, temperature and humidity sensors, and water immersion sensors.

[0049] The interaction between user terminal 110 and smart device 130 can be achieved through a local area network (LAN) or a wide area network (WAN). In one application scenario, user terminal 110 establishes a wired or wireless communication connection with gateway 150 via router 190, such as Wi-Fi, allowing user terminal 110 and gateway 150 to be deployed on the same LAN, thus enabling user terminal 110 to interact with smart device 130 via the LAN path. In another application scenario, user terminal 110 establishes a wired or wireless communication connection with gateway 150 via server 170, such as 2G, 3G, 4G, 5G, or Wi-Fi, allowing user terminal 110 and gateway 150 to be deployed on the same WAN, thus enabling user terminal 110 to interact with smart device 130 via the WAN path.

[0050] The server-side 170 can also be considered as the cloud, cloud platform, platform side, server side, etc. This server-side 170 can be a single server, a server cluster consisting of multiple servers, or a cloud computing center consisting of multiple servers, in order to better provide backend services to a massive number of user terminals 110. For example, backend services include electric curtain control services.

[0051] Taking the smart device 130 as an example of an electric curtain, as the user terminal 110 interacts with the server 170, if the user wants to control the electric curtain at each stage of operation in the target scenario, they can generate an operation plan for the electric curtain for the target scenario through the parameter configuration operation triggered in the parameter configuration page displayed in the user terminal 110, and send the operation plan to the server 170.

[0052] For the server 170, after obtaining the operation plan sent by the user terminal 110, it stores the operation plan so that it can generate corresponding equipment control instructions based on the operation data in the operation plan by monitoring the operation position of the electric curtain, and send the equipment control instructions to the electric curtain so that the electric curtain responds to the equipment control instructions and performs the corresponding actions for each operation stage.

[0053] Please see Figure 2 This application provides a method for controlling electric curtains. This method is applicable to electronic devices, which can be... Figure 1 The gateway 150 or server 170 in the implementation environment shown.

[0054] In the following method embodiments, for ease of description, the execution subject of each step of the method is an electronic device, but this does not constitute a specific limitation.

[0055] like Figure 2 As shown, the method may include the following steps:

[0056] Step 310: In response to the parameter configuration operation for the motorized curtains, determine the configuration parameters of the motorized curtains in the target scenario.

[0057] First, it should be noted that a target scenario refers to a situation where the user desires minimal noise and / or a gradual change in lighting conditions during the operation of the motorized curtains. For example, a target scenario could include a wake-up scenario or a sleep scenario. Therefore, to reduce noise during operation or avoid abrupt changes in lighting conditions within this target scenario, the user can configure the motorized curtains with specific parameters for that scenario to achieve minimal noise or a gradual change in lighting.

[0058] In one possible implementation, the configuration parameters include the target position for at least one operating phase in the target scenario. The target position for the operating phase indicates the distance traveled by the motorized curtain during that phase and can be expressed as a percentage. For example, assuming the total travel is 100% and the target position for the first operating phase is 10%, it means that 0% to 10% of the total travel of the motorized curtain represents the distance traveled by the motorized curtain in the first operating phase.

[0059] For example, such as Figure 3 As shown, the total travel of the electric curtain is divided into three segments, each corresponding to an operating stage. The target position S1 of the first operating stage is located at 30% of the total travel, the target position S2 of the second operating stage is located at 70% of the total travel, and the target position of the third operating stage is located at 100% of the total travel. It should be noted that the different travel segments can be different or the same.

[0060] Of course, in other embodiments, the configuration parameters may also include: the number of operating stages, the operating time of each operating stage, the operating speed of each operating stage, the travel distance of each operating stage, the total operating time, etc. The operating time indicates the operating time allocated to each operating stage in the total travel distance; for example, the first operating stage operating time T1 is 30 minutes, the second operating stage operating time T2 is 3 minutes, and the third operating stage operating time T3 is 2 minutes. The total operating time indicates the operating time of the electric curtain over the total travel distance, and can also be considered as the sum of the operating times allocated to each operating stage; for example, the total operating time is 30 + 3 + 2 = 35 minutes. The operating speed indicates the operating speed corresponding to each operating stage in the total travel distance. The operating distance can also be considered as the travel distance, which is related to the operating speed and operating time, and is not a specific limitation here.

[0061] Taking the user terminal as an example, such as Figure 4 As shown, a scene display page 301 is displayed on the user terminal. Different scenes can be added to the scene display page 301 via the scene addition entry 308, and different automation schemes can be configured for the newly added scenes. Scenes with configured automation schemes can then be displayed on the scene display page 301. For example, if the user has configured a wake-up scene and a sleep scene, the bedroom air conditioner can automatically turn off in the wake-up scene. If the user wants to automate the control of the bedroom's electric curtains, such as gradually opening the curtains in the wake-up scene, the user can click on the wake-up scene in the scene display page 301 to enter the scene configuration page 302 corresponding to the wake-up scene. This scene configuration page 302 displays a scene name editing entry 303 for users to edit the scene name, an automation editing entry 304 for users to edit the configured automation scheme for the bedroom air conditioner, and an automation addition entry 305 for users to configure automation schemes for any smart device. If a user clicks on the automation addition entry 305, they will enter the automation configuration page 401. This page displays entry points for device selection (402), space selection (403), and action selection (404). Users can configure the electric curtains, bedroom, and related parameters through these entry points, and then complete the automation configuration for the electric curtains by clicking the "Complete" entry 405. Simultaneously, returning from the automation configuration page 401 to the scene configuration page 302, the scene configuration page 302 will display the automation solution 307 for the electric curtains. The automation configuration operation involving configuring parameters through the action selection entry 404 can be considered as the parameter configuration operation for the electric curtains.

[0062] Correspondingly, the user terminal can detect the parameter configuration operation for the electric curtains triggered by the user in the automation configuration page 401, and thus obtain the configuration parameters of the electric curtains in the target scenario.

[0063] As the user terminal interacts with the gateway and / or server, after the user terminal sends the configuration parameters of the electric curtains in the target scenario, the gateway and / or server can receive and determine the configuration parameters of the electric curtains in the target scenario.

[0064] Of course, in other embodiments, parameter configuration operations may also be triggered by the remote control device of the electric curtain or by the smart control panel that communicates with the electric curtain, which is not intended to be a specific limitation.

[0065] Therefore, after configuring the automation solution for motorized curtains, the controlled devices can be automatically controlled by monitoring the status of the triggering device in the target scenario. The triggering device refers to an intelligent device used to monitor the environmental conditions of the target scenario, while the controlled device refers to an intelligent device that performs actions in the target scenario. For example, the triggering device may include sensors, and the controlled device includes at least the motorized curtains. In other words, the automation solution includes triggering conditions and controlled data. The triggering conditions are used to monitor the status of the triggering device, and the controlled data is used to instruct the intelligent device to perform corresponding actions. Based on this, if the status of the triggering device meets the triggering conditions in the automation solution, the intelligent device can be controlled to perform actions corresponding to each stage of operation in the target scenario, thereby achieving automated control of the motorized curtains.

[0066] Step 330: Based on the determined configuration parameters, generate an operation plan for the electric curtains for the target scenario.

[0067] The operation plan is used to control the motorized curtains at different operating stages in the target scenario. The operation plan includes operation data, which is used to indicate the actions performed by the motorized curtains at each operating stage. Specifically, the operation data includes, but is not limited to: the operating speed of each operating stage, the operating time of each operating stage, the travel distance of each operating stage, the number of operating stages, the total operating time, etc.

[0068] For example, assuming the configuration parameters include target positions for the motorized curtains in three operating stages under a target scenario, representing 10%, 70%, and 100% of the total travel, the generated operating plan for the motorized curtains in the target scenario includes: the operating time for the motorized curtains in the first operating stage is 30 minutes; the operating time for the motorized curtains in the second operating stage is 3 minutes; and the operating time for the motorized curtains in the third operating stage is 2 minutes. Specifically, when the motorized curtains are positioned between 0% and 10% of the total travel, the current operating stage is the first operating stage; when the motorized curtains are positioned between 11% and 70% of the total travel, the current operating stage is the second operating stage; and when the motorized curtains are positioned between 71% and 100% of the total travel, the current operating stage is the third operating stage. It should be noted that the operating speed for each operating stage can be obtained based on the travel / operating time of each stage. For example, in the first operating stage, the operating speed = 10% of the total travel / 30 minutes, or it can be configured by the user; this is not limited here.

[0069] Step 350: By monitoring the operating position of the electric curtain, control the electric curtain to perform actions corresponding to each operating stage in the target scenario according to the operating data in the operating plan.

[0070] Using the previous example, by monitoring the operating position of the electric curtain, the current operating stage of the electric curtain can be determined. Then, the electric curtain will run for 30 minutes in the first operating stage according to the operating data in the operating plan, which is considered as performing the action corresponding to the first operating stage in the target scenario.

[0071] In one possible implementation, the operating position of the motorized curtains is monitored through travel data reported by the curtains themselves, which indicates their position. As the motorized curtains interact with the electronic device, the device receives the travel data after it reports it, and thus monitors the curtains' position.

[0072] In one possible implementation, such as Figure 5 As shown, step 350 above may include the following steps:

[0073] Step 351: Determine the current operating stage of the electric curtain based on its operating position.

[0074] Continuing with the previous example, when the motorized curtain is in the range of 0-10% of its total travel, the current operating stage of the motorized curtain is the first operating stage.

[0075] Step 352: Based on the current operating stage of the electric curtain, obtain the operating data corresponding to the current operating stage from the operating plan.

[0076] The operational data is used to indicate the actions performed by the electric curtains at each stage of operation in the target scenario.

[0077] In other words, the corresponding operational data differs at different operational stages, and consequently, the actions performed by the electric curtains at different operational stages in the target scenario also differ. For example, these differences could be in operating speed, operating distance (travel), operating time, etc., without being limited here.

[0078] Step 353: Generate device control instructions based on the operating data corresponding to the current operating stage.

[0079] Step 355: Send a device control command to the electric curtain, so that the electric curtain responds to the device control command and performs the action corresponding to the current operating stage.

[0080] Upon receiving a control command, the motorized curtain can then execute actions corresponding to the current operating stage. For example, if there are three operating stages—a first stage, a second stage, and a third stage—then in the first stage, the curtain runs at a first operating speed for 30 minutes; in the second stage, it runs at a second operating speed for 3 minutes; and in the third stage, it runs at a third operating speed for 2 minutes. The first operating speed is distinct from the second and third operating speeds. For instance, the first speed is lower than the second speed, and the second speed is lower than the third speed; that is, the first speed is the lowest, the third speed is the highest, and the second speed falls between the first and second speeds. It's worth noting that the operating speed for each stage can be configured by the user based on parameter settings or calculated based on the travel / running time of each stage; no specific limitation is imposed here.

[0081] Through the above process, motorized curtains can complete the entire operation at different speeds / times in different stages of the target scenario, avoiding the large noise generated by motorized curtains operating at the same speed. This is especially suitable for some specific situations, such as when a user gets up, the motorized curtains can open gradually, thereby reducing the noise during the operation of the motorized curtains when the user gets up. This meets the user's need for low noise and imperceptible curtain changes, which helps to improve the user experience and effectively solves the problem of high noise during the operation of motorized curtains in related technologies.

[0082] Please see Figure 6In one exemplary embodiment, the control process of an electric curtain may include the following steps:

[0083] Step 501: Determine the running direction of the electric curtains based on the target scenario.

[0084] It is understandable that the division of operation phases will vary depending on the direction of operation of the motorized blinds, depending on the target scenario. For example... Figure 7 As shown, in the wake-up scenario, the electric curtains open to the right. Figure 7 The "opening direction" is shown in the image; correspondingly, in a sleep scenario, the electric curtains operate by closing to the left, i.e. Figure 7 The “closing direction” is shown in the diagram.

[0085] Therefore, before controlling the electric curtains to perform the actions corresponding to each operating stage, it is first necessary to divide the operating stages according to the operating direction of the electric curtains. Only then can the current operating stage of the electric curtains be determined based on their operating position, thereby realizing the control of the electric curtains.

[0086] Step 502: Divide the total travel of the electric curtain into multiple travel segments according to the running direction of the electric curtain and the target position of each running stage.

[0087] Each segment of the journey corresponds to one of the aforementioned operational phases.

[0088] For example, see further. Figure 7 Based on the operating direction of the electric curtains and the target positions of each operating stage, the total travel distance of the electric curtains can be divided into three segments, each corresponding to one operating stage. Specifically, in the wake-up scenario, when the electric curtains are opening to the right, the target position S1 of the first operating stage is 30% from the left origin, the target position S2 of the second operating stage is 60% from the left origin, and the target position of the third operating stage is 100% from the left origin. Correspondingly, in the sleep scenario, when the electric curtains are closing to the left, the target position S1 of the first operating stage is 30% from the right origin, the target position S2 of the second operating stage is 60% from the right origin, and the target position of the third operating stage is 100% from the right origin. That is, the 30% position in the opening direction corresponds to the 70% position in the closing direction. In other words, the division of the different operating stages of the electric curtains will change according to the operating direction of the electric curtains.

[0089] Step 503: Receive travel data reported by the electric curtains.

[0090] The travel data is used to indicate the operating position of the motorized curtains.

[0091] Optionally, the electric curtain can obtain travel data by accumulating the Hall effect data through the built-in Hall sensor and send it to the electronic device. The electronic device can then know the operating position of the electric curtain by receiving the travel data reported by the electric curtain.

[0092] Step 504: Determine the current operating stage of the electric curtain based on its operating position.

[0093] In one possible implementation, such as Figure 8 As shown, step 504 above may include the following steps:

[0094] Step 5041: Traverse the target positions for each running stage.

[0095] Step 5043: If the running position of the electric curtain is less than the target position of the traversed running stage, then the traversed running stage is determined to be the current running stage of the electric curtain.

[0096] Step 5045: Continue traversing the target positions of each running stage.

[0097] Figures 9a to 9c This diagram illustrates the relationship between the operating positions of the motorized blinds and their current operating stages. For example, it assumes the operating stages include a first operating stage, a second operating stage, and a third operating stage. Figure 9a In this scenario, assuming the operating position T of the electric curtain is 10%, if the target position of the traversed operating stage is the target position S1 of the first operating stage (i.e., 30%), then based on 10% < 30%, the current operating stage of the electric curtain is determined to be the first operating stage. Figure 9b In this scenario, assuming the operating position T of the electric curtain is 50%, if the target position of the current operating stage is the first operating stage's target position S1 (30%), then based on 50% > 30%, the process continues to iterate to the next operating stage's target position. If the target position of the current operating stage is the second operating stage's target position S2 (60%), then based on 50% < 60%, the current operating stage of the electric curtain is determined to be the second operating stage. Figure 9c Similarly, by traversing the target positions of each operating stage, if the operating position of the electric curtain is less than the target position of the third operating stage, then the current operating stage of the electric curtain is determined to be the third operating stage.

[0098] Step 505: Allocate the running time and / or running speed of each running stage according to the total running time.

[0099] In one possible implementation, such as Figure 10 As shown, step 505 above may include the following steps:

[0100] Step 5051: If the monitored running position of the electric curtain is the starting position on the total travel of the electric curtain, then the number of running stages is determined based on the starting position of the electric curtain and the target position of each running stage.

[0101] Step 5053: Configure the corresponding running time and / or running speed for each running stage based on the total running time and the number of running stages.

[0102] Step 5055: Add the runtime and / or speed configured for each running stage as running data to the running plan.

[0103] Combination Figure 6 Steps 5061 to 5063 and steps 5071 to 5073 allocate runtime for each running stage. For example, refer back to... Figures 9a to 9c ,like Figure 9a As shown, if the operating position T of the electric curtain is the starting position on the total travel distance of the electric curtain and is between 0 and the target position S1 of the first operating stage, then the number of operating stages is 3. In this case, the total operating time of 35 minutes is divided into 3 parts: T1 + T2 + T3 = 35 minutes, meaning that the operating time T1 of the first operating stage is 30 minutes, the operating time T2 of the second operating stage is 3 minutes, and the operating time T3 of the third operating stage is 2 minutes. Figure 9b As shown, if the operating position T of the electric curtain is the starting position on the total travel distance of the electric curtain and is within the target position S1 of the first operating stage to the target position S2 of the second operating stage, then the number of operating stages is 2. In this case, the total operating time of 35 minutes is divided into two parts: T1' + T2' = 35 minutes, indicating that the operating time T1' of the first operating stage is 32 minutes and the operating time T2' of the second operating stage is 3 minutes; for example... Figure 9c As shown, if the running position T of the electric curtain is the starting position and is at the target position S2 of the second running stage to the target position 100% of the third running stage, then the number of running stages is 1. At this time, the total running time of 35 minutes is divided into 1 part: T1” = 35 minutes, which means that the running time T1” of the first running stage is 35 minutes.

[0104] In this way, T1+T2+T3=T1'+T2'=T1”, which ensures that the total running time remains constant and does not change with the starting position of the electric curtain. This avoids interference to users caused by changes in running time and helps to further improve the user experience.

[0105] Step 508: Obtain the operating parameters corresponding to the current operating stage from the operating plan based on the current operating stage of the electric curtain.

[0106] Step 509: Based on the operating parameters corresponding to the current operating stage in the operating plan, control the electric curtain to perform the actions corresponding to the current operating stage in the target scenario.

[0107] For example, assuming the operating position T of the electric curtain is the starting position of the total travel distance and is between 0 and the target position S1 of the first operating stage, then there are 3 operating stages. In this case, the total operating time of 35 minutes is divided into 3 parts: T1 + T2 + T3 = 35 minutes. That is, the operating time T1 of the first operating stage is 30 minutes, the operating time T2 of the second operating stage is 3 minutes, and the operating time T3 of the third operating stage is 2 minutes. Then, if the current operating stage of the electric curtain is the first operating stage, then in the first operating stage, the electric curtain is controlled to run at the first operating speed for 30 minutes; if the current operating stage of the electric curtain is the second operating stage, then in the second operating stage, the electric curtain is controlled to run at the second operating speed for 3 minutes; if the current operating stage of the electric curtain is the third operating stage, then in the third operating stage, the electric curtain is controlled to run at the third operating speed for 2 minutes.

[0108] Under the above embodiments, the running time of each running stage is different under different starting positions, but the total running time remains the same, avoiding interference to users caused by changes in running time and helping to further improve the user experience.

[0109] Figure 11 This is a schematic diagram illustrating the specific implementation of an electric curtain control method in an application scenario. In this scenario, a method for controlling electric curtains that open and close gradually is provided, and the specific process is as follows:

[0110] If users want the motorized curtains to operate with less noise or avoid sudden changes in light conditions in a target scenario, they can configure an automation scheme for the target scenario through step 601.

[0111] For example, the target scenario could be a wake-up scenario or a sleep scenario.

[0112] After completing the configuration of the automation scheme for the target scenario, in step 602, the user can continue to configure the configuration parameters for the motorized curtains under the target scenario in the automation scheme to achieve automated control of the motorized curtains.

[0113] The configuration parameters include, but are not limited to: number of running stages, total running time, target location of each running stage, running time of each running stage, travel distance of each running stage, and running speed of each running stage.

[0114] After setting the configuration parameters, an operation plan for the electric curtains in the target scenario can be generated. This operation plan is used to control the electric curtains to perform corresponding actions in each stage of operation in the target scenario.

[0115] Step 603 involves monitoring the device status of the triggering device to determine whether the triggering conditions in the automation scheme are met.

[0116] If the triggering conditions in the automation scheme are met, then proceed to step 604.

[0117] Conversely, if the triggering conditions in the automation scheme are not met, then continue to execute step 603.

[0118] Step 604: Check if the variable speed operation function of the electric curtain is enabled.

[0119] The variable speed operation function is used to indicate whether the electric curtains are allowed to operate at variable speeds.

[0120] Step 605: If the variable speed operation function is detected to be enabled, it means that the electric curtain is allowed to operate at variable speed. Then, by monitoring the operating position of the electric curtain, the electric curtain is controlled to perform the actions corresponding to each operating stage according to the operating data in the operating plan under the target scenario.

[0121] For example, in a wake-up scenario, the electric curtains begin to open gradually, with the running time of the first stage being much longer than that of the second stage, to achieve a slow-to-fast opening effect. In a sleep scenario, the electric curtains begin to close gradually, with the running speed of the first stage being much slower than that of the second stage, to achieve a slow-to-fast closing effect.

[0122] Step 606: If the variable speed operation function is detected to be off, it means that the electric curtain is not allowed to operate at a variable speed. Then, the electric curtain is controlled to run at a constant speed in the target scene.

[0123] In the above application scenarios, a solution for the low-impact operation of electric curtains has been implemented, which can meet users' needs for low noise and imperceptible curtain changes in different scenarios. For example, in the early stage of the wake-up scenario, the curtains open slowly, and the noise generated by the electric curtains is relatively small. In the later stage of the wake-up scenario, the curtains open slightly faster, so that users are not sensitive to the noise after gradually waking up, and can gradually adapt to the light environment from dark to bright, thus greatly improving the user experience.

[0124] The following are embodiments of the apparatus described in this application, which can be used to execute the electric curtain control method involved in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the method embodiments of the electric curtain control method involved in this application.

[0125] Please see Figure 12 This application provides an electric curtain control device 600, including but not limited to a configuration parameter acquisition module 610, an operation plan generation module 620, and an electric curtain control module 630.

[0126] The configuration parameter acquisition module 610 is used to determine the configuration parameters of the electric curtain in the target scene in response to the parameter configuration operation for the electric curtain; the configuration parameters include the target position of the electric curtain in at least one operating stage in the target scene.

[0127] The operation plan generation module 620 is used to generate an operation plan for the electric curtain for the target scenario based on the determined configuration parameters.

[0128] The electric curtain control module 630 is used to control the electric curtain to perform actions corresponding to each stage of operation in the target scenario based on the operation data in the operation plan, by monitoring the operating position of the electric curtain.

[0129] In one exemplary embodiment, the device further includes: a travel acquisition module, configured to receive travel data reported by the electric curtain, the travel data indicating the operating position of the electric curtain; and to monitor the operating position of the electric curtain through the travel data.

[0130] In one exemplary embodiment, the motorized curtain control module includes: a stage determination unit, configured to determine the current operating stage of the motorized curtain based on its operating position; a data acquisition unit, configured to acquire operating data corresponding to the current operating stage from an operating plan based on the current operating stage of the motorized curtain; an instruction generation unit, configured to generate a device control instruction based on the operating data corresponding to the current operating stage; and an instruction sending unit, configured to send the device control instruction to the motorized curtain, causing the motorized curtain to perform an action corresponding to the current operating stage in response to the device control instruction. In one exemplary embodiment, the stage determination unit includes: a traversal subunit, configured to traverse the target position of each operating stage; if the operating position of the motorized curtain is less than the target position of the traversed operating stage, then the traversed operating stage is determined to be the current operating stage of the motorized curtain; otherwise, the traversal of the target positions of each operating stage continues.

[0131] In an exemplary embodiment, the device further includes: a direction acquisition module, configured to determine the running direction of the electric curtain according to the target scene; and a stage division module, configured to divide the total travel of the electric curtain into multiple travel segments according to the running direction of the electric curtain and the target position of each running stage, with each travel segment corresponding to a running stage.

[0132] In an exemplary embodiment, the configuration parameters include the total running time; the device further includes: a quantity determination module, configured to determine the number of running stages based on the starting position and the target position of each running stage if the detected running position of the electric curtain is the starting position on the total travel of the electric curtain; a time and speed configuration module, configured to configure a corresponding running time and / or running speed for each running stage according to the total running time and the number of running stages; and a data determination module, configured to add the running time and / or running speed configured for each running stage as running data to the running plan.

[0133] In one exemplary embodiment, the sum of the runtimes configured for each runtime phase equals the total runtime.

[0134] In an exemplary embodiment, the operation phase includes a first operation phase, a second operation phase, and a third operation phase; among the operation phases, the first operation phase has the lowest operation speed, the third operation phase has the highest operation speed, and the operation speed of the second operation phase is between the operation speed of the first operation phase and the operation speed of the third operation phase.

[0135] In one exemplary embodiment, the device further includes: a detection module for detecting whether the variable speed operation function of the electric curtain is turned on; the variable speed operation function is used to indicate whether the electric curtain is allowed to operate at a variable speed; a variable speed operation module for controlling the electric curtain to perform actions corresponding to each operation stage in the target scene if the variable speed operation function is detected to be turned on; and a constant speed operation module for controlling the electric curtain to operate at a constant speed in the target scene if the variable speed operation function is detected to be turned off.

[0136] In an exemplary embodiment, the automation scheme is used to achieve automated control of the controlled device by monitoring the device status of the triggering device in a target scenario; the device further includes: an automation monitoring module, used to monitor whether the device status of the triggering device meets the triggering conditions in the automation scheme; if the triggering conditions in the automation scheme are met, then when the controlled device includes an electric curtain, the electric curtain is controlled to perform actions corresponding to each operating stage in the target scenario according to the operating data in the operating scheme, so as to achieve automated control of the electric curtain.

[0137] In one exemplary embodiment, the apparatus further includes: a page display module for displaying a scene configuration page corresponding to the target scene, wherein the scene configuration page displays an automation addition entry; a page conversion module for entering the automation configuration page in response to a trigger operation in the automation addition entry; and an operation detection module for displaying an automation scheme for the electric curtains in the scene configuration page if an automation configuration operation for the electric curtains triggered in the automation configuration page is detected, so as to achieve automated control of the electric curtains through the automation scheme for the electric curtains.

[0138] It should be noted that the electric curtain control device provided in the above embodiments is only illustrated by the division of the above functional modules when controlling electric curtains. In actual applications, the above functional modules can be assigned to different functional modules as needed. That is, the internal structure of the device control device will be divided into different functional modules to complete all or part of the functions described above.

[0139] Furthermore, the electric curtain control device and the electric curtain control method provided in the above embodiments belong to the same concept, and the specific way in which each module performs its operation has been described in detail in the method embodiments, and will not be repeated here.

[0140] Please see Figure 13 , Figure 13 A schematic diagram of the structure of an electronic device is shown according to an exemplary embodiment. This electronic device is suitable for... Figure 1 The diagram shows gateway 150 or server 170 in the implementation environment.

[0141] It should be noted that this electronic device is merely an example adapted to this application and should not be construed as providing any limitation on the scope of use of this application. Furthermore, this electronic device should not be interpreted as requiring or depending on any specific feature. Figure 13 One or more components of the exemplary electronic device 2000 shown.

[0142] The hardware structure of electronic devices 2000 can vary significantly due to differences in configuration or performance, such as... Figure 13 As shown, the electronic device 2000 includes: a power supply 210, an interface 230, at least one memory 250, and at least one central processing unit (CPU) 270.

[0143] Specifically, power supply 210 is used to provide operating voltage for various hardware devices on electronic device 2000.

[0144] Interface 230 includes at least one wired or wireless network interface 231 for interacting with external devices. For example, to perform... Figure 1 The diagram illustrates the interaction between terminal 100 and electronic device 200 in the implementation environment.

[0145] Of course, in other examples adapted in this application, interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input / output interface 235, and at least one USB interface 237, etc. Figure 13 As shown, this does not constitute a specific limitation.

[0146] The memory 250 serves as a carrier for resource storage and can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored on it include the operating system 251, application programs 253, and data 255, etc., and the storage method can be temporary storage or permanent storage.

[0147] The operating system 251 is used to manage and control the various hardware devices and application programs 253 on the electronic device 2000, so as to enable the central processing unit 270 to perform calculations and processing on the massive data 255 in the memory 250. It can be Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0148] Application 253 is a program instruction or code based on operating system 251 that performs at least one specific task, and may include at least one module. Figure 13 (Not shown), each module can contain program instructions or code for the electronic device 2000. For example, the electric curtain control device can be considered as an application program 253 deployed on the electronic device 2000.

[0149] The central processing unit 270 may include one or more processors and is configured to communicate with the memory 250 via at least one communication bus to read program instructions or code stored in the memory 250, thereby performing calculations and processing on the massive amount of data 255 stored in the memory 250. For example, an electric curtain control method can be implemented by the central processing unit 270 reading a series of program instructions or code stored in the memory 250.

[0150] Furthermore, this application can also be implemented through hardware circuits or a combination of hardware circuits and software. Therefore, the implementation of this application is not limited to any specific hardware circuit, software, or combination thereof.

[0151] Please see Figure 14 This application provides an electronic device 4000, which may include: desktop computer, laptop computer, server, gateway, etc.

[0152] exist Figure 13 In this context, the electronic device 4000 includes at least one processor 4001 and at least one memory 4003.

[0153] The data interaction between the processor 4001 and the memory 4003 can be achieved through at least one communication bus 4002. This communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 14 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0154] Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.

[0155] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0156] The memory 4003 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program instructions or code in the form of instructions or data structures and accessible by the electronic device 400, but not limited thereto.

[0157] The memory 4003 stores program instructions or code, and the processor 4001 can read the program instructions or code stored in the memory 4003 through the communication bus 4002.

[0158] When the program instructions or code are executed by the processor 4001, the electric curtain control method in the above embodiments is implemented.

[0159] In addition, this application provides a storage medium storing program instructions or code, which is loaded and executed by a processor to implement the electric curtain control method in the above embodiments.

[0160] This application provides an application product, which includes program instructions or code stored in a storage medium. The processor of the electronic device reads the program instructions or code from the storage medium, loads and executes the program instructions or code, so that the electronic device implements the electric curtain control method in the above embodiments.

[0161] Compared with related technologies, this application provides a variable-speed electric curtain control method to meet users' needs for low noise and imperceptible changes in light, and solves the problems of high noise and sudden changes in light environment caused by electric curtains running at a constant speed in related technologies.

[0162] Furthermore, this application is simple and reliable in calculation, does not consume excessive resources, does not involve complex speed control logic, and can plan the corresponding running time and running speed for each operating stage; at the same time, it can be customized for different user needs, flexibly setting configuration parameters such as the number of operating stages, total running time, target position of each operating stage, running time, running distance, travel distance, and running speed for electric curtains.

[0163] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0164] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for controlling an electric curtain, characterized in that, The method includes: Display the scene configuration page corresponding to the target scene. If an operation triggered to achieve automated control of the electric curtains is detected in the scene configuration page, then display the automation configuration page. In response to the parameter configuration operation for the motorized curtains on the automation configuration page, the configuration parameters of the motorized curtains in the target scenario are determined; the configuration parameters include the target position of the motorized curtains in at least one operating stage and the total operating time in the target scenario; Based on the determined configuration parameters, an operation plan for the electric curtains for the target scenario is generated, and an automation plan for the electric curtains is displayed on the scenario configuration page; the automation plan is used to achieve at least automated control of the electric curtains by monitoring the device status of the triggering device in the target scenario. When the triggering conditions in the automation scheme are met, each of the operating stages in the target scenario is determined on the total travel of the electric curtain based on the running direction of the electric curtain in the target scenario and the target position of each of the operating stages. By monitoring the operating position of the electric curtain and the operating stages in the target scenario, the electric curtain is controlled to perform actions corresponding to each operating stage in the target scenario based on the operating data corresponding to each operating stage in the operating plan, so that the actions performed by the electric curtain in different operating stages meet the user's needs in the target scenario. After monitoring the operating position of the motorized curtain, the method further includes: If the monitored operating position of the electric curtain is the starting position on the total travel of the electric curtain, then the number of operating stages is determined based on the starting position and the target position of each operating stage; Configure the corresponding running time and / or running speed for each running stage based on the total running time and the number of running stages; The running time and / or running speed configured for each running stage are added to the running plan as the running data; the sum of the running times configured for each running stage equals the total running time.

2. The method as described in claim 1, characterized in that, The method involves monitoring the operating position of the electric curtain and each operating stage in the target scenario, and controlling the electric curtain to perform actions corresponding to each operating stage in the target scenario based on the operating data corresponding to each operating stage in the operating plan, including: The current operating stage of the electric curtain is determined based on its operating position and the various operating stages in the target scenario. Based on the current operating stage of the electric curtain, obtain the operating data corresponding to the current operating stage from the operating plan; Generate device control instructions based on the operating data corresponding to the current operating stage; The device control command is sent to the electric curtain, causing the electric curtain to respond to the device control command and perform an action corresponding to the current operating stage.

3. The method as described in claim 2, characterized in that, Determining the current operating stage of the electric curtain based on its operating position and the various operating stages in the target scenario includes: Traverse the target positions for each of the aforementioned operational stages; If the operating position of the electric curtain is less than the target position of the traversed operating stage, then the traversed operating stage is determined to be the current operating stage of the electric curtain. Otherwise, continue traversing the target positions of each of the aforementioned operational stages.

4. The method as described in claim 1, characterized in that, The step of determining each operating stage of the electric curtain in the target scenario based on the operating direction of the electric curtain in the target scenario and the target position of each operating stage, over the total travel of the electric curtain, includes: The operating direction of the electric curtain is determined based on the target scenario; Based on the operating direction of the electric curtain and the target position of each operating stage, the total travel distance of the electric curtain is divided into multiple travel segments; each travel segment corresponds to one operating stage.

5. The method according to any one of claims 1 to 4, characterized in that, The operation phases include a first operation phase, a second operation phase, and a third operation phase; In each of the aforementioned operating stages, the first operating stage has the lowest operating speed, the third operating stage has the highest operating speed, and the operating speed of the second operating stage is between the operating speed of the first operating stage and the operating speed of the third operating stage.

6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The system detects whether the variable speed operation function of the electric curtain is enabled; the variable speed operation function is used to indicate whether the electric curtain is allowed to operate at variable speed. If the variable speed operation function is detected to be activated, the electric curtain is controlled to perform actions corresponding to each operation stage in the target scenario; If the variable speed operation function is detected to be off, the electric curtain is controlled to run at a constant speed in the target scene.

7. The method according to any one of claims 1 to 4, characterized in that, The automation solution is used to achieve automated control of the controlled equipment by monitoring the equipment status of the triggering device in the target scenario. When the triggering condition in the automation scheme is met, the method further includes: Monitor whether the device status of the triggering device meets the triggering conditions in the automation scheme; If the triggering condition in the automation scheme is met, then when the controlled device includes the electric curtain, the step of controlling the electric curtain to perform actions corresponding to each of the operation stages in the target scenario based on the operation data corresponding to each of the operation stages in the operation scheme is executed, so that the actions performed by the electric curtain in different operation stages meet the user needs in the target scenario.

8. The method according to any one of claims 1 to 4, characterized in that, The scene configuration page corresponding to the target scene is displayed. If an operation triggered to achieve automated control of the electric curtains is detected on the scene configuration page, an automation configuration page is displayed, including: Display the scene configuration page corresponding to the target scene, and the scene configuration page displays an automatic addition entry point; In response to the triggered operation for adding the automated entry, the system enters the automation configuration page.

9. The method according to any one of claims 1 to 4, characterized in that, Before the monitored operating position of the motorized curtain is determined, the method further includes: Receive travel data reported by the electric curtain; the travel data is used to indicate the operating position of the electric curtain; The operating position of the electric curtain is monitored using the travel data.

10. An electric curtain control device, characterized in that, The device includes: The configuration parameter acquisition module is used to display the scene configuration page corresponding to the target scene. If an operation triggered to achieve automated control of the electric curtain is detected in the scene configuration page, the automation configuration page is displayed. In response to the parameter configuration operation for the electric curtain on the automation configuration page, the configuration parameters of the electric curtain in the target scene are determined. The configuration parameters include the target position of the electric curtain in at least one running stage and the total running time in the target scene. The operation plan generation module is used to generate an operation plan for the electric curtain for the target scenario based on the determined configuration parameters, and display the automation plan for the electric curtain in the scenario configuration page; the automation plan is used to achieve at least automated control of the electric curtain by monitoring the device status of the triggering device in the target scenario; An electric curtain control module is used to determine, based on the running direction of the electric curtain in the target scenario and the target position of each running stage, the total travel distance of the electric curtain when the triggering conditions in the automation scheme are met; and to control the electric curtain to perform actions corresponding to each running stage in the target scenario according to the running data corresponding to each running stage in the operation scheme, so that the actions performed by the electric curtain in different running stages meet the user's needs in the target scenario. The device is further configured to, if the monitored operating position of the electric curtain is the starting position on the total travel of the electric curtain, determine the number of operating stages based on the starting position and the target position of each operating stage; configure corresponding operating time and / or operating speed for each operating stage according to the total operating time and the number of operating stages; add the operating time and / or operating speed configured for each operating stage as the operating data to the operating plan; and the sum of the operating times configured for each operating stage equals the total operating time.

11. An electronic device, characterized in that, include: At least one processor and at least one memory, wherein, The memory stores program instructions or code; The program instructions or code are loaded and executed by the processor, causing the electronic device to implement the electric curtain control method as described in any one of claims 1 to 9.

12. A storage medium storing program instructions or code thereon, characterized in that, The program instructions or code are loaded and executed by the processor to implement the electric curtain control method as described in any one of claims 1 to 9.