Vehicle passing method and device and storage medium
By using virtual location trigger markers at parking lot entrances and exits to replace inductive loop detectors, accurate detection of vehicle passage status is achieved. This solves the problems of poor installation consistency and unstable detection accuracy of traditional inductive loop detectors, improving the accuracy of vehicle detection and management efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN JIESHUN SCI & TECH IND
- Filing Date
- 2026-02-03
- Publication Date
- 2026-04-24
AI Technical Summary
The poor installation consistency, unstable detection accuracy, and high maintenance costs of inductive loop detectors in traditional parking lot entrance and exit channels have caused problems for parking lot management and equipment manufacturers.
Virtual location trigger markers are used to replace ground loop coils. Vehicles are identified through monitoring images and traffic prediction information is generated. Combined with preset trigger relationships, a vehicle presence signal is generated in the passage, thus achieving accurate detection of vehicle traffic status.
It improves the accuracy and stability of vehicle detection, reduces installation and maintenance costs, enhances management efficiency and economy, and is adaptable to vehicle detection in different scenarios.
Smart Images

Figure CN121921973A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus and storage medium for vehicle passage. Background Technology
[0002] In parking lot entrance and exit lane management scenarios, the control unit needs to use inductive loop detectors (ILDs) embedded in the lanes to detect the presence of vehicles overhead. The ILDs then inform the control unit of vehicle presence, thus determining the current control logic. However, in actual field applications, the situation is complex. The available areas and installation conditions for ILDs vary between different parking lots' entrance and exit lanes. Furthermore, because the ILDs are embedded in the lanes, long-term exposure to sun, rain, and vehicle traffic can easily cause malfunctions. This results in inconsistent installation, unstable detection accuracy, and high installation and maintenance costs, causing significant challenges for both parking lot management and equipment manufacturers. Summary of the Invention
[0003] Therefore, it is necessary to provide a vehicle passage method, device, and storage medium to address the aforementioned technical problems and solve at least one of the problems existing in the prior art.
[0004] Firstly, a method for vehicle passage is provided, including: Acquire monitoring images of the area covered by exit monitoring or entrance monitoring, wherein the monitoring images are configured with virtual location trigger markers for triggering passage status verification; Based on the monitoring footage, the first target vehicle to be passed is identified, and the passage prediction information of the first target vehicle is generated; When the first target vehicle and the virtual location trigger mark meet the preset triggering relationship, a vehicle presence signal is generated in the passage and sent to the associated exit controller or entrance controller.
[0005] In one possible implementation, the virtual location trigger marker is set at a preset distance in front of the gate access device of the corresponding channel along the vehicle passage direction. The preset distance is the safe buffer distance from when the vehicle triggers a vehicle signal in the channel to when the gate access device releases the vehicle.
[0006] In one possible implementation, the method further includes: When at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the virtual location trigger mark, location trigger information is generated. Based on the location triggering information, detect the current execution status of the barrier gate access device; When the current execution state matches the preset passage state, combined with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0007] In one possible implementation, after identifying the first target vehicle to be passed based on the monitoring image and generating the passage prediction information of the first target vehicle, the method further includes: Record the generation time of the passage prediction information; The generation time is used as the start point for timeout and the timer is started. If no second target vehicle is detected entering the monitoring coverage area within the preset time range, and no first target vehicle is detected within the preset area of the barrier gate passage device, then it is confirmed that the first target vehicle has passed and a passage record is generated.
[0008] In one possible implementation, the step of confirming that the first target vehicle has passed and generating a passage record when the current execution state matches a preset passage state, combined with the passage prediction information, includes: If the current execution state is the gate closing action execution state or the gate closing completion state, and the duration of the state is greater than a preset threshold, then, in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0009] In one possible implementation, prior to generating the location trigger information, the method further includes: Obtain the vehicle type parameter of the first target vehicle, wherein the vehicle type parameter includes vehicle length information; Based on the vehicle length information, determine whether the first target vehicle is an oversized vehicle; If the vehicle is determined to be too long, the effective triggering area of the virtual location triggering mark is adjusted, and the distance between the adjusted effective triggering area and the barrier gate passage device covers the entire passage length of the first target vehicle. If the vehicle is determined to be non-excessively long, the default valid trigger area of the virtual location trigger marker is used.
[0010] In one possible implementation, the method further includes: Obtain the entrance / exit scene type configuration instruction, wherein the scene type includes at least one of parking lot entrance / exit, highway toll station, and community access control; Based on the scenario type, the effective triggering area of the virtual location trigger mark and the closing delay time of the barrier gate passage device are dynamically adjusted.
[0011] In one possible implementation, the virtual location trigger marker includes a first virtual location trigger marker and a second virtual location trigger marker. The first virtual location trigger marker is disposed on the approaching vehicle side of the barrier gate device, and the second virtual location trigger marker is disposed on the exiting vehicle side of the barrier gate device. When at least one following vehicle of the first target vehicle is detected to enter the monitoring coverage area as a second target vehicle and reach the effective triggering area of the virtual location trigger marker, location trigger information is generated, including: When at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the first virtual location trigger mark, the location triggering information is generated. When the current execution state matches the preset passage state, and in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated, including: When the current execution state meets the preset passage state, detect whether the first target vehicle has reached the valid triggering area of the second virtual location trigger mark; If the first target vehicle reaches the valid triggering area of the second virtual location trigger mark, a passage confirmation message is generated. Based on the predicted passage information and the confirmed passage information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0012] Secondly, a vehicle passage device is provided, comprising: The monitoring screen acquisition unit is used to acquire the monitoring screen of the area covered by the exit monitoring or entrance monitoring. The monitoring screen is configured with a virtual location trigger marker for triggering the passage status verification. The passage prediction information generation unit is used to identify the first target vehicle to be passed based on the monitoring screen and generate the passage prediction information of the first target vehicle. The vehicle passage unit is used to generate a vehicle presence signal in the passage and send it to the associated exit controller or entrance controller when the first target vehicle and the virtual location trigger mark meet a preset triggering relationship.
[0013] Thirdly, a readable storage medium is provided that stores computer-readable instructions, which, when executed by a processor, implement the steps of the vehicle passage method as described above.
[0014] The above-mentioned vehicle passage method, device, and storage medium, the method of which includes: acquiring a monitoring screen of the area covered by exit monitoring or entrance monitoring, wherein the monitoring screen is configured with a virtual location trigger mark for triggering passage status verification; based on the monitoring screen, identifying a first target vehicle to pass and generating passage prediction information for the first target vehicle; when the first target vehicle and the virtual location trigger mark satisfy a preset trigger relationship, generating a vehicle presence signal in the passage and sending it to the associated exit controller or entrance controller. This application's embodiment abandons the traditional method of relying on inductive loop detectors for vehicle detection at parking lot entrances and exits. It eliminates the need to bury inductive loop detectors in the lanes, overcoming the limitations of parking lot entrances and exits on the area and installation conditions for inductive loop detectors. This significantly improves the adaptability and installation consistency of vehicle detection methods in different parking lot entrance and exit scenarios. Simultaneously, it avoids the problem of inductive loop detectors being prone to failure due to long-term exposure to sun and rain and vehicle traffic, effectively improving the accuracy and stability of vehicle detection at parking lot entrances and exits. It also reduces the manpower and material investment required for the installation and maintenance of inductive loop detectors, significantly lowering the installation and maintenance costs of vehicle detection at parking lot entrances and exits. This solves the operational and production problems caused by traditional detection methods for parking lot managers and equipment manufacturers, improving the overall efficiency and economy of parking lot entrance and exit management. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating a vehicle passage method according to one embodiment of this application. Figure 1 ; Figure 2 This is a flowchart illustrating a vehicle passage method according to one embodiment of this application. Figure 2 ; Figure 3 This is a schematic diagram of an application environment for a vehicle passage method according to an embodiment of this application; Figure 4 This is a flowchart illustrating a vehicle passage method according to one embodiment of this application. Figure 3 ; Figure 5 This is a flowchart illustrating a vehicle passage method according to one embodiment of this application. Figure 4 ; Figure 6 This is a flowchart illustrating a vehicle passage method according to one embodiment of this application. Figure 5 ; Figure 7 This is a schematic diagram of a vehicle passage device according to one embodiment of this application; Figure 8 This is a schematic diagram of a computer device according to one embodiment of this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] In one embodiment, such as Figure 1 As shown, a method for vehicle passage is provided, including the following steps: In step S110, the monitoring screen of the area covered by the exit monitoring or entrance monitoring is obtained, and the monitoring screen is configured with a virtual location trigger marker for triggering the passage status verification. Optionally, video capture devices (e.g., cameras) pre-deployed at the exits or entrances of parking lots, residential access control systems, or highway toll stations can be used to capture real-time images of the monitored area of the exit or entrance lanes to obtain continuous and clear monitoring footage. This monitoring footage is pre-configured with virtual location trigger markers for triggering vehicle passage status verification based on on-site scene parameters such as the width of the entrance / exit lanes and vehicle travel trajectories. These virtual location trigger markers can be set at a preset distance (e.g., 2.5 meters) in front of the corresponding lane's barrier gate along the vehicle's direction of travel. The preset distance is a safe buffer distance from when a vehicle triggers a signal in the lane until the barrier gate releases the vehicle. It should be noted that the location of the virtual location trigger marker is typically smaller than the length of the shortest vehicle in the parking lot to ensure that only one vehicle can be accommodated between the gate and the virtual location trigger marker. Of course, this restriction only applies to conventional parking lots; in other specially controlled parking lots, the location of the virtual location trigger marker can be larger than the vehicle length, which is not limited in this application.
[0019] It should be noted that the specific implementation of the virtual location trigger mark is not limited to a single type. It includes at least one of virtual baseline and virtual trigger area. The virtual baseline can be laid out along the vehicle passage direction or perpendicular to the passage direction, and the virtual trigger area can be flexibly defined according to factors such as vehicle size and gate location.
[0020] Furthermore, the virtual location trigger mark may include a first virtual location trigger mark and a second virtual location trigger mark, wherein the first virtual location trigger mark is set on the approaching vehicle side of the barrier gate device, and the second virtual location trigger mark is set on the exiting vehicle side of the barrier gate device. Specifically, the first virtual location trigger marker is positioned near the front end of the lane in the direction of oncoming traffic (such as inside the parking lot exit or outside the parking lot entrance). The width of its effective trigger area is adapted to the lane width. It is mainly used to detect vehicles that are about to arrive at the barrier gate in advance, especially following vehicles of the first target vehicle. When the following vehicle enters the trigger area, a trigger signal can be quickly generated to start the barrier gate status detection process. The second virtual location trigger marker is positioned near the end of the lane in the direction of outgoing traffic (such as outside the parking lot exit or inside the parking lot entrance). The effective trigger area covers the exit path of the vehicle after it has completely passed through the barrier gate. It is mainly used to verify whether the vehicle has completed the entire passage through the barrier. The trigger status of this unit can further confirm the completion of the vehicle's passage, providing a dual verification basis for the generation of passage records. The coordinated deployment of the two units can achieve accurate monitoring of the entire vehicle passage process and effectively improve the accuracy of the passage status determination.
[0021] It should be noted that when configuring virtual location trigger markers in the monitoring screen, it is necessary to first select fixed physical points such as both ends of the barrier gate and the edge line of the lane as calibration anchor points based on the entrance / exit monitoring screen, establish a spatial mapping relationship between the pixel coordinates of the screen and the actual spatial dimensions on site, and complete the coordinate mapping between the physical scene and the screen pixels; then select the type of virtual baseline or virtual trigger area according to the passage verification requirements; then bind the passage status verification logic to the configured virtual location trigger marker, and preset the scene adaptation rules based on the entrance / exit type and vehicle parameters; finally, verify the trigger effectiveness through field tests of multiple vehicle types and multiple passage scenarios, fine-tune the coordinate parameters and trigger sensitivity for false triggering or missed triggering, solidify the optimal configuration parameters, and thus obtain the virtual location trigger marker.
[0022] In step S120, based on the monitoring screen, the first target vehicle to be passed is identified, and the passage prediction information of the first target vehicle is generated; Optionally, after acquiring the monitoring footage, a pre-configured vehicle recognition algorithm (such as the YOLO series target detection algorithm) can be invoked to accurately extract the contours and match feature points of the vehicle target area in the monitoring footage. Simultaneously, continuous tracking technology (e.g., combined with the DeepSORT algorithm) is used to continuously track the first target vehicle across multiple frames, analyzing its driving trajectory, speed, and turning trends in real time to determine its driving intention and thus identify the first target vehicle in a waiting-to-pass state. During vehicle recognition, vehicle information such as license plate number, vehicle size, and vehicle type can be collected simultaneously. Based on this, combined with the vehicle's real-time driving trajectory, its relative position to the barrier gate equipment and virtual location trigger markers, and related information such as the current traffic flow at the entrance / exit and the real-time status of the barrier gate equipment, a comprehensive passage prediction information is generated for subsequent passage status verification. This information not only serves as a start signal to trigger the system into a passage waiting-to-confirmation state but may also include key data such as the first target vehicle's identity characteristics and passage trajectory prediction for subsequent vehicle passage confirmation.
[0023] In step S130, when the first target vehicle and the virtual location trigger mark satisfy a preset trigger relationship, a vehicle presence signal is generated in the passage and sent to the associated exit controller or entrance controller.
[0024] Optionally, when the identified first target vehicle moves within the monitoring coverage area of the parking lot entrance / exit and meets the preset triggering relationship with the pre-configured virtual location trigger marker in the monitoring screen, the vehicle presence detection logic is triggered and a vehicle presence signal is generated. This preset triggering relationship can be pre-set according to the actual passage requirements of the parking lot entrance / exit passage. For example, triggering scenarios could include the first target vehicle's body (e.g., the front or middle of the vehicle) coinciding with the virtual location trigger marker, the first target vehicle entering the effective triggering area defined by the virtual location trigger marker, or the distance between the first target vehicle and the virtual location trigger marker reaching a preset threshold. After generating the vehicle presence signal, this signal is sent in real-time to the exit control unit or entrance control unit associated with the current parking lot entrance / exit passage, providing the control unit with the basic detection signal for the vehicle's presence to perform subsequent gate access control equipment actions, access permission verification, and other parking lot entrance / exit passage control logic.
[0025] In this embodiment of the application, a vehicle passage method is provided, comprising: acquiring a monitoring screen of the area covered by an exit monitoring or an entrance monitoring, wherein the monitoring screen is configured with a virtual location trigger marker for triggering passage status verification; based on the monitoring screen, identifying a first target vehicle to pass and generating passage prediction information for the first target vehicle; when the first target vehicle and the virtual location trigger marker satisfy a preset trigger relationship, generating a vehicle presence signal in the passage and sending it to the associated exit controller or entrance controller. This application's embodiment abandons the traditional method of relying on inductive loop detectors for vehicle detection at parking lot entrances and exits. It eliminates the need to bury inductive loop detectors in the lanes, overcoming the limitations of parking lot entrances and exits on the area and installation conditions for inductive loop detectors. This significantly improves the adaptability and installation consistency of vehicle detection methods in different parking lot entrance and exit scenarios. Simultaneously, it avoids the problem of inductive loop detectors being prone to failure due to long-term exposure to sun and rain and vehicle traffic, effectively improving the accuracy and stability of vehicle detection at parking lot entrances and exits. It also reduces the manpower and material investment required for the installation and maintenance of inductive loop detectors, significantly lowering the installation and maintenance costs of vehicle detection at parking lot entrances and exits. This solves the operational and production problems caused by traditional detection methods for parking lot managers and equipment manufacturers, improving the overall efficiency and economy of parking lot entrance and exit management.
[0026] like Figure 2 As shown, in one embodiment of this application, the method further includes: In step S210, when at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the virtual location trigger mark, location triggering information is generated. In step S220, the current execution status of the barrier gate access device is detected based on the location trigger information; In step S230, when the current execution state meets the preset passage state, combined with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0027] Optionally, after the identification of the first target vehicle is completed and the passage prediction information is generated, the exit monitoring or entrance monitoring coverage area can be continuously monitored dynamically. Once at least one vehicle following the first target vehicle (i.e., the second target vehicle) is detected to enter the monitoring coverage area, and the second target vehicle travels to the effective trigger range of a pre-configured virtual location trigger mark (including at least one of a virtual baseline and a virtual trigger area), location trigger information is automatically generated. This location trigger information can serve as a key signal to trigger the subsequent gate status detection and passage confirmation process, establish the passage association between the first target vehicle and the second target vehicle, and provide a basis for judgment for subsequent accurate verification of the actual passage status of the first target vehicle.
[0028] It should be noted that if there are multiple vehicles following the first target vehicle, i.e., when multiple vehicles following the first target vehicle continuously enter the monitoring coverage area, a following sequence can be constructed based on passage time, actual driving trajectory, etc., and the number of vehicles in the following sequence can be counted, and the order of passage of each vehicle can be marked. When the first vehicle in the following sequence is detected to reach the effective trigger area of the virtual location trigger mark, sequence trigger information is generated. The sequence trigger information is used to control the barrier gate to maintain the opening state during the passage of the following sequence until the last vehicle in the following sequence passes the virtual location trigger mark and completely exits the entrance / exit, at which point the subsequent gate closing action is executed. After all vehicles in the following sequence have exited, the passage records of each vehicle in the following sequence can be generated in batches for subsequent billing and other operations. By establishing a following sequence and maintaining the opening state of the barrier gate to maintain the opening state, congestion at the entrance / exit can be avoided, and vehicle passage efficiency can be improved.
[0029] Furthermore, if a vehicle that cuts in line outside the following sequence is detected to have reached the valid trigger area of the virtual location trigger mark, the barrier gate can be kept closed, and an illegal cutting alarm message can be output until the staff manually handles the situation or the vehicle that cut in line leaves. This avoids the problem of vehicles cutting in line occupying the passage rights of authenticated vehicles, preventing authenticated vehicles from leaving the gate, and effectively improves the rigor and reliability of vehicle passage management.
[0030] Furthermore, upon generating location trigger information, the status detection process for the barrier gate access equipment can be immediately initiated. This process collects the current execution status of the barrier gate access equipment in real time, including key status information such as the barrier's raising status, releasing status, closing action execution status, or closing completion status. This detection result will be used in conjunction with subsequent passage prediction information to ultimately confirm whether the first target vehicle has completed passage. It should be noted that if the barrier gate access equipment is in the closing action execution status or closing completion status, and the duration of this status exceeds a preset threshold, it indicates that the first target vehicle has completed passage, thus avoiding misjudgments of passage caused by instantaneous fluctuations in the barrier gate's status.
[0031] Once the current execution status of the barrier gate is detected, it can be compared with the preset passage status. If the current execution status is determined to be consistent with the preset passage status, it can be combined with the pre-generated first target vehicle passage prediction information to finally confirm that the first target vehicle has completed the passage through the barrier. The passage record containing key information such as the vehicle's license plate number, vehicle type parameters, passage time, and barrier gate status is automatically generated, providing complete and effective data support for subsequent processes such as entrance and exit billing management and authentication.
[0032] For example, because the control unit has a risk of misjudgment, the passage prediction information cannot directly indicate that the first target vehicle has passed. Therefore, the misjudgment rate can be reduced by adding virtual location trigger markers. Specifically, such as... Figure 3 As shown, when the controller of the barrier gate detects that the second target vehicle has entered the monitoring coverage area, if the first target vehicle has already passed, but due to the probability of misjudgment (such as the first target vehicle not actually leaving due to malfunction or turning around), it cannot be immediately determined whether the first target vehicle has passed. Otherwise, the gate will be opened for the following vehicle (the second target vehicle) after authentication, but the first target vehicle (the preceding vehicle) will actually pass, resulting in the second target vehicle being unable to pass. Therefore, a virtual position trigger mark (such as a virtual ground loop) can be set at a preset distance (such as 2.5 meters) before the gate arm. At this time, when the second target vehicle is detected to have hit the line (the front of the vehicle coincides with the virtual ground loop), it indicates that there are no other vehicles between the gate arm and the second target vehicle, which indicates that the first target vehicle has left.
[0033] In this embodiment, the system is triggered to enter a pending confirmation state by generating traffic prediction information. A two-layer confirmation mechanism is constructed to detect the gate status by triggering the virtual position triggering unit based on the algorithm's prediction of following vehicles. This effectively distinguishes between four scenarios: normal passage, illegal tailgating, lingering in front of the gate, and algorithm misdetection, significantly reducing the misjudgment rate of traffic status and avoiding the risk of authentication disorder at the source. It also prevents vehicle collisions caused by the gate closing prematurely. At the same time, the timeout fault tolerance mechanism avoids traffic congestion at entrances and exits, improving the security and smoothness of traffic management. In addition, the flexible configuration and dynamic adjustment capability of the virtual position triggering unit can adapt to different camera installation angles, lighting environments, and vehicle vehicle requirements, enhancing the environmental adaptability and scenario compatibility of the solution.
[0034] like Figure 4 As shown in one embodiment of this application, after identifying the first target vehicle to be passed based on the monitoring screen and generating the passage prediction information of the first target vehicle, the method further includes: In step S310, the generation time of the passage prediction information is recorded; In step S320, the generation time is used as the start point for timeout and the timer is started. If the second target vehicle is not detected entering the monitoring coverage area within the preset time range, and the first target vehicle is not detected being located within the preset area of the barrier gate passage device, then it is confirmed that the first target vehicle has passed and a passage record is generated.
[0035] Optionally, when generating passage prediction information, the generation time of the passage prediction information can be recorded and used as the starting point for timeout timing. The timing process is automatically started. If, within the preset timing range, such as within 3 minutes, after continuous dynamic monitoring, it is found that no second target vehicle following the first target vehicle has entered the monitoring coverage area, and the first target vehicle has not been detected within the preset sensing area of the barrier gate passage device, it can be determined that the first target vehicle has completed the gate passage operation. A complete passage record containing key data such as vehicle license plate number, vehicle model parameters, passage time, barrier gate status, and timeout judgment criteria is automatically generated. This timeout fault tolerance mechanism can effectively solve the problem of passage confirmation delay in scenarios without following vehicles, avoid entrance and exit congestion caused by the lack of a single judgment condition, and further improve the smoothness and intelligence level of passage management.
[0036] like Figure 5 As shown, in one embodiment of this application, the step of confirming that the first target vehicle has passed and generating a passage record when the current execution state meets the preset passage state, combined with the passage prediction information, includes: In step S410, if the current execution state is the gate closing action execution state or the gate closing completion state, and the duration of the state is greater than a preset threshold, the first target vehicle is confirmed to have passed and a passage record is generated in combination with the passage prediction information.
[0037] Optionally, if the current execution status is the gate closing action execution status or the gate closing completion status, and this status is not a momentary abnormal state caused by external interference, and further continuous monitoring confirms that the duration of the gate closing-related status is greater than a preset time threshold, this effectively eliminates the risk of misjudgment of passage caused by factors such as gate jitter and signal mistransmission. Then, combined with the passage prediction information, it can be finally determined that the first target vehicle has completed the gate passage operation (such as entering or exiting the site). At this time, a passage record including vehicle license plate number, vehicle type parameters, gate status changes, passage completion time, etc., can be generated to provide data support for entrance and exit billing, vehicle management, etc.
[0038] In one embodiment of this application, before generating the location trigger information, the method further includes: Obtain the vehicle type parameter of the first target vehicle, wherein the vehicle type parameter includes vehicle length information; Based on the vehicle length information, determine whether the first target vehicle is an oversized vehicle; If the vehicle is determined to be too long, the effective triggering area of the virtual location triggering mark is adjusted, and the distance between the adjusted effective triggering area and the barrier gate passage device covers the entire passage length of the first target vehicle. If the vehicle is determined to be non-excessively long, the default valid trigger area of the virtual location trigger marker is used.
[0039] It should be noted that the effective triggering area of this virtual triggering unit can be dynamically updated. That is, before generating location triggering information, the vehicle type parameter of the first target vehicle can be obtained first. This vehicle type parameter may specifically include vehicle length information used to characterize vehicle size features. Then, the vehicle length information is compared with the standard vehicle length threshold. If the vehicle length is greater than the standard vehicle length threshold, the first target vehicle is considered to be an oversized vehicle. To avoid the second target vehicle failing to trigger verification because the first target vehicle has not completely left the effective triggering area of the virtual location triggering mark, the effective triggering area of the virtual location triggering mark can be automatically adjusted to ensure that the distance between the adjusted effective triggering area and the barrier gate is sufficient to completely cover the entire passage length of the first target vehicle, avoiding triggering omissions due to excessive vehicle length. If the first target vehicle is determined to be a non-oversized vehicle, no additional adjustment is required, and the default effective triggering area pre-set by the virtual location triggering mark is directly adopted, thereby adapting to the passage verification requirements of different vehicle types and improving the accuracy and compatibility of triggering judgment.
[0040] In one embodiment of this application, the method further includes: Obtain the entrance / exit scene type configuration instruction, wherein the scene type includes at least one of parking lot entrance / exit, highway toll station, and community access control; Based on the scenario type, the effective triggering area of the virtual location trigger mark and the closing delay time of the barrier gate passage device are dynamically adjusted.
[0041] Optionally, first obtain the scenario type configuration instruction for the entrance / exit, where the scenario type covers at least one of parking lot entrances / exits, highway toll stations, and community access control. Then, based on the differences in traffic characteristics of different scenarios, dynamically adjust the size and deployment location of the effective trigger area of the virtual location trigger marker, as well as the closing delay time of the barrier gate. For example, for the highway toll station scenario with high traffic volume and mixed vehicle types, the coverage of the effective trigger area of the virtual location trigger marker can be expanded and the closing delay time can be extended to adapt to the passage needs of large trucks. For the community access control scenario with stable traffic volume and mainly small cars, a more compact trigger area and a shorter closing delay time can be adopted to improve the accuracy and efficiency of vehicle passage verification in different scenarios.
[0042] like Figure 6As shown, in one embodiment of this application, the virtual location trigger marker includes a first virtual location trigger marker and a second virtual location trigger marker. The first virtual location trigger marker is disposed on the approaching vehicle side of the barrier gate device, and the second virtual location trigger marker is disposed on the exiting vehicle side of the barrier gate device. When at least one following vehicle of the first target vehicle is detected to enter the monitoring coverage area as a second target vehicle and reach the effective triggering area of the virtual location trigger marker, location trigger information is generated, including: In step S510, when at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the first virtual location trigger mark, the location triggering information is generated.
[0043] When the current execution state matches the preset passage state, and in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated, including: In step S520, when the current execution state meets the preset passage state, it is detected whether the first target vehicle has reached the effective triggering area of the second virtual location trigger mark; In step S530, if the first target vehicle reaches the valid triggering area of the second virtual location trigger mark, a passage confirmation message is generated; In step S540, by combining the passage prediction information and the passage confirmation information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0044] Optionally, the virtual location trigger markers specifically include a first virtual location trigger marker and a second virtual location trigger marker placed on both sides of the barrier gate access device. The first virtual location trigger marker is deployed on the approaching vehicle side of the barrier gate access device to detect vehicles about to arrive at the barrier gate in advance. The second virtual location trigger marker is deployed on the exiting vehicle side of the barrier gate access device to verify whether the vehicle has completely passed through the barrier gate. When a first target vehicle is identified and the corresponding passage prediction information for the first target vehicle is generated, the vehicle passage dynamics within the monitoring coverage area can be continuously monitored within a certain time range. Once at least one second target vehicle following the first target vehicle is detected to enter the area, and the second target vehicle travels to the effective trigger range of the pre-deployed first virtual location trigger marker, location trigger information is immediately generated to trigger the subsequent barrier gate status detection process, providing a key trigger signal for the passage status verification of the first target vehicle.
[0045] When the system determines that the current execution status of the barrier gate equipment matches the preset passage status, it will simultaneously initiate a secondary verification process for the location of the first target vehicle. This process checks whether the first target vehicle has traveled to the effective triggering area of the second virtual location trigger mark deployed on the vehicle exit side of the barrier gate equipment. If monitoring confirms that the first target vehicle has reached the effective triggering area of the second virtual location trigger mark, the system will automatically generate passage confirmation information. Subsequently, the system will correlate and verify this passage confirmation information with the generated first target vehicle passage prediction information. Combining the vehicle identity characteristics, driving trajectory, and other core data in the prediction information, a dual judgment basis will be formed. Ultimately, the system will accurately confirm that the first target vehicle has completed the entire passage through the barrier gate and automatically generate a complete passage record containing data of the entire vehicle passage process. By deploying dual virtual trigger markers on both the approaching and exiting sides of the barrier gate, and combining traffic prediction information and confirmed passage information as the basis for determining vehicle exit, problems such as discrepancies between the authenticated and exiting vehicles caused by vehicles cutting in, and situations where vehicle malfunctions result in the generation of traffic prediction information but the vehicle has not actually exited, which prevent precise control and improve traffic efficiency.
[0046] In this embodiment, the system is triggered to enter a pending confirmation state by generating traffic prediction information. A two-layer confirmation mechanism is constructed to detect the status of the barrier gate by detecting the virtual location trigger mark of the following vehicle based on the algorithm's prediction. This effectively distinguishes between four scenarios: normal passage, illegal tailgating, lingering in front of the gate, and algorithm misdetection, significantly reducing the misjudgment rate of traffic status and avoiding the risk of authentication disorder from the root. It also prevents vehicle collisions caused by the premature closing of the barrier gate. At the same time, it avoids traffic congestion at entrances and exits by relying on the timeout fault tolerance mechanism, improving the security and smoothness of traffic management. In addition, the flexible configuration and dynamic adjustment capability of the virtual location trigger mark can adapt to different camera installation angles, lighting environments, and vehicle vehicle requirements, enhancing the environmental adaptability and scenario compatibility of the solution.
[0047] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0048] In one embodiment, a vehicle passage device is provided, which corresponds one-to-one with the vehicle passage methods described in the above embodiments. For example... Figure 7 As shown, the vehicle passage device includes a monitoring image acquisition unit 10, a passage prediction information generation unit 20, and a vehicle passage unit 30. Detailed descriptions of each functional module are as follows: The monitoring screen acquisition unit 10 is used to acquire the monitoring screen of the area covered by the exit monitoring or entrance monitoring. The monitoring screen is configured with a virtual location trigger mark for triggering the passage status verification. The virtual location trigger mark includes at least one of a virtual baseline and a virtual trigger area. The passage prediction information generation unit 20 is used to identify the first target vehicle to be passed based on the monitoring screen and generate the passage prediction information of the first target vehicle. The vehicle passage unit 30 is used to generate a vehicle presence signal in the passage and send it to the associated exit controller or entrance controller when the first target vehicle and the virtual location trigger mark meet a preset trigger relationship.
[0049] In one embodiment of the application, the virtual location trigger mark is set at a preset distance in front of the gate access device of the corresponding channel along the vehicle passage direction. The preset distance is the safe buffer distance from when the vehicle triggers a vehicle signal in the channel to when the gate access device releases the vehicle.
[0050] In one embodiment of this application, the device further includes: a first passage record generation unit, configured to: When at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the virtual location trigger mark, location trigger information is generated. Based on the location triggering information, detect the current execution status of the barrier gate access device; When the current execution state matches the preset passage state, combined with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0051] In one embodiment of this application, the device further includes: a second passage record generation unit, configured to: Record the generation time of the passage prediction information; The generation time is used as the start point for timeout and the timer is started. If the second target vehicle is not detected to enter the monitoring coverage area within the preset time range, and the first target vehicle is not detected to be located in the preset area of the barrier gate passage device, then it is confirmed that the first target vehicle has passed and a passage record is generated.
[0052] In one embodiment of this application, the first access record generation unit is further configured to: If the current execution state is the gate closing action execution state or the gate closing completion state, and the duration of the state is greater than a preset threshold, then, in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0053] In one embodiment of this application, the device further includes: an effective trigger area adjustment unit, used for: Obtain the vehicle type parameter of the first target vehicle, wherein the vehicle type parameter includes vehicle length information; Based on the vehicle length information, determine whether the first target vehicle is an oversized vehicle; If the vehicle is determined to be too long, the effective triggering area of the virtual location triggering mark is adjusted, and the distance between the adjusted effective triggering area and the barrier gate passage device covers the entire passage length of the first target vehicle. If the vehicle is determined to be non-excessively long, the default valid trigger area of the virtual location trigger marker is used.
[0054] In one embodiment of this application, the device further includes a parameter dynamic adjustment unit, used for: Obtain the entrance / exit scene type configuration instruction, wherein the scene type includes at least one of parking lot entrance / exit, highway toll station, and community access control; Based on the scenario type, the effective triggering area of the virtual location trigger mark and the closing delay time of the barrier gate passage device are dynamically adjusted.
[0055] In one embodiment of this application, the virtual location trigger marker includes a first virtual location trigger marker and a second virtual location trigger marker. The first virtual location trigger marker is disposed on the approaching vehicle side of the barrier gate device; the second virtual location trigger marker is disposed on the exiting vehicle side of the barrier gate device. The first passage record generation unit is further configured to: When at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the first virtual location trigger mark, the location triggering information is generated. When the current execution state meets the preset passage state, detect whether the first target vehicle has reached the valid triggering area of the second virtual location trigger mark; If the first target vehicle reaches the valid triggering area of the second virtual location trigger mark, a passage confirmation message is generated. Based on the predicted passage information and the confirmed passage information, it is confirmed that the first target vehicle has passed and a passage record is generated.
[0056] In this embodiment, the traditional method of relying on inductive loop detectors for vehicle detection at parking lot entrances and exits is abandoned. This eliminates the need to bury inductive loop detectors in the lanes, overcoming the limitations imposed by parking lot entrances and exits on the area and installation conditions for inductive loop detectors. This significantly improves the adaptability and installation consistency of vehicle detection methods across different parking lot entrance and exit scenarios. Simultaneously, it avoids the problem of inductive loop detectors malfunctioning due to prolonged exposure to sun and rain, and vehicle traffic. This effectively improves the accuracy and stability of vehicle detection at parking lot entrances and exits, while also reducing the manpower and material investment required for inductive loop detector installation and maintenance. This significantly lowers the installation and maintenance costs of vehicle detection at parking lot entrances and exits, solving the operational and production challenges associated with traditional detection methods for parking lot managers and equipment manufacturers, and improving the overall efficiency and economy of parking lot entrance and exit management.
[0057] Specific limitations regarding vehicle passage devices can be found in the limitations on vehicle passage methods described above, and will not be repeated here. Each module in the aforementioned vehicle passage device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, 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.
[0058] In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a readable storage medium storing computer-readable instructions. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer-readable instructions implement a vehicle passage method. The readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.
[0059] In this application embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, it implements the steps of the vehicle passage method described above.
[0060] In this embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, they implement the steps of the vehicle passage method described above.
[0061] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0062] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0063] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for vehicle passage, characterized in that, The method includes: Acquire monitoring images of the area covered by exit monitoring or entrance monitoring, wherein the monitoring images are configured with virtual location trigger markers for triggering passage status verification; Based on the monitoring footage, the first target vehicle to be passed is identified, and the passage prediction information of the first target vehicle is generated; When the first target vehicle and the virtual location trigger mark meet the preset triggering relationship, a vehicle presence signal is generated in the passage and sent to the associated exit controller or entrance controller.
2. The vehicle passage method as described in claim 1, characterized in that, The virtual location trigger marker is set at a preset distance in front of the gate access device of the corresponding channel along the vehicle passage direction. The preset distance is the safe buffer distance from when the vehicle triggers the signal of a vehicle in the channel to when the gate access device releases the vehicle.
3. The vehicle passage method as described in claim 1, characterized in that, The method further includes: When at least one following vehicle of the first target vehicle is detected as the second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the virtual location trigger mark, location trigger information is generated. Based on the location triggering information, detect the current execution status of the barrier gate access device; When the current execution state matches the preset passage state, combined with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
4. The vehicle passage method as described in claim 3, characterized in that, After identifying the first target vehicle to be passed based on the monitoring image and generating the passage prediction information of the first target vehicle, the method further includes: Record the generation time of the passage prediction information; The generation time is used as the start point for timeout and the timer is started. If the second target vehicle is not detected to enter the monitoring coverage area within the preset time range, and the first target vehicle is not detected to be located in the preset area of the barrier gate passage device, then it is confirmed that the first target vehicle has passed and a passage record is generated.
5. The vehicle passage method as described in claim 3, characterized in that, When the current execution state matches the preset passage state, and in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated, including: If the current execution state is the gate closing action execution state or the gate closing completion state, and the duration of the state is greater than a preset threshold, then, in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated.
6. The vehicle passage method as described in claim 1, characterized in that, Before generating the location trigger information, the following is also included: Obtain the vehicle type parameter of the first target vehicle, wherein the vehicle type parameter includes vehicle length information; Based on the vehicle length information, determine whether the first target vehicle is an oversized vehicle; If the vehicle is determined to be too long, the effective triggering area of the virtual location triggering mark is adjusted, and the distance between the adjusted effective triggering area and the barrier gate passage device covers the entire passage length of the first target vehicle. If the vehicle is determined to be non-excessively long, the default valid trigger area of the virtual location trigger mark is used.
7. The vehicle passage method as described in claim 1, characterized in that, The method further includes: Obtain the entrance / exit scene type configuration instruction, wherein the scene type includes at least one of parking lot entrance / exit, highway toll station, and community access control; Based on the scenario type, the effective triggering area of the virtual location trigger mark and the closing delay time of the barrier gate passage device are dynamically adjusted.
8. The vehicle passage method as described in claim 3, characterized in that, The virtual location trigger marker includes a first virtual location trigger marker and a second virtual location trigger marker. The first virtual location trigger marker is set on the approaching vehicle side of the barrier gate device, and the second virtual location trigger marker is set on the exiting vehicle side of the barrier gate device. When at least one following vehicle of the first target vehicle is detected to enter the monitoring coverage area as a second target vehicle and reach the effective triggering area of the virtual location trigger marker, location trigger information is generated, including: When at least one following vehicle of the first target vehicle is detected as a second target vehicle, enters the monitoring coverage area and reaches the effective triggering area of the first virtual location trigger mark, the location triggering information is generated. When the current execution state matches the preset passage state, and in conjunction with the passage prediction information, it is confirmed that the first target vehicle has passed and a passage record is generated, including: When the current execution state meets the preset passage state, detect whether the first target vehicle has reached the valid triggering area of the second virtual location trigger mark; If the first target vehicle reaches the valid triggering area of the second virtual location trigger mark, a passage confirmation message is generated. Based on the predicted passage information and the confirmed passage information, it is confirmed that the first target vehicle has passed and a passage record is generated.
9. A vehicle passage device, characterized in that, The device includes: The monitoring screen acquisition unit is used to acquire the monitoring screen of the area covered by the exit monitoring or entrance monitoring. The monitoring screen is configured with a virtual location trigger marker for triggering the passage status verification. The passage prediction information generation unit is used to identify the first target vehicle to be passed based on the monitoring screen and generate the passage prediction information of the first target vehicle. The vehicle passage unit is used to generate a vehicle presence signal in the passage and send it to the associated exit controller or entrance controller when the first target vehicle and the virtual location trigger mark meet a preset triggering relationship.
10. A readable storage medium storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by a processor, they implement the steps of the vehicle passage method as described in any one of claims 1 to 8.