A method and system for detecting movement state of a garage door

By presetting data sensors and mobile device information in the garage door, communication and docking between the garage door and the mobile device is realized, image data and speed parameters are obtained through the camera and six-axis sensor, and the tilt angle and opening and closing percentage of the garage door are calculated, the problem of the lack of remote control and status feedback functions of the old garage door is solved, real-time monitoring and control of the garage door is realized, and safety hazards are reduced.

CN119026066BActive Publication Date: 2025-03-21WUXI FORCE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411517289.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-03-21
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

The old garage door lacks remote control and status feedback functions, which makes it impossible for users to monitor and control the status of the garage door in real time, posing safety hazards.

Method used

By presetting data sensors and mobile device information in the garage door, communication docking between the garage door and the mobile device is realized, the opening and closing state of the garage door is generated in real time, and image data and speed parameters are obtained through the camera and six-axis sensors, and the tilt angle and opening and closing percentage of the garage door are calculated.

Benefits of technology

Users can check the opening and closing status of the garage door anytime and anywhere in real time, reducing safety hazards, improving property protection, and improving equipment usage efficiency and life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026066B_ABST
    Figure CN119026066B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for detecting the movement state of a garage door, which are applied to the field of sensor data processing. Through information communication between a data sensor preset in the garage door and a mobile device, the present invention allows a user to check the opening and closing state of the garage door in real time anytime and anywhere. This real-time monitoring function enables the user to ensure that the garage door is in a safe state when the user is out, so that the user no longer needs to rely on visual inspection or traditional switches, thereby reducing the safety hazards caused by forgetting to close the door or opening the door by mistake and improving the protection of property.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of sensor data processing, and in particular to a method and system for detecting the motion state of a garage door. Background Art

[0002] Many old-style garage door control systems on the market today cannot be integrated with modern IoT technologies. These old-style garage doors usually lack remote control and status feedback functions, which makes it impossible for users to monitor and control the status of the garage door in real time through smart devices. This limitation not only reduces user convenience, but may also pose a safety hazard when the door is not fully closed. Summary of the invention

[0003] The present invention aims to solve the problem that users cannot monitor and control the status of garage doors in real time due to the lack of remote control and status feedback functions of old garage doors, and provides a method and system for detecting the movement status of garage doors.

[0004] The present invention adopts the following technical means to solve the technical problem:

[0005] The present invention provides a method for detecting the motion state of a garage door, comprising:

[0006] Based on the data sensor preset in the garage door, the mobile device information pre-recorded by the garage door is activated, the user's mobile device is adaptively selected according to the mobile device information, the garage door is communicated and connected with the mobile device, and the opening and closing status of the garage door is generated in real time from the mobile device;

[0007] Determining whether the opening and closing state matches the real-time state of the garage door;

[0008] If not, then according to the external camera device pre-connected in the garage door, the image data of the garage door is obtained, and the speed parameters of the garage door when opening and closing are collected by using the preset six-axis sensor in the garage door, and the inclination angle of the garage door when opening and closing is calculated based on the image data and the speed parameters, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity, and the calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters is specifically that the user sends a door opening command through a mobile device, and the garage door starts to open. During the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door;

[0009] Determining whether the tilt angle is greater than a preset angle;

[0010] If it is greater than, then according to the tilt angle and the preset physical characteristics of the garage door, the opening and closing percentage of the garage door after completing the movement state is calculated, the opening and closing correction range of the garage door is detected according to the opening and closing percentage, and the opening and closing correction range is transmitted to the mobile device, wherein the physical characteristics specifically include movement rate, garage door height and angle range, and the calculation of the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, movement rate and real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying the preset formula to calculate the opening and closing percentage.

[0011] Furthermore, the step of acquiring the image data of the garage door based on the external camera device pre-connected in the garage door further includes:

[0012] Receiving video data of the garage door from the mobile device based on a user's pre-selected image perspective of the garage door;

[0013] Determining whether the mobile device supports a preset protocol for the video data;

[0014] If so, the video data is compressed according to a preset encoding format to generate encoded data of the video data, the encoded data is divided into a preset number of data packets, the data packets are reassembled in a preset order by the data sensor, the video stream corresponding to the data packets is obtained by combination, and the video stream is transmitted to the mobile device.

[0015] Furthermore, before the step of calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameter, the step further includes:

[0016] Based on the image viewing angle corresponding to the image data, the pre-recorded coordinate system information is substituted into the image viewing angle, and the tilted initial orientation of the garage door is identified from the image viewing angle;

[0017] Determining whether the initial tilted position continues to tilt within a preset time point;

[0018] If so, mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when completing the opening and closing according to the speed range, and transmit the tilt opening and closing point to the mobile device.

[0019] Furthermore, the step of determining whether the opening and closing state matches the real-time state of the garage door further includes:

[0020] Based on the opening and closing data type preset by the data sensor, the opening and closing data collected by the data sensor are annotated to generate a real-time opening and closing data set of the garage door, and the real-time opening and closing data set is compared with the pre-collected historical learning data to obtain the operation difference information of the real-time opening and closing data, wherein the opening and closing data type specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed;

[0021] Determining whether the operation difference information exceeds a preset threshold;

[0022] If so, a filtering algorithm is applied to smooth the operation difference information to remove high-frequency noise in the operation difference information, and according to a preset movement guidance time period of the garage door, acceleration information and speed information of the movement guidance time period are extracted from the operation difference information.

[0023] Furthermore, after the step of extracting the acceleration information and the speed information of the motion guidance time period from the operation difference information, the step further includes:

[0024] Applying a preset numerical integration method to perform single-integral calculation and double-integral calculation on the acceleration information and the velocity information, obtaining an integration result of the garage door in the motion guiding time period, and identifying a displacement value of the garage door from the integration result;

[0025] Determining whether the displacement value matches a preset interval value;

[0026] If so, the operating state of the garage door is generated according to the preset interval value, wherein the operating state specifically includes movement in an opening direction and movement in a closing direction.

[0027] Furthermore, the step of detecting the opening and closing correction range of the garage door according to the opening and closing percentage and transmitting the opening and closing correction range to the mobile device further includes:

[0028] Based on the error range preset by the user for the garage door, obtaining the opening and closing completion status of the garage door;

[0029] Determining whether the opening and closing completion state matches the movement state preset by the user for the garage door;

[0030] If not, the remaining opening and closing data of the garage door are generated in real time, the abnormal opening and closing information of the garage door is identified, and the remaining opening and closing data and the abnormal opening and closing information are transmitted to the mobile device.

[0031] Furthermore, the step of communicating and docking the garage door with the mobile device and generating the opening and closing status of the garage door in real time from the mobile device further includes:

[0032] Based on the preset sound wave detection of the garage door, detecting the tag signal of the mobile device;

[0033] Determining whether the tag signal is within a preset range;

[0034] If so, the garage door is opened and closed adaptively according to the signal source direction of the tag signal, the delay time after the vehicle enters and exits the garage door is obtained in real time, and the garage door is adaptively closed according to the delay time or the user's preset instructions.

[0035] The present invention also provides a garage door motion state detection system, comprising:

[0036] An activation module is used to activate the mobile device information pre-recorded by the garage door based on the data sensor preset in the garage door, adaptively select the user's mobile device according to the mobile device information, communicate and connect the garage door with the mobile device, and generate the opening and closing status of the garage door in real time from the mobile device;

[0037] A judgment module, used to judge whether the opening and closing state matches the real-time state of the garage door;

[0038] an execution module, for, if not, obtaining image data of the garage door according to an external camera pre-connected in the garage door, applying a six-axis sensor preset in the garage door, collecting speed parameters of the garage door when opening and closing, and calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameters, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity, and the calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters specifically includes that a user sends a door opening command through a mobile device, the garage door starts to open, during the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door;

[0039] A second judging module, used to judge whether the tilt angle is greater than a preset angle;

[0040] The second execution module is used to calculate the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door if it is greater than, detect the opening and closing correction range of the garage door according to the opening and closing percentage, and transmit the opening and closing correction range to the mobile device, wherein the physical characteristics specifically include movement rate, garage door height and angle range, and the calculation of the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, movement rate and real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying a preset formula to calculate the opening and closing percentage.

[0041] Furthermore, the execution module also includes:

[0042] A receiving unit, configured to receive video data of the garage door from the mobile device based on an image perspective pre-selected by a user for the garage door;

[0043] A determination unit, configured to determine whether the mobile device supports a preset protocol for the video data;

[0044] An execution unit is used to compress the video data according to a preset encoding format, generate encoded data of the video data, divide the encoded data into a preset number of data packets, reassemble the data packets in a preset order through the data sensor, combine to obtain a video stream corresponding to the data packets, and transmit the video stream to the mobile device.

[0045] Furthermore, it also includes:

[0046] A recognition module, configured to substitute the pre-recorded coordinate system information into the image viewing angle corresponding to the image data, and recognize the initial tilt position of the garage door from the image viewing angle;

[0047] A third judgment module is used to judge whether the tilted initial azimuth continues to tilt within a preset time point;

[0048] The third execution module is used to mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when the opening and closing is completed according to the speed range, and transmit the tilt opening and closing point to the mobile device.

[0049] The present invention provides a method and system for detecting the motion state of a garage door, which has the following beneficial effects:

[0050] Through information communication between the data sensor preset in the garage door and the mobile device, the present invention allows the user to check the opening and closing status of the garage door in real time anytime and anywhere. This real-time monitoring function allows the user to ensure that the garage door is in a safe state when going out, so that the user no longer needs to rely on visual inspection or traditional switches, reducing the safety hazards caused by forgetting to close the door or opening the door by mistake, and improving the protection of property. At the same time, the camera device and six-axis sensor connected to one side of the garage door can collect image data and motion parameters of the door body, such as acceleration and angular velocity, in real time. Combined with these data, the inclination angle and motion state of the door body can be accurately calculated. The user can identify abnormal situations in time, and through real-time data feedback, the user can better understand the state of the door and make automatic adjustments when necessary, thereby improving the use efficiency and life of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A schematic flow chart of an embodiment of a method for detecting a garage door motion state according to the present invention;

