Point marking method and device, electric curtain and storage medium

By setting a second device on the curtain track and using sensor signals to determine the position marking information, the problem of inaccurate positioning of motorized curtains is solved, enabling the curtain to open or close accurately at a predetermined position, thus improving the applicability and reliability of motorized curtains.

CN116941952BActive Publication Date: 2026-01-13SHENZHEN LUMIUNITED TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310732046.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-19
Publication Date
2026-01-13
Estimated Expiration
2043-06-19

AI Technical Summary

Technical Problem

Existing electric curtains cannot accurately identify the location, causing the curtains to fail to open or close at the intended position, which is especially noticeable when there is no belt drive or the motor is aging.

Method used

Multiple second devices are installed on the curtain track. The position marking information is determined by the sensing signal generated when the first device and the second device are close together. Accurate positioning is achieved by combining the controller and drive device.

Benefits of technology

It enables accurate identification of points for motorized curtains, ensuring that the curtains can be opened or closed accurately at the predetermined position, reducing the requirements for the flatness of the curtain track, expanding the motor's compatibility range, and avoiding inaccurate travel and track disengagement from the fixed buckle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116941952B_ABST
    Figure CN116941952B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of smart homes, and discloses a point position marking method and device, an electric curtain and a storage medium. The method is applied to an electric curtain, the electric curtain comprises a first device and at least two second devices, each second device is arranged on a curtain rail, and an induction signal is generated when the first device and the second device are close to each other. The method comprises the following steps: acquiring a first instruction, wherein the first instruction is an instruction for driving the first device to move; controlling the first device to move on a target stroke according to the first instruction; and acquiring a first signal generated when the first device and the second device are close to each other, wherein the first signal is used for determining point position marking information. The point position marking information can be used to accurately identify the point position of the electric curtain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart home technology, and in particular to a point marking method, device, electric curtain, and storage medium. Background Technology

[0002] Existing motorized curtains, when using beltless motorized curtains, cannot accurately identify the points because there is no belt for precise point marking, thus preventing the motorized curtains from opening or closing at the predetermined position. Conversely, when using belt-driven motorized curtains, if the motor is aging or other reasons that prevent precise control of the travel, it will also result in inaccurate point identification, thus preventing the motorized curtains from opening or closing at the predetermined position. Summary of the Invention

[0003] Based on this, it is necessary to address the technical problem that existing electric curtains cannot accurately identify locations, and a location marking method is proposed.

[0004] A first aspect of this application proposes a point marking method applied to an electric curtain, the electric curtain including a first device and at least two second devices, each second device being disposed on a curtain track, wherein a sensing signal is generated when the first device and the second devices are close together, wherein the method includes:

[0005] Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0006] According to the first instruction, control the first device to move along the target stroke;

[0007] A first signal generated when the first device and the second device are close together is acquired, and the first signal is used to determine the location marker information.

[0008] A second aspect of this application provides a point marking device applied to an electric curtain, the electric curtain including a first device and at least two second devices, each second device being disposed on a curtain track, wherein a sensing signal is generated when the first device and the second devices are close together, wherein the device includes:

[0009] The marking module is used to acquire a first instruction, wherein the first instruction is an instruction for driving the first device to move; control the first device to move along a target path according to the first instruction; and acquire a first signal generated when the first device approaches the second device, wherein the first signal is used to determine the point marking information.

[0010] A third aspect of this application provides an electric curtain, comprising: a first device, at least two second devices, a housing, a drive device, and a controller. Each second device is disposed on a curtain track. When the first device and the second device are close together, a sensing signal is generated. The first device, the drive device, and the controller are disposed within the housing. The drive device is used to drive the first device to move along a target stroke according to a control signal sent by the controller. The controller includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0011] Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0012] According to the first instruction, control the first device to move along the target stroke;

[0013] A first signal generated when the first device and the second device are close together is acquired, and the first signal is used to determine the location marker information.

[0014] A fourth aspect of this application provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the point marking method as described in any of the first aspects.

[0015] The aforementioned point marking method, device, electric curtain, and storage medium firstly place each second device on the curtain track, which is equivalent to setting a second device at each point; then, based on a first command, control the first device to move along the target stroke, so that the first device moves closer to the second device, and obtain the first signal generated when the first device and the second device move closer. The first signal is used to determine the point marking information, thereby determining the point marking information corresponding to each second device. The point marking information enables the electric curtain to accurately identify the point, providing a basis for the electric curtain to accurately open or close the curtain at a predetermined position. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] in:

[0018] Figure 1 This is a diagram illustrating the application environment of the point marking method in one embodiment;

[0019] Figure 2 This is a schematic diagram of the locations in this application;

[0020] Figure 3 This is a schematic diagram illustrating the direction of motion in this application;

[0021] Figure 4 This is a flowchart illustrating a point marking method in one embodiment;

[0022] Figure 5 This is a schematic diagram of the workflow of an electric curtain using a point marking method in one embodiment;

[0023] Figure 6 This is a schematic diagram of the workflow of an electric curtain using a point marking method in one embodiment;

[0024] Figure 7 This is a structural block diagram of a point marking device in one embodiment;

[0025] Figure 8 This is a structural block diagram of a point marking device in one embodiment;

[0026] Figure 9 This is a structural block diagram of a point marking device in one embodiment;

[0027] Figure 10 This is a structural block diagram of an electric curtain in one embodiment;

[0028] Figure 11 This is a structural block diagram of an electric curtain in one embodiment. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0030] The point marking method provided in this application can be applied to, for example... Figure 1 The application environment shown. Among them, Figure 1 A smart home control system is provided, which includes a smart device 100, a gateway 200, a router 300, a server 400, and a terminal 500 that are communicatively connected to the smart device 100. The smart device 100 can be a device such as an electric curtain, and is not limited thereto.

[0031] Smart device 100 connects to gateway 200 in the smart home control system and communicates with gateway 200 through its own configured communication module, thereby being controlled by gateway 200. In one embodiment, smart device 100 connects to gateway 200 via a local area network (LAN) or a wide area network (WAN), thus being deployed within gateway 200. The LAN may include Zigbee or Bluetooth, while the WAN may include 2G / 3G / 4G / 5G / Wi-Fi, etc. Zigbee is a wireless communication technology used for short-range and low-data-rate applications; it was previously known as "HomeRF Lite" and "FireFly," and is collectively referred to as Zigbee technology.

[0032] Gateway 200 establishes a network connection with terminal 500 or server 400 through router 300. In one embodiment, the network connection between gateway 200 and terminal 500 can be established through a local area network or wide area network path. Through this network connection, it interacts with terminal 500, thereby enabling the user to control the smart device 100 connected to gateway 200 to perform corresponding actions via terminal 500.

[0033] The terminal 500 can be a smartphone, laptop, personal computer, tablet, smart control panel, or other network-connected electronic device, and is not limited thereto. The terminal 500 runs a client application, for example... Figure 1 The APP (mobile software) in the middle. The server 400 can be implemented using a standalone server 400 or a server 400 cluster composed of multiple servers 400.

[0034] The motorized curtain includes: a first device, at least two second devices, a housing, a drive device, and a controller. Each second device is mounted on a curtain track. When the first and second devices are close together, a sensing signal is generated. The first device, drive device, and controller are housed within the housing, and the controller is electrically connected to the drive device. The drive device is used to drive the first device to move along a target stroke according to the control signal sent by the controller. The curtain track is a curtain accessory used to suspend curtain fabric for opening and closing, and also to enhance the aesthetics of the curtain fabric. The drive device includes at least a motor. The controller is connected to the motor. The motor moves according to the control signal sent by the controller, and the movement of the motor drives the first device to move along the target stroke. Optionally, the motor of the drive device is a DC motor.

[0035] A point is a location used for limiting movement in the motion control of electric curtains.

[0036] The driving device is in direct or indirect contact with the curtain track. The driving device moves along the curtain track, and the driving device drives the first device to move together. The movement trajectory or path of the first device is parallel to the curtain track. Therefore, the target travel is a trajectory or path parallel to the curtain track.

[0037] The drive unit moves the first device along the curtain track, which is equivalent to the first device moving along the target travel distance. To notify the motorized curtains that a certain point on the curtain track is a point of interest, a second device is placed at that point. Since the target travel distance is parallel to the curtain track, the point corresponding to the second device is equivalent to a point along the target travel distance. These second devices are spaced apart, thus creating multiple points along the target travel distance.

