A testing and control method and system for intelligent safety equipment

By identifying and calibrating the motion parameters and trajectory information of the driving components of intelligent safety equipment, the compatibility problem of different types of trajectory information is solved, precise control and testing are achieved, and the reliability of the equipment is improved.

CN114578865BActive Publication Date: 2025-09-26YUNDING NETWORK TECH BEIJING
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210251483.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2025-09-26
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

Existing intelligent safety equipment is not compatible with drive components of different types of trajectory information, resulting in insufficient control technology.

Method used

By determining the motion parameters of the driving component from the initial position to the target position, identifying the trajectory information type, and determining the calibration position based on this, precise control of the driving component is achieved.

Benefits of technology

It realizes the precise testing and control of the driving components of intelligent safety equipment, adapts to different types of trajectory information, and improves the reliability and stability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114578865B_ABST
    Figure CN114578865B_ABST
Patent Text Reader

Abstract

The present application discloses a testing and control method and system for intelligent safety devices. The testing method includes: determining motion parameters of a driving component moving from a first initial position to a second initial position; determining the type of trajectory information between the first initial position and the second initial position based on the motion parameters; determining a second calibration position based on the type of trajectory information; and determining a first calibration position based on the motion parameters and the second calibration position. This testing method can automatically identify the type of trajectory information of the driving component and determine the first calibration position and the second calibration position through testing after the intelligent safety device is installed, thus having good compatibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to testing methods, control methods, control systems, media, processors, and electronic devices for intelligent safety devices. Background Art

[0002] Smart safety devices, a popular product in the intelligent control field, are becoming increasingly popular. However, the driving components of different smart safety devices have different types of trajectory information, and different types of trajectory information may require corresponding control systems.

[0003] Current intelligent safety devices do not have a control technology that is compatible with drive components with different types of trajectory information. Therefore, it is necessary to develop a control technology that can adapt to drive components with different types of trajectory information. Summary of the Invention

[0004] A first aspect of an embodiment of the present application discloses a testing method for an intelligent safety device, the testing method comprising: determining motion parameters of a driven component moving from a first initial position to a second initial position; based on the motion parameters, determining a type of trajectory information between the first initial position and the second initial position; based on the type of the trajectory information, determining a second calibration position; and determining a first calibration position based on the motion parameters and the second calibration position.

[0005] In some embodiments, determining the motion parameter of the driving component moving from the first initial position to the second initial position includes: acquiring the first initial position based on a first initial state of the driving component.

[0006] In some embodiments, determining the motion parameters of the driving component moving from the first initial position to the second initial position includes: controlling the driving component to move in the opposite direction to determine whether the driving component is located at the first detection position; in response to yes, determining that the current first detection position is the first maximum position of the driving component; in response to no, continuing to control the driving component to move in the opposite direction to make the driving component reach the first detection position; controlling the driving component to move to reach the second initial position; and determining the motion parameters based on the displacement data of the driving component moving from the first detection position to the second initial position.

[0007] In some embodiments, determining the type of trajectory information between the first initial position and the second initial position based on the motion parameter includes: determining whether the motion parameter is greater than or equal to a motion parameter threshold; in response to no, determining that the trajectory information is of the first type; and in response to yes, determining that the trajectory information is of the second type.

[0008] In some embodiments, determining the second calibration position based on the type of the trajectory information includes: in response to determining that the trajectory information is of the first type, determining the second initial position as the second calibration position.

[0009] In some embodiments, determining the second calibration position based on the type of the trajectory information includes:

[0010] In response to determining that the trajectory information is of the second type, performing the following operations:

[0011] determining the second initial position as a third calibration position;

[0012] Controlling the driving component to move in the reverse direction for a preset time, and then disengaging and clutching; and

[0013] The second calibration position is determined based on the disengaged position of the drive component.

[0014] In some embodiments, determining the first calibration position based on the motion parameter and the second calibration position includes:

[0015] controlling the driving component to move in a reverse direction from the second calibration position according to the motion parameters;

[0016] determining whether the first maximum position of the driving component has been determined;

[0017] In response to No, do the following:

[0018] controlling the driving component to continue moving in the reverse direction to the first detection position; and

[0019] determining a first maximum position of the driving member based on the first detected position; and

[0020] The first calibration position is determined based on the first maximum position of the driving component and the first detection position.

[0021] In some embodiments, determining the first calibration position based on the first maximum position of the driving component and the first detection position includes: comparing the result of adding a buffer value to the first maximum position of the driving component with the result of subtracting the buffer value from the first detection position; and determining the relatively smaller result as the first calibration position.

[0022] A second aspect of an embodiment of the present application discloses a control method for an intelligent safety device, the control method comprising: obtaining position data of a driving component during movement; judging whether the driving component has reached a first calibration position based on the position data of the driving component and the type of trajectory information; and in response, controlling the driving component to stop moving.

[0023] In some embodiments, determining whether the driving component has reached the first calibration position based on the position data of the driving component and the type of trajectory information includes: determining the displacement of the driving component moving in a preset direction based on the position data of the driving component; determining the motion parameters required for the driving component to move from the second calibration position to the first calibration position based on the type of trajectory information; determining whether the displacement of the driving component moving in the preset direction matches the motion parameters; and in response, determining that the driving component has reached the first calibration position.

[0024] A third aspect of an embodiment of the present application discloses a control method for an intelligent safety device, the control method comprising: obtaining the type of trajectory information and the position data of a driving component during movement; and based on the type of trajectory information and the position data, executing an execution scheme corresponding to the type of trajectory information.

[0025] In some embodiments, the execution plan corresponding to the type of the trajectory information is executed based on the type of the trajectory information and the position data, including: in response to the type of the trajectory information being the first type, executing the first execution plan: based on the position data of the driving component, judging whether the driving component reaches the second calibration position; and in response, controlling the driving component to stop moving.

[0026] In some embodiments, the execution plan corresponding to the type of the trajectory information is executed based on the type of the trajectory information and the position data, including: in response to the type of the trajectory information being the second type, executing the second execution plan: based on the position data of the driving component, judging whether the driving component has reached the third calibration position; in response, controlling the driving component to stop moving; and controlling the driving component to move in the opposite direction for a preset time, so that the driving component moves in the opposite direction to the second calibration position, and then disengages.

[0027] A fourth aspect of an embodiment of the present application discloses a control system for an intelligent safety device, the control system comprising: a motion parameter determination module, configured to determine the motion parameters of the driving component based on the movement of the driving component from a first initial position to a second initial position; a trajectory information type determination module, configured to determine the type of trajectory information based on the motion parameters of the driving component; a second calibration position determination module, configured to determine the second calibration position based on the type of the trajectory information; and a first calibration position determination module, configured to determine the first calibration position based on the motion parameters and the second calibration position.

[0028] The fifth aspect of an embodiment of the present application discloses a control system for an intelligent safety device, the control system comprising: an acquisition module configured to acquire position data of a driving component during movement; a judgment module configured to judge whether the driving component has reached a first calibration position based on the position data of the driving component and the type of trajectory information; and a response module configured to control the driving component to stop moving in response.