[0052] Figure 2 The structure block diagram of one embodiment of the garage door motion state detection system of the present invention. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The implementation of the objectives, functional features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Reference Figure 1 , is a method for detecting the motion state of a garage door in an embodiment of the present invention, comprising:

[0056] S1: Based on the data sensor preset in the garage door, activate the mobile device information pre-recorded by the garage door, adaptively select the user's mobile device according to the mobile device information, connect the garage door to the mobile device for communication, and generate the opening and closing status of the garage door in real time from the mobile device;

[0057] S2: Determine whether the opening and closing state matches the real-time state of the garage door;

[0058] S3: If not, then according to the external camera device pre-connected in the garage door, the image data of the garage door is obtained, and the speed parameters of the garage door when opening and closing are collected by using the preset six-axis sensor in the garage door. Based on the image data and the speed parameters, the inclination angle of the garage door when opening and closing is calculated, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity. The calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters is specifically that the user sends a door opening command through a mobile device, the garage door starts to open, during the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door;

[0059] S4: Determine whether the tilt angle is greater than a preset angle;

[0060] S5: If it is greater than, then according to the tilt angle and the preset physical characteristics of the garage door, the opening and closing percentage of the garage door after completing the movement state is calculated, the opening and closing correction range of the garage door is detected according to the opening and closing percentage, and the opening and closing correction range is transmitted to the mobile device, wherein the physical characteristics specifically include movement rate, garage door height and angle range, and the calculation of the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, movement rate and real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying a preset formula to calculate the opening and closing percentage.

[0061] In this embodiment, the system activates the mobile device information pre-recorded in the garage door based on the data sensor pre-installed in the garage door, adaptively selects the user mobile device that has been connected before according to the mobile device information, connects the garage door to the user mobile device for communication, generates the opening and closing status of the garage door in real time from the user mobile device, and then the system determines whether the opening and closing status matches the real-time status of the garage door to execute the corresponding steps; for example, when the system determines that the opening and closing status of the garage door can match the real-time status of the garage door, the system will consider that the communication and status synchronization between the garage door and the mobile device are normal, indicating that each module such as the sensor, control logic and device connection is working normally, and there is no false alarm, sensor failure or data In the event of transmission interruption, the system will maintain the current state without taking additional actions, continue to monitor the status of the garage door through the mobile device, maintain standby mode, ensure responsiveness when the next user operates, and adjust to low power mode at the same time, stop unnecessary frequent operations of sensors or communication modules, and wait for new user instructions or status changes. Users can still check the status of the garage door at any time through the mobile device, or initiate new opening and closing requests, and the operation results are fed back to the user through notifications or status indicators on the mobile device (such as "garage door is closed" or "garage door is open"); for example, when the system determines that the opening and closing status of the garage door cannot match the real-time status of the garage door, the system will consider that the communication and status between the garage door and the mobile device are abnormal. The system will record the image data of the garage door on one side based on the external camera device pre-connected in the garage door. The image data specifically includes opening and closing images and closed images. The six-axis sensor pre-installed in the garage door is used to collect the speed parameters of the garage door when it is opened and closed. The speed parameters specifically include acceleration and angular velocity. Based on the image data and speed parameters, the tilt angle of the garage door when it is opened and closed is calculated. The system obtains image data through the external camera device and uses the motion data (acceleration and angular velocity) collected by the six-axis sensor. The system can accurately determine whether there is a physical problem with the garage door, such as movement obstruction, offset, or abnormal opening / closing, to avoid safety hazards or equipment failures caused by user misjudgment. The image data and speed parameters combined with the speed parameters (acceleration and angular velocity) provide multi-dimensional information on the movement status of the garage door, enabling the system to analyze the actual situation of the garage door more comprehensively. This not only improves the accuracy of abnormal detection, but also avoids the misjudgment that may be caused by relying on a single data source (such as image or sensor data), thereby improving the reliability of the system. Based on the image data and speed parameters, the system can calculate the inclination angle of the garage door, which is crucial for detecting whether the garage door is operating normally. If the garage door tilts during the opening and closing process, it may mean that the door body is subject to resistance, equipment wear, or structural instability. The system can detect these problems in time through the inclination angle, which helps to take appropriate measures before the problem occurs to prevent further damage or accidents.The system then determines whether the tilt angle of the garage door when it is opened and closed is greater than a preset angle to execute corresponding steps; for example, when the system determines that the tilt angle of the garage door when it is opened and closed is not greater than a preset angle, the system will consider that the garage door has maintained a stable posture during the opening and closing process, and the operation process is normal. The system will continue to monitor the operation of the garage door and maintain normal operation without taking any additional measures. It will continue to track relevant data to ensure the safety and smoothness of subsequent operations, and record this status at the same time to reduce unnecessary false alarms and user alarms, improve user experience, avoid unnecessary concerns, and maintain a regular detection mechanism to continuously collect data on the tilt angle and other related parameters for subsequent analysis and adjustment; for example, when the system determines that the tilt angle of the garage door when it is opened and closed is greater than a preset angle, the system will consider that the garage door is tilted too severely during the opening and closing process, which will cause damage to the garage door. The system will detect the tilt angle and the preset physical characteristics of the garage door according to the tilt angle. The physical characteristics specifically include the movement rate, door height and angle range, calculate the opening and closing percentage of the garage door after the movement state is completed, detect the opening and closing correction range of the garage door according to different opening and closing percentages, and transmit the opening and closing correction range to the mobile device; the system timely identifies and responds to excessive tilt, reduces the risk of damage to the garage door due to abnormal opening and closing, thereby extending the service life of the equipment, and takes protective measures in time to prevent the door body from being deformed or damaged due to excessive tilt. At the same time, by calculating the opening and closing percentage, the system can evaluate the working state of the garage door to ensure that the opening and closing action is within a reasonable range, which helps to realize the intelligent correction mechanism. The detection of the opening and closing percentage can provide a basis for subsequent adjustment and maintenance, ensure that the garage door is always in the best working state, and identify the tilt problem in time to ensure that the garage door will not cause potential harm to the user or the surrounding environment during the opening and closing process, thereby improving safety. By setting alarms or automatically stopping the opening and closing action, users are prevented from operating in dangerous conditions to protect user safety. ;

[0062] It should be noted that a six-axis sensor preset in the garage door is used to collect speed parameters of the garage door when it is opened and closed, and based on the image data and the speed parameters, the inclination angle of the garage door when it is opened and closed is calculated. The specific examples are as follows:

[0063] Suppose you have a garage door and are using an intelligent monitoring system to detect its opening and closing status. The garage door is embedded with a six-axis sensor and an external camera, and the system wants to monitor the door's tilt angle in real time to ensure safety and normal operation;

[0064] 1. Data collection, start opening and closing actions:

[0065] The user sends a door opening command through the mobile device, and the garage door starts to open.

[0066] Sensor data logging:

[0067] During the startup process, the six-axis sensor starts collecting data:

[0068] Acceleration:

[0069] (Horizontal movement along the door)

[0070] (Vertical Movement)

[0071] Angular velocity:

[0072] (rotate clockwise)

[0073] 2. Image data acquisition, image capture:

[0074] During the opening and closing process, the camera captures an image once per second. The system analyzes key frames to detect the actual state of the door. For example, if a frame shows that the garage door is slightly tilted on the left side, the system marks this point for further analysis.

[0075] 3. Tilt angle calculation, during the calculation process,

[0076] First, using the acceleration data:

[0077]

[0078] Insert acceleration data:

[0079]

[0080] Combined with the angular velocity, assuming that in the past 1 second, the effect of the angular velocity on the tilt angle is:

[0081]

[0082] Total tilt angle, combine the two parts to get the total tilt angle:

[0083]

[0084] 4. Judge and respond, assess the tilt angle:

[0085] If the system preset safety threshold is 30 degrees, when the calculated value is 39 degrees, the system will think that the door is tilted too much;

[0086] The response measure is that the system automatically sends an alert to the user's mobile device to remind the user to pay attention to:

[0087] "Warning: Garage door is tilted too much, please check it immediately!";

[0088] As an additional measure, the system may automatically stop the opening and closing action to avoid further damage, and record the tilt angle and related data to provide a basis for subsequent analysis;

[0089] 5. Recording and analysis, data recording:

[0090] The system stores the tilt angle, acceleration, angular velocity and corresponding image data in a database for future reference. By analyzing historical data, the system can identify the tilt pattern of the garage door under specific conditions to help optimize the design and adjust usage habits.

[0091] In summary, the system can accurately calculate the opening and closing percentage of the garage door by combining the tilt angle with the preset physical characteristics. This not only improves the safety and reliability of the garage door, but also can issue an alarm in time when an abnormal state occurs to ensure the safety of users and equipment. This method helps to optimize the design and use of garage doors and improve user experience.

[0092] It should be added that, according to the tilt angle and the preset physical characteristics of the garage door, the opening and closing percentage of the garage door after completing the motion state is calculated, and the specific example is as follows:

[0093] Assume that there is a garage door and the system can monitor the status of the door in real time. The following parameters have been set:

[0094] Door height (H): 2.5 meters;

[0095] Movement speed (v): 0.5 m / s;

[0096] Preset maximum tilt angle (R): 30 degrees;

[0097] Real-time detected tilt angle (θ): 15 degrees (obtained by a six-axis sensor);

[0098] The steps to calculate the opening and closing percentage include:

[0099] 1. Parameter description,

[0100] Door height (H): This is the height of the garage door from the ground to the fully open state, which affects the intuitive understanding of the opening and closing percentage;

[0101] Movement rate (v): The speed at which the garage door opens or closes, used to evaluate the door’s opening and closing efficiency;

[0102] Maximum tilt angle (R): This is the safety threshold set by the system to ensure that the garage door does not tilt excessively during opening and closing;

[0103] Real-time tilt angle (θ): The inclination of the door obtained by the sensor in real time, which is used to calculate the actual opening and closing status;

[0104] 2. The calculation formula of opening and closing percentage,

[0105] The opening and closing percentage (P) can be calculated by the following formula:

[0106]

[0107] 3. Specific calculation steps, substitute parameters:

[0108] Substitute the real-time tilt angle and the preset maximum tilt angle:

[0109]

[0110] Calculate the fractional part:

[0111]

[0112] Substitute to calculate the opening and closing percentage:

[0113]

[0114] The result explains that the opening and closing percentage is 50%, which means that the garage door has reached half of its fully open or fully closed state during the opening or closing process;

[0115] 4. System feedback and follow-up measures, the opening and closing status is normal:

[0116] The system can confirm that the garage door is operating normally because the tilt angle is within the preset range and the opening and closing percentage is reasonable. By recording this status, the garage door operation log is updated for subsequent analysis;

[0117] Monitoring trend: The system continuously monitors the tilt angle. If the next detected tilt angle becomes 20 degrees (hypothetically), it recalculates:

[0118]

[0119] If the opening and closing percentage drops to 33.33%, the system will sound an alarm, prompting the user to check the garage door for possible deviation or failure.

[0120] 5. Example analysis, fully enabled:

[0121] If the garage door is fully open (assuming that θ is 0 at this time), the opening and closing percentage is calculated as:

[0122]

[0123] This indicates that the door is fully open and operating normally;

[0124] Out of safety range: If the detected tilt angle increases to 35 degrees, exceeding the preset maximum angle:

[0125]

[0126] If the opening and closing percentage is a negative value, the system will immediately sound an alarm and stop the door operation to ensure safety;

[0127] In summary, the above detailed examples show how to calculate the opening and closing percentage of the garage door based on the tilt angle and physical characteristics. This not only improves the intelligent monitoring capabilities of the garage door, but also can issue an alarm in time when an abnormality occurs to ensure the safety of the user and the stability of the equipment. This systematic monitoring method helps to improve the user experience and long-term maintenance of the garage door.

[0128] In this embodiment, the step S3 of acquiring image data of the garage door according to the external camera device pre-connected in the garage door further includes:

[0129] S31: receiving video data of the garage door from the mobile device based on an image perspective pre-selected by a user for the garage door;

[0130] S32: Determine whether the mobile device supports the preset protocol of the video data;

[0131] S33: If yes, compress the video data according to a preset encoding format to generate encoded data of the video data, divide the encoded data into a preset number of data packets, reassemble the data packets in a preset order through the data sensor, combine to obtain a video stream corresponding to the data packets, and transmit the video stream to the mobile device.

[0132] In this embodiment, the system receives the opening and closing video data of the garage door from the user's mobile device based on the image perspective of the garage door pre-selected by the user, and then the system determines whether the user's mobile device supports the preset protocol of the video data to execute the corresponding steps; for example, when the system determines that the user's mobile device cannot support the preset protocol of the video data, the system will consider that the user's device may not be able to effectively receive or play the opening and closing video data of the garage door, and the system will send a notification to the user's mobile device, informing that the device does not support the current video data protocol, which may result in the inability to watch the real-time video of the garage door, and prompting the user to select low resolution or different formats (such as MP4, AVI, etc.) options, and automatically switch to the current video format. Switch to static image streaming mode, and regularly send the latest image data of the garage door to maintain the user's basic monitoring function; for example, when the system determines that the user's mobile device can support the preset protocol of video data, the system will assume that the user's device can play the opening and closing video data of the garage door, and the system will compress the opening and closing video data according to the preset encoding format, generate encoded data of the opening and closing video data, cut the encoded data into a preset number of data packets, reorganize the data packets in a preset order through data sensors, combine to obtain the video stream corresponding to the data packets, and transmit the video stream to the mobile device; the system compresses the opening and closing video data to reduce the amount of data, thereby speeding up the transmission speed. This allows users to receive video streams smoothly even when network bandwidth is limited or unstable. At the same time, the use of pre-set encoding formats can optimize the balance between video quality and file size, ensuring that users get clear pictures and reduce latency when watching. By dividing the encoded data into data packets and reorganizing them in sequence, users can watch the opening and closing status of the garage door in real time, which provides instant feedback and enhances the convenience and sense of security of monitoring. Dividing the video data into multiple data packets helps to achieve higher flexibility in the transmission process. For example, if some data packets are lost during transmission, the system can still ensure the complete video stream through retransmission or remedial measures, and dynamically adjust the video quality or data packet size according to the user's network conditions to ensure that valid video data can still be transmitted under poor network conditions.

[0133] It should be noted that, according to a preset encoding format, the video data is compressed to generate encoded data of the video data, the encoded data is divided into a preset number of data packets, the data packets are reassembled in a preset order by the data sensor, and the video stream corresponding to the data packets is obtained by combination. The specific examples are as follows:

[0134] Assume that a user wants to view a garage door opening and closing video on a mobile device. The entire process is as follows:

[0135] 1. Video data compression, original video information:

[0136] Video length: 10 seconds;

[0137] Resolution: 1920x1080 (1080p);

[0138] Original file size: 10MB;

[0139] Select the encoding format: Select the H.264 encoding format, as it effectively reduces the file size while maintaining the video quality;

[0140] Compression processing: The system removes redundant frames and similar areas in the video and performs quantization processing; after compression, the file size becomes 2MB, and the compression ratio is 5:1;

[0141] 2. Generate encoded data and encode output:

[0142] Convert the compressed video to an MP4 file named garage_door_opening.mp4;

[0143] File information includes: video encoding (H.264), audio encoding (AAC), frame rate (30fps);

[0144] 3. Split the data packets and preset the number of data packets:

[0145] The system divides the video data into 8 data packets by default according to the network bandwidth and latency;

[0146] Segmentation process: 2MB of encoded data is segmented into 8 packets, each of which is approximately 256KB in size;

[0147] The data packets after segmentation are as follows:

[0148] Packet 1: data from 1st to 256KB;

[0149] Packet 2: 257-512KB of data;

[0150] Packet 3: data from 513 to 768 KB;

[0151] Packet 4: data from 769 to 1024 KB;

[0152] Packet 5: 1025-1280KB of data;

[0153] Packet 6: data from 1281 to 1536 KB;

[0154] Package 7: data from 1537 to 1792 KB;

[0155] Package 8: 1793-2048KB of data;

[0156] 4. Data packet transmission, sensor selection:

[0157] The system chooses to transmit data via Wi-Fi. The transmission process is as follows:

[0158] Each data packet is sent to the user's mobile device one by one in sequence;

[0159] For example, the data packet transmission order is: packet 1, packet 2, packet 3, packet 4, packet 5, packet 6, packet 7, packet 8;

[0160] 5. Packet reassembly, receive packets:

[0161] When the user device receives a data packet, it uses the preset packet sequence number (for example: 1 to 8) to perform a sequence check.

[0162] Reassembly process: Once all 8 data packets are successfully received, the user device starts reassembly. The device merges the data packets according to the sequence number to generate complete encoded video data;

[0163] 6. Combine video streams and generate video streams:

[0164] The user device parses the reassembled data stream into a complete video stream, forming garage_door_opening.mp4;

[0165] Decoding and playback:

[0166] The user device calls a decoder (such as FFmpeg) to decode the video stream. The user can play the video smoothly on the mobile device to view the opening and closing process of the garage door.

[0167] In summary, the above examples demonstrate the entire process from video data compression to end-user playback. This efficient processing ensures that the video can be transmitted smoothly in a network environment, improves the user experience, and meets the needs of real-time monitoring of the garage door status.

[0168] In this embodiment, before the step S3 of calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameter, the method further includes:

[0169] S301: Based on an image viewing angle corresponding to the image data, substituting pre-recorded coordinate system information into the image viewing angle, and identifying an initial tilt position of the garage door from the image viewing angle;

[0170] S302: Determine whether the initial tilted position continues to tilt within a preset time point;

[0171] S303: If so, mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when the opening and closing is completed according to the speed range, and transmit the tilt opening and closing point to the mobile device.

[0172] In this embodiment, the system substitutes the pre-recorded coordinate system information into the image perspective based on the image perspective corresponding to the image data, identifies the initial tilt position of the garage door from the image perspective, and then determines whether the initial tilt position continues to tilt within a preset time point to execute the corresponding steps; for example, when the system determines that the initial tilt position of the garage door does not continue to tilt within the preset time point, the system will believe that although the garage door initially tilted during the opening and closing movement, it did not tilt during the subsequent opening and closing movement, and the system will continue to monitor the tilt state of the garage door to ensure that In the subsequent opening and closing process, any abnormal tilt is captured in time, and a reasonable monitoring interval is set, such as once per second, to improve the monitoring accuracy. At the same time, a notification is sent to the user's mobile device to inform that the garage door is currently in normal status and there is no continuous tilt during the opening and closing process. The monitoring data is analyzed regularly to identify any potential trends. If there have been multiple tilting phenomena before, the user is reminded to pay attention to whether there are external influencing factors (such as temperature, humidity, foundation settlement, etc.); for example, when the system determines that the initial tilt position of the garage door continues to tilt within a preset time point, the system will consider that the garage door is in the process of opening and closing. When the garage door is opened and closed, it tilts and cannot be completely opened and closed, causing damage to the garage door. The system will mark the preset tilt reference point in the image perspective, obtain the speed range of the garage door when opening and closing through the tilt reference point, and generate the tilt opening and closing points when the garage door is completed according to different speed ranges. These tilt opening and closing points are transmitted to the user's mobile device; the system promptly identifies the tilt problem of the garage door during the opening and closing process, thereby preventing further damage or failure. This real-time monitoring can greatly reduce potential maintenance costs and downtime. At the same time, by detecting the tilt, the system can prevent the garage door from Accidents caused by tilting, such as the door falling or pinching the user, are prevented by this preventive measure, which improves the safety of the user. By generating tilt opening and closing points, specific maintenance suggestions can be provided to the user. For example, the user can be prompted to check whether certain parts are damaged, or perform necessary lubrication and adjustments. The tilt opening and closing points are transmitted to the user's mobile device, allowing the user to understand the status of the garage door in real time, enhancing the user's trust and sense of control over the system. By obtaining the speed range and tilt opening and closing points of the garage door, data analysis can be performed to identify the cause of the tilt, thereby optimizing the garage door design and control strategy to improve overall performance.

[0173] It should be noted that the specific examples are as follows:

[0174] First, obtain the image data and coordinate system information. Assume that the image captured by the camera in real time is as follows:

[0175] The height of the left edge is 400 pixels;

[0176] The height of the right edge is 350 pixels;

[0177] The image resolution is 1920x1080 pixels, which means the image width is 1920 pixels and the height is 1080 pixels;

[0178] Coordinate system setting:

[0179] The origin (0,0) is located in the upper left corner, so the coordinate system is set as: upper left corner (0,0), lower right corner (1920,1080);

[0180] Identify the initial tilt position, and identify the initial tilt position:

[0181] By analyzing the image, the system recognizes that the left edge of the garage door (400 pixels) is higher than the right edge (350 pixels), and can determine that the garage door is tilted to the right, and the initial tilt direction is tilted to the lower right side;

[0182] Mark the tilt reference point:

[0183] The system marks reference points on the image: left edge reference point: (0,400), right edge reference point: (1920,350) and center reference point: (960,375);

[0184] Get speed range, six-axis sensor data:

[0185] The system monitors the acceleration and angular velocity of the garage door in real time during opening and closing. The collected data are as follows:

[0186] Speed ​​at start-up: 0 m / s;

[0187] Intermediate speed: 1.5 m / s;

[0188] Closing speed: 0.5 m / s;

[0189] Speed ​​range setting, by analyzing these data, the system determines the speed range to be 0 m / s to 1.5 m / s;

[0190] Generate tilt opening and closing points, and generate tilt points according to speed:

[0191] The system generates tilt opening and closing points according to different speeds and reference points. Assume that the defined tilt angles are as follows:

[0192] Speed ​​0.5 m / s: tilt angle 2 degrees;

[0193] Speed ​​1.0 m / s: tilt angle 4 degrees;

[0194] Speed ​​1.5 m / s: tilt angle 6 degrees;

[0195] Tilt opening and closing points, associate the speed with the tilt angle, and the generated tilt opening and closing points are:

[0196] At a speed of 0.5 m / s, the tilt opening and closing points are (960, 375) and the tilt angle is 2 degrees;

[0197] At a speed of 1.0 m / s, the tilt opening and closing points are (960, 370), and the tilt angle is 4 degrees;

[0198] At a speed of 1.5 m / s, the tilt opening and closing points are (960, 360), and the tilt angle is 6 degrees;

[0199] Example of the overall process, the user opens and closes the garage door:

[0200] When the user starts the operation, the garage door starts to open from the closed state (the bottom edge is in contact with the ground). The system analyzes the image data and speed parameters of the garage door in real time, calculates its initial tilt position and speed range, and records the initial tilt position as the lower right side, generating the tilt opening and closing points. Based on the speed parameters, the system generates tilt opening and closing points at different speeds to ensure that the door body will not be damaged due to tilting during the opening and closing process. Finally, the system provides real-time feedback to the user, and transmits these tilt opening and closing points to the user's mobile device. The user can view the real-time status and tilt of the garage door through the application;

[0201] In summary, the above examples demonstrate how to use image data and speed parameters to identify the initial tilt position of the garage door, mark reference points, and generate tilt opening and closing points. This process not only provides real-time monitoring, but also ensures that the garage door remains safe during the opening and closing process to avoid damage.

[0202] In this embodiment, the step S2 of determining whether the opening and closing state matches the real-time state of the garage door further includes:

[0203] S21: Based on the opening and closing data type preset by the data sensor, annotate the opening and closing data collected by the data sensor to generate a real-time opening and closing data set of the garage door, and compare the real-time opening and closing data set with the pre-collected historical learning data to obtain operation difference information of the real-time opening and closing data, wherein the opening and closing data type specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed;

[0204] S22: Determine whether the operation difference information exceeds a preset threshold;

[0205] S23: If yes, apply a filtering algorithm to smooth the operation difference information to remove high-frequency noise in the operation difference information, and extract the acceleration information and speed information of the motion guidance time period from the operation difference information according to the preset motion guidance time period of the garage door.

[0206] In this embodiment, the system labels the opening and closing data collected by the data sensor based on the opening and closing data type pre-set by the data sensor, which specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed, generates a real-time opening and closing data set of the garage door, and compares these real-time opening and closing data sets with the pre-collected historical learning data to obtain the operation difference information of the real-time opening and closing data, and then the system determines whether the operation difference information exceeds the pre-set threshold to execute the corresponding steps; for example, when the system determines that the operation difference information of the real-time opening and closing data does not exceed the pre-set threshold, the system will consider that the opening and closing process of the garage door is within the normal range and no abnormal situation occurs. The system will continue to monitor the state of the garage door without intervention or alarm, record these real-time opening and closing data sets under normal conditions for subsequent analysis and learning, and send a notification to the user's mobile device to confirm that the garage door is opened and closed normally and the user can use it with confidence, and monitor the long-term trend of the data to predict potential problems. For example, if the change trend of certain parameters gradually approaches the threshold, the system can issue a warning in advance to prompt the user to perform maintenance; for example, when the system determines that the operation difference information of the real-time opening and closing data exceeds the pre-set threshold, the system will issue a warning in advance to prompt the user to perform maintenance. value, the system will think that the opening and closing process of the garage door is abnormal. The system will apply the filtering algorithm to smooth the operation difference information, remove the high-frequency noise in the operation difference information, and extract the acceleration information and rate information of the motion guidance time period from the operation difference information according to the pre-set motion guidance time period of the garage door; the application of the filtering algorithm can effectively remove the high-frequency noise in the data. High-frequency noise usually comes from the instability of the sensor or external interference, which may cause drastic fluctuations in the data. By smoothing the operation difference information, the system can extract more accurate trends and patterns. At the same time, the smoothed data enables the system to focus more on significant abnormal changes during analysis. For example, a sudden increase in acceleration data may indicate that a component of the garage door has failed. After smoothing, the system can clearly see this change without being affected by short-term noise, and extract the acceleration information and rate information of the motion guidance time period from the smoothed data, so that the system can more accurately evaluate the working status of the garage door. These data can help determine whether there is too fast or too slow during the opening and closing process, and provide a basis for subsequent adjustments. For example, if the acceleration is found to be continuously higher than the normal value for a period of time, the opening and closing speed may need to be adjusted to protect the equipment.

[0207] It should be noted that the filtering algorithm is applied to smooth the operation difference information to remove high-frequency noise in the operation difference information. The specific example is as follows:

[0208] Suppose there is a smart garage door system. The system uses sensors to monitor the inclination angle of the garage door in real time to ensure that there are no abnormalities during the opening and closing process. The data collected by the sensor may contain some noise, which may be caused by environmental factors or sensor instability.

[0209] Original data collection, assuming that within a certain period of time, the inclination angle data of the garage door is as follows (unit: degree):

[0210] [1.2, 1.5, 2.0, 1.8, 1.1, 20.0, 1.4, 1.3];

[0211] In this data set, 20.0 is an obvious outlier, which may be caused by a momentary malfunction of the sensor;

[0212] Select a filtering algorithm. In this example, median filtering is selected as the filtering algorithm because it is particularly suitable for removing spike noise without causing data averaging like mean filtering.

[0213] Implementation steps of median filtering, data preparation:

[0214] Prepare a median filter with a window size of 3, which means that for each data point, one point before and after it will be taken for calculation;

[0215] Calculate the median:

[0216] For the first data point 1.2:

[0217] Unable to calculate, skipping;

[0218] For the second data point 1.5:

[0219] Consider [1.2, 1.5, 2.0], the median is 1.5;

[0220] For the third data point 2.0:

[0221] Consider [1.5, 2.0, 1.8], the median is 1.8;

[0222] For the fourth data point 1.8:

[0223] Consider [2.0, 1.8, 1.1], the median is 1.8;

[0224] For the fifth data point 1.1:

[0225] Consider [1.8, 1.1, 20.0], where the median is 1.8 (outliers fail to affect the calculation);

[0226] For the sixth data point 20.0:

[0227] Consider [1.1, 20.0, 1.4], the median is 1.4;

[0228] For the seventh data point 1.4:

[0229] Consider [20.0, 1.4, 1.3], the median is 1.4;

[0230] For the eighth data point 1.3:

[0231] Consider [1.4, 1.3] (cannot be calculated), skip;

[0232] The data set after median filtering is as follows:

[0233] [1.2, 1.5, 1.8, 1.8, 1.8, 1.4, 1.4];

[0234] In this process, the outlier value 20.0 was successfully removed, ensuring the accuracy of subsequent data;

[0235] Subsequent applications, anomaly detection:

[0236] When using smoothed data for anomaly detection, the system can more confidently determine the state of the garage door. For example, if the tilt angle is continuously higher than a certain threshold (such as 3 degrees), an alarm is triggered. The system can push information to users to inform them that there is no abnormality in the garage door opening and closing process, improving the user experience.

[0237] In summary, the above listed contents have successfully removed high-frequency noise through median filtering and retained the true change trend of the data. This process enhances the stability of the system and makes subsequent state judgment and decision-making more reliable. This not only improves the performance of the system, but also allows users to use the garage door system more safely.

[0238] In this embodiment, after step S23 of extracting the acceleration information and the speed information of the motion guidance time period from the operation difference information, the following further comprises:

[0239] S231: applying a preset numerical integration method to perform single-integral calculation and double-integral calculation on the acceleration information and the velocity information, obtaining an integration result of the garage door in the motion guiding time period, and identifying a displacement value of the garage door from the integration result;

[0240] S232: Determine whether the displacement value matches a preset interval value;

[0241] S233: If yes, then generate the operating state of the garage door according to the preset interval value, wherein the operating state specifically includes movement in an opening direction and movement in a closing direction.

[0242] In this embodiment, the system applies a preset numerical integration method to perform single-integral calculation and double-integral calculation on the acceleration information and the velocity information, obtains the integration result of the garage door in the motion guidance time period, identifies the displacement value of the garage door from the integration result, and then the system determines whether the displacement value can match the preset interval value to execute the corresponding steps; for example, when the system determines that the displacement value of the garage door cannot match the preset interval value, the system will consider that there is an abnormality in the opening and closing process of the garage door, which may cause safety hazards or equipment damage. The system will immediately trigger an alarm or notify the user to remind them to check the status of the garage door, record all relevant data of the operation (such as acceleration information, velocity information, timestamp, environmental conditions, etc.) for subsequent analysis, and start the self-test program of the garage door to check the working status of each component, including the motor, sensor and door body, and suggest that the user call relevant image data to check the garage door. The system can detect the actual position and status of the garage door and provide feedback and suggestions to the user, such as "Please check whether there are any obstacles on the garage door" or "It is recommended to perform equipment maintenance". For example, when the system determines that the displacement value of the garage door can match the pre-set interval value, the system will consider that the garage door is operating normally during the opening and closing process. The system will generate the operating status of the garage door according to the pre-set interval value. The operating status specifically includes movement in the opening direction and movement in the closing direction. By confirming the normal operation of the garage door, the system can effectively prevent safety hazards caused by abnormal situations, such as pinching people or damaging items, thereby ensuring the safety of users. At the same time, users can know the normal status of the garage door in real time, which enhances their trust in the equipment and provides a convenient user experience. For example, users can remotely control the garage door with peace of mind without having to worry about its status. After confirming normal operation, the system can intelligently optimize the opening and closing speed and movement path to reduce the time required for opening or closing and improve operating efficiency.

[0243] It should be noted that

[0244] In this embodiment, a preset numerical integration method is applied to perform single integral calculation and double integral calculation on the acceleration information and the velocity information, to obtain the integral result of the garage door in the motion guidance time period, and to identify the displacement value of the garage door from the integral result. The specific example is as follows:

[0245] Assume that the acceleration data recorded for a garage door over a five-second period is as follows (in m / s²):

[0246] Time(s) Acceleration (m / s²) 0 0 1 1 2 0.5 3 0 4 -1 5 -1.5

[0247] Step 1: Single integral calculation (from acceleration to velocity)

[0248] Initial Rate Set to 0 m / s;

[0249] From t=0 to t=1, the calculation is as follows:

[0250]

[0251] From t=1 to t=2, the calculation is as follows:

[0252]

[0253] From t=2 to t=3, the calculation is as follows:

[0254]

[0255] From t=3 to t=4, the calculation is as follows:

[0256]

[0257] From t=4 to t=5, the calculation is as follows:

[0258]

[0259] The final rate data is as follows:

[0260] Time(s) Speed ​​(m / s) 0 0 1 0.5 2 1.5 3 2.0 4 1.5 5 0.0

[0261] Step 2: Double integral calculation (from velocity to displacement);

[0262] Initial Rate Set to 0 m / s;

[0263] From t=0 to t=1, the calculation is as follows:

[0264]

[0265] From t=1 to t=2, the calculation is as follows:

[0266]

[0267] From t=2 to t=3, the calculation is as follows:

[0268]

[0269] From t=3 to t=4, the calculation is as follows:

[0270]

[0271] From t=4 to t=5, the calculation is as follows:

[0272]

[0273] The final displacement data is as follows:

[0274] Time(s) Displacement(m) 0 0 1 0.125 2 1.125 3 2.625 4 4.625 5 5.625

[0275] In summary, the velocity and displacement information of the garage door during the motion guidance period is obtained from the acceleration data. This data can be used to monitor the movement status of the garage door in real time to ensure its normal operation and provide a basis for subsequent fault detection and optimization. By continuously collecting and analyzing this data, the system can detect problems in a timely manner and make corresponding adjustments, thereby improving safety and efficiency.

[0276] In this embodiment, the step S5 of detecting the opening and closing correction range of the garage door according to the opening and closing percentage and transmitting the opening and closing correction range to the mobile device further includes:

[0277] S51: Acquiring the opening and closing completion status of the garage door based on an error range preset by a user for the garage door;

[0278] S52: Determine whether the opening and closing completion state matches the movement state preset by the user for the garage door;

[0279] S53: If not, the remaining opening and closing data of the garage door is generated in real time, abnormal opening and closing information of the garage door is identified, and the remaining opening and closing data and the abnormal opening and closing information are transmitted to the mobile device.

[0280] In this embodiment, the system obtains the opening and closing completion status of the garage door based on the error opening and closing range pre-set by the user for the garage door, and then the system determines whether the opening and closing completion status matches the motion state pre-set by the user for the garage door to execute the corresponding steps; for example, when the system determines that the opening and closing completion status of the garage door can match the motion state pre-set by the user for the garage door, the system will consider that the opening and closing process of the garage door is normal and has achieved the expected effect of the user, and the system will confirm to the user that the garage door has been successfully opened or closed, and display relevant status information, and at the same time store the relevant data of the opening and closing process (such as time, motion state, and any possible abnormal information) in the system database for subsequent analysis and optimization, and send the user a notification of the opening and closing completion through a mobile application or other communication method to ensure that the user is aware of the status of the garage door in a timely manner, and prepare the next opening and closing operation of the garage door according to the user's settings, such as the timing setting of automatic closing or emergency response measures; for example, when the system determines that the opening and closing completion status of the garage door If the state cannot match the movement state pre-set by the user for the garage door, the system will consider the opening and closing process of the garage door to be abnormal. The system will generate the remaining opening and closing data of the garage door in real time, identify the abnormal opening and closing information of the garage door, and transmit these remaining opening and closing data and abnormal opening and closing information to the user's mobile device; by timely transmitting the abnormal information to the user's mobile device, the system can quickly realize the problem and enhance the control and understanding of the garage door state. The remaining opening and closing data generated by the system can help the user or maintenance personnel analyze the problems in the opening and closing process, so as to quickly locate the cause of the fault and reduce downtime. At the same time, identifying abnormal opening and closing information can prevent potential safety hazards, such as the safety risks that may be caused by the garage door not being completely closed. The user can take timely measures and record these data, which will help the subsequent maintenance and optimization analysis, so that the system can be continuously improved and the overall performance and reliability can be improved. By providing detailed abnormal information, the user can better understand the working status and maintenance needs of the garage door, thereby improving the user experience.

[0281] In this embodiment, the step S1 of communicating and connecting the garage door with the mobile device and generating the opening and closing status of the garage door in real time from the mobile device further includes:

[0282] S11: Detecting a tag signal of the mobile device based on the preset sound wave detection of the garage door;

[0283] S12: Determine whether the tag signal is within a preset range;

[0284] S13: If yes, the garage door is opened and closed adaptively according to the signal source direction of the tag signal, the delay time after the vehicle enters and exits the garage door is obtained in real time, and the garage door is closed adaptively according to the delay time or the user's preset instruction.

[0285] In this embodiment, the system detects the tag signal of the mobile device based on the pre-set sound wave detection of the garage door, and then determines whether the tag signal is within the pre-set receiving range to execute the corresponding steps; for example, when the system determines that the tag signal of the mobile device is not within the pre-set receiving range, the system will consider that the user's device may be far away from the garage door, or the device has turned off the relevant functions and cannot communicate normally with the garage door. The system will send an alarm notification to the user to remind him that the mobile device has left the safe range and suggest the user to check the device or return to the receiving range. At the same time, if the automatic opening or closing function of the garage door only depends on the tag signal, the system will immediately disable these functions to prevent accidental opening or closing, and set a reminder on the mobile device. When the user enters the receiving range again, the system can automatically notify the user to confirm that the device has resumed normal connection; for example, when the system determines that the tag signal of the mobile device is within the pre-set receiving range, the system will consider that the user's mobile device has left the safe range. The device can communicate with the garage door normally. The system will adaptively open and close the garage door from the side where the communication signal is sent from the user's mobile device according to the signal source direction of the tag signal, obtain the delay time after the vehicle enters and exits the garage door in real time, and adaptively close the garage door according to the delay time or the user's closing instruction; when the user approaches the garage door, the system automatically recognizes the tag signal and quickly opens the garage door, so that the user does not need to stop, take out the mobile phone or use the remote control, especially when carrying heavy objects or in a hurry, which improves the overall convenience. At the same time, by detecting the source direction of the tag signal, the user's movement intention is judged. For example, if the user approaches from the right, the garage door will open from the right. This intelligent operation mode makes the user feel natural and smooth, reduces human intervention, and after the vehicle enters and exits, the system obtains the delay time in real time, which means that the system can monitor whether there are obstacles (such as vehicles or pedestrians) before the garage door closes. If there are obstacles, the garage door can be delayed or reopened to ensure the safety of users and property.

[0286] Reference Figure 2 , is a detection system for the movement state of a garage door in an embodiment of the present invention, comprising:

[0287] The activation module 10 is used to activate the mobile device information pre-recorded by the garage door based on the data sensor preset in the garage door, adaptively select the user's mobile device according to the mobile device information, communicate and connect the garage door with the mobile device, and generate the opening and closing status of the garage door in real time from the mobile device;

[0288] A judging module 20, used to judge whether the opening and closing state matches the real-time state of the garage door;

[0289] The execution module 30 is used for, if not, obtaining the image data of the garage door according to the external camera device pre-connected in the garage door, applying the six-axis sensor preset in the garage door, collecting the speed parameters of the garage door when opening and closing, and calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameters, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity, and the calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters specifically includes that the user sends a door opening command through a mobile device, the garage door starts to open, during the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door;

[0290] A second judging module 40 is used to judge whether the tilt angle is greater than a preset angle;

[0291] The second execution module 50 is used to calculate the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door if it is greater than, detect the opening and closing correction range of the garage door according to the opening and closing percentage, and transmit the opening and closing correction range to the mobile device, wherein the physical characteristics specifically include movement rate, garage door height and angle range, and the calculation of the opening and closing percentage of the garage door after completing the movement state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, movement rate and real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying the preset formula to calculate the opening and closing percentage.

[0292] In this embodiment, the activation module 10 activates the mobile device information pre-recorded in the garage door based on the data sensor pre-installed in the garage door, adaptively selects the user mobile device that has been connected before according to the mobile device information, and connects the garage door to the user mobile device for communication, and generates the opening and closing status of the garage door in real time from the user mobile device. Then the judgment module 20 judges whether the opening and closing status matches the real-time status of the garage door to execute the corresponding steps; for example, when the system determines that the opening and closing status of the garage door can match the real-time status of the garage door, the system will consider that the communication and status synchronization between the garage door and the mobile device are normal, indicating that each module such as the sensor, control logic and device connection is working normally, and no false alarm or sensor failure occurs. In the event of inefficiency or data transmission interruption, the system will maintain the current state without taking additional actions, continue to monitor the state of the garage door through the mobile device, maintain standby mode, ensure responsiveness when the next user operates, and adjust to low power consumption mode at the same time, stop unnecessary frequent operations of sensors or communication modules, and wait for new user instructions or state changes. The user can still check the garage door status at any time through the mobile device, or initiate a new opening and closing request, and the operation results are fed back to the user through notifications or status indications (such as "garage door is closed" or "garage door is open") on the mobile device; for example, when the system determines that the opening and closing state of the garage door cannot match the real-time state of the garage door, the execution module 30 will consider that the communication between the garage door and the mobile device is unavailable. If the system detects abnormalities in the garage door status, the system will record the image data of the garage door on one side according to the external camera device pre-connected in the garage door. The image data specifically includes the opening and closing images and the closing images. The six-axis sensor pre-installed in the garage door is used to collect the speed parameters of the garage door when it is opened and closed. The speed parameters specifically include acceleration and angular velocity. Based on the image data and speed parameters, the inclination angle of the garage door when it is opened and closed is calculated. The system obtains image data through the external camera device and applies the motion data (acceleration and angular velocity) collected by the six-axis sensor. The system can accurately determine whether there is a physical problem with the garage door, such as obstructed movement, offset or abnormal opening / closing, to avoid safety hazards or equipment failures caused by misjudgment of the user. Closed image) combined with speed parameters (acceleration and angular velocity) provides multi-dimensional information about the movement state of the garage door, enabling the system to analyze the actual situation of the garage door more comprehensively, which not only improves the accuracy of abnormal detection, but also avoids the misjudgment that may be caused by relying on a single data source (such as image or sensor data), and improves the reliability of the system. Based on image data and speed parameters, the system can calculate the tilt angle of the garage door, which is crucial for detecting whether the garage door is operating normally. If the garage door tilts during the opening and closing process, it may mean that the door body is subject to resistance, equipment wear, or structural instability. The system can detect these problems in time through the tilt angle, which helps to take appropriate measures before the problem occurs to prevent further damage or accidents;Then, the second judgment module 40 judges whether the inclination angle of the garage door when opening and closing is greater than the preset angle, so as to execute the corresponding steps; for example, when the system determines that the inclination angle of the garage door when opening and closing is not greater than the preset angle, the system will consider that the garage door maintains a stable posture during the opening and closing process, and the operation process is normal. The system will continue to monitor the operation of the garage door and maintain normal operation without taking any additional measures. The system will continue to track relevant data to ensure the safety and smoothness of subsequent operations, and record this state at the same time to reduce unnecessary false alarms and user alarms, improve user experience, avoid unnecessary concerns, and maintain a regular detection mechanism to continuously collect data on the inclination angle and other related parameters for subsequent analysis and adjustment; for example, when the system determines that the inclination angle of the garage door when opening and closing is greater than the preset angle, the second execution module 50 will consider that the garage door is tilted too severely during the opening and closing process, which will cause damage to the garage door. The system will adjust the inclination angle according to the inclination angle and the preset angle of the garage door. The physical characteristics of the garage door, including the movement rate, door height and angle range, calculate the opening and closing percentage of the garage door after the movement is completed, detect the opening and closing correction range of the garage door according to different opening and closing percentages, and transmit the opening and closing correction range to the mobile device; the system timely identifies and responds to excessive tilt, reduces the risk of damage to the garage door due to abnormal opening and closing, thereby extending the service life of the equipment, and takes protective measures in time to prevent the door body from being deformed or damaged due to excessive tilt. At the same time, by calculating the opening and closing percentage, the system can evaluate the working state of the garage door to ensure that the opening and closing action is within a reasonable range, which helps to realize the intelligent correction mechanism. The detection of the opening and closing percentage can provide a basis for subsequent adjustment and maintenance, ensure that the garage door is always in the best working state, and identify the tilt problem in time to ensure that the garage door will not cause potential harm to the user or the surrounding environment during the opening and closing process, thereby improving safety. By setting alarms or automatically stopping the opening and closing action, users are prevented from operating in dangerous conditions to protect user safety. ;

[0293] In this embodiment, the execution module further includes:

[0294] A receiving unit, configured to receive video data of the garage door from the mobile device based on an image perspective pre-selected by a user for the garage door;

[0295] A determination unit, configured to determine whether the mobile device supports a preset protocol for the video data;

[0296] An execution unit is used to compress the video data according to a preset encoding format, generate encoded data of the video data, divide the encoded data into a preset number of data packets, reassemble the data packets in a preset order through the data sensor, combine to obtain a video stream corresponding to the data packets, and transmit the video stream to the mobile device.

[0297] In this embodiment, the system receives the opening and closing video data of the garage door from the user's mobile device based on the image perspective of the garage door pre-selected by the user, and then the system determines whether the user's mobile device supports the preset protocol of the video data to execute the corresponding steps; for example, when the system determines that the user's mobile device cannot support the preset protocol of the video data, the system will consider that the user's device may not be able to effectively receive or play the opening and closing video data of the garage door, and the system will send a notification to the user's mobile device, informing that the device does not support the current video data protocol, which may result in the inability to watch the real-time video of the garage door, and prompting the user to select low resolution or different formats (such as MP4, AVI, etc.) options, and automatically switch to the current video format. Switch to static image streaming mode, and regularly send the latest image data of the garage door to maintain the user's basic monitoring function; for example, when the system determines that the user's mobile device can support the preset protocol of video data, the system will assume that the user's device can play the opening and closing video data of the garage door, and the system will compress the opening and closing video data according to the preset encoding format, generate encoded data of the opening and closing video data, cut the encoded data into a preset number of data packets, reorganize the data packets in a preset order through data sensors, combine to obtain the video stream corresponding to the data packets, and transmit the video stream to the mobile device; the system compresses the opening and closing video data to reduce the amount of data, thereby speeding up the transmission speed. This allows users to receive video streams smoothly even when network bandwidth is limited or unstable. At the same time, the use of pre-set encoding formats can optimize the balance between video quality and file size, ensuring that users get clear pictures and reduce latency when watching. By dividing the encoded data into data packets and reorganizing them in sequence, users can watch the opening and closing status of the garage door in real time, which provides instant feedback and enhances the convenience and sense of security of monitoring. Dividing the video data into multiple data packets helps to achieve higher flexibility in the transmission process. For example, if some data packets are lost during transmission, the system can still ensure the complete video stream through retransmission or remedial measures, and dynamically adjust the video quality or data packet size according to the user's network conditions to ensure that valid video data can still be transmitted under poor network conditions.

[0298] In this embodiment, it also includes:

[0299] A recognition module, configured to substitute the pre-recorded coordinate system information into the image viewing angle corresponding to the image data, and recognize the initial tilt position of the garage door from the image viewing angle;

[0300] A third judgment module is used to judge whether the tilted initial azimuth continues to tilt within a preset time point;

[0301] The third execution module is used to mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when the opening and closing is completed according to the speed range, and transmit the tilt opening and closing point to the mobile device.

[0302] In this embodiment, the system substitutes the pre-recorded coordinate system information into the image perspective based on the image perspective corresponding to the image data, identifies the initial tilt position of the garage door from the image perspective, and then determines whether the initial tilt position continues to tilt within a preset time point to execute the corresponding steps; for example, when the system determines that the initial tilt position of the garage door does not continue to tilt within the preset time point, the system will believe that although the garage door initially tilted during the opening and closing movement, it did not tilt during the subsequent opening and closing movement, and the system will continue to monitor the tilt state of the garage door to ensure that In the subsequent opening and closing process, any abnormal tilt is captured in time, and a reasonable monitoring interval is set, such as once per second, to improve the monitoring accuracy. At the same time, a notification is sent to the user's mobile device to inform that the garage door is currently in normal status and there is no continuous tilt during the opening and closing process. The monitoring data is analyzed regularly to identify any potential trends. If there have been multiple tilting phenomena before, the user is reminded to pay attention to whether there are external influencing factors (such as temperature, humidity, foundation settlement, etc.); for example, when the system determines that the initial tilt position of the garage door continues to tilt within a preset time point, the system will consider that the garage door is in the process of opening and closing. When the garage door is opened and closed, it tilts and cannot be completely opened and closed, causing damage to the garage door. The system will mark the preset tilt reference point in the image perspective, obtain the speed range of the garage door when opening and closing through the tilt reference point, and generate the tilt opening and closing points when the garage door is completed according to different speed ranges. These tilt opening and closing points are transmitted to the user's mobile device; the system promptly identifies the tilt problem of the garage door during the opening and closing process, thereby preventing further damage or failure. This real-time monitoring can greatly reduce potential maintenance costs and downtime. At the same time, by detecting the tilt, the system can prevent the garage door from Accidents caused by tilting, such as the door falling or pinching the user, are prevented by this preventive measure, which improves the safety of the user. By generating tilt opening and closing points, specific maintenance suggestions can be provided to the user. For example, the user can be prompted to check whether certain parts are damaged, or perform necessary lubrication and adjustments. The tilt opening and closing points are transmitted to the user's mobile device, allowing the user to understand the status of the garage door in real time, enhancing the user's trust and sense of control over the system. By obtaining the speed range and tilt opening and closing points of the garage door, data analysis can be performed to identify the cause of the tilt, thereby optimizing the garage door design and control strategy to improve overall performance.

[0303] In this embodiment, the judgment module further includes:

[0304] an acquisition unit, configured to annotate the opening and closing data collected by the data sensor based on the opening and closing data type preset by the data sensor, generate a real-time opening and closing data set of the garage door, and compare the real-time opening and closing data set with the pre-collected historical learning data to acquire operation difference information of the real-time opening and closing data, wherein the opening and closing data type specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed;

[0305] A second judgment unit, used to judge whether the operation difference information exceeds a preset threshold;

[0306] The second execution unit is used to apply a filtering algorithm to smooth the operation difference information, remove high-frequency noise in the operation difference information, and extract the acceleration information and speed information of the motion guidance time period from the operation difference information according to a preset motion guidance time period of the garage door.

[0307] In this embodiment, the system labels the opening and closing data collected by the data sensor based on the opening and closing data type pre-set by the data sensor, which specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed, generates a real-time opening and closing data set of the garage door, and compares these real-time opening and closing data sets with the pre-collected historical learning data to obtain the operation difference information of the real-time opening and closing data, and then the system determines whether the operation difference information exceeds the pre-set threshold to execute the corresponding steps; for example, when the system determines that the operation difference information of the real-time opening and closing data does not exceed the pre-set threshold, the system will consider that the opening and closing process of the garage door is within the normal range and no abnormal situation occurs. The system will continue to monitor the state of the garage door without intervention or alarm, record these real-time opening and closing data sets under normal conditions for subsequent analysis and learning, and send a notification to the user's mobile device to confirm that the garage door is opened and closed normally and the user can use it with confidence, and monitor the long-term trend of the data to predict potential problems. For example, if the change trend of certain parameters gradually approaches the threshold, the system can issue a warning in advance to prompt the user to perform maintenance; for example, when the system determines that the operation difference information of the real-time opening and closing data exceeds the pre-set threshold, the system will issue a warning in advance to prompt the user to perform maintenance. value, the system will think that the opening and closing process of the garage door is abnormal. The system will apply the filtering algorithm to smooth the operation difference information, remove the high-frequency noise in the operation difference information, and extract the acceleration information and rate information of the motion guidance time period from the operation difference information according to the pre-set motion guidance time period of the garage door; the application of the filtering algorithm can effectively remove the high-frequency noise in the data. High-frequency noise usually comes from the instability of the sensor or external interference, which may cause drastic fluctuations in the data. By smoothing the operation difference information, the system can extract more accurate trends and patterns. At the same time, the smoothed data enables the system to focus more on significant abnormal changes during analysis. For example, a sudden increase in acceleration data may indicate that a component of the garage door has failed. After smoothing, the system can clearly see this change without being affected by short-term noise, and extract the acceleration information and rate information of the motion guidance time period from the smoothed data, so that the system can more accurately evaluate the working status of the garage door. These data can help determine whether there is too fast or too slow during the opening and closing process, and provide a basis for subsequent adjustments. For example, if the acceleration is found to be continuously higher than the normal value for a period of time, the opening and closing speed may need to be adjusted to protect the equipment.

[0308] In this embodiment, it also includes:

[0309] a calculation unit, configured to apply a preset numerical integration method to perform single integral calculation and double integral calculation on the acceleration information and the velocity information, obtain an integral result of the garage door in the motion guiding time period, and identify a displacement value of the garage door from the integral result;

[0310] A third judging unit, used to judge whether the displacement value matches a preset interval value;

[0311] The third execution unit is used to generate the operating state of the garage door according to the preset interval value, wherein the operating state specifically includes opening direction movement and closing direction movement.

[0312] In this embodiment, the system applies a preset numerical integration method to perform single-integral calculation and double-integral calculation on the acceleration information and the velocity information, obtains the integration result of the garage door in the motion guidance time period, identifies the displacement value of the garage door from the integration result, and then the system determines whether the displacement value can match the preset interval value to execute the corresponding steps; for example, when the system determines that the displacement value of the garage door cannot match the preset interval value, the system will consider that there is an abnormality in the opening and closing process of the garage door, which may cause safety hazards or equipment damage. The system will immediately trigger an alarm or notify the user to remind them to check the status of the garage door, record all relevant data of the operation (such as acceleration information, velocity information, timestamp, environmental conditions, etc.) for subsequent analysis, and start the self-test program of the garage door to check the working status of each component, including the motor, sensor and door body, and suggest that the user call relevant image data to check the garage door. The system can detect the actual position and status of the garage door and provide feedback and suggestions to the user, such as "Please check whether there are any obstacles on the garage door" or "It is recommended to perform equipment maintenance". For example, when the system determines that the displacement value of the garage door can match the pre-set interval value, the system will consider that the garage door is operating normally during the opening and closing process. The system will generate the operating status of the garage door according to the pre-set interval value. The operating status specifically includes movement in the opening direction and movement in the closing direction. By confirming the normal operation of the garage door, the system can effectively prevent safety hazards caused by abnormal situations, such as pinching people or damaging items, thereby ensuring the safety of users. At the same time, users can know the normal status of the garage door in real time, which enhances their trust in the equipment and provides a convenient user experience. For example, users can remotely control the garage door with peace of mind without having to worry about its status. After confirming normal operation, the system can intelligently optimize the opening and closing speed and movement path to reduce the time required for opening or closing and improve operating efficiency.

[0313] In this embodiment, the second execution module further includes:

[0314] A second acquisition unit, configured to acquire an opening and closing completion status of the garage door based on an error range preset by a user for the garage door;

[0315] A fourth judgment unit, used to judge whether the opening and closing completion state matches the movement state preset by the user for the garage door;

[0316] The fourth execution unit is used to generate the remaining opening and closing data of the garage door in real time, identify the abnormal opening and closing information of the garage door, and transmit the remaining opening and closing data and the abnormal opening and closing information to the mobile device.

[0317] In this embodiment, the system obtains the opening and closing completion status of the garage door based on the error opening and closing range pre-set by the user for the garage door, and then the system determines whether the opening and closing completion status matches the motion state pre-set by the user for the garage door to execute the corresponding steps; for example, when the system determines that the opening and closing completion status of the garage door can match the motion state pre-set by the user for the garage door, the system will consider that the opening and closing process of the garage door is normal and has achieved the expected effect of the user, and the system will confirm to the user that the garage door has been successfully opened or closed, and display relevant status information, and at the same time store the relevant data of the opening and closing process (such as time, motion state, and any possible abnormal information) in the system database for subsequent analysis and optimization, and send the user a notification of the opening and closing completion through a mobile application or other communication method to ensure that the user is aware of the status of the garage door in a timely manner, and prepare the next opening and closing operation of the garage door according to the user's settings, such as the timing setting of automatic closing or emergency response measures; for example, when the system determines that the opening and closing completion status of the garage door If the state cannot match the movement state pre-set by the user for the garage door, the system will consider the opening and closing process of the garage door to be abnormal. The system will generate the remaining opening and closing data of the garage door in real time, identify the abnormal opening and closing information of the garage door, and transmit these remaining opening and closing data and abnormal opening and closing information to the user's mobile device; by timely transmitting the abnormal information to the user's mobile device, the system can quickly realize the problem and enhance the control and understanding of the garage door state. The remaining opening and closing data generated by the system can help the user or maintenance personnel analyze the problems in the opening and closing process, so as to quickly locate the cause of the fault and reduce downtime. At the same time, identifying abnormal opening and closing information can prevent potential safety hazards, such as the safety risks that may be caused by the garage door not being completely closed. The user can take timely measures and record these data, which will help the subsequent maintenance and optimization analysis, so that the system can be continuously improved and the overall performance and reliability can be improved. By providing detailed abnormal information, the user can better understand the working status and maintenance needs of the garage door, thereby improving the user experience.

[0318] In this embodiment, the activation module further includes:

[0319] A detection unit, configured to detect a tag signal of the mobile device based on a preset sound wave detection of the garage door;

[0320] A fifth determination unit, used to determine whether the tag signal is within a preset range;

[0321] The fifth execution unit is used to adaptively open and close the garage door according to the signal source direction of the tag signal, obtain the delay time after the vehicle enters and exits the garage door in real time, and adaptively close the garage door according to the delay time or the user's preset instructions.

[0322] In this embodiment, the system detects the tag signal of the mobile device based on the pre-set sound wave detection of the garage door, and then determines whether the tag signal is within the pre-set receiving range to execute the corresponding steps; for example, when the system determines that the tag signal of the mobile device is not within the pre-set receiving range, the system will consider that the user's device may be far away from the garage door, or the device has turned off the relevant functions and cannot communicate normally with the garage door. The system will send an alarm notification to the user to remind him that the mobile device has left the safe range and suggest the user to check the device or return to the receiving range. At the same time, if the automatic opening or closing function of the garage door only depends on the tag signal, the system will immediately disable these functions to prevent accidental opening or closing, and set a reminder on the mobile device. When the user enters the receiving range again, the system can automatically notify the user to confirm that the device has resumed normal connection; for example, when the system determines that the tag signal of the mobile device is within the pre-set receiving range, the system will consider that the user's mobile device has left the safe range. The device can communicate with the garage door normally. The system will adaptively open and close the garage door from the side where the communication signal is sent from the user's mobile device according to the signal source direction of the tag signal, obtain the delay time after the vehicle enters and exits the garage door in real time, and adaptively close the garage door according to the delay time or the user's closing instruction; when the user approaches the garage door, the system automatically recognizes the tag signal and quickly opens the garage door, so that the user does not need to stop, take out the mobile phone or use the remote control, especially when carrying heavy objects or in a hurry, which improves the overall convenience. At the same time, by detecting the source direction of the tag signal, the user's movement intention is judged. For example, if the user approaches from the right, the garage door will open from the right. This intelligent operation mode makes the user feel natural and smooth, reduces human intervention, and after the vehicle enters and exits, the system obtains the delay time in real time, which means that the system can monitor whether there are obstacles (such as vehicles or pedestrians) before the garage door closes. If there are obstacles, the garage door can be delayed or reopened to ensure the safety of users and property.

[0323] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for detecting the motion state of a garage door, characterized in that: The following steps are involved: Based on the data sensor preset in the garage door, the mobile device information pre-recorded by the garage door is activated, the user's mobile device is adaptively selected according to the mobile device information, the garage door is communicated and connected with the mobile device, and the opening and closing status of the garage door is generated in real time from the mobile device; Determining whether the opening and closing state matches the real-time state of the garage door; If not, then according to the external camera device pre-connected in the garage door, the image data of the garage door is obtained, and the speed parameters of the garage door when opening and closing are collected by using the preset six-axis sensor in the garage door, and the inclination angle of the garage door when opening and closing is calculated based on the image data and the speed parameters, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity, and the calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters is specifically that the user sends a door opening command through a mobile device, and the garage door starts to open. During the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door; Determining whether the tilt angle is greater than a preset angle; If it is greater than, then according to the tilt angle and the preset physical characteristics of the garage door, the opening and closing percentage of the garage door after completing the motion state is calculated, the opening and closing correction range of the garage door is detected according to the opening and closing percentage, and the opening and closing correction range is transmitted to the mobile device, wherein the physical characteristics specifically include the motion rate, the garage door height and the angle range, and the calculation of the opening and closing percentage of the garage door after completing the motion state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, the motion rate and the real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying the preset formula to calculate the opening and closing percentage; Wherein, the step of determining whether the opening and closing state matches the real-time state of the garage door further includes: Based on the opening and closing data type preset by the data sensor, the opening and closing data collected by the data sensor are annotated to generate a real-time opening and closing data set of the garage door, and the real-time opening and closing data set is compared with the pre-collected historical learning data to obtain the operation difference information of the real-time opening and closing data, wherein the opening and closing data type specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed; Determining whether the operation difference information exceeds a preset threshold; If yes, apply a filtering algorithm to smooth the operation difference information, remove high-frequency noise in the operation difference information, and extract acceleration information and velocity information of the movement guidance time period from the operation difference information according to the movement guidance time period preset by the garage door; The step of communicating and connecting the garage door with the mobile device and generating the opening and closing status of the garage door in real time from the mobile device further includes: Based on the preset sound wave detection of the garage door, detecting the tag signal of the mobile device; Determining whether the tag signal is within a preset range; If so, the garage door is opened and closed adaptively according to the signal source direction of the tag signal, the delay time after the vehicle enters and exits the garage door is obtained in real time, and the garage door is adaptively closed according to the delay time or the user's preset instructions.

2. The method for detecting the movement state of a garage door according to claim 1, characterized in that: The step of obtaining image data of the garage door based on an external camera device pre-connected in the garage door also includes: Receiving video data of the garage door from the mobile device based on a user's pre-selected image perspective of the garage door; Determining whether the mobile device supports a preset protocol for the video data; If so, the video data is compressed according to a preset encoding format to generate encoded data of the video data, the encoded data is divided into a preset number of data packets, the data packets are reassembled in a preset order by the data sensor, the video stream corresponding to the data packets is obtained by combination, and the video stream is transmitted to the mobile device.

3. The method for detecting the movement state of a garage door according to claim 1, characterized in that: Before the step of calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameter, the method further comprises: Based on the image viewing angle corresponding to the image data, the pre-recorded coordinate system information is substituted into the image viewing angle, and the tilted initial orientation of the garage door is identified from the image viewing angle; Determining whether the initial tilted position continues to tilt within a preset time point; If so, mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when completing the opening and closing according to the speed range, and transmit the tilt opening and closing point to the mobile device.

4. The method for detecting the movement state of a garage door according to claim 1, characterized in that: After the step of extracting the acceleration information and the speed information of the motion guidance time period from the operation difference information, the method further includes: Applying a preset numerical integration method to perform single-integral calculation and double-integral calculation on the acceleration information and the velocity information, obtaining an integration result of the garage door in the motion guiding time period, and identifying a displacement value of the garage door from the integration result; Determining whether the displacement value matches a preset interval value; If so, the operating state of the garage door is generated according to the preset interval value, wherein the operating state specifically includes movement in an opening direction and movement in a closing direction.

5. The method for detecting the movement state of a garage door according to claim 1, characterized in that: The step of detecting the opening and closing correction range of the garage door according to the opening and closing percentage and transmitting the opening and closing correction range to the mobile device further includes: Based on the error range preset by the user for the garage door, obtaining the opening and closing completion status of the garage door; Determining whether the opening and closing completion state matches the movement state preset by the user for the garage door; If not, the remaining opening and closing data of the garage door are generated in real time, the abnormal opening and closing information of the garage door is identified, and the remaining opening and closing data and the abnormal opening and closing information are transmitted to the mobile device.

6. A garage door motion state detection system, characterized in that: include: An activation module is used to activate the mobile device information pre-recorded by the garage door based on the data sensor preset in the garage door, adaptively select the user's mobile device according to the mobile device information, communicate and connect the garage door with the mobile device, and generate the opening and closing status of the garage door in real time from the mobile device; A judgment module, used to judge whether the opening and closing state matches the real-time state of the garage door; an execution module, for, if not, obtaining image data of the garage door according to an external camera pre-connected in the garage door, applying a six-axis sensor preset in the garage door, collecting speed parameters of the garage door when opening and closing, and calculating the inclination angle of the garage door when opening and closing based on the image data and the speed parameters, wherein the image data specifically includes an opening and closing image and a closed image, and the speed parameters specifically include acceleration and angular velocity, and the calculation of the inclination angle of the garage door when opening and closing based on the image data and the speed parameters specifically includes that a user sends a door opening command through a mobile device, the garage door starts to open, during the opening process, the six-axis sensor starts to collect data, and during the opening and closing process, the camera captures an image once per second, and analyzes the key frames therein to detect the actual state of the door; A second judging module, used to judge whether the tilt angle is greater than a preset angle; A second execution module is used for, if greater than, calculating the opening and closing percentage of the garage door after completing the motion state according to the tilt angle and the preset physical characteristics of the garage door, detecting the opening and closing correction range of the garage door according to the opening and closing percentage, and transmitting the opening and closing correction range to the mobile device, wherein the physical characteristics specifically include movement rate, garage door height and angle range, and calculating the opening and closing percentage of the garage door after completing the motion state according to the tilt angle and the preset physical characteristics of the garage door is specifically by obtaining the garage door height, movement rate and real-time tilt angle, substituting the real-time tilt angle and the preset maximum tilt angle, and applying a preset formula to calculate the opening and closing percentage; The judgment module also includes: an acquisition unit, configured to annotate the opening and closing data collected by the data sensor based on the opening and closing data type preset by the data sensor, generate a real-time opening and closing data set of the garage door, and compare the real-time opening and closing data set with the pre-collected historical learning data to acquire operation difference information of the real-time opening and closing data, wherein the opening and closing data type specifically includes the tilt angle, speed, timestamp and environmental conditions when the garage door is opened and closed; A second judgment unit, used to judge whether the operation difference information exceeds a preset threshold; a second execution unit, configured to apply a filtering algorithm to smooth the operation difference information, remove high-frequency noise in the operation difference information, and extract acceleration information and velocity information of the movement guidance time period from the operation difference information according to a preset movement guidance time period of the garage door; The activation module also includes: A detection unit, configured to detect a tag signal of the mobile device based on a preset sound wave detection of the garage door; A fifth judging unit, used to judge whether the tag signal is within a preset range; The fifth execution unit is used to adaptively open and close the garage door according to the signal source direction of the tag signal, obtain the delay time after the vehicle enters and exits the garage door in real time, and adaptively close the garage door according to the delay time or the user's preset instructions.

7. The garage door motion state detection system according to claim 6, characterized in that: The execution module also includes: A receiving unit, configured to receive video data of the garage door from the mobile device based on an image perspective pre-selected by a user for the garage door; A determination unit, configured to determine whether the mobile device supports a preset protocol for the video data; An execution unit is used to compress the video data according to a preset encoding format, generate encoded data of the video data, divide the encoded data into a preset number of data packets, reassemble the data packets in a preset order through the data sensor, combine to obtain a video stream corresponding to the data packets, and transmit the video stream to the mobile device.

8. The garage door motion state detection system according to claim 6, characterized in that: Also includes: A recognition module, configured to substitute the pre-recorded coordinate system information into the image viewing angle corresponding to the image data, and recognize the initial tilt position of the garage door from the image viewing angle; A third judgment module is used to judge whether the tilted initial azimuth continues to tilt within a preset time point; The third execution module is used to mark a preset tilt reference point in the image viewing angle, obtain the speed range of the garage door when opening and closing through the tilt reference point, generate the tilt opening and closing point of the garage door when the opening and closing is completed according to the speed range, and transmit the tilt opening and closing point to the mobile device.

Citation Information

Patent Citations

  • Uniform communication protocols for communication between controllers and accessories

    CN108259159A

  • Intelligent garage door control system

    CN113846933A