[0038] like Figure 2 As shown, C represents the mechanism moving on the curtain track. This mechanism includes a first device, a drive device, and a controller. A and B are both points. A second device is installed at the corresponding point on the curtain track or on the wall. Similarly, a second device is installed at the corresponding point on the curtain track or on the wall. It is understandable that after the second devices are installed at points A and B, the electric curtain's first start-up is uncertain, as the positions and meanings of A and B are unknown. Therefore, points A and B need to be marked. After obtaining the point marking information for points A and B, the electric curtain can calibrate its travel based on these information.

[0039] Specifically, after the motorized curtains and curtain tracks are installed, the controller of the motorized curtains can be used to: acquire a first instruction, wherein the first instruction is an instruction to drive the first device to move; control the first device to move along a target travel distance according to the first instruction; and acquire a first signal generated when the first device approaches the second device, the first signal being used to determine the point marking information. Because a second device is set at each point, the point marking information enables the motorized curtains to accurately identify the points, providing a basis for the motorized curtains to accurately open or close the curtains at a predetermined position.

[0040] The first device and the second device are paired devices. When the first device and the second device are close to each other, either the first device or the second device generates a sensing signal. That is, a sensing signal will only be generated when the distance between the first device and the second device is within a preset distance range; no sensing signal will be generated when the distance between the first device and the second device is outside the preset distance range.

[0041] For beltless electric curtains, since the left and right curtain end positions cannot be effectively sensed and identified, it is necessary to make an obstacle detection judgment at the end of the travel to determine whether the end point has been reached. However, the following problems will exist: (1) Obstruction and stop caused by unevenness of the curtain track surface will lead to misjudgment as the end point of the travel, resulting in the inconsistency between the set travel and the actual travel; (2) When the end point of the travel is actually reached, an obstacle detection and stop judgment will be made to determine whether the end point has been reached. At this time, a large lateral thrust will be applied to the end point of the curtain track. Currently, most curtain tracks are fixed by snap-on fixing, not by direct fixing, which will cause the curtain track to shift laterally and affect normal use; (3) Since there is no belt for precise travel control, after a long period of operation, slippage between the drive device and the curtain track will cause the travel to be inaccurate; (4) Currently, the curtain fabric is getting heavier and heavier, requiring the motor to use a larger thrust, which makes the fixed end point of the curtain track easier to be damaged and the travel setting more difficult. The point marking method of this application provides the location of the points of interest by setting each second device on the curtain track. This is equivalent to setting a second device at each point. Since the position of the second device is fixed, point displacement of the curtain track is avoided. Then, based on the first command, the first device is controlled to move along the target stroke, so that the first device moves closer to the second device. The first signal generated when the first device and the second device move closer is obtained. The first signal is used to determine the point marking information, thereby determining the point marking information corresponding to each second device. The point marking information enables the electric curtain to accurately identify the point, providing a basis for the electric curtain to accurately open or close the curtain at the predetermined position. Moreover, the flatness requirement of the curtain track is reduced, expanding the adaptability range of the motor. It does not need to consider the damage to the end of the track by large thrust, so the motor thrust can be increased accordingly. No stroke calibration is required. The point marking method of this application is also applicable to curtain tracks without reinforced fixation at both ends, without causing the curtain track to disengage from the fixing buckle.

[0042] In one embodiment, such as Figure 4 As shown, a point marking method is provided, which is applied to an electric curtain. The electric curtain includes a first device and at least two second devices, each of which is disposed on a curtain track. When the first device and the second devices are close to each other, a sensing signal is generated. The method includes:

[0043] Step 202: Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0044] The first instruction is the instruction that controls the first device to move along the target stroke.

[0045] Specifically, the controller of the electric curtain receives a first instruction, which is an instruction to drive the first device to move. It is understood that when the drive device of the electric curtain moves along the curtain track, the drive device will cause the first device to move along a target stroke.

[0046] Optionally, the user clicks the calibration function button or the motion button on the client side of the terminal, and the client will generate the first command; the client sends the first command to the controller of the electric curtain through the gateway 200 or the server 400.

[0047] Optionally, the user inputs voice on the client side of the terminal; the client converts the voice into text, recognizes the user's intent based on the text to mark the location, and then the client sends the first instruction to the controller of the electric curtain through the gateway 200 or the server 400.

[0048] Optionally, the user can trigger a first command by clicking on the remote control of the electric curtain; the remote control then sends the first command to the controller of the electric curtain.

[0049] Step 204: According to the first instruction, control the first device to move along the target stroke;

[0050] The target journey is the distance that a continuous curtain must travel when it is opened and closed.

[0051] Specifically, when the controller of the electric curtain receives the first instruction, it sends a control signal to the motor of the electric curtain's drive device to control the motor's movement. The motor's movement will drive the drive device to move on the curtain track, thereby moving the first device connected to the drive device along the target travel distance. It can be understood that the direction of the motor's movement at this time can be a preset direction or the direction corresponding to the direction information carried by the first instruction.

[0052] Step 206: Obtain a first signal generated when the first device and the second device are close together. The first signal is used to determine the location marker information.

[0053] Location marking information is used to mark location information. This location marking information can be stored on server 400, gateway 200, client, or local storage space corresponding to the motorized curtain controller (e.g., local memory corresponding to the motorized curtain controller).

[0054] Specifically, when the first device moves along the target travel distance, and approaches one of the second devices, if the distance between the first device and the second device is within a preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it uses the sensing signal as a first signal. The controller of the electric curtain determines the location marker information based on the first signal, or the controller of the electric curtain sends the first signal to the client so that the client can determine the location marker information corresponding to the approaching second device based on the first signal.

[0055] Optionally, the point marking information includes: point type, and the value range of the point type includes: starting point and ending point.

[0056] Optionally, the point marking information includes: point type, and the value range of the point type includes: starting point, ending point and at least one intermediate point, and the intermediate points do not overlap.

[0057] Steps 202 to 206 are executed once to complete the calibration of one point. If multiple points need to be calibrated, simply execute steps 202 to 206 multiple times.

[0058] The location marking information for each second device can be determined using steps 202 to 206. It is understood that users can also mark only some of the locations corresponding to the second devices, depending on their needs.

[0059] When the controller of the electric curtain determines the location marker information based on the first signal, the location marker information includes: "This is a location." In other words, the controller of the electric curtain will remember that this is a location.

[0060] When the client determines the location marker information corresponding to the approaching second device based on the first signal, more information can be entered on the client. Therefore, the location marker information includes at least: location type. The location type can be text selected from a preset list or custom text entered by the user. The value range of the location type includes: curtain closed, curtain fully open, or curtain partially open. Here, curtain closed means the curtain is fully open, curtain partially open means the curtain is fully closed, and curtain partially open means the curtain opening ratio is between the opening ratio corresponding to fully open and the opening ratio corresponding to closed.

[0061] It is understood that the point type can also be defined as other types, for example, the value range of the point type includes: left endpoint and right endpoint.

[0062] It is understandable that the first instruction can be a point calibration instruction; the first instruction can also be simply an instruction to control the first device to move along the target travel distance. In this case, when the controller of the electric curtain obtains the first signal generated when the first device and the second device approach each other, it will actively report the first signal to the client, and the client will determine the point marking information corresponding to the approaching second device based on the first signal.

[0063] This embodiment first provides the positioning of the points of interest by setting each second device on the curtain track, which is equivalent to setting a second device at each point; then, based on the first command, the first device is controlled to move along the target stroke, so that the first device moves closer to the second device, and the first signal generated when the first device and the second device move closer is obtained. The first signal is used to determine the point marking information, and the point marking information corresponding to each second device is determined. The point marking information enables the electric curtain to accurately identify the point, which provides a basis for the electric curtain to accurately open or close the curtain at the predetermined position.

[0064] In one embodiment, the number of the second devices is two; the step of controlling the first device to move along the target path according to the first instruction, and acquiring a first signal generated when the first device and the second device approach each other, the first signal being used to determine the point marker information, includes:

[0065] Step 302: According to the first instruction, control the first device to move along the first direction on the target travel distance, acquire the first first signal generated when the first device approaches the second device, and send the first first signal to the client so that the client can determine the point marker information corresponding to the second device based on the first first signal, wherein the first direction is the direction corresponding to the preset direction information or the direction corresponding to the direction information carried by the first instruction;

