Barrier control method, system, storage medium and computer program product

By analyzing and filtering anomalies in the barrier gate control system and combining it with environmental perception technology, the problem of the barrier gate control system being susceptible to interference was solved, achieving efficient and safe passage and restriction control, and improving the system's intelligence and traffic management efficiency.

CN122135448APending Publication Date: 2026-06-02SHENZHEN CASTEL INTELLIGENT TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN CASTEL INTELLIGENT TECH
Filing Date
2025-10-22
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

The existing barrier gate control system is susceptible to external interference, which can lead to identification errors or delays, affecting the release and restriction functions, and posing security risks.

Method used

By performing anomaly analysis and filtering upon receiving a release instruction, the status information of the barrier gate control system is obtained and matched with a pre-set abnormal event information database to ensure the legality and security of the instruction. After release, the system detects the restriction instruction and exit environment information to achieve intelligent monitoring and control.

Benefits of technology

It improves the safety and reliability of the barrier gate control system, ensures the accuracy and efficiency of the release operation, enhances the flexibility and timeliness of traffic restriction management, reduces the risk of misoperation, and improves the level of intelligence in traffic management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122135448A_ABST
    Figure CN122135448A_ABST
Patent Text Reader

Abstract

This application discloses a barrier gate control method, system, storage medium, and computer program product, relating to the field of barrier gate control technology. The disclosed barrier gate control method analyzes the status information of the barrier gate control system upon receiving a release command, identifying potential command errors or system anomalies. When a release command is in an abnormal state, this solution employs filtering measures to process the command, enabling the barrier gate to release traffic according to the optimized command, thus improving the accuracy of the release operation. After the barrier gate releases traffic, a restriction command is detected. By acquiring environmental information at the barrier gate exit, it confirms whether the target vehicle is present, achieving intelligent monitoring of the barrier gate's release environment. Through anomaly analysis, command filtering, real-time restriction detection, and environmental perception, this solution can effectively respond to emergencies while ensuring smooth traffic flow, thereby achieving accurate release and restriction under the premise of ensuring traffic safety and improving traffic management efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of barrier gate control technology, and in particular to barrier gate control methods, systems, storage media and computer program products. Background Technology

[0002] In modern urban management and traffic control systems, barrier gates, as key control devices for vehicle entry and exit, are widely used in parking lots, residential communities, highway toll stations, customs, and various other locations requiring vehicle control. Traditional barrier gate control systems mostly rely on radio frequency identification (RFID), license plate recognition (LPR), or simple remote control operations to achieve vehicle access control and restriction management. However, these systems face many challenges in practical applications, especially in complex and ever-changing external environments, where their stability and accuracy are often difficult to guarantee.

[0003] Specifically, existing barrier gate control methods are susceptible to interference from various external factors, such as severe weather conditions, electromagnetic interference, and decreased recognition accuracy due to equipment aging. These factors can all cause recognition errors or delays, thereby affecting the normal passage and restriction functions of the barrier gate. For example, in rainy weather, water droplets on license plates may obscure or blur the license plate numbers, causing the license plate recognition system to be unable to accurately read the information, thus misjudging the vehicle's identity and creating unnecessary passage obstacles or safety hazards. In addition, some malicious users may use technical means to interfere with or forge recognition signals, attempting to illegally enter restricted areas, further exacerbating the security risks of the barrier gate control system. Summary of the Invention

[0004] The main purpose of this application is to provide a barrier gate control method, system, storage medium, and computer program product, which aims to solve the technical problem that existing barrier gate control methods are easily affected by external interference and cannot accurately allow or restrict passage.

[0005] To achieve the above objectives, this application proposes a barrier gate control method, which includes: upon receiving a release command, performing anomaly analysis on the release command based on the status information of the barrier gate control system; filtering the release command when it is in an abnormal state, and controlling the barrier gate to release the vehicle according to the filtered release command; detecting a traffic restriction command after the barrier gate has released the vehicle; acquiring the exit environment information of the barrier gate when a traffic restriction command is received; and controlling the barrier gate to restrict the vehicle after confirming that the exit environment information of the barrier gate includes a target vehicle.

[0006] In one embodiment, the step of performing anomaly analysis on the release instruction based on the status information of the barrier gate control system upon receiving the release instruction includes: upon receiving the release instruction, obtaining the status information of the barrier gate control system; matching the status information of the barrier gate control system with a preset abnormal event information database; and determining that the release instruction is in an abnormal state when the preset abnormal event information database includes the status information of the barrier gate control system.

[0007] In one embodiment, before the step of matching the status information of the barrier gate control system with a preset abnormal event information database, the method further includes: reading the historical log information of the barrier gate control system; analyzing the behavior pattern of the barrier gate based on the historical log information; when the behavior pattern includes unauthorized remote control release, unauthorized manual release, or unauthorized restriction, recording the historical log information corresponding to the behavior pattern and generating an abnormal event corresponding to the behavior pattern; and building a preset abnormal event information database based on the abnormal events.

[0008] In one embodiment, the step of controlling the gate to release traffic according to the filtered release command includes: obtaining the working status of the gate; maintaining the gate to release traffic when the working status of the gate is the release status; parsing the current passage scenario mode when the working status of the gate is the restriction status; and controlling the gate to execute the release method corresponding to the passage scenario mode based on the filtered release command.

[0009] In one embodiment, the barrier gate includes a first barrier arm and a roadblock machine; the step of controlling the barrier gate to execute the release method corresponding to the passage scenario mode based on the filtered release command includes: when the passage scenario mode is a normal passage mode, controlling the first barrier arm and the roadblock machine to release simultaneously based on the filtered release command; when the passage scenario mode is an emergency passage mode, maintaining the roadblock machine in the release state, and controlling the first barrier arm to release based on the filtered release command; when the passage scenario mode is a fault mode, controlling the first barrier arm and the roadblock machine to stop receiving the filtered release command.

[0010] In one embodiment, the barrier gate includes a first barrier and a second barrier; the step of controlling the barrier gate to release traffic according to the filtered release command includes: controlling the first barrier to lift according to the filtered release command of the first barrier, and controlling the second barrier to enter a locked state; when the exit environment information of the first barrier confirms that the target vehicle is included, controlling the first barrier to lower, controlling the first barrier to enter a locked state, and controlling the second barrier to unlock; controlling the second barrier to lift according to the filtered release command of the second barrier, and controlling the first barrier to unlock.

[0011] In one embodiment, the step of controlling the barrier gate to restrict passage after confirming that the exit environment information of the barrier gate includes a target vehicle includes: after confirming that the exit environment information of the second barrier includes a target vehicle, controlling the second barrier gate to drop; after the second barrier gate drops, generating historical log information based on the barrier gate control system status information, the release command, the restriction command, and the exit environment information of the barrier gate; and generating alarm information and reporting when the historical log information includes abnormal events.

[0012] Furthermore, to achieve the above objectives, this application also proposes a barrier gate control system. The barrier gate control system applies the barrier gate control method described above. The barrier gate control system includes: a detection module, a control module, and a barrier gate. The control module is connected to both the detection module and the barrier gate. The control module is used to acquire the status information of the detection module, the control module, and the barrier gate when a release command is received, and analyze the release command based on the status information. The control module is also used to filter the release command when it is in an abnormal state, and control the barrier gate to release traffic based on the filtered release command. The control module is also used to acquire the barrier gate's exit environment information through the detection module after receiving a traffic restriction command. The control module is also used to control the barrier gate to restrict traffic after confirming that the exit environment information of the barrier gate includes a target vehicle.

[0013] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the gate control method described above.

[0014] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the barrier gate control method described above.

[0015] One or more technical solutions proposed in this application have at least the following technical effects: By first performing anomaly analysis based on the status information of the barrier gate control system upon receiving a release command, potential command errors or system anomalies can be detected and addressed promptly. This effectively avoids malfunctions caused by incorrect commands, improving the safety and reliability of the entire control system. When a release command is in an abnormal state, this solution employs filtering measures to process the command. This reduces the risk of malfunctions while ensuring that the command is adjusted within a reasonable range, enabling the barrier gate to release traffic based on optimized commands, thus improving the accuracy and efficiency of the release operation.

[0016] After the barrier gate allows passage, the restriction order is immediately detected. This instant response mechanism can quickly adjust the barrier gate status according to the latest situation, meeting emergency restriction needs and improving the flexibility and timeliness of restriction management. By acquiring environmental information at the barrier gate exit, especially confirming whether the target vehicle is present, this solution achieves intelligent monitoring of the barrier gate's passage environment. This environmental perception capability not only helps to accurately control barrier gate restrictions but also prevents traffic accidents that may occur due to the failure to identify the target vehicle, thus enhancing the intelligence level of the barrier gate control system.

[0017] By comprehensively utilizing measures such as anomaly analysis, instruction filtering, real-time traffic restriction detection, and environmental perception, this solution can effectively respond to emergencies, such as urgent traffic restriction needs, while ensuring smooth traffic flow. This allows for accurate traffic release and restriction while ensuring traffic safety, thus optimizing traffic management efficiency. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart illustrating the barrier gate control method provided in Embodiment 1 of this application; Figure 2 This is a flowchart illustrating the barrier gate control method provided in Embodiment 2 of this application; Figure 3 This is another flowchart illustrating the barrier gate control method provided in Embodiment 2 of this application; Figure 4 A structural block diagram provided for an embodiment of the barrier gate control system of this application; Figure 5 Another structural block diagram provided for an embodiment of the barrier gate control system of this application; Figure 6 Another structural block diagram provided for an embodiment of the barrier gate control system of this application.

[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0023] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0024] Existing barrier gate control methods are susceptible to interference from various external factors, such as severe weather conditions (rain, snow, fog), electromagnetic interference, and decreased recognition accuracy due to equipment aging. These factors can all cause recognition errors or delays, thereby affecting the normal passage and restriction functions of the barrier gate. For example, in rainy weather, water droplets on license plates may obscure or blur the license plate number, causing the license plate recognition system to be unable to accurately read the information, thus misjudging the vehicle's identity and creating unnecessary passage obstacles or safety hazards. In addition, some malicious users may use technical means to interfere with or forge recognition signals, attempting to illegally enter restricted areas, further exacerbating the security risks of the barrier gate control system.

[0025] Based on this, this application provides a barrier gate control method, please refer to... Figure 1 , Figure 2 and Figure 3 , Figure 1 This is a structural block diagram provided for Embodiment 1 of the barrier gate control method of this application; Figure 2 This is another structural block diagram provided for Embodiment 1 of the barrier gate control method of this application; Figure 3 This is a flowchart illustrating the gate control method provided in Embodiment 1 of this application.

[0026] In this embodiment, the implementation of the barrier gate control method can be carried out using a barrier gate control system as the carrier. The barrier gate control system is responsible for executing and controlling various operations of the barrier gate, including opening, closing, and status monitoring. A barrier gate control system typically consists of two main parts: hardware and software. The hardware part may include the barrier gate itself, sensors, cameras, communication equipment, etc., used to collect on-site data in real time and execute control commands. The software part may include control algorithms, user interfaces, databases, etc., used to process data, make decisions, and generate control commands.

[0027] Using the aforementioned barrier gate control system as the executing entity, this embodiment proposes a barrier gate control method, which includes steps S10 to S50: Step S10: Upon receiving a release instruction, perform anomaly analysis on the release instruction based on the status information of the barrier gate control system.

[0028] It should be noted that a release command refers to a signal or command that initiates the opening of the barrier gate. In a barrier gate control system, release commands are typically issued by operators or automated equipment. These devices usually include remote controls and manual control boxes, used to allow vehicles or pedestrians to pass through the barrier gate.

[0029] Specifically, a remote control is a wireless control device typically used for remote operation of a barrier gate system. In a barrier gate control system, the remote control usually works in conjunction with a receiver module. The receiver module is responsible for receiving the wireless signals emitted by the remote control and converting them into electrical signals, thereby controlling the opening and closing of the barrier gate. To ensure the security and reliability of the remote control, encrypted communication and anti-interference technologies are usually employed.

[0030] Specifically, a handheld control box is a wired or wireless handheld control device typically used for short-range operation of a barrier gate system. The handheld control box is usually directly connected to the control unit of the barrier gate control system, thus offering generally higher response speed and control precision. Furthermore, handheld control boxes are frequently used for manual control in emergency situations, ensuring that operators can still safely and effectively control the barrier gate even if the automatic control system malfunctions.

[0031] Understandably, upon receiving a release command, the system first performs anomaly analysis based on the current status information of the gate control system. This step aims to ensure that the release command is executed under normal and safe system conditions, avoiding security issues caused by system anomalies or erroneous commands.

[0032] It should be noted that, in this embodiment, the status information of the barrier gate control system includes, but is not limited to: the current position of the barrier gate (open, closed, or half-open); the working status of the barrier gate motor (whether it is overheating or in fault mode); sensor data (such as whether the infrared sensor detects obstacles or whether the vehicle detector identifies a vehicle); and communication status (whether the communication with the central control system is stable).

[0033] Understandably, the barrier gate control system first receives a release instruction from an authorized source (such as a parking management system, access control system, or manual operation interface). It then verifies the legality and source of the instruction, ensuring that it was issued by an authorized user or system.

[0034] It should be noted that, based on the preset anomaly detection rules, the system can identify state parameters that deviate from the normal operating range by comparing the current status information with the normal operating conditions. For example, the barrier gate may be in a faulty state when it receives an opening command; the sensor may detect an obstacle but the command may require the barrier gate to be opened; or communication may be interrupted, causing the command to be unable to be transmitted to the barrier gate in a timely manner.

[0035] Based on the above, this embodiment provides a specific implementation method for anomaly analysis: when a release instruction is received, the status information of the barrier gate control system is obtained; the status information of the barrier gate control system is matched with a preset abnormal event information database; when the status information of the barrier gate control system is included in the preset abnormal event information database, the release instruction is determined to be in an abnormal state.

[0036] Understandably, when the barrier gate control system receives a release instruction from a legitimate source (such as a parking management system, access control system, manual control panel, etc.), the instruction is first received and recorded by the system.

[0037] Immediately afterwards, the system begins collecting the current status information of the barrier gate control system. The system matches the collected status information with a pre-set database of abnormal events. This database, established in advance based on experience and expertise, contains various combinations of states that could lead to abnormal barrier gate operation. For example: receiving an opening command when the barrier gate is in a faulty state; the sensor detecting an obstacle but the command requesting the barrier gate to open; attempting to operate the barrier gate when the motor temperature is too high; receiving a command when communication is interrupted or unstable.

[0038] Understandably, if the collected status information matches any item in the preset abnormal event information database, the system will determine that the current release instruction is in an abnormal state.

[0039] Furthermore, this embodiment provides an implementation method for building a preset abnormal event information database: reading historical log information of the barrier gate control system; analyzing the behavior pattern of the barrier gate based on the historical log information; when the behavior pattern includes unauthorized remote control release, unauthorized manual release, or unauthorized restriction, recording the historical log information corresponding to the behavior pattern and generating an abnormal event corresponding to the behavior pattern; and building a preset abnormal event information database based on the abnormal events.

[0040] Understandably, historical log information is extracted from the barrier gate control system. This log information typically records all operation records, status changes, error reports, etc., of the barrier gate control system. This information forms the basis for analyzing barrier gate behavior patterns and identifying potential abnormal events.

[0041] Understandably, data analytics tools or algorithms are used to conduct in-depth analysis of historical log information to identify typical behavioral patterns of the barrier gate control system. These behavioral patterns may include normal operating patterns (such as periodic opening and closing), abnormal operating patterns (such as frequent failures, abnormal responses, etc.), and potential security risk patterns.

[0042] Understandably, behavioral pattern analysis focuses particularly on patterns that may indicate unauthorized operation or potential security risks. These patterns include, but are not limited to: unauthorized remote control access: recording any unauthorized remote control device attempting to control the barrier gate; unauthorized manual access: recording any unauthorized personnel manually operating the barrier gate; and unauthorized access restriction: recording instances where the barrier gate is illegally set to a restricted state (e.g., prohibiting vehicle entry or exit) for a specific time period. For each identified anomalous event, the time, location, involved equipment, and possible cause are recorded. This information is crucial for subsequently generating an anomalous event database.

[0043] Understandably, based on the identified anomalous events, specific descriptions of these events are generated. These descriptions should contain sufficient information to accurately identify similar anomalous events during subsequent matching processes.

[0044] Understandably, the generated abnormal events and their related information should be integrated into a database to form a pre-defined abnormal event information database. This database should contain detailed descriptions of abnormal events, possible triggering conditions, relevant status information, and recommended response measures. As the barrier gate control system operates and log information accumulates, the pre-defined abnormal event information database should be updated and optimized regularly. This includes adding new abnormal events, adjusting the triggering conditions of existing events, and optimizing response measures.

[0045] Step S20: When the release command is in an abnormal state, the release command is filtered, and the gate is controlled to release the vehicle according to the filtered release command.

[0046] Understandably, when the release command is in an abnormal state, filtering measures can be taken to ensure the safety and stability of the barrier gate control system. The filtering process aims to identify and eliminate commands that may lead to unsafe or unpredictable behavior, thereby controlling the barrier gate's release operation based on the filtered, safer, and more reliable release command.

[0047] It should be noted that once an abnormal state is detected in a release command, the system should immediately activate a filtering mechanism. This filtering mechanism may include: suspending execution (directly suspending the execution of the current command to avoid potential security risks); command verification (requiring the sender to resend the command and confirming its legitimacy through additional verification steps (such as passwords, tokens, biometrics, etc.); command correction (the system automatically corrects errors or unreasonable parts of the command to ensure its secure execution); and alternative command (in specific circumstances, the system may generate a more secure alternative command to replace the original abnormal command).

[0048] Specifically, corrections can include changing command parameters and adjusting the execution order of commands. For example, the system first needs to parse the received release command and identify its parameters, such as release time and gate opening height. The system then verifies these parameters to check if they are within reasonable ranges. For instance, the release time typically has a minimum and a maximum value; exceeding this range may indicate an error.

[0049] Understandably, if an error is detected in the parameters, the system will correct them according to preset rules or algorithms. For example, if the release time is too short, the system may adjust it to a reasonable default value, or dynamically calculate a more suitable release time based on historical data or current traffic conditions.

[0050] Understandably, when conflicts are detected between instructions (such as two instructions requiring the gate to open or close simultaneously), the system needs to take appropriate measures to resolve these conflicts. This may include suspending the execution of conflicting instructions, reordering instructions, or generating a new instruction that integrates all the instructions. In some cases, the system may need to adjust the execution order of instructions based on the actual situation. For example, if the system detects an emergency vehicle approaching, it may prioritize executing the instruction to open the gate, even if this instruction was originally later in the queue.

[0051] Understandably, after filtering, if the release command is deemed safe and executable, the system will control the gate's release operation according to that command. This may include opening the gate, adjusting the opening speed or duration, etc.

[0052] Therefore, controlling the gate to release traffic based on the filtered release command typically includes: obtaining the gate's operating status; maintaining the gate's release status when the gate's operating status is release status; parsing the current passage scenario mode when the gate's operating status is restriction status; and controlling the gate to execute the release method corresponding to the passage scenario mode based on the filtered release command.

[0053] Understandably, the system needs to obtain the current operating status of the barrier gate in real time. This typically includes two basic states: open and restricted. The open state means that the barrier gate is open or about to open, allowing vehicles or pedestrians to pass; while the restricted state means that the barrier gate is closed or about to close, restricting passage.

[0054] Understandably, if the barrier gate is currently in an open state, the system needs to maintain this state until a clear closing command is received or a preset open time is reached. This includes keeping the barrier gate open to ensure smooth passage.

[0055] Understandably, if the barrier gate is currently under traffic restriction, the system needs to analyze the current traffic scenario mode. The traffic scenario mode may change dynamically based on factors such as time, traffic flow, and special events, such as peak hours, emergency passage, and priority for specific vehicles.

[0056] Understandably, when traffic restrictions are in effect, the system will analyze the most suitable traffic scenario based on preset rules or algorithms, combined with real-time traffic data, weather conditions, and special event notifications. This process may involve complex decision-making logic and data analysis.

[0057] Understandably, once the traffic scenario mode is determined, the system will control the gate to execute the corresponding release method based on the filtered release command. This may include: if the filtered command requires immediate gate opening, the system will adjust parameters such as release time and speed according to the traffic scenario mode to ensure safe and efficient release. In some cases, release may be restricted by specific conditions, such as allowing only specific types of vehicles to pass. The system will further process and verify the release command based on these conditions. If the filtered command requires delayed release, the system will automatically open the gate after the specified time, or execute the release operation after receiving an additional confirmation signal. In some extreme cases, such as when the system detects a serious safety hazard or receives an emergency closure command, even if the filtered command requires release, the system may refuse to execute the command and maintain the restricted traffic status.

[0058] Step S30: After the barrier gate allows passage, a traffic restriction command is detected.

[0059] Step S40: Upon receiving the traffic restriction instruction, obtain the exit environment information of the barrier gate.

[0060] Step S50: After confirming that the exit environment information of the barrier gate includes the target vehicle, control the barrier gate to restrict passage.

[0061] Understandably, step S30 occurs after the barrier gate has already allowed passage according to the previous instruction. At this point, the system needs to continuously monitor for new restriction instructions. These instructions may come from multiple sources, such as the traffic management center, the emergency response system, or the manual operation interface. Once a restriction instruction is detected, the system needs to proceed to the next step of the processing flow.

[0062] Understandably, when the system receives a traffic restriction instruction, it cannot immediately implement the restriction, as vehicles may still be passing through the gate exit. Therefore, the system needs to obtain environmental information at the gate exit to determine whether it is safe to implement the traffic restriction. This information may include, but is not limited to: whether there are vehicles passing through or waiting to pass through the exit; the type and number of vehicles; traffic conditions at the exit, such as congestion or accidents; and weather and lighting conditions, which may affect the clarity and accuracy of the cameras. The system can collect this information using devices such as cameras, radar, and sensors, and use image processing, machine learning, and other technologies to analyze the data.

[0063] Specifically, export environmental information can be obtained through vehicle identification, vehicle location detection, and vehicle departure detection.

[0064] It should be noted that vehicle recognition is one of the key steps in obtaining exit environment information. It typically relies on advanced image recognition technology and deep learning algorithms to capture images or outlines of vehicles using devices such as cameras or laser scanners, and then processes and analyzes these images. The system can accurately determine information such as the vehicle's type, size, color, and license plate number, thereby providing accurate data support for subsequent control and management.

[0065] It's important to note that vehicle position detection is another crucial aspect of ensuring the safe operation of the barrier gate equipment. It typically uses sensors (such as photoelectric sensors and radar sensors) to monitor the vehicle's position and movement in real time. These sensors can accurately sense the vehicle's presence, speed, and distance from the barrier gate, transmitting this information to the control system in real time. The control system then makes corresponding decisions based on this information, such as controlling the raising or lowering of the barrier.

[0066] It should be noted that vehicle departure detection is a crucial step in confirming that a vehicle has successfully left the gate control area. It typically relies on a combination of vehicle recognition and sensor technologies. When the system detects that a target vehicle has passed through the exit and left the control area, it triggers a corresponding signal to notify the control system.

[0067] Understandably, in practical applications, these acquisition methods are often used in combination to ensure the accuracy and completeness of exit environment information. For example, based on vehicle recognition, vehicle position detection is used to track the movement trajectory of vehicles in real time; during vehicle departure detection, vehicle recognition technology is combined to confirm the identity and departure status of the target vehicle. This integrated approach not only improves the intelligence and adaptability of the barrier gate equipment but also enhances the security and reliability of the system.

[0068] Understandably, after acquiring and analyzing the exit environment information, the system needs to determine whether it is safe to implement traffic restrictions. If the information indicates that there are still target vehicles (i.e., the type or specific vehicle that needs to be restricted) at the exit or about to arrive at the exit, the system cannot immediately implement the traffic restriction operation, as this may lead to safety hazards. Only when it is confirmed that there are no target vehicles at the exit or that the target vehicles have safely left can the system control the barrier gate to enter the traffic restriction state and close the barrier gate to restrict the passage of other vehicles.

[0069] Finally, the system can generate historical log information based on the status information of the barrier control system, the release command, the restriction command, and the exit environment information of the barrier; when the historical log information includes abnormal events, an alarm message is generated and reported.

[0070] Understandably, the system can generate historical log information based on multiple information sources, including but not limited to: the status information of the barrier gate control system, release and restriction instructions, and the barrier gate's exit environment information. The historical log information should contain sufficient information for subsequent analysis and troubleshooting. It should clearly reflect the system's status at a specific point in time, as well as the events and instructions that led to the status change.

[0071] Understandably, the system needs to be able to detect abnormal events in real time. These events may include: incorrect commands, gate malfunctions, traffic violations, and safety hazards. Once an abnormal event is detected, the system should immediately generate an alarm message and report this information to the relevant operators or management departments. The alarm message should include detailed information about the abnormal event, such as the event type, timestamp, location, and possible cause. Simultaneously, the system can also provide suggested countermeasures or emergency handling procedures to help operators quickly resolve the problem.

[0072] In this embodiment, by first performing anomaly analysis based on the status information of the barrier gate control system after receiving the release command, potential command errors or system anomalies can be detected and handled in a timely manner. This effectively avoids barrier gate malfunctions caused by erroneous commands, improving the safety and reliability of the entire control system. When the release command is in an abnormal state, this solution employs filtering measures to process the command. This reduces the risk of malfunctions and ensures that the command is adjusted within a reasonable range, enabling the barrier gate to release according to the optimized command, thus improving the accuracy and efficiency of the release operation.

[0073] In this embodiment, after the road gate is released, the restricted travel instruction is immediately detected. This immediate response mechanism can quickly adjust the state of the road gate according to the latest situation, meet the emergency restricted travel requirements, and improve the flexibility and timeliness of restricted travel management. By obtaining the environmental information at the exit of the road gate, especially by confirming whether the target vehicle is included, this solution realizes the intelligent monitoring of the environment when the road gate is released. This environmental perception ability not only helps to accurately control the restricted travel of the road gate, but also can prevent traffic accidents that may occur due to the failure to identify the target vehicle, and improves the intelligent level of the road gate control system. By comprehensively applying measures such as anomaly analysis, instruction filtering, immediate restricted travel detection, and environmental perception, this solution can effectively respond to emergencies such as emergency restricted travel requirements while ensuring smooth traffic, so as to achieve accurate release of restricted travel under the premise of ensuring traffic safety and optimize traffic management efficiency.

[0074] Based on the first embodiment of the present application, in the second embodiment of the present application, the content that is the same or similar to the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 2 and Figure 3 , Figure 2 is a schematic flowchart of the road gate control method provided in the second embodiment of the present application; Figure 3 is another schematic flowchart of the road gate control method provided in the second embodiment of the present application. This embodiment gives the control logic of the road gate in the case where the two road gate devices are not unique.

[0075] In one implementation manner, the road gate device includes a roadblock machine and a first railing. The roadblock machine and the first railing are usually set at the same position to release and restrict travel. Setting the roadblock machine and the first railing at the same position and performing coordinated work through linkage control can significantly improve the efficiency and accuracy of traffic control. This layout and design can also reduce misoperations and potential safety risks because the two components can complement and verify each other's states.

[0076] Therefore, the steps of controlling the road gate to execute the release method corresponding to the traffic scenario mode based on the filtered release instruction include A10 to A30: Step A10, when the traffic scenario mode is the normal traffic mode, based on the filtered release instruction, control the first railing and the roadblock machine to release simultaneously in linkage.

[0077] It can be understood that in the normal traffic mode, the traffic flow is stable and there are no emergencies or abnormal situations. When the system receives the filtered release instruction and identifies that the current is the normal traffic mode, it will simultaneously control the first railing and the roadblock machine to release in linkage. This means that both will perform the release action synchronously to ensure that vehicles or pedestrians can pass smoothly. The purpose is to improve the traffic efficiency and ensure smooth traffic.

[0078] Step A20: When the passage scenario mode is emergency passage mode, maintain the roadblock machine in the release state and control the first barrier to release based on the filtered release command.

[0079] Understandably, in emergency passage mode, it may be necessary to quickly allow specific vehicles or pedestrians, such as ambulances and fire trucks, to pass. Once the system recognizes the emergency passage mode, it will maintain the road barrier in a release state (i.e., the road barrier has been lowered or retracted), and simultaneously control the first barrier to release traffic based on a filtered release command. This setup allows emergency vehicles to pass without waiting for the road barrier to activate. The aim is to ensure that emergency vehicles can pass quickly, improving emergency response speed.

[0080] Step A30: When the passage scenario mode is fault mode, control the first barrier and the roadblock machine to stop receiving the filtered passage command.

[0081] Understandably, in fault mode, the barrier gate equipment or its components may malfunction and fail to operate normally. Once the system detects a fault mode, it will immediately control the first barrier and the barrier mechanism to stop receiving filtered release commands. This means that even if the system receives a release command, the barrier gate equipment will not perform any action to avoid misoperation or safety issues caused by the fault. The purpose is to protect the safety of equipment and personnel and prevent further damage caused by the fault.

[0082] This embodiment demonstrates the flexibility and adaptability of the barrier gate equipment under different traffic scenarios. By intelligently identifying and processing release instructions, the system can adjust the release method of the barrier gate equipment according to different situations to ensure the efficiency and security of traffic management. At the same time, these steps also emphasize the importance of fault handling to ensure that timely measures can be taken to protect the safety of personnel and equipment in the event of equipment failure.

[0083] In another embodiment, the barrier gate device includes a first barrier and a second barrier; the first and second barriers are typically located at different positions, serving as an entrance and an exit while simultaneously possessing bidirectional passage characteristics. In this case, the step of controlling the barrier gate to release passage according to the filtered release command includes steps B10 to B30: Step B10: Based on the filtered release command of the first barrier, control the first barrier to lift and control the second barrier to enter the locked state.

[0084] Understandably, when the system receives a filtered release command for the first barrier (entrance), the command, after verification and processing, will trigger the first barrier to lift. Simultaneously, to ensure the safety and order of the exit, the system will immediately lock the second barrier (exit) to prevent unauthorized vehicles or pedestrians from leaving through the exit during the entrance release process. This ensures safe and orderly entrance release and prevents potential traffic conflicts or chaos.

[0085] Step B20: After confirming that the target vehicle is included in the exit environment information of the first barrier, when controlling the first barrier to drop, control the first barrier to enter the locked state, and control the second barrier to unlock.

[0086] Understandably, after the target vehicle successfully passes through the first barrier, the system continuously monitors the environmental information at the exit of the first barrier (i.e., the area the vehicle is about to enter). Once it is confirmed that the target vehicle has safely entered and moved away from the first barrier, the system will control the first barrier to drop and enter a locked state to prevent unauthorized entry by subsequent vehicles. At the same time, the system will unlock the second barrier, preparing to receive the target vehicle's departure request. This ensures the smooth transfer of the target vehicle from the entrance to the exit, while maintaining the synchronization and coordination of the two barrier devices.

[0087] Step B30: Based on the filtered release command of the second barrier, control the second barrier to lift and control the first barrier to unlock.

[0088] Understandably, when the system receives a filtered release command for the second barrier (exit), the command will be verified and processed. Ensuring the first barrier is locked and will not interfere with exit release, the system will raise the second barrier, allowing the target vehicle or pedestrian to leave. Simultaneously, to prepare for the next entrance release, the system will unlock the first barrier, placing it in a standby state. This ensures timely and secure exit release while maintaining the overall efficiency and flexibility of the barrier gate equipment.

[0089] In addition, the entrance and exit of the first and second railings will change naturally depending on the direction of oncoming traffic.

[0090] Understandably, based on the aforementioned interlocking mechanism, the step of controlling the barrier gate to restrict passage after confirming that the exit environment information of the barrier gate includes a target vehicle includes: controlling the second barrier gate to drop after confirming that the exit environment information of the second barrier gate includes a target vehicle; after the second barrier gate drops, generating historical log information based on the barrier gate control system status information, the release command, the restriction command, and the exit environment information of the barrier gate; and generating and reporting alarm information when the historical log information includes abnormal events.

[0091] Understandably, as a target vehicle is about to leave the area controlled by the barrier gate, the system will first check whether the target vehicle is included in the exit environment information of the second barrier (exit). This step is crucial because it ensures that the target vehicle has indeed arrived at the exit and is ready to leave. The system may use cameras, sensors, or other detection technologies to acquire exit environment information in real time and perform accurate analysis and judgment.

[0092] Understandably, once the exit environment information confirms the presence of the target vehicle, the system will immediately control the second barrier to drop. This action marks the start of the target vehicle's departure process and also ensures that subsequent vehicles do not enter the exit area without authorization. During the control of the second barrier's drop, the system will ensure the action is smooth and rapid to avoid unnecessary interference or delays to the target vehicle.

[0093] In this implementation, precise management of the barrier gate equipment at the entrance and exit is achieved through step division, coordinated control, and interlocking mechanisms. Each step is meticulously designed to ensure smooth and safe traffic flow, while simultaneously improving the intelligence and adaptability of the barrier gate equipment. This control method is particularly suitable for scenarios requiring strict management of traffic flow and safety, such as parking lots and highway toll stations.

[0094] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the barrier gate control method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0095] In addition, this application also provides a barrier gate control system, please refer to... Figure 4 , Figure 5 and Figure 6 The above embodiments are illustrated below. The barrier gate control system includes: a detection module 10, a control module 20, and a barrier gate 30; the control module 20 is connected to the detection module 10 and the barrier gate 30 respectively; the control module 20 is used to acquire the status information of the detection module 10, the control module 20, and the barrier gate 30 when a release command is received, and analyze the release command based on the status information; the control module 20 is also used to filter the release command when the release command is in an abnormal state, and control the barrier gate 30 to release according to the filtered release command; the control module 20 is also used to acquire the exit environment information of the barrier gate through the detection module 10 after receiving a traffic restriction command; the control module 20 is also used to control the barrier gate to restrict traffic after confirming that the exit environment information of the barrier gate 30 includes a target vehicle.

[0096] It should be noted that the control module 20 is usually selected to perform integrated processing using an MCU, and a backup module can also be added to prevent the system from shutting down in the event of an MCU failure.

[0097] This application provides a barrier gate control system, employing the barrier gate control method described in the above embodiments, which solves the technical problem that existing barrier gate control methods are easily affected by external interference and cannot accurately allow or restrict passage. Compared with the prior art, the barrier gate control system provided in this application has the same beneficial effects as the barrier gate control method provided in the above embodiments, and other technical features in the barrier gate control system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0098] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the gate control method in the above embodiments.

[0099] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0100] The aforementioned computer-readable storage medium may be included in the barrier gate control system; or it may exist independently and not be assembled into the barrier gate control system.

[0101] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the barrier gate control system, the barrier gate control system is able to effectively respond to emergencies, such as emergency traffic restriction needs, while ensuring smooth traffic flow. This enables accurate release and restriction of traffic while ensuring traffic safety, thereby optimizing traffic management efficiency.

[0102] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0104] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0105] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., computer programs) for executing the above-described barrier gate control method. This solves the technical problem that existing barrier gate control methods are susceptible to external interference and cannot accurately allow or restrict passage. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the barrier gate control method provided in the above embodiments, and will not be repeated here.

[0106] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the barrier gate control method described above.

[0107] The computer program product provided in this application can solve the technical problem that existing barrier gate control methods are easily affected by external interference and cannot accurately allow or restrict passage. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the barrier gate control method provided in the above embodiments, and will not be repeated here.

[0108] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for controlling a barrier gate, characterized in that, The barrier gate control method includes: Upon receiving a release instruction, an anomaly analysis is performed on the release instruction based on the status information of the barrier gate control system. When the release command is in an abnormal state, the release command is filtered, and the gate is controlled to release the passage according to the filtered release command. After the barrier gate allows passage, a traffic restriction command is detected; Upon receiving a traffic restriction order, obtain the exit environment information of the barrier gate; Once the exit environment information of the barrier gate is confirmed to include the target vehicle, the barrier gate is controlled to restrict passage.

2. The barrier gate control method as described in claim 1, characterized in that, The step of performing anomaly analysis on the release command based on the status information of the barrier gate control system upon receiving the release command includes: Upon receiving a release command, obtain the status information of the barrier gate control system; The status information of the barrier gate control system is matched with a preset abnormal event information database; When the preset abnormal event information database includes the status information of the barrier gate control system, the release command is determined to be in an abnormal state.

3. The barrier gate control method as described in claim 2, characterized in that, Before the step of matching the status information of the barrier gate control system with the preset abnormal event information database, the following steps are also included: Read historical log information from the barrier gate control system; Based on the historical log information, analyze the behavior pattern of the barrier gate; When the behavior pattern includes unauthorized remote control release, unauthorized manual release, or unauthorized traffic restriction, the historical log information corresponding to the behavior pattern is recorded and an abnormal event corresponding to the behavior pattern is generated; A pre-defined abnormal event information database is built based on the aforementioned abnormal events.

4. The barrier gate control method as described in claim 1, characterized in that, The steps of controlling the gate to release passage according to the filtered release command include: Obtain the working status of the barrier gate; When the barrier gate is in the opening state, the barrier gate is kept open. When the barrier gate is in a restricted access state, the current access scenario mode is parsed. Based on the filtered release command, the gate is controlled to execute the release method corresponding to the passage scenario mode.

5. The barrier gate control method as described in claim 4, characterized in that, The barrier gate includes a first barrier arm and a roadblock mechanism; The steps for controlling the barrier gate to execute the release method corresponding to the passage scenario mode based on the filtered release command include: When the passage scenario mode is normal passage mode, the first barrier and the roadblock machine are controlled to release passage simultaneously based on the filtered release command; When the passage scenario mode is emergency passage mode, the road barrier is kept in the release state, and the first barrier is controlled to release based on the filtered release command; When the passage scenario mode is fault mode, the first barrier and the roadblock machine are controlled to stop receiving the filtered passage command.

6. The barrier gate control method as described in claim 1, characterized in that, The barrier gate includes a first railing and a second railing; The steps of controlling the gate to release passage according to the filtered release command include: Based on the filtered release command of the first barrier, control the first barrier to lift up and control the second barrier to enter the locked state; When the target vehicle is confirmed to be included in the exit environment information of the first barrier, the first barrier is controlled to fall, the first barrier is controlled to enter the locked state, and the second barrier is controlled to unlock. Based on the filtered release command of the second barrier, the second barrier is raised, and the first barrier is unlocked.

7. The barrier gate control method as described in claim 6, characterized in that, The steps for controlling the barrier gate to restrict passage after confirming that the target vehicle is included in the exit environment information of the barrier gate include: After confirming that the target vehicle is included in the exit environment information of the second barrier, control the second barrier to drop; After the second barrier is lowered, historical log information is generated based on the status information of the barrier control system, the release command, the restriction command, and the exit environment information of the barrier. When the historical log information includes abnormal events, an alarm message is generated and reported.

8. A barrier gate control system, characterized in that, The system applies the barrier gate control method as described in any one of claims 1 to 7, and the barrier gate control system includes: a detection module, a control module, and a barrier gate; The control module is connected to the detection module and the barrier gate, respectively. The control module is used to acquire the status information of the detection module, the control module, and the barrier gate when a release instruction is received, and to analyze the release instruction based on the status information. The control module is also used to filter the release command when the release command is in an abnormal state, and control the gate to release the passage according to the filtered release command; The control module is also used to obtain the exit environment information of the barrier gate through the detection module after receiving the traffic restriction command; The control module is also used to control the barrier gate to restrict passage after confirming that the exit environment information of the barrier gate includes the target vehicle.

9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the barrier gate control method as described in any one of claims 1 to 7.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the barrier gate control method as described in any one of claims 1 to 7.