[0029] The sixth aspect of an embodiment of the present application discloses a control system for an intelligent safety device, the control system comprising: an acquisition module configured to acquire the type of the trajectory information and the position data of the driving component during the movement; and an execution module configured to execute an execution plan corresponding to the type of the trajectory information based on the type of the trajectory information and the position data.

[0030] The seventh aspect of the embodiments of the present application discloses a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor implements the method disclosed in any one of the embodiments of the first, second, and third aspects mentioned above.

[0031] An eighth aspect of the embodiments of the present application discloses a processor, which is used to run a computer program. When the processor runs the computer program, the processor implements the method disclosed in any one of the embodiments of the first, second, and third aspects mentioned above.

[0032] The ninth aspect of the embodiments of the present application discloses an electronic device, comprising: one or more processors; a memory on which one or more computer programs are stored; when the one or more computer programs are executed by the one or more processors, the one or more processors implement the method disclosed in any one of the embodiments of the first, second, and third aspects mentioned above.

[0033] Some of the above embodiments can implement testing of the driving component of the intelligent safety device by determining the first calibration position and the second calibration position.

[0034] Some of the above embodiments can implement control of driving components of intelligent safety devices according to the type of trajectory information. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 An exemplary module diagram of a control system 100 for smart safety devices according to some embodiments of the present application is shown.

[0036] Figure 2 An exemplary module diagram of a control system 200 for smart safety devices according to some embodiments of the present application is shown.

[0037] Figure 3An exemplary module diagram of a control system 300 for smart safety devices according to some embodiments of the present application is shown.

[0038] Figure 4 An exemplary process 400 of a testing method for a smart security device according to some embodiments of the present application is shown.

[0039] Figure 5 An exemplary process 500 for determining motion parameters in some embodiments of the present application is shown.

[0040] Figure 6 An exemplary process 600 for determining a second calibration position in some embodiments of the present application is shown.

[0041] Figure 7 An exemplary process 700 for determining a first calibration position in some embodiments of the present application is shown.

[0042] Figure 8 An exemplary process 800 of another control method for a smart safety device according to some embodiments of the present application is shown.

[0043] Figure 9 An exemplary process 900 for determining whether a driving component reaches a first calibration position in some embodiments of the present application is shown.

[0044] Figure 10 An exemplary process 1000 of another control method for a smart safety device according to some embodiments of the present application is shown.

[0045] Figure 11 An exemplary process 1100 of causing a driving component to reach a second calibration position according to the type of trajectory information in some embodiments of the present application is shown. DETAILED DESCRIPTION

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, without paying creative work, the present application can also be applied to other similar scenarios based on these drawings. It should be understood that these exemplary embodiments are provided only to enable technicians in the relevant fields to better understand and implement the present application, and are not intended to limit the scope of the present application in any way. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0047] As used in this application and the claims, unless the context clearly indicates otherwise, the terms "a," "an," "an," and / or "the" are not intended to refer to the singular and may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list; the method or apparatus may also include additional steps or elements. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment."

[0048] In different implementation scenarios, smart security devices can manifest as smart locks, smart doors, smart windows, smart control valves, smart switches, and so on. Therefore, the driving components of smart security devices can have different motion modes and corresponding trajectory information. After the smart security device is installed, it is necessary to first identify the type of trajectory information of the driving component and test and calibrate the corresponding positions of the driving component during the motion process before normal use.

[0049] Therefore, some embodiments of this specification provide a testing method, a control method, a control system, a computer-readable storage medium, a processor, and an electronic device for an intelligent safety device, which are described in detail below.

[0050] Figure 1 An exemplary module diagram of a control system 100 for smart safety devices according to some embodiments of the present application is shown.

[0051] In some embodiments, the control system 100 may include a motion parameter determination module 110 , a trajectory information type determination module 120 , a second calibration position determination module 130 , and a first calibration position determination module 140 .

[0052] The motion parameter determination module 110 may be configured to determine the motion parameter of the driving component based on the driving component moving from the first initial position to the second initial position.

[0053] The trajectory information type determination module 120 may be configured to determine the type of trajectory information based on the motion parameters of the driving component.

[0054] The second calibration position determining module 130 may be configured to determine the second calibration position based on the type of trajectory information.

[0055] The first calibration position determining module 140 may be configured to determine the first calibration position based on the motion parameter and the second calibration position.

[0056] Figure 2 An exemplary module diagram of a control system 200 for smart safety devices according to some embodiments of the present application is shown.

[0057] In some embodiments, the control system 200 may include an acquisition module 210 , a determination module 220 , and a response module 230 .

[0058] The acquisition module 210 may be configured to acquire position data of the driving component during the control process.

[0059] The determination module 220 may be configured to determine whether the driving component has reached the first calibration position based on the position data of the driving component and the type of the trajectory information.

[0060] The response module 230 may be configured to control the driving component to stop moving in response to the driving component reaching the first calibration position.

[0061] Figure 3 An exemplary module diagram of a control system 300 for smart safety devices according to some embodiments of the present application is shown.

[0062] In some embodiments, the control system 300 may include an acquisition module 310 and an execution module 320 .

[0063] The acquisition module 310 may be configured to acquire the type of trajectory information and the position data of the driving component during the control process.

[0064] The execution module 320 may be configured to execute an execution solution corresponding to the type of the trajectory information based on the type of the trajectory information and the position data.

[0065] Figure 4 An exemplary process 400 of a testing method for a smart security device according to some embodiments of the present application is shown.

[0066] After the intelligent safety device is installed, each component may have installation or manufacturing errors. Furthermore, the driver component may not yet have determined the type of trajectory information or a corresponding execution plan. Therefore, before formal use, the type of trajectory information of the driver component needs to be identified, and corresponding positions, such as the first calibration position and the second calibration position, need to be tested and calibrated. Process 400 can be used to identify the type of trajectory information of the driver component, as well as to test and calibrate the first calibration position and the second calibration position.

[0067] In some embodiments, the smart security device may include a processor and a memory for storing instructions. When the processor executes the instructions in the memory, the smart security device may implement process 400. In some embodiments, the processor and the memory for storing instructions may be independent of the smart security device, and the processor and the smart security device may communicate via a wireless network or a data cable.

[0068] In some embodiments, the smart security device may include an input device, such as a keyboard, an image acquisition device, a voice acquisition device, etc. The smart security device may collect user input information (such as test, lock, unlock instructions, etc.) or information about the user (such as facial information, voice, etc.) through the input device, and then execute the corresponding test method or control method.

[0069] In some embodiments, the smart security device can wirelessly communicate with a terminal (e.g., a smartphone, tablet, laptop, desktop, etc.) via a processor and a wireless network. The smart security device can receive user instructions from the terminal and then execute the corresponding test method or control method.

[0070] In step 410 , a motion parameter of the driving component moving from the first initial position to the second initial position may be determined. In some embodiments, step 410 may be performed by the motion parameter determination module 110 .