[0066] Preset direction information is pre-stored direction information, such as moving from left to right or from right to left.

[0067] Specifically, firstly, it is determined whether the first instruction carries directional information. If it does, the direction corresponding to the directional information carried by the first instruction is taken as the first direction; if it does not, the direction corresponding to the preset directional information is taken as the first direction. Then, according to the directional information corresponding to the determined first direction, a control signal is sent to the motor of the drive device of the electric curtain to control the movement of the motor of the drive device. The movement of the motor will drive the drive device to move on the curtain track, so as to realize that the first device connected to the drive device moves along the first direction along the target stroke. Since there are two second devices, and the points corresponding to the two second devices are the two points of the target stroke, when the first device approaches one of the two second devices, when the distance between the first device and the second device is within the preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it takes the sensing signal as the first signal. The controller of the electric curtain sends the first signal to the client. The client obtains the point mark information input by the user according to the received first signal and takes the point mark information as the point mark information corresponding to the second device that the first device is approaching.

[0068] It is understandable that if the first instruction carries directional information, it will cause the first device to move along the direction desired by the user on the target travel distance, which will help the user quickly determine the point marker information based on the first first signal; if the first instruction does not carry directional information, it will simplify the user's operation process of sending the first instruction.

[0069] Step 304: Control the first device to move along the second direction on the target travel path, acquire the second first signal generated when the first device approaches the second device, and send the second first signal to the client so that the client can determine the point marker information corresponding to the second device based on the second first signal, wherein the second direction is opposite to the first direction.

[0070] like Figure 3 As shown in 3(a), C describes the mechanism that moves on the curtain track. The mechanism includes: a first device, a drive device and a controller. A and B are both points. A second device is set on the curtain track corresponding to A or on the wall corresponding to A. A second device is set on the curtain track corresponding to B or on the wall corresponding to B. F1 is the first direction and F2 is the second direction.

[0071] Specifically, the controller of the electric curtain controls the first device to move in the opposite direction to the first direction, so as to control the first device to move along the second direction on the target travel distance; when the first device approaches another of the two second devices, if the distance between the first device and the second device is within a preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it uses the sensing signal as a second first signal; the controller of the electric curtain sends the second first signal to the client; the client obtains the point mark information input by the user based on the received second first signal, and uses the point mark information as the point mark information corresponding to the second device that the first device has approached this time.

[0072] Optionally, when the controller of the electric curtain successfully sends the first signal to the client, it begins to control the first device to move along the second direction on the target travel distance.

[0073] Optionally, when the client determines the location marker information corresponding to the second device based on the first first signal, the client will send a completion marker signal to the controller of the electric curtain; when the controller of the electric curtain receives the completion marker signal, it responds to the completion marker signal and controls the first device to move along the second direction on the target travel distance.

[0074] Optionally, the two points corresponding to the second devices are the two endpoints of the target travel distance. This results in one of the marked points indicating the curtains are closed, and the other marked point indicating the curtains are fully open. It can be understood that the two points corresponding to the second devices are two points on a portion of the target travel distance, thus meeting the user's personalized curtain usage needs.

[0075] In this embodiment, the first instruction activates the electric curtain to move along a first direction, thereby obtaining a second direction from the first direction. The second direction is obtained by directly reversing the first direction. The electric curtain is then controlled to move along the second direction, thus enabling the calibration process of two points to be completed with a single first instruction. This simplifies the calibration steps, improves calibration efficiency, and enhances the user experience. The point marking information enables the electric curtain to accurately identify the points, providing a basis for accurately opening or closing the curtain at a predetermined position. The point marking information is determined by the client, which allows users to input rich information as point marking information. In subsequent use of the electric curtain, users can quickly find the point marking information that meets their needs, further improving the user experience.

[0076] In one embodiment, the number of the second devices is at least two; the step of obtaining a first instruction, wherein the first instruction is an instruction for driving the first device to move, controlling the first device to move along a target path according to the first instruction, and obtaining a first signal generated when the first device and the second device approach each other, the first signal being used to determine the point marker information, includes:

[0077] Step 402, obtain the first instruction;

[0078] Specifically, the implementation method of step S402 is the same as that of step S202.

[0079] Step 404: According to the first instruction, control the first device to move along a third direction on the target travel distance, acquire the first signal corresponding to the second device generated when the first device approaches the second device, and send the first signal corresponding to the second device to the client so that the client can determine the point marker information corresponding to the second device based on the first signal, wherein the third direction is the direction corresponding to the direction information carried by the first instruction;

[0080] Specifically, the direction corresponding to the direction information carried by the first instruction is taken as the third direction; then, according to the direction information corresponding to the determined third direction, a control signal is sent to the motor of the drive device of the electric curtain to control the movement of the motor of the drive device. The movement of the motor will drive the drive device to move on the curtain track, so as to realize that the first device connected to the drive device moves along the third direction along the target stroke; when the first device approaches one of the second devices, when the distance between the first device and the second device is within a preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it takes the sensing signal as the first signal; the controller of the electric curtain sends the first signal to the client; the client obtains the point mark information input by the user according to the received first signal, and takes the point mark information as the point mark information corresponding to the second device that the first device approaches this time.

[0081] like Figure 3 As shown in 3(b), C describes the mechanism that moves on the curtain track. The mechanism includes: a first device, a drive device and a controller. A and B are both points. A second device is set on the curtain track corresponding to A or at the position point corresponding to A on the wall. A second device is set on the curtain track corresponding to B or at the position point corresponding to B on the wall. F3 is a third direction.

[0082] Step 406: Jump to the step of obtaining the first instruction and continue execution.

[0083] Specifically, since there are at least two second devices, all the points corresponding to the second devices are at least two points of the target journey. It is necessary to reacquire the first instruction. The first instruction is the instruction used to drive the first device to move in order to mark other points. Therefore, we jump to the step of acquiring the first instruction to continue execution, that is, we jump to step 402 and continue to execute step 402 to start marking the next point.

[0084] This embodiment obtains a first instruction cyclically, which is an instruction to drive the first device to move, so as to determine the corresponding point marking information of each of the second devices, thus meeting the personalized point marking requirements. The point marking information enables the electric curtain to accurately identify the point, providing a basis for the electric curtain to accurately open or close the curtain at a predetermined position. The point marking information is determined by the client, which is conducive to the user inputting rich information as point marking information. In subsequent use of the electric curtain, the user can quickly find the point marking information that meets their needs, thus improving the user experience.

[0085] In one embodiment, the step of acquiring a first signal generated when the first device and the second device are close together, wherein the first signal is used to determine location marker information, includes:

[0086] The first signal generated when the first device and the second device are close together is acquired, and the point marking information corresponding to the second device is determined based on the first signal using a preset marking method.

[0087] Specifically, the controller of the electric curtain acquires the first signal generated when the first device and the second device approach each other; the controller of the electric curtain uses a preset marking method to determine the point marking information corresponding to the second device based on the first signal. This achieves automatic point marking through the controller of the electric curtain.

[0088] In this embodiment, the controller of the electric curtain obtains a first signal and uses a preset marking method to determine the point marking information corresponding to the second device based on the first signal, thereby realizing automatic and rapid point marking through the controller of the electric curtain.

[0089] In one embodiment, the specific steps for using the first signal to determine the location marker information include:

[0090] Step 502: Obtain first travel information, wherein the first travel information is the travel information of the first device when the first signal is generated;

[0091] The electric curtain also includes a travel recording component, which is used to identify the travel information of the first device. The selection range of the travel recording component includes, but is not limited to, Hall effect sensors and distance sensors. A Hall effect sensor can be installed at the transmission shaft of the motor driving device of the electric curtain to determine the number of motor rotations or the amount of magnetic field to identify travel information; the travel information identified by the Hall effect sensor is used as the travel information of the first device. The data format of the first travel information is related to the specifications of the travel recording component and is not limited here.

[0092] Specifically, the travel information sent by the travel recording component of the electric curtain is obtained, and this travel information is used as the first travel information.

[0093] Step 504: Send the first signal and the first travel information to the client so that the client can determine the location marker information based on the first signal and the first travel information.

[0094] Specifically, the controller of the electric curtain sends the first signal and the first travel information to the client. The client obtains the point type input by the user based on the first signal and the first travel information, associates the point type input by the user with the first travel information, and uses the association result as the point marking information.

