Vehicle queue-jumping method, computer device and storage medium
By performing target tracking and queue-jumping identification on parking lot video data, accurate handling of queue-jumping events was achieved, solving the problems of entrance and exit congestion and traffic abnormalities caused by queue-jumping, and improving the accuracy of parking lot management and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2026-03-24
AI Technical Summary
At parking lot entrances and exits, vehicles cutting in line causes congestion, and unauthorized vehicles may use the entry passes or payment information of authorized vehicles, preventing legitimately paying vehicles from leaving the parking lot.
By acquiring the video data to be detected, target tracking is performed to determine vehicle position change information, identify queue-jumping events, and implement corresponding release strategies based on vehicle traffic scenarios, including authentication and payment processing for entry and exit.
It improved the accuracy of parking lot entrance and exit control, avoided traffic problems caused by vehicles cutting in line misusing other vehicles' information, reduced parking lot losses, and improved user experience.
Smart Images

Figure CN118968776B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of parking lot management, and in particular to a vehicle queuing passing method, a computer device and a storage medium. BACKGROUND
[0002] With the wide application of unmanned management and control of parking lot entrances and exits, property management parties pay more and more attention to the smooth passing and charging operation of parking lots.
[0003] However, when the current vehicle enters or exits the parking lot, the situation of queuing often occurs. Due to the transitivity of vehicle following, forced queuing will slow down or intermittently interrupt the driving vehicle team, not only causing congestion at the entrance and exit, but also causing the vehicle without permission to use the access ticket of the vehicle with permission which is queued, or to use the payment information of the vehicle which is queued and has paid to exit, resulting in the problem that the normal payment vehicle cannot normally exit, which is not conducive to the management and control of the parking lot entrance and exit. SUMMARY
[0004] Therefore, it is necessary to provide a vehicle queuing passing method, a computer device and a storage medium to solve at least one problem existing in the prior art.
[0005] In a first aspect, the embodiments of the present application are implemented in the following manner. A vehicle queuing passing method is provided, which includes the following steps:
[0006] Obtaining to-be-detected video data, performing target tracking on each vehicle in the to-be-detected video data to obtain position change information of each vehicle;
[0007] Based on the position change information, determining whether a vehicle queuing event occurs;
[0008] If yes, determining a current vehicle queuing order and a current passing scene of the queued vehicle;
[0009] Determining whether the current vehicle queuing order is consistent with a vehicle passing order;
[0010] If no, based on the current vehicle queuing order and the current passing scene of the queued vehicle, releasing the vehicle.
[0011] In an embodiment, the vehicle passing order is determined by the following method, which includes:
[0012] Obtaining license plate position information and / or vehicle position information of different vehicles in each frame of video frame of continuous video frames;
[0013] determining the vehicle passing order based on the order of the different vehicles entering the continuous video frames, and license plate position information and / or vehicle position information of the different vehicles.
[0014] In an embodiment, the determining whether a vehicle cutting-in event occurs based on the position change information comprises:
[0015] When the license plate position information and / or the vehicle position information of the different vehicles changes in order, it is determined that the vehicle cutting-in event occurs, wherein a vehicle with a forward order change is a cutting-in vehicle, a vehicle with a backward order change is a cut-in vehicle, the vehicle position of the cut-in vehicle is behind the vehicle position of the cutting-in vehicle in the current video frame, and / or the license plate position of the cut-in vehicle is above the cutting-in vehicle in the current video frame.
[0016] In an embodiment, the releasing the vehicle based on the current vehicle cutting-in order and the current passing scene of the cut-in vehicle comprises:
[0017] When the current passing scene of the cut-in vehicle is an entrance, an entrance passing strategy is used to release the vehicle.
[0018] When the current passing scene of the cut-in vehicle is an exit, an exit passing strategy is used to release the vehicle.
[0019] In an embodiment, the entrance passing strategy comprises:
[0020] When the cut-in vehicle is in an entrance authentication process, entrance authentication information of the cut-in vehicle is cached, and entrance authentication is performed based on entrance authentication information of the cutting-in vehicle.
[0021] When the entrance authentication is successful, the cutting-in vehicle is released.
[0022] When the cutting-in vehicle enters, entrance authentication of the cut-in vehicle is performed based on the cached entrance authentication information of the cut-in vehicle; or
[0023] When the cut-in vehicle is in an entrance authentication completion state, an entrance authentication result of the cut-in vehicle is cached.
[0024] The cutting-in vehicle is subjected to entrance authentication, and when the entrance authentication is successful, the cutting-in vehicle is released.
[0025] When the cutting-in vehicle enters, the cut-in vehicle is released based on the cached entrance authentication result of the cut-in vehicle.
[0026] In an embodiment, the exit passing strategy comprises:
[0027] acquiring the exit authentication information of the queued vehicle and caching the exit authentication information when the queued vehicle is in the exit authentication process;
[0028] performing exit authentication based on the exit authentication information of the queued vehicle and prompting the queued vehicle to pay the parking fee;
[0029] performing exit authentication on the queued vehicle and prompting the queued vehicle to pay the parking fee when the queued vehicle has completed the payment and exited.
[0030] In an embodiment, the exit access strategy further comprises:
[0031] caching the exit authentication result of the queued vehicle and acquiring the parking fee payment information of the queued vehicle when the queued vehicle has completed the exit authentication;
[0032] performing exit authentication based on the exit authentication information of the queued vehicle and prompting the queued vehicle to pay the parking fee when the queued vehicle has not completed the payment;
[0033] prompting the queued vehicle to pay the parking fee based on the cached exit authentication result of the queued vehicle when the queued vehicle has completed the payment and exited; or,
[0034] caching the payment completion information of the queued vehicle and performing exit authentication based on the exit authentication information of the queued vehicle and prompting the queued vehicle to pay the parking fee when the queued vehicle has completed the payment;
[0035] releasing the queued vehicle based on the cached payment information of the queued vehicle when the queued vehicle has completed the payment and exited.
[0036] In an embodiment, when the queued vehicle has completed the payment, caching the payment completion information of the queued vehicle and prompting the queued vehicle to pay the parking fee based on the exit authentication information of the queued vehicle further comprises:
[0037] releasing the queued vehicle when the queued vehicle has completed the payment;
[0038] generating corresponding fee arrears information when the queued vehicle has not completed the payment.
[0039] In a third aspect, a computer device is provided, comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer readable instructions to implement the steps of the vehicle queuing access method as described above.
[0040] In a fourth aspect, a readable storage medium is provided, which stores computer readable instructions, and the computer readable instructions, when executed by a processor, implement the steps of the vehicle queuing method described above.
[0041] The vehicle queuing method, device, computer device and storage medium described above, the method comprises: acquiring to-be-detected video data, performing target tracking on each vehicle in the to-be-detected video data to obtain position change information of each vehicle; determining whether a vehicle queuing event occurs based on the position change information; if yes, determining a current vehicle queuing order and a current queuing scene of a queued vehicle; determining whether the current vehicle queuing order is consistent with a vehicle queuing order; if no, releasing the vehicle based on the current vehicle queuing order and the current queuing scene of the queued vehicle. In the embodiment of the present application, the vehicle running video data is acquired to judge the driving track of the vehicle and determine whether the vehicle is queued, so as to give a correct queuing order and avoid the problem that the queued vehicle cannot pass through because the information of the queued vehicle is used by the queuing vehicle to be released. The accuracy of the parking lot entrance and exit control can be improved, the parking lot loss can be reduced, and the user experience can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0043] Figure 1 is a flowchart of a vehicle queuing method in an embodiment of the present application Figure 1 ;
[0044] Figure 2 is an application environment diagram of a vehicle queuing scene in an embodiment of the present application
[0045] Figure 3 is a flowchart of a vehicle queuing method in an embodiment of the present application Figure 2 ;
[0046] Figure 4 is a flowchart of a vehicle queuing method in an embodiment of the present application Figure 3 ;
[0047] Figure 5 is a flowchart of a vehicle queuing method in an embodiment of the present application Figure 4 ;
[0048] Figure 6is a flowchart of a vehicle queue-jumping passing method in an embodiment of the present application Figure 5 ;
[0049] Figure 7 is a structural diagram of a vehicle queue-jumping passing device in an embodiment of the present application
[0050] Figure 8 is a schematic diagram of a computer device in an embodiment of the present application DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0052] In an embodiment, as shown in Figure 1 , a vehicle queue-jumping passing method is provided, comprising the following steps:
[0053] In step S110, the to-be-detected video data is acquired, and target tracking is performed on each vehicle in the to-be-detected video data to acquire position change information of each vehicle.
[0054] In the embodiments of the present application, the video data of the entry area and the exit area of the parking lot can be acquired in real time by a pre-set image acquisition device, such as a camera, a camera, etc., to acquire the to-be-detected video data. The to-be-detected video data can include entry video data and exit video data.
[0055] In the embodiments of the present application, the to-be-detected video data can be split into continuous video frames, and target detection and tracking are performed on each vehicle in each video frame, for example, a YOLO algorithm, a re-identification algorithm, etc. can be used for target tracking, so as to acquire the driving track and position change of each vehicle, etc.
[0056] The position change information can specifically include the position change of the vehicle in a preset time period, the position change of the license plate, the position change between vehicles, etc. For example, vehicle A is located at the first position of the vehicle queue at location 1, but when driving to location 2, vehicle A is located at the second position of the vehicle queue, and vehicle B appears in front of vehicle A. At this time, it can be considered that the vehicle position change is that vehicle A changes from the first position to the second position.
[0057] In step S120, whether a vehicle queue-jumping event occurs is determined based on the position change information.
[0058] In the embodiment of the present application, when the position change information is acquired, it can be determined whether a queue-jumping event occurs. For example, if a vehicle G in a vehicle driving queue drives from the tail to the front, it can be considered that a queue-jumping event occurs, or if a vehicle b in a lane adjacent to the vehicle a changes lanes to the lane where the vehicle a is located and is located in front of the vehicle a, it can be considered that the vehicle a is queue-jumped by the vehicle b.
[0059] In the embodiment of the present application, the vehicles in the to-be-detected video data can include multiple vehicles, and thus the driving trajectories of each vehicle can be acquired. Based on the driving trajectories, the queue-jumping probability of the vehicle can be predicted. For example, the queue-jumping probability of the surrounding vehicles of a target vehicle in the to-be-detected video data can be predicted by using a pre-trained prediction model, the vehicle with the maximum predicted probability is obtained as a predicted queue-jumping vehicle, and the predicted queue-jumping vehicle is continuously tracked. When the predicted queue-jumping vehicle drives to the front of the target vehicle, it can be considered that the target vehicle is queue-jumped.
[0060] In the embodiment of the present application, when a vehicle queue-jumping event occurs, it can be determined whether the queue-jumping vehicle is malicious queue-jumping or benign queue-jumping. The malicious queue-jumping can be understood as whether the queue-jumping vehicle has behaviors such as forcibly changing lanes, forcibly changing lanes, and the like, which force the queue-jumped vehicle to be queue-jumped. If so, the queue-jumping vehicle can be punished, for example, a queue-jumping fee can be charged when the queue-jumping vehicle enters the scene, or the queue-jumping vehicle can be prompted to leave the current position by voice, artificial prompting or the like, and be released at the tail of the queue. The benign queue-jumping can be understood as that the distance between the queue-jumped vehicle and the vehicle in front of it is greater than a preset distance, or the driving speed of the queue-jumped vehicle is lower than a preset speed, or an emergency situation occurs on the queue-jumping vehicle, such as a sudden illness or the like. At this time, it can be considered that the queue-jumping vehicle is benign queue-jumping, and the queue-jumping vehicle can be released preferentially.
[0061] In step S130, if yes, the current vehicle queue-jumping order and the current passing scene of the queue-jumped vehicle are determined.
[0062] In the embodiment of the present application, the current vehicle queue-jumping order refers to the driving order of the vehicle after queue-jumping. For example, the original driving order of the vehicles is vehicle a, vehicle b, and vehicle c, and the queue-jumping order of the vehicles is vehicle b, vehicle a, and vehicle c.
[0063] In the embodiment of the present application, the current passing scene of the queue-jumped vehicle specifically includes a scene in which the queue-jumped vehicle currently travels, for example, a scene in which passing authentication is completed, a gate is opened, and the like.
[0064] In step S140, it is determined whether the current vehicle queue-jumping order is consistent with the vehicle passing order.
[0065] In the embodiment of the present application, the vehicle passing order refers to the release order of the vehicle when the vehicle enters or exits the scene.
[0066] In the embodiment of the present application, when the current vehicle queuing order is obtained, it can be compared with the vehicle passing order to determine whether they are consistent, for example, the current vehicle queuing order is vehicle b, vehicle a, and vehicle c. The vehicle passing order is vehicle a, vehicle b, and vehicle c, which are inconsistent. At this time, vehicle b uses the authentication result of vehicle a to pass, which causes the problem that vehicle a cannot pass.
[0067] It should be noted that the vehicle passing order can be obtained by the vehicle information detected at the exit gate or the entrance gate, for example, the current vehicle queuing order is vehicle E, and the detected vehicle information is vehicle F, and vehicle F is actually arranged behind vehicle E. At this time, it can be considered that the current queuing order is inconsistent with the vehicle passing order. For the case where there are many vehicles in the vehicle queuing order, for example, the vehicle queuing order is vehicle a, vehicle c, vehicle b, and vehicle c, and the vehicle passing order detects vehicle a, and the first vehicle in the vehicle queuing order is also vehicle a. Although the vehicle queuing event occurs, it does not hinder the normal vehicle exit order, so it can still be considered that the vehicle queuing order is consistent with the vehicle passing order.
[0068] In step S150, if no, based on the current vehicle queuing order and the current passing scene of the queued vehicle, the vehicle is released.
[0069] In the embodiment of the present application, if the current vehicle queuing order is inconsistent with the vehicle passing order, the vehicle can be released based on the current vehicle queuing order and the current passing scene of the queued vehicle. For example, if it is an entry passing, the queued vehicle is in the entry authentication process and has not been authenticated, the authentication information of the queued vehicle can be cached, the authentication information of the queued vehicle is authenticated first, and when the authentication is successful, the queued vehicle is released. Then, based on the cached authentication information of the queued vehicle, the queued vehicle is authenticated, and after the authentication is passed, the queued vehicle is released.
[0070] In the embodiment of the present application, a vehicle queuing passing method is provided, including: acquiring to-be-detected video data, performing target tracking on each vehicle in the to-be-detected video data to acquire position change information of each vehicle; determining whether a vehicle queuing event occurs based on the position change information; if yes, determining a current vehicle queuing order and a current passing scene of a queued vehicle; determining whether the current vehicle queuing order is consistent with a vehicle passing order; if not, releasing the vehicle based on the current vehicle queuing order and the current passing scene of the queued vehicle. In the embodiment of the present application, the vehicle running video data is acquired, the driving track of the vehicle is judged, and it is determined whether the vehicle is queued, so that the correct passing queue order is given, the problem that the queued vehicle cannot pass because the queued vehicle is released by using the information of the queuing vehicle is avoided, the accuracy of the parking lot entrance and exit control can be improved, the parking lot loss can be reduced, and the user experience is improved.
[0071] In an embodiment of the present application, the vehicle passing order is determined by the following method:
[0072] Acquiring license plate position information and / or vehicle position information of different vehicles in each frame of the continuous video frames;
[0073] Determining the vehicle passing order based on the order in which the different vehicles enter the continuous video frames and the license plate position information and / or the vehicle position information of the different vehicles.
[0074] Optionally, the to-be-detected video data can be split into continuous video frames, target detection and tracking are performed on the vehicles in each frame of the video frames to acquire the vehicle position information and / or the license plate position information of the different vehicles in each frame of the video frames. Then, the vehicle queuing order is determined according to the order in which the different vehicles enter the continuous video frames and the vehicle position information and / or the license plate position information of the different vehicles in each frame of the video frames.
[0075] In an embodiment of the present application, the determination of whether a vehicle queuing event occurs based on the position change information includes:
[0076] When the license plate position information and / or the vehicle position information of the different vehicles changes in order, it is determined that a vehicle queuing event occurs, wherein the vehicle with the order moved forward is the queuing vehicle, the vehicle with the order moved backward is the queued vehicle, the vehicle position of the queued vehicle is behind the vehicle position of the queuing vehicle in the current video frame, and / or the license plate position of the queued vehicle is above the queuing vehicle in the current video frame.
[0077] For example, when the order of the different vehicles changes, it can be determined that a vehicle queuing event occurs, and the position change of the order can be judged according to the vehicle position and the license plate position, as shown in Figure 2At the first time point, the queued vehicle A is located in front of the queued vehicle, and the license plate position of the queued vehicle B is located on the right side or the left side of the license plate of the queued vehicle A in the current video frame. At the second time point, the queued vehicle B is located in front of the queued vehicle A, and the license plate position of the queued vehicle B is located below the license plate of the queued vehicle A.
[0078] It should be noted that the first time point is earlier than the second time point, for example, the first time point can be the starting time of the vehicle in the access channel, and the second time point can be the time when the vehicle drives to the access gate in the access channel.
[0079] Referring to Figure 3 In an embodiment of the present application, based on the current queuing order of the vehicle and the current access scene of the queued vehicle, the vehicle is released, including:
[0080] In step S210, when the current access scene of the queued vehicle is an entrance, an access strategy is used to release the vehicle;
[0081] In step S220, when the current access scene of the queued vehicle is an exit, an exit access strategy is used to release the vehicle.
[0082] Optionally, when the current access scene of the queued vehicle is an entrance, an access strategy can be obtained to release the vehicle, for example, whether the vehicle is a monthly card vehicle, a visitor vehicle, or a vehicle without a license plate is determined, and different authentication strategies are executed according to different types of vehicles to verify the access permission of the vehicle access. When the verification is passed, the access gate can be controlled to open and release. When the current access scene of the queued vehicle is an exit, an exit access strategy can be obtained to release the vehicle, for example, the parking fee of the vehicle is calculated, whether the vehicle has paid the parking fee is determined, and if the vehicle has paid the parking fee, the vehicle can be released.
[0083] It should be noted that when the queuing vehicle fails to access authentication, that is, it cannot access, the queuing vehicle can be prompted to drive away from the queue so as to release the queued vehicle.
[0084] Referring to Figure 4 In an embodiment of the present application, the access strategy includes:
[0085] In step S310, when the queued vehicle is in an access authentication process, the access authentication information of the queued vehicle is cached, and the access authentication is performed based on the access authentication information of the queued vehicle.
[0086] In step S320, when the access authentication is successful, the queuing vehicle is released.
[0087] In step S330, when the queue-jumping vehicle enters, the queue-jumping vehicle is authenticated based on the cached entry authentication information of the queue-jumping vehicle; or
[0088] In step S340, when the queue-jumping vehicle is in the entry authentication completion, the entry authentication result of the queue-jumping vehicle is cached.
[0089] In step S350, the queue-jumping vehicle is authenticated, and when the entry authentication is successful, the queue-jumping vehicle is released.
[0090] In step S360, when the queue-jumping vehicle enters, the queue-jumping vehicle is released based on the cached entry authentication result of the queue-jumping vehicle.
[0091] Optionally, for the queue-jumping passing method in the entry scene, the current passing scene of the queue-jumping vehicle can be determined, and different entry authentication strategies can be executed according to different passing scenes. For example, if the queue-jumping vehicle is in the entry authentication process, the entry authentication information of the queue-jumping vehicle can be cached, and the entry authentication of the queue-jumping vehicle can be performed according to the entry authentication information of the queue-jumping vehicle, and when the entry authentication is successful, the queue-jumping vehicle is released, and then the entry authentication of the queue-jumping vehicle is performed according to the cached entry authentication information of the queue-jumping vehicle. If the queue-jumping vehicle is in the entry authentication completion, the authentication result of the queue-jumping vehicle can be cached in the queue. Then, the authentication information of the queue-jumping vehicle is obtained, and the queue-jumping vehicle is authenticated, and when the authentication is successful, the queue-jumping vehicle is released. Then, the cached authentication result of the queue-jumping vehicle is obtained, and if the authentication is successful, the queue-jumping vehicle is released.
[0092] The entry authentication information can specifically include license plate number, vehicle type such as monthly card vehicle, visitor vehicle, and unlicensed vehicle, vehicle color, vehicle style, and other vehicle information.
[0093] It should be noted that when the entry authentication of the queue-jumping vehicle fails, i.e., the queue-jumping vehicle cannot enter, the queue-jumping vehicle can be prompted to drive away from the queue so as to release the queue-jumping vehicle.
[0094] Referring to Figure 5 In an embodiment of the present application, the exit passing strategy includes:
[0095] In step S410, when the queue-jumping vehicle is in the exit authentication process, the exit authentication information of the queue-jumping vehicle is obtained and cached.
[0096] In step S420, the exit authentication is performed based on the exit authentication information of the queue-jumping vehicle, and the queue-jumping vehicle is prompted to pay the fee.
[0097] In step S430, when the queue-jumping vehicle completes the payment and leaves, the queue-jumping vehicle is authenticated for leaving and is prompted for payment.
[0098] Optionally, for the queue-jumping passing method in the leaving scene, the current passing scene of the queue-jumped vehicle can be determined first, and a corresponding leaving passing strategy is executed according to the current passing scene. For example, when the queue-jumped vehicle is in the leaving authentication process and has not been successfully authenticated, the leaving authentication information of the queue-jumped vehicle is obtained and cached, the leaving authentication information of the queue-jumping vehicle is obtained, the queue-jumping vehicle is authenticated for leaving, the parking fee of the queue-jumping vehicle is calculated, and the queue-jumping vehicle is prompted for payment. When the queue-jumping vehicle completes the payment and leaves, the authentication is successful, and the queue-jumping vehicle can be released. At this time, the leaving authentication information of the queue-jumped vehicle can be obtained and authenticated, the parking fee of the queue-jumped vehicle can be calculated, and the queue-jumped vehicle is prompted to pay the parking fee. When the queue-jumped vehicle completes the payment, the authentication is successful, and the queue-jumped vehicle can be released.
[0099] It should be noted that if the queue-jumping vehicle does not complete the payment and escapes, the vehicle information and the parking record of the queue-jumping vehicle obtained when the queue-jumping vehicle is authenticated for leaving can be uploaded to the recovery platform for fee-escaping recovery.
[0100] The leaving authentication information can specifically include the entering time of the vehicle, the consumption type, such as whether to charge, whether to exist resource occupation fee, and the vehicle information, such as the license plate number, the vehicle style, the vehicle type, and the like, so as to calculate the parking fee of the vehicle.
[0101] It should be noted that when the queue-jumping vehicle fails to be authenticated for leaving, i.e., the queue-jumping vehicle cannot leave, the queue-jumping vehicle can be prompted to drive away from the queue so as to release the queue-jumped vehicle.
[0102] Referring to Figure 6 In an embodiment of the present application, after the queue-jumped vehicle is authenticated for leaving, the method further includes:
[0103] In step S440, when the queue-jumped vehicle is in the leaving authentication process, the leaving authentication result of the queue-jumped vehicle is cached, and the parking fee payment information of the queue-jumped vehicle is obtained;
[0104] In step S450, when the parking fee payment of the queue-jumped vehicle is not completed, the queue-jumping vehicle is authenticated for leaving based on the leaving authentication information of the queue-jumping vehicle, and the queue-jumping vehicle is prompted for payment.
[0105] In step S460, after the queue-jumping vehicle completes the payment and leaves, the queue-jumped vehicle is prompted for payment based on the cached leaving authentication result of the queue-jumped vehicle; or
[0106] In step S470, when the payment of the queued vehicle is completed, the payment completion information of the queued vehicle is cached, and the exit authentication of the queued vehicle is performed based on the exit authentication information of the queued vehicle, and the queued vehicle is prompted to pay;
[0107] In step S480, when the payment of the queued vehicle is completed and the vehicle exits, the queued vehicle is released based on the cached payment completion information of the queued vehicle.
[0108] Optionally, for the queuing passing method in the exit scene, the current passing scene of the queued vehicle can be determined first, and the corresponding exit passing strategy is executed according to the current passing scene. For example, when the queued vehicle is in the exit authentication completion, the authentication result of the queued vehicle can be cached, and the exit authentication of the queued vehicle is performed first, and the queued vehicle is prompted to pay. If the parking fee has been paid, and the vehicle exits, the queued vehicle can be prompted to pay according to the cached exit authentication result of the queued vehicle, and the queued vehicle is released when the payment is completed. When the payment of the queued vehicle is completed, the payment completion information of the queued vehicle is cached, and the exit authentication of the queued vehicle is performed based on the exit authentication information of the queued vehicle, and the queued vehicle is prompted to pay. When the payment of the queued vehicle is completed, the payment completion information of the queued vehicle is cached, and the exit authentication of the queued vehicle is performed based on the exit authentication information of the queued vehicle, and the queued vehicle is prompted to pay.
[0109] In an embodiment of the present application, when the payment of the queued vehicle is completed, the payment completion information of the queued vehicle is cached, and the exit authentication of the queued vehicle is performed based on the exit authentication information of the queued vehicle, and the queued vehicle is prompted to pay.
[0110] When the payment of the queued vehicle is completed, the queued vehicle is released;
[0111] When the payment of the queued vehicle is not completed, the corresponding overdue information is generated.
[0112] Optionally, if the payment of the queued vehicle is completed, the queued vehicle can be released, and if the payment of the queued vehicle is not completed, the overdue information can be generated, and the queued vehicle can be released first to avoid congestion. Alternatively, the queued vehicle can be prompted to yield to avoid congestion.
[0113] In the embodiment of the present application, the vehicle running video data is acquired to determine whether the vehicle is queued or not, so as to give the correct passing queue order, avoid the problem that the queued vehicle is released using the information of the queued vehicle, and the queued vehicle cannot pass, which can improve the accuracy of the parking lot entrance and exit control, reduce the parking lot loss, and improve the user experience.
[0114] 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 the present invention.
[0115] In one embodiment, a vehicle queue-jumping device is provided, which corresponds one-to-one with the vehicle queue-jumping method described in the above embodiments. For example... Figure 7 As shown, the vehicle queue-jumping device includes a position change information acquisition unit 10, a queue-jumping event judgment unit 20, a determination unit 30, a passage order comparison unit 40, and a release unit 50. Detailed descriptions of each functional module are as follows:
[0116] The position change information acquisition unit 10 is used to acquire the video data to be detected, perform target tracking on each vehicle in the video data to be detected, and obtain the position change information of each vehicle.
[0117] The queue-jumping event judgment unit 20 is used to determine whether a vehicle queue-jumping event has occurred based on the position change information;
[0118] The determining unit 30 is used to determine the current vehicle queue order and the current passage scenario of the vehicle being queued when a vehicle queue-jumping event occurs.
[0119] The passage order comparison unit 40 is used to determine whether the current vehicle queue-jumping order is consistent with the vehicle passage order;
[0120] The release unit 50 is used to release vehicles based on the current vehicle queue order and the current passage scenario of the vehicles that have been queued, when the vehicle queue order is inconsistent with the vehicle passage order.
[0121] In one embodiment of this application, the device further includes: a vehicle passage sequence determination unit, used for:
[0122] Obtain license plate location information and / or vehicle location information for different vehicles in each frame of a continuous video frame;
[0123] The vehicle passage order is determined based on the order in which different vehicles enter consecutive video frames, as well as the license plate location information and / or vehicle location information of different vehicles.
[0124] In one embodiment of this application, the queue-jumping event determination unit 20 is further configured to:
[0125] When the order of the license plate position information and / or vehicle position information of different vehicles changes, a vehicle cutting in line event is determined to have occurred. The vehicle that moves forward in the order is the vehicle that cuts in line, and the vehicle that moves backward in the order is the vehicle that was cut in line. The vehicle that was cut in line is located behind the vehicle that cut in line in the current video frame, and / or the license plate of the vehicle that was cut in line is located above the vehicle that cut in line in the current video frame.
[0126] In one embodiment of this application, the release unit 50 is further configured to:
[0127] When the current passage scenario of the vehicle being cut in line is the entrance, the entry passage strategy is adopted to allow the vehicle to pass.
[0128] When the current passage scenario of the vehicle being cut in line is an exit, the exit passage strategy is adopted to allow the vehicle to pass.
[0129] In one embodiment of this application, the access strategy includes:
[0130] When the vehicle being cut in line is in the entry authentication process, the entry authentication information of the vehicle being cut in line is cached, and entry authentication is performed based on the entry authentication information of the vehicle being cut in line.
[0131] Once entry authentication is successful, vehicles that cut in line are allowed to pass.
[0132] When a vehicle that cut in line enters, the system authenticates the vehicle based on the cached entry authentication information of the vehicle that was cut in; or
[0133] When the vehicle that was cut in line has completed its entry authentication, the entry authentication result of the vehicle that was cut in line will be cached.
[0134] Vehicles that cut in line will be authenticated upon entry. Once the authentication is successful, the vehicles will be allowed to proceed.
[0135] Once a vehicle that cut in line enters the parking lot, it is allowed to proceed based on the cached entry authentication result of the vehicle that was cut in line.
[0136] In one embodiment of this application, the exit access strategy includes:
[0137] When the vehicle being cut in line is in the exit authentication process, obtain the exit authentication information of the vehicle being cut in line and cache it;
[0138] The vehicle that cuts in line is authenticated upon exit, and then prompted to pay the fee.
[0139] Once the vehicle that cut in line has paid the fee and left the parking lot, the exit authentication process will be performed on the vehicle that was cut in line, and a payment reminder will be sent.
[0140] In one embodiment of this application, the exit passage strategy further includes:
[0141] When the vehicle that was cut in line completes its exit authentication, the exit authentication result of the vehicle that was cut in line is cached, and the parking fee payment information of the vehicle that was cut in line is obtained.
[0142] When the vehicle that cut in line fails to pay, exit authentication is performed based on the exit authentication information of the vehicle that cut in line, and the vehicle that cut in line is prompted to pay.
[0143] After the vehicle that cut in line has paid the fee and left the queue, a payment reminder is sent to the vehicle that was cut in line, based on the cached exit authentication result of the vehicle that was cut in line; or
[0144] When the vehicle that cut in line finishes paying, the payment completion information of the vehicle that cut in line is cached, and exit authentication is performed based on the exit authentication information of the vehicle that cut in line, and the vehicle that cut in line is prompted to pay.
[0145] Once the vehicle that cut in line has paid the toll and left the parking lot, it will be allowed to proceed based on the cached toll information of the vehicle that was cut in line.
[0146] In one embodiment of this application, the exit passage strategy further includes:
[0147] Once the vehicle that cut in line has paid the fee, it will be allowed to proceed.
[0148] When a vehicle that cuts in line fails to pay the fee, a corresponding outstanding fee information is generated.
[0149] In this embodiment, by acquiring vehicle operation video data and analyzing the vehicle's driving trajectory, it is determined whether the vehicle has been cut in line, thereby providing the correct passage queue order. This avoids the problem of vehicles cutting in line using the information of the vehicles being cut in line to be allowed to pass, which would prevent the vehicles being cut in line from passing. This can improve the accuracy of parking lot entrance and exit management, reduce parking lot losses, and improve user experience.
[0150] Specific limitations regarding the vehicle queue-jumping device can be found in the above description of the vehicle queue-jumping method, and will not be repeated here. Each module in the aforementioned vehicle queue-jumping 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, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0151] In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, and 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 queue-jumping method. The readable storage medium provided in this embodiment includes both non-volatile and volatile readable storage media.
[0152] 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 queue-jumping method described above.
[0153] In one 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 queue-jumping method described above.
[0154] Those skilled in the art will understand that implementing all or part of the processes in the methods of the above embodiments can be accomplished 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).
[0155] 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.
[0156] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention 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 the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for vehicles to cut in line, characterized in that, The method includes: Acquire video data to be detected, and perform target tracking on each vehicle in the video data to obtain position change information of each vehicle; Based on the location change information, determine whether a vehicle cutting in line has occurred; If so, determine the current order in which vehicles cut in line and the current traffic situation of the vehicles being cut in line; Determine whether the current vehicle queue-jumping order is consistent with the vehicle passage order; If not, based on the current vehicle queue-jumping order and the current traffic scenario of the vehicle being queued, the vehicle is released, including: when the current traffic scenario of the vehicle being queued is an exit, an exit passage strategy is adopted to release the vehicle. The exit passage strategy includes: when the vehicle being queued is in the exit authentication process, obtaining the exit authentication information of the vehicle being queued and caching it; performing exit authentication based on the exit authentication information of the vehicle being queued; and performing exit authentication on the vehicle being queued after it exits.
2. The method for vehicles to cut in line as described in claim 1, characterized in that, The vehicle passage order is determined in the following manner: Obtain license plate location information and / or vehicle location information for different vehicles in each frame of a continuous video frame; The vehicle passage order is determined based on the order in which the different vehicles enter the consecutive video frames, as well as the license plate location information and / or vehicle location information of the different vehicles.
3. The method for vehicles to cut in line as described in claim 2, characterized in that, The step of determining whether a vehicle cutting in line has occurred based on the location change information includes: When the license plate position information and / or vehicle position information of different vehicles change in sequence, it is determined that a vehicle cutting in line event has occurred. The vehicle that moves forward in sequence is the vehicle that cuts in line, and the vehicle that moves backward in sequence is the vehicle that is cut in line. The vehicle position of the vehicle that is cut in line is behind the vehicle position of the vehicle that cuts in line in the current video frame, and / or the license plate position of the vehicle that is cut in line is above the vehicle that cuts in line in the current video frame.
4. The method for vehicles to cut in line as described in any one of claims 1-3, characterized in that, The step of releasing vehicles based on the current vehicle queue order and the current traffic flow of the vehicles that have been queued includes: When the current passage scenario of the vehicle being cut in line is an entrance, an entry passage strategy is adopted to allow the vehicle to pass.
5. The method for vehicles to cut in line as described in claim 4, characterized in that, The entry access strategy includes: When the vehicle being cut in line is in the entry authentication process, the entry authentication information of the vehicle being cut in line is cached, and entry authentication is performed based on the entry authentication information of the vehicle being cut in line. Once entry authentication is successful, the vehicle that cut in line will be allowed to pass. After the vehicle that cut in line enters, entry authentication is performed on the vehicle that was cut in line based on the cached entry authentication information of the vehicle that was cut in line; or... When the vehicle that was cut in line completes the entry authentication, the entry authentication result of the vehicle that was cut in line is cached. The vehicle that cuts in line is authenticated upon entry. Once the authentication is successful, the vehicle is allowed to proceed. Once the vehicle that cut in line enters the parking lot, it is allowed to pass based on the cached entry authentication result of the vehicle that was cut in line.
6. The method for vehicles to cut in line as described in claim 1, characterized in that, The process of performing exit authentication based on the exit authentication information of vehicles that cut in line includes, as well as: The vehicle that cut in line was prompted to pay the fee. Once the vehicle that cut in line has finished paying the fee, it will be allowed to proceed. The vehicle that was cut in line will be authenticated upon exit, and a payment reminder will be sent.
7. The method for vehicles to cut in line as described in claim 4, characterized in that, The exit access strategy also includes: When the vehicle that was cut in line completes the exit authentication, the exit authentication result of the vehicle that was cut in line is cached, and the parking fee payment information of the vehicle that was cut in line is obtained. When the vehicle that cut in line fails to pay the fee, exit authentication is performed based on the exit authentication information of the vehicle that cut in line, and the vehicle that cut in line is prompted to pay the fee. After the vehicle that cut in line completes payment and leaves the queue, a payment reminder is sent to the vehicle that was cut in line based on the cached exit authentication result of the vehicle that was cut in line; or, When the vehicle that cut in line finishes paying, the payment completion information of the vehicle that cut in line is cached, and exit authentication is performed based on the exit authentication information of the vehicle that cut in line, and the vehicle that cut in line is prompted to pay. Once the vehicle that cut in line has paid the toll and left the queue, it is allowed to proceed based on the cached toll information of the vehicle that was cut in line.
8. The method for vehicles to cut in line as described in claim 7, characterized in that, When the vehicle that cut in line completes payment, the payment completion information of the vehicle that cut in line is cached. After prompting the vehicle that cut in line to pay based on the vehicle's exit authentication information, the process also includes: When the vehicle that cuts in line fails to pay the fee, a corresponding outstanding fee information is generated.
9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that, When the processor executes the computer-readable instructions, it implements the steps of the vehicle queue-jumping method as described in any one of claims 1 to 8.
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 queue-jumping method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Vehicle queue jumping problem processing method and processing device
CN111882917A
Vehicle authentication device
JP2019008657A