CN116941952A - Point marking method and device, electric curtain and storage medium - Google Patents

Point marking method and device, electric curtain and storage medium Download PDF

Info

Publication number
CN116941952A
CN116941952A CN202310732046.1A CN202310732046A CN116941952A CN 116941952 A CN116941952 A CN 116941952A CN 202310732046 A CN202310732046 A CN 202310732046A CN 116941952 A CN116941952 A CN 116941952A
Authority
CN
China
Prior art keywords
equipment
instruction
point
signal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310732046.1A
Other languages
Chinese (zh)
Inventor
杨先立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202310732046.1A priority Critical patent/CN116941952A/en
Publication of CN116941952A publication Critical patent/CN116941952A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47HFURNISHINGS FOR WINDOWS OR DOORS
    • A47H5/00Devices for drawing draperies, curtains, or the like
    • A47H5/02Devices for opening and closing curtains
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Power-Operated Mechanisms For Wings (AREA)
  • Curtains And Furnishings For Windows Or Doors (AREA)

Abstract

The application relates to the technical field of intelligent home, and discloses a point marking method, a device, an electric curtain and a storage medium, wherein the method is applied to the electric curtain, the electric curtain comprises a first device and at least two second devices, each second device is arranged on a curtain track, and an induction signal is generated when the first device and the second devices are close, and the method comprises the following steps: acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move; controlling the first equipment to move on a target stroke according to the first instruction; and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information. The electric curtain can accurately identify the point positions through the point position marking information.

Description