[0095] This embodiment determines the location marking information based on the travel information of the first device when the first signal is generated and the first signal itself. This allows the location marking information to include the travel information of the location at the time of marking, providing a foundation for accurate curtain control based on the travel information in the location marking information, and further improving the accuracy of motorized curtain location identification. By determining the location marking information through the client, users can input rich information as the location type. In subsequent use of the motorized curtains, users can quickly find the location marking information that meets their needs, improving the user experience.

[0096] In one embodiment, the location marking information includes: location type, and the value range of the location type includes: curtain closed, curtain fully open, and curtain partially open.

[0097] Partial opening of the curtains refers to a curtain opening ratio that falls between the ratio for fully open and fully closed. There can be one or more partially open curtains. When multiple curtains are partially open, the opening ratios of each partially open section can be the same or different.

[0098] In one embodiment, such as Figure 6 As shown, after the step of acquiring the first signal generated when the first device and the second device are close together, and using the first signal to determine the location marker information, the method further includes:

[0099] Step 702: Obtain a second instruction based on the location marker information of each location, wherein the second instruction is an instruction for driving the electric curtain to move along the curtain track according to the location marker information of each location;

[0100] The second instruction is the control instruction given during the actual use of the electric curtains after the location marking.

[0101] Specifically, the controller of the electric curtain obtains a second instruction based on the location marker information of each point.

[0102] Optionally, based on the location marking information, the user clicks a button on the client side of the terminal to generate a second instruction; the client then sends the second instruction to the controller of the electric curtain via the gateway 200 or the server 400.

[0103] Optionally, based on the location marking information, the user inputs voice on the client of the terminal; the client converts the voice into text, recognizes the user's intention based on the text and generates a second instruction, then the client sends the second instruction to the controller of the electric curtain through the gateway 200 or the server 400.

[0104] Optionally, based on the location marking information, the user clicks on the remote control of the electric curtain to trigger a second command; the remote control sends the second command to the controller of the electric curtain.

[0105] Step 704: According to the second instruction, determine the target point type and the point list corresponding to the target route, wherein each point type in the point list is sorted according to the position of the target route;

[0106] The point list contains all point types of the target route, and each point in the list is ordered according to the position of the points in the target route. For example, the point types in the point list include A1, B2, C3, and D4 in sequence. A1 is the point type in the point marker information corresponding to point A, B2 is the point type in the point marker information corresponding to point B, C3 is the point type in the point marker information corresponding to point C, and D4 is the point type in the point marker information corresponding to point D. The points in the target route are A, B, C, and D from left to right. Since the point order corresponding to A1, B2, C3, and D4 (that is, arranged in A, B, C, and D) is the same as the point order of the target route (that is, arranged in A, B, C, and D), the point types in the point list are ordered according to their position in the target route.

[0107] It is understood that the motor movement direction can be recorded in the point list corresponding to the target stroke, from the beginning to the end of the point list. Alternatively, the motor movement direction from the beginning to the end of the point list can be written into the program file implementing this application, so that the motor movement can be controlled and determined through the motor movement direction.

[0108] Specifically, upon receiving the second instruction, the point type carried by the second instruction is taken as the target point type, and a preset point list is taken as the point list corresponding to the target travel distance. The preset point list can be stored in local memory associated with the controller of the electric curtain.

[0109] Step 706: Obtain historical motion information, wherein the historical motion information includes: historical position, and the value range of the historical position is: curtain closed, curtain fully open, curtain partially open and non-point position;

[0110] "Curtains closed," "curtains fully open," and "curtains partially open" are all names for the types of points. Non-points refer to locations outside of designated points on the target travel path. For example, Figure 2 In the diagram, A and B are both points, and any point between A and B is called a non-point.

[0111] The historical motion information refers to the historical location information of the first device. After the location is calibrated, historical motion information is formed and will be continuously updated during subsequent location calibrations and actual use of the electric curtain. The controller of the electric curtain can determine the location based on the historical motion information, the list of locations corresponding to the target travel distance, and the direction of movement of the first device.

[0112] For example, the controller of the electric curtain determines the type of the next reached point as "curtain closed" based on historical motion information, the list of points corresponding to the target travel distance, and the movement direction of the first device. When the first device approaches the point corresponding to the curtain closing, the second device will generate a sensing signal. The controller of the electric curtain records the curtain closed in the historical motion information based on the sensing signal. When the sensing signal of the second device corresponding to the point corresponding to the curtain closing disappears, the controller records a non-point in the historical motion information.

[0113] Specifically, historical motion information is retrieved from the local memory associated with the controller of the electric curtains.

[0114] Step 708: Determine the current position of the first device based on the list of locations and the historical movement information;

[0115] The current position of the first device can be defined as either a point type or a position between points corresponding to two point types. For example, the current position of the first device could be "curtains fully open." Alternatively, the current position of the first device could be the position between a point corresponding to "curtains fully open" (i.e., point type) and a point corresponding to "curtains partially open" (i.e., point type).

[0116] Specifically, if the last value of the historical motion information is not a non-point location, then the last value of the historical motion information is taken as the current position of the first device; if the last value of the historical motion information is a non-point location, then the current position of the first device is determined according to the point location list and the historical motion information. For example, if the point location list is A1, B2, C3, and D4, and the historical motion information includes: C3, non-point location, B2, non-point location, and C3, non-point location, then from the historical motion information, it can be known that the last movement direction of the first device was from B2 and C3 to D4. Combining the point location list and the last two values ​​in the historical motion information (that is, C3, non-point location), it can be known that the first device stopped running midway between C3 and D4. Therefore, the position between the point location corresponding to C3 and the point location corresponding to D4 is taken as the current position of the first device.

[0117] Step 710: Based on the point list, determine the direction from the current position to the point corresponding to the target point type as the fourth direction;

[0118] Specifically, the points corresponding to all point types in the point list are sorted according to the point order on the target route. Therefore, based on the point list, the direction from the current position to the point corresponding to the target point type can be determined, and this direction is used as the fourth direction.

[0119] For example, if the list of points is A1, B2, C3, and D4, and the current position of the first device is the position between the point corresponding to C3 and the point corresponding to D4, and the target point type is B2, then for C3 and D4, B2 is closer to C3. Therefore, the fourth direction is the running direction from the current position of the first device, the point corresponding to C3, to the point corresponding to B2.

[0120] like Figure 3 As shown in 3(c), C describes the mechanism that moves on the curtain track. The mechanism includes: a first device, a drive device and a controller. A and B are both points. A second device is set on the curtain track corresponding to A or on the wall corresponding to A. A second device is set on the curtain track corresponding to B or on the wall corresponding to B. F4 is the fourth direction.

[0121] It is understood that the first direction is the direction corresponding to the preset direction information or the direction information carried by the first instruction; the second direction is the opposite of the first direction; the third direction is the direction corresponding to the direction information carried by the first instruction; and the fourth direction is the direction from the current position of the motorized curtain to the point corresponding to the target point type. The first, second, and third directions are all directions during the point marking stage. The fourth direction is the direction during the actual use stage of the motorized curtain.

[0122] Step 712: Based on the point list, the number of points from the current position to the point corresponding to the target point type is used as the initial value of the counter.

[0123] Specifically, based on the point list, the number of points from the current location to the point corresponding to the target point type, which is the number of second devices that need to be passed through, is used as the initial value of the counter.

[0124] For example, if the list of points is A1, B2, C3, and D4, the current position of the first device is the position between the point corresponding to C3 and the point corresponding to D4. If the target point type is B2, then for C3 and C4, B2 is closer to C3. The fourth direction is from the current position of the first device, the point corresponding to C3 to the point corresponding to B2. That is, from the current position of the first device to the point corresponding to B2, it is necessary to pass through the two points corresponding to C3 and B2. Therefore, 2 is used as the initial value of the counter.

[0125] Step 714: According to the fourth direction, control the first device to move along the target stroke, and acquire the second signal generated when the first device and the second device approach each other;

[0126] Specifically, based on the direction information corresponding to the fourth direction, a control signal is sent to the motor of the drive device of the electric curtain to control the movement of the motor. The movement of the motor will drive the drive device to move on the curtain track, so as to realize that the first device connected to the drive device moves along the fourth direction along the target stroke. When the first device moves along the fourth direction along the target stroke, when it approaches one of the second devices, if the distance between the first device and the second device is within a preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it will use the sensing signal as the second signal.

[0127] Step 716: Determine whether the value of the counter is 1;

