Intelligent device control method and apparatus, electronic device, and storage medium

By detecting the current and voltage cycle status of smart devices, the system can determine the obstructed state and reverse the movement, thus solving the problem of motor disengagement failure and improving the operating efficiency of the equipment and the user experience.

CN114865987BActive Publication Date: 2026-08-25SHENZHEN LUMIUNITED TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210431046.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2026-08-25
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

When faced with obstruction, the motor of a smart device is prone to disengagement failure, causing the device to jam and become unable to be started manually, resulting in a poor user experience.

Method used

By detecting equipment operating information, such as current status and voltage cycle status, it can be determined whether the equipment is obstructed, and when the equipment stops moving, it can be controlled to move in the opposite direction until the stopping conditions are met to relieve the obstruction.

Benefits of technology

This reduces the probability of motor disengagement failure, avoids clutch jamming, and improves the efficiency of equipment task execution and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114865987B_ABST
    Figure CN114865987B_ABST
Patent Text Reader

Abstract

The application relates to an intelligent device control method and device, an electronic device and a storage medium. The method comprises the following steps: detecting device running information of a current device in a target task execution process; if it is detected based on the device running information that the current device is in a blocked state and the current device stops moving, the current device is controlled to move reversely; and when it is detected that the current device meets a reverse movement stop condition, the current device is controlled to stop moving. The intelligent device control method and device, the electronic device and the storage medium provided by the application can reduce the occurrence probability of motor disengagement failure of the intelligent device, avoid the problem of engagement jamming, and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control, and in particular to an intelligent device control method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the popularization of smart homes, more and more people are choosing to use smart devices. Smart devices (such as smart curtains, industrial machine tools, etc.) can achieve functions such as automatic opening and closing and remote control.

[0003] The motors of smart devices may encounter obstructions during operation. For example, when a smart curtain motor controls the curtain to slide on the track, the curtain fabric will be compressed to a certain extent. The thicker the curtain fabric and the longer the window, the more pronounced this compression will be. Typically, the motor of a smart device will perform a clutch disengagement operation when encountering obstruction. During this disengagement process, the clutch may get stuck, causing disengagement failure. If disengagement fails, the smart device will be stuck in one direction when manually started, resulting in a poor user experience. Summary of the Invention

[0004] The main technical problem addressed by the embodiments of the present invention is how to reduce the probability of clutch disengagement failure in motor equipment, so as to avoid the problem of clutch jamming as much as possible.

[0005] In a first aspect, embodiments of the present invention provide a smart device control method, comprising: detecting device operation information of a current device during the execution of a target task; if the current device is detected to be in an obstructed state and the current device stops moving based on the device operation information, controlling the current device to perform reverse movement; and controlling the current device to stop moving when the current device is detected to meet the reverse movement stop condition.

[0006] Secondly, embodiments of the present invention provide an intelligent device control apparatus, comprising: a detection module for detecting device operation information of the current device during the execution of a target task; a first control module for controlling the current device to reverse movement if the current device is detected to be in an obstructed state and the current device stops moving based on the device operation information; and a second control module for controlling the current device to stop moving when the current device is detected to meet the reverse movement stop condition.

[0007] In some embodiments, the detection module is specifically used to acquire the current state information of the current device during operation; determine the current state of the current device based on the current state information; and determine that the current device is in a blocked state if the current state information changes and continues to increase within a preset time period.

[0008] In this embodiment, during the operation of the motor equipment, the current sampling circuit inside the motor equipment can record the current change trend in real time during the process of the motor equipment being obstructed. When the current continues to increase within a preset time, the process of the current increase is the process of the motor equipment being continuously obstructed. When the current increases to the maximum, the obstruction state corresponding to the current is the most obvious. By detecting the current change trend of the motor equipment, it is beneficial for the intelligent device system to control when to start and stop the motor equipment.

[0009] In some embodiments, the first control module is specifically configured to, if it is detected based on the device operation information that the current device is in an obstructed state and the current device stops moving, trigger a reverse movement start signal based on the current information in the target state, and control the current device to move in the reverse direction based on the reverse movement start signal, wherein the current information in the target state is the current information of the current device in an unobstructed state.

[0010] In some embodiments, the first control module is configured to, when the motor equipment operation information detects that the current continuously increases within a preset time, the current motor equipment is in an obstructed state, and the motor equipment stops moving, use the current value of the motor equipment in an unobstructed state as a trigger signal to start the reverse movement of the motor equipment, and control the motor equipment to perform reverse movement according to the reverse movement start signal.

[0011] In some embodiments, the detection module is further configured to acquire voltage cycle status information of the current device during operation; determine the current state of the device based on the voltage cycle status information; and determine that the current device is in a blocked state if the voltage cycle status information changes and continues to increase within a preset time period.

[0012] In some embodiments, the detection module is further specifically used to collect voltage cycle status information by the Hall sensor inside the motor during operation, and to record the changing trend of the voltage cycle in real time during the process of the motor being obstructed. When the voltage cycle continues to increase within a preset time, the process of the voltage cycle increasing is the process of the motor being continuously obstructed. When the voltage cycle increases to its maximum, the obstruction state corresponding to that voltage cycle is the most obvious. Detecting the changing trend of the voltage cycle through the motor helps the intelligent device system control when to start and stop the motor.

[0013] In some embodiments, the first control module is further configured to, if it is detected based on the device operation information that the current device is in an obstructed state and the current device stops moving, trigger a reverse movement start signal based on the voltage cycle information in the target state, and control the current device to move in the reverse direction based on the reverse movement start signal, wherein the voltage cycle information in the target state is the voltage cycle information of the current device in an unobstructed state.

[0014] In some embodiments, the first control module is further configured to, when the motor equipment operation information detects that the voltage cycle continuously increases within a preset time, the current motor equipment is in an obstructed state, and the motor equipment stops moving, use the voltage cycle value of the motor equipment in an unobstructed state as a trigger signal to start the reverse movement of the motor equipment, and control the motor equipment to perform reverse movement according to the reverse movement start signal.

[0015] Thirdly, embodiments of the present invention provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the intelligent device control method described in various embodiments of the present invention.

[0016] Fourthly, embodiments of the present invention provide a non-volatile computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are executed by an electronic device, the electronic device is able to implement the intelligent device control method described in various embodiments of the present invention.

[0017] Fifthly, embodiments of the present invention provide a computer program product or computer program, the computer program product or computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, it implements the intelligent device control method described in various embodiments of the present invention.

[0018] The advantages of the intelligent device control method, apparatus, electronic device, non-volatile computer-readable storage medium, computer program product, or computer program proposed in this invention, compared with existing technologies, are as follows:

[0019] By detecting the device's operational information during the execution of a target task, if the device is detected to be in an obstructed state and has stopped moving, the device is controlled to reverse its movement. When the reverse movement stops, the device is controlled to stop moving altogether. This method reduces the probability of clutch disengagement failure in smart devices, effectively avoiding clutch jamming and thus significantly improving the efficiency of the device in performing tasks, thereby enhancing the user experience.

[0020] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0021] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0022] Figure 1 This is a schematic diagram of an intelligent control system provided in an embodiment of the present invention;

[0023] Figure 2 This is a flowchart illustrating a smart device control method provided in an embodiment of the present invention;

[0024] Figure 3 This is a schematic diagram illustrating an application scenario of a curtain motor device provided in an embodiment of the present invention;

[0025] Figure 4 This is a schematic diagram illustrating the relationship between current and time in an intelligent device control method provided by an embodiment of the present invention;

[0026] Figure 5 This is a schematic diagram illustrating the relationship between voltage period and time in an intelligent device control method provided by an embodiment of the present invention;

[0027] Figure 6 This is a schematic diagram of the structure of an intelligent device control device provided in an embodiment of the present invention;

[0028] Figure 7 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0030] It should be noted that, unless otherwise specified, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different module division or in a different order than that shown in the device schematic diagram or the flowchart.

[0031] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0032] The intelligent device control method provided by this invention can be applied to, for example... Figure 1 The application environment shown. Among them, Figure 1 An intelligent control system is provided, which includes an intelligent device 11, a gateway 12, a router 13, a server 14, and a terminal 15 that are communicatively connected to the intelligent device 11. The intelligent device 11 may be a curtain motor or a motor with a sliding function, etc., and is not limited thereto.

[0033] The smart device 11 connects to the gateway 12 in the smart control system and communicates with the gateway 12 through its own configured communication module, thereby being controlled by the gateway 12. In one embodiment, the smart device 11 connects to the gateway 2 via a local area network, thus being deployed in the gateway 12. The local area network may include ZigBee or Bluetooth.

[0034] Gateway 12 establishes a network connection with terminal 15 or server 14 through a router. In one embodiment, gateway 12 and terminal 15 can establish a network connection via a wide area network path such as 2G / 3G / 4G / 5G or WIFI. Through this network connection, gateway 12 interacts with terminal 15, enabling users to control smart devices 11 connected to gateway 12 to perform corresponding actions.

[0035] The terminal 15 can be a desktop computer, laptop computer, tablet computer, smartphone, smart control panel, or other network-connected electronic device, and is not limited thereto. The server 14 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0036] Specifically, when the smart device 11 is running, the system detects the operating information of the smart device 11 during the execution of the target task sent by the terminal 15. The operating information of the smart device 11 may be current status information, voltage cycle status information, or other indicator operating information. When the operating information of the smart device 11 detects that the current smart device 11 is in an obstructed state and the current smart device 11 stops moving, the smart device 11 receives a start signal and controls the current smart device 11 to perform reverse movement. When the system detects that the current smart device 11 meets the reverse movement stop condition, the reverse movement stop condition may be a specified duration, a specified voltage cycle, or other specified stop condition, the system controls the current smart device 11 to stop moving.

[0037] Specifically, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0038] This invention provides a smart device control method for the aforementioned environment. This method can be executed by an electronic device, such as a curtain motor, a motor with sliding, rotating, or moving functions, etc. Please refer to [link to relevant documentation]. Figure 2 The method specifically includes the following steps:

[0039] Step S1: Detect the device operation information during the execution of the target task.

[0040] The current device is a motor device with certain self-response, adjustment, and control functions. It can be understood that the electronic device executing the intelligent device control method of this embodiment can be considered the current device.

[0041] The target task refers to the work task that the current equipment can handle during operation, specifically the task of driving electronic devices to work. For example, taking a curtain motor as an example, the target task of the curtain motor can include tasks such as driving the curtains to open and close; taking a machine tool motor as an example, the target task of the machine tool motor can include tasks such as driving the machine tool to start or stop.

[0042] It is understood that equipment operation information can reflect the current state of the equipment. This information can include current status information, voltage cycle status information, or other indicator operation information. The current state of the equipment can be determined based on the current status information and the voltage cycle status information to control the equipment to start or stop.

[0043] Step S2: If the current device is detected to be in an obstructed state and the current device stops moving based on the device operation information, control the current device to move in the opposite direction.

[0044] The electronic device may include a motor for driving the electronic device to move.

[0045] Common obstruction states in electronic devices can be reflected in the device's operating information. For example, this could be a sustained increase in current or a sustained increase in voltage over a period of time.

[0046] The reverse motion of the current device can be controlled by moving the motor in the current device in the opposite direction to the current motion direction. Specifically, it can include situations such as rotating shaft reversal, reverse movement, and reverse sliding.

[0047] If the device detects through its operating information that the current is continuously increasing or the voltage is continuously increasing over a period of time, it indicates that the motor is obstructed and the device stops moving. If the device receives a start signal, it will immediately control the motor to move in the opposite direction.

[0048] Step S3: When the current device is detected to meet the reverse motion stop condition, control the current device to stop moving.

[0049] The reverse motion stop condition of the current device needs to be determined based on the current status information, voltage cycle status information, or other indicator operation information of the device operation information. In general, the reverse motion stop condition is an empirical value, which is determined by the control system of the current device.

[0050] When the current device detects that the device operation information meets the reverse motion stop condition, it immediately sends a stop signal to the motor of the current device to control the motor to stop moving, thereby enabling the motor of the current device to fully relieve the obstructed state.

[0051] In some embodiments, the device operation information includes current state information, and detecting the device operation information during the execution of the target task includes: acquiring the current state information of the current device during operation. The above-mentioned detection of the current device being in an obstructed state based on the device operation information specifically includes: determining the current state of the device based on the current state information; if the current state information changes and continues to increase within a preset time period, then it is determined that the current device is in an obstructed state.

[0052] During operation, the current sampling circuit within the device records the current change trend in real time during periods of obstruction. When the current continuously increases within a preset time, this increase represents a period of continuous obstruction. The obstruction is most pronounced when the current reaches its maximum. Detecting the current change trend allows the intelligent device system to promptly start and stop the device.

[0053] In some embodiments, controlling the current device to reverse its movement when the device operation information detects that the current device is in an obstructed state and the current device has stopped moving includes:

[0054] If the device is detected to be in an obstructed state based on the device operation information and the device stops moving, a reverse movement start signal is triggered based on the current information in the target state. The reverse movement start signal then controls the device to move in the reverse direction. The current information in the target state is the current information of the device when it is in an unobstructed state.

[0055] If the device detects a continuous increase in current within a preset time based on its operating information, it indicates that the device is in an obstructed state. If the device has already stopped moving, the current value of the device in an unobstructed state is used as a start signal to trigger the device to reverse its movement. This reverse movement start signal controls the device's motor to reverse. This allows for timely and precise relief of the obstructed state.

[0056] In some embodiments, the device operation information further includes voltage cycle status information, and detecting the device operation information during the execution of the target task includes: acquiring the voltage cycle status information of the current device during operation. The above-mentioned detection of the current device being in a blocked state based on the device operation information specifically includes: determining the current state of the device based on the voltage cycle status information; if the voltage cycle status information changes and continues to increase within a preset time period, then it is determined that the current device is in a blocked state.

[0057] During operation, the device can collect voltage cycle status information through sensors within the device, such as Hall effect sensors, and record the voltage cycle change trend in real time during periods of obstruction. When the voltage cycle continuously increases within a preset time, this increase indicates a period of continuous obstruction for the device. The obstruction is most pronounced when the voltage cycle reaches its maximum. Detecting the voltage cycle change trend helps the intelligent device system control when to start and stop the device.

[0058] In some embodiments, controlling the current device to reverse movement when it is detected that the current device is in an obstructed state and the current device stops moving based on the device operation information specifically includes: if it is detected that the current device is in an obstructed state and the current device stops moving based on the device operation information, then triggering a reverse movement start signal based on the voltage cycle information in the target state, and controlling the current device to reverse movement based on the reverse movement start signal, wherein the voltage cycle information in the target state is the voltage cycle information of the current device in an unobstructed state.

[0059] The current device operation information detects that the voltage cycle continuously increases within a preset time, indicating that the current device is in an obstructed state and the motor of the current device has stopped moving. The voltage cycle value when the current device is in an unobstructed state is used as a signal to trigger the motor of the current device to reverse. The reverse movement is controlled to reverse based on the reverse movement start signal.

[0060] In some embodiments, detecting that the current device meets the reverse movement stop condition includes: the reverse movement stop condition includes a first stop condition and / or a second stop condition; the first stop condition is a specified duration corresponding to the current device performing reverse movement; the second stop condition is a specified voltage cycle corresponding to the current device performing reverse movement.

[0061] The stopping condition for the current device can be a specified duration corresponding to the motor of the current device performing reverse motion. Alternatively, it can be a specified voltage cycle corresponding to the motor of the current device performing reverse motion. Typically, the reverse motion stopping condition is an empirical value that can be determined by the intelligent device control system.

[0062] The following example uses a curtain motor as an example, combined with... Figure 3 , Figure 3 This document provides a schematic diagram illustrating an application scenario for an intelligent curtain motor device. The device includes a motor, a curtain track, and a trolley. The curtain track supports the curtain fabric, and the motor drives the trolley to control the movement of the curtain. Figure 3As shown, A and B are the curtain rails of the curtain motor device, O is the midpoint of the curtain rails, C and D are the points where the curtain is obstructed, and C1 and D1 are the final stopping positions of the curtain motor device's trolleys. Taking the target task of controlling the curtain to be fully open as an example, the operating information of the curtain motor device is monitored in real time during the execution of the target task. When the curtain motor device receives the full-open command, the left and right trolleys of the curtain motor device will drive the curtain from point O to points A and B respectively. When passing points C and D, the curtain begins to be obstructed, and the trolleys of the curtain motor device cannot continue to move due to the obstruction and stop. The operating information of the curtain motor device will change during this period. For example, if the current of the curtain motor device continuously increases or the voltage periodically increases for a period of time, and the trolleys of the curtain motor device stop moving, at this time, a start signal is given to the curtain motor device to control the motor to move in the opposite direction. The motor of the curtain motor device then drives the trolleys to move the curtain back towards point O. Specifically, it can be that the trolleys are driven to slide in the opposite direction. When the reverse motion stop condition is met, a stop signal is applied to the curtain motor to control the motor to stop moving. At this time, the trolley stops at points C1 and D1, the obstruction of the curtain motor is fully relieved, and the curtain reaches a naturally relaxed state, thus effectively avoiding the phenomenon of clutch failure due to obstruction of the curtain motor.

[0063] Figure 4 This is a schematic diagram illustrating the relationship between current and time in a smart device control method provided by an embodiment of the present invention. Please refer to it. Figure 4 I represents the current value recorded by the curtain motor, and t represents time. (Also refer to...) Figure 3 When the trolley of the curtain motor moves from point O to points C and D, due to inertia, it will continue to move towards points A and B, causing the curtain fabric to compress. This obstructs the curtain motor. The current sampling circuit within the curtain motor records the current change trend in real time during this obstruction process. The current in the curtain motor rises from I1 to I2, and this process lasts for a duration T before the trolley stops. Simultaneously, the motor in the curtain motor stops moving, and the current reaches its maximum point I2. At this point, the control system of the curtain motor applies a start signal to the motor. This start signal includes the current value in the unobstructed state, controlling the motor to reverse its movement and maintain the current value at I1. After running for T+t1, a stop signal is applied to the motor. Here, t1 is an empirical value obtained through multiple experiments and stored in the intelligent curtain motor system. As a result, the trolley of the curtain motor will eventually stop at C1 and D1. At this point, the curtain fabric has been fully released from its compressed state, and the curtain motor becomes unobstructed, thus fully relieving the obstructed state of the curtain motor.

[0064] Figure 5 This is a schematic diagram illustrating the relationship between voltage period and time in an intelligent device control method provided by an embodiment of the present invention. Please refer to it. Figure 5 S represents the position of the curtain, n represents the number of voltage cycles, t represents time, and Vτ represents the voltage of the motor.

[0065] Where t0 = t1 = t2 = t3 = t4, t 11 >t 10 >t9>t8>t7>t6>t5>t4, N equals 7.

[0066] Simultaneously refer to Figure 3 The curtain motor also includes a Hall sensor. When the trolley of the curtain motor moves from point O to points C and D, due to inertia, it will continue to move towards points A and B, causing the curtain fabric to compress. The curtain motor is then obstructed, and the algorithm within the motor records the changes in the voltage cycle collected by the Hall sensor during this compression process. When the curtain motor is obstructed, the voltage cycle increases from t4 onwards, and the number N of voltage cycle changes during this time period is recorded. This process continues for N voltage cycles until it stops. Subsequently, when the trolley moves the curtain fabric in the opposite direction towards point O, the control system of the curtain motor applies a start signal to the motor, controlling it to move in the opposite direction and maintaining the voltage cycle at t0, while simultaneously recording the number of Hall sensor voltage cycles. After N+n voltage cycles, a stop signal is applied to the motor. Here, n is an empirical value that can be obtained through multiple experiments and stored in the curtain motor. Finally, the trolley will stop at points C1 and D1, at which point the curtain fabric has fully released its compression state, and the curtain motor is in an unobstructed state.

[0067] The intelligent device control method provided in this invention can reduce the probability of motor disengagement failure in intelligent devices, avoid clutch jamming, and improve user experience.

[0068] Figure 6 This is a schematic diagram of the structure of an intelligent device control device provided in an embodiment of the present invention. Please refer to it. Figure 6 The intelligent device control device 100 in this embodiment includes a detection module 101, a first control module 102, and a second control module 103.

[0069] The detection module 101 is used to detect the device operation information during the execution of the target task.

[0070] The first control module 102 is used to control the current device to reverse its movement if it is detected that the current device is in an obstructed state and the current device stops moving based on the device operation information.

[0071] The second control module 103 is used to control the current device to stop moving when it is detected that the current device meets the reverse motion stop condition.

[0072] In some embodiments, the detection module detects the device operation information of the current device during the execution of a target task. The device is an electric device with certain self-response, adjustment, and control functions. The operation information of the electric device can reflect the state of the electric device. The indicators of the electric device operation information can be current state information, voltage cycle state information, or other indicator operation information. The current state of the electric device is determined based on the current state information and the voltage cycle state information to control the device to start or stop. The first control module is used to control the current device to reverse its movement if it detects that the current device is in an obstructed state and the current device has stopped moving based on the device operation information. The electric device detects the current device's state within a certain period of time through the device operation information. If the current or voltage cycle of the device is continuously increasing, it indicates that the motor is in a state of obstruction and the current motor device stops moving. At this time, the motor device receives a start signal and controls the motor device to move in the reverse direction. The second control module is used to control the current device to stop moving when it detects that the current device meets the reverse movement stop condition. The reverse movement stop condition of the motor device needs to be determined based on the current state information, voltage cycle information, or other indicator operation information of the device operation information. In general, the reverse movement stop condition is an empirical value determined by the intelligent device system. When the motor device detects that the device operation information meets the reverse movement stop condition, it sends a stop signal to the motor device to control the motor to stop.

[0073] In some embodiments, the detection module 101 is specifically used to acquire the current state information of the current device during operation; determine the current state of the current device based on the current state information; and determine that the current device is in a blocked state if the current state information changes and continues to increase within a preset time period.

[0074] In some embodiments, the first control module 102 is specifically configured to, if it is detected that the current device is in an obstructed state based on the device operation information and the current device stops moving, trigger a reverse movement start signal based on the current information in the target state, and control the current device to move in the reverse direction based on the reverse movement start signal, wherein the current information in the target state is the current information of the current device in an unobstructed state.

[0075] In some embodiments, the first control module 102 is configured to, when the motor equipment operation information detects that the current continuously increases within a preset time, the current motor equipment is in an obstructed state, and the motor equipment stops moving, use the current value of the motor equipment in an unobstructed state as a trigger signal to start the reverse movement of the motor equipment, and control the motor equipment to perform reverse movement according to the reverse movement start signal.

[0076] In some embodiments, the detection module 101 is further specifically used to acquire voltage cycle status information of the current device during operation; determine the current state of the device based on the voltage cycle status information; and determine that the current device is in a blocked state if the voltage cycle status information changes and continues to increase within a preset time period.

[0077] In some embodiments, the detection module 101 is further specifically used to collect voltage cycle status information by the Hall sensor inside the motor during operation, and to record the change trend of the voltage cycle in real time during the process of the motor being obstructed. When the voltage cycle continues to increase within a preset time, the process of the voltage cycle increasing is the process of the motor being continuously obstructed. When the voltage cycle increases to its maximum, the obstruction state corresponding to that voltage cycle is the most obvious. By detecting the change trend of the voltage cycle through the motor, it is beneficial for the intelligent device system to control when to start and stop the motor.

[0078] In some embodiments, the first control module 102 is further configured to, if the current device is detected to be in an obstructed state based on the device operation information and the current device stops moving, trigger a reverse movement start signal based on the voltage cycle information in the target state, and control the current device to move in the reverse direction based on the reverse movement start signal, wherein the voltage cycle information in the target state is the voltage cycle information of the current device in an unobstructed state.

[0079] In some embodiments, the first control module 102 is further configured to, when the motor equipment operation information detects that the voltage cycle continuously increases within a preset time, the current motor equipment is in an obstructed state, and the motor equipment stops moving, use the voltage cycle value of the motor equipment in an unobstructed state as a trigger signal to start the reverse movement of the motor equipment, and control the motor equipment to perform reverse movement according to the reverse movement start signal.

[0080] In some embodiments, detecting that the current device meets the reverse movement stop condition includes: the reverse movement stop condition includes a first stop condition and / or a second stop condition; the first stop condition is a specified duration corresponding to the current device performing reverse movement; the second stop condition is a specified voltage cycle corresponding to the current device performing reverse movement.

[0081] In some embodiments, the current device includes a curtain motor device; the target task includes instructing the current device to move in order to control the curtain loaded by the curtain motor device to move; the obstructed state includes the curtain being in a compressed state, and the second control module 103 is further specifically used to control the current device to stop moving and control the curtain to stop moving at the current position when it is detected that the current device meets the reverse movement stop condition, so as to release the compressed state of the curtain.

[0082] It should be noted that the above-mentioned intelligent device control device can execute the intelligent device control method provided in the embodiments of the present invention, and has the corresponding functional modules and beneficial effects of the method. Technical details not described in detail in the embodiments of the intelligent device control device can be found in the intelligent device control method provided in the embodiments of the present invention.

[0083] Figure 7 Please refer to the schematic diagram of an electronic device provided in an embodiment of the present invention. Figure 7 The electronic device 200 includes: at least one processor 201; and a memory 202 communicatively connected to said at least one processor 201. Figure 7 Taking a processor 201 as an example, the memory 202 stores instructions executable by the at least one processor 201. These instructions are executed by the at least one processor 201 to enable the at least one processor 201 to perform the aforementioned intelligent device control method. The processor 201 and the memory 202 can be connected via a bus or other means. Figure 7 Taking the example of a connection between China and Israel via a bus.

[0084] The memory 202, as a readable storage medium, can be used to store software programs, executable programs, and modules, such as the program instructions / modules corresponding to the intelligent device control method in this embodiment of the invention, for example, as shown in the attached... Figure 6 The various modules shown. The processor 201 executes various server functions and data processing by running software programs, instructions, and modules stored in the memory 202, thereby implementing the intelligent device control method described in the above embodiments.

[0085] Memory 202 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the intelligent device control device, etc. Memory 202 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 202 may optionally include memory remotely located relative to processor 201, and these remote memories may be connected to the shelf via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0086] The one or more modules are stored in the memory 202, and when executed by the one or more processors 201, they perform the smart device control method in any of the above method embodiments. For example, the above-described... Figure 2 The method and steps to achieve Figure 6 The functions of each module in the program.

[0087] This invention also provides a non-volatile computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are executed by an electronic device, the intelligent device control method described in the above embodiments is implemented. For example, the above-described... Figure 2 The method and steps to achieve Figure 6 The functions of each module in the program.

[0088] In some embodiments, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above-described method embodiments.

[0089] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or of course, using hardware. Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; under the concept of the present invention, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the present invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for controlling an intelligent device, characterized in that, include: Detect the device's operational information during the execution of the target task; The device operation information includes current status information and / or voltage cycle status information; wherein, the current device includes a curtain motor device, and the target task includes instructing the current device to move in order to control the curtain loaded by the curtain motor device to move; If the current state information and / or the voltage cycle state information are detected to continuously increase within a preset time period, it is determined that the current device is in an obstructed state; wherein, the obstructed state includes the curtain being in a squeezed state; If the current device is in an obstructed state and the current device stops moving, a reverse motion start signal is triggered based on the device operation information in the target state, and the current device is controlled to perform reverse motion according to the reverse motion start signal; wherein, the device operation information in the target state is the current state information and / or the voltage cycle state information when the current device is in an unobstructed state; When the current device is detected to meet the reverse motion stop condition, the current device is controlled to stop moving, and the curtain is controlled to stop moving at the current position to release the compressed state of the curtain; wherein, the reverse motion stop condition includes: a specified duration corresponding to the current device performing reverse motion, and / or a specified voltage cycle corresponding to the current device performing reverse motion.

2. The intelligent device control method according to claim 1, characterized in that, The device operation information detected during the execution of the target task includes: Obtain the current status information of the device during operation; The method further includes: The current state of the device is determined based on the current status information; If the current status information changes and continues to increase within a preset time period, it is determined that the current device is in a blocked state.

3. The intelligent device control method according to claim 1, characterized in that, The device operation information detected during the execution of the target task includes: Obtain the voltage cycle status information of the current device during operation; The method further includes: The current state of the device is determined based on the voltage cycle status information; If the voltage cycle status information changes and continues to increase within a preset time, it is determined that the current device is in a blocked state.

4. A smart device control device, characterized in that, include: The detection module is used to detect the device's operating information during the execution of the target task. The first control module is used to control the current device to reverse its movement if it is detected based on the device operation information that the current device is in an obstructed state and the current device has stopped moving. The second control module is used to control the current device to stop moving when it is detected that the current device meets the reverse motion stop condition; The intelligent device control device is used to execute the intelligent device control method as described in any one of claims 1 to 3.

5. An electronic device, characterized in that, include: At least one processor; as well as, A memory that is communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the intelligent device control method according to any one of claims 1 to 3.

6. A non-volatile computer-readable storage medium, characterized in that, The non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by an electronic device, cause the electronic device to perform the intelligent device control method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Control method and device for equipment motion parts and air-conditioner

    CN109737571A

  • Equipment state determination method and device, electronic equipment and storage medium

    CN111208787A