WO2019227367A1 - Curtain control method and device, electronic terminal and readable storage medium - Google Patents

Curtain control method and device, electronic terminal and readable storage medium Download PDF

Info

Publication number
WO2019227367A1
WO2019227367A1 PCT/CN2018/089159 CN2018089159W WO2019227367A1 WO 2019227367 A1 WO2019227367 A1 WO 2019227367A1 CN 2018089159 W CN2018089159 W CN 2018089159W WO 2019227367 A1 WO2019227367 A1 WO 2019227367A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication unit
instruction
curtain
height
processor
Prior art date
Application number
PCT/CN2018/089159
Other languages
French (fr)
Chinese (zh)
Inventor
彭灵
陈辉萍
李鑫
黄立旺
王增均
钟城广
盘国权
朱荆莲
李文彬
范高如
陈清泉
姚化桥
俞伟良
陈海裕
杨金桂
李文和
李国凯
郭飞锋
Original Assignee
深圳市蚂蚁雄兵物联技术有限公司
深圳佳比泰智能照明股份有限公司
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 深圳市蚂蚁雄兵物联技术有限公司, 深圳佳比泰智能照明股份有限公司 filed Critical 深圳市蚂蚁雄兵物联技术有限公司
Priority to PCT/CN2018/089159 priority Critical patent/WO2019227367A1/en
Priority to CN201880000615.0A priority patent/CN110892127B/en
Publication of WO2019227367A1 publication Critical patent/WO2019227367A1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E06DOORS, WINDOWS, SHUTTERS, OR ROLLER BLINDS IN GENERAL; LADDERS
    • E06BFIXED OR MOVABLE CLOSURES FOR OPENINGS IN BUILDINGS, VEHICLES, FENCES OR LIKE ENCLOSURES IN GENERAL, e.g. DOORS, WINDOWS, BLINDS, GATES
    • E06B9/00Screening or protective devices for wall or similar openings, with or without operating or securing mechanisms; Closures of similar construction
    • E06B9/56Operating, guiding or securing devices or arrangements for roll-type closures; Spring drums; Tape drums; Counterweighting arrangements therefor
    • E06B9/68Operating devices or mechanisms, e.g. with electric drive
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • EFIXED CONSTRUCTIONS
    • E06DOORS, WINDOWS, SHUTTERS, OR ROLLER BLINDS IN GENERAL; LADDERS
    • E06BFIXED OR MOVABLE CLOSURES FOR OPENINGS IN BUILDINGS, VEHICLES, FENCES OR LIKE ENCLOSURES IN GENERAL, e.g. DOORS, WINDOWS, BLINDS, GATES
    • E06B9/00Screening or protective devices for wall or similar openings, with or without operating or securing mechanisms; Closures of similar construction
    • E06B9/56Operating, guiding or securing devices or arrangements for roll-type closures; Spring drums; Tape drums; Counterweighting arrangements therefor
    • E06B9/68Operating devices or mechanisms, e.g. with electric drive
    • E06B2009/6809Control