[0128] Specifically, it is determined whether the value of the counter is 1, that is, whether the target point type has been reached.

[0129] Step 718: If yes, then control the first device to stop moving;

[0130] Specifically, if the counter value is 1, it means that the second device corresponding to the second signal is located at the point corresponding to the target point type. At this time, the first device has reached the target position. Therefore, a control signal is sent to the motor of the electric curtain drive device to control the motor of the drive device to stop moving. The motor of the drive device stopping moving will control the first device to stop moving, so that the electric curtain accurately stops the curtain at the predetermined position.

[0131] Step 720: If not, decrement the counter by 1 and proceed to the step of controlling the first device to move along the target path according to the fourth direction and obtaining the second signal generated when the first device and the second device approach each other.

[0132] Specifically, if not, that is, if the value of the counter is not 1, it means that the second device corresponding to the second signal is not located at the point corresponding to the target point type. Therefore, the counter is decremented by 1, and the process jumps to the step of controlling the first device to move on the target travel according to the fourth direction and obtaining the second signal generated when the first device and the second device are close together. That is, the process jumps to step 714 to continue execution.

[0133] Because there are multiple second devices, if the control of the first device to stop moving is directly based on the sensing signal generated when the first device and the second device are close together, it is possible that the first device will stop moving before reaching the accurate point, and the curtain may not be able to be opened or closed accurately at the predetermined position. In order to solve this problem, this embodiment uses the combination of historical motion information, target point type, the point list corresponding to the target stroke, and counter to enable the electric curtain to accurately stop the curtain at the predetermined position.

[0134] In one embodiment, the location marking information includes: the first travel information and the location type, wherein the value range of the location type includes: curtain closed, curtain fully open, and curtain partially open.

[0135] Partial opening of the curtains refers to a curtain opening ratio that falls between the ratio for fully open and fully closed. There can be one or more partially open curtains. When multiple curtains are partially open, the opening ratios of each partially open section can be the same or different.

[0136] Specifically, the location marking information includes: the first travel information and the location type. That is, when marking a location, the travel information of the first device at the time of location marking is recorded.

[0137] In one embodiment, such as Figure 5As shown, the location marking information further includes: first travel information; after the step of acquiring the first signal generated when the first device and the second device are close together, and the first signal is used to determine the location marking information, the method includes:

[0138] Step 902: Obtain a third instruction based on the location marker information of each location, wherein the third instruction is an instruction for driving the electric curtain to move along the curtain track according to the location marker information of each location.

[0139] The third instruction is the control instruction given during the actual use of the electric curtains after the location marking.

[0140] It is understood that the first instruction is an instruction to drive the electric curtain to move along the curtain track to achieve point marking; that is, the first instruction is the start instruction for point marking of the electric curtain. The second instruction is the control instruction for the actual use stage of the electric curtain after point marking, when the point marking information only includes the point type. The third instruction is the control instruction for the actual use stage of the electric curtain after point marking, when the point marking information includes the point type and the first travel information.

[0141] Specifically, the controller of the electric curtain obtains a third instruction based on the location marker information of each point.

[0142] Optionally, based on the location marking information, the user clicks a button on the client side of the terminal to generate a third instruction; the client then sends the third instruction to the controller of the electric curtain via the gateway 200 or the server 400.

[0143] Optionally, based on the location marking information, the user inputs voice on the client of the terminal; the client converts the voice into text, recognizes the user's intention based on the text, generates a third instruction, and then the client sends the third instruction to the controller of the electric curtain through the gateway 200 or the server 400.

[0144] Optionally, based on the location marking information, the user clicks on the remote control of the electric curtain to trigger a third command; the remote control sends the third command to the controller of the electric curtain.

[0145] Step 904: According to the third instruction, control the first device to move along the target stroke;

[0146] Specifically, when the controller of the electric curtain receives the third instruction, it first determines whether the third instruction carries directional information. If it does, the direction corresponding to the directional information carried by the third instruction is taken as the target direction. If it does not, the direction corresponding to the preset directional information is taken as the target direction. Then, according to the directional information corresponding to the determined target direction, the controller sends a control signal to the motor of the electric curtain's drive device to control the motor of the drive device to move. The movement of the motor will drive the drive device to move on the curtain track, so as to realize that the first device connected to the drive device moves along the target direction along the target stroke.

[0147] Step 906: Obtain a third signal generated when the first device and the second device are close together, and obtain second travel information, wherein the second travel information is the travel information of the first device when the third signal is generated;

[0148] Specifically, when the first device moves along the target travel distance, and it approaches one of the second devices, if the distance between the first device and the second device is within a preset distance range, the first device or the second device will generate a sensing signal. When the controller of the electric curtain receives the sensing signal, it will use the sensing signal as a third signal and obtain the travel information of the first device at this time from the travel recording component, and use the obtained travel information as the second travel information.

[0149] Step 908: Subtract the first travel information carried by the third instruction from the second travel information to obtain the travel difference;

[0150] The first travel information carried by the third instruction comes from the point marking information determined during point marking.

[0151] Specifically, the second travel information is subtracted from the first travel information carried by the third instruction, and the resulting data is used as the travel difference, thereby calculating the deviation between the travel information in the actual use stage and the travel information recorded in the point calibration stage.

[0152] Step 910: If the travel difference is within a preset difference range, then control the first device to stop moving;

[0153] The preset difference range includes a start trip information and an end trip information, and the preset difference range is the range from the start trip information to the end trip information.

[0154] The time difference between receiving the sensor signal and obtaining the travel information from electric curtains can cause a deviation between the travel information and the actual travel distance. Furthermore, this deviation can occur after prolonged use. This problem can be mitigated by setting a preset difference range. In other words, as long as the travel difference is within the preset range, it can be determined that the desired location has been reached.

[0155] Specifically, if the travel difference is within a preset range, it means that the deviation is within acceptable limits. The point corresponding to the second device that is approaching is the point where the third command wants the first device to stop. Therefore, a control signal is sent to the motor of the electric curtain drive device to control the motor of the drive device to stop moving. The motor of the drive device stopping moving will control the first device to stop moving, so that the electric curtain accurately stops the curtain at the predetermined position.

[0156] Step 912: If the travel difference is outside the range of the difference, then proceed to the step of controlling the first device to move on the target travel according to the third instruction.

[0157] Specifically, if the travel difference is outside the range of the difference, it means that the deviation is not within the acceptable range. The point corresponding to the second device that is approaching is not the point where the first device wants to stop according to the third instruction. It is necessary to continue to find the accurate point. Therefore, the process jumps to the step of controlling the first device to move on the target travel according to the third instruction, that is, to step 904 and continues to execute step 904 so that the first device moves closer to the next second device.

[0158] Because there are multiple second devices, if the control of the first device to stop moving is directly based on the sensing signal generated when the first and second devices approach each other, it is possible that the first device will stop moving before reaching the accurate position, resulting in the curtain not being able to open or close accurately at the predetermined position. To solve this problem, this embodiment controls the first device to stop moving only when the deviation between the travel information recorded in the actual use stage and the travel information recorded in the position calibration stage is within a preset difference range. If the deviation between the travel information recorded in the actual use stage and the travel information recorded in the position calibration stage is outside the preset difference range, the first device will continue to move closer to the next second device, thereby enabling the electric curtain to accurately stop the curtain at the predetermined position. Thus, this application is applicable to electric curtain application scenarios that can obtain travel information.

[0159] In one embodiment, such as Figure 7As shown, a point marking device is applied to an electric curtain. The electric curtain includes a first device and at least two second devices, each of which is disposed on the curtain track. When the first device and the second devices are close together, a sensing signal is generated. The device includes:

[0160] The marking module 1001 is used to acquire a first instruction, wherein the first instruction is an instruction for driving the first device to move; control the first device to move along a target path according to the first instruction; and acquire a first signal generated when the first device approaches the second device, wherein the first signal is used to determine the point marking information.

[0161] In this embodiment, each second device is first set on the curtain track, which is equivalent to setting a second device at each point. Then, based on the first command, the first device is controlled to move along the target stroke, so that the first device moves closer to the second device. The first signal generated when the first device and the second device move closer is obtained. The first signal is used to determine the point marking information. The point marking information corresponding to each second device is determined. The point marking information enables the electric curtain to accurately identify the point, which provides a basis for the electric curtain to accurately open or close the curtain at the predetermined position.

[0162] In one embodiment, the number of the second devices is two; the marking module 1001 includes: an automatic reverse marking submodule;