Point marking method and device, electric curtain and storage medium
Technical Field
The application relates to the technical field of intelligent home, in particular to a point marking method and device, an electric curtain and a storage medium.
Background
When the existing electric curtain adopts the electric curtain without belt transmission, the accurate point position marking is carried out due to the fact that no belt is used, so that the point position cannot be accurately identified, and the curtain cannot be opened or retracted at a preset position by the electric curtain; when the belt-transmitted electric curtain is adopted, the electric curtain can not be opened or retracted at a preset position due to the fact that the stroke cannot be accurately controlled due to the fact that a motor is aged and the like, and the point position cannot be accurately identified.
Disclosure of Invention
Based on the above, there is a need for a point marking method for a motorized window treatment in the prior art, which cannot accurately identify a point.
In a first aspect of the present application, a method for marking a point is provided, the method being applied to a motorized window treatment, the motorized window treatment comprising a first device and at least two second devices, each of the second devices being disposed on a window treatment track, the first device and the second devices generating an inductive signal when in proximity, wherein the method comprises:
acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move, and the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In a second aspect of the present application, a point marking apparatus is provided, the apparatus being applied to a motorized window treatment, the motorized window treatment comprising a first device and at least two second devices, each of the second devices being disposed on a window treatment rail, the first and second devices being configured to generate an inductive signal when in proximity, wherein the apparatus comprises:
The marking module is used for acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move; controlling the first equipment to move on a target stroke according to the first instruction; and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In a third aspect of the present application, there is provided a motorized window treatment comprising: the device comprises first equipment, at least two second equipment, a shell, driving equipment and a controller, wherein each second equipment is arranged on a curtain rail, an induction signal is generated when the first equipment and the second equipment are close, and the first equipment, the driving equipment 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, wherein the memory stores a computer program, and the processor executes the computer program to realize the following steps:
acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
Controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In a fourth aspect of the present application, a computer storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, implements the method for marking a point location according to any of the first aspects.
According to the point marking method, the device, the electric curtain and the storage medium, each second device is firstly arranged on the curtain track, and the point marking method is equivalent to arranging one second device at each point; and then, based on a first instruction, controlling the first equipment to move on a target stroke, enabling the first equipment to approach the second equipment, acquiring a first signal generated when the first equipment and the second equipment approach, wherein the first signal is used for determining point location marking information, determining point location marking information of a point location corresponding to each second equipment, enabling the electric curtain to accurately identify the point location through the point location marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a diagram of an application environment for a bit marking method in one embodiment;
FIG. 2 is a schematic illustration of a point location of the present application;
FIG. 3 is a schematic view of the direction of motion of the present application;
FIG. 4 is a flow chart of a method of bit marking in one embodiment;
FIG. 5 is a schematic diagram of a motorized window treatment workflow of a spot marking method according to one embodiment;
FIG. 6 is a schematic diagram of a motorized window treatment workflow of a spot marking method according to one embodiment;
FIG. 7 is a block diagram of a point bit marking device in one embodiment;
FIG. 8 is a block diagram of a point bit marking device in one embodiment;
FIG. 9 is a block diagram of a point bit marking device in one embodiment;
FIG. 10 is a block diagram of a motorized window treatment according to one embodiment;
Fig. 11 is a block diagram of a motorized window treatment according to one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The point marking method provided by the application can be applied to an application environment shown in figure 1. Fig. 1 provides an intelligent home control system, which includes an intelligent device 100, a gateway 200 communicatively connected to the intelligent device 100, a router 300, a server 400, and a terminal 500. The smart device 100 may be a device such as a motorized window treatment, and is not limited herein.
The intelligent device 100 accesses the gateway 200 in the intelligent home control system, and communicates with the gateway 200 through a communication module configured by the intelligent device 100, and is further controlled by the gateway 200. In one embodiment, the smart device 100 accesses the gateway 200 through a local area network path or a wide area network path, thereby being deployed in the gateway 200. The local area network may include ZIGBEE or bluetooth, and the wide area network may include 2G/3G/4G/5G/WIFI, etc. ZIGBEE is a wireless communication technology applied to short distance and low speed, and Zigbee is also called as a 'HomeRF Lite' technology and a 'FireFly' technology in the past, and is collectively called as a Zigbee technology.
Gateway 200 establishes a network connection with terminal 500 or server 400 through router 300, and in one embodiment, gateway 200 and terminal 500 may establish a network connection through a local area network or wide area network path. Interact with the terminal 500 through the network connection, thereby enabling a user to control the intelligent device 100 of the access gateway 200 to perform a corresponding action by means of this terminal 500.
The terminal 500 may be a smart phone, a notebook computer, a personal computer, a tablet computer, an intelligent control panel, or other electronic devices capable of implementing network connection, which is not limited herein. The terminal 500 has a client running thereon, such as APP (mobile phone software) in fig. 1. The server 400 may be implemented as a single server 400 or as a cluster of servers 400 comprising a plurality of servers 400.
The electric window curtain includes: the device comprises a first device, at least two second devices, a shell, a driving device and a controller, wherein each second device is arranged on a curtain rail, an induction signal is generated when the first device and the second device are close, the first device, the driving device and the controller are arranged in the shell, and the controller is electrically connected with the driving device; the driving device is used for driving the first device to move on the target stroke according to the control signal sent by the controller. The curtain rail is a curtain fitting used for hanging curtain cloth so as to open and close the curtain cloth and increase the beauty of the curtain cloth. The drive device comprises at least a motor. The controller is connected with the motor. The motor moves according to the control signal sent by the controller, and the movement of the motor drives the first equipment to move on the target stroke. Alternatively, the motor of the driving device is a direct current motor.
The point position is a position point used for limiting in the motion control of the electric curtain.
The driving device is directly or indirectly contacted with the curtain rail, the driving device moves along the curtain rail, and the driving device drives the first device to move together, the movement track or movement path of the first device is parallel to the curtain rail, and therefore, the target stroke is a track or path parallel to the curtain rail.
The driving device moves along the curtain rail with the first device, which corresponds to the first device moving on the target stroke. In order to inform the electric curtain rail that a certain position point is a position point needing to be focused, a second device is arranged on the position point needing to be focused, and the position point needing to be focused is a point position, therefore, by arranging a second device on each point position, the second device is positioned on the curtain rail, and the target travel is parallel to the curtain rail, and the point position corresponding to the second device corresponds to the point position of the target travel. The second devices are arranged at intervals, so that a plurality of points are formed on the target travel of all the second devices.
As shown in fig. 2, C represents a mechanism for moving on a curtain rail, the mechanism comprising: the device comprises a first device, a driving device and a controller, wherein A and B are point positions, a second device is arranged on a curtain rail corresponding to A or a position point corresponding to A on a wall, and a second device is arranged on a curtain rail corresponding to B or a position point corresponding to B on the wall. It can be understood that after the second device is set on the point location a and the point location B, the electric curtain is started for the first time, and the positions and meanings of the point location a and the point location B are not determined, so that the point location a and the point location B need to be marked, and after the point location marking information corresponding to the point location a and the point location marking information corresponding to the point location B are obtained by marking, the electric curtain can perform stroke calibration according to the point location marking information corresponding to the point location a and the point location marking information corresponding to the point location B.
Specifically, after installing the motorized window treatment and window treatment track, the controller of the motorized window treatment may be configured to: and acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move, controlling the first equipment to move on a target stroke according to the first instruction, and acquiring a first signal generated when the first equipment and the second equipment are close to each other, wherein the first signal is used for determining point position marking information. Because a second device is arranged at each point, the electric curtain can accurately identify the point through the point marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position.
The first device and the second device are matched devices, and when the first device is close to the second device, the first device generates an induction signal or the second device generates an induction signal. That is, the sensing signal is generated only when the distance between the first device and the second device is within a preset distance range; when the distance between the first device and the second device is outside the preset distance range, no induction signal will be generated.
For the electric curtain without belt transmission, because the positions of the end points of the left curtain and the right curtain cannot be effectively sensed and identified, the end points of the travel need to be judged in a blocking manner to determine whether the end points are reached, but the following problems exist: (1) The curtain rail is stopped when the rail surface of the curtain rail is uneven, so that the stroke end point is misjudged, and the setting stroke is inconsistent with the actual stroke; (2) When the end point of the travel is actually reached, the stop judgment is carried out to determine whether the end point is reached, and at the moment, larger transverse thrust is applied to the end point of the curtain rail, but the current fixing mode of more curtain rails is buckle type fixing, and the curtain rails are not directly fixed, so that the transverse movement deviation of the curtain rails is caused, and the normal use is influenced; (3) Because no belt is used for accurate travel control, the slippage between the driving equipment and the curtain rail can cause travel misalignment after long-time running; (4) At present, curtain cloth is heavier and heavier, and a motor is required to adopt larger thrust, so that fixed endpoints of curtain rails are easier to damage, and setting a stroke is more difficult. According to the point marking method, each second device is arranged on the curtain rail so as to provide the point position of the position point to be focused, which is equivalent to arranging one second device on each point position, and the position of the second device is fixed, so that the point displacement of the curtain rail is avoided; then, based on a first instruction, controlling the first equipment to move on a target stroke, enabling the first equipment to be close to the second equipment, acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point position marking information, so that the point position marking information of a point position corresponding to each second equipment is determined, the electric curtain can accurately identify the point position through the point position marking information, and a foundation is provided for enabling the electric curtain to accurately open or retract the curtain cloth at a preset position; the flatness requirement on the curtain rail is reduced, and the adaptation range of the motor is enlarged; the rail end is damaged without considering larger thrust, so that the thrust of the motor can be correspondingly amplified; no stroke calibration is required; the point marking method is also applicable to curtain rails with two ends not reinforced and fixed, and the curtain rails are not separated from the fixed buckles.
In one embodiment, as shown in fig. 4, there is provided a point marking method applied to a motorized window treatment, the motorized window treatment comprising a first device and at least two second devices, each of the second devices disposed on a window treatment rail, the first device and the second devices generating an inductive signal when in proximity, wherein the method comprises:
step 202, acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
wherein the first command is a command for controlling the first device to move on the target stroke.
Specifically, a controller of the motorized window treatment obtains a first command, wherein the first command is a command for driving the first device to move. It will be appreciated that as the drive means of the motorized window treatment moves along the window treatment track, the drive means will cause the first device to move on a target stroke.
Optionally, the user clicks a calibration function button or a motion button on a client of the terminal, and the client generates a first instruction; the client sends a first instruction to the controller of the motorized window treatment through gateway 200 or server 400.
Optionally, the user inputs voice on the client side of the terminal; the client converts the voice into text, recognizes the user's intention to mark the spot according to the text, and then sends a first instruction to the controller of the motorized window treatment through the gateway 200 or the server 400.
Optionally, the user clicks on a remote controller of the electric curtain to trigger a first instruction; the remote controller sends a first instruction to a controller of the electric curtain.
Step 204, according to the first instruction, controlling the first device to move on a target stroke;
wherein the target stroke is the stroke through which a continuous curtain cloth is opened and retracted.
Specifically, when the controller of the electric curtain acquires the first instruction, a control signal is sent to a motor of a driving device of the electric curtain so as to control the motor of the driving device to move, and the driving device is driven to move on a curtain track by the movement of the motor so as to realize the movement of the first device connected with the driving device on a target stroke. It can be understood that the movement direction of the motor at this time may be a preset movement direction, or may be a direction corresponding to the direction information carried by the first instruction.
Step 206, obtaining a first signal generated when the first device is close to the second device, where the first signal is used to determine the point location marking information.
And the point position marking information is used for marking the information of the point positions. The point location marking information may be stored in the server 400, the gateway 200, the client, or a local storage space (e.g., a local memory corresponding to a controller of the electric window curtain).
Specifically, when the first device moves on a target stroke and 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 generates an induction signal, and when the controller of the electric curtain receives the induction signal, the induction signal is used as a first signal; and the controller of the electric curtain determines the point position marking information according to the first signal, or the controller of the electric curtain sends the first signal to the client so that the client determines the point position marking information corresponding to the second equipment which is approaching at the moment according to the first signal.
Optionally, the point location marking information includes: the value range of the point position type comprises: comprising the following steps: a start point and an end point.
Optionally, the point location marking information includes: the value range of the point position type comprises: comprising the following steps: a start point, an end point and at least one intermediate point, the respective intermediate points not overlapping.
Step 202 to step 206 are performed once, and the calibration of one point location is completed. If several points need to be calibrated, only several times of steps 202 to 206 are needed.
The point location corresponding to each second device may determine the point location marking information using steps 202 through 206. It can be understood that the user can also only calibrate the point positions corresponding to part of the second equipment according to the requirement.
When the controller of the electric curtain determines the point position mark information according to the first signal, the point position mark information comprises: is a point location. That is, the controller of the motorized window treatment remembers that this is a point location.
When the client determines the point location marking information corresponding to the second device which is approaching at this time according to the first signal, the operation on the client can enter richer information, so that the point location marking information at least comprises: the point location type. The point type can be a text selected from a preset list or a custom text input by a user. The value range of the point location type comprises: curtain closing, curtain full opening or curtain partial opening, wherein curtain closing means curtain full opening, curtain closing means curtain full retraction, curtain partial opening means curtain opening proportion is located between opening proportion corresponding to full opening and opening proportion corresponding to closing.
It is understood that the point type may be defined as other point types, for example, a range of values of the point type includes: a left end point and a right end point.
It is understood that the first instruction may be a point calibration instruction; the first instruction may be merely an instruction for controlling the first device to move on the target stroke, and when the controller of the electric curtain obtains a first signal generated when the first device is close to the second device, the first signal is actively reported to the client, and the client determines the point location marking information corresponding to the second device that is close to the first device according to the first signal.
In the embodiment, the positioning of the position point to be focused is provided by arranging each second device on the curtain rail, which is equivalent to arranging one second device at each point; and then, based on a first instruction, controlling the first equipment to move on a target stroke, enabling the first equipment to approach the second equipment, acquiring a first signal generated when the first equipment and the second equipment approach, wherein the first signal is used for determining point location marking information, determining point location marking information of a point location corresponding to each second equipment, enabling the electric curtain to accurately identify the point location through the point location marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
In one embodiment, the number of second devices is two; the step of controlling the first device to move on a target stroke according to the first instruction to acquire a first signal generated when the first device is close to the second device, wherein the first signal is used for determining point location mark information, and the step of determining the point location mark information comprises the following steps:
step 302, controlling the first device to move along a first direction on the target stroke according to the first instruction, acquiring a first signal generated when the first device is close to the second device, and sending the first signal to a client, so that the client determines the point location marking information corresponding to the second device according to the 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;
the preset direction information is pre-stored direction information, such as moving from left to right or right to left.
Specifically, whether the first instruction carries direction information is firstly judged, if so, a direction corresponding to the direction information carried by the first instruction is taken as a first direction, and if not, a direction corresponding to preset direction information is taken as the first direction; then, according to the determined direction information corresponding to the first direction, a control signal is sent to a motor of a driving device of the electric curtain so as to control the motor of the driving device to move, and the motor moves to drive the driving device to move on a curtain track so as to realize that the first device connected with the driving device moves along the first direction on a target stroke; because the number of the second devices is two, the corresponding point positions of the two second devices are two point positions of the target travel, when the first device is close to one of the two second devices, and the distance between the first device and the second device is within a preset distance range, the first device or the second device can generate an induction signal, and when the controller of the electric curtain receives the induction signal, the induction signal is used as a first signal; the controller of the electric curtain sends a first signal to the client; the client acquires the point location marking information input by the user according to the received first signal, and takes the point location marking information as the point location marking information corresponding to the second device which is close to the first device at the time.
It can be understood that if the first instruction carries direction information, the first device will be moved along the direction desired by the user on the target trip, so that the user can quickly determine the point location marking information according to the first signal; if the first instruction does not carry the direction information, the operation process of sending the first instruction by the user is simplified.
Step 304, controlling the first device to move along a second direction on the target stroke, acquiring a second first signal generated when the first device is close to the second device, and sending the second first signal to the client, so that the client determines the point location marking information corresponding to the second device according to the second first signal, wherein the second direction is opposite to the first direction.
As shown in fig. 3 (a), C represents a mechanism for moving on a curtain rail, the mechanism comprising: the device comprises first equipment, driving equipment and a controller, wherein A and B are point positions, a second equipment is arranged on a curtain rail corresponding to A or a position point corresponding to A on a wall, a second equipment is arranged on a curtain rail corresponding to B or a position point corresponding to B on the wall, F1 is in a first direction, and F2 is in a second direction.
Specifically, a controller of the motorized window treatment controls movement of the first device in a direction opposite the first direction to control movement of the first device along a second direction on the target stroke; when the first device approaches the other of the two second devices, and the distance between the first device and the second device is within a preset distance range, the first device or the second device can generate an induction signal, and when the induction signal is received by the controller of the electric curtain, the induction signal is used as a second first signal; the controller of the electric curtain sends a second first signal to the client; and the client acquires the point location marking information input by the user according to the received second first signal, and takes the point location marking information as the point location marking information corresponding to the second device which is close to the first device at the time.
Optionally, when the controller of the motorized window treatment successfully sends a first of the first signals to the client, the controller begins to control the first device to move in the second direction on the target stroke.
Optionally, when the client determines the point location marking information corresponding to the second device according to the first signal, the client sends a completion marking signal to the controller of the electric curtain; the controller of the electric curtain responds to the completion marking signal when receiving the completion marking signal, and controls the first equipment to move along the second direction on the target stroke.
Optionally, the point positions corresponding to the two second devices are two end points of the target travel. Thus, one of the marked two point position mark information is that the curtain is closed, and the other marked two point position mark information is that the curtain is fully opened. It can be understood that the point positions corresponding to the two second devices are two point positions on the partial stroke of the target stroke, so that the personalized curtain use requirement of a user is met.
The first instruction in the embodiment starts the electric curtain to move along the first direction, so that the second direction is obtained through the first direction, the second direction is the direction obtained by directly reversing according to the first direction, and then the electric curtain is controlled to move along the second direction, so that the calibration process of two points is completed through one first instruction, the calibration steps are simplified, the calibration efficiency is improved, and the user experience is improved; the electric curtain can accurately identify the point position through the point position marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position; the point location marking information is determined through the client, so that the user can input rich information as the point location marking information, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the number of second devices is at least two; the first instruction is an instruction for driving the first device to move, according to the first instruction, the first device is controlled to move on a target stroke, a first signal generated when the first device is close to the second device is obtained, and the first signal is used for determining point location marking information, and the method comprises the following steps:
step 402, acquiring the first instruction;
specifically, the implementation method of step S402 refers to the implementation method of step S202.
Step 404, according to the first instruction, the first device is controlled to move along a third direction on the target stroke, the first signal corresponding to the second device, which is generated when the first device approaches to the second device, is obtained, and the first signal corresponding to the second device is sent to a client, so that the client determines the point location marking information corresponding to the second device according to the first signal, wherein the third direction is a direction corresponding to the direction information carried by the first instruction;
specifically, a direction corresponding to the direction information carried by the first instruction is taken as a third direction; then, according to the determined direction information corresponding to the third direction, a control signal is sent to a motor of a driving device of the electric curtain so as to control the motor of the driving device to move, and the motor moves to drive the driving device to move on a curtain track so as to realize that the first device connected with the driving device moves along the third direction on a target stroke; when the first equipment is close to one of the second equipment, and the distance between the first equipment and the second equipment is within a preset distance range, the first equipment or the second equipment can generate an induction signal, and when the induction signal is received by a controller of the electric curtain, the induction signal is used as a first signal; the controller of the electric curtain sends the first signal to the client; the client acquires the point location marking information input by the user according to the received first signal, and takes the point location marking information as the point location marking information corresponding to the second device which the first device approaches at the moment.
As shown in fig. 3 (b), C represents a mechanism for moving on a curtain rail, the mechanism comprising: the device comprises a first device, a driving device and a controller, wherein A and B are point positions, a second device is arranged on a curtain rail corresponding to A or a position point corresponding to A on a wall, a second device is arranged on a curtain rail corresponding to B or a position point corresponding to B on the wall, and F3 is in a third direction.
Step 406, jumping to the step of obtaining the first instruction to continue execution.
Specifically, since the number of the second devices is at least two, and the points corresponding to all the second devices are at least two points of the target stroke, the first instruction needs to be acquired again, where the first instruction is an instruction for driving the first device to move so as to calibrate other points, so that the step of jumping to acquire the first instruction is continuously executed, that is, jumping to step 402, and continuing to execute step 402 to start calibrating the next point.
According to the method, the first instruction is circularly acquired, wherein the first instruction is an instruction for driving the first equipment to move so as to determine the point location marking information corresponding to each second equipment, and personalized point location calibration requirements are met; the electric curtain can accurately identify the point position through the point position marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position; the point location marking information is determined through the client, so that the user can input rich information as the point location marking information, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the step of acquiring a first signal generated when the first device is close to the second device, where the first signal is used to determine the point location mark information includes:
and acquiring the first signal generated when the first equipment and the second equipment are close to each other, and determining the point location marking information corresponding to the second equipment according to the first signal by adopting a preset marking method.
Specifically, a controller of the motorized window treatment acquires the first signal generated when the first device is proximate to the second device; and the controller of the electric curtain adopts a preset marking method, and determines the point position marking information corresponding to the second equipment according to the first signal. Thereby realizing the automatic marking of the point positions by the controller of the electric curtain.
According to the embodiment, the first signal is obtained through the controller of the electric curtain, the preset marking method is adopted, the point position marking information corresponding to the second device is determined according to the first signal, and automatic and rapid point position marking through the controller of the electric curtain is achieved.
In one embodiment, the specific step of determining the point location marker information by using the first signal includes:
Step 502, acquiring first journey information, wherein the first journey information is journey information of the first device when the first signal is generated;
wherein, electric window curtain still includes: travel recording means, which is a travel recording means for identifying travel information of the first device, the range of selection of the travel recording means including, but not limited to: hall sensing devices and distance sensors. A hall sensing device can be arranged at a transmission shaft of a motor of a driving device of the electric curtain so as to judge the number of rotation turns or magnetic induction quantity of the motor to identify travel information; and taking the travel information identified by the Hall sensing device as the travel information of the first equipment. The data format of the first schedule information is related to the specification of the schedule recording unit, and is not limited herein.
Specifically, the travel information transmitted from the travel recording means of the electric window shade is acquired, and the travel information is used as the first travel information.
And step 504, the first signal and the first schedule information are sent to a client, so that the client determines the point location marking information according to the first signal and the first schedule information.
Specifically, the controller of the electric curtain sends the first signal and the first travel information to a client, the client obtains the point type input by a user according to the first signal and the first travel information, correlates the point type input by the user with the first travel information, and takes the correlated result as the point marking information.
According to the embodiment, the point position marking information is determined according to the travel information of the first equipment and the first signal when the first signal is generated, so that the point position marking information comprises the travel information of the point position when the point position is marked, a basis is provided for accurate curtain control based on the travel information in the point position marking information, and the accuracy of identifying the point position of the electric curtain is further improved; the point location marking information is determined through the client, so that the user can input rich information as the point location type, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the point location marking information includes: the value range of the point position type comprises: curtain closing, curtain full opening and curtain partial opening.
Wherein, the curtain part is opened in a way that the opening proportion of the curtain is positioned between the opening proportion corresponding to the full opening and the opening proportion corresponding to the closing, and the number of the curtain part is one or more. When the number of curtain portions to be opened is plural, the curtain opening ratio between the respective curtain portions to be opened may be the same or different.
In one embodiment, as shown in fig. 6, the step of acquiring a first signal generated when the first device approaches to the second device, where the first signal is used to determine the point location mark information, further includes:
step 702, obtaining a second instruction according to each point location mark information, wherein the second instruction is an instruction for driving the electric curtain to move along the curtain track according to each point location mark information;
the second instruction is a control instruction of the actual use stage of the electric curtain after the point position mark.
Specifically, the controller of the electric curtain obtains a second instruction according to each point position mark information.
Optionally, based on each point location mark information, the user clicks a button on a client of the terminal to generate a second instruction; the client sends a second instruction to the controller of the motorized window treatment through gateway 200 or server 400.
Optionally, based on the point location marking information, the user inputs voice on the client of the terminal; the client converts the voice into text, and generates a second instruction according to the intention of the user recognized by the text, and then the client transmits the second instruction to the controller of the motorized window treatment through the gateway 200 or the server 400.
Optionally, based on the point location mark information, clicking a remote controller of the electric curtain by a user to trigger a second instruction; the remote controller sends the second instruction to the controller of the electric curtain.
Step 704, determining a target point location type and a point location list corresponding to the target journey according to the second instruction, wherein each point location type in the point location list is ordered according to the position of the target journey;
the point location lists comprise all point location types of the target journey, and the point location lists are ordered according to the position sequence of the points located in the target journey. For example, the point types in the point list sequentially include: a1, B2, C3 and D4, A1 is the point location type in the point location marking information corresponding to the point location A, B2 is the point location type in the point location marking information corresponding to the point location B, C3 is the point location type in the point location marking information corresponding to the point location C, D4 is the point location type in the point location marking information corresponding to the point location D, the point locations of the target travel are A, B, C, D sequentially from left to right, and because the point location ordering (namely, the arrangement according to A, B, C, D) corresponding to the point locations A1, B2, C3 and D4 is the same as the point location ordering (namely, the arrangement according to A, B, C, D) of the target travel, the point location types in the point location list are ordered according to the position order of the target travel.
It can be understood that the motor movement direction can be recorded in the point position list corresponding to the target travel, and the motor movement direction can be from the beginning to the end of the point position list corresponding to the target travel, or the motor movement direction from the beginning to the end of the point position list can be written into the program file for realizing the application, so that the motor movement can be controlled and determined through the motor movement direction.
Specifically, when the second instruction is obtained, taking the point location type carried by the second instruction as a target point location type, and taking a preset point location list as a point location list corresponding to the target travel. The list of preset points may be stored in a local memory associated with the controller of the motorized window treatment.
Step 706, obtaining historical motion information, where the historical motion information includes: the value range of the historical position is curtain closing, curtain full opening, curtain partial opening and non-point positions;
the curtain closing, the curtain full opening and the curtain partial opening are named of the type of point positions, and the non-point positions are position points outside the point positions on the target travel. For example, in fig. 2, a and B are both dots, and then any one of the dots between a and B is referred to as a non-dot.
Wherein the historical motion information is historical location information of the first device. After the point calibration, the historical motion information is formed, and the historical motion information is continuously updated in the subsequent point calibration and actual use processes of the electric curtain. And the controller of the electric curtain can determine the position according to the historical motion information, the point position list corresponding to the target travel and the motion direction of the first equipment.
For example, the controller of the electric curtain determines that the type of the point position corresponding to the next reached point position is curtain closing according to the historical motion information, the point position list corresponding to the target travel and the motion direction of the first equipment, the second equipment corresponding to the point position corresponding to the first equipment close to curtain closing generates an induction signal, the controller of the electric curtain records curtain closing in historical motion information according to the induction signal, and records non-point positions in the historical motion information when the induction signal disappears from the second equipment corresponding to the point position where the first equipment is close to the curtain closing.
In particular, historical motion information is obtained from a local memory associated with a controller of the motorized window treatment.
Step 708, determining the current position of the first device according to the point position list and the historical motion information;
The value range of the current position of the first device is as follows: the point type or the position between the points corresponding to the two point types. For example, the current position of the first device is that the curtain is fully opened. For another example, the current position of the first device is a position between a point corresponding to the full open window shade (i.e., a point type) and a point corresponding to the partial open window shade (i.e., a point type).
Specifically, if the last value of the historical motion information is not a non-point location, taking the last value of the historical motion information as the current position of the first device; if the last value of the historical motion information is a non-point location, determining the current position of the first device according to the point location list and the historical motion information, for example, the point location list is A1, B2, C3, D4, and the historical motion information includes: c3, non-point location, B2, non-point location, C3 and non-point location, the motion direction of the first device at last time is known to be from B2, C3 to D4 from the historical motion information, and the first device can be known to stop running in the middle of C3 to D4 by combining the point location list and the last two values (namely, C3 and non-point location) in the historical motion information, so that 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.
Step 710, determining, according to the point location list, a direction from the current position to a point location corresponding to the target point location type as a fourth direction;
specifically, the points corresponding to all the point types in the point list are ordered according to the point order on the target journey, so that the direction from the current position to the point corresponding to the target point type can be determined according to the point list, and the direction is taken as a fourth direction.
For example, the point location list is A1, B2, C3, and D4, the current location of the first device is a location between a point location corresponding to C3 and a point location corresponding to D4, and the target point location type is B2, and for C3 and D4, B2 is closer to C3, so the fourth direction is a running direction from the current location of the first device, the point location corresponding to C3, to the point location corresponding to B2.
As shown in fig. 3 (C), C represents a mechanism for moving on a curtain rail, the mechanism comprising: the device comprises a first device, a driving device and a controller, wherein A and B are point positions, a second device is arranged on a curtain rail corresponding to A or a position point corresponding to A on a wall, a second device is arranged on a curtain rail corresponding to B or a position point corresponding to B on the wall, and F4 is in a fourth direction.
It can be understood that the first direction is a direction corresponding to the preset direction information or a direction corresponding to the direction information carried by the first instruction, and the second direction is opposite to the first direction; the third direction is the direction corresponding to the direction information carried by the first instruction; the fourth direction is the direction from the current position of the electric curtain to the point position corresponding to the target point position type. The first direction, the second direction and the third direction are all directions of the dot marking stage. The fourth direction is the direction of the actual use stage of the electric curtain.
Step 712, using the number of the points from the current position to the point corresponding to the target point type as the initial value of the counter according to the point list;
specifically, according to the point location list, the number of point locations from the current position to the point location corresponding to the target point location type, that is, the number of second devices that need to pass through, is used as the initial value of the counter.
For example, the point location list is A1, B2, C3, and D4, the current position of the first device is a position between a point location corresponding to C3 and a point location corresponding to D4, and the target point location type is B2, and then for C3 and C4, B2 is closer to C3, and the fourth direction is that the point location corresponding to C3 of the current position of the first device is a point location corresponding to B2, that is, from the current position of the first device to the point location corresponding to B2, two points corresponding to C3 and B2 need to be passed, so 2 is taken as an initial value of the counter.
Step 714, according to the fourth direction, controlling the first device to move on the target stroke, and obtaining a second signal generated when the first device approaches to the second device;
specifically, according to the direction information corresponding to the fourth direction, a control signal is sent to a motor of a driving device of the electric curtain so as to control the motor of the driving device to move, and the motor moves to drive the driving device to move on a curtain track so as to realize that the first device connected with the driving device moves along the fourth direction on a target stroke; when the first device moves along the fourth direction on the target stroke, when approaching 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 can generate an induction signal, and when receiving the induction signal, the controller of the electric curtain takes the induction signal as a second signal.
Step 716, determining whether the counter value is 1;
specifically, whether the value of the counter is 1 or not is judged, that is, whether the point corresponding to the target point type is reached or not is judged.
Step 718, if yes, controlling the first device to stop moving;
specifically, if the value of the counter is 1, that is, the second device corresponding to the second signal is located on the point corresponding to the target point type, and the first device has reached the target position, so that the control signal is sent to the motor of the driving device of the electric curtain to control the motor of the driving device to stop moving, and the motor of the driving device stops moving to control the first device to stop moving, so that the electric curtain accurately stops the curtain at the preset position.
Step 720, if not, decrementing the counter by 1, jumping to 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 is close to the second device, so as to continue executing.
Specifically, if not, that is, the value of the counter is not 1, which means that the second device corresponding to the second signal is not located on the point corresponding to the target point type at this time, so that the step of subtracting 1 from the counter and jumping to the step of controlling the first device to move on the target stroke according to the fourth direction and obtaining the second signal generated when the first device is close to the second device is continuously performed, that is, jumping to step 714 to continuously perform.
Because there are a plurality of second devices, if the induction signals generated when the first device and the second device are received and approach are directly used as the basis for controlling the first device to stop moving, the first device may be controlled to stop moving if an accurate point position is not reached, and the curtain fabric cannot be accurately opened or retracted at a preset position.
In one embodiment, the point location marking information includes: the first travel information and the point location type, wherein the value range of the point location type comprises: curtain closing, curtain full opening and curtain partial opening.
Wherein, the curtain part is opened in a way that the opening proportion of the curtain is positioned between the opening proportion corresponding to the full opening and the opening proportion corresponding to the closing, and the number of the curtain part is one or more. When the number of curtain portions to be opened is plural, the curtain opening ratio between the respective curtain portions to be opened may be the same or different.
Specifically, the point location marking information includes: the first travel information and the point type, that is, the travel information of the first device at the point marking, are recorded at the point marking.
In one embodiment, as shown in fig. 5, the point location marking information further includes: first journey information, the first signal generated when the first device approaches to the second device is obtained, and after the step of determining the point location mark information, the first signal includes:
step 902, obtaining a third instruction according to each point location mark information, wherein the third instruction is an instruction for driving the electric curtain to move along the curtain track according to each point location mark information;
the third instruction is a control instruction of the actual use stage of the electric curtain after the point position mark.
It is understood that the first command is a command for driving the motorized window treatment to move along the window treatment track, so as to implement the point location mark, that is, the first command is a start command of the point location mark of the motorized window treatment; the second instruction is a control instruction of the actual use stage of the electric curtain under the condition that the point position mark information only comprises the point position type after the point position mark; the third instruction is a control instruction of the actual use stage of the electric curtain when the point marking information includes the point type and the first travel information after the point marking.
Specifically, the controller of the electric curtain obtains a third instruction according to each point position mark information.
Optionally, based on each point location mark information, the user clicks a button on a client of the terminal to generate a third instruction; the client transmits a third instruction to the controller of the motorized window treatment through the gateway 200 or the server 400.
Optionally, based on the point location marking information, the user inputs voice on the client of the terminal; the client converts the voice into text, and generates a third instruction according to the text, and if the user's intention is recognized, the client transmits the third instruction to the controller of the motorized window treatment through the gateway 200 or the server 400.
Optionally, based on the point location mark information, clicking a third instruction on a remote controller of the electric curtain by a user; the remote controller sends a third instruction to the controller of the electric curtain.
Step 904, controlling the first device to move on the target stroke according to the third instruction;
specifically, when the controller of the electric curtain acquires the third instruction, firstly judging whether the third instruction carries direction information, if so, taking the direction corresponding to the direction information carried by the third instruction as a target direction, and if not, taking the direction corresponding to the preset direction information as the target direction; and then, according to the determined direction information corresponding to the target direction, sending a control signal to a motor of a driving device of the electric curtain so as to control the motor of the driving device to move, wherein the movement of the motor drives the driving device to move on a curtain rail so as to realize that a first device connected with the driving device moves along the target direction on a target stroke.
Step 906, acquiring a third signal generated when the first device is close to the second device, and acquiring second journey information, wherein the second journey information is journey information of the first device when the third signal is generated;
specifically, when the first device moves on the target stroke, when the first device approaches one of the second devices, and when the distance between the first device and the second device is within a preset distance range, the first device or the second device generates an induction signal, when the controller of the electric curtain receives the induction signal, the induction signal is used as a third signal, the stroke information of the first device at the moment is acquired from the stroke recording component, and the acquired stroke information is used as second stroke information.
Step 908, subtracting the first travel information carried by the third instruction from the second travel information to obtain a travel difference value;
the first travel information carried by the third instruction comes from the point location marking information determined during point location marking.
Specifically, the first travel information carried by the third instruction is subtracted from the second travel information, and the subtracted data is used as a travel difference value, so that the deviation of the travel information in the actual use stage and the travel information recorded in the point calibration stage is calculated.
Step 910, if the travel difference is within a preset difference range, controlling the first device to stop moving;
the preset difference range comprises a start journey information and an end journey information, and the preset difference range is a range from the start journey information to the end journey information.
The time difference from the acquisition of the induction signal to the acquisition of the travel information of the electric curtain can lead to the deviation of the travel information and the actual travel, and the deviation of the travel information and the actual travel can occur after the electric curtain is used for a long time, so that the problem is avoided by setting a preset difference range. That is, as long as the stroke difference is within a preset difference range, it can be determined that the desired position point is reached.
Specifically, if the travel difference is within a preset difference range, the deviation is within an acceptance range, and the point corresponding to the second device which is close to the first device at this time is the point where the first device is desired to stay by the third instruction, so that a control signal is sent to a motor of a driving device of the electric curtain to control the motor of the driving device to stop moving, and the motor of the driving device stops moving to control the first device to stop moving, so that the electric curtain accurately stays the curtain at the preset position.
If the travel difference is outside the difference range, step 912 is performed, and the step of controlling the first device to move on the target travel according to the third instruction is performed continuously.
Specifically, if the travel difference is outside the difference range, which means that the deviation is not within the acceptance range, the point corresponding to the second device that is approaching this time is not the point where the third instruction wants the first device to stay, and the accurate point needs to be found continuously, so that the step of controlling the first device to move on the target travel according to the third instruction is skipped to continue to be executed, that is, the step is skipped to step 904, and step 904 is continued to be executed, so that the first device approaches the next second device.
In order to solve the problem that the curtain cloth cannot be accurately opened or retracted at the preset position if the sensing signals generated by the first equipment and the second equipment when the second equipment are close are directly used as the basis for controlling the first equipment to stop moving, the first equipment can be controlled to stop moving if an accurate point position is not reached, and the first equipment is controlled to stop moving when the deviation of the stroke information in the actual use stage and the stroke information recorded in the point position calibration stage is within a preset difference range.
In one embodiment, as shown in fig. 7, a point marking apparatus is applied to a motorized window treatment, the motorized window treatment including a first device and at least two second devices, each of the second devices disposed on a window treatment track, the first device and the second devices generating an inductive signal when in proximity, wherein the apparatus comprises:
a marking module 1001, configured to obtain a first instruction, where the first instruction is an instruction for driving the first device to move; controlling the first equipment to move on a target stroke according to the first instruction; and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In the embodiment, each second device is firstly arranged on the curtain rail, which is equivalent to arranging one second device at each point position; and then, based on a first instruction, controlling the first equipment to move on a target stroke, enabling the first equipment to approach the second equipment, acquiring a first signal generated when the first equipment and the second equipment approach, wherein the first signal is used for determining point location marking information, determining point location marking information of a point location corresponding to each second equipment, enabling the electric curtain to accurately identify the point location through the point location marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
In one embodiment, the number of second devices is two; the marking module 1001 includes: an automatic reverse marking sub-module;
the automatic reverse marking sub-module is configured to control the first device to move along a first direction on the target trip according to the first instruction, obtain a first signal generated when the first device approaches to the second device, send the first signal to a client, so that the client determines the point location marking information corresponding to the second device according to the first signal, control the first device to move along a second direction on the target trip, obtain a second first signal generated when the first device approaches to the second device, send the second first signal to the client, and enable the client to determine the point location marking information corresponding to the second device according to the second first signal, where the first direction is a direction corresponding to preset direction information or a direction corresponding to direction information carried by the first instruction, and the second direction is opposite to the first direction.
According to the embodiment, the calibration of two points is realized through one first instruction, so that the calibration steps are simplified, the calibration efficiency is improved, and the user experience is improved; the electric curtain can accurately identify the point position through the point position marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position; the point location marking information is determined through the client, so that the user can input rich information as the point location marking information, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the number of second devices is at least two; the marking module 1001 includes: a single operation marking sub-module;
the single operation marking sub-module is configured to obtain the first instruction, control the first device to move along a third direction on the target trip according to the first instruction, obtain the first signal corresponding to the second device, which is generated when the first device approaches to the second device, send the first signal corresponding to the second device to a client, so that the client determines the point location marking information corresponding to the second device according to the first signal, where the third direction is a direction corresponding to direction information carried by the first instruction, and jump to the step of obtaining the first instruction to continue to execute.
According to the method, the first instruction is circularly acquired, wherein the first instruction is an instruction for driving the first equipment to move so as to determine the point location marking information corresponding to each second equipment, and personalized point location calibration requirements are met; the electric curtain can accurately identify the point position through the point position marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position; the point location marking information is determined through the client, so that the user can input rich information as the point location marking information, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the marking module 1001 includes: the point position marking information determining sub-module;
the point location marking information determining sub-module is configured to obtain first travel information, and send the first signal and the first travel information to a client, so that the client determines the point location marking information according to the first signal and the first travel information, where the first travel information is travel information of the first device when the first signal is generated.
According to the embodiment, the point position marking information is determined according to the travel information of the first equipment and the first signal when the first signal is generated, so that the point position marking information comprises the travel information of the point position when the point position is marked, a basis is provided for accurate curtain control based on the travel information in the point position marking information, and the accuracy of identifying the point position of the electric curtain is further improved; the point location marking information is determined through the client, so that the user can input rich information as the point location type, and the user can quickly find the point location marking information meeting the requirement of the user when the follow-up electric curtain is used, and the user experience is improved.
In one embodiment, the point location marking information includes: the first travel information and the point location type, wherein the value range of the point location type comprises: curtain closing, curtain full opening and curtain partial opening.
In one embodiment, as shown in fig. 8, the apparatus further comprises: a first control module 1002, the first control module 1002 being configured to:
acquiring a third instruction according to each point location mark information;
controlling the first equipment to move on the target stroke according to the third instruction;
Acquiring a third signal generated when the first equipment is close to the second equipment, and acquiring second journey information, wherein the second journey information is journey information of the first equipment when the third signal is generated;
subtracting the first travel information carried by the third instruction from the second travel information to obtain a travel difference value;
if the travel difference value is within a preset difference value range, controlling the first equipment to stop moving;
and if the travel difference value is out of the difference value range, jumping to the step of controlling the first equipment to move on the target travel according to the third instruction, and continuing to execute.
In order to solve the problem that the curtain cloth cannot be accurately opened or retracted at the preset position if the sensing signals generated by the first equipment and the second equipment when the second equipment are close are directly used as the basis for controlling the first equipment to stop moving, the first equipment can be controlled to stop moving if an accurate point position is not reached, and the first equipment is controlled to stop moving when the deviation of the stroke information in the actual use stage and the stroke information recorded in the point position calibration stage is within a preset difference range.
In one embodiment, the point location marking information includes: the value range of the point position type comprises: curtain closing, curtain full opening and curtain partial opening.
In one embodiment, as shown in fig. 9, the apparatus further comprises: a second control module 1003, the second control module 1003 being configured to:
acquiring a second instruction according to each point location mark information;
determining a target point location type and a point location list corresponding to the target journey according to the second instruction, wherein the point location types in the point location list are ordered according to the position of the target journey;
acquiring historical motion information, wherein the historical motion information comprises: the value range of the historical position is curtain closing, curtain full opening, curtain partial opening and non-point positions;
determining the current position of the first equipment according to the point position list and the historical motion information;
according to the point position list, determining the direction from the current position to the point position corresponding to the target point position type as a fourth direction;
according to the point position list, taking the point position number from the current position to the point position corresponding to the target point position type as an initial value of a counter;
According to the fourth direction, controlling the first equipment to move on the target stroke, and acquiring a second signal generated when the first equipment is close to the second equipment;
judging whether the value of the counter is 1;
if yes, controlling the first equipment to stop moving;
if not, the counter is decremented by 1, the step of jumping to the fourth direction, controlling the first equipment to move on the target stroke, and obtaining a second signal generated when the first equipment and the second equipment are close to each other is continuously executed.
Because there are a plurality of second devices, if the induction signals generated when the first device and the second device are received and approach are directly used as the basis for controlling the first device to stop moving, the first device may be controlled to stop moving if an accurate point position is not reached, and the curtain fabric cannot be accurately opened or retracted at a preset position.
In one embodiment, as shown in fig. 10, a motorized window treatment, the motorized window treatment comprising: a first device 1212, at least two second devices 1214, a housing 1210, a driving device 1213, and a controller 1211, wherein each of the second devices 1214 is disposed on a curtain rail, the first device 1212 and the second devices 1214 generate an induction signal when they approach, the first device 1212, the driving device 1213, and the controller 1211 are disposed in the housing 1210, and the controller 1211 is electrically connected to the driving device 1213;
The driving device 1213 is configured to drive the first device 1212 to move on a target stroke according to a control signal sent from the controller 1211;
the controller 1211 is configured to:
acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
The shape and material of the housing may be selected according to the requirements of the electric window curtain, and are not limited herein.
The controller 1211 may be an MCU of the motor, or may further include a single-chip microcomputer, and the single-chip microcomputer controls the motor by controlling the MCU. MCU, which is a shorthand of Microcontroller Unit and is called micro-control unit, also called single-chip microcomputer (Single Chip Microcomputer) or single-chip microcomputer, properly reduces the frequency and specification of CPU (Central Process Unit; CPU), and integrates peripheral interfaces such as memory (Timer), USB, A/D conversion, UART, PLC, DMA, etc., even LCD driving circuit on a single chip to form a chip-level computer for different application occasions.
The drive device comprises at least a motor. It will be appreciated that a complementary mechanical structure, such as a drive wheel, may also be provided in the drive apparatus as desired.
The motor of the driving device is a motor capable of rotational movement.
In this embodiment, each second device 1214 is first disposed on the curtain rail, which is equivalent to disposing one second device 1214 at each point; and then, based on a first instruction, controlling the first device 1212 to move on a target stroke, enabling the first device 1212 to approach the second device 1214, acquiring a first signal generated when the first device 1212 approaches the second device 1214, wherein the first signal is used for determining point position marking information, determining point position marking information of a point position corresponding to each second device 1214, enabling the electric curtain to accurately identify the point position through the point position marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
In one embodiment, the first device 1212 employs magnetic induction switching and the second device 1214 is a magnetic field generator;
the controller 1211 is electrically connected to the first device 1212 to receive the sensing signal generated by the first device 1212.
Optionally, the magnetic induction switch adopts a reed switch, and the magnetic field generator adopts any one of a magnetic sheet, a magnetic column and a magnetic ring.
The specific components employed by each of the second devices 1214 may be the same or different.
In one embodiment, the second device 1214 employs magnetic induction switching, and the first device 1212 is a magnetic field generator;
the motorized window treatment further comprises: a signal receiver electrically connected to the controller 1211;
the signal receiver is communicatively coupled to the second device 1214 to receive the inductive signal generated by the second device 1214.
Signal receivers include, but are not limited to: and a Bluetooth module.
In one embodiment, as shown in fig. 11, a motorized window treatment, the motorized window treatment comprising: a first device 1212, at least two second devices 1214, a housing 1210, a driving device 1213 and a controller 1211, each of said second devices 1214 being arranged on the curtain rail, said first device 1212 and said second devices 1214 generating an inductive signal when in proximity, said first device 1212, said driving device 1213 and said controller 1211 being arranged within said housing 1210; the driving device 1213 is configured to drive the first device 1212 to move on a target stroke according to a control signal sent from the controller 1211; the controller 1211 includes a memory storing a computer program and a processor that when executing the computer program performs the steps of:
Acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In this embodiment, each second device 1214 is first disposed on the curtain rail, which is equivalent to disposing one second device 1214 at each point; and then, based on a first instruction, controlling the first device 1212 to move on a target stroke, enabling the first device 1212 to approach the second device 1214, acquiring a first signal generated when the first device 1212 approaches the second device 1214, wherein the first signal is used for determining point position marking information, determining point position marking information of a point position corresponding to each second device 1214, enabling the electric curtain to accurately identify the point position through the point position marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
In one embodiment, the first device 1212 employs magnetic induction switching and the second device 1214 is a magnetic field generator;
The controller 1211 is electrically connected to the first device 1212 to receive the sensing signal generated by the first device 1212.
In one embodiment, the second device 1214 employs magnetic induction switching, and the first device 1212 is a magnetic field generator;
the motorized window treatment further comprises: a signal receiver electrically connected to the controller 1211;
the signal receiver is communicatively coupled to the second device 1214 to receive the inductive signal generated by the second device 1214.
In one embodiment, a computer storage medium having stored thereon a computer program which when executed by a processor implements the spot marking method, the method being applied to a motorized window treatment comprising a first device and at least two second devices, each of the second devices disposed on a window treatment track, the first and second devices generating an inductive signal when in proximity, wherein the method comprises:
acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
And acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
In the embodiment, each second device is firstly arranged on the curtain rail, which is equivalent to arranging one second device at each point position; and then, based on a first instruction, controlling the first equipment to move on a target stroke, enabling the first equipment to approach the second equipment, acquiring a first signal generated when the first equipment and the second equipment approach, wherein the first signal is used for determining point location marking information, determining point location marking information of a point location corresponding to each second equipment, enabling the electric curtain to accurately identify the point location through the point location marking information, and providing a basis for enabling the electric curtain to accurately open or retract the curtain at a preset position.
Referring to fig. 1, a schematic diagram of a specific implementation of a point marking method in an application scenario is illustrated. In order to solve the technical problem that the electric curtain cannot accurately identify the point location, in the application scenario, the intelligent device 100 (namely the electric curtain) firstly performs point location calibration, and then performs application control on the electric curtain based on the point location marking information obtained by the point location calibration, so that the electric curtain can accurately open or retract the curtain at a preset position.
Before the point calibration, hardware setting is needed, wherein the hardware setting specifically comprises: setting a first device in the motorized window treatment; installing a curtain rail at a preset position of a building; setting a second device at each position point to be focused on the curtain rail, wherein the first device and the second device generate induction signals when approaching, and each position point to be focused is a point position; the electric curtain is installed on the curtain rail, wherein a driving device of the electric curtain is directly or indirectly contacted with the curtain rail, the driving device moves along the curtain rail, and the driving device drives the first device to move together.
Specifically, the process of point location calibration may include the steps of:
202, a controller of the electric curtain acquires a first instruction, wherein a user clicks a calibration function button or a motion button on a client of a terminal, and the client generates the first instruction; the client sends a first instruction to a controller of the electric curtain through the gateway 200 or the server 400;
when the controller of the electric curtain acquires a first instruction, the step S204 is executed to drive the driving device to move on the curtain rail, and the driving device drives the first device to move along the travel of the parallel curtain rail, and the travel is called a target travel, so that the first device is controlled to move on the target travel;
In the process that the first device moves on the target stroke, a first signal generated when the first device is close to the second device is acquired through step S206, wherein the first signal is used for determining point location marking information;
if the controller of the electric curtain is provided with an automatic point position calibration function, the controller of the electric curtain determines point position marking information according to a first signal, and the point position marking information at the moment comprises: is a point location;
if the controller of the electric curtain is not provided with an automatic point location calibration function, determining point location marking information according to a first signal through a client, wherein through the steps 302 and 304, a first instruction is adopted to start the electric curtain to move along a first direction, so that a second direction is obtained through the first direction, the second direction is a direction obtained by directly reversing the first direction, then the electric curtain is controlled to move along the second direction, and the client determines the point location marking information according to an induction signal in the whole process, so that the calibration process of two point locations is completed through one first instruction; through the steps 402 and 406, each first instruction is calibrated by a point location, the first instructions are obtained through circulation, and the client side is adopted to determine point location marking information according to the sensing signals aiming at each first instruction;
Through steps S502 to S504, the client determines the point location marking information according to the travel information (called first travel information) of the first device when the first signal is generated and the first signal, so that the point location marking information includes the travel information of the point location when marking, and a basis is provided for accurate curtain control based on the travel information in the point location marking information.
Specifically, the process of application control for the motorized window treatment regardless of whether the spot marking information includes travel information of the spot at the time of marking may include the steps of:
based on the point location mark information, the user clicks a button on the client of the terminal to generate a second instruction, or the client sends the second instruction to the controller of the electric curtain through the gateway 200 or the server 400; according to the method, a second instruction is acquired according to the point location marking information, then a target point location type and a point location list corresponding to the target travel are determined through step S704, the current position of the first device is determined through step S708, a fourth direction is determined through step 710, a counter is initialized according to the number of points from the current position to the point location corresponding to the target point location type through step 712, finally the first device is controlled to move according to the fourth direction through step S714, when an induction signal (second signal) is acquired in the moving process, the second device is firstly judged to be located on the point location corresponding to the target point location type according to the counter, if yes, step S718 is executed, if no, step S720 is executed, wherein step S720 is to jump to step 714 to continue execution after the counter is reduced by 1, and therefore application control of the electric curtain based on the counter is achieved.
Specifically, the process of application control for a motorized window treatment that includes travel information for a point location at the time of marking may include the steps of:
based on the point location mark information, the user clicks a button on the client of the terminal to generate a third instruction, or the client sends the third instruction to the controller of the electric curtain through the gateway 200 or the server 400; through step S902, a third instruction is obtained according to each point location marking information, then the first device is controlled to move through step S904, an induction signal is obtained through step S906 and is used as a third signal, a travel difference value of first travel information (from the point location marking information) carried by the third instruction is calculated through step 908, the second travel information is subtracted, finally, if the travel difference value is within a preset difference value range, step S910 is executed, if the travel difference value is outside the preset difference value range, step 912 is executed, so that the electric curtain accurately stays the curtain at a preset position, and the technical problem that in the prior art, because a plurality of second devices exist, if the induction signal generated when the first device and the second device approach are directly received is used as a basis for controlling the first device to stop moving, the first device is controlled to stop moving if an inaccurate point is not reached, and the curtain cannot be accurately opened or retracted at the preset position is solved.
In the application scene, the point location calibration is firstly carried out, then the application control of the electric curtain is carried out based on the point location marking information obtained by the point location calibration, the electric curtain can accurately identify the point location through the point location marking information, and a foundation is provided for the electric curtain to accurately open or retract the curtain cloth at a preset position.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (13)

