Vehicle detention detection method, electronic device and storage medium

By installing information collection equipment at the target area checkpoints, obtaining vehicle information in real time and determining the length of residence time, the limitations and safety problems of foreign vehicle early warning methods in the prior art are solved, and more efficient vehicle lag detection and early warning are achieved.

CN117115763BActive Publication Date: 2025-08-22ISA TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311081540.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2025-08-22
Estimated Expiration
2043-08-25

AI Technical Summary

Technical Problem

The scope of application of existing external vehicle early warning methods is limited to construction sites or residential communities, and data statistics cannot be conducted based on vehicle information, resulting in low safety.

Method used

By installing information collection equipment at the checkpoints in the target area, obtaining vehicle information in real time, and cooperating with the preset pass list and server, we can determine whether the vehicle is an abnormal vehicle, output alarm information, and use the retention time threshold to judge the vehicle's retention behavior.

Benefits of technology

It improves the applicability of external vehicle early warning, can detect and output alarm information in real time, and enhances the safety of the target area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117115763B_ABST
    Figure CN117115763B_ABST
Patent Text Reader

Abstract

The present invention provides a vehicle detention detection method, electronic device and storage medium, the method comprising: in response to receiving vehicle information to be detected, the vehicle information to be detected includes an entry checkpoint identifier B1, an exit checkpoint identifier B2, a vehicle identification to be detected B3, an entry checkpoint time T1, and an exit checkpoint time T2; if B3 is not a target vehicle identifier, and the regional checkpoint corresponding to B1 is the target area entrance, and the regional checkpoint corresponding to B2 is the target area exit, then determining the detention time T3; if T3 ≥ T0, then determining the vehicle to be detected as an abnormal vehicle and outputting an alarm message; otherwise, determining the vehicle to be detected as a normal vehicle. The present invention obtains the vehicle information to be detected of the vehicle to be detected in real time, verifies the vehicle information to be detected, determines whether the vehicle to be detected is an abnormal vehicle, and can issue an early warning of the detention behavior of foreign vehicles in the target area according to different target area entrances, thereby improving applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of safety detection, and in particular to a vehicle detention detection method, electronic equipment and storage medium. Background Art

[0002] Current inbound vehicle warning methods are primarily applicable to construction sites or residential areas. They only register inbound vehicles within the monitored area and issue warnings only when a vehicle outside the monitored area is detected. They are unable to collect statistics based on vehicle information to determine whether an inbound vehicle is abnormal. Therefore, existing inbound vehicle warning methods have limitations and reduce the security of the monitored area. Summary of the Invention

[0003] In view of this, the present invention provides a vehicle detention detection method, electronic device and storage medium, which at least partially solve the technical problems of the existing foreign vehicle warning methods having limitations and low safety. The technical solutions adopted by the present invention are:

[0004] According to one aspect of the present application, a vehicle detention detection method is provided, which is applied to a detention alarm detection system. The detention alarm detection system is connected to several information collection devices, which are installed at each regional checkpoint in the target area. The information collection devices obtain vehicle information of vehicles passing through the corresponding regional checkpoint in real time and send the vehicle information to the detention alarm detection system; the detention alarm detection system stores a preset pass list, and the preset pass list stores several target vehicle identifications; the several regional checkpoints include the target area entrance, the target area exit and the non-target area checkpoint, and each regional checkpoint corresponds to a checkpoint identification; the detention alarm detection system is also connected to a first server, and the first server is used to send a data analysis request to the detention alarm detection system.

[0005] The vehicle detention detection method comprises the following steps:

[0006] S100, in response to receiving the vehicle information to be detected sent by the information collection device, the vehicle information to be detected includes an entry checkpoint identifier B1, an exit checkpoint identifier B2, a vehicle identification B3 to be detected, an entry checkpoint time T1, and an exit checkpoint time T2; wherein the entry checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected enters the target area; the exit checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected leaves the target area; the entry checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the entry checkpoint identifier; and the exit checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the exit checkpoint identifier;

[0007] S200, if B3 is not the target vehicle identification, and the area checkpoint corresponding to B1 is the target area entrance, then execute step S300;

[0008] S300: If the area checkpoint corresponding to B2 is the exit of the target area, determine the detention time of the vehicle to be detected, T3 = T2 - T1;