[0071] A drive component is a component used to provide power to enable intelligent security devices (e.g., smart locks, smart doors, smart windows, smart control valves, smart switches, etc.) to perform testing, control, and other actions (e.g., calibration, locking, unlocking, etc.). In some embodiments, the drive component can be a component that outputs power in the form of rotation, such as a motor. In some embodiments, the drive component can be a handle or knob. In other alternative embodiments, the drive component can be a component that outputs power in the form of linear displacement, such as a pneumatic cylinder or hydraulic cylinder.

[0072] The first initial position refers to the position of the driving component after the intelligent security device is locked. In some embodiments, the current of the driving component in the first initial position can be detected. In some embodiments, the position of the driving component can be detected using a sensor (e.g., an infrared sensor, a pressure sensor, a Hall effect sensor, etc.).

[0073] The second initial position refers to the position of the driving component after the intelligent security device is unlocked. In some embodiments, the intelligent security device being unlocked may mean that the intelligent security device is in a state where the door can be opened by operating the handle. In other embodiments, the intelligent security device being unlocked may mean that the intelligent security device is in a state where the door can be opened by directly pushing the door.

[0074] There are many ways to detect whether the driving component has reached the second initial position. In some embodiments, when the driving component is a motor, the second initial position can be determined by detecting whether the motor is stalled. For example, the motor's current output can be detected to determine whether it has reached the second initial position. That is, the motor's output current is compared with a preset current threshold. If the motor's output current is greater than or equal to the preset current threshold, the motor is determined to have reached the second initial position. This preset current threshold can be a reasonably estimated value or a stall peak value. In some embodiments, the motor's arrival at the second initial position can be determined by an increasing trend in the motor's output current. In some embodiments, the movement range can be obtained by triggering a switch, and the driving component's arrival at the second initial position can be determined based on the movement range. For example, a switch can be set at the second initial position. When the driving component moves to the second initial position, the switch will be triggered, thereby determining whether the driving component has reached the second initial position. In some embodiments, the status can be obtained by setting a sensor, such as a Hall sensor, at the second initial position. When the driving component reaches the second initial position, an induction signal is obtained from the sensor, thereby determining whether the driving component has reached the second initial position.

[0075] The motion parameter refers to the displacement of the driving component when it moves from one position to another. In some embodiments, the motion parameter may refer to the number of revolutions made by the motor during the rotation process. In other alternative embodiments, the motion parameter may refer to the displacement of the linear moving component moving in a set direction. In some embodiments, the motion parameter may be expressed as a natural number, such as 1, 2, 3, ..., etc. In some embodiments, the motion parameter may be expressed as a fraction, such as 1 / 4, 5 / 2, ..., etc. In some embodiments, the motion parameter may be expressed as a decimal, such as 0.25, 2.5, ..., etc. In other alternative embodiments, the motion parameter may be the angle that the driving component (such as a knob or handle) rotates from the first initial position to the second initial position during the unlocking process, such as 90°, 360°, 900°, ..., etc. For the specific process of determining the motion parameter, please refer to the Figure 5 The description content is not repeated here.

[0076] In step 420 , the type of trajectory information between the first initial position and the second initial position may be determined based on the motion parameters of the driving component. In some embodiments, step 420 may be performed by the trajectory information type determination module 120 .

[0077] In some embodiments, the trajectory information of the driving component of a smart security device (e.g., a smart lock, smart door, smart window, smart control valve, smart switch, etc.) can be of at least two types. First, during the unlocking process, the driving component of the smart security device can rotate the corresponding lock body according to the first trajectory information to a certain angle, thereby directly reaching a second initial position, thereby completing the unlocking process. This second initial position is the second initial position from which a user can directly open the door (e.g., push or pull the door). Second, during the unlocking process, the driving component of the smart security device can rotate the corresponding lock body according to the second trajectory information to a certain angle, thereby directly reaching a second initial position. However, this position is not the second calibration position (for the definition of the second calibration position, see the description of step 430 below), but rather the third calibration position, i.e., the position of the driving component when the driving component drives the auxiliary lock tongue out of the lock slot. The driving component is then controlled to move in the opposite direction for a preset time (e.g., 3 seconds) and then disengaged, causing the auxiliary lock tongue to be in a released state. When in the released state, the auxiliary lock tongue automatically ejects and extends into the lock slot. The second calibration position is then determined based on the position of the disengaged driving component. In some embodiments, the third calibration position may be the position of the driving assembly of the intelligent security device when the driving assembly drives the auxiliary lock tongue to partially exit the lock slot. In some embodiments, the third calibration position may be the position of the driving assembly of the intelligent security device when the driving assembly drives the auxiliary lock tongue to completely exit the lock slot.

[0078] In other alternative embodiments, the type of trajectory information may include a third type of trajectory: during the unlocking process, the driving component of the intelligent security device outputs a linear motion according to the third type of trajectory and directly drives the adapted lock body to undergo a linear displacement to reach a second initial position, and the second initial position is the position of the driving component when the door can be opened directly.

[0079] For the specific process of determining the type of trajectory information, please refer to Figure 6 The description content is not repeated here.

[0080] In step 430 , a second calibration position may be determined based on the type of trajectory information. In some embodiments, step 430 may be performed by the second calibration position determination module 130 .

[0081] The second calibration position may be the position of the driving component after the smart security device is calibrated and determined to be unlocked. In some embodiments, the completion of unlocking by the smart security device may mean that the smart security device is in a state where the door can be opened by operating the handle (for example, turning the handle). In other embodiments, the completion of unlocking by the smart security device may mean that the smart security device is in a state where the door can be opened by directly pushing or pulling the door. For the specific process of determining the second calibration position, please refer to the Figure 6 The description content is not repeated here.

[0082] In step 440 , a first calibration position may be determined based on the motion parameters and the second calibration position. In some embodiments, step 440 may be performed by first calibration position determination module 140 .

[0083] In some embodiments, the first calibration position may be the last position that the driving component can reach during the locking process after calibration of the intelligent security device. The “movement” and “reverse movement” mentioned in various places in this specification and claims are in opposite directions, that is, in some embodiments, the movement direction of the driving component in the reverse direction starting from the second initial position is in opposite directions to the movement direction of the driving component from the first initial position to the second initial position during the unlocking process in step 110. Those skilled in the art should also understand that in other embodiments, it can also be described as the driving component moving from the second initial position to the first initial position according to the motion parameters, and the driving component moving in the opposite direction from the first initial position to the second initial position. In some embodiments, after determining the first calibration position, the driving component can be controlled to disengage to facilitate the user to operate the door handle or knob to manually open the door. For the specific process of determining the first calibration position, please refer to the description of Figure 7 The description content is not repeated here.

[0084] Figure 5 An exemplary process 500 for determining motion parameters in some embodiments of the present application is shown. Process 500 is used to cause a driving component to rotate according to the motion parameters during an unlocking process from a first initial position to a second initial position. In some embodiments, process 500 can be executed by motion parameter determination module 110.

[0085] In step 510 , a first initial position may be acquired based on a first initial state of the driving component.