[0163] The automatic reverse marking submodule is configured to, according to the first instruction, control the first device to move along a first direction on the target travel path, acquire a first first signal generated when the first device approaches the second device, send the first first signal to the client so that the client can determine the point marking information corresponding to the second device based on the first first signal, control the first device to move along a second direction on the target travel path, acquire a second first signal generated when the first device approaches the second device, send the second first signal to the client so that the client can determine the point marking information corresponding to the second device based on the second first signal, wherein the first direction is the direction corresponding to preset direction information or the direction corresponding to the direction information carried by the first instruction, and the second direction is opposite to the first direction.

[0164] This embodiment calibrates two points using a single first instruction, simplifying the calibration process, improving calibration efficiency, and enhancing user experience. The point marking information enables the motorized curtains to accurately identify the points, providing a foundation for the curtains to open or close precisely at predetermined positions. Furthermore, the client-side determination of the point marking information allows users to input richer information as point marking data, enabling them to quickly find the correct point markings to meet their needs during subsequent use of the motorized curtains, thus improving user experience.

[0165] In one embodiment, the number of the second devices is at least two; the marking module 1001 includes: a single-operation marking submodule;

[0166] The single-operation marker submodule is used to acquire the first instruction, control the first device to move along a third direction on the target travel distance according to the first instruction, acquire the first signal corresponding to the second device generated when the first device approaches the second device, send the first signal corresponding to the second device to the client, so that the client can determine the point marker information corresponding to the second device according to the first signal, wherein the third direction is the direction corresponding to the direction information carried by the first instruction, and jump to the step of acquiring the first instruction to continue execution.

[0167] This embodiment obtains a first instruction cyclically, which is an instruction to drive the first device to move, so as to determine the corresponding point marking information of each of the second devices, thus meeting the personalized point marking requirements. The point marking information enables the electric curtain to accurately identify the point, providing a basis for the electric curtain to accurately open or close the curtain at a predetermined position. The point marking information is determined by the client, which is conducive to the user inputting rich information as point marking information. In subsequent use of the electric curtain, the user can quickly find the point marking information that meets their needs, thus improving the user experience.

[0168] In one embodiment, the marking module 1001 includes: a point marking information determination submodule;

[0169] The point marking information determination submodule is used to acquire first travel information and send the first signal and the first travel information to the client so that the client can determine the point marking information based on the first signal and the first travel information, wherein the first travel information is the travel information of the first device when the first signal is generated.

[0170] This embodiment determines the location marking information based on the travel information of the first device when the first signal is generated and the first signal itself. This allows the location marking information to include the travel information of the location at the time of marking, providing a foundation for accurate curtain control based on the travel information in the location marking information, and further improving the accuracy of motorized curtain location identification. By determining the location marking information through the client, users can input rich information as the location type. In subsequent use of the motorized curtains, users can quickly find the location marking information that meets their needs, improving the user experience.

[0171] In one embodiment, the location marking information includes: the first travel information and the location type, wherein the value range of the location type includes: curtain closed, curtain fully open, and curtain partially open.

[0172] In one embodiment, such as Figure 8 As shown, the device further includes: a first control module 1002, the first control module 1002 being used for:

[0173] The third instruction is obtained based on the location marking information of each point;

[0174] According to the third instruction, the first device is controlled to move along the target stroke;

[0175] A third signal generated when the first device and the second device are close together is acquired, and second travel information is acquired, wherein the second travel information is the travel information of the first device when the third signal is generated;

[0176] Subtract the first travel information carried by the third instruction from the second travel information to obtain the travel difference;

[0177] If the travel difference is within a preset range, then the first device is controlled to stop moving;

[0178] If the travel difference is outside the range of the difference, then proceed to the step of controlling the first device to move on the target travel according to the third instruction.

[0179] Because there are multiple second devices, if the control of the first device to stop moving is directly based on the sensing signal generated when the first and second devices approach each other, it is possible that the first device will stop moving before reaching the accurate position, resulting in the curtain not being able to open or close accurately at the predetermined position. To solve this problem, this embodiment controls the first device to stop moving only when the deviation between the travel information recorded in the actual use stage and the travel information recorded in the position calibration stage is within a preset difference range. If the deviation between the travel information recorded in the actual use stage and the travel information recorded in the position calibration stage is outside the preset difference range, the first device will continue to move closer to the next second device, thereby enabling the electric curtain to accurately stop the curtain at the predetermined position. Thus, this application is applicable to electric curtain application scenarios that can obtain travel information.

[0180] In one embodiment, the location marking information includes: location type, and the value range of the location type includes: curtain closed, curtain fully open, and curtain partially open.

[0181] In one embodiment, such as Figure 9 As shown, the device further includes a second control module 1003, which is used for:

[0182] The second instruction is obtained based on the location marking information of each point;

[0183] According to the second instruction, the target point type and the point list corresponding to the target route are determined, wherein each point type in the point list is sorted according to the position of the target route;

[0184] Acquire historical motion information, wherein the historical motion information includes: historical position, the value range of which is curtain closed, curtain fully open, curtain partially open and non-point position;

[0185] The current location of the first device is determined based on the list of locations and the historical movement information;

[0186] Based on the list of points, the direction from the current location to the point corresponding to the target point type is determined as the fourth direction;

[0187] Based on the point list, the number of points from the current position to the point corresponding to the target point type is used as the initial value of the counter;

[0188] According to the fourth direction, control the first device to move along the target stroke, and acquire the second signal generated when the first device and the second device approach each other;

[0189] Determine whether the value of the counter is 1;

[0190] If so, then control the first device to stop moving;

[0191] If not, the counter is decremented by 1, and the process jumps to the step of controlling the first device to move along the target path according to the fourth direction and obtaining the second signal generated when the first device and the second device approach each other.

[0192] Because there are multiple second devices, if the control of the first device to stop moving is directly based on the sensing signal generated when the first device and the second device are close together, it is possible that the first device will stop moving before reaching the accurate point, and the curtain may not be able to be opened or closed accurately at the predetermined position. In order to solve this problem, this embodiment uses the combination of historical motion information, target point type, the point list corresponding to the target stroke, and counter to enable the electric curtain to accurately stop the curtain at the predetermined position.

[0193] In one embodiment, such as Figure 10 As shown, an electric curtain includes: a first device 1212, at least two second devices 1214, a housing 1210, a drive device 1213, and a controller 1211. Each second device 1214 is disposed on a curtain track. When the first device 1212 and the second device 1214 are close together, a sensing signal is generated. The first device 1212, the drive device 1213, and the controller 1211 are disposed within the housing 1210. The controller 1211 is electrically connected to the drive device 1213.

[0194] The drive device 1213 is used to drive the first device 1212 to move along the target stroke according to the control signal sent by the controller 1211;

[0195] The controller 1211 is used for:

[0196] Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0197] According to the first instruction, control the first device to move along the target stroke;

[0198] A first signal generated when the first device and the second device are close together is acquired, and the first signal is used to determine the location marker information.

[0199] The shape and material of the outer casing can be selected according to the needs of the electric curtains, and there are no restrictions here.

[0200] The controller 1211 can be an MCU for the motor, or a separate microcontroller can be used. The microcontroller controls the motor by controlling the MCU. MCU is short for Microcontroller Unit, also known as a single-chip microcomputer. It is a chip-level computer that integrates memory, timer, USB, A / D converter, UART, PLC, DMA and other peripheral interfaces, and even LCD driver circuitry, onto a single chip to provide different control combinations for different applications.

[0201] The drive unit includes at least a motor. Understandably, additional mechanical structures, such as drive wheels, can be incorporated into the drive unit as needed.

[0202] The motor that drives the equipment is a motor that can perform rotational motion.

[0203] In this embodiment, each second device 1214 is first set on the curtain track, which is equivalent to setting a second device 1214 at each point. Then, based on the first command, the first device 1212 is controlled to move along the target stroke, so that the first device 1212 moves closer to the second device 1214. The first signal generated when the first device 1212 and the second device 1214 move closer is obtained. The first signal is used to determine the point marking information. The point marking information corresponding to each second device 1214 is determined. The point marking information enables the electric curtain to accurately identify the point, which provides a basis for the electric curtain to accurately open or close the curtain at the predetermined position.

[0204] In one embodiment, the first device 1212 is a magnetic induction switch, and the second device 1214 is a magnetic field generator;