[0009] S400. If T3 ≥ T0, the vehicle to be detected is determined to be an abnormal vehicle and an alarm message is output; otherwise, the vehicle to be detected is determined to be a normal vehicle; wherein T0 is a preset detention time threshold.

[0010] In an exemplary embodiment of the present application, step S300 further includes:

[0011] S310: If the area checkpoint corresponding to B2 is a non-target area checkpoint, determine the detention time of the vehicle to be detected, T3 = T2 - T1;

[0012] S311. If T3 ≥ T0, the vehicle to be detected is determined to be a suspected vehicle; otherwise, the vehicle to be detected is determined to be a normal vehicle.

[0013] In an exemplary embodiment of the present application, step S200 further includes:

[0014] S210: If B3 is not a target vehicle identifier and the area checkpoint corresponding to B1 is a non-target area checkpoint, the vehicle to be detected is determined to be a normal vehicle.

[0015] In an exemplary embodiment of the present application, step S300 further includes:

[0016] S320: If B2 is empty, the vehicle information to be detected is determined as pending vehicle information and stored in the first database;

[0017] S321 . When the exit checkpoint flag of the received vehicle information to be detected corresponding to B3 is not empty, delete the pending vehicle information corresponding to B3 from the first database and execute step S300 .

[0018] In an exemplary embodiment of the present application, the detention alarm detection system is further configured to perform the following steps:

[0019] S010: In response to receiving a data analysis request sent by the first server, the data analysis request includes a data analysis time period T4=[T 41 ,T 42 ]; where T 41 is the starting time of T4, T 42 The cut-off time for T4;

[0020] S020, according to T4, obtain m target vehicle information H1, H2, ..., H j ,...,H m ;H j =(H j1 ,H j2 ,H j3 ,H j4 ,H j5 ); where j = 1, 2, ..., m; H j is the jth target vehicle information; H j1 H j Corresponding entry gate identification; H j2 H j Corresponding exit mark; H j3 H j The corresponding length of stay; H j4 H j Corresponding vehicle identification; H j5 H j The corresponding anomaly detection score;

[0021] S030, H 14 ,H 24 ,...,H j4 ,...,H m4 Perform deduplication processing to obtain d first vehicle identifiers; each first vehicle identifier corresponds to a unique first vehicle;

[0022] S040: Based on d first vehicle identifiers, j ,...,H m Perform clustering to obtain the first vehicle information group C1, C2, ..., C corresponding to each first vehicle k ,...,C d ; C k =(C k1 ,C k2 ,...,C ke ,...,C kf(k) );C ke =(C ke1 ,C ke2 ,C ke3 ,C ke4 ,C ke5 ); where k = 1, 2, ..., d; C k is the first vehicle information group corresponding to the kth first vehicle; e=1,2,...,f(k);∑ d k=1 f(k)=m; f(k) is the number of first vehicle information corresponding to the kth first vehicle; C keis the e-th first vehicle information corresponding to the k-th first vehicle; C ke1 C ke Corresponding entry gate identification; C ke2 C ke Corresponding exit mark; C ke3 C ke The corresponding length of stay; C ke4 C ke Corresponding vehicle identification; C ke5 C ke The corresponding anomaly detection score;

[0023] S050: Determine the abnormality detection score Z corresponding to the k-th first vehicle k =(∑ f(k) e=1 C ke5 ) / f(k);

[0024] S060, according to the descending order of values, Z1, Z2, ..., Z k ,...,Z d Sort and get the sorted anomaly detection scores W1, W2, ..., W k ,...,W d ;

[0025] S070, W1, W2, ..., W k ,...,W d The corresponding first vehicle information is sent to the first server.

[0026] In an exemplary embodiment of the present application, target vehicle information is determined by the following steps:

[0027] S021, obtain the entry time of n detected vehicles in the target area within T4, and obtain the entry time set A=(A1, A2, ..., A i ,...,A n ); where, i=1,2,...,n; A i The entry time of the i-th detected vehicle information corresponding to the target area in T4;

[0028] S022. Traverse A, if T 41 ≤A i ≤T 42 , then A i The corresponding detected vehicle information is determined as the target vehicle information.

[0029] In an exemplary embodiment of the present application, the anomaly detection score is determined by the following steps:

[0030] S023, Get H j The detection result of the corresponding target vehicle;

[0031] S024, if H j The corresponding target vehicle is an abnormal vehicle, then y2 is determined to be H j5 ;

[0032] If H j The corresponding target vehicle is a suspected vehicle, then y1 is determined to be H j5 ;

[0033] If H j The corresponding target vehicle is a normal vehicle, then y0 is determined to be H j5 ; Among them, 0<y0<y1<y2.

[0034] In an exemplary embodiment of the present application, step S200 further includes:

[0035] S220: If B3 is the target vehicle identifier, the vehicle to be detected is determined to be a normal vehicle.

[0036] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned vehicle detention detection method.

[0037] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned non-transitory computer-readable storage medium.

[0038] The present invention has at least the following beneficial effects:

[0039] The vehicle detention detection method of the present invention obtains the vehicle information to be detected of the vehicle to be detected sent by each information collection device in real time. The vehicle information to be detected includes the entry checkpoint identification, exit checkpoint identification, vehicle identification to be detected, entry checkpoint time and exit checkpoint time of the vehicle to be detected. By verifying the vehicle identification to be detected, it is judged whether the vehicle to be detected is an external vehicle. If the vehicle to be detected is an external vehicle, it is judged whether the entry checkpoint of the vehicle to be detected is the entrance of the target area. If the entry checkpoint of the vehicle to be detected is the entrance of the target area, the detention time of the vehicle to be detected is determined according to the entry checkpoint time and the exit checkpoint time, and it is judged whether the detention time of the vehicle to be detected is greater than or equal to a preset detention time threshold. If the detention time of the vehicle to be detected is greater than or equal to the preset detention time threshold, it indicates that the vehicle to be detected is an abnormal vehicle, and an alarm message is output. According to different target area entrances, the detention behavior of external vehicles can be warned in the target area as needed, the applicability is improved, and it is more in line with the security prevention needs of the region or place. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 This is a flow chart of a vehicle detention detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0043] A vehicle detention detection method is applied to a detention alarm detection system, wherein the detention alarm detection system is connected to a plurality of information collection devices, which are installed at each regional checkpoint in the target area. The information collection devices obtain vehicle information of vehicles passing through the corresponding regional checkpoint in real time and send the vehicle information to the detention alarm detection system; the detention alarm detection system stores a preset pass list, which stores a plurality of target vehicle identifications; the plurality of regional checkpoints include a target area entrance, a target area exit and a non-target area checkpoint, and each regional checkpoint corresponds to a checkpoint identification; the detention alarm detection system is also connected to a first server, which is used to send a data analysis request to the detention alarm detection system.

[0044] The detention warning detection system is used to perform anomaly detection on received vehicle information to determine whether the vehicle to be detected is an abnormal vehicle. An abnormal vehicle is an external vehicle that does not meet the detention time limit rules. The target area has several regional checkpoints, each of which is equipped with at least one information collection device, which can be an image acquisition device. The information collection device is used to capture the vehicle identification of vehicles passing through the corresponding regional checkpoint and record the transit time of the corresponding regional checkpoint. The corresponding vehicle information to be detected is generated and transmitted to the detention warning detection system.

[0045] like Figure 1 As shown, the vehicle detention detection method includes the following steps:

[0046] S100, in response to receiving the vehicle information to be detected sent by the information collection device, the vehicle information to be detected includes an entry checkpoint identifier B1, an exit checkpoint identifier B2, a vehicle identification B3 to be detected, an entry checkpoint time T1, and an exit checkpoint time T2; wherein the entry checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected enters the target area; the exit checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected leaves the target area; the entry checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the entry checkpoint identifier; and the exit checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the exit checkpoint identifier;

[0047] The entry checkpoint identifier corresponds to a unique entry checkpoint, which is the preset area checkpoint for vehicles to enter. The exit checkpoint identifier corresponds to a unique exit checkpoint, which is the preset area checkpoint for vehicles to leave. The vehicle to be detected identifier corresponds to a unique vehicle. Each vehicle to be detected has a vehicle to be detected identifier, which is used to record the entry and exit of the corresponding vehicle to be detected.

[0048] S200, if B3 is not the target vehicle identification, and the area checkpoint corresponding to B1 is the target area entrance, then execute step S300;

[0049] The target vehicle identification is a preset vehicle identification. There is a preset vehicle identification record table in the database. The preset vehicle identification record table stores the vehicle identifications corresponding to all target vehicles. The target vehicle can be an internal vehicle that is allowed to pass and does not need to pass the vehicle inspection record, and the non-target vehicle can be an external vehicle.