Definitions

  • the present disclosure relates to the technical field of smart home equipment, and in particular, to a curtain control method, device, electronic terminal, and readable storage medium.
  • the objects of the embodiments of the present disclosure include providing a curtain control method, a device, an electronic terminal, and a readable storage medium.
  • the present disclosure provides a curtain control method, which is applied to a curtain control system.
  • the curtain control system includes a curtain control device and a smart terminal.
  • the smart terminal is communicatively connected with the curtain control device.
  • the curtain control device includes a processor, a first communication unit, and a driving motor
  • the intelligent terminal includes a second communication unit, an input unit, and a control chip
  • the method include:
  • the input unit receives a limit instruction for the curtain controller, and the limit instruction includes a maximum ascent height and / or a minimum of the curtain Descent height
  • the second communication unit sends the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction.
  • the method further includes:
  • the processor determines whether the limit instruction is received
  • the processor determines that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
  • the method for controlling curtains further includes:
  • the control chip generates a first character string
  • the second communication unit sends the first character string to the first communication unit at a preset period
  • the processor After the processor receives the limit instruction and determines the highest rising height and / or the lowest falling height corresponding to the limit instruction, generating a limit success message;
  • control chip After the control chip receives the limit success information through the second communication unit, it stops generating the first character string.
  • the method for controlling curtains further includes:
  • the second communication unit disconnects the communication connection with the first communication unit
  • the processor controls the driving motor to stop running.
  • the second communication unit sends the limit instruction to the first communication unit, so that the processor determines a maximum ascent height and / or a minimum descent of the curtain according to the limit instruction. Steps in height include:
  • the input unit receives a continuous rising instruction or a continuous falling instruction
  • the processor controls the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor controls the driving motor to continuously lower the curtain according to the continuous falling instruction;
  • the input unit receives a stop instruction
  • the current height is set as the lowest lowered height.
  • the method further includes:
  • the processor determines whether a limit height is set
  • the processor determines that the limit height is not set, the processor sends a setting instruction to the second communication unit through the first communication unit;
  • control chip When the control chip receives the setting instruction through the second communication unit, it generates a prompting instruction to prompt the smart terminal to set the limit height.
  • the limit communication instruction is sent to the first communication unit at the second communication unit, so that the processor determines the highest rising height and / or the minimum of the curtain according to the limit instruction.
  • the method further comprises:
  • the input unit receives a rising or falling instruction from an external input
  • the processor controls the driving motor to cause the curtain to rise or fall according to the rising or falling instruction
  • the processor determines that the window covering is raised to the highest rising height, or when it is determined that the window covering is lowered to the lowest falling height, the processor controls the driving motor to stop running.
  • the present disclosure provides a curtain control device, which is applied to a curtain control system.
  • the curtain control system includes a curtain control device and a smart terminal.
  • the smart terminal is communicatively connected with the curtain control device.
  • the curtain control device includes a processor, a first communication unit, and a driving motor according to a control instruction sent by the smart terminal.
  • the smart terminal includes a second communication unit, an input unit, and a control chip, where:
  • the second communication unit is configured to establish a communication connection with the first communication unit
  • the input unit is configured to receive a limit instruction for the curtain controller, and the limit instruction includes a maximum rising height of the curtain and / Or the lowest descent height;
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction. .
  • the processor is configured to determine whether the limit instruction is received
  • the processor controls the driving motor to stop running.
  • control chip is configured to generate a first character string
  • the second communication unit is configured to send the first character string to the first communication unit at a preset period during communication with the first communication unit;
  • the processor is configured to generate a limit success message after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction;
  • the first communication unit is configured to send the limit success information to the second communication unit;
  • the control chip is configured to stop generating the first character string after receiving the limit success information through the second communication unit.
  • the second communication unit is configured to disconnect the communication with the first communication unit. connection;
  • the processor is configured to control the drive motor to stop running.
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / or according to the limit instruction.
  • the minimum descent altitude includes:
  • the input unit is configured to receive a continuous rising instruction or a continuous falling instruction
  • the second communication unit is configured to send the continuous rising instruction or the continuous falling instruction to the first communication unit
  • the processor is configured to control the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor is to control the driving motor to continuously lower the curtain according to the continuous falling instruction;
  • the input unit is configured to receive a stop instruction
  • the second communication unit is configured to send the stop instruction to the first communication unit
  • the processor is configured to determine a current state of the curtain according to the stop instruction
  • the current height is set as the lowest lowered height.
  • the processor is configured to determine whether a limit height is set
  • the processor When the processor is configured to determine that the limit height is not set, the processor is configured to send a setting instruction to the second communication unit through the first communication unit;
  • control chip When the control chip is configured to receive the setting instruction through the second communication unit, the control chip is configured to generate a prompting instruction to prompt the smart terminal to set the limit height.
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / Or after the lowest descent height, the input unit is configured to receive an externally input ascent or descent instruction;
  • the second communication unit is configured to send the rising or falling instruction to the first communication unit
  • the processor is configured to control the driving motor to cause the curtain to rise or fall according to the rising or falling instruction
  • the processor is configured to determine that the curtain is raised to the highest raised height, or when the curtain is lowered to the lowest raised height, the processor controls the driving motor to stop running.
  • the present disclosure also provides an electronic terminal, including:
  • the curtain control device which is stored in the memory and controlled and executed by the processor.
  • the present disclosure also provides a readable storage medium having stored thereon a computer program that, when executed, implements the shade control method described in the first aspect above.
  • the curtain control method provided by the present disclosure can set the highest rising height or the lowest falling height of the curtain, and the limit height of the curtain can be set through the intelligent terminal, which can prevent the curtain from exceeding the limit height during operation and damaging the drive The condition of the motor.
  • the intelligent terminal is used to control the curtains with clear control logic and high control efficiency.
  • FIG. 1 is a schematic flowchart of a curtain control method according to a preferred embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart of a sub-step of step S102 in a curtain control method provided by a preferred embodiment of the present disclosure.
  • FIG. 3 is a schematic flowchart of another curtain control method according to a preferred embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of another curtain control method according to a preferred embodiment of the present disclosure.
  • an embodiment of the present invention provides a curtain control method, which is applied to a curtain control system.
  • the curtain control system includes a curtain control device and a smart terminal.
  • the smart terminal is communicatively connected with the curtain control device.
  • the curtain control device is configured to control the movement of the curtain according to a control instruction sent by the smart terminal.
  • the curtain control device includes a processor, a first communication unit, and a driving motor.
  • the smart terminal includes a second communication unit, an input unit, and a control chip. The method includes the following steps.
  • Step S101 The second communication unit establishes a communication connection with the first communication unit.
  • the smart terminal Before controlling the curtain control device, the smart terminal needs to establish a communication connection with the curtain control device.
  • the smart terminal establishes a communication connection with the first communication unit in the curtain control device through the second communication unit.
  • the first communication unit and the second communication unit can communicate based on the same communication protocol, for example, they can communicate through the Bluetooth protocol or be in the same local area network.
  • Step S102 During the communication connection between the second communication unit and the first communication unit, the input unit receives a limit instruction for the curtain controller, where the limit instruction includes a maximum ascent height of the curtain and / Or the lowest descent height.
  • the user can input a limit instruction through the smart terminal.
  • the curtain can be raised or lowered under the control of the curtain control device. If it continues to fall, the curtain control equipment will continue to work, and it is easy to cause damage to the equipment.
  • the user can beat the smart terminal to input the position where the curtain is highest raised or the position where the curtain is lowered the most.
  • the highest ascent or the lowest ascent There are two ways to set the highest ascent or the lowest ascent. One is that the user directly inputs a height value through the smart terminal, and uses the height value as the highest ascent or the lowest ascent. The other is that, during the setting process, the user continuously inputs a control instruction, and when the control instruction stops, the height of the curtain is set to the highest ascent or the lowest ascent.
  • the setting fails.
  • the following methods can also be used to avoid setting failure.
  • Step S121 The control chip generates a first character string.
  • the control chip can generate a string of random characters as the first string. For example, a string of "11111 " can be generated, that is, the control chip continuously sends characters to the curtain control device during the communication connection between the smart terminal and the curtain control device. 1".
  • step S122 the second communication unit sends the first character string to the first communication unit at a preset period during communication with the first communication unit.
  • the second communication unit may transmit the first character string generated by the control chip to the first communication unit in a preset period or continuously.
  • the first character string is used as an identifier for the normal communication connection between the smart terminal and the curtain control device.
  • the first communication unit is within a predetermined time If the first string is not received, it indicates that there is an abnormality in the communication connection between the smart terminal and the curtain control device. At this time, the driving motor that is in motion can be controlled to stop running to avoid the abnormal situation.
  • step S123 after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction, the processor generates limit success information.
  • the processor After the processor receives the limit instruction, it can process the height information contained in the limit instruction. When inputting the limit command, the user can continuously input two height values, and the two height values are different. The value with a larger height value is regarded as the highest ascending height, and the value with a smaller height value is regarded as the lowest fall. height. After the setting is successful, the processor can generate a limit success message.
  • step S124 the first communication unit sends the limit success information to the second communication unit.
  • step S125 the control chip stops generating the first character string after receiving the limit success information through the second communication unit.
  • control chip can stop generating the first character string after receiving the limit success message sent by the processor, and the setting process ends.
  • Step S103 the second communication unit sends the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling of the curtain according to the limit instruction. height.
  • the processor determines whether the limit instruction is received; the processor determines whether the received limit instruction is received. When the limit instruction is incomplete, the processor controls the driving motor to stop running.
  • the limit setting process is aborted. After the user uses the smart terminal to establish a communication connection with the curtain control device next time, it is necessary to first determine whether the limit setting is successful, and if the previous limit setting is not successful, perform the limit setting again.
  • the communication connection between the smart terminal and the curtain control device may be artificially suspended, or it may be due to a network failure or the like.
  • the second communication unit When the second communication unit is communicating with the first communication unit, when the input unit receives a disconnection instruction, the second communication unit disconnects the communication connection with the first communication unit; the processing The controller controls the driving motor to stop running. As long as the curtain control device does not generate a setting success message, it indicates that the setting process has not been completed.
  • Sub-step S131 the input unit receives a continuous rising instruction or a continuous falling instruction.
  • the user inputs a continuous rising instruction or a continuous falling instruction through the input unit. Understandably, the highest rising height of the curtain is higher than the lowest falling height.
  • the smart terminal can be configured or displayed with a rising button and a falling button. When the rising button is pressed, a continuous rising instruction is generated, and when the falling button is pressed, a continuous falling instruction is generated. When the up button or down button is released from the pressed state, the smart terminal generates a stop instruction.
  • Sub-step S132 the second communication unit sends the continuous rising instruction or continuous falling instruction to the first communication unit.
  • the smart terminal can send relevant instructions to the curtain control device.
  • Sub-step S133 the processor controls the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor controls the driving motor to continuously cause the curtain according to the continuous falling instruction decline.
  • the processor in the curtain control system can control the driving motor to run.
  • the driving motor can drive the curtain to perform corresponding actions.
  • Sub-step S134 the input unit receives a stop instruction
  • the up button or down button on the smart terminal At the moment when the up button or down button on the smart terminal is pressed to released, it indicates that the user does not want the curtain to continue to rise or continue to fall, and the input unit generates a stop instruction at this time.
  • sub-step S136 the processor determines the current state of the curtain according to the stop instruction.
  • Sub-step S137 when the curtain is continuously rising, setting the current height to the highest rising height
  • step S138 when the curtain is continuously lowered, the current height is set as the lowest lowered height.
  • the curtain control device After receiving the stop instruction, the curtain control device can set the limit height according to the time point when the stop instruction is received. When the curtain is continuously rising, the current height is set to the highest rising height. When the curtain is continuously lowered, the current height is set to the lowest lowered height.
  • the method further includes the following steps.
  • step S104 the processor determines whether a limit height is set.
  • the intelligent terminal communicates with the curtain control device, it is necessary to first determine whether the limit height setting process has been performed. If the limit height setting has not been performed, or a communication interruption occurred during the previous setting process If there is an abnormal situation, but the limit height is not set successfully, the limit height needs to be set again. If you have already set the limit height, you do not need to enter the height setting process.
  • step S105 when the processor determines that the limit height is not set, the processor sends a setting instruction to the second communication unit through the first communication unit.
  • step S106 when the control chip receives the setting instruction through the second communication unit, it generates a prompting instruction to prompt the smart terminal to set the limit height.
  • the control chip can control the smart terminal to display the limit flow page, prompting the user to enter the limit height setting process by operating the smart terminal.
  • the method further includes the following steps.
  • step S107 the input unit receives a rising or falling instruction input from the outside.
  • step S108 the second communication unit sends the rising or falling instruction to the first communication unit.
  • step S109 the processor controls the driving motor to cause the curtain to rise or fall according to the rising or falling instruction.
  • step S110 when the processor determines that the curtain is raised to the highest rising height, or when it is determined that the curtain is lowered to the lowest falling height, the processor controls the driving motor to stop running.
  • the process of setting the highest ascent and the lowest ascent can be achieved by two methods.
  • the above describes the setting of the highest ascent and the lowest descent by directly giving two height values.
  • the user inputs a rising or falling instruction through the input unit of the smart terminal. After the input is stopped, the smart terminal generates a stop instruction, and the curtain control device sets a limit when the stop instruction is generated. Bit height.
  • the user can control the curtain to rise or fall through the intelligent terminal.
  • the processor controls the driving motor to continue to run according to the received control instructions.
  • the drive motor drives the curtain to continue to rise or fall.
  • the processor may determine the current height of the curtain according to the corresponding relationship between the predetermined running height of the driving motor and the current height of the curtain, and when the curtain rises to the highest rising height set by the above setting method, or drops to the above When the minimum descent height set by the setting method, the drive motor can be controlled to stop running.
  • the curtain control method provided by the present disclosure can set the highest rising height or the lowest falling height of the curtain, and the limit height of the curtain can be set through the intelligent terminal, which can prevent the curtain from exceeding the limit during operation.
  • the intelligent terminal is used to control the curtains with clear control logic and high control efficiency.
  • the present disclosure provides a curtain control device, which is applied to a curtain control system.
  • the curtain control system includes a curtain control device and a smart terminal.
  • the smart terminal is communicatively connected with the curtain control device.
  • the control instruction sent by the intelligent terminal controls the movement of the curtain.
  • the curtain control device includes a processor, a first communication unit, and a driving motor.
  • the intelligent terminal includes a second communication unit, an input unit, and a control chip, where:
  • the second communication unit is configured to establish a communication connection with the first communication unit
  • the input unit is configured to receive a limit instruction for the curtain controller, and the limit instruction includes a maximum rising height of the curtain and / Or the lowest descent height;
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction. .
  • the processor is configured to determine whether the limit instruction is received
  • the processor controls the driving motor to stop running.
  • control chip is configured to generate a first character string
  • the second communication unit is configured to send the first character string to the first communication unit at a preset period during communication with the first communication unit;
  • the processor is configured to generate a limit success message after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction;
  • the first communication unit is configured to send the limit success information to the second communication unit;
  • the control chip is configured to stop generating the first character string after receiving the limit success information through the second communication unit.
  • the second communication unit is configured to disconnect the communication with the first communication unit. connection;
  • the processor is configured to control the drive motor to stop running.
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / or according to the limit instruction.
  • the minimum descent altitude includes:
  • the input unit is configured to receive a continuous rising instruction or a continuous falling instruction
  • the second communication unit is configured to send the continuous rising instruction or the continuous falling instruction to the first communication unit
  • the processor is configured to control the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor is to control the driving motor to continuously lower the curtain according to the continuous falling instruction;
  • the input unit is configured to receive a stop instruction
  • the second communication unit is configured to send the stop instruction to the first communication unit
  • the processor is configured to determine a current state of the curtain according to the stop instruction
  • the current height is set as the lowest lowered height.
  • the processor is configured to determine whether a limit height is set
  • the processor When the processor is configured to determine that the limit height is not set, the processor is configured to send a setting instruction to the second communication unit through the first communication unit;
  • control chip When the control chip is configured to receive the setting instruction through the second communication unit, the control chip is configured to generate a prompting instruction to prompt the smart terminal to set the limit height.
  • the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / Or after the lowest descent height, the input unit is configured to receive an externally input ascent or descent instruction;
  • the second communication unit is configured to send the rising or falling instruction to the first communication unit
  • the processor is configured to control the driving motor to cause the curtain to rise or fall according to the rising or falling instruction
  • the processor is configured to determine that the curtain is raised to the highest raised height, or when the curtain is lowered to the lowest raised height, the processor controls the driving motor to stop running.
  • the present disclosure also provides an electronic terminal including:
  • the curtain control device which is stored in the memory and controlled and executed by the processor.
  • the present disclosure also provides a readable storage medium having stored thereon a computer program that, when executed, implements the shade control method according to the first aspect.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more components for implementing a specified logical function Executable instructions.
  • the functions marked in the blocks may also occur in a different order than those marked in the drawings.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. , Or it can be implemented with a combination of dedicated hardware and computer instructions.
  • the functional modules in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
  • the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present disclosure is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
  • relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order among them.
  • the terms "including”, “comprising”, or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also those that are not explicitly listed Or other elements inherent to such a process, method, article, or device. Without more restrictions, the elements defined by the sentence “including a " do not exclude the existence of other identical elements in the process, method, article, or equipment that includes the elements.
  • the present disclosure provides a method, an apparatus, an electronic device, and a readable storage medium for controlling a curtain.
  • the intelligent curtain is used to control the curtains with clear control logic and higher control efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Curtains And Furnishings For Windows Or Doors (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

Disclosed are a curtain control method and device, an electronic device and a readable storage medium, relating to the technical field of intelligent furnishings. The curtain control method can set a highest ascending height or a lowest descending height of a curtain, and the setting of the limited height of the curtain by means of an intelligent terminal can avoid the situation that a driving motor is damaged when the curtain exceeds the limited height during the operation. The control of the curtain is realized by means of the intelligent terminal, the control logic is clear, and the control efficiency is high.

Description

窗帘控制方法、装置、电子终端及可读存储介质Curtain control method, device, electronic terminal and readable storage medium 技术领域Technical field
本公开涉及智能家居设备技术领域,具体而言,涉及一种窗帘控制方法、装置、电子终端及可读存储介质。The present disclosure relates to the technical field of smart home equipment, and in particular, to a curtain control method, device, electronic terminal, and readable storage medium.
背景技术Background technique
随着社会进步,日常生活中出现了越来越多的智能家居设备,例如智能窗帘、智能电视等等。在智能窗帘的使用过程中,经常出现用户控制窗帘持续上升或持续下降,损坏智能窗帘中的相关设备。With the progress of society, more and more smart home devices have appeared in daily life, such as smart curtains and smart TVs. During the use of smart curtains, it often occurs that the user controls the curtains to continuously rise or fall, damaging related equipment in the smart curtains.
发明内容Summary of the Invention
有鉴于此,本公开实施例的目的包括提供一种窗帘控制方法、装置、电子终端及可读存储介质。In view of this, the objects of the embodiments of the present disclosure include providing a curtain control method, a device, an electronic terminal, and a readable storage medium.
第一方面,本公开提供了一种窗帘控制方法,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯片,所述方法包括:In a first aspect, the present disclosure provides a curtain control method, which is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. For controlling curtain movement according to a control instruction sent by the intelligent terminal, the curtain control device includes a processor, a first communication unit, and a driving motor, the intelligent terminal includes a second communication unit, an input unit, and a control chip, the method include:
所述第二通信单元建立与所述第一通信单元的通信连接;Establishing, by the second communication unit, a communication connection with the first communication unit;
在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度;During the communication connection between the second communication unit and the first communication unit, the input unit receives a limit instruction for the curtain controller, and the limit instruction includes a maximum ascent height and / or a minimum of the curtain Descent height
所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。The second communication unit sends the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction.
进一步地,该方法还包括:Further, the method further includes:
当所述第二通信单元和第一通信单元通信连接断开,所述处理器确定是否接收到所述限位指令;When the communication connection between the second communication unit and the first communication unit is disconnected, the processor determines whether the limit instruction is received;
所述处理器确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。When the processor determines that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
进一步地,在所述第二通信单元和第一通信单元通信连接过程中,所述窗帘控制方法还包括:Further, in the process of communication connection between the second communication unit and the first communication unit, the method for controlling curtains further includes:
所述控制芯片生成第一字符串;The control chip generates a first character string;
所述第二通信单元在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元;During the communication with the first communication unit, the second communication unit sends the first character string to the first communication unit at a preset period;
所述处理器接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息;After the processor receives the limit instruction and determines the highest rising height and / or the lowest falling height corresponding to the limit instruction, generating a limit success message;
所述第一通信单元将所述限位成功信息发送至所述第二通信单元;Sending, by the first communication unit, the position success information to the second communication unit;
所述控制芯片通过所述第二通信单元接收到所述限位成功信息后,停止生成所述第一字符串。After the control chip receives the limit success information through the second communication unit, it stops generating the first character string.
进一步地,所述第二通信单元在与第一通信单元通信过程中,所述窗帘控制方法还包括:Further, in the process in which the second communication unit communicates with the first communication unit, the method for controlling curtains further includes:
当所述输入单元接收到断开指令时,所述第二通信单元断开与所述第一通信单元的通信连接;When the input unit receives the disconnection instruction, the second communication unit disconnects the communication connection with the first communication unit;
所述处理器控制所述驱动电机停止运转。The processor controls the driving motor to stop running.
进一步地,所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度的步骤包括:Further, the second communication unit sends the limit instruction to the first communication unit, so that the processor determines a maximum ascent height and / or a minimum descent of the curtain according to the limit instruction. Steps in height include:
所述输入单元接收持续上升指令或持续下降指令;The input unit receives a continuous rising instruction or a continuous falling instruction;
所述第二通信单元将所述持续上升指令或持续下降指令发送至所述第一通信单元;Sending, by the second communication unit, the continuous rising instruction or the continuous falling instruction to the first communication unit;
所述处理器根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下降;The processor controls the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor controls the driving motor to continuously lower the curtain according to the continuous falling instruction;
所述输入单元接收停止指令;The input unit receives a stop instruction;
所述第二通信单元将所述停止指令发送至所述第一通信单元;Sending, by the second communication unit, the stop instruction to the first communication unit;
所述处理器根据所述停止指令,确定所述窗帘的当前状态;Determining, by the processor, the current state of the curtain according to the stop instruction;
当所述窗帘为持续上升时,将当前高度设定为最高上升高度;When the curtain is continuously rising, setting the current height to the highest rising height;
当所述窗帘为持续下降时,将当前高度设定为最低下降高度。When the curtain is continuously lowered, the current height is set as the lowest lowered height.
进一步地,所述第二通信单元建立与所述第一通信单元的通信连接的步骤之后,该方法还包括:Further, after the step of the second communication unit establishing a communication connection with the first communication unit, the method further includes:
所述处理器确定是否设定了限位高度;The processor determines whether a limit height is set;
当所述处理器确定没有设定限位高度时,所述处理器通过所述第一通信单元向所述第二通信单元发送设定指令;When the processor determines that the limit height is not set, the processor sends a setting instruction to the second communication unit through the first communication unit;
所述控制芯片通过所述第二通信单元接收到所述设定指令时,生成提示指令,以提示所述智能终端设定所述限位高度。When the control chip receives the setting instruction through the second communication unit, it generates a prompting instruction to prompt the smart terminal to set the limit height.
进一步地,在所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度的步骤之后,该方法还包括:Further, the limit communication instruction is sent to the first communication unit at the second communication unit, so that the processor determines the highest rising height and / or the minimum of the curtain according to the limit instruction. After the step of lowering the height, the method further comprises:
所述输入单元接收外部输入的上升或下降指令;The input unit receives a rising or falling instruction from an external input;
所述第二通信单元将所述上升或下降指令发送至所述第一通信单元;Sending, by the second communication unit, the rising or falling instruction to the first communication unit;
所述处理器根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降;The processor controls the driving motor to cause the curtain to rise or fall according to the rising or falling instruction;
所述处理器确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。When the processor determines that the window covering is raised to the highest rising height, or when it is determined that the window covering is lowered to the lowest falling height, the processor controls the driving motor to stop running.
第二方面,本公开提供了一种窗帘控制装置,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯片,其中:In a second aspect, the present disclosure provides a curtain control device, which is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. The curtain control device includes a processor, a first communication unit, and a driving motor according to a control instruction sent by the smart terminal. The smart terminal includes a second communication unit, an input unit, and a control chip, where:
所述第二通信单元配置成建立与所述第一通信单元的通信连接;The second communication unit is configured to establish a communication connection with the first communication unit;
在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元配置成接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度;During the communication connection between the second communication unit and the first communication unit, the input unit is configured to receive a limit instruction for the curtain controller, and the limit instruction includes a maximum rising height of the curtain and / Or the lowest descent height;
所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。The second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction. .
进一步地,当所述第二通信单元和第一通信单元通信连接断开,所述处理器配置成确定是否接收到所述限位指令;Further, when the communication connection between the second communication unit and the first communication unit is disconnected, the processor is configured to determine whether the limit instruction is received;
所述处理器配置成确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。When the processor is configured to determine that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
进一步地,在所述第二通信单元和第一通信单元通信连接过程中,所述控制芯片配置成生成第一字符串;Further, during the communication connection between the second communication unit and the first communication unit, the control chip is configured to generate a first character string;
所述第二通信单元配置成在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元;The second communication unit is configured to send the first character string to the first communication unit at a preset period during communication with the first communication unit;
所述处理器配置成接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息;The processor is configured to generate a limit success message after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction;
所述第一通信单元配置成将所述限位成功信息发送至所述第二通信单元;The first communication unit is configured to send the limit success information to the second communication unit;
所述控制芯片配置成通过所述第二通信单元接收到所述限位成功信息后,停止生成所述第一字符串。The control chip is configured to stop generating the first character string after receiving the limit success information through the second communication unit.
进一步地,所述第二通信单元在与第一通信单元通信过程中,当所述输入单元接收到断开指令时,所述第二通信单元配置成断开与所述第一通信单元的通信连接;Further, during the communication process between the second communication unit and the first communication unit, when the input unit receives a disconnection instruction, the second communication unit is configured to disconnect the communication with the first communication unit. connection;
所述处理器配置成控制所述驱动电机停止运转。The processor is configured to control the drive motor to stop running.
进一步地,所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度包括:Further, the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / or according to the limit instruction. The minimum descent altitude includes:
所述输入单元配置成接收持续上升指令或持续下降指令;The input unit is configured to receive a continuous rising instruction or a continuous falling instruction;
所述第二通信单元配置成将所述持续上升指令或持续下降指令发送至所述第一通信单 元;The second communication unit is configured to send the continuous rising instruction or the continuous falling instruction to the first communication unit;
所述处理器配置成根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下降;The processor is configured to control the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor is to control the driving motor to continuously lower the curtain according to the continuous falling instruction;
所述输入单元配置成接收停止指令;The input unit is configured to receive a stop instruction;
所述第二通信单元配置成将所述停止指令发送至所述第一通信单元;The second communication unit is configured to send the stop instruction to the first communication unit;
所述处理器配置成根据所述停止指令,确定所述窗帘的当前状态;The processor is configured to determine a current state of the curtain according to the stop instruction;
当所述窗帘为持续上升时,将当前高度设定为最高上升高度;When the curtain is continuously rising, setting the current height to the highest rising height;
当所述窗帘为持续下降时,将当前高度设定为最低下降高度。When the curtain is continuously lowered, the current height is set as the lowest lowered height.
进一步地,所述第二通信单元配置成建立与所述第一通信单元的通信连接之后,所述处理器配置成确定是否设定了限位高度;Further, after the second communication unit is configured to establish a communication connection with the first communication unit, the processor is configured to determine whether a limit height is set;
当所述处理器配置成确定没有设定限位高度时,所述处理器配置成通过所述第一通信单元向所述第二通信单元发送设定指令;When the processor is configured to determine that the limit height is not set, the processor is configured to send a setting instruction to the second communication unit through the first communication unit;
所述控制芯片配置成通过所述第二通信单元接收到所述设定指令时,配置成生成提示指令,以提示所述智能终端设定所述限位高度。When the control chip is configured to receive the setting instruction through the second communication unit, the control chip is configured to generate a prompting instruction to prompt the smart terminal to set the limit height.
进一步地,在所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度之后,所述输入单元配置成接收外部输入的上升或下降指令;Further, the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / Or after the lowest descent height, the input unit is configured to receive an externally input ascent or descent instruction;
所述第二通信单元配置成将所述上升或下降指令发送至所述第一通信单元;The second communication unit is configured to send the rising or falling instruction to the first communication unit;
所述处理器配置成根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降;The processor is configured to control the driving motor to cause the curtain to rise or fall according to the rising or falling instruction;
所述处理器配置成确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。The processor is configured to determine that the curtain is raised to the highest raised height, or when the curtain is lowered to the lowest raised height, the processor controls the driving motor to stop running.
第三方面,本公开还提供了一种电子终端,包括:In a third aspect, the present disclosure also provides an electronic terminal, including:
存储器;Memory
处理器;processor;
第二方面所述的窗帘控制装置,该窗帘控制装置存储于所述存储器并由所述处理器控制执行。The curtain control device according to the second aspect, which is stored in the memory and controlled and executed by the processor.
第四方面,本公开还提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序在执行时实现上述第一方面所述的窗帘控制方法。In a fourth aspect, the present disclosure also provides a readable storage medium having stored thereon a computer program that, when executed, implements the shade control method described in the first aspect above.
本公开提供的窗帘控制方法可以对窗帘的最高上升高度或最低下降高度进行设定,通过智能终端实现对窗帘的限位高度的设定,可以避免窗帘在运行过程中超过限位高度而损坏驱动电机的情况。通过智能终端实现对窗帘的控制,控制逻辑清晰,控 制效率高。The curtain control method provided by the present disclosure can set the highest rising height or the lowest falling height of the curtain, and the limit height of the curtain can be set through the intelligent terminal, which can prevent the curtain from exceeding the limit height during operation and damaging the drive The condition of the motor. The intelligent terminal is used to control the curtains with clear control logic and high control efficiency.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features, and advantages of the present disclosure more comprehensible, preferred embodiments are described below in detail with the accompanying drawings as follows.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore are not It should be regarded as a limitation on the scope. For those of ordinary skill in the art, other related drawings can be obtained according to these drawings without paying creative work.
图1为本公开较佳实施例提供的窗帘控制方法的流程示意图。FIG. 1 is a schematic flowchart of a curtain control method according to a preferred embodiment of the present disclosure.
图2为本公开较佳实施例提供的窗帘控制方法中步骤S102的子步骤的流程示意图。FIG. 2 is a schematic flowchart of a sub-step of step S102 in a curtain control method provided by a preferred embodiment of the present disclosure.
图3为本公开较佳实施例提供的另一种窗帘控制方法的流程示意图。FIG. 3 is a schematic flowchart of another curtain control method according to a preferred embodiment of the present disclosure.
图4为本公开较佳实施例提供的另一种窗帘控制方法的流程示意图。FIG. 4 is a schematic flowchart of another curtain control method according to a preferred embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, but not all of the embodiments. The components of embodiments of the present disclosure generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely to indicate selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts fall within the protection scope of the present disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本公开的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following drawings, so once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings. Meanwhile, in the description of the present disclosure, the terms “first”, “second”, and the like are only used to distinguish descriptions, and cannot be understood to indicate or imply relative importance.
如图1所示,本发明实施例提供了一种窗帘控制方法,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯片,所述方法包括以下步骤。As shown in FIG. 1, an embodiment of the present invention provides a curtain control method, which is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. The curtain control device is configured to control the movement of the curtain according to a control instruction sent by the smart terminal. The curtain control device includes a processor, a first communication unit, and a driving motor. The smart terminal includes a second communication unit, an input unit, and a control chip. The method includes the following steps.
步骤S101,所述第二通信单元建立与所述第一通信单元的通信连接。Step S101: The second communication unit establishes a communication connection with the first communication unit.
智能终端在对窗帘控制设备进行控制前,需要先建立与窗帘控制设备的通信连接,智能终端通过第二通信单元建立与窗帘控制设备中的第一通信单元的通信连接。第一通信单元和第二通信单元可以基于相同的通信协议进行通信,例如可以通过蓝牙协议或者处于同一局域网内。Before controlling the curtain control device, the smart terminal needs to establish a communication connection with the curtain control device. The smart terminal establishes a communication connection with the first communication unit in the curtain control device through the second communication unit. The first communication unit and the second communication unit can communicate based on the same communication protocol, for example, they can communicate through the Bluetooth protocol or be in the same local area network.
步骤S102,在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度。Step S102: During the communication connection between the second communication unit and the first communication unit, the input unit receives a limit instruction for the curtain controller, where the limit instruction includes a maximum ascent height of the curtain and / Or the lowest descent height.
在第二通信单元与第一通信单元建立了通信连接后,用户可以通过智能终端输入限位指令,在本申请实施例中,窗帘可以在窗帘控制设备的控制下上升或下降,如果持续上升或持续下降,那么窗帘控制设备将会持续工作,很容易对设备造成损坏。用户可以痛殴智能终端输入限制窗帘最高上升的位置或最低下降的位置。After the second communication unit establishes a communication connection with the first communication unit, the user can input a limit instruction through the smart terminal. In the embodiment of the present application, the curtain can be raised or lowered under the control of the curtain control device. If it continues to fall, the curtain control equipment will continue to work, and it is easy to cause damage to the equipment. The user can beat the smart terminal to input the position where the curtain is highest raised or the position where the curtain is lowered the most.
在设定最高上升高度或最低下降高度时,可以采用两种方式。一种是用户直接通过智能终端输入一高度值,将该高度值作为最高上升高度或最低下降高度。另一种是,用户在进行设定过程中,持续的输入控制指令,在控制指令停止时,窗帘的高度即被设定为最高上升高度或最低下降高度。There are two ways to set the highest ascent or the lowest ascent. One is that the user directly inputs a height value through the smart terminal, and uses the height value as the highest ascent or the lowest ascent. The other is that, during the setting process, the user continuously inputs a control instruction, and when the control instruction stops, the height of the curtain is set to the highest ascent or the lowest ascent.
详细的,在智能终端与窗帘控制设备通信连接过程中,为了避免通信的中断导致设定的失败。如图2所示,还可以通过以下方法避免设定失败的情况。In detail, in the process of communication connection between the smart terminal and the curtain control device, in order to avoid the interruption of communication, the setting fails. As shown in Figure 2, the following methods can also be used to avoid setting failure.
步骤S121,所述控制芯片生成第一字符串。Step S121: The control chip generates a first character string.
控制芯片可以生成一串随机字符作为第一字符串,例如,可以生成“11111……”一字符串,即控制芯片在智能终端与窗帘控制设备通信连接期间,持续的向窗帘控制设备发送字符“1”。The control chip can generate a string of random characters as the first string. For example, a string of "11111 ..." can be generated, that is, the control chip continuously sends characters to the curtain control device during the communication connection between the smart terminal and the curtain control device. 1".
步骤S122,所述第二通信单元在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元。In step S122, the second communication unit sends the first character string to the first communication unit at a preset period during communication with the first communication unit.
第二通信单元可以以预设周期或者持续的向第一通信单元传输控制芯片生成的第一字符串。第一字符串作为智能终端与窗帘控制设备之间通信连接正常的标识,在设定最高上升高度或最低下降高度的过程中,且没有确定已经设定成功前,如果预定时长内第一通信单元没有接收到第一字符串,表明智能终端与窗帘控制设备之间的通信连接出现了异常,此时即可控制正在动作的驱动电机停止运转,以避免异常情况发生。The second communication unit may transmit the first character string generated by the control chip to the first communication unit in a preset period or continuously. The first character string is used as an identifier for the normal communication connection between the smart terminal and the curtain control device. During the process of setting the highest ascent or the lowest ascent, and without determining that the setting has been successfully set, if the first communication unit is within a predetermined time If the first string is not received, it indicates that there is an abnormality in the communication connection between the smart terminal and the curtain control device. At this time, the driving motor that is in motion can be controlled to stop running to avoid the abnormal situation.
步骤S123,所述处理器接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息。In step S123, after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction, the processor generates limit success information.
在处理器接收到限位指令后,即可将限位指令中包含的高度信息进行处理。用户在进行限位指令的输入时,可以连续输入两个高度值,两个高度值不同,其中高度值较大的数值会被认定为最高上升高度,高度值较小的数值被认定为最低下降高度。在设定成功后,处理器可以生成限位成功信息。After the processor receives the limit instruction, it can process the height information contained in the limit instruction. When inputting the limit command, the user can continuously input two height values, and the two height values are different. The value with a larger height value is regarded as the highest ascending height, and the value with a smaller height value is regarded as the lowest fall. height. After the setting is successful, the processor can generate a limit success message.
步骤S124,所述第一通信单元将所述限位成功信息发送至所述第二通信单元。In step S124, the first communication unit sends the limit success information to the second communication unit.
步骤S125,所述控制芯片通过所述第二通信单元接收到所述限位成功信息后,停 止生成所述第一字符串。In step S125, the control chip stops generating the first character string after receiving the limit success information through the second communication unit.
在限位成功后,控制芯片接收到处理器发送的限位成功信息,即可停止生成第一字符串,结束设定流程。After the limit is successful, the control chip can stop generating the first character string after receiving the limit success message sent by the processor, and the setting process ends.
步骤S103,所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。Step S103, the second communication unit sends the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling of the curtain according to the limit instruction. height.
在智能终端与窗帘控制设备通信过程中,当所述第二通信单元和第一通信单元通信连接断开,所述处理器确定是否接收到所述限位指令;所述处理器确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。During the communication between the smart terminal and the curtain control device, when the communication connection between the second communication unit and the first communication unit is disconnected, the processor determines whether the limit instruction is received; the processor determines whether the received limit instruction is received. When the limit instruction is incomplete, the processor controls the driving motor to stop running.
在通信终端的情况下,限位设定流程中止。在用户下一次使用智能终端建立与窗帘控制设备的通信连接后,都需要先确定限位设定是否成功,如果上一次限位设定没有成功,则重新进行限位设定。In the case of a communication terminal, the limit setting process is aborted. After the user uses the smart terminal to establish a communication connection with the curtain control device next time, it is necessary to first determine whether the limit setting is successful, and if the previous limit setting is not successful, perform the limit setting again.
可以理解的是,智能终端与窗帘控制设备之间的通信连接可能是人为中止的,也可能是由于网络出现了故障等等。所述第二通信单元在与第一通信单元通信过程中,当所述输入单元接收到断开指令时,所述第二通信单元断开与所述第一通信单元的通信连接;所述处理器控制所述驱动电机停止运转。只要窗帘控制设备没有生成设定成功信息,就表明设定流程没有完成。It can be understood that the communication connection between the smart terminal and the curtain control device may be artificially suspended, or it may be due to a network failure or the like. When the second communication unit is communicating with the first communication unit, when the input unit receives a disconnection instruction, the second communication unit disconnects the communication connection with the first communication unit; the processing The controller controls the driving motor to stop running. As long as the curtain control device does not generate a setting success message, it indicates that the setting process has not been completed.
详细的,可以通过以下子步骤进行设定。In detail, it can be set by the following sub-steps.
子步骤S131,所述输入单元接收持续上升指令或持续下降指令。Sub-step S131, the input unit receives a continuous rising instruction or a continuous falling instruction.
用户通过输入单元输入持续上升指令或者持续下降指令。可以理解的是,窗帘的最高上升高度要高于最低下降高度。智能终端上可以配置或显示有上升按钮、下降按钮,在上升按钮被按压时,生成持续上升指令,在下降按钮被按压时,生成持续下降指令。在上升按钮或下降按钮从被按压状态被释放时,智能终端生成停止指令。The user inputs a continuous rising instruction or a continuous falling instruction through the input unit. Understandably, the highest rising height of the curtain is higher than the lowest falling height. The smart terminal can be configured or displayed with a rising button and a falling button. When the rising button is pressed, a continuous rising instruction is generated, and when the falling button is pressed, a continuous falling instruction is generated. When the up button or down button is released from the pressed state, the smart terminal generates a stop instruction.
子步骤S132,所述第二通信单元将所述持续上升指令或持续下降指令发送至所述第一通信单元。Sub-step S132, the second communication unit sends the continuous rising instruction or continuous falling instruction to the first communication unit.
智能终端可以将相关指令发送至窗帘控制设备。The smart terminal can send relevant instructions to the curtain control device.
子步骤S133,所述处理器根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下降。Sub-step S133, the processor controls the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor controls the driving motor to continuously cause the curtain according to the continuous falling instruction decline.
窗帘控制系统中的处理器即可控制驱动电机运转。驱动电机可以驱动窗帘进行相应的动作。The processor in the curtain control system can control the driving motor to run. The driving motor can drive the curtain to perform corresponding actions.
子步骤S134,所述输入单元接收停止指令;Sub-step S134, the input unit receives a stop instruction;
在智能终端上的上升按钮或下降按钮从被按压到被释放的瞬间,表明用户不希望 窗帘再继续上升或再继续下降,输入单元此时接口生成停止指令。At the moment when the up button or down button on the smart terminal is pressed to released, it indicates that the user does not want the curtain to continue to rise or continue to fall, and the input unit generates a stop instruction at this time.
子步骤S135,所述第二通信单元将所述停止指令发送至所述第一通信单元。Sub-step S135, the second communication unit sends the stop instruction to the first communication unit.
子步骤S136,所述处理器根据所述停止指令,确定所述窗帘的当前状态。In sub-step S136, the processor determines the current state of the curtain according to the stop instruction.
子步骤S137,当所述窗帘为持续上升时,将当前高度设定为最高上升高度;Sub-step S137, when the curtain is continuously rising, setting the current height to the highest rising height;
子步骤S138,当所述窗帘为持续下降时,将当前高度设定为最低下降高度。In step S138, when the curtain is continuously lowered, the current height is set as the lowest lowered height.
窗帘控制设备在接收到停止指令后,即可根据接收到停止指令的时间点,进行限位高度的设定。在窗帘为持续上升时,将当前高度设定为最高上升高度。在窗帘为持续下降时,将当前高度设定为最低下降高度。After receiving the stop instruction, the curtain control device can set the limit height according to the time point when the stop instruction is received. When the curtain is continuously rising, the current height is set to the highest rising height. When the curtain is continuously lowered, the current height is set to the lowest lowered height.
在另一种具体实施方式中,所述第二通信单元建立与所述第一通信单元的通信连接的步骤之后,如图3所示,该方法还包括以下步骤。In another specific implementation manner, as shown in FIG. 3, after the step of establishing a communication connection with the first communication unit by the second communication unit, the method further includes the following steps.
步骤S104,所述处理器确定是否设定了限位高度。In step S104, the processor determines whether a limit height is set.
在智能终端与窗帘控制设备通信连接后,都需要先确定是否进行过了限位高度的设定流程,如果没有进行过限位高度的设定,或者在上一次设定过程中出现了通信中断等异常情况,而没有成功进行限位高度的设定,都需要重新进行限位高度的设定。而如果已经进行了限位高度的设定,则无需进入到高度设定流程。After the intelligent terminal communicates with the curtain control device, it is necessary to first determine whether the limit height setting process has been performed. If the limit height setting has not been performed, or a communication interruption occurred during the previous setting process If there is an abnormal situation, but the limit height is not set successfully, the limit height needs to be set again. If you have already set the limit height, you do not need to enter the height setting process.
步骤S105,当所述处理器确定没有设定限位高度时,所述处理器通过所述第一通信单元向所述第二通信单元发送设定指令。In step S105, when the processor determines that the limit height is not set, the processor sends a setting instruction to the second communication unit through the first communication unit.
步骤S106,所述控制芯片通过所述第二通信单元接收到所述设定指令时,生成提示指令,以提示所述智能终端设定所述限位高度。In step S106, when the control chip receives the setting instruction through the second communication unit, it generates a prompting instruction to prompt the smart terminal to set the limit height.
在确定智能终端没有对窗帘控制设备的限位高度进行设定后,控制芯片可以控制智能终端显示限位流程页面,提示用户通过操作智能终端而进入到限位高度的设定流程。After determining that the smart terminal has not set the limit height of the curtain control device, the control chip can control the smart terminal to display the limit flow page, prompting the user to enter the limit height setting process by operating the smart terminal.
在所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度的步骤之后,如图4所示,该方法还包括以下步骤。Sending the limit instruction to the first communication unit at the second communication unit, so that the processor determines, according to the limit instruction, the maximum height of the curtain and / or the minimum height of the curtain After the steps, as shown in FIG. 4, the method further includes the following steps.
步骤S107,所述输入单元接收外部输入的上升或下降指令。In step S107, the input unit receives a rising or falling instruction input from the outside.
步骤S108,所述第二通信单元将所述上升或下降指令发送至所述第一通信单元。In step S108, the second communication unit sends the rising or falling instruction to the first communication unit.
步骤S109,所述处理器根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降。In step S109, the processor controls the driving motor to cause the curtain to rise or fall according to the rising or falling instruction.
步骤S110,所述处理器确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。In step S110, when the processor determines that the curtain is raised to the highest rising height, or when it is determined that the curtain is lowered to the lowest falling height, the processor controls the driving motor to stop running.
如上所述,设定最高上升高度和最低下降高度的过程可以通过两种方法实现。上 面描述了通过直接给定两个高度值进行最高上升高度和最低下降高度的设定。还可以在智能终端与窗帘控制设备通信连接过程中,用户通过智能终端的输入单元输入上升或下降指令,在停止输入后,智能终端生成停止指令,窗帘控制设备即在停止指令生成时设定限位高度。As described above, the process of setting the highest ascent and the lowest ascent can be achieved by two methods. The above describes the setting of the highest ascent and the lowest descent by directly giving two height values. In addition, during the communication connection between the smart terminal and the curtain control device, the user inputs a rising or falling instruction through the input unit of the smart terminal. After the input is stopped, the smart terminal generates a stop instruction, and the curtain control device sets a limit when the stop instruction is generated. Bit height.
在实际使用过程中,用户可以通过智能终端控制窗帘上升或下降,处理器根据接收到的控制指令控制驱动电机持续运转,驱动电机驱动窗帘持续上升或持续下降,在窗帘持续上升或下降的过程中,处理器可以根据预先确定的驱动电机的运行高度与窗帘的当前高度的对应关系,确定窗帘的当前高度,在窗帘上升到通过上述设定方法设定的最高上升高度时,或者下降到通过上述设定方法设定的最低下降高度时,即可控制驱动电机停止运转。In actual use, the user can control the curtain to rise or fall through the intelligent terminal. The processor controls the driving motor to continue to run according to the received control instructions. The drive motor drives the curtain to continue to rise or fall. During the curtain's continuous rise or fall, The processor may determine the current height of the curtain according to the corresponding relationship between the predetermined running height of the driving motor and the current height of the curtain, and when the curtain rises to the highest rising height set by the above setting method, or drops to the above When the minimum descent height set by the setting method, the drive motor can be controlled to stop running.
综上所述,本公开提供的窗帘控制方法可以对窗帘的最高上升高度或最低下降高度进行设定,通过智能终端实现对窗帘的限位高度的设定,可以避免窗帘在运行过程中超过限位高度而损坏驱动电机的情况。通过智能终端实现对窗帘的控制,控制逻辑清晰,控制效率高。In summary, the curtain control method provided by the present disclosure can set the highest rising height or the lowest falling height of the curtain, and the limit height of the curtain can be set through the intelligent terminal, which can prevent the curtain from exceeding the limit during operation. The height of the motor and damage the drive motor. The intelligent terminal is used to control the curtains with clear control logic and high control efficiency.
本公开提供了一种窗帘控制装置,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯片,其中:The present disclosure provides a curtain control device, which is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. The control instruction sent by the intelligent terminal controls the movement of the curtain. The curtain control device includes a processor, a first communication unit, and a driving motor. The intelligent terminal includes a second communication unit, an input unit, and a control chip, where:
所述第二通信单元配置成建立与所述第一通信单元的通信连接;The second communication unit is configured to establish a communication connection with the first communication unit;
在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元配置成接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度;During the communication connection between the second communication unit and the first communication unit, the input unit is configured to receive a limit instruction for the curtain controller, and the limit instruction includes a maximum rising height of the curtain and / Or the lowest descent height;
所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。The second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction. .
进一步地,当所述第二通信单元和第一通信单元通信连接断开,所述处理器配置成确定是否接收到所述限位指令;Further, when the communication connection between the second communication unit and the first communication unit is disconnected, the processor is configured to determine whether the limit instruction is received;
所述处理器配置成确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。When the processor is configured to determine that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
进一步地,在所述第二通信单元和第一通信单元通信连接过程中,所述控制芯片配置成生成第一字符串;Further, during the communication connection between the second communication unit and the first communication unit, the control chip is configured to generate a first character string;
所述第二通信单元配置成在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元;The second communication unit is configured to send the first character string to the first communication unit at a preset period during communication with the first communication unit;
所述处理器配置成接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息;The processor is configured to generate a limit success message after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction;
所述第一通信单元配置成将所述限位成功信息发送至所述第二通信单元;The first communication unit is configured to send the limit success information to the second communication unit;
所述控制芯片配置成通过所述第二通信单元接收到所述限位成功信息后,停止生成所述第一字符串。The control chip is configured to stop generating the first character string after receiving the limit success information through the second communication unit.
进一步地,所述第二通信单元在与第一通信单元通信过程中,当所述输入单元接收到断开指令时,所述第二通信单元配置成断开与所述第一通信单元的通信连接;Further, during the communication process between the second communication unit and the first communication unit, when the input unit receives a disconnection instruction, the second communication unit is configured to disconnect the communication with the first communication unit. connection;
所述处理器配置成控制所述驱动电机停止运转。The processor is configured to control the drive motor to stop running.
进一步地,所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度包括:Further, the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / or according to the limit instruction. The minimum descent altitude includes:
所述输入单元配置成接收持续上升指令或持续下降指令;The input unit is configured to receive a continuous rising instruction or a continuous falling instruction;
所述第二通信单元配置成将所述持续上升指令或持续下降指令发送至所述第一通信单元;The second communication unit is configured to send the continuous rising instruction or the continuous falling instruction to the first communication unit;
所述处理器配置成根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下降;The processor is configured to control the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor is to control the driving motor to continuously lower the curtain according to the continuous falling instruction;
所述输入单元配置成接收停止指令;The input unit is configured to receive a stop instruction;
所述第二通信单元配置成将所述停止指令发送至所述第一通信单元;The second communication unit is configured to send the stop instruction to the first communication unit;
所述处理器配置成根据所述停止指令,确定所述窗帘的当前状态;The processor is configured to determine a current state of the curtain according to the stop instruction;
当所述窗帘为持续上升时,将当前高度设定为最高上升高度;When the curtain is continuously rising, setting the current height to the highest rising height;
当所述窗帘为持续下降时,将当前高度设定为最低下降高度。When the curtain is continuously lowered, the current height is set as the lowest lowered height.
进一步地,所述第二通信单元配置成建立与所述第一通信单元的通信连接之后,所述处理器配置成确定是否设定了限位高度;Further, after the second communication unit is configured to establish a communication connection with the first communication unit, the processor is configured to determine whether a limit height is set;
当所述处理器配置成确定没有设定限位高度时,所述处理器配置成通过所述第一通信单元向所述第二通信单元发送设定指令;When the processor is configured to determine that the limit height is not set, the processor is configured to send a setting instruction to the second communication unit through the first communication unit;
所述控制芯片配置成通过所述第二通信单元接收到所述设定指令时,配置成生成提示指令,以提示所述智能终端设定所述限位高度。When the control chip is configured to receive the setting instruction through the second communication unit, the control chip is configured to generate a prompting instruction to prompt the smart terminal to set the limit height.
进一步地,在所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度之后,所述输入单元配置成接收外部输入的上升或下降指令;Further, the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height of the curtain and / Or after the lowest descent height, the input unit is configured to receive an externally input ascent or descent instruction;
所述第二通信单元配置成将所述上升或下降指令发送至所述第一通信单元;The second communication unit is configured to send the rising or falling instruction to the first communication unit;
所述处理器配置成根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降;The processor is configured to control the driving motor to cause the curtain to rise or fall according to the rising or falling instruction;
所述处理器配置成确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。The processor is configured to determine that the curtain is raised to the highest raised height, or when the curtain is lowered to the lowest raised height, the processor controls the driving motor to stop running.
本公开还提供了一种电子终端,包括:The present disclosure also provides an electronic terminal including:
存储器;Memory
处理器;processor;
第二方面所述的窗帘控制装置,该窗帘控制装置存储于所述存储器并由所述处理器控制执行。The curtain control device according to the second aspect, which is stored in the memory and controlled and executed by the processor.
本公开还提供了一种可读存储介质,其上存储有计算机程序,所述计算机程序在执行时实现上述第一方面所述的窗帘控制方法。The present disclosure also provides a readable storage medium having stored thereon a computer program that, when executed, implements the shade control method according to the first aspect.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may also be implemented in other ways. The device embodiments described above are only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functions, and functions of devices, methods, and computer program products according to various embodiments of the present disclosure. operating. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more components for implementing a specified logical function Executable instructions. It should also be noted that in some alternative implementations, the functions marked in the blocks may also occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or action. , Or it can be implemented with a combination of dedicated hardware and computer instructions.
另外,在本公开各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, the functional modules in the various embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些 要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present disclosure is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in various embodiments of the present disclosure. The foregoing storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes . It should be noted that in this article, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order among them. Moreover, the terms "including", "comprising", or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also those that are not explicitly listed Or other elements inherent to such a process, method, article, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, article, or equipment that includes the elements.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above are only preferred embodiments of the present disclosure, and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modification, equivalent replacement, or improvement made within the spirit and principle of this disclosure shall be included in the protection scope of this disclosure. It should be noted that similar reference numerals and letters indicate similar items in the following drawings, so once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the scope of protection of the present disclosure is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this disclosure. It should be covered by the protection scope of this disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
工业实用性Industrial applicability
本公开提供了一种窗帘控制方法、装置、电子设备及可读存储介质。通过智能终端实现对窗帘的控制,控制逻辑清晰,控制效率更高。The present disclosure provides a method, an apparatus, an electronic device, and a readable storage medium for controlling a curtain. The intelligent curtain is used to control the curtains with clear control logic and higher control efficiency.

Claims (16)

  1. 一种窗帘控制方法,其特征在于,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯片,所述方法包括:A curtain control method, which is characterized in that it is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. A control instruction sent by an intelligent terminal controls curtain movement. The curtain control device includes a processor, a first communication unit, and a driving motor. The intelligent terminal includes a second communication unit, an input unit, and a control chip. The method includes:
    所述第二通信单元建立与所述第一通信单元的通信连接;Establishing, by the second communication unit, a communication connection with the first communication unit;
    在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度;During the communication connection between the second communication unit and the first communication unit, the input unit receives a limit instruction for the curtain controller, and the limit instruction includes a maximum ascent height and / or a minimum of the curtain Descent height
    所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。The second communication unit sends the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction.
  2. 根据权利要求1所述的窗帘控制方法,其特征在于,该方法还包括:The method for controlling curtains according to claim 1, further comprising:
    当所述第二通信单元和第一通信单元通信连接断开,所述处理器确定是否接收到所述限位指令;When the communication connection between the second communication unit and the first communication unit is disconnected, the processor determines whether the limit instruction is received;
    所述处理器确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。When the processor determines that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
  3. 根据权利要求1所述的窗帘控制方法,其特征在于,在所述第二通信单元和第一通信单元通信连接过程中,所述窗帘控制方法还包括:The curtain control method according to claim 1, wherein, during the communication connection between the second communication unit and the first communication unit, the curtain control method further comprises:
    所述控制芯片生成第一字符串;The control chip generates a first character string;
    所述第二通信单元在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元;During the communication with the first communication unit, the second communication unit sends the first character string to the first communication unit at a preset period;
    所述处理器接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息;After the processor receives the limit instruction and determines the highest rising height and / or the lowest falling height corresponding to the limit instruction, generating a limit success message;
    所述第一通信单元将所述限位成功信息发送至所述第二通信单元;Sending, by the first communication unit, the position success information to the second communication unit;
    所述控制芯片通过所述第二通信单元接收到所述限位成功信息后,停止生成所述第一字符串。After the control chip receives the limit success information through the second communication unit, it stops generating the first character string.
  4. 根据权利要求1所述的窗帘控制方法,其特征在于,所述第二通信单元在与第一通信单元通信过程中,所述窗帘控制方法还包括:The curtain control method according to claim 1, wherein, in the process of the second communication unit communicating with the first communication unit, the curtain control method further comprises:
    当所述输入单元接收到断开指令时,所述第二通信单元断开与所述第一通信单元的通信连接;When the input unit receives the disconnection instruction, the second communication unit disconnects the communication connection with the first communication unit;
    所述处理器控制所述驱动电机停止运转。The processor controls the driving motor to stop running.
  5. 根据权利要求1至4任意一项所述的窗帘控制方法,其特征在于,所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度的步骤包括:The curtain control method according to any one of claims 1 to 4, wherein the second communication unit sends the limit instruction to the first communication unit, so that the processor is configured according to the The limit instruction, and the step of determining the highest rising height and / or the lowest falling height of the curtain includes:
    所述输入单元接收持续上升指令或持续下降指令;The input unit receives a continuous rising instruction or a continuous falling instruction;
    所述第二通信单元将所述持续上升指令或持续下降指令发送至所述第一通信单元;Sending, by the second communication unit, the continuous rising instruction or the continuous falling instruction to the first communication unit;
    所述处理器根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下降;The processor controls the driving motor to continuously raise the curtain according to the continuous rising instruction; or the processor controls the driving motor to continuously lower the curtain according to the continuous falling instruction;
    所述输入单元接收停止指令;The input unit receives a stop instruction;
    所述第二通信单元将所述停止指令发送至所述第一通信单元;Sending, by the second communication unit, the stop instruction to the first communication unit;
    所述处理器根据所述停止指令,确定所述窗帘的当前状态;Determining, by the processor, the current state of the curtain according to the stop instruction;
    当所述窗帘为持续上升时,将当前高度设定为最高上升高度;When the curtain is continuously rising, setting the current height to the highest rising height;
    当所述窗帘为持续下降时,将当前高度设定为最低下降高度。When the curtain is continuously lowered, the current height is set as the lowest lowered height.
  6. 根据权利要求1至4任意一项所述的窗帘控制方法,其特征在于,所述第二通信单元建立与所述第一通信单元的通信连接的步骤之后,该方法还包括:The curtain control method according to any one of claims 1 to 4, wherein after the step of establishing a communication connection with the first communication unit by the second communication unit, the method further comprises:
    所述处理器确定是否设定了限位高度;The processor determines whether a limit height is set;
    当所述处理器确定没有设定限位高度时,所述处理器通过所述第一通信单元向所述第二通信单元发送设定指令;When the processor determines that the limit height is not set, the processor sends a setting instruction to the second communication unit through the first communication unit;
    所述控制芯片通过所述第二通信单元接收到所述设定指令时,生成提示指令,以提示所述智能终端设定所述限位高度。When the control chip receives the setting instruction through the second communication unit, it generates a prompting instruction to prompt the smart terminal to set the limit height.
  7. 根据权利要求1所述的窗帘控制方法,其特征在于,在所述第二通信单元将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度的步骤之后,该方法还包括:The method for controlling curtains according to claim 1, wherein the second communication unit sends the limit instruction to the first communication unit, so that the processor is based on the limit instruction, After the step of determining the highest ascent and / or the lowest ascent of the curtain, the method further includes:
    所述输入单元接收外部输入的上升或下降指令;The input unit receives a rising or falling instruction from an external input;
    所述第二通信单元将所述上升或下降指令发送至所述第一通信单元;Sending, by the second communication unit, the rising or falling instruction to the first communication unit;
    所述处理器根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降;The processor controls the driving motor to cause the curtain to rise or fall according to the rising or falling instruction;
    所述处理器确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。When the processor determines that the window covering is raised to the highest rising height, or when it is determined that the window covering is lowered to the lowest falling height, the processor controls the driving motor to stop running.
  8. 一种窗帘控制装置,其特征在于,应用于窗帘控制系统,所述窗帘控制系统包括窗帘控制设备和智能终端,所述智能终端与窗帘控制设备通信连接,所述窗帘控制设备用于根据所述智能终端发送的控制指令控制窗帘运动,所述窗帘控制设备包括处理器、第一通信单元及驱动电机,所述智能终端包括第二通信单元、输入单元和控制芯 片,其中:A curtain control device, which is characterized in that it is applied to a curtain control system. The curtain control system includes a curtain control device and a smart terminal. The smart terminal is communicatively connected with the curtain control device. The control instruction sent by the intelligent terminal controls the movement of the curtain. The curtain control device includes a processor, a first communication unit, and a driving motor. The intelligent terminal includes a second communication unit, an input unit, and a control chip, where:
    所述第二通信单元配置成建立与所述第一通信单元的通信连接;The second communication unit is configured to establish a communication connection with the first communication unit;
    在所述第二通信单元和第一通信单元通信连接过程中,所述输入单元配置成接收针对所述窗帘控制器的限位指令,所述限位指令包括所述窗帘的最高上升高度和/或最低下降高度;During the communication connection between the second communication unit and the first communication unit, the input unit is configured to receive a limit instruction for the curtain controller, and the limit instruction includes a maximum rising height of the curtain and / Or the lowest descent height;
    所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度。The second communication unit is configured to send the limit instruction to the first communication unit, so that the processor determines the highest rising height and / or the lowest falling height of the curtain according to the limit instruction. .
  9. 根据权利要求8所述的窗帘控制装置,其特征在于,当所述第二通信单元和第一通信单元通信连接断开,所述处理器配置成确定是否接收到所述限位指令;The curtain control device according to claim 8, wherein when the communication connection between the second communication unit and the first communication unit is disconnected, the processor is configured to determine whether the limit instruction is received;
    所述处理器配置成确定接收到的限位指令不完整时,所述处理器控制所述驱动电机停止运转。When the processor is configured to determine that the received limit instruction is incomplete, the processor controls the driving motor to stop running.
  10. 根据权利要求8所述的窗帘控制装置,其特征在于,在所述第二通信单元和第一通信单元通信连接过程中,所述控制芯片配置成生成第一字符串;The curtain control device according to claim 8, wherein during the communication connection between the second communication unit and the first communication unit, the control chip is configured to generate a first character string;
    所述第二通信单元配置成在与第一通信单元通信过程中,以预设周期将所述第一字符串发送至所述第一通信单元;The second communication unit is configured to send the first character string to the first communication unit at a preset period during communication with the first communication unit;
    所述处理器配置成接收到所述限位指令并确定所述限位指令对应的最高上升高度和/或最低下降高度后,生成限位成功信息;The processor is configured to generate a limit success message after receiving the limit instruction and determining the highest rising height and / or the lowest falling height corresponding to the limit instruction;
    所述第一通信单元配置成将所述限位成功信息发送至所述第二通信单元;The first communication unit is configured to send the limit success information to the second communication unit;
    所述控制芯片配置成通过所述第二通信单元接收到所述限位成功信息后,停止生成所述第一字符串。The control chip is configured to stop generating the first character string after receiving the limit success information through the second communication unit.
  11. 根据权利要求8所述的窗帘控制装置,其特征在于,所述第二通信单元在与第一通信单元通信过程中,当所述输入单元接收到断开指令时,所述第二通信单元配置成断开与所述第一通信单元的通信连接;The curtain control device according to claim 8, wherein when the second communication unit is in communication with the first communication unit, when the input unit receives a disconnection instruction, the second communication unit is configured To disconnect the communication connection with the first communication unit;
    所述处理器配置成控制所述驱动电机停止运转。The processor is configured to control the drive motor to stop running.
  12. 根据权利要求8至11任意一项所述的窗帘控制装置,其特征在于,所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度包括:The curtain control device according to any one of claims 8 to 11, wherein the second communication unit is configured to send the limit instruction to the first communication unit, so that the processor is based on The limit instruction, determining the highest rising height and / or the lowest falling height of the curtain includes:
    所述输入单元配置成接收持续上升指令或持续下降指令;The input unit is configured to receive a continuous rising instruction or a continuous falling instruction;
    所述第二通信单元配置成将所述持续上升指令或持续下降指令发送至所述第一通信单元;The second communication unit is configured to send the continuous rising instruction or the continuous falling instruction to the first communication unit;
    所述处理器配置成根据所述持续上升指令,控制所述驱动电机使所述窗帘持续上升;或者,所述处理器根据所述持续下降指令,控制所述驱动电机使所述窗帘持续下 降;The processor is configured to control the driving motor to continuously raise the curtain according to the continuous rising instruction; or, the processor controls the driving motor to continuously lower the curtain according to the continuous falling instruction;
    所述输入单元配置成接收停止指令;The input unit is configured to receive a stop instruction;
    所述第二通信单元配置成将所述停止指令发送至所述第一通信单元;The second communication unit is configured to send the stop instruction to the first communication unit;
    所述处理器配置成根据所述停止指令,确定所述窗帘的当前状态;The processor is configured to determine a current state of the curtain according to the stop instruction;
    当所述窗帘为持续上升时,将当前高度设定为最高上升高度;When the curtain is continuously rising, setting the current height to the highest rising height;
    当所述窗帘为持续下降时,将当前高度设定为最低下降高度。When the curtain is continuously lowered, the current height is set as the lowest lowered height.
  13. 根据权利要求8至12任意一项所述的窗帘控制装置,其特征在于,所述第二通信单元配置成建立与所述第一通信单元的通信连接之后,所述处理器配置成确定是否设定了限位高度;The curtain control device according to any one of claims 8 to 12, wherein after the second communication unit is configured to establish a communication connection with the first communication unit, the processor is configured to determine whether to set Fixed limit height;
    当所述处理器配置成确定没有设定限位高度时,所述处理器配置成通过所述第一通信单元向所述第二通信单元发送设定指令;When the processor is configured to determine that the limit height is not set, the processor is configured to send a setting instruction to the second communication unit through the first communication unit;
    所述控制芯片配置成通过所述第二通信单元接收到所述设定指令时,配置成生成提示指令,以提示所述智能终端设定所述限位高度。When the control chip is configured to receive the setting instruction through the second communication unit, the control chip is configured to generate a prompting instruction to prompt the smart terminal to set the limit height.
  14. 根据权利要求8所述的窗帘控制装置,其特征在于,在所述第二通信单元配置成将所述限位指令发送至所述第一通信单元,以使所述处理器根据所述限位指令,确定所述窗帘的最高上升高度和/或最低下降高度之后,所述输入单元配置成接收外部输入的上升或下降指令;The curtain control device according to claim 8, characterized in that the second communication unit is configured to send the limit command to the first communication unit, so that the processor is configured according to the limit An instruction, after determining the highest rising height and / or the lowest falling height of the curtain, the input unit is configured to receive an externally input rising or falling instruction;
    所述第二通信单元配置成将所述上升或下降指令发送至所述第一通信单元;The second communication unit is configured to send the rising or falling instruction to the first communication unit;
    所述处理器配置成根据所述上升或下降指令,控制所述驱动电机使所述窗帘上升或下降;The processor is configured to control the driving motor to cause the curtain to rise or fall according to the rising or falling instruction;
    所述处理器配置成确定所述窗帘上升至所述最高上升高度,或者确定所述窗帘下降至所述最低下降高度时,所述处理器控制所述驱动电机停止运转。The processor is configured to determine that the curtain is raised to the highest raised height, or when the curtain is lowered to the lowest raised height, the processor controls the driving motor to stop running.
  15. 一种电子终端,其特征在于,包括:An electronic terminal, comprising:
    存储器;Memory
    处理器;processor;
    权利要求8-14任一项所述的窗帘控制装置,该窗帘控制装置存储于所述存储器并由所述处理器控制执行。The curtain control device according to any one of claims 8 to 14, which is stored in the memory and controlled and executed by the processor.
  16. 一种可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序在执行时实现上述权利要求1-7中任意一项所述的窗帘控制方法。A readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed, implements the method for controlling a window covering according to any one of claims 1-7.
PCT/CN2018/089159 2018-05-31 2018-05-31 Curtain control method and device, electronic terminal and readable storage medium WO2019227367A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/089159 WO2019227367A1 (en) 2018-05-31 2018-05-31 Curtain control method and device, electronic terminal and readable storage medium
CN201880000615.0A CN110892127B (en) 2018-05-31 2018-05-31 Curtain control method and device, electronic terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/089159 WO2019227367A1 (en) 2018-05-31 2018-05-31 Curtain control method and device, electronic terminal and readable storage medium

Publications (1)

Publication Number Publication Date
WO2019227367A1 true WO2019227367A1 (en) 2019-12-05

Family

ID=68696790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089159 WO2019227367A1 (en) 2018-05-31 2018-05-31 Curtain control method and device, electronic terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN110892127B (en)
WO (1) WO2019227367A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070056697A1 (en) * 2005-09-13 2007-03-15 Yin-Wen Chen Electrically driven curtain assembly
CN201181884Y (en) * 2007-11-07 2009-01-14 王金友 Electronic tubular electric motor
CN101592958A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 A kind of control method of curtain opening
CN101692182A (en) * 2008-05-30 2010-04-07 当代天启技术(北京)有限公司 Curtain opening control device
CN102619456A (en) * 2012-03-28 2012-08-01 陈培洛 Touch electric curtain control system
CN202619300U (en) * 2012-06-26 2012-12-26 王欣 Novel intelligent curtain
CN104265147A (en) * 2014-09-16 2015-01-07 宁波先锋新材料股份有限公司 Electric sunshade curtain and control method thereof
CN106357167A (en) * 2016-09-13 2017-01-25 武汉百络优物联科技有限公司 Curtain motor control system
CN106923638A (en) * 2017-05-04 2017-07-07 深圳市茁壮网络股份有限公司 The control method and system of a kind of intelligent curtain
CN206399392U (en) * 2016-09-08 2017-08-11 环球智达科技(北京)有限公司 A kind of self-operated measuring unit of intelligent curtain rail length

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202215138U (en) * 2011-07-21 2012-05-09 宁波杜亚机电技术有限公司 Control device with touch screen
KR20140050190A (en) * 2012-10-18 2014-04-29 삼성물산 주식회사 Blind simulation system, method thereof and saving device having that method
CN106285443B (en) * 2016-08-19 2018-01-09 宁波杜亚机电技术有限公司 Electric rolling control method based on intelligent terminal APP

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070056697A1 (en) * 2005-09-13 2007-03-15 Yin-Wen Chen Electrically driven curtain assembly
CN201181884Y (en) * 2007-11-07 2009-01-14 王金友 Electronic tubular electric motor
CN101592958A (en) * 2008-05-30 2009-12-02 当代天启技术(北京)有限公司 A kind of control method of curtain opening
CN101692182A (en) * 2008-05-30 2010-04-07 当代天启技术(北京)有限公司 Curtain opening control device
CN102619456A (en) * 2012-03-28 2012-08-01 陈培洛 Touch electric curtain control system
CN202619300U (en) * 2012-06-26 2012-12-26 王欣 Novel intelligent curtain
CN104265147A (en) * 2014-09-16 2015-01-07 宁波先锋新材料股份有限公司 Electric sunshade curtain and control method thereof
CN206399392U (en) * 2016-09-08 2017-08-11 环球智达科技(北京)有限公司 A kind of self-operated measuring unit of intelligent curtain rail length
CN106357167A (en) * 2016-09-13 2017-01-25 武汉百络优物联科技有限公司 Curtain motor control system
CN106923638A (en) * 2017-05-04 2017-07-07 深圳市茁壮网络股份有限公司 The control method and system of a kind of intelligent curtain

Also Published As

Publication number Publication date
CN110892127A (en) 2020-03-17
CN110892127B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US20200244085A1 (en) Quick charging method, power adapter and mobile terminal
US9787120B2 (en) Usb charger, mobile terminal and charging method thereof
JP2019502145A5 (en)
WO2017117730A1 (en) Rapid charging method, mobile terminal and adapter
CN106155869A (en) The running background control method of terminal applies and device thereof
CN106966245B (en) elevator maintenance system
US20030212768A1 (en) System and method for centralizing and synchronizing network configuration data
CN111988162B (en) Method and device for managing port configuration mode
WO2019227367A1 (en) Curtain control method and device, electronic terminal and readable storage medium
TW201924185A (en) System and method for wireless power transmission and communication
CN112526892A (en) Method and device for controlling intelligent household equipment and electronic equipment
TWI517518B (en) Method for communicating electronic apparatus with adaptor via specific communicaiton interface to adjust operation behavior of adaptor, electronic apparatus, and corresponding adaptor
CN114342553A (en) Power supply apparatus, power reception apparatus, and power supply and reception method
US10153916B1 (en) Method and device for controlling a lighting system
CN109313420B (en) Robot system, driver, storage device, and method for switching control modes
EP3239522A1 (en) Apparatus for controlling multiple inverters and inverter system including the same
WO2019227380A1 (en) Curtain control method and curtain control device
JP5765916B2 (en) Power supply device and control method thereof
JP2018107892A (en) Driving device and method for controlling rush prevention circuit
CN107703768A (en) Smart home detecting system and method
CN110661864A (en) Method and system for multi-scene application of displacement sensing alarm
US6552516B2 (en) Regulator system for controlling output voltage and method of controlling the same
US11009835B2 (en) Simplified parameterization of a drive controller
JP2005269475A (en) Device with communication means and its control method
CN104617958A (en) Transducer keyboard identification method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18920227

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18920227

Country of ref document: EP

Kind code of ref document: A1