[0086] In some embodiments, the first initial state may be the state of the driving component after the smart security device is completely locked. In some embodiments, the user can manually lock the smart security device after closing the door. In some alternative embodiments, the first initial state may also be the state of the driving component after the smart security device is completely locked by the driving component. In some embodiments, completely locked may refer to a state in which the lock tongue of the lock body is at its maximum extended length. In other embodiments, the completely locked state may refer to a state in which the lock tongue and the auxiliary lock tongue of the lock body are both at their maximum extended lengths. In some embodiments, after the smart security device is completely locked, a sensor may be used to collect a position signal of the lock tongue or a pressure signal on the end of the lock tongue, and then the processor may determine that the smart security device is in the first initial state. In some embodiments, the sensor may be a pressure sensor, an infrared sensor, or other sensor, or any combination thereof.

[0087] In step 520 , the driving component may be controlled to move in the reverse direction to determine whether the driving component is located at the first detection position.

[0088] The first detection position refers to a preset position where the driving component is located after the intelligent security device completes locking.

[0089] In some embodiments, the first detection position may refer to the position where the driving component moves in the opposite direction to the movement direction during the locking process until it can no longer move. At this position, the intelligent security device can detect the position of the driving component.

[0090] In some embodiments, whether a driving component (e.g., a motor) is in the first detection position is determined by whether it can continue to rotate in the opposite direction from the first initial position. If the driving component cannot rotate in the opposite direction, the driving component is determined to be in the first detection position; if the driving component can rotate in the opposite direction, the driving component is determined to be not in the first detection position. In some embodiments, a stalled driving component can be determined by sampling the maximum current value of the motor current serving as the driving component. The maximum current value can be a preset current value or a range of current values. When the sampled current value matches (e.g., is equal to) the preset current value or is within a preset current value range, the driving component is determined to be stalled. In some embodiments, the duration that the sampled current value matches (e.g., is equal to) the preset current value or is within a preset current value range can also be taken into account when determining whether the driving component is stalled. For example, if the sampled current remains within the preset current value range for 0.5 seconds, the driving component is determined to be stalled.

[0091] In step 530 , in response to the above, the current first detection position may be determined to be the first maximum position of the driving component.

[0092] The first maximum position of the driving component refers to the maximum position that the driving component can reach when moving in the reverse direction during the locking process. In some embodiments, the driving component cannot continue to move in the reverse direction after reaching the first maximum position. In some embodiments, in response to the driving component being in the first detection position, i.e., cannot continue to move in the reverse direction, the first detection position currently located by the driving component is determined as the first maximum position of the driving component.

[0093] In step 540 , the response may be no, that is, the driving component is not located at the first detection position and can continue to move in the reverse direction, then the driving component is continued to be controlled to move in the reverse direction so that the driving component reaches the first detection position.

[0094] Ideally, the drive component will not be able to continue to move in the reverse direction in the first initial position. The reason why the drive component may continue to move in the reverse direction in the first initial position is that the transmission between the drive component and the lock body may have some manual installation errors and does not meet the designed standard state.

[0095] In step 550 , the driving component may be controlled to move to a second initial position.

[0096] In step 560 , a motion parameter may be determined based on the displacement data of the driving component moving from the first detection position to the second initial position.

[0097] In some embodiments, the motion parameter may include the number of rotations of the driving component (eg, a motor) from the first detection position to the second initial position.

[0098] In some embodiments, the motion parameter may include a rotation angle of a driving component (eg, a knob, a handle) from a first detection position to a second initial position.

[0099] In some embodiments, the motion parameter may include a displacement of a driving component (eg, a linear motion component) from a first detection position to a second initial position.

[0100] Despite Figure 5 Although the steps of process 500 are described in a particular order in this application, this does not require or imply that the steps must be performed in that particular order, or that all steps must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps. For example, in some embodiments, only one of step 530 or step 540 needs to be performed.

[0101] Figure 6 An exemplary process 600 for determining a second calibration position in some embodiments of the present application is shown. Process 600 can be used to determine the second calibration position based on the type of trajectory information. In some embodiments, process 600 can be performed by the second calibration position determination module 130.

[0102] In step 610 , it may be determined whether the motion parameter is greater than or equal to a motion parameter threshold.

[0103] In some embodiments, the motion parameter threshold is a preset threshold for the motion parameter. In some embodiments, the motion parameter threshold can be expressed as a natural number, such as 1, 2, 3, ..., etc. In some embodiments, the motion parameter threshold can be expressed as a fraction, such as 1 / 4, 5 / 2, ..., etc. In some embodiments, the motion parameter threshold can be expressed as a decimal, such as 0.25, 2.5, ..., etc. In some embodiments, the motion parameter threshold can be expressed as an angle, such as 90°, 360°, 900°, ..., etc.

[0104] The result of comparing the motion parameter to the motion parameter threshold is one of the following:

[0105] 1. The motion parameter is greater than or equal to the motion parameter threshold;

[0106] 2. The motion parameter is less than the motion parameter threshold.

[0107] If the first result is present, step 620 will be executed next. If the second result is present, step 630 will be executed next.

[0108] In step 620, in response to the result that the motion parameter is greater than or equal to the motion parameter threshold, the trajectory information is determined to be of the second type. After step 620 is executed, the process jumps to step 640 for execution.

[0109] In some embodiments, the lock body adapted to the driving component having the second type of trajectory information may include a lock tongue and an auxiliary lock tongue.

[0110] In some embodiments, the driving component whose trajectory information is the second type may be a motor.

[0111] In step 630, in response to a negative result, that is, the motion parameter is less than the motion parameter threshold, the trajectory information is determined to be of the first type. After step 630 is executed, the process jumps to step 670 for execution.

[0112] In some embodiments, the lock body adapted to the driving component having the first type of trajectory information may include a lock tongue but not an auxiliary lock tongue.

[0113] In some embodiments, the driving component whose trajectory information is the first type may be a motor.

[0114] In step 640 , the second initial position is determined as the third calibration position.

[0115] In some embodiments, the third calibration position refers to the position where the driving component is located when the driving component puts the auxiliary lock tongue in a control state, so that the smart security device is in a state where the user can open the door directly, or open the door by operating the handle or knob.

[0116] In step 640, the third calibration position may be the same position as the second initial position reached by the driving component having the second type of trajectory information during the unlocking process, that is, the second initial position reached by the driving component having the second type of trajectory information during the unlocking process may be determined as the third calibration position.

[0117] In step 650 , the driving component may be controlled to move in the reverse direction for a preset time and then be disengaged.

[0118] In some embodiments, for a drive component with the second type of trajectory information, the drive component can be controlled to move in the opposite direction for a preset time (e.g., 3 seconds) and then stop, disengaging the drive component to facilitate the user's operation of the handle or knob to open the door. After the drive component is controlled to disengage, the secondary lock tongue of the intelligent security device is no longer controlled by the drive component and can automatically eject and then extend into the lock slot.

[0119] In step 660 , a second calibration position may be determined based on the disengaged position of the drive component.