[0050] The target area entrance is a preset checkpoint for the entry area that needs to be inspected. If a vehicle enters the target area entrance, it means that the vehicle may be inspected.

[0051] S210: If B3 is not a target vehicle identifier and the area checkpoint corresponding to B1 is a non-target area checkpoint, the vehicle to be detected is determined to be a normal vehicle.

[0052] If the area checkpoint that the vehicle to be inspected enters is a non-target area checkpoint, since the non-target area checkpoint is an entry area checkpoint that does not require inspection, regardless of whether the vehicle to be inspected is a target vehicle, the vehicle to be inspected will be determined as a normal vehicle and will be released without being inspected.

[0053] S220: If B3 is the target vehicle identifier, the vehicle to be detected is determined to be a normal vehicle.

[0054] S300, if the area checkpoint corresponding to B2 is the exit of the target area, determine the detention time T3 = T2 - T1 of the vehicle to be detected, and execute step S400;

[0055] If the area checkpoint entered by the vehicle to be inspected is the entrance of the target area, and the area checkpoint left by the vehicle to be inspected is the exit of the target area, then the vehicle to be inspected needs to be verified and inspected to determine its detention time, and the vehicle to be inspected is verified by its detention time.

[0056] S310: If the area checkpoint corresponding to B2 is a non-target area checkpoint, determine the detention time T3 of the vehicle to be detected = T2-T1, and execute step S311;

[0057] If the area checkpoint entered by the vehicle to be inspected is the entrance to the target area, but the area checkpoint left is a non-target area checkpoint, since the area checkpoint entered by the vehicle to be inspected is the entrance to the target area, the vehicle to be inspected also needs to be verified and inspected to determine whether it is an abnormal vehicle.

[0058] S311. If T3 ≥ T0, the vehicle to be detected is determined to be a suspected vehicle; otherwise, the vehicle to be detected is determined to be a normal vehicle.

[0059] If the area checkpoint entered by the vehicle to be inspected is the entrance to the target area, and the area checkpoint left is the non-target area checkpoint, and the detention time is greater than or equal to the preset time threshold, it means that the vehicle to be inspected may be a vehicle that mistakenly entered the target area, and it will be determined as a suspected vehicle. The verification level of the suspected vehicle is between normal vehicles and abnormal vehicles. If an abnormal situation occurs in the target area, such as a theft, it is necessary to trace the information of the vehicles entering the target area. When tracing the information, first check the information of the abnormal vehicle, and then check the information of the suspected vehicle to check the accident.

[0060] S320: If B2 is empty, the vehicle information to be detected is determined as pending vehicle information and stored in the first database;

[0061] If the information of the vehicle to be detected only has the checkpoint information of the area it entered, but no checkpoint information of the area it left, it means that the vehicle to be detected has not left the target area, or has left the target area but the checkpoint information of the area it left is not recorded and stored. It will be determined as pending vehicle information, and its vehicle information will be stored in the first database. The staff will check the information collection equipment of each area checkpoint according to its entry time to know whether the vehicle has left the target area.

[0062] S321 . When the exit checkpoint flag of the received vehicle information to be detected corresponding to B3 is not empty, delete the pending vehicle information corresponding to B3 from the first database and execute step S300 .

[0063] When the checkpoint information of the area where the vehicle to be detected leaves is obtained, the corresponding pending vehicle information is deleted from the first database according to the identification of the vehicle to be detected, and detection and verification are performed on it.

[0064] S400. If T3 ≥ T0, the vehicle to be detected is determined to be an abnormal vehicle and an alarm message is output; otherwise, the vehicle to be detected is determined to be a normal vehicle; wherein T0 is a preset detention time threshold.

[0065] In addition, the detention alarm detection system is used to perform the following steps:

[0066] S010: In response to receiving a data analysis request sent by the first server, the data analysis request includes a data analysis time period T4=[T 41 ,T 42 ]; where T 41 is the starting time of T4, T 42 The cut-off time for T4;

[0067] The data analysis request is a request to analyze the vehicle information in a preset time period. If an abnormal situation occurs in the target area, the staff needs to check the vehicles entering the target area within the preset time period. Therefore, the data analysis request is sent to the detention alarm detection system through the first server. The preset time period is the data analysis time period, that is, the vehicles in the target area within the data analysis time period are checked.

[0068] S020, according to T4, obtain m target vehicle information H1, H2, ..., H j ,...,H m ;H j =(H j1 ,H j2 ,H j3 ,H j4 ,H j5 ), and execute step S030; wherein, j=1,2,...,m; H j is the jth target vehicle information; H j1 H j Corresponding entry gate identification; H j2 H j Corresponding exit mark; H j3 H j The corresponding length of stay; H j4 H j Corresponding vehicle identification; H j5 H j The corresponding anomaly detection score;

[0069] The target vehicle corresponding to the vehicle identification included in the target vehicle information is the vehicle located in the target area within T4.

[0070] The target vehicle information is determined through the following steps:

[0071] S021, obtain the entry time of n detected vehicles in the target area within T4, and obtain the entry time set A=(A1, A2, ..., A i ,...,A n ); where, i=1,2,...,n; A i The entry time of the i-th detected vehicle information corresponding to the target area in T4;

[0072] S022. Traverse A, if T 41 ≤A i ≤T 42 , then A i The corresponding detected vehicle information is determined as the target vehicle information.

[0073] The anomaly detection score is determined by the following steps:

[0074] S023, Get H j The detection result of the corresponding target vehicle;

[0075] S024, if H j The corresponding target vehicle is an abnormal vehicle, then y2 is determined to be H j5 ;

[0076] If H j The corresponding target vehicle is a suspected vehicle, then y1 is determined to be H j5 ;

[0077] If H j The corresponding target vehicle is a normal vehicle, then y0 is determined to be H j5 ; Among them, 0<y0<y1<y2.

[0078] y0, y1, and y2 are anomaly detection scores reflecting different degrees of anomaly. The anomaly detection score of an abnormal vehicle is the highest, the anomaly detection score of a suspected vehicle is the second highest, and the anomaly detection score of a normal vehicle is the lowest. y0, y1, and y2 are three natural numbers greater than zero that increase in sequence. They are assigned according to the actual needs of the staff.

[0079] S030, H 14 ,H 24 ,...,H j4 ,...,H m4 Perform deduplication processing to obtain d first vehicle identifiers; each first vehicle identifier corresponds to a unique first vehicle;

[0080] Because the same vehicle may enter and exit the target area multiple times within T4, it is necessary to deduplicate the vehicle information belonging to the same vehicle to determine the unique vehicle information corresponding to each vehicle for subsequent data processing. If the vehicle information corresponding to the same vehicle has different vehicle results, the vehicle information with the highest anomaly detection score is determined as the corresponding vehicle information. For example, if vehicle D enters the target area three times within T4 and the detection results are determined as a normal vehicle, a suspected vehicle, and an abnormal vehicle, the abnormal vehicle is determined as its corresponding detection result.

[0081] S040: Based on d first vehicle identifiers, j ,...,H m Perform clustering to obtain the first vehicle information group C1, C2, ..., C corresponding to each first vehicle k ,...,C d ; C k =(C k1 ,C k2 ,...,C ke ,...,C kf(k) );C ke =(C ke1 ,C ke2 ,C ke3 ,C ke4 ,C ke5 ); where k = 1, 2, ..., d; C k is the first vehicle information group corresponding to the kth first vehicle; e=1,2,...,f(k);∑ d k=1 f(k)=m; f(k) is the number of first vehicle information corresponding to the kth first vehicle; C ke is the e-th first vehicle information corresponding to the k-th first vehicle; C ke1 C ke Corresponding entry gate identification; C ke2 C ke Corresponding exit mark; C ke3 C ke The corresponding length of stay; C ke4 C ke Corresponding vehicle identification; C ke5 C ke The corresponding anomaly detection score;

[0082] Clustering a plurality of first vehicle identifications according to their vehicle characteristics can improve the detection accuracy by analyzing all similar vehicle information of the group to which they belong to analyze whether they have any abnormal conditions.

[0083] S050: Determine the abnormality detection score Z corresponding to the k-th first vehicle k =(∑ f(k) e=1 C ke5 ) / f(k);

[0084] S060, according to the descending order of values, Z1, Z2, ..., Z k ,...,Z d Sort and get the sorted anomaly detection scores W1, W2, ..., W k ,...,W d ;

[0085] S070, W1, W2, ..., W k ,...,W d The corresponding first vehicle information is sent to the first server.

[0086] The first server detects the corresponding vehicle information in sequence according to the order of arrangement of the received plurality of first vehicle information, so as to find out the vehicle causing the abnormal situation in the shortest time and improve the detection efficiency.

[0087] The vehicle detention detection method of the present invention obtains the vehicle information to be detected of the vehicle to be detected sent by each information collection device in real time. The vehicle information to be detected includes the entry checkpoint identification, exit checkpoint identification, vehicle identification to be detected, entry checkpoint time and exit checkpoint time of the vehicle to be detected. By verifying the vehicle identification to be detected, it is judged whether the vehicle to be detected is an external vehicle. If the vehicle to be detected is an external vehicle, it is judged whether the entry checkpoint of the vehicle to be detected is the entrance of the target area. If the entry checkpoint of the vehicle to be detected is the entrance of the target area, the detention time of the vehicle to be detected is determined according to the entry checkpoint time and the exit checkpoint time, and it is judged whether the detention time of the vehicle to be detected is greater than or equal to a preset detention time threshold. If the detention time of the vehicle to be detected is greater than or equal to the preset detention time threshold, it indicates that the vehicle to be detected is an abnormal vehicle, and an alarm message is output. According to different target area entrances, the detention behavior of external vehicles can be warned in the target area as needed, the applicability is improved, and it is more in line with the security prevention needs of the region or place.

[0088] An embodiment of the present invention further provides a computer program product comprising program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0089] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0090] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0091] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0092] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods, or program products. Therefore, various aspects of the present invention may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0093] The electronic device according to this embodiment of the present invention is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0094] The electronic device is implemented as a general-purpose computing device. Components of the electronic device may include, but are not limited to, the aforementioned at least one processor, the aforementioned at least one storage, and a bus connecting different system components (including the storage and the processor).

[0095] The storage stores program codes, which can be executed by the processor, so that the processor performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0096] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0097] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0098] The bus may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0099] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. As shown, the network adapter communicates with other modules of the electronic device via a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0100] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0101] In exemplary embodiments of the present disclosure, a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the aforementioned methods of this specification. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product comprising program code. When the program product is executed on a terminal device, the program code is configured to cause the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the "Exemplary Methods" section of this specification.

[0102] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0103] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0104] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0105] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0106] Furthermore, the above-described figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention and are not intended to be limiting. It is readily understood that the processes illustrated in the above-described figures do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0107] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0108] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A vehicle detention detection method, characterized in that: Applied to a detention alarm detection system, the detention alarm detection system is connected to a plurality of information collection devices, the information collection devices are installed at each regional checkpoint in the target area, the information collection devices obtain vehicle information of vehicles passing through the corresponding regional checkpoint in real time, and send the vehicle information to the detention alarm detection system; the detention alarm detection system stores a preset pass list, and the preset pass list stores a plurality of target vehicle identifications; the plurality of regional checkpoints include target area entrances, target area exits, and non-target area checkpoints, and each of the regional checkpoints corresponds to a checkpoint identification; The method comprises the following steps: S100, in response to receiving the vehicle information to be detected of the vehicle to be detected sent by the information collection device, the vehicle information to be detected includes an entry checkpoint identifier B1, an exit checkpoint identifier B2, a vehicle identification to be detected B3, an entry checkpoint time T1, and an exit checkpoint time T2; wherein, the entry checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected enters the target area; the exit checkpoint identifier is the checkpoint identifier corresponding to the regional checkpoint at which the vehicle to be detected leaves the target area; the entry checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the entry checkpoint identifier; and the exit checkpoint time is the time when the vehicle to be detected passes through the regional checkpoint corresponding to the exit checkpoint identifier; S200, if B3 is not the target vehicle identification, and the area checkpoint corresponding to B1 is the target area entrance, then execute step S300; S300: If the area checkpoint corresponding to B2 is the exit of the target area, determine the detention time of the vehicle to be detected, T3 = T2 - T1; S400. If T3≥T0, the vehicle to be detected is determined to be an abnormal vehicle and an alarm message is output; otherwise, the vehicle to be detected is determined to be a normal vehicle; wherein T0 is a preset detention time threshold.

2. The method according to claim 1, characterized in that The step S300 further includes: S310: If the area checkpoint corresponding to B2 is a non-target area checkpoint, determine the detention time T3 of the vehicle to be detected = T2-T1; S311. If T3 ≥ T0, the vehicle to be detected is determined to be a suspected vehicle; otherwise, the vehicle to be detected is determined to be a normal vehicle.

3. The method according to claim 2, characterized in that The step S200 further includes: S210: If B3 is not a target vehicle identifier and the area checkpoint corresponding to B1 is a non-target area checkpoint, the vehicle to be detected is determined to be a normal vehicle.

4. The method according to claim 3, characterized in that The step S300 further includes: S320: If B2 is empty, determine the to-be-detected vehicle information as pending vehicle information and store it in the first database; S321 . When the exit checkpoint flag of the received vehicle information to be detected corresponding to B3 is not empty, delete the pending vehicle information corresponding to B3 from the first database and execute step S300 .

5. The method according to claim 4, characterized in that The detention alarm detection system is further connected to a first server, and the first server is used to send a data analysis request to the detention alarm detection system; The detention alarm detection system is further configured to perform the following steps: S010: In response to receiving a data analysis request sent by the first server, the data analysis request includes a data analysis time period T4=[T 41 ,T 42 ]; where T 41 is the starting time of T4, T 42 The cut-off time for T4; S020, according to T4, obtain m target vehicle information H1, H2, ..., H j ,...,H m ;H j =(H j1 ,H j2 ,H j3 ,H j4 ,H j5 ); where j = 1, 2, ..., m; H j is the jth target vehicle information; H j1 H j Corresponding entry gate identification; H j2 H j Corresponding exit mark; H j3 H j The corresponding length of stay; H j4 H j Corresponding vehicle identification; H j5 H j The corresponding anomaly detection score; S030, H 14 ,H 24 ,...,H j4 ,...,H m4 Performing deduplication processing to obtain d first vehicle identifiers; each of the first vehicle identifiers corresponds to a unique first vehicle; S040: Based on d first vehicle identifiers, j ,...,H m Perform clustering to obtain the first vehicle information groups C1, C2, ..., C corresponding to each of the first vehicles. k ,...,C d ; C k =(C k1 ,C k2 ,...,C ke ,...,C kf(k) );C ke =(C ke1 ,C ke2 ,C ke3 ,C ke4 ,C ke5 ); where k = 1, 2, ..., d; C k is the first vehicle information group corresponding to the kth first vehicle; e=1,2,...,f(k);∑ d k=1 f(k)=m; f(k) is the number of first vehicle information corresponding to the kth first vehicle; C ke is the e-th first vehicle information corresponding to the k-th first vehicle; C ke1 C ke Corresponding entry gate identification; C ke2 C ke Corresponding exit mark; C ke3 C ke The corresponding length of stay; C ke4 C ke Corresponding vehicle identification; C ke5 C ke The corresponding anomaly detection score; S050: Determine the abnormality detection score Z corresponding to the k-th first vehicle k =(∑ f(k) e=1 C ke5 ) / f(k); S060, according to the descending order of values, Z1, Z2, ..., Z k ,...,Z d Sort and get the sorted anomaly detection scores W1, W2, ..., W k ,...,W d ; S070, W1, W2, ..., W k ,...,W d The corresponding first vehicle information is sent to the first server.

6. The method according to claim 5, characterized in that The target vehicle information is determined by the following steps: S021, obtain the entry time of n detected vehicles corresponding to the target area in T4, and obtain the entry time set A=(A1, A2, ..., A i ,...,A n ); where, i=1,2,...,n; A i The entry time of the i-th detected vehicle information corresponding to the target area within T4; S022. Traverse A, if T 41 ≤A i ≤T 42 , then A i The corresponding detected vehicle information is determined as the target vehicle information.

7. The method according to claim 5, characterized in that The anomaly detection score is determined by the following steps: S023, Get H j The detection result of the corresponding target vehicle; S024, if H j The corresponding target vehicle is an abnormal vehicle, then y2 is determined to be H j5 ; If H j The corresponding target vehicle is a suspected vehicle, then y1 is determined to be H j5 ; If H j The corresponding target vehicle is a normal vehicle, then y0 is determined to be H j5 ; Among them, 0<y0<y1<y2.

8. The method according to claim 1, characterized in that The step S200 further includes: S220: If B3 is a target vehicle identifier, the vehicle to be detected is determined to be a normal vehicle.

9. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by a processor to implement the method according to any one of claims 1 to 8.

10. An electronic device, characterized in that: The device comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 9.

Citation Information

Patent Citations

  • Vehicle illegal parking behavior detection method and device and medium

    CN112907982A

  • Video-based illegal parking detection method and device and electronic equipment

    CN115690701A