[0205] The controller 1211 is electrically connected to the first device 1212 to receive the sensing signal generated by the first device 1212.

[0206] Optionally, the magnetic induction switch may be a reed switch, and the magnetic field generator may be any one of a magnetic sheet, a magnetic column, or a magnetic ring.

[0207] The specific components used in each of the second devices 1214 may be the same or different.

[0208] In one embodiment, the second device 1214 is a magnetic induction switch, and the first device 1212 is a magnetic field generator;

[0209] The electric curtain also includes a signal receiver, which is electrically connected to the controller 1211;

[0210] The signal receiver is communicatively connected to the second device 1214 to receive the sensing signal generated by the second device 1214.

[0211] Signal receivers include, but are not limited to: Bluetooth modules.

[0212] In one embodiment, such as Figure 11 As shown, an electric curtain includes: a first device 1212, at least two second devices 1214, a housing 1210, a drive device 1213, and a controller 1211. Each second device 1214 is disposed on a curtain track. When the first device 1212 and the second device 1214 are close together, a sensing signal is generated. The first device 1212, the drive device 1213, and the controller 1211 are disposed within the housing 1210. The drive device 1213 is used to drive the first device 1212 to move along a target stroke according to the control signal sent by the controller 1211. The controller 1211 includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the following steps:

[0213] Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0214] According to the first instruction, control the first device to move along the target stroke;

[0215] A first signal generated when the first device and the second device are close together is acquired, and the first signal is used to determine the location marker information.

[0216] In this embodiment, each second device 1214 is first set on the curtain track, which is equivalent to setting a second device 1214 at each point. Then, based on the first command, the first device 1212 is controlled to move along the target stroke, so that the first device 1212 moves closer to the second device 1214. The first signal generated when the first device 1212 and the second device 1214 move closer is obtained. The first signal is used to determine the point marking information. The point marking information corresponding to each second device 1214 is determined. The point marking information enables the electric curtain to accurately identify the point, which provides a basis for the electric curtain to accurately open or close the curtain at the predetermined position.

[0217] In one embodiment, the first device 1212 is a magnetic induction switch, and the second device 1214 is a magnetic field generator;

[0218] The controller 1211 is electrically connected to the first device 1212 to receive the sensing signal generated by the first device 1212.

[0219] In one embodiment, the second device 1214 is a magnetic induction switch, and the first device 1212 is a magnetic field generator;

[0220] The electric curtain also includes a signal receiver, which is electrically connected to the controller 1211;

[0221] The signal receiver is communicatively connected to the second device 1214 to receive the sensing signal generated by the second device 1214.

[0222] In one embodiment, a computer storage medium storing a computer program that, when executed by a processor, implements the point marking method. The method is applied to an electric curtain, which includes a first device and at least two second devices, each second device disposed on a curtain track. When the first and second devices are close together, a sensing signal is generated. The method includes:

[0223] Obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move;

[0224] According to the first instruction, control the first device to move along the target stroke;

[0225] A first signal generated when the first device and the second device are close together is acquired, and the first signal is used to determine the location marker information.

[0226] In this embodiment, each second device is first set on the curtain track, which is equivalent to setting a second device at each point. Then, based on the first command, the first device is controlled to move along the target stroke, so that the first device moves closer to the second device. The first signal generated when the first device and the second device move closer is obtained. The first signal is used to determine the point marking information. The point marking information corresponding to each second device is determined. The point marking information enables the electric curtain to accurately identify the point, which provides a basis for the electric curtain to accurately open or close the curtain at the predetermined position.

[0227] Please see Figure 1The diagram illustrates the specific implementation of a point marking method in an application scenario. To address the technical problem of motorized curtains failing to accurately identify points, in this application scenario, the smart device 100 (i.e., the motorized curtain) first performs point marking, and then controls the motorized curtain based on the point marking information obtained from the point marking, so that the motorized curtain accurately opens or closes the curtain at a predetermined position.

[0228] Before the point calibration, hardware settings are required. The hardware settings include: setting a first device in the motorized curtain; installing the curtain track at a preset location on the building; setting a second device at each point of interest on the curtain track, wherein the first device and the second device generate a sensing signal when they are close to each other, and each point of interest is a point; installing the motorized curtain on the curtain track, wherein the driving device of the motorized curtain is in direct or indirect contact with the curtain track, the driving device moves along the curtain track, and the driving device drives the first device to move together.

[0229] Specifically, the point calibration process may include the following steps:

[0230] In step S202, the controller of the electric curtain obtains the first instruction, wherein the user clicks the calibration function button or the motion button on the client of the terminal, and the client generates the first instruction; the client sends the first instruction to the controller of the electric curtain through the gateway 200 or the server 400.

[0231] When the controller of the electric curtain receives the first instruction, it executes step S204 to drive the drive device to move on the curtain track. The drive device will drive the first device to move along the travel distance parallel to the curtain track. This travel distance is called the target travel distance, thereby controlling the first device to move along the target travel distance.

[0232] During the movement of the first device along the target path, step S206 is used to obtain a first signal generated when the first device approaches the second device. The first signal is used to determine the point marker information.

[0233] If the controller of the electric curtain is equipped with an automatic point calibration function, then the controller of the electric curtain determines the point marking information according to the first signal. At this time, the point marking information includes: it is a point.

[0234] If the controller of the electric curtain does not have an automatic point calibration function, the point marking information is determined by the client based on the first signal. In steps 302 and 304, the electric curtain is started to move along the first direction by a first command, and then the second direction is obtained from the first direction. The second direction is obtained by directly reversing the first direction. The electric curtain is then controlled to move along the second direction. During the whole process, the client determines the point marking information based on the sensing signal, thereby realizing the calibration process of two points with one first command. In steps 402 and 406, each first command is used to calibrate one point. The first command is obtained in a loop, and the client determines the point marking information based on the sensing signal for each first command.

[0235] Through steps S502 to S504, the client determines the location marking information based on the travel information of the first device when the first signal is generated (referred to as the first travel information) and the first signal, so that the location marking information contains the travel information of the location when it is marked, which provides a basis for accurate curtain control based on the travel information in the location marking information.

[0236] Specifically, the application control process for motorized curtains, regardless of whether the location marking information includes the travel information of the location at the time of marking, may include the following steps:

[0237] Based on the location marker information, the user clicks a button on the client terminal to generate a second instruction, or the client sends a second instruction to the controller of the electric curtain through the gateway 200 or the server 400. In step 702, the second instruction is obtained based on the location marker information. Then, in step S704, the target location type and the list of locations corresponding to the target travel distance are determined. In step S708, the current position of the first device is determined. In step 710, the fourth direction is determined. In step 712, the counter is initialized based on the number of locations from the current position to the location corresponding to the target location type. Finally, in step S714, the first device is controlled to move in the fourth direction. During the movement, when a sensing signal (second signal) is received, the counter is first used to determine if the second device is located at the location corresponding to the target location type. If so, step S718 is executed; otherwise, step S720 is executed. Step S720 decrements the counter by 1 and then jumps to step 714 to continue execution, thereby realizing the application control of the electric curtain based on the counter.

[0238] Specifically, the process of controlling an electric blind that includes travel information of the location at the time of marking may include the following steps:

[0239] Based on the location marker information, the user clicks a button on the client terminal to generate a third command, or the client sends a third command to the controller of the electric curtain through the gateway 200 or the server 400. In step S902, the third command is obtained according to the location marker information. Then, in step S904, the first device is controlled to move. In step S906, a sensing signal is obtained as the third signal. In step 908, the travel difference between the second travel information and the first travel information (from the location marker information) carried by the third command is calculated. Finally, if the travel difference is within a preset range, step S910 is executed; if the travel difference is outside the range, step 912 is executed. This ensures that the electric curtain accurately stops at a predetermined position, solving the technical problem in the prior art where, due to the presence of multiple second devices, directly using the sensing signal generated when the first and second devices approach each other as the basis for controlling the first device to stop moving may result in the first device stopping before reaching an accurate location, thus failing to accurately open or close the curtain at the predetermined position.

[0240] In this application scenario, the points are first calibrated, and then the electric curtains are controlled based on the point marking information obtained from the point calibration. This enables the electric curtains to accurately identify the points, providing a basis for the electric curtains to accurately open or close the curtains at the predetermined positions.