[0120] In some embodiments, after the auxiliary lock tongue pops out, the user needs to operate the handle to control the auxiliary lock tongue to withdraw from the lock slot before opening the door. In some embodiments, after the auxiliary lock tongue withdraws from the lock slot, the user needs to use a key to retract the auxiliary lock tongue before opening the door. In some embodiments, after the auxiliary lock tongue withdraws from the lock slot, the user needs to turn the knob to retract the auxiliary lock tongue before opening the door. The state in which the auxiliary lock tongue withdraws from the lock slot may be a completely withdrawn state or a partially withdrawn state. In some embodiments, during the unlocking process, the position at which the driving component is located when the auxiliary lock tongue withdraws from the lock slot may be determined as the second calibration position. In some embodiments, the second calibration position may also be the starting position at which the driving component is located when the user manually locks the door after closing the door.

[0121] In step 670 , the second initial position may be determined as a second calibration position.

[0122] In some embodiments, since the lock body adapted to the driving component of the second type of trajectory information may be a lock body including a lock tongue but not a secondary lock tongue, after the driving component of the smart security device moves to the second initial position, it is in a state where the user can directly open the door. Therefore, the second initial position can be directly determined as the second calibration position.

[0123] Despite Figure 6 Although the steps of process 600 are described in a particular order in this application, this does not require or imply that the steps must be performed in this particular order, or that all steps must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps. For example, in some embodiments, only steps 610, 620, 640, 650, and 660 may be performed, while in other embodiments, only steps 610, 630, and 670 may be performed.

[0124] Figure 7 An exemplary process 700 for determining a first calibration position in some embodiments of the present application is shown. Process 700 can be used to control a drive component to move in a reverse direction and then determine the first calibration position. In some embodiments, process 700 can be executed by the first calibration position determination module 140.

[0125] In step 710 , the driving component may be controlled to move in the opposite direction from the second calibration position according to the motion parameters.

[0126] In some embodiments, the driving component may be a motor.

[0127] In some embodiments, the motion parameter in step 710 may be the motion parameter determined in step 410. In some embodiments, the displacement of the driving component moving in the reverse direction from the second calibration position is the motion parameter determined in step 410 minus the displacement of the driving component moving in the reverse direction from the second initial position to the second calibration position.

[0128] In step 720 , it may be determined whether the first maximum position of the driving component has been determined.

[0129] In some embodiments, if the answer is no, that is, the first maximum position of the driving component has not been determined, then step 730 is executed. In some embodiments, if the answer is yes, that is, the first maximum position of the driving component has been determined, then steps 730 and 740 are skipped and step 750 is executed directly.

[0130] In step 730 , the driving component may continue to be controlled to move in the reverse direction to the first detection position.

[0131] In step 740 , a first maximum position of the driving component may be determined based on the first detected position.

[0132] In some embodiments, the first detected position is determined as a first maximum position of the driving component.

[0133] In step 750 , a first calibration position may be determined based on the first maximum position of the driving component and the first detection position.

[0134] During design and manufacturing, intelligent security devices (such as smart locks, smart doors, smart windows, smart control valves, and smart switches) are designed to allow for some margin to ensure that the drive component can continue to move in the locking direction after locking. This prevents excessive current draw due to impeded movement, thus protecting the drive component. However, during actual manufacturing or installation, due to transmission or installation errors, the drive component may already be in its first maximum position after the intelligent security device is locked, meaning it cannot continue to move in the locking direction. This means that if the intelligent security device directly uses this first maximum position as the final first calibration position, the drive component will move to this position during the subsequent locking process before decelerating and stopping. However, due to the impeded movement, the current draw of the drive component will be excessive, thus shortening the life of the drive component. Therefore, a new position in the transition zone between the locked position and the first detection position of the drive component is required as the final first calibration position to ensure that the intelligent security device can be fully locked without impeding the movement of the drive component during the locking process.

[0135] In some embodiments, the position data of the driving component at various positions can be expressed in numerical form, and the position data increases as the driving component moves in the unlocking direction. In order to reselect a position as the final first calibration position in the transition section between the first maximum position of the driving component and the first detection position, the result of adding a buffer value to the first maximum position of the driving component can be compared with the result of subtracting a buffer value from the first detection position, and then the relatively smaller result is determined to be the first calibration position. If the comparison result is equal, the result of adding a buffer value to the first maximum position of the driving component or the result of subtracting a buffer value from the first detection position can be determined as the first calibration position. The buffer value can be a value pre-set based on design experience. The setting of the buffer value should meet one condition: the displacement between the finally selected first calibration position and the first maximum position of the driving component should be greater than or equal to the displacement of the driving component during the process of deceleration to complete stop.

[0136] For example, the position data of the first maximum position of the driving component can be expressed as 2000, the position data at the first detection position can be expressed as 2500, and the position data at the second calibration position can be expressed as 10000. The buffer value can be preset to 200 based on experience. Then, the position data of the first maximum position of the driving component plus a buffer value is 2200, and the position data of the first detection position minus a buffer value is 2300. Finally, the position data of the first maximum position of the driving component plus a buffer value (i.e., 2200) is selected as the first calibration position.

[0137] In other alternative embodiments, the position data of the driving component at each position can be expressed in numerical form, and the position data becomes smaller as the driving component moves in the unlocking direction. In order to reselect a position as the final first calibration position in the transition section between the first maximum position of the driving component and the first detection position, the result of subtracting a buffer value from the first maximum position of the driving component can be compared with the result of adding a buffer value to the first detection position, and then based on the comparison result, the relatively larger result is determined to be the first calibration position. If the comparison result is equal, the result of adding a buffer value to the first maximum position of the driving component or the result of subtracting a buffer value from the first detection position can be determined as the first calibration position. The buffer value can be a value pre-set based on design experience. The setting of the buffer value should meet one condition: the displacement between the finally selected first calibration position and the first maximum position of the driving component should be greater than or equal to the displacement of the driving component during the process of deceleration to complete stop.

[0138] For example, the position data of the first maximum position of the driving component can be expressed as 10000, the position data at the first detection position can be expressed as 9500, and the position data at the second calibration position can be expressed as 2000. The buffer value can be preset to 200 based on experience. Then, the position data of the first maximum position of the driving component minus a buffer value is 9800, and the position data of the first detection position minus a buffer value is 9700. Finally, the position data of the first maximum position of the driving component plus a buffer value (i.e., 9800) is selected as the first calibration position.

[0139] Despite Figure 7The steps of process 700 are described in a specific order in this application, but this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps. For example, in some embodiments, steps 710, 720, 730, 740, and 750 may be performed in sequence. For another example, in some embodiments, steps 710 and 720 may be performed in sequence first, and then step 750 may be performed. For another example, in some embodiments, step 720 may be performed first, and then steps 710, 730, 740, and 750 may be performed. For another example, in some embodiments, step 720 may be performed first, and then steps 710, 730, 740, and 750 may be performed. For another example, in some embodiments, step 720 may be performed first, and then steps 710 and 750 may be performed.

[0140] Figure 8 An exemplary process 800 is shown for another method for controlling a smart security device according to some embodiments of the present application. Process 800 can be used to automatically lock a smart security device. Process 800 can be implemented based on the type of trajectory information determined by the method shown in process 400 and the corresponding position calibration results, such as the first calibration position and the second calibration position.

[0141] In step 810, the position data of the driving component during the motion process may be obtained. In some embodiments, step 810 may be performed by the acquisition module 210. In some embodiments, the motion process refers to the process of locking the smart security device by the driving component.

[0142] In some embodiments, the driving component may include a motor. In some embodiments, the driving component may include a linear motion component, such as a pneumatic cylinder, a hydraulic cylinder, etc. In some embodiments, the position data of the driving component may be the position of the driving component in the direction of motion. In some embodiments, the position data of the driving component may be in the form of a digital signal. In some embodiments, the intelligent security device may collect the position of the driving component in the direction of motion through a sensor, and convert the analog signal of the sensor into the position data of the driving component in the form of a digital signal through an analog-to-digital converter. In some embodiments, the sensor may be a pressure sensor, an infrared sensor, or other sensor, or any combination thereof.

[0143] In step 820 , it may be determined whether the driving component has reached the first calibration position based on the position data of the driving component and the type of the trajectory information. In some embodiments, step 820 may be performed by the determination module 220 .

[0144] For a description of the specific judgment process, see Figure 9 And related instructions are not repeated here.

[0145] In step 830 , in response to the driving component reaching the first calibration position, the driving component may be controlled to stop moving. In some embodiments, step 830 may be performed by the response module 230 .

[0146] In some embodiments, after the driving component reaches the first calibration position, the driving component can be controlled to stop moving. In some embodiments, the duration of the driving component from deceleration to complete stop can be, for example, 0.5 seconds. In some embodiments, the duration of the driving component from deceleration to complete stop can be, for example, 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.4 seconds, 1 second, 2 seconds, 5 seconds, etc. In some embodiments, the duration of the driving component deceleration can be related to the speed and the speed of deceleration. In some embodiments, the driving component can be disengaged after completely stopping rotation to facilitate the user to operate the handle or knob to open the door.

[0147] Despite Figure 8 While the steps of process 800 are described in this application in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all steps must be performed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps, and / or at least one step may be performed repeatedly. For example, in some embodiments, steps 810 and 820 may be performed repeatedly until the determination result of step 820 indicates that the drive component has reached the first calibration position, at which point step 830 may be performed.

[0148] Figure 9 An exemplary process 900 for determining whether a driving component has reached the first calibration position in some embodiments of the present application is shown. Process 900 can be used to determine whether a driving component has reached the first calibration position. In some embodiments, process 900 can be executed by the determination module 220.

[0149] In step 910 , the displacement of the driving component moving in a preset direction may be determined based on the position data of the driving component.

[0150] In some embodiments, the displacement of the driving component in the predetermined direction may be the displacement of the driving component during the process of moving in the reverse direction from the second calibration position to the current position. In some embodiments, the displacement of the driving component in the predetermined direction may be the number of revolutions of the driving component (e.g., a motor) during the process of moving in the reverse direction from the second calibration position to the current position.

[0151] In step 920 , motion parameters required to drive the component from the second calibration position to the first calibration position may be determined based on the type of trajectory information.

[0152] In some embodiments, the track information can be divided into a first type and a second type. The lock body adapted to the driving component with the track information of the first type may be a lock body including a lock tongue but not including an auxiliary lock tongue. The lock body adapted to the driving component with the track information of the second type may be a lock body including a lock tongue and an auxiliary lock tongue. In some embodiments, the type of track information and the lock body adapted to the driving component with the track information of the type may be determined by Figures 4 to 7 The exemplary method shown in FIG is pre-determined, and accordingly, the motion parameters required for the lock body adapted by the drive component of this type of trajectory information to achieve complete locking can also be determined by Figures 4 to 7 The exemplary method shown in is predetermined.

[0153] In step 930 , it may be determined whether the displacement of the driving component moving in the preset direction matches the motion parameter.

[0154] In some embodiments, if the judgment result is no match, the process returns to step 910 and steps 910 and 930 are repeatedly executed until the judgment result is a match, and then the process proceeds to step 940 .

[0155] In some embodiments, matching means that the displacement of the driving component moving in a preset direction is equal to the motion parameter.

[0156] In step 940 , in response to yes, ie, the result of the judgment is match, it can be determined that the driving component has reached the first calibration position.

[0157] In some embodiments, the first calibration position can be Figures 4 to 7 The exemplary method shown in is predetermined.

[0158] Although the steps of process 900 are described in a specific order in this application, this does not require or imply that the steps must be performed in this specific order, or that all steps must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps, and / or at least one step may be performed repeatedly. For example, in some embodiments, step 920 may be performed only once, but steps 910 and 930 may be performed repeatedly in sequence until the result of step 930 is a match, at which point step 640 may be performed.

[0159] Figure 10An exemplary process 1000 is shown for another method for controlling a smart security device according to some embodiments of the present application. Process 1000 can be used to automatically unlock a smart security device. Process 1000 can be implemented based on the type of trajectory information determined by the method shown in process 400 and the corresponding position calibration results, such as the first calibration position and the second calibration position.

[0160] In step 1010 , the type of trajectory information and the position data of the driving component during the motion process may be acquired. In some embodiments, step 1010 may be performed by the acquisition module 310 .

[0161] In some embodiments, the motion process may be a process of unlocking the smart security device by a driving component.

[0162] In some embodiments, the types of trajectory information may include at least two categories. When the trajectory information is of the first type, the driving component drives the lock body adapted for the driving component of the trajectory information of the type to rotate a certain angle during the unlocking process, directly reaching the unlocked locked position, thereby completing the unlocking process. The unlocked locked position is the second initial position at which the driving component is located when the door can be directly opened. When the trajectory information is of the second type, the driving component drives the lock body adapted for the driving component of the trajectory information of the type to rotate a certain angle during the unlocking process, which may reach the unlocked locked position, but this position is only the third calibration position, not the second initial position. The driving component is then controlled to move in the opposite direction for a preset time (e.g., 3 seconds), then stops moving, disengages the clutch, and places the auxiliary lock tongue in a released state. The auxiliary lock tongue automatically pops out when in the released state. At this point, the driving component is in the second initial position at which the driving component is located when the door can be directly opened, and the unlocking process is completed.

[0163] In some alternative embodiments, the trajectory information type may further include a third type. When the trajectory information is of the third type, the driving component outputs a linear motion during the unlocking process and directly causes the lock body adapted for the driving component of this type of trajectory information to linearly displace to a second initial position. The second initial position is the position of the driving component when the door can be directly opened.

[0164] In some embodiments, the position data of the driving component may be the position of the driving component in the direction of motion. In some embodiments, the position data of the driving component may be in the form of a digital signal. In some embodiments, the intelligent security device may use a sensor to detect the position of the driving component in the direction of motion, and convert the analog signal of the sensor into the position data of the driving component in the form of a digital signal using an analog-to-digital converter. In some embodiments, the sensor may be a pressure sensor, an infrared sensor, another sensor, or any combination thereof.

[0165] In step 1020 , an execution scheme corresponding to the type of the trajectory information may be executed based on the type of the trajectory information and the location data. In some embodiments, step 1020 may be executed by the execution module 320 .

[0166] In some embodiments, the execution scheme is an unlocking scheme, which refers to a scheme for unlocking the smart security device by driving a component.

[0167] For details on the execution of the solution in step 1020, please refer to the instructions for Figure 11 Description content.

[0168] Figure 11 An exemplary process 1100 for causing a driving component to reach a second initial position based on the type of trajectory information in some embodiments of the present application is shown. Process 1100 can be used to execute a corresponding unlocking strategy based on the type of trajectory information to achieve unlocking. In some embodiments, process 1100 can be executed by execution module 320.

[0169] In some embodiments, the aforementioned Figure 10 If the type of the trajectory information obtained in step 1010 is the first type, then steps 1110 and 1120 are executed. In some embodiments, the aforementioned Figure 10 If the type of the trajectory information obtained in step 1020 is the second type, steps 1130, 1140, and 1150 are executed.

[0170] In step 1110 , it may be determined whether the driving component has reached the second calibration position based on the position data of the driving component.

[0171] In some embodiments, the second calibration position can be Figure 6 If the driving component has not reached the second calibration position, steps 1030 and 1110 are repeatedly executed, i.e., the driving component is controlled to move in the opposite direction while the position data of the driving component is collected to determine whether the driving component has reached the second calibration position.

[0172] In step 1120 , in response to the driving component reaching the second calibration position, the driving component may be controlled to stop moving.

[0173] In some embodiments, the trajectory information may be of the first type, and the second calibration position in step 1120 is the unlocked locked position. In some embodiments, after the driving component reaches the second calibration position, the current of the driving component can be controlled to rotate in a constant torque manner, and the rotation stops when the time exceeds a set threshold, such as 0.5 seconds.

[0174] In step 1130 , it may be determined whether the driving component has reached the third calibration position based on the position data of the driving component.

[0175] In some embodiments, the trajectory information can be of the second type. Accordingly, the third calibration position is the unlocking and blocking position. After the driving component reaches the third calibration position, it will not be able to continue to rotate. The third calibration position can be Figure 6 The determination is made in advance in steps 610, 620, and 640. In some embodiments, the driving component may be determined to have reached the third calibration position when the position data of the driving component indicates the same as the third calibration position. In some embodiments, the driving component may also be determined to have reached the third calibration position when the time after the driving component becomes stalled exceeds a set time threshold, such as 0.5 seconds.

[0176] In step 1140 , in response to the driving component reaching the third calibration position, the driving component may be controlled to stop moving.

[0177] In some embodiments, when it is determined that the driving component has reached the third calibration position, the current of the driving component can be controlled to rotate in a constant torque manner, and the rotation stops when a set time threshold (eg, 0.5 seconds) is exceeded.

[0178] In step 1150 , the driving component may be controlled to reverse for a preset time (eg, 3 seconds) so as to move in the opposite direction to the second calibration position and then disengage.

[0179] In some embodiments, after the drive component is disengaged, the secondary lock tongue is released from control and can automatically eject and extend into the lock slot. Therefore, when the secondary lock tongue is fully ejected, the drive component is in the second calibration position. After the secondary lock tongue is fully ejected, the user can turn the door handle or twist the lock body with a key to open the door.

[0180] The embodiment of the present application further discloses a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor implements the aforementioned Figures 1 to 11 and the method disclosed in any embodiment of the description thereof.

[0181] The embodiment of the present application further discloses a processor, which is used to run a computer program, wherein when the processor runs the computer program, the processor implements the aforementioned Figures 1 to 11 and the method disclosed in any embodiment of the description thereof.

[0182] The embodiment of the present application further discloses an electronic device, comprising: one or more processors; a memory on which one or more computer programs are stored; when the one or more computer programs are executed by the one or more processors, the one or more processors implement Figures 1 to 11 and the method disclosed in any embodiment of the description thereof.

[0183] The beneficial effects that can be achieved by the above-mentioned embodiments of the present application are as follows: (1) In some embodiments, after the driving component is installed in the intelligent security device, it can automatically identify the type of trajectory information of the driving component and determine the corresponding first calibration position and second calibration position through testing, so that the driving component can adapt to different types of lock bodies and has good compatibility; (2) In some embodiments, the driving component can execute corresponding execution plans (for example, locking plans and unlocking plans) according to the type of trajectory information, the first calibration position and the second calibration position, effectively avoiding the phenomenon that the movement of the driving component is blocked, reducing the failure rate of the driving component, and extending the service life of the driving component.

[0184] The basic concepts have been described above. It will be apparent to those skilled in the art that the detailed disclosure above is merely illustrative and does not limit the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and amendments to the present application. Such modifications, improvements, and amendments are suggested in the present application and remain within the spirit and scope of the exemplary embodiments of the present application.

[0185] At the same time, this application uses specific terms to describe the embodiments of this application. For example, "one embodiment," "an embodiment," and / or "some embodiments" refer to a certain feature, structure, or characteristic related to at least one embodiment of this application. Therefore, it should be emphasized and noted that "one embodiment," "an embodiment," or "an alternative embodiment" mentioned twice or multiple times in different locations in this application does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of this application may be appropriately combined.

[0186] Similarly, it should be noted that, in order to simplify the presentation of this application and thus facilitate understanding of one or more embodiments of the invention, the foregoing descriptions of the embodiments of this application sometimes combine multiple features into a single embodiment, figure, or description thereof. However, this disclosure method does not mean that the subject matter of this application requires more features than those recited in the claims. In fact, an embodiment may have fewer features than all of the features of a single embodiment disclosed above.

[0187] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise stated, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of the individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining the number of digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the settings of such numerical values ​​are as accurate as possible within the feasible range.

[0188] Finally, it should be understood that the embodiments described in this application are merely illustrative of the principles of the embodiments of this application. Other variations may also fall within the scope of this application. Therefore, by way of example and not limitation, alternative configurations of the embodiments of this application may be considered consistent with the teachings of this application. Accordingly, the embodiments of this application are not limited to the embodiments explicitly introduced and described in this application.

Claims

1. A testing method for intelligent safety equipment, characterized in that: The test method includes: determining motion parameters of the driving component moving from the first initial position to the second initial position; determining, based on the motion parameters, a type of trajectory information between the first initial position and the second initial position; Determining a second calibration position based on the type of the trajectory information; the determining the second calibration position based on the type of the trajectory information includes: In response to determining that the trajectory information is of the second type, performing the following operations: determining the second initial position as a third calibration position; Controlling the driving component to move in the reverse direction for a preset time, and then disengaging and clutching; determining the second calibration position based on the disengaged position of the drive component; as well as Based on the motion parameters and the second calibration position, a first calibration position is determined.

2. The testing method according to claim 1, wherein: The determining of the motion parameters of the driving component moving from the first initial position to the second initial position includes: The first initial position is acquired based on the first initial state of the driving component.

3. The testing method according to claim 1 or 2, characterized in that: The determining of the motion parameters of the driving component moving from the first initial position to the second initial position includes: controlling the driving component to move in the reverse direction to determine whether the driving component is located at the first detection position; In response to this, determining the current first detection position as the first maximum position of the driving component; In response to no, continue to control the driving component to move in the reverse direction, so that the driving component reaches the first detection position; controlling the driving component to move to the second initial position; and The motion parameter is determined based on displacement data of the driving component moving from the first detection position to the second initial position.

4. The testing method according to claim 1, wherein: The determining, based on the motion parameter, the type of trajectory information between the first initial position and the second initial position includes: Determining whether the motion parameter is greater than or equal to a motion parameter threshold; In response to no, determining that the trajectory information is of the first type; and In response thereto, it is determined that the trajectory information is of the second type.

5. The testing method according to claim 1, wherein: The determining of the second calibration position based on the type of the trajectory information includes: In response to determining that the trajectory information is of the first type, the second initial position is determined as a second calibration position.

6. The testing method according to claim 3, characterized in that: The determining of the first calibration position based on the motion parameter and the second calibration position includes: controlling the driving component to move in a reverse direction from the second calibration position according to the motion parameters; determining whether the first maximum position of the driving component has been determined; In response to No, do the following: controlling the driving component to continue moving in the reverse direction to the first detection position; and determining a first maximum position of the driving member based on the first detected position; and The first calibration position is determined based on the first maximum position of the driving component and the first detection position.

7. The testing method according to claim 6, characterized in that: The determining of the first calibration position based on the first maximum position of the driving component and the first detection position includes: comparing a result of adding a buffer value to a first maximum position of the driving component and a result of subtracting the buffer value from the first detection position; and The relatively smaller result is determined to be the first calibration position.

8. A control method for an intelligent safety device, characterized in that: The control method includes: Obtaining position data of the driving component during movement; Determining whether the driving component has reached a first calibration position based on the position data of the driving component and the type of trajectory information; determining whether the driving component has reached the first calibration position based on the position data of the driving component and the type of trajectory information includes: determining, based on the position data of the driving component, a displacement of the driving component moving in a preset direction; determining, based on the type of the trajectory information, motion parameters required for the driving component to move from the second calibration position to the first calibration position; Determining whether the displacement of the driving component moving in a preset direction matches the motion parameter; In response thereto, determining that the drive component has reached the first calibration position; as well as In response, the driving component is controlled to stop moving.

9. A control method for an intelligent safety device, characterized in that: The control method includes: Obtaining the type of trajectory information and position data of the driving component during the motion process; and Executing an execution plan corresponding to the type of the trajectory information based on the type of the trajectory information and the position data, wherein executing an execution plan corresponding to the type of the trajectory information based on the type of the trajectory information and the position data includes: In response to the type of the trajectory information being the second type, executing a second execution scheme: determining, based on the position data of the driving component, whether the driving component has reached a third calibration position; In response to this, controlling the driving component to stop moving; and The driving component is controlled to move in the reverse direction for a preset time, so that the driving component moves in the reverse direction to a second calibration position, and then disengages.

10. A control method for an intelligent safety device, characterized in that: The control method includes: Obtaining the type of trajectory information and position data of the driving component during the motion process; and Executing an execution plan corresponding to the type of the trajectory information based on the type of the trajectory information and the position data, wherein executing an execution plan corresponding to the type of the trajectory information based on the type of the trajectory information and the position data includes: In response to the type of the trajectory information being the first type, executing a first execution scheme: determining whether the driving component has reached a second calibration position based on the position data of the driving component; and In response, the driving component is controlled to stop moving.

11. A control system for intelligent safety equipment, characterized in that: The control system includes: a motion parameter determination module configured to determine a motion parameter of the driving component based on the driving component moving from the first initial position to the second initial position; a trajectory information type determination module, configured to determine the type of the trajectory information based on the motion parameters of the driving component; The second calibration position determination module is configured to determine the second calibration position based on the type of the trajectory information; the determining the second calibration position based on the type of the trajectory information includes: In response to determining that the trajectory information is of the second type, performing the following operations: determining the second initial position as a third calibration position; Controlling the driving component to move in the reverse direction for a preset time, and then disengaging and clutching; determining the second calibration position based on the disengaged position of the drive component; as well as The first calibration position determination module is configured to determine a first calibration position based on the motion parameter and the second calibration position.

12. A control system for intelligent safety equipment, characterized in that: The control system includes: an acquisition module configured to acquire position data of the driving component during the movement; A judgment module is configured to judge whether the driving component has reached the first calibration position based on the position data of the driving component and the type of trajectory information; the judging whether the driving component has reached the first calibration position based on the position data of the driving component and the type of trajectory information includes: determining, based on the position data of the driving component, a displacement of the driving component moving in a preset direction; determining, based on the type of the trajectory information, motion parameters required for the driving component to move from the second calibration position to the first calibration position; Determining whether the displacement of the driving component moving in a preset direction matches the motion parameter; In response thereto, determining that the drive component has reached the first calibration position; as well as The response module is configured to control the driving component to stop moving in response to the above.

13. A control system for intelligent safety equipment, characterized in that: The control system includes: an acquisition module configured to acquire the type of trajectory information and position data of the driving component during the motion process; and An execution module is configured to execute an execution scheme corresponding to the type of the trajectory information based on the type of the trajectory information and the position data, wherein executing the execution scheme corresponding to the type of the trajectory information based on the type of the trajectory information and the position data comprises: In response to the type of the trajectory information being the second type, executing a second execution scheme: determining, based on the position data of the driving component, whether the driving component has reached a third calibration position; In response to this, controlling the driving component to stop moving; and The driving component is controlled to move in the reverse direction for a preset time, so that the driving component moves in the reverse direction to a second calibration position, and then disengages.

14. A control system for intelligent safety equipment, characterized in that: The control system includes: an acquisition module configured to acquire the type of trajectory information and position data of the driving component during the motion process; and An execution module is configured to execute an execution scheme corresponding to the type of the trajectory information based on the type of the trajectory information and the position data, wherein executing the execution scheme corresponding to the type of the trajectory information based on the type of the trajectory information and the position data comprises: In response to the type of the trajectory information being the first type, executing a first execution scheme: Based on the position data of the driving component, it is determined whether the driving component has reached a second calibration position; and in response, the driving component is controlled to stop moving.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor is caused to implement the method according to any one of claims 1 to 10.

16. A processor for running a computer program, characterized in that: When the processor runs the computer program, the processor implements the method according to any one of claims 1 to 10.

17. An electronic device, characterized in that: include: one or more processors; a memory having one or more computer programs stored thereon; When the one or more computer programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Intelligent motor system for intelligent lock and motor control method

    CN109510174A