Intelligent garage door automatic control method and system

By combining Bluetooth modules and state machines with Hall effect detection, the intelligent garage door automatic control system achieves seamless parking, solving the problem of non-seamless automatic door opening in existing technologies, and improving parking convenience and control reliability.

CN121921872APending Publication Date: 2026-04-24SPOT WINDOWS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SPOT WINDOWS LTD
Filing Date
2026-01-05
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing intelligent garage control methods cannot achieve seamless automatic door opening, and signal fluctuations can easily lead to accidental opening and closing of doors.

Method used

The system obtains periodic and continuous RSSI values ​​via Bluetooth module, combines them with a state machine to determine the vehicle status, and realizes automatic opening and closing control of the smart garage door, including switching between closed, open, opening, closing and obstacle-stopped states. The system uses Hall effect to detect when the door is fully open and closed, and performs security monitoring in sentry mode.

Benefits of technology

It enables seamless parking, improving parking convenience and control reliability, reducing the risk of accidental triggering, and ensuring the safety of vehicles and personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121921872A_ABST
    Figure CN121921872A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic control method and system for an intelligent garage door, and relates to the field of access control. The method comprises the steps that the intelligent garage door comprises a Bluetooth module and a state machine, and the intelligent garage door can establish communication connection with a vehicle through the Bluetooth module; periodic and continuous RSSI values are obtained through the Bluetooth module; obtaining the state of the intelligent garage door according to the state machine; the states of the intelligent garage door comprise a closed state, an open state, an opening state, a closing state and barrier closing; the vehicle state is judged according to the continuous RSSI value, and the state machine is maintained or updated according to the vehicle state and the state of the intelligent garage door. The real-time position of the vehicle can be detected through the RSSI value, so that whether the vehicle is willing to enter the intelligent garage or not is judged, the door of the intelligent garage is automatically opened or closed, non-inductive parking is achieved, and parking convenience and user experience are greatly improved. In addition, the continuous RSSI value detection is beneficial to reducing the risk of false triggering, and the control reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of access control technology, and in particular to an automatic control method and system for intelligent garage doors. Background Technology

[0002] Intelligent parking garage automatic door technology is a key component of smart vehicle systems. Through automated and intelligent control, it is fundamentally changing people's parking experience.

[0003] Currently, common solutions for smart parking garages include remote control, password / access card, and Bluetooth sensing. However, remote control solutions have problems such as requiring a dedicated remote, which is easy to lose, and becoming unusable after the battery runs out; password / access card solutions require entering a password or swiping a card, which is cumbersome; and Bluetooth sensing methods only determine whether to open the door based on the presence of a signal, which is prone to false triggering.

[0004] Therefore, existing garage control systems have the following problems: they cannot achieve truly seamless automatic door opening, and signal fluctuations can easily lead to accidental opening and closing of doors. Summary of the Invention

[0005] Therefore, it is necessary to provide an intelligent garage door automatic control method and system that can improve parking convenience and reliability in response to the above-mentioned technical problems.

[0006] Firstly, this application provides an automatic control method for intelligent garage doors. The method includes:

[0007] The smart garage door includes a Bluetooth module and a state machine. The smart garage door can establish a communication connection with the vehicle via the Bluetooth module; the method includes:

[0008] Periodic, continuous RSSI values ​​are obtained via a Bluetooth module;

[0009] The state of the smart garage door is obtained from the state machine; the state of the smart garage door includes closed, open, opening, closing, and obstacle-stopped.

[0010] The vehicle status is determined based on the continuous RSSI value, and the state machine is maintained or updated based on the vehicle status and the status of the smart garage door.

[0011] In one embodiment, determining the vehicle status based on continuous RSSI values ​​includes:

[0012] When the RSSI value is greater than the first threshold for N consecutive times, the vehicle is determined to be in the first state.

[0013] In one embodiment, determining the vehicle status based on continuous RSSI values ​​includes:

[0014] When the RSSI value is less than the second threshold for N consecutive times, the vehicle is determined to be in the second state.

[0015] In one embodiment, determining the vehicle status based on continuous RSSI values ​​includes:

[0016] When obtaining the RSSI value fails and the duration exceeds the time threshold, the vehicle is determined to be in the second state.

[0017] In one embodiment, maintaining or updating the state machine based on the vehicle status and the smart garage door status includes:

[0018] When the vehicle is determined to be in the second state and the latest obtained RSSI value is greater than the first threshold, the smart garage door is opened and its status is updated.

[0019] In one embodiment, maintaining or updating the state machine based on the vehicle status and the smart garage door status includes:

[0020] After the smart garage door switches from open to open, a timer starts and it is determined whether it is in the door opening blocking period.

[0021] If not, when the vehicle is determined to be in the second state and the latest obtained RSSI value is greater than the first threshold, the smart garage door is opened and its status is updated.

[0022] In one embodiment, controlling the opening of the smart garage door and updating the status of the smart garage door includes:

[0023] During the process of opening the smart garage door, update the status of the smart garage door to "opening";

[0024] The system uses the Hall effect to determine whether the smart garage door is fully open; if so, it updates the smart garage door's status to open and begins a countdown to closing.

[0025] In one embodiment, after the door closing countdown has ended, the method further includes:

[0026] Control the closing of the smart garage door;

[0027] During the closing process of the smart garage door, the status of the smart garage door is updated to "closing", and obstacle detection is performed based on the Hall effect;

[0028] Upon first detection of an obstacle, the control stops the smart garage door from closing and updates the smart garage door status to "obstacle detected, closed".

[0029] When an obstacle is detected for the second time, the system opens the smart garage door and updates its status to open.

[0030] In one embodiment, the method further includes:

[0031] In Sentinel mode, if the smart garage door is detected to be open and there are no authorized Bluetooth beacons nearby, an identity verification message is pushed to the terminal. If the identity verification fails, a local alarm or remote notification is triggered.

[0032] In one embodiment, the method further includes: receiving control commands input by a user via a remote terminal and sending the control commands to the smart garage door;

[0033] If the triggering conditions for updating the state machine are not met, or if the state machine update judgment and control instructions meet the preset safety policy, the intelligent garage door is controlled to perform opening, closing, or status query operations according to the control instructions.

[0034] In one embodiment, control commands include voice commands;

[0035] Receiving control commands input by the user and sending the control commands to the smart garage door includes:

[0036] Collect user voice and convert it into corresponding control commands;

[0037] Control commands are sent to the smart garage door via a cloud platform or local network.

[0038] In one embodiment, if the triggering condition for updating the state machine is not met, or if the state machine update determination and control instructions meet a preset safety policy, controlling the smart garage door to perform opening, closing, or status query operations according to the control instructions includes:

[0039] Based on the status of the smart garage door, the vehicle status, control commands, and preset security policies, an execution strategy is matched for the control commands, including execution, delayed execution, and rejection.

[0040] Secondly, this application also provides an intelligent garage door automatic control system. The system includes:

[0041] Bluetooth module, used for Bluetooth connection to the vehicle and to obtain periodic, continuous RSSI values;

[0042] A state machine is used to record the state of the smart garage door; the state of the smart garage door includes closed, open, opening, closing, and obstacle-stopped.

[0043] The controller is used to control the opening or closing of the smart garage door;

[0044] The processor, connected to the Bluetooth module, state machine, and controller, is used to continuously determine the vehicle status and maintain or update the state machine based on the vehicle status and the status of the smart garage door.

[0045] In one embodiment, the system further includes a terminal module for receiving control commands input by the user and sending the control commands to the smart garage door to control the smart garage door to perform opening, closing, or status query operations.

[0046] In one embodiment, the terminal module includes a voice control module for receiving user voice input and generating corresponding control commands to send to the processor.

[0047] In one embodiment, the processor is configured to, upon receiving a control command, match an execution strategy for the control command based on the current state of the smart garage door, the vehicle state, the control command, and a preset security policy, including execution, delayed execution, and rejection of execution.

[0048] The intelligent garage door automatic control method and system of this application include an intelligent garage door comprising a Bluetooth module and a state machine. The intelligent garage door can establish a communication connection with the vehicle via the Bluetooth module; acquire periodic and continuous RSSI values ​​via the Bluetooth module; obtain the state of the intelligent garage door according to the state machine; the state of the intelligent garage door includes closed, open, opening, closing, and obstacle-closed; determine the vehicle state based on the continuous RSSI values; and maintain or update the state machine based on the vehicle state and the state of the intelligent garage door. The real-time position of the vehicle can be detected through the RSSI values, thereby determining whether the vehicle intends to enter the intelligent garage, and automatically opening or closing the intelligent garage door, achieving seamless parking and greatly improving parking convenience and user experience. Furthermore, continuous RSSI value detection helps reduce the risk of false triggering and improves control reliability. Attached Figure Description

[0049] Figure 1 This is a flowchart of an automatic control method for intelligent garage doors in one embodiment. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] This application provides an automatic control method for intelligent garage doors, applied to intelligent garage doors. The intelligent garage door includes a Bluetooth module and a state machine, and can establish a communication connection with the vehicle via the Bluetooth module. Figure 1 As shown, the automatic control method includes the following steps:

[0052] Step 102: Obtain periodic, continuous RSSI values ​​via Bluetooth module.

[0053] RSSI (Received Signal Strength Indicator) is used to determine the quality of a Bluetooth connection. It measures the distance between the transmitting and receiving points by analyzing the strength of the received RSSI signal. The core idea is to utilize the principle that Bluetooth signals weaken with distance. The RSSI value (usually negative, measured in dBm) decreases as the distance between the transmitter and receiver increases.

[0054] Therefore, the distance of a vehicle relative to a smart garage door can be determined using the RSSI value.

[0055] Step 104: Obtain the state of the smart garage door based on the state machine; the state of the smart garage door includes closed state, open state, opening in progress, closing in progress, and obstacle-stopped.

[0056] A state machine abstracts the behavior of a smart garage door into a finite number of states, events that trigger state transitions, and actions performed during state transitions. The state machine includes: CLOSED (closed), OPENING (open), OPEN (open), CLOSING (closed), and STOPPED_BY_OBSTACLE (obstacle closed).

[0057] Step 106: Determine the vehicle status based on the continuous RSSI value, and maintain or update the state machine based on the vehicle status and the status of the smart garage door.

[0058] When the RSSI value, representing the Bluetooth signal strength, becomes stronger, it indicates that the vehicle is approaching the smart garage door; conversely, when it becomes weaker, it indicates that the vehicle is moving away from the smart garage door. This is used to determine the vehicle's status.

[0059] Based on the current status of the smart garage door and the vehicle, it can determine whether to open or close the smart garage door and send corresponding control commands to the smart garage door's on / off controller. The state machine is then maintained or updated according to the smart garage door's status. For example, if a vehicle is approaching the smart garage door while it is closed, an open command needs to be sent, and the smart garage door's status should be switched from closed to open after it opens. If a vehicle is approaching the smart garage door while it is open, no control command needs to be sent; simply maintaining the open status of the smart garage door is sufficient.

[0060] This embodiment detects changes in the strength of Bluetooth signals to automatically open the doors when a vehicle approaches, eliminating the need for manual operation and achieving seamless parking, thus improving parking convenience and experience.

[0061] In one embodiment, determining the vehicle state based on consecutive RSSI values ​​includes: determining that the vehicle is in a first state when the RSSI value is greater than a first threshold for N consecutive times.

[0062] Customize system parameters, including the first threshold enterThreshold (e.g., -80 dBm) and the number of consecutive scans N (e.g., 3 times).

[0063] When RSSI > enterThreshold is detected N consecutive times, it is considered that the vehicle has been in the garage or near the garage door for an extended period. The vehicle state is then set to the first state, i.e., insideGarage = true. In the first state, it is ensured that the vehicle will not trigger accidental door opening when parked in the garage.

[0064] By employing a sliding time window mechanism to accumulate scan counts, misjudgments caused by signal fluctuations, temporary obstructions, and reflection interference are effectively filtered out, significantly improving system reliability.

[0065] In one embodiment, determining the vehicle state based on consecutive RSSI values ​​includes: determining the vehicle is in a second state when the RSSI value is less than a second threshold for N consecutive times; and determining the vehicle is in a second state when obtaining an RSSI value fails and the duration exceeds a time threshold.

[0066] This embodiment discloses two scenarios for determining if a vehicle is in the second state. In the first scenario, if N consecutive scans satisfy RSSI < exitThreshold, the vehicle is considered to have moved far from the garage, where exitThreshold is a custom second threshold (e.g., -95 dBm). In the second scenario, if no Bluetooth signal can be detected at all, and the duration exceeds the time threshold LOSS_TIMEOUT_MS (e.g., 20 seconds), the vehicle is considered to have left the Bluetooth detection range. When either of these scenarios occurs, the vehicle state is set to the second state, i.e., insideGarage = false. To distinguish between the two scenarios, the former is set to insideGarage = false (far), and the latter is set to insideGarage = false (loss).

[0067] Continuous signal detection is required to trigger the second state. This mechanism can effectively avoid misjudgments caused by temporary lag or brief scan failures.

[0068] In one embodiment, maintaining or updating the state machine based on the vehicle state and the smart garage door state includes: when it is determined that the vehicle is in a second state and the latest obtained RSSI value is greater than a first threshold, controlling the opening of the smart garage door and updating the state of the smart garage door.

[0069] This embodiment discloses an automatic opening mechanism for a smart garage door, which requires the following two conditions to be met simultaneously: 1. insideGarage = false; 2. The most recent valid RSSI scan satisfies RSSI > enterThreshold. At this time, it is determined that the vehicle is approaching the garage from the outside, i.e., the vehicle has a need to enter the garage, and the relay pulse is controlled to complete the door opening operation.

[0070] In one embodiment, maintaining or updating the state machine based on the vehicle status and the smart garage door status includes: starting a timer after the smart garage door status switches from open to open, and determining whether it is in an open blocking period; if not, when it is determined that the vehicle is in a second state and the latest obtained RSSI value is greater than a first threshold, controlling the opening of the smart garage door and updating the status of the smart garage door.

[0071] To ensure the safety of vehicles entering the garage, an opening blocking period (e.g., 13 seconds) is set. After the smart garage door is fully opened, it automatically enters a timing process. During the opening blocking period, the smart garage door blocks any opening or closing control commands and remains open to ensure that vehicles can safely enter the garage.

[0072] In this embodiment, the automatic opening of the smart garage door requires the following three conditions to be met simultaneously: 1. insideGarage=false; 2. The most recent valid scan RSSI satisfies RSSI > enterThreshold; 3. It is not within the door opening shielding period. After the conditions are met, the control triggers the relay pulse to complete the door opening operation and enters the door opening shielding timer process.

[0073] In one embodiment, controlling the opening of the smart garage door and updating its state includes: updating the smart garage door's state to "open" during the opening process; determining whether the smart garage door is fully open based on the Hall effect; if so, updating the smart garage door's state to "open" and starting a closing countdown.

[0074] This embodiment discloses the state machine state transition process during the door opening process. During the door opening process, the system enters the OPENING state; each time the door is fully opened, it enters the OPEN state and restarts the automatic closing countdown, whether it's the first opening or a subsequent opening after an obstacle bounces. The automatic closing countdown time is customizable, with a default of 30 seconds.

[0075] This embodiment uses the Hall effect to detect whether the door is fully open. The Hall effect refers to the phenomenon where, when current flows through a conductor (or semiconductor), if a magnetic field is applied perpendicular to the current direction, the charge carriers (electrons or holes) inside the conductor are deflected by the Lorentz force, resulting in a transverse voltage difference across the conductor. This voltage is the Hall voltage. The magnitude of the Hall voltage is related to the magnetic field strength, the current magnitude, and the Hall coefficient. Here, a Hall sensor and a permanent magnet are used together to detect whether the door is fully open. The installation position can be adjusted according to the opening method of the intelligent garage door.

[0076] In one embodiment, after the countdown to closing the door ends, the method further includes: controlling the closing of the smart garage door; during the closing process, updating the state of the smart garage door to "closing" and performing obstacle detection based on the Hall effect; when an obstacle is detected for the first time, controlling the cessation of closing the smart garage door and updating the state of the smart garage door to "obstacle stopped"; when an obstacle is detected for the second time, controlling the opening of the smart garage door and updating the state of the smart garage door to "open".

[0077] This embodiment discloses the state transition process of the state machine during the door closing process. During the closing process, the system enters the CLOSING state; once the door is fully closed, it enters the CLOSED state. Whether the door is fully closed is also detected using the Hall effect.

[0078] This embodiment also discloses the situation where an obstacle occurs during the door closing process. Obstacle detection can be performed using an infrared / photoelectric obstacle sensor. When an obstacle is detected, the door closing immediately stops, the smart garage door status is updated to STOPPED_BY_OBSTACLE, and after a certain delay (e.g., 300ms), the reverse door opening is automatically triggered. The reverse door opening is uniformly achieved by using an opening state machine and Hall effect detection to ensure full opening.

[0079] Obstacle detection prevents the door from closing and causing collisions or injuries when vehicles or people are underneath it, ensuring personal and property safety during vehicle entry and exit, and meeting garage door safety standards.

[0080] In one embodiment, the method further includes: in sentry mode, if the smart garage door is detected to be open and there is no authorized Bluetooth beacon nearby, pushing identity verification information to the terminal, and triggering an alarm or remote notification after the identity verification fails.

[0081] Sentry mode is used to detect unauthorized intrusions at night. During user-defined time periods (e.g., 11:00 PM to 7:00 AM), security monitoring is automatically activated. Detection includes using Hall effect sensors to check for abnormal door openings and using obstacle sensors to detect unauthorized entry of people or objects into the garage area (if the beam is obstructed). An alarm is triggered if an unauthorized door opening is detected during sentry mode, or if the obstacle sensor is continuously obstructed. Unauthorized methods include door opening via methods other than app, Bluetooth, or remote control.

[0082] In one embodiment, the control method uses an ESP32 as the main control chip, which integrates WiFi and Bluetooth dual wireless communication modes. The main control chip is connected to a relay module that drives the door motor switch, a Hall sensor that detects the door's open / closed state, an infrared / photoelectric obstacle sensor for door closing anti-pinch protection and sentry mode detection of illegal entry, a buzzer for sentry mode alarm output, and non-volatile storage for saving user configuration parameters.

[0083] In one embodiment, the main control chip connects to the cloud platform via WiFi wireless communication, and indirectly connects to the terminal through the cloud platform. The terminal can also connect to the smart garage door via a local network. The cloud platform's functions include receiving the smart garage door's status uploaded by the system, issuing commands to the smart garage door, synchronizing configurations, issuing alarm notifications, and updating device shadows. The device shadow synchronizes the smart garage door's status to the cloud in real time, supporting offline status queries by the terminal. The terminal's functions include: real-time monitoring of the smart garage door's status, one-button opening / closing, system parameter configuration, storing historical records, and voice control of the switch.

[0084] In one embodiment, simultaneous tracking of multiple Bluetooth devices (such as multiple vehicles or multiple family members) is supported. Each device corresponds to an independently managed data structure, including vehicle status, cumulative scan counter, time window start time, and permission for automatic door opening. The vehicle status includes unknown state, home-locked state (vehicle confirmed to be in the garage), home-unlocked state (vehicle leaving the garage area), and distance satisfied state (vehicle confirmed to have left, waiting to approach the door again). The home-locked state is considered the first state, and the home-unlocked state is considered the second state.

[0085] In one embodiment, control commands can be sent to the smart garage door via a terminal. If the triggering conditions for updating the state machine are not met, or if the state machine update determination and the control commands meet the preset safety policy, the smart garage door can be controlled to perform opening, closing, or status query operations according to the control commands.

[0086] The trigger condition for updating the state machine is determined by step 106, which determines whether to update the state machine based on the vehicle status and the status of the smart garage door. According to the above embodiment, if the current vehicle status and the smart garage door status correspond to controlling the smart garage door to automatically open or close, then the state machine updates the smart garage door status accordingly.

[0087] Preset safety strategies refer to measures to avoid conflicts with the automatic opening and closing program of the smart garage door. This can be achieved by setting the priority between the automatic opening and closing program and the control commands issued by the terminal. For example, the automatic opening and closing program of the smart garage door has a higher priority than the control commands issued by the terminal. When the vehicle status and the smart garage door status meet the conditions for automatic opening, the smart garage door opens automatically, and the opening action is unaffected by the control commands from the terminal. Alternatively, the control commands issued by the terminal have a higher priority than the automatic opening and closing program of the smart garage door. When the smart garage door enters a closing countdown after automatically opening, and the terminal issues a control command to keep the smart garage door open, the smart garage door stops the closing countdown and remains open until the terminal issues a closing control command. Preset safety strategies can also flexibly set the priority between the automatic opening and closing program and the control commands issued by the terminal. Under certain conditions, the former has a higher priority than the latter, while under other conditions, the latter has a higher priority than the former.

[0088] This embodiment integrates the state machine, multiple control sources, and safety strategies into a single decision-making system, thereby improving control flexibility and parking convenience while ensuring safety.

[0089] In one embodiment, the terminal can issue commands via voice. The terminal collects voice signals through a microphone array, converts the voice signals into corresponding text content using speech recognition technology, performs intent recognition using natural language understanding technology, and generates control commands based on the parsed intent.

[0090] This invention provides an automatic garage door control method. By detecting changes in Bluetooth signal strength, it enables automatic door opening when a vehicle approaches, automatic door closing after the vehicle leaves, and automatic door opening upon re-triggering. Simultaneously, a false trigger protection mechanism is designed. When a vehicle is parked inside the garage, even if the RSSI value occasionally drops or the connection is briefly lost, the insideGarage indicator remains true, preventing accidental door opening. Only continuous weak signals or prolonged complete disconnection are considered a genuine departure. Therefore, this invention achieves a convenient and highly safe parking method through automatic garage door control.

[0091] The entire logic can run on any controller with Bluetooth functionality, simulating the original door operator buttons through relay dry contacts, adapting to different brands of garage doors, and has wide applicability.

[0092] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0093] Based on the same inventive concept, this application also provides an intelligent garage door automatic control system for implementing the aforementioned intelligent garage door automatic control method. The solution provided by this system is similar to the implementation described in the above method; therefore, the specific limitations in one or more embodiments of the intelligent garage door automatic control system provided below can be found in the limitations of the intelligent garage door automatic control method described above, and will not be repeated here.

[0094] In one embodiment, an automatic control system for intelligent garage doors is provided, applied to intelligent garage doors, the system comprising:

[0095] Bluetooth module, used for Bluetooth connection to the vehicle and to obtain periodic, continuous RSSI values;

[0096] A state machine is used to record the state of the smart garage door; the state of the smart garage door includes closed, open, opening, closing, and obstacle-stopped.

[0097] The controller is used to control the opening or closing of the smart garage door;

[0098] The processor, connected to the Bluetooth module, state machine, and controller, is used to determine the vehicle status based on continuous RSSI values ​​and to maintain or update the state machine based on the vehicle status and the status of the smart garage door.

[0099] In one embodiment, the terminal module includes a voice control module for receiving user voice input and generating corresponding control commands to send to the processor.

[0100] In one embodiment, the processor is configured to, upon receiving a control command, match an execution strategy for the control command based on the current state of the smart garage door, the vehicle state, the control command, and a preset security policy, including execution, delayed execution, and rejection of execution.

[0101] The various modules in the aforementioned intelligent garage door automatic control system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0102] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in all of the above method embodiments.

[0103] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in all of the above method embodiments.

[0104] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in all of the above method embodiments.

[0105] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0106] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0107] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0108] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for automatic control of intelligent garage doors, characterized in that, The intelligent garage door includes a Bluetooth module and a state machine, and the intelligent garage door can establish a communication connection with the vehicle through the Bluetooth module; the method includes: The Bluetooth module is used to obtain periodic, continuous RSSI values. The state of the smart garage door is obtained according to the state machine; the state of the smart garage door includes closed state, open state, opening in progress, closing in progress, and obstacle-stopped state. The vehicle status is determined based on the continuous RSSI values, and the state machine is maintained or updated based on the vehicle status and the status of the smart garage door.

2. The method according to claim 1, characterized in that, The step of determining the vehicle status based on the consecutive RSSI values ​​includes: When the RSSI value is greater than the first threshold N times consecutively, the vehicle is determined to be in the first state.

3. The method according to claim 2, characterized in that, The step of determining the vehicle status based on the consecutive RSSI values ​​includes: When the RSSI value is less than the second threshold N times consecutively, the vehicle is determined to be in the second state.

4. The method according to claim 3, characterized in that, The step of determining the vehicle status based on the consecutive RSSI values ​​includes: When obtaining the RSSI value fails and the duration exceeds the time threshold, the vehicle is determined to be in the second state.

5. The method according to claim 4, characterized in that, Maintaining or updating the state machine based on the vehicle status and the smart garage door status includes: When the vehicle is determined to be in the second state and the latest obtained RSSI value is greater than the first threshold, the smart garage door is opened and its state is updated.

6. The method according to claim 4, characterized in that, Maintaining or updating the state machine based on the vehicle status and the smart garage door status includes: After the smart garage door switches from open to open, a timer starts and it is determined whether it is in the door opening blocking period. If not, when it is determined that the vehicle is in the second state and the latest obtained RSSI value is greater than the first threshold, the smart garage door is opened and the state of the smart garage door is updated.

7. The method according to claim 5 or 6, characterized in that, The control to open the smart garage door and update the status of the smart garage door includes: During the process of opening the smart garage door, the status of the smart garage door is updated to "opening"; The system uses the Hall effect to determine whether the smart garage door is fully open; if so, it updates the smart garage door to the open state and begins a countdown to closing.

8. The method according to claim 7, characterized in that, After the countdown to closing has ended, the method further includes: Control the closing of the smart garage door; During the process of closing the smart garage door, the status of the smart garage door is updated to closed, and obstacle detection is performed based on the Hall effect; Upon first detection of an obstacle, the control stops the smart garage door from closing and updates the smart garage door's status to "obstacle detected, closed". When an obstacle is detected for the second time, the system opens the smart garage door and updates its status to open.

9. The method according to claim 1, characterized in that, The method further includes: In sentry mode, if the smart garage door is detected to be open and there is no authorized Bluetooth beacon nearby, an identity verification message is pushed to the terminal. If the identity verification fails, a local alarm or remote notification is triggered.

10. The method according to claim 1, characterized in that, The method further includes: The system receives control commands input by the user via a remote terminal and sends the control commands to the smart garage door. If the triggering condition for updating the state machine is not met, or if the state machine update determination and the control command satisfy a preset safety policy, the intelligent garage door is controlled to perform opening, closing, or status query operations according to the control command.

11. The method according to claim 10, characterized in that: The control commands include voice commands; The step of receiving control commands input by the user and sending the control commands to the smart garage door includes: Collect user voice and convert the user voice into the corresponding control command; The control commands are sent to the smart garage door via a cloud platform or local network.

12. The method according to claim 10 or 11, characterized in that, The step of controlling the smart garage door to perform opening, closing, or status query operations according to the control command when the triggering condition for updating the state machine is not met, or when the state machine update determination and the control command satisfy a preset safety policy, includes: Based on the status of the smart garage door, the vehicle status, the control command, and the preset security policy, an execution strategy is matched for the control command, including execution, delayed execution, and rejection of execution.

13. An intelligent garage door automatic control system, characterized in that, The system includes: Bluetooth module, used for Bluetooth connection to the vehicle and to obtain periodic, continuous RSSI values; A state machine is used to record the state of the smart garage door; the state of the smart garage door includes closed state, open state, opening in progress, closing in progress, and obstacle-stopped state. The controller is used to control the opening or closing of the smart garage door; The processor, connected to the Bluetooth module, the state machine, and the controller, is used to determine the vehicle status based on the continuous RSSI values, and to maintain or update the state machine based on the vehicle status and the status of the smart garage door.

14. The system according to claim 13, characterized in that: The system also includes a terminal module for receiving control commands input by the user and sending the control commands to the smart garage door to control the smart garage door to perform opening, closing, or status query operations.

15. The system according to claim 14, characterized in that: The terminal module includes a voice control module, which is used to receive user voice input and generate corresponding control commands to send to the processor.

16. The system according to claim 14 or 15, characterized in that, The processor is configured to, upon receiving the control command, match an execution strategy for the control command based on the current state of the smart garage door, the vehicle state, the control command, and a preset security policy, including execution, delayed execution, and rejection of execution.