[0241] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0242] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A point marking method characterized by, The method is applied to an electric curtain, the electric curtain comprising a first device and at least two second devices, each of the second devices being arranged on a curtain rail, the first device and the second devices generating an induction signal when close to each other, wherein the method comprises: obtaining a first instruction, wherein the first instruction is an instruction for driving the first device to move; controlling the first device to move on a target stroke according to the first instruction; obtaining a first signal generated when the first device and the second devices are close to each other, the first signal being used to determine point mark information; the point mark information comprising a point type, the value range of the point type comprising curtain closed, curtain fully opened and curtain partially opened; obtaining a second instruction according to each of the point mark information, wherein the second instruction is an instruction for driving the electric curtain to move along the curtain rail according to each of the point mark information; according to the second instruction, taking the point number from the current position of the first device to the point corresponding to the target point type as the initial value of a counter; controlling the first device to move from the current position to the point corresponding to the target point type according to the second instruction, and obtaining a second signal generated when the first device and the second devices are close to each other; performing subtraction processing on the value of the counter according to the second signal, and if the value of the counter is 1, controlling the first device to stop moving.

2. The point marking method according to claim 1, characterized by, The number of the second devices is two; the step of controlling the first device to move on a target stroke according to a first instruction, and obtaining a first signal generated when the first device and the second devices are close to each other, the first signal being used to determine point mark information, comprises: controlling the first device to move on the target stroke in a first direction according to the first instruction, obtaining a first first signal generated when the first device and the second devices are close to each other, and sending the first first signal to a client, so that the client determines the point mark information corresponding to the second device according to the first first signal, wherein the first direction is a direction corresponding to preset direction information or a direction corresponding to direction information carried by the first instruction; controlling the first device to move on the target stroke in a second direction, obtaining a second first signal generated when the first device and the second devices are close to each other, and sending the second first signal to the client, so that the client determines the point mark information corresponding to the second device according to the second first signal, wherein the second direction is opposite to the first direction.

3. The point marking method according to claim 1, characterized by, The number of the second devices is at least two; the step of obtaining a first instruction, wherein the first instruction is an instruction for driving the first device to move, controlling the first device to move on a target stroke according to the first instruction, and obtaining a first signal generated when the first device and the second devices are close to each other, the first signal being used to determine point mark information, comprises: obtaining the first instruction; According to the first instruction, the first device is controlled to move in a third direction on the target route, a first signal corresponding to the second device is acquired when the first device approaches the second device, and the first signal is sent to a client so that the client determines the point mark information corresponding to the second device according to the first signal, wherein the third direction is a direction corresponding to direction information carried by the first instruction. The step of acquiring the first instruction is jumped to continue execution.

4. The point marking method according to claim 1, characterized by, The step of acquiring the first signal generated when the first device approaches the second device and used to determine point mark information comprises: The first signal generated when the first device approaches the second device is acquired, and a preset marking method is used to determine the point mark information corresponding to the second device according to the first signal.

5. The point marking method according to claim 1, characterized by, The specific step of determining the point mark information according to the first signal comprises: First route information is acquired, wherein the first route information is route information of the first device when the first signal is generated; The first signal and the first route information are sent to a client so that the client determines the point mark information according to the first signal and the first route information.

6. The point marking method according to claim 1, characterized by, The step of determining, according to the second instruction, the point number from the current position of the first device to a point corresponding to a target point type as an initial value of a counter, and controlling the first device to move in a direction from the current position to the point corresponding to the target point type according to the second instruction to acquire a second signal generated when the first device approaches the second device comprises: According to the second instruction, a point list corresponding to the target point type and the target route is determined, wherein each point type in the point list is sorted according to the position of the target route; Historical motion information is acquired, wherein the historical motion information comprises: a historical position, and the historical position has a value range of a curtain being closed, a curtain being fully opened, a curtain being partially opened, and a non-point; The current position of the first device is determined according to the point list and the historical motion information; According to the point list, a direction from the current position to the point corresponding to the target point type is determined as a fourth direction; According to the point list, a point number from the current position to the point corresponding to the target point type is determined as the initial value of the counter; The first device is controlled to move on the target route according to the fourth direction, and the second signal generated when the first device approaches the second device is acquired; The step of performing subtraction processing on the value of the counter according to the second signal, and controlling the first device to stop moving if the value of the counter is 1 comprises: It is determined whether the value of the counter is 1; If yes, the first device is controlled to stop moving. If not, the counter is reduced by 1, and the step of controlling the first device to move on the target stroke according to the fourth direction and obtaining a second signal generated when the first device and the second device are close is continued to be executed.

7. The point marking method according to claim 5, wherein The point position marking information further comprises first stroke information, and the step of obtaining the first signal generated when the first device and the second device are close comprises: According to each of the point position marking information, a third instruction is obtained, wherein the third instruction is an instruction for driving the motorized curtain to move along the curtain rail according to each of the point position marking information. According to the third instruction, the first device is controlled to move on the target stroke. A third signal generated when the first device and the second device are close is obtained, and second stroke information is obtained, wherein the second stroke information is stroke information of the first device when the third signal is generated. The second stroke information is subtracted by first stroke information carried by the third instruction to obtain a stroke difference value. If the stroke difference value is within a preset difference value range, the first device is controlled to stop moving. If the stroke difference value is outside the difference value range, the step of controlling the first device to move on the target stroke according to the third instruction is continued to be executed.

8. A point marking device, characterized by The device is applied to a motorized curtain, the motorized curtain comprises a first device and at least two second devices, each of the second devices is arranged on a curtain rail, and an induction signal is generated when the first device and the second devices are close, wherein the device comprises: A marking module is configured to obtain a first instruction, wherein the first instruction is an instruction for driving the first device to move; control the first device to move on a target stroke according to the first instruction; obtain a first signal generated when the first device and the second devices are close, the first signal is used to determine point position marking information; the point position marking information comprises a point position type, and a value range of the point position type comprises curtain closing, curtain fully opening and curtain partially opening; according to each of the point position marking information, a second instruction is obtained, wherein the second instruction is an instruction for driving the motorized curtain to move along the curtain rail according to each of the point position marking information; according to the second instruction, a point position number from a current position of the first device to a point position corresponding to a target point position type is taken as an initial value of a counter; according to the second instruction, the first device is controlled to move in a direction from the current position to the point position corresponding to the target point position type, and a second signal generated when the first device and the second devices are close is obtained; according to the second signal, a value of the counter is subjected to subtraction processing, and if the value of the counter is 1, the first device is controlled to stop moving.

9. An electric curtain, characterized in that, The electric curtain comprises a first device, at least two second devices, a shell, a driving device and a controller, each of the second devices is arranged on a curtain rail, the first device and the second device generate an induction signal when close to each other, the first device, the driving device and the controller are arranged in the shell; the driving device is used for driving the first device to move on a target stroke according to a control signal sent by the controller; the controller comprises a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program: obtaining a first instruction, wherein the first instruction is an instruction for driving the first device to move; controlling the first device to move on a target stroke according to the first instruction; obtaining a first signal generated when the first device and the second device are close to each other, the first signal is used to determine point mark information; the point mark information comprises a point type, and the value range of the point type comprises curtain closing, curtain fully opening and curtain partially opening; obtaining a second instruction according to each of the point mark information, wherein the second instruction is an instruction for driving the electric curtain to move along the curtain rail according to each of the point mark information; according to the second instruction, taking the point number from the current position of the first device to the point corresponding to the target point type as the initial value of a counter; controlling the first device to move from the current position to the point corresponding to the target point type according to the second instruction, and obtaining a second signal generated when the first device and the second device are close to each other; according to the second signal, performing subtraction processing on the value of the counter, and if the value of the counter is 1, controlling the first device to stop moving.

10. The motorized window treatment of claim 9, wherein, The first device adopts a magnetic induction switch, and the second device is a magnetic field generator; The controller is electrically connected with the first device to receive the induction signal generated by the first device.

11. The motorized window treatment of claim 9, wherein, The second device adopts a magnetic induction switch, and the first device is a magnetic field generator; The electric curtain further comprises a signal receiver, and the signal receiver is electrically connected with the controller; The signal receiver is in communication connection with the second device to receive the induction signal generated by the second device.

12. A computer storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to realize the point mark method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Motor stroke reporting method and device, motor, electric curtain and storage medium

    CN113273877A

  • System and method for increasing curtain control stroke points

    CN115145184A

  • Moreover,the steam generator is simple in structure,

    CN206491639U