Full-automatic intelligent door lock control method and system, medium and program product
By detecting the blocking characteristic cycle of smart door locks and dynamically adjusting the driving torque and control strategy, the problem of misjudgment and mechanical wear of smart door locks during unlocking or locking is solved, achieving higher reliability and lower cost and power consumption.
Patent Information
- Application Number
- CN202510320016.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-03-18
AI Technical Summary
The existing smart door locks lack effective feedback mechanisms when performing unlocking or locking operations, resulting in frequent misjudgment, affecting user experience, increasing energy consumption and mechanical wear, and shortening product life.
The blocking characteristic period is determined by detecting the motor blocking signal three times in a row, and a control strategy of decreasing driving torque is adopted between two adjacent blocking characteristic periods to reduce mechanical damage. When the blocking characteristic cycle shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic cycle, and the driving is actively interrupted before blocking to prevent mechanical wear.
It realizes the improvement of the reliability of smart door locks while reducing costs and power consumption, reducing component damage caused by forced driving, extending the service life of door locks, and improving user experience.
Smart Images

Figure CN119825202A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of time registers, and in particular to a fully automatic intelligent door lock control method, system, medium and program product. Background Art
[0002] With the popularity of smart homes, smart door locks play an increasingly important role in users' daily lives. However, existing smart door locks often make misjudgments when performing unlocking or locking operations due to the lack of an effective feedback mechanism. This misjudgment not only affects the user's normal usage experience, but also causes unnecessary energy consumption due to repeated opening and closing operations, while increasing the wear of the door lock's mechanical structure and shortening the product's service life.
[0003] In related technologies, multiple pressure sensors or optical sensors can be integrated into smart door locks to assist in determining the switch status, and deep learning algorithms can be used to identify door opening actions under various environmental conditions to improve system reliability.
[0004] However, adding more sensors inevitably pushes up the overall cost of the product, and although complex calculation models can improve accuracy, they also mean higher power consumption. This makes it difficult for smart door locks to achieve the goals of low cost and low power consumption while ensuring reliability. Summary of the invention
[0005] The present application provides a fully automatic intelligent door lock control method, system, medium and program product for improving the reliability of intelligent door locks while reducing costs and power consumption.
[0006] In a first aspect, the present application provides a fully automatic smart door lock control method, which obtains a real-time working signal of the smart door lock in response to a user's unlocking command or locking command; Establish a blocking characteristic period according to the real-time working signal, and the blocking characteristic period is determined by the time interval after three consecutive motor stall signals are detected; At a preset time point before the second period of two adjacent blocking characteristic periods arrives, the driving torque is reduced according to a preset ratio, and the preset ratio is determined according to the maximum stall torque in the first blocking characteristic period; When the change trend of the blocking characteristic cycle shows a decreasing trend, the current driving strategy is determined to be effective, and the unlocking or locking command is continued; When the changing trend of the blocking characteristic period shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic period recorded; The motor is actively interrupted before stalling by controlling the pulse control sequence; Count the number of active interruptions within a preset time period. When the number exceeds a preset threshold, the smart door lock is controlled to give a failure prompt. When the number of times does not exceed the preset threshold, the smart door lock is controlled to unlock or lock.
[0007] By adopting the above technical solution, the abnormal state in the door lock switch process can be accurately identified by detecting three consecutive motor stall signals to determine the blocking characteristic cycle. A control strategy of decreasing the driving torque in a preset proportion is adopted between two adjacent blocking characteristic cycles, which reduces the mechanical damage that may be caused by traditional fixed torque control. When it is detected that the blocking characteristic cycle is decreasing, it means that the current driving strategy can effectively improve the switch lock process, and the system continues to execute instructions; when it is detected that the blocking characteristic cycle is increasing, the system will establish a pulse control sequence based on the shortest recorded blocking characteristic cycle, and actively interrupt the drive before the stall occurs, thereby preventing mechanical wear caused by repeated stalls. By counting the number of active interruptions in the preset time period and comparing it with the preset threshold, the system can promptly detect and respond to persistent abnormal conditions, which not only ensures the reliability of the switch lock operation, but also reduces the damage to components caused by forced drive, and reduces costs and power consumption while improving the reliability of smart door locks.
[0008] In conjunction with some embodiments of the first aspect, in some embodiments, establishing a blocking characteristic period according to the real-time working signal specifically includes: Identify the stall point based on the motor current signal in the real-time working signal, and compare the speed value corresponding to the stall point with the preset speed threshold; When the speed value is greater than the preset speed threshold, it is determined to be an effective stall point; Calculate the time interval between two adjacent effective blocking points and take the time interval as a blocking characteristic cycle; The weighted average of three consecutive blocking characteristic periods is performed to obtain the final blocking characteristic period.
[0009] By adopting the above technical solution, the effective stall point is determined by comparing the speed value corresponding to the stall point with the preset speed threshold, and the invalid stall signal caused by instantaneous interference or slight jamming can be filtered out. The time interval between two adjacent effective stall points is used as the blocking characteristic period, and three consecutive blocking characteristic periods are weighted averaged, which can reduce the random error of a single measurement, improve the accuracy and stability of the blocking characteristic period, accurately reflect the actual working state of the door lock mechanical system, reduce the blindness and uncertainty of the control strategy, and improve the operation stability and control accuracy of the entire intelligent door lock system.
[0010] In combination with some embodiments of the first aspect, in some embodiments, decreasing the driving torque according to a preset ratio specifically includes: Obtain the stall torque curve within the first blocking characteristic cycle; Identify the maximum stall torque point and the minimum stall torque point in the stall torque curve; Calculate the difference between the maximum stall torque and the minimum stall torque, divide the difference by the preset number of decrements, and obtain the torque step length for each decrement, where the torque step length is a preset ratio; Starting from a preset time point before the second blocking characteristic cycle arrives, the driving torque is gradually reduced according to a preset ratio.
[0011] By adopting the above technical solution, the maximum and minimum stall torque points are identified by analyzing the stall torque curve in the first blocking characteristic cycle, and the torque step is determined according to the preset number of decrements after the torque difference is calculated, so as to achieve precise control of the driving torque. The driving torque is gradually reduced according to the preset proportion at the preset time point before the second blocking characteristic cycle arrives, so that the torque reduction process is smoother, and the mechanical shock that may be caused by the sudden torque adjustment is avoided, so that the driving torque can always be maintained at the minimum necessary level required to complete the switch lock action, which not only ensures the normal realization of the switch lock function, but also reduces the force loss of mechanical components, and improves the working efficiency and service life of the entire door lock system.
[0012] In combination with some embodiments of the first aspect, in some embodiments, when the number of times does not exceed the preset threshold, after controlling the smart door lock to complete unlocking or locking, the method further includes: Obtain the blocking characteristic cycle sequence in each switch lock process, and calculate the change rate of adjacent blocking characteristic cycles; When it is detected that the change rate exceeds the first change rate threshold three times in a row, the current time point is marked as a characteristic turning point; Count the number of switch locks between every two characteristic turning points, and use the number of switch locks as the stable working range of the blocking characteristic cycle; When the length of the latest stable working interval is less than the preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered.
[0013] By adopting the above technical solution, by calculating the rate of change of adjacent blocking characteristic cycles and detecting the situation of exceeding the threshold three times in a row to mark the characteristic turning point, it is possible to accurately capture significant changes in the working state of the door lock. The number of lock switches between two characteristic turning points is defined as the stable working interval. By comparing the latest stable working interval length with historical data, abnormal changes in door lock performance can be discovered in time. When the latest stable working interval length is less than the preset percentage of the historical stable working interval length, a maintenance prompt is triggered, allowing the system to take preventive maintenance measures before the door lock performance deteriorates. This state monitoring method based on stable working interval analysis can effectively identify the performance degradation trend of the door lock system, achieve early warning of maintenance needs, and reduce door lock failures and safety hazards caused by untimely maintenance.
[0014] In conjunction with some embodiments of the first aspect, in some embodiments, calculating the change rate of adjacent blocking characteristic periods specifically includes: Record the blocking characteristic period value and the corresponding ambient temperature during each lock opening and closing process; Perform temperature compensation on the blocking characteristic period value according to the ambient temperature; Arrange the compensated blocking characteristic period values in chronological order to form a data sequence; Calculate the difference between two adjacent period values in the data sequence and divide it by the previous period value to get the rate of change.
[0015] By adopting the above technical solution, the blocking characteristic cycle value and ambient temperature during the process of opening and closing the lock are recorded, and a temperature compensation mechanism is established to eliminate the influence of ambient temperature on the blocking characteristic cycle. The temperature-compensated data is arranged in time series and the change rate is calculated to obtain a more accurate trend of the blocking characteristic cycle change, which reduces the interference of temperature changes on the evaluation of the lock body state, and enables the system to accurately identify performance changes caused by mechanical wear of the lock body.
[0016] In combination with some embodiments of the first aspect, in some embodiments, after triggering a maintenance prompt when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes: Obtain all blocking characteristic cycle data within the current stable working range; All the blocking characteristic periodic data are processed in segments, and the data length of each segment is the preset sampling window; Calculate the mean, variance and skewness of the blocking characteristic period in each preset sampling window; Determine the decay rate of the lock body working state based on the changing trends of the mean, variance and skewness; Adjust maintenance intervals based on decay rate.
[0017] By adopting the above technical solution, the blocking feature periodic data within the stable working range is segmented and statistical features are extracted, realizing a comprehensive evaluation of the working status of the lock body. By calculating the three statistical features of mean, variance and skewness within the preset sampling window, the system can characterize the working status of the lock body from multiple dimensions. The mean reflects the overall level of the blocking feature, the variance characterizes the working stability, and the skewness reflects the symmetry of the blocking feature distribution. Based on the changing trends of these three features, the system can more accurately identify the mode and speed of lock body performance degradation. By dynamically adjusting the maintenance time interval by the decay rate, the reliability of lock body performance monitoring is improved, and the maintenance strategy is made more accurate, which not only ensures the reliable operation of the smart door lock, but also optimizes the utilization efficiency of maintenance resources.
[0018] In combination with some embodiments of the first aspect, in some embodiments, determining the decay rate of the lock body working state based on the change trend of the mean, variance and skewness specifically includes: Perform a difference operation on the mean sequence within the preset sampling window to obtain a first-order difference sequence; Calculate the cumulative sum of the first-order difference sequence to obtain the cumulative deviation curve; The inflection points are identified on the cumulative deviation curve, and the slope between adjacent inflection points is taken as the decay rate.
[0019] By adopting the above technical solution, the mean sequence is differentiated and cumulatively summed to construct a cumulative deviation curve that reflects the performance changes of the lock body. The differential operation eliminates the linear trend in the data sequence and highlights the fluctuation characteristics of the lock body performance changes. The construction of the cumulative deviation curve converts discrete performance changes into continuous trend expressions, making the inflection points of performance changes easier to identify and providing more stable and reliable decay rate evaluation results. The inflection point identification mechanism enables the system to promptly detect the critical moments of lock body performance changes, providing an accurate time reference for predictive maintenance and improving the operational reliability and maintenance efficiency of smart door locks.
[0020] In the second aspect, an embodiment of the present application provides a fully automatic intelligent door lock control system, which fully automatic intelligent door lock control system includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and one or more processors call computer instructions to enable the system to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a system, causes the system to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a system, the system executes the method described in any possible implementation manner in the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present application provides a fully automatic intelligent door lock control method, which can accurately identify abnormal states during the door lock switch process by detecting three consecutive motor stall signals to determine the blocking characteristic period. A control strategy of decreasing the driving torque in a preset proportion is adopted between two adjacent blocking characteristic periods, which reduces the mechanical damage that may be caused by traditional fixed torque control. When it is detected that the blocking characteristic period is decreasing, it means that the current driving strategy can effectively improve the switch lock process, and the system continues to execute instructions; when it is detected that the blocking characteristic period is increasing, the system will establish a pulse control sequence based on the shortest recorded blocking characteristic period, and actively interrupt the drive before the stall occurs, thereby preventing mechanical wear caused by repeated stalls. By counting the number of active interruptions in the preset time period and comparing it with the preset threshold, the system can promptly detect and respond to persistent abnormal conditions, which not only ensures the reliability of the switch lock operation, but also reduces the damage to components caused by forced drive, while improving the reliability of the intelligent door lock and reducing costs and power consumption.
[0024] 2. The present application provides a fully automatic intelligent door lock control method, which can accurately capture significant changes in the working state of the door lock by calculating the rate of change of adjacent blocking characteristic cycles and detecting the situation of exceeding the threshold three times in a row to mark the characteristic turning point. The number of times the lock is switched on and off between two characteristic turning points is defined as the stable working interval. By comparing the latest stable working interval length with historical data, abnormal changes in the performance of the door lock can be discovered in time. When the latest stable working interval length is less than a preset percentage of the historical stable working interval length, a maintenance prompt is triggered, enabling the system to take preventive maintenance measures before the door lock performance deteriorates. This state monitoring method based on stable working interval analysis can effectively identify the performance degradation trend of the door lock system, achieve early warning of maintenance needs, and reduce door lock failures and safety hazards caused by untimely maintenance.
[0025] 3. The present application provides a fully automatic intelligent door lock control method, which performs segmented processing and statistical feature extraction on the blocking feature periodic data within the stable working range, thereby realizing a comprehensive evaluation of the working state of the lock body. By calculating the three statistical features of mean, variance and skewness within the preset sampling window, the system can characterize the working state of the lock body from multiple dimensions. The mean reflects the overall level of the blocking feature, the variance characterizes the working stability, and the skewness reflects the symmetry of the blocking feature distribution. Based on the changing trends of these three features, the system can more accurately identify the mode and speed of lock body performance degradation. By dynamically adjusting the maintenance time interval by the decay rate, the reliability of lock body performance monitoring is improved, and the maintenance strategy is made more accurate, which not only ensures the reliable operation of the intelligent door lock, but also optimizes the utilization efficiency of maintenance resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1It is a flow chart of a fully automatic intelligent door lock control method in an embodiment of the present application.
[0027] Figure 2 It is a flow chart of a predictive maintenance method based on historical data analysis in an embodiment of the present application.
[0028] Figure 3 It is a schematic diagram of the physical device structure of a fully automatic intelligent door lock control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0031] The following uses an embodiment and combines Figure 1 , a fully automatic intelligent door lock control method in an embodiment of the present application is described: See also Figure 1 , which is a flow chart of a fully automatic intelligent door lock control method in an embodiment of the present application.
[0032] S101, in response to a user's unlocking instruction or locking instruction, obtaining a real-time working signal of the smart door lock; In this step, the system responds to the user's unlocking or locking command. The user can issue unlocking or locking commands in various ways, such as using a mobile phone application, voice control, gesture control, password input, etc. After receiving the user's command, the system starts to obtain the real-time working signal of the smart door lock. The real-time working signal can include various signals such as motor current, motor speed, door lock status, etc.
[0033] The system can obtain real-time working signals through a variety of sensors and monitoring devices. For example, a current sensor can be installed on the motor to detect the motor current in real time; an encoder can be installed on the motor to detect the motor speed in real time; a state sensor can be installed on the door lock to detect the switch state of the door lock in real time. These sensors transmit the collected signals to the system in real time for use in subsequent steps.
[0034] S102, establishing a blocking characteristic cycle according to the real-time working signal; The system establishes a blocking characteristic period according to the real-time working signal. The blocking characteristic period is determined by the time interval after three consecutive motor stall signals are detected. Specifically: the stall point is identified based on the motor current signal in the real-time working signal, and the speed value corresponding to the stall point is compared with the preset speed threshold; When the speed value is greater than the preset speed threshold, it is determined to be an effective stall point; Calculate the time interval between two adjacent effective blocking points and take the time interval as a blocking characteristic cycle; The weighted average of three consecutive blocking characteristic periods is performed to obtain the final blocking characteristic period.
[0035] In this step, the system establishes a blocking characteristic cycle based on the real-time working signal obtained. The blocking characteristic cycle reflects the periodic characteristics of the intelligent door lock being blocked during the unlocking or locking process. By analyzing the blocking characteristic cycle, it is possible to predict when the door lock will be blocked, so as to adjust the driving strategy in advance to avoid damage to the motor.
[0036] The system can use a variety of methods to establish a blocking characteristic cycle. A commonly used method is based on the motor stall signal. Specifically, the system detects the motor current signal in the real-time working signal and identifies the stall point where the current suddenly increases. Then the speed value corresponding to the stall point is compared with the preset threshold. If the speed value is greater than the threshold, it is determined to be a valid stall point. The system calculates the time interval between two adjacent valid stall points and uses it as a blocking characteristic cycle. In order to improve reliability, the system can perform a weighted average of three consecutive blocking characteristic cycles to obtain the final blocking characteristic cycle.
[0037] When establishing the blocking characteristic cycle, the system may encounter problems such as unclear stall signal and incorrect identification of stall point. In order to solve these problems, the system can use adaptive threshold, pattern recognition and other technologies. For example, the system can adaptively adjust the speed threshold according to factors such as motor model and load; it can use machine learning algorithms to train the stall point identification model with a large amount of sample data to improve the recognition accuracy. Through these technical means, the quality of establishing the blocking characteristic cycle can be improved.
[0038] S103, at a preset time point before the second period of two adjacent blocking characteristic periods arrives, decreasing the driving torque according to a preset ratio; At a preset time point before the second cycle of two adjacent blocking characteristic cycles arrives, the system decreases the driving torque according to a preset ratio, and the preset ratio is determined according to the maximum stall torque in the first blocking characteristic cycle. Specifically: a stall torque curve in the first blocking characteristic cycle is obtained; Identify the maximum stall torque point and the minimum stall torque point in the stall torque curve; Calculate the difference between the maximum stall torque and the minimum stall torque, divide the difference by the preset number of decrements, and obtain the torque step length for each decrement, where the torque step length is a preset ratio; Starting from a preset time point before the second blocking characteristic cycle arrives, the driving torque is gradually reduced according to a preset ratio.
[0039] In this step, the system predicts the time point when the stall will occur based on the established blocking characteristic cycle, and adjusts the driving torque in advance to reduce the risk of stalling. Specifically, the system starts to reduce the driving torque according to a preset ratio at a preset time point before the second cycle of two adjacent blocking characteristic cycles arrives.
[0040] The system can determine the preset time point and the preset ratio in a variety of ways. A commonly used method is based on the stall torque characteristics within the first blocking characteristic cycle. Specifically, the system obtains the stall torque curve within the first cycle, identifies the maximum and minimum points, and calculates the difference between the two. The difference is then divided by the preset number of decreases to obtain the torque step size for each decrease, i.e., the preset ratio. At the preset time point before the second cycle arrives, the system begins to gradually decrease the drive torque at this ratio until the second cycle arrives.
[0041] When adjusting the driving torque, the system may face problems such as the torque decreasing too slowly or too quickly. In order to solve these problems, the system can adopt technologies such as adaptive adjustment and feedback control. For example, the system can adaptively adjust the preset time point and the number of decreases according to the length of the blocking characteristic cycle; it can monitor the door lock status in real time and dynamically adjust the decrease ratio according to the feedback signal. Through these technical means, the timeliness and accuracy of the driving torque adjustment can be improved.
[0042] S104, when the change trend of the blocking characteristic period shows a decreasing trend, it is determined that the current driving strategy is effective, and the unlocking or locking instruction is continued to be executed; In this step, the system determines whether the current driving strategy is effective based on the established blocking characteristic cycle. If several consecutive blocking characteristic cycles show a decreasing trend, it means that the driving torque is properly adjusted and the door lock blocking phenomenon is alleviated. At this time, the system determines that the driving strategy is effective and continues to execute the unlocking or locking command.
[0043] S105, when the change trend of the blocking characteristic period shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic period recorded; In this step, if the number of consecutive blocking characteristic cycles shows an increasing trend, it means that the current driving strategy is not effective enough and the door lock blocking phenomenon is aggravated. At this time, the system needs to adopt a new control strategy. One feasible solution is to establish a pulse control sequence based on the shortest blocking characteristic cycle recorded previously.
[0044] Specifically, the system looks back at historical data to find the shortest recorded blocking characteristic cycle. This cycle corresponds to the situation where the door lock has the least resistance. Based on this shortest cycle, the system establishes a pulse control sequence. Each pulse in the sequence corresponds to a short-term, high-frequency motor drive. Through pulse drive, the motor can be actively interrupted before a stall occurs to avoid a long stall.
[0045] When establishing a pulse control sequence, the system needs to reasonably set pulse parameters, such as pulse width, pulse interval, number of pulses, etc. These parameters can be determined through theoretical calculations or simulation tests based on factors such as the shortest blocking characteristic cycle and motor characteristics. At the same time, in order to adapt to changes in the door lock state, the system can dynamically adjust the pulse parameters during execution to improve the control effect.
[0046] S106, controlling the motor to actively interrupt driving before stalling through a pulse control sequence; In this step, the system executes the pulse control sequence established previously and actively controls the motor interrupt drive to avoid stalling.
[0047] Specifically, after detecting that the blocking characteristic cycle is increasing, the system starts to execute the pulse control sequence. When a pulse ends, the system actively cuts off the power supply of the motor, causing the motor to stop driving for a short period of time. During the pause, the mechanical structure of the smart door lock can automatically reset and release the lagging resistance. After the pause, the system turns on the power again and executes the next pulse. This cycle continues until the entire control sequence is completed.
[0048] When performing pulse control, the system needs to accurately control the timing and duration of each pulse. To this end, the system can use a high-precision timer to generate a pulse signal and use a power drive circuit to achieve fast on-off control of the motor. At the same time, the system also needs to monitor the door lock status in real time and optimize the pulse parameters based on feedback information. For example, if the door lock is still blocked during a pulse pause period, the system can appropriately extend the pause time of the next pulse.
[0049] S107, counting the number of active interruption driving within a preset time period; In this step, the system counts the number of times the motor drive is actively interrupted within a preset period of time. This number can reflect the effect of pulse control and the operating status of the smart door lock.
[0050] Specifically, the system records the time from the start of the pulse control sequence to the current moment as the executed time. If the executed time exceeds the preset maximum time, the pulse control is stopped. During the execution process, the system records the time point of each active interruption of the motor drive and accumulates the number of interruptions. When the preset time ends, the system obtains the final interruption count result.
[0051] In order to improve the statistical timeliness, the system can regularly update the number of interruptions within a preset time. For example, the system updates the count every time a complete pulse cycle is executed or every fixed time interval. At the same time, the system can also flexibly set the length of the preset time according to different application scenarios. For example, for unlocking operations, the preset time can be set shorter; for locking operations, the preset time can be set longer.
[0052] S108, when the number of times exceeds a preset threshold, the smart door lock is controlled to give a failure prompt; In this step, the system determines whether the smart door lock fails to execute based on the number of active interrupt drives and gives corresponding prompts.
[0053] Specifically, the system compares the number of interruptions obtained by counting with the preset maximum number threshold. If the number of interruptions exceeds the maximum number threshold, the system determines that the smart door lock fails to unlock or lock. At this time, the system controls the smart door lock to issue a failure prompt to inform the user of the current status.
[0054] Failure prompts can be in various forms, such as sound prompts, light prompts, mobile phone push prompts, etc. The system can automatically select the appropriate prompt method according to the user's settings. At the same time, in order to help users analyze the cause of the failure, the system can also add some diagnostic information to the failure prompt, such as interruption counts, blocking feature cycle records, etc.
[0055] In order to avoid too frequent failure prompts, the system can set a minimum interval for failure prompts. After multiple consecutive execution failures, the system will only give a prompt again after the interval has expired. At the same time, in order to avoid false alarms, the system can also comprehensively consider other conditions when determining failure, such as whether the door lock mechanical structure is in a normal state, whether the ambient temperature is abnormal, etc. The system will only give a failure prompt when multiple conditions point to failure.
[0056] S109: When the number of times does not exceed the preset threshold, the smart door lock is controlled to complete unlocking or locking.
[0057] In this step, if the number of active interrupt drive does not exceed the preset maximum number threshold, the system determines that the smart door lock successfully performs the unlocking or locking operation. At this time, the system controls the smart door lock to complete the final unlocking or locking action and return to normal working state.
[0058] Specifically, the system stops the pulse control sequence and resumes the continuous drive of the motor. According to the original instruction of the user, the system controls the motor to rotate forward or reverse until the door lock reaches the fully open or fully closed position. During this process, the system continues to monitor the door lock status to ensure smooth and reliable opening or closing action.
[0059] After unlocking or locking, the system enters standby mode and waits for the next instruction from the user. At the same time, the system can also perform some subsequent processing, such as updating the door lock status record, uploading data to the cloud server, etc. These processing can help users further analyze the use of door locks and optimize product design.
[0060] In order to improve the fault tolerance of the system, the system can also set a buffer threshold when judging success. Even if the number of interruptions is slightly higher than the maximum number threshold, as long as it is within the buffer range, the system will consider the execution successful. This can avoid misjudgments due to accidental factors. At the same time, the system can also dynamically adjust the maximum number threshold based on historical data to better adapt it to the current usage environment and usage habits.
[0061] In the above embodiment, by detecting three consecutive motor stall signals to determine the blocking characteristic period, the abnormal state in the door lock switch process can be accurately identified. A control strategy of decreasing the driving torque in a preset proportion is adopted between two adjacent blocking characteristic periods, which reduces the mechanical damage that may be caused by the traditional fixed torque control. When it is detected that the blocking characteristic period is decreasing, it means that the current driving strategy can effectively improve the switch lock process, and the system continues to execute instructions; when it is detected that the blocking characteristic period is increasing, the system will establish a pulse control sequence based on the shortest recorded blocking characteristic period, and actively interrupt the drive before the stall occurs, thereby preventing mechanical wear caused by repeated stalls. By counting the number of active interruptions in the preset time period and comparing it with the preset threshold, the system can promptly detect and respond to persistent abnormal conditions, which not only ensures the reliability of the switch lock operation, but also reduces the damage to components caused by forced drive, thereby improving the reliability of the smart door lock while reducing costs and power consumption.
[0062] In the above embodiment, by real-time monitoring of the working signal of the door lock, a blocking characteristic cycle is established based on the motor stall characteristics, and the driving strategy is dynamically adjusted according to the changing trend of the blocking characteristic cycle. The system identifies abnormal conditions by analyzing the time intervals between adjacent stall points, reduces mechanical shock by decreasing the driving torque in a preset proportion, and promptly starts the pulse control sequence for protection when performance deterioration is detected. This adaptive control scheme effectively solves the problems of repeated stalls and mechanical damage that may occur in traditional smart door locks during the opening and closing process.
[0063] In order to further improve the service life and operational reliability of smart door locks, this application also provides a predictive maintenance method based on historical data analysis. This method realizes intelligent monitoring of the lock body state and scientific prediction of maintenance timing by systematically analyzing the performance data of the door lock during long-term operation. Different from the above-mentioned embodiments that focus on real-time control of a single lock opening and closing process, the embodiments described below pay more attention to the long-term performance change trend of the smart door lock, and provide a decision-making basis for preventive maintenance of the lock body by establishing the concept of a stable working range.
[0064] Combine the following Figure 2 , a predictive maintenance method based on historical data analysis in an embodiment of the present application is described: See also Figure 2 , which is a flow chart of a predictive maintenance method based on historical data analysis in an embodiment of the present application.
[0065] S201, obtaining a sequence of blocking characteristic cycles in previous on / off lock processes, and calculating a change rate of adjacent blocking characteristic cycles; The system obtains the blocking characteristic cycle sequence in the previous lock-on / off processes and calculates the change rate of adjacent blocking characteristic cycles. Specifically: the blocking characteristic cycle value and the corresponding ambient temperature in each lock-on / off process are recorded; Perform temperature compensation on the blocking characteristic period value according to the ambient temperature; Arrange the compensated blocking characteristic period values in chronological order to form a data sequence; Calculate the difference between two adjacent period values in the data sequence and divide it by the previous period value to get the rate of change.
[0066] In this step, the system obtains the blocking characteristic cycle data recorded during multiple opening and closing of the smart door lock, performs necessary preprocessing, and calculates the cycle change rate. The blocking characteristic cycle reflects the periodic change law of the door lock's switching resistance and is an important indicator for evaluating the operating status of the lock body. By analyzing its change trend, signs of lock body performance degradation can be discovered early.
[0067] The system can obtain historical cycle data in a variety of ways. A common implementation method is to record the blocking characteristic cycle value and the ambient temperature at the time during each lock opening and closing process, and store it as a data point in the historical database. Since temperature changes will affect the deformation of the mechanical structure and the viscosity of the lubricant, thereby interfering with the blocking characteristic cycle, it is necessary to compensate the cycle value according to the temperature before performing trend analysis. The compensated cycle value is more stable and can better reflect the performance status of the lock body itself.
[0068] After completing the temperature compensation, the system arranges all historical cycle values in the order of the lock opening and closing time to form a time series. Then, the system calculates the difference between each two adjacent cycle values in the sequence one by one, and then divides it by the previous cycle value to obtain the change rate of the adjacent cycle. The change rate reflects the relative change amplitude of the blocking characteristic cycle and is a sensitive indicator for judging the sudden change of the lock body performance.
[0069] In order to meet the needs of different scenarios, the system can introduce weight coefficients when calculating the rate of change. For example, a higher weight is given to recent periodic data, while a lower weight is given to earlier historical data, so that the analysis results pay more attention to the current state changes of the lock body. At the same time, in order to eliminate the interference of individual abnormal data, the system can also perform smoothing and filtering on the original data sequence before calculating the rate of change.
[0070] S202, when it is detected that the change rate exceeds the first change rate threshold three times in a row, marking the current time point as a characteristic turning point; In this step, the system automatically identifies the key turning points of the lock body performance by continuously judging the change rate. When the system detects that the change rate exceeds the preset first change rate threshold for three consecutive times, it determines that the lock body state has changed significantly, and marks the time point when the last time the threshold is exceeded as a characteristic turning point.
[0071] The first change rate threshold is an important parameter for determining whether the lock body performance has undergone a sudden change. The system can pre-set an empirical threshold based on the lock body's model, material, structure and other factors. When the change rate exceeds this threshold, it can be preliminarily determined that the change trend of the blocking characteristic cycle has changed and the lock body has entered a new performance state.
[0072] Considering that a single random fluctuation may cause misjudgment, the system requires that the threshold be exceeded three times in a row before it is considered a state change. The selection of the number of consecutive times requires a balance between the sensitivity and stability of the judgment. The more consecutive times, the higher the reliability of the judgment, but the confirmation time of the state change will be delayed accordingly. The system can adjust the number of consecutive judgments according to the specific application scenario.
[0073] For each identified characteristic turning point, the system can record its corresponding timestamp and blocking characteristic cycle value. These turning points divide the lock's usage history into several stages, and the performance of the lock is relatively stable in each stage. By analyzing the changing trends of characteristic cycles in different stages, a timeline model of the evolution of lock performance can be established.
[0074] S203, counting the number of switch locks between every two characteristic turning points, and taking the number of switch locks as the stable working range of the blocking characteristic cycle; In this step, the system uses two consecutive characteristic turning points as the boundary, counts the number of lock on / off times between them, and defines this number as a stable working range. The stable working range reflects the number of lock on / off times that the blocking characteristic cycle can maintain without significant changes in the lock body performance. It reflects the expected life of the lock body in the current state.
[0075] Specifically, for every two adjacent feature turning points identified, the system queries the historical database to obtain all the lock-on and lock-off records between them. By accumulating the number of these records, the length of a stable working interval is obtained. The system stores the interval length together with the corresponding start and end turning points, and constructs a lock body performance model based on the number of lock-on and lock-off times.
[0076] As the lock body is continuously used, the system continuously updates the characteristic turning points and stable working intervals. By calculating the average length, variance and other statistics of different intervals, the system can grasp the reliable working time of the lock body at different performance levels. Generally speaking, the later the stable working interval, the shorter its length will be. This reflects that after the lock body is worn and aged, its performance will gradually decline, and the stability of its state will gradually decrease.
[0077] S204: When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered.
[0078] In this step, the system monitors the change in the length of the latest stable working interval in real time. When it is lower than the preset percentage of the historical level during the same period, it is determined that the performance of the lock body has obviously declined, and a maintenance reminder is triggered in time to remind the user to maintain or replace the lock body.
[0079] Specifically, when the system identifies a new characteristic turning point, it starts to count the latest stable working interval. At the same time, the system retrieves historical data and calculates the average length of all previous stable working intervals, which is used as the baseline for measuring the performance of the lock body. When the length of the latest interval is lower than the preset percentage of the baseline (for example, 80%), the system infers that the lock body has entered a stage of rapid performance decline. If not intervened in time, there may be a risk of functional failure.
[0080] At this time, the system automatically generates a maintenance reminder record to inform the user of the performance status of the lock body and recommends that the lock body be maintained or replaced as soon as possible. The reminder information can be sent to relevant personnel through mobile app push, SMS, email, etc. At the same time, the system can also automatically generate a maintenance work order based on the user's settings and contact service personnel to come to the door to inspect the lock body.
[0081] In the above embodiment, by calculating the rate of change of adjacent blocking characteristic cycles and detecting the situation of exceeding the threshold three times in a row to mark the characteristic turning point, significant changes in the working state of the door lock can be accurately captured. The number of times the lock is switched on and off between two characteristic turning points is defined as a stable working interval. By comparing the latest stable working interval length with historical data, abnormal changes in the performance of the door lock can be discovered in a timely manner. When the latest stable working interval length is less than a preset percentage of the historical stable working interval length, a maintenance prompt is triggered, allowing the system to take preventive maintenance measures before the door lock performance deteriorates. This state monitoring method based on stable working interval analysis can effectively identify the performance degradation trend of the door lock system, achieve early warning of maintenance needs, and reduce door lock failures and safety hazards caused by untimely maintenance.
[0082] Further, in another embodiment, after the maintenance prompt is triggered when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes: Obtain all blocking characteristic cycle data within the current stable working range; All the blocking characteristic periodic data are processed in segments, and the data length of each segment is the preset sampling window; Calculate the mean, variance and skewness of the blocking characteristic period in each preset sampling window; Based on the changing trends of the mean, variance and skewness, the decay rate of the working state of the lock body is determined. Specifically, the mean sequence within the preset sampling window is differentially calculated to obtain a first-order differential sequence; Calculate the cumulative sum of the first-order difference sequence to obtain the cumulative deviation curve; Identify inflection points on the cumulative deviation curve, and use the slope between adjacent inflection points as the decay rate; Adjust maintenance intervals based on decay rate.
[0083] The system needs to extract all the records of the blocking characteristic cycle in the latest stable working range from the historical database and arrange them into a data sequence in chronological order. These data reflect the dynamic change process of the blocking characteristic cycle of the lock body under the current performance level, and contain information about the decay rate. After completing the data preprocessing, the system needs to segment the entire data sequence. The length of each segment is the preset sampling window, which can be a fixed time span (such as 1 day, 1 week) or a fixed number of lock switches (such as 100 times, 500 times). The size of the sampling window needs to be weighed and set according to factors such as the frequency of use of the lock body and the stability of the data. If the window is too small, it is difficult to reflect the overall trend, and if the window is too large, detailed information may be lost. The purpose of data segmentation is to provide a basic unit for subsequent statistical feature calculations. By sliding the sampling window, the system can generate a series of subset data sets, each of which reflects the distribution of the blocking characteristic cycle in a local range. This segmentation idea draws on the sliding window method commonly used in time series analysis, which can balance trend grasp and anomaly detection.
[0084] For each subset of the blocking characteristic cycle in the sampling window, the system calculates the three statistics of mean, variance and skewness. The mean reflects the average level of the blocking characteristic cycle in the window, the variance reflects the degree of dispersion of the blocking characteristic cycle, and the skewness reflects the asymmetry of the distribution of the blocking characteristic cycle.
[0085] The decay rate reflects the speed at which the lock body performance deteriorates and is a key parameter for formulating maintenance strategies. This embodiment proposes a method for obtaining the decay rate based on the changing trend of the blocking characteristic periodic statistics. The core of the method is to use the first-order difference of the mean sequence to establish a cumulative deviation curve and obtain the decay rate by inflection point identification.
[0086] After obtaining the decay rate of the lock body, the system can dynamically adjust the maintenance schedule to achieve more accurate and efficient preventive maintenance. Generally speaking, the higher the decay rate, the faster the lock body performance deteriorates, and the shorter the maintenance interval should be; conversely, if the decay rate is low, the lock body performance is relatively stable, and the maintenance interval can be appropriately extended.
[0087] The system needs to establish a mapping table between decay rate and maintenance interval, which can be described in the form of piecewise linear function or piecewise exponential function. At the same time, in order to avoid too frequent or too lax maintenance, the system also needs to set upper and lower limits of the maintenance interval. In practical applications, these mapping relationships and thresholds can be obtained through expert experience or machine learning methods based on factors such as the type of lock body, usage environment, and maintenance cost.
[0088] When the decay rate is detected to have changed, the system automatically queries the mapping table and adjusts the time of the next maintenance within the constraints. The adjusted maintenance plan can be sent to the service personnel and the user can be notified at the same time.
[0089] In the above embodiment, the blocking characteristic periodic data within the stable working range is segmented and statistical features are extracted to achieve a comprehensive evaluation of the working state of the lock body. By calculating the three statistical features of mean, variance and skewness within the preset sampling window, the system can characterize the working state of the lock body from multiple dimensions. The mean reflects the overall level of the blocking feature, the variance characterizes the working stability, and the skewness reflects the symmetry of the blocking feature distribution. Based on the changing trends of these three features, the system can more accurately identify the mode and speed of lock body performance degradation. By dynamically adjusting the maintenance time interval by the decay rate, the reliability of lock body performance monitoring is improved, and the maintenance strategy is made more accurate, which not only ensures the reliable operation of the smart door lock, but also optimizes the utilization efficiency of maintenance resources.
[0090] The following describes the system in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , which is a schematic diagram of the physical device structure of a fully automatic intelligent door lock control system provided in an embodiment of the present application.
[0091] It should be noted that Figure 3 The structure of the system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0092] like Figure 3 As shown, the system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0093] The following components are connected to the I / O interface 305: an input section 306 including a camera, an infrared sensor, etc.; an output section 307 including a liquid crystal display (LCD) and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0094] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0095] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0097] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the system described in the above embodiment; or may exist independently without being assembled into the system. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of a system, the system implements the method provided in the above embodiment.
[0098] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0099] As used in the above embodiments, the term "when..." may be interpreted as "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted as "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0100] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0101] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A fully automatic intelligent door lock control method, characterized in that: include: Responding to the user's unlocking command or locking command, obtaining the real-time working signal of the smart door lock; Establishing a blocking characteristic period according to the real-time working signal, wherein the blocking characteristic period is determined by the time interval after three consecutive motor stall signals are detected; At a preset time point before the second period of two adjacent blocking characteristic periods arrives, the driving torque is reduced according to a preset ratio, wherein the preset ratio is determined according to the maximum stall torque in the first blocking characteristic period; When the change trend of the blocking characteristic period shows a decreasing trend, it is determined that the current driving strategy is effective, and the unlocking or locking instruction continues to be executed; When the change trend of the blocking characteristic period shows an increasing trend, a pulse control sequence is established based on the shortest blocking characteristic period recorded; Controlling the motor to actively interrupt driving before stalling by means of the pulse control sequence; Counting the number of active interrupt drive within a preset time period, and when the number exceeds a preset threshold, controlling the smart door lock to give a failure prompt; When the number of times does not exceed the preset threshold, the smart door lock is controlled to complete unlocking or locking.
2. The method according to claim 1, characterized in that The step of establishing a blocking characteristic period according to the real-time working signal specifically includes: Identify a stall point based on a motor current signal in the real-time working signal, and compare a speed value corresponding to the stall point with a preset speed threshold; When the speed value is greater than the preset speed threshold, it is determined to be a valid stall point; Calculating the time interval between two adjacent effective stall points, and taking the time interval as a stall characteristic period; A weighted average is performed on three consecutive blocking characteristic periods to obtain a final blocking characteristic period.
3. The method according to claim 1, characterized in that The step of decreasing the driving torque according to a preset ratio specifically includes: Obtain the stall torque curve within the first blocking characteristic cycle; identifying a maximum stall torque point and a minimum stall torque point in the stall torque curve; Calculating the difference between the maximum stall torque and the minimum stall torque, dividing the difference by a preset number of decrements to obtain a torque step for each decrement, wherein the torque step is a preset ratio; Starting from a preset time point before the second blocking characteristic period arrives, the driving torque is gradually reduced according to the preset ratio.
4. The method according to claim 1, characterized in that: After controlling the smart door lock to unlock or lock when the number of times does not exceed the preset threshold, the method further includes: Obtaining the blocking characteristic period sequence in each switch lock process, and calculating the change rate of adjacent blocking characteristic periods; When it is detected that the change rate exceeds the first change rate threshold three times in a row, marking the current time point as a characteristic turning point; Counting the number of switch locks between every two characteristic turning points, and using the number of switch locks as the stable working interval of the blocking characteristic period; When the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, a maintenance prompt is triggered.
5. The method according to claim 4, characterized in that The calculating the change rate of adjacent blocking characteristic periods specifically includes: Recording the blocking characteristic period value and the corresponding ambient temperature during each switch lock process; Performing temperature compensation on the blocking characteristic period value according to the ambient temperature; Arrange the compensated blocking characteristic period values in chronological order to form a data sequence; The difference between two adjacent period values in the data sequence is calculated, and divided by the previous period value to obtain the rate of change.
6. The method according to claim 4 or 5, characterized in that: After triggering the maintenance prompt when the length of the latest stable working interval is less than a preset percentage of the length of the historical stable working interval, the method further includes: Obtain all blocking characteristic cycle data within the current stable working range; Processing all the blocking characteristic periodic data in segments, with the length of each segment being a preset sampling window; Calculating the mean, variance and skewness of the blocking characteristic period in each of the preset sampling windows; Determining a decay rate of a lock body working state based on a change trend of the mean, the variance, and the skewness; A maintenance time interval is adjusted based on the decay rate.
7. The method according to claim 6, characterized in that Determining the decay rate of the lock body working state based on the change trend of the mean, the variance and the skewness specifically includes: Performing a difference operation on the mean sequence within the preset sampling window to obtain a first-order difference sequence; Calculating the cumulative sum of the first-order difference sequence to obtain a cumulative deviation curve; Inflection points are identified on the cumulative deviation curve, and the slopes between adjacent inflection points are taken as the decay rate.
8. A fully automatic intelligent door lock control system, characterized in that: The system comprises: One or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the system to execute the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a system, the system is caused to execute the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is run on a system, the system is caused to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Full-automatic intelligent door lock control method, system, device, equipment and medium
CN116386176A
Manual and automatic dual-drive intelligent lock
CN209538863U
Smart lock control method, smart lock control system, and smart lock
WO2023231968A1
Cited By
Electric power facility intelligent lock management and control method based on multi-dimensional authority data processing
CN120236347A
A method for controlling smart locks of power facilities based on multi-dimensional authority data processing
CN120236347B