1. A method of spot marking, the method being applied to a motorized window treatment comprising a first device and at least two second devices, each of the second devices disposed on a window treatment track, the first device and the second devices generating an inductive signal when in proximity, wherein the method comprises:
Acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
2. The spot marking method according to claim 1, wherein the number of the second devices is two; the step of controlling the first device to move on a target stroke according to the first instruction to acquire a first signal generated when the first device is close to the second device, wherein the first signal is used for determining point location mark information, and the step of determining the point location mark information comprises the following steps:
according to the first instruction, controlling the first equipment to move along a first direction on the target travel, acquiring a first signal generated when the first equipment is close to the second equipment, and sending the first signal to a client so that the client determines the point location marking information corresponding to the second equipment according to the 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;
And controlling the first equipment to move along a second direction on the target travel, acquiring a second first signal generated when the first equipment is close to the second equipment, and sending the second first signal to the client so that the client determines the point position marking information corresponding to the second equipment according to the second first signal, wherein the second direction is opposite to the first direction.
3. The spot marking method according to claim 1, wherein the number of the second devices is at least two; the first instruction is an instruction for driving the first device to move, according to the first instruction, the first device is controlled to move on a target stroke, a first signal generated when the first device is close to the second device is obtained, and the first signal is used for determining point location marking information, and the method comprises the following steps:
acquiring the first instruction;
according to the first instruction, controlling the first equipment to move along a third direction on the target travel, acquiring the first signal corresponding to the second equipment, which is generated when the first equipment is close to the second equipment, and sending the first signal corresponding to the second equipment to a client so that the client determines the point location marking information corresponding to the second equipment according to the first signal, wherein the third direction is a direction corresponding to the direction information carried by the first instruction;
And jumping to the step of acquiring the first instruction to continue execution.
4. The method of point marking according to claim 1, wherein the step of acquiring a first signal generated when the first device is in proximity to the second device, the first signal being used to determine point marking information, comprises:
and acquiring the first signal generated when the first equipment and the second equipment are close to each other, and determining the point location marking information corresponding to the second equipment according to the first signal by adopting a preset marking method.
5. The method of spot marking according to claim 1, wherein the specific step of the first signal for determining spot marking information comprises:
acquiring first journey information, wherein the first journey information is journey information of the first device when the first signal is generated;
and sending the first signal and the first schedule information to a client so that the client determines the point location marking information according to the first signal and the first schedule information.
6. The spot marking method according to claim 1, wherein the spot marking information includes: the value range of the point position type comprises: curtain closing, curtain full opening and curtain partial opening.
7. The method of point marking according to claim 6, wherein the step of acquiring a first signal generated when the first device is in proximity to the second device, the first signal being used to determine point marking information, further comprises:
acquiring a second instruction according to each point position marking information, wherein the second instruction is an instruction for driving the electric curtain to move along the curtain track according to each point position marking information;
determining a target point location type and a point location list corresponding to the target journey according to the second instruction, wherein the point location types in the point location list are ordered according to the position of the target journey;
acquiring historical motion information, wherein the historical motion information comprises: the value range of the historical position is curtain closing, curtain full opening, curtain partial opening and non-point positions;
determining the current position of the first equipment according to the point position list and the historical motion information;
according to the point position list, determining the direction from the current position to the point position corresponding to the target point position type as a fourth direction;
According to the point position list, taking the point position number from the current position to the point position corresponding to the target point position type as an initial value of a counter;
according to the fourth direction, controlling the first equipment to move on the target stroke, and acquiring a second signal generated when the first equipment is close to the second equipment;
judging whether the value of the counter is 1;
if yes, controlling the first equipment to stop moving;
if not, the counter is decremented by 1, the step of jumping to the fourth direction, controlling the first equipment to move on the target stroke, and obtaining a second signal generated when the first equipment and the second equipment are close to each other is continuously executed.
8. The method of point marking according to claim 6, wherein the point marking information further comprises: first journey information, the first signal generated when the first device approaches to the second device is obtained, and after the step of determining the point location mark information, the first signal includes:
acquiring a third instruction according to each point position mark information, wherein the third instruction is an instruction for driving the electric curtain to move along the curtain track according to each point position mark information;
Controlling the first equipment to move on the target stroke according to the third instruction;
acquiring a third signal generated when the first equipment is close to the second equipment, and acquiring second journey information, wherein the second journey information is journey information of the first equipment when the third signal is generated;
subtracting the first travel information carried by the third instruction from the second travel information to obtain a travel difference value;
if the travel difference value is within a preset difference value range, controlling the first equipment to stop moving;
and if the travel difference value is out of the difference value range, jumping to the step of controlling the first equipment to move on the target travel according to the third instruction, and continuing to execute.
9. A spot marking apparatus, the apparatus being applied to a motorized window treatment, the motorized window treatment comprising a first device and at least two second devices, each of the second devices disposed on a window treatment track, the first device and the second devices generating an inductive signal when in proximity, wherein the apparatus comprises:
the marking module is used for acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move; controlling the first equipment to move on a target stroke according to the first instruction; and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
10. A motorized window treatment, the motorized window treatment comprising: the device comprises first equipment, at least two second equipment, a shell, driving equipment and a controller, wherein each second equipment is arranged on a curtain rail, an induction signal is generated when the first equipment and the second equipment are close, and the first equipment, the driving equipment 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, wherein the memory stores a computer program, and the processor executes the computer program to realize the following steps:
acquiring a first instruction, wherein the first instruction is an instruction for driving the first equipment to move;
controlling the first equipment to move on a target stroke according to the first instruction;
and acquiring a first signal generated when the first equipment is close to the second equipment, wherein the first signal is used for determining point location marking information.
11. The motorized window treatment of claim 10, wherein the first device is a magnetic induction switch and the second device is a magnetic field generator;
The controller is electrically connected with the first equipment to receive the induction signal generated by the first equipment.
12. The motorized window treatment of claim 10, wherein the second device is a magnetic induction switch and the first device is a magnetic field generator;
the motorized window treatment further comprises: 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.
13. A computer storage medium having stored thereon a computer program, which when executed by a processor implements the point marking method according to any of claims 1 to 8.
CN202310732046.1A 2023-06-19 2023-06-19 Point marking method and device, electric curtain and storage medium Pending CN116941952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310732046.1A CN116941952A (en) 2023-06-19 2023-06-19 Point marking method and device, electric curtain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310732046.1A CN116941952A (en) 2023-06-19 2023-06-19 Point marking method and device, electric curtain and storage medium

Publications (1)

Publication Number Publication Date
CN116941952A true CN116941952A (en) 2023-10-27

Family

ID=88453884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310732046.1A Pending CN116941952A (en) 2023-06-19 2023-06-19 Point marking method and device, electric curtain and storage medium

Country Status (1)

Country Link
CN (1) CN116941952A (en)

Similar Documents

Publication Publication Date Title
US10387022B2 (en) Method for controlling information apparatus
KR100526824B1 (en) Indoor environmental control system and method of controlling the same
CN105711591A (en) Unmanned vehicle, and control method and device thereof
US20210010326A1 (en) Motorized Roller Shade having a Smart Hembar
CN105101083A (en) Method and device for controlling indoor electronic device
CN109184536A (en) A kind of control method of electrically driven curtain
US20170112316A1 (en) Automatic and dynamic torque calibration for drapery track system
CN116941952A (en) Point marking method and device, electric curtain and storage medium
CN109151107B (en) Sliding control method and device for sliding assembly, electronic device and storage medium
EP2365257B1 (en) Air conditioner
CN109151106B (en) Sliding control method and device for sliding assembly, electronic device and storage medium
CN104009629A (en) Configurable DC-DC converter
CN111810040B (en) Day and night honeycomb curtain double-motor control method and double motors
US10030432B1 (en) System and method for window motion control
JP2009259049A (en) Monitoring system, tag device, sensing device, and communication method
CN110410955B (en) Control method and device of stepping motor, air conditioner and storage medium
JP6296763B2 (en) Opening and closing body device
US8179077B2 (en) Frequency converter
US20100202771A1 (en) Lens device
CN107864274A (en) Control method, device, mobile terminal and the storage medium of mobile terminal
KR20000005471A (en) Device for operating an adjusting drive
CN113286929A (en) Opening/closing control system and opening/closing control method
CN111691785A (en) Open/close body control device, vehicle, open/close body control method, and recording medium
CN105425621A (en) Control method, device and terminal of working state of electrical appliance
JP2017075493A (en) Opening/closing device operation method, program, recording medium, wearable computer, and opening/closing device operation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination