Vehicle illegal parking identification method and device and computer readable storage medium
By obtaining vehicle information and flexibly determining the illegal parking identification strategy, including driving time difference and trajectory identification, the problem of poor flexibility in vehicle illegal parking identification in the prior art is solved, and more accurate and efficient illegal parking identification is achieved, traffic congestion is alleviated and traffic efficiency is improved.
Patent Information
- Application Number
- CN202311344411.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-17
- Publication Date
- 2025-04-18
AI Technical Summary
The prior art has poor flexibility in identifying vehicle illegal parking, resulting in congestion and low traffic efficiency in the park.
By obtaining vehicle information, the illegal parking identification strategy is flexibly determined, including identification based on the driving time difference and driving trajectory.
It improves the flexibility of vehicle illegal parking identification, accurately identify illegal parking vehicles, avoid misjudgment, alleviate traffic congestion, and improves traffic efficiency.
Smart Images

Figure CN119851482A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent traffic management technology, and in particular to a method, device and computer-readable storage medium for identifying illegally parked vehicles. Background Art
[0002] With the development of economy, the number of vehicles on the road is increasing. In the case of limited parking spaces in the park, vehicles are often parked randomly in non-parking areas in the park (for example, on the roadside in the park), which makes the vehicle passable area in the park narrow, resulting in serious congestion and low traffic efficiency on the roads in the park. However, the flexibility of the current traditional technology for identifying illegally parked vehicles is poor.
[0003] Therefore, how to flexibly identify illegally parked vehicles has become an urgent problem that needs to be solved. Summary of the invention
[0004] The present application provides a method, device and computer-readable storage medium for identifying illegally parked vehicles, which can improve the flexibility of illegally parked vehicles identification.
[0005] In a first aspect, an embodiment of the present application provides a method for identifying illegally parked vehicles, the method comprising: obtaining vehicle information of a first vehicle; determining an illegal parking identification strategy based on the vehicle information, wherein the illegal parking identification strategy comprises a first identification strategy and a second identification strategy, the first identification strategy being a strategy for identifying illegally parked vehicles for the first vehicle based on a driving time difference, the driving time difference being a difference between a first duration actually taken by the first vehicle to travel from a first position in a park to a second position in the park and a second duration predicted to be taken by the first vehicle to travel from the first position to a third position in the park; the second identification strategy being a strategy for identifying illegally parked vehicles for the first vehicle based on a driving trajectory of the first vehicle actually traveling from the first position to the second position; and determining whether the first vehicle is illegally parked based on the illegal parking identification strategy.
[0006] In the above technical solution, the illegal parking identification strategy can be flexibly determined based on the acquired vehicle information of the first vehicle, wherein the illegal parking identification strategy is the first strategy or the second strategy, that is, the method can improve the flexibility of vehicle illegal parking identification.
[0007] Optionally, in some implementations, the illegal parking identification strategy is the first identification strategy, and before determining the illegal parking identification strategy based on the vehicle information, the method further includes: between a first moment when the first vehicle leaves the first position and a second moment when the first vehicle actually drives to the second position, if there is no congestion in a lane area between the first position and the second position, the difference between the first time length and the second time length is determined as the driving time difference, wherein the lane area does not include a parking area.
[0008] In the above technical solution, if there is no road congestion in the lane area between the first position and the second position during the period from the first moment to the second moment (i.e., the period from the moment the first vehicle leaves the first position to the moment it actually travels to the second position), the driving time difference can be determined based on the first duration and the second duration, and whether the first vehicle is illegally parked can be determined based on the driving time difference. In the above implementation process, since the driving time difference is determined based on the first duration and the second duration during the period from the first moment to the second moment when there is no road congestion in the lane area between the first position and the second position, this can avoid determining the first vehicle that is in a stopped state when congestion occurs in the lane area as an illegally parked vehicle, thereby accurately identifying illegally parked vehicles.
[0009] Optionally, in some other implementations, the illegal parking identification strategy is the second identification strategy, and determining whether the first vehicle is illegally parked based on the illegal parking identification strategy includes: when the driving trajectory indicates that the first vehicle stops at any position in the lane area between the first position and the second position for a length of time that exceeds a preset time length, determining that the first vehicle is illegally parked, wherein the lane area does not include a parking area; when the driving trajectory indicates that the first vehicle stops at each position in the lane area between the first position and the second position for a length of time that does not exceed the preset time length, determining that the first vehicle is not illegally parked.
[0010] In the above technical solution, when the first position left by the first vehicle is not the preset position, it is possible to determine whether the first vehicle is illegally parked based on the driving trajectory of the first vehicle from the first position to the second position. This method can select different illegal parking identification strategies based on the first position. In this way, the flexibility of the vehicle illegal parking identification method can be improved.
[0011] Optionally, in some other implementations, before determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, the method further includes: determining whether the first vehicle is a non-faulty vehicle based on vehicle status information of the first vehicle actually traveling from the first position to the second position.
[0012] In the above technical solution, before determining whether the first vehicle is illegally parked, it is first determined that the first vehicle is a non-faulty vehicle. In this way, it is possible to avoid determining the faulty first vehicle as an illegally parked vehicle, which is conducive to improving the accuracy of vehicle illegal parking identification.
[0013] Optionally, in some other implementations, after determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, the method further includes: in case the first vehicle is illegally parked, issuing a parking violation warning notice to the first vehicle within a preset time period, and issuing a penalty notice to the first vehicle after the preset time period.
[0014] In the above technical solution, warning or punishment is given to the first vehicle that has parked illegally, which is helpful to alleviate the traffic congestion in the park, thereby improving the traffic efficiency of vehicles in the park.
[0015] In a second aspect, the present application also provides a device for identifying illegally parked vehicles, the device comprising a processing unit, the processing unit being used to: obtain vehicle information of a first vehicle; determine an illegal parking identification strategy based on the vehicle information, wherein the illegal parking identification strategy comprises a first identification strategy and a second identification strategy, the first identification strategy being a strategy for identifying illegally parked vehicles for the first vehicle based on a driving time difference, the driving time difference being a difference between a first duration actually taken by the first vehicle to travel from a first position in a park to a second position in the park and a second duration predicted to be taken by the first vehicle to travel from the first position to a third position in the park; the second identification strategy being a strategy for identifying illegally parked vehicles for the first vehicle based on a driving trajectory of the first vehicle actually traveling from the first position to the second position; and determining whether the first vehicle is illegally parked based on the illegal parking identification strategy.
[0016] Optionally, in some implementations, the illegal parking identification strategy is the first identification strategy, and the processing unit is further used to perform the following operations before determining the illegal parking identification strategy based on the vehicle information: between a first moment when the first vehicle leaves the first position and a second moment when the first vehicle actually drives to the second position, if there is no congestion in a lane area between the first position and the second position, determine the difference between the first time length and the second time length as the driving time difference, wherein the lane area does not include a parking area.
[0017] Optionally, in some other implementations, the illegal parking identification strategy is the second identification strategy, and the processing unit is further used to: determine that the first vehicle is illegally parked when the driving trajectory indicates that the length of time the first vehicle stops at any position in the lane area between the first position and the second position exceeds a preset time length, wherein the lane area does not include a parking area; and determine that the first vehicle is not illegally parked when the driving trajectory indicates that the length of time the first vehicle stops at each position in the lane area between the first position and the second position does not exceed the preset time length.
[0018] Optionally, in some other implementations, the processing unit is further used to perform the following operations before determining whether the first vehicle is illegally parked according to the illegal parking identification strategy: determining whether the first vehicle is a non-faulty vehicle based on vehicle status information of the first vehicle actually traveling from the first position to the second position.
[0019] Optionally, in some other implementations, the processing unit is further used to perform the following operations after determining whether the first vehicle is illegally parked according to the illegal parking identification strategy: in case the first vehicle is illegally parked, issuing a parking violation warning notice to the first vehicle within a preset time period, and issuing a penalty notice to the first vehicle after the preset time period.
[0020] In a third aspect, an electronic device is provided, comprising a unit for executing any one of the methods for identifying illegally parked vehicles in the first aspect. The device may be a terminal device or a chip in a terminal device. The device may include an input unit and a processing unit.
[0021] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory for storing computer program code. When the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods for identifying illegally parked vehicles in the first aspect.
[0022] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods for identifying illegally parked vehicles in the first aspect.
[0023] In one possible implementation, a memory is used to store computer program codes; a processor executes the computer program codes stored in the memory, and when the computer program codes stored in the memory are executed, the processor is used to execute any one of the methods for identifying illegally parked vehicles in the first aspect.
[0024] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program runs on a computer, the computer executes the method for identifying illegally parked vehicles provided in any possible design in the first aspect above.
[0025] In a fifth aspect, the present application also provides a chip system, including a processor, for calling and running a computer program from a memory, so that a device equipped with the chip system executes a method for identifying illegally parked vehicles provided in any possible design in the first aspect mentioned above.
[0026] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute a method for identifying illegally parked vehicles provided in any possible design in the first aspect described above.
[0027] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0029] Figure 1 It is a schematic diagram of an application scenario of the method for identifying illegally parked vehicles provided in an embodiment of the present application.
[0030] Figure 2 It is a schematic diagram of a method for identifying illegally parked vehicles provided in an embodiment of the present application.
[0031] Figure 3 is the above Figure 2 A schematic diagram of a lane area between a first position and a second position involved in the provided method.
[0032] Figure 4 is the above Figure 2 A schematic diagram of a first position, a second position, and a third position involved in a method is provided.
[0033] Figure 5 It is a schematic diagram of another method for identifying illegally parked vehicles provided in an embodiment of the present application.
[0034] Figure 6 It is a schematic diagram of another method for identifying illegally parked vehicles provided in an embodiment of the present application.
[0035] Figure 7 Is to execute the above Figure 6 A schematic diagram of step S607 in the provided method.
[0036] Figure 8 It is a schematic diagram of a vehicle illegally parked identification device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The technical solution in the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0038] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0039] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, "at least one" means one or more, and "more than one" means two or more, unless otherwise clearly and specifically defined.
[0040] The following is an introduction to the technical solution provided by this application.
[0041] First, the application scenarios to which the embodiments of the present application are applicable are introduced.
[0042] Figure 1 It is a schematic diagram of an application scenario of the method for identifying illegally parked vehicles provided in an embodiment of the present application.
[0043] For example. Figure 1 As shown, the park includes office area, production and processing area, warehouse and parking lot. Among them, the park includes one entrance and exit (i.e. the park gate), and the parking lot includes one entrance and exit. It can be understood that Figure 1The areas excluding the office area, production and processing area, warehouse and parking lot are roads, and vehicles can drive on the roads.
[0044] When the vehicle parking violation identification method provided by this application is applied to Figure 1 When the scenario shown, the method can identify Figure 1 Whether there is illegal parking in the scene shown. Figure 1 If the vehicle in the illustrated scenario is illegally parked, a warning and / or penalty notice may also be sent to the illegally parked vehicle.
[0045] It should be understood that the above Figure 1 This is only for illustration and does not constitute any limitation on the application scenarios to which the method for identifying illegally parked vehicles provided in this application is applicable. Figure 1 The park shown may also include multiple parking lots located at different locations in the park. Figure 1 The entrance and exit of the park shown are located at different locations in the park. Figure 1 The park shown can also be replaced by a scenic area, and the layout in the park can also be replaced by the layout of the corresponding scenic area.
[0046] Next, combine Figures 2 to 7 The method for identifying illegally parked vehicles provided in an embodiment of the present application is introduced in detail.
[0047] Figure 2 is a schematic diagram of a method for identifying illegal parking of a vehicle provided in an embodiment of the present application. It can be understood that, Figure 2 The method for identifying a vehicle illegally parked can be performed by an electronic device, such as a server, a mobile terminal, or a personal computer. Figure 2 As shown, the vehicle illegal parking identification method provided by the embodiment of the present application includes steps S210 to S230. Below, S210 to S230 are introduced in detail.
[0048] S210, obtaining vehicle information of the first vehicle.
[0049] The first vehicle is a vehicle that leaves the first position of the park at a first moment, and that actually drives to the second position of the park at a second moment after leaving the first position at the first moment, wherein the first position and the second position are two different positions in the park. It is understandable that the second position is the position where the first vehicle is currently located in the park. The first position and the second position of the park are not specifically limited and can be selected according to actual needs. For example, Figure 3 Taking the illustrated scenario as an example, the first location is a parking lot in the park, and the second location is a location between the park gate and the parking lot.
[0050] The vehicle information of the first vehicle refers to the information of the first vehicle traveling in the park, wherein the vehicle information includes at least the first position of the park. The content included in the vehicle information of the first vehicle is not specifically limited, that is, the vehicle information may also include other information. For example, the other information may be, but is not limited to, the status information of the first vehicle in the park, and the status information is used to indicate whether the first vehicle is faulty. For another example, the other information may be, but is not limited to, the time when the first vehicle leaves the first position of the park as the first moment, and the first vehicle actually travels to the second position of the park at a second moment after leaving the first position at the first moment.
[0051] A park refers to a target area. There is no specific limitation on the presentation form of the park, and it can be selected according to the actual situation. For example, the park can be a logistics park or an industrial park. For another example, the park can be a section of a highway. For example, the park can be Figure 1 or Figure 3 The park is shown.
[0052] In the above step S210, the method for obtaining the vehicle information of the first vehicle is not specifically limited. Exemplarily, when the vehicle information of the first vehicle includes at least the first position of the park, obtaining the vehicle information of the first vehicle includes: obtaining a target image from a camera located at the first position, wherein the target image records information that the first vehicle has traveled through the first position; and obtaining the vehicle information of the first vehicle according to the target image.
[0053] S220, determine a parking violation identification strategy based on the vehicle information, wherein the parking violation identification strategy includes a first identification strategy and a second identification strategy, the first identification strategy is a strategy for identifying the first vehicle as illegally parked based on a driving time difference, where the driving time difference is a difference between a first duration actually taken by the first vehicle to travel from a first position in the park to a second position in the park and a second duration predicted to be taken by the first vehicle to travel from the first position to a third position in the park; the second identification strategy is a strategy for identifying the first vehicle as illegally parked based on a driving trajectory of the first vehicle from the first position to the second position.
[0054] In the above step S220, the first identification strategy is a strategy for identifying the first vehicle as illegally parked based on the driving time difference. The driving time difference is the difference between the first time duration actually taken by the first vehicle to travel from the first position in the park to the second position in the park and the second time duration predicted to be taken by the first vehicle to travel from the first position to the third position in the park.
[0055] The third position may be the second position, or the third position may not be the second position. Figure 3For example, the second position is the position between the parking lot and the park gate, and the third position is the park gate. In this implementation, the third position is different from the second position.
[0056] The driving time difference is the difference between the first duration and the second duration, wherein the determination of the second duration is related to the third position. Specifically, in some implementations, the third position and the second position are the same, the first duration is the actual time used by the first vehicle to travel from the first position to the second position, and the second duration is the predicted time used by the first vehicle to travel from the first position to the second position. In other implementations, the third position and the second position are different, the first duration is the actual time used by the first vehicle to travel from the first position to the second position, and the second duration is the predicted time used by the first vehicle to travel from the first position to the third position.
[0057] For example, Figure 4 The third position, the second position and the first position of the park, the first moment when the first vehicle actually leaves the first position, the second moment when the first vehicle actually drives to the second position, the first duration and the second duration are shown.
[0058] The above-mentioned first recognition strategy involves the travel time difference. Therefore, before determining the illegal parking recognition strategy based on the vehicle information, a step of determining the travel time difference can also be performed.
[0059] In some implementations, the illegal parking identification strategy is the first identification strategy, and before determining the illegal parking identification strategy based on vehicle information, the following steps can also be performed: if there is no congestion in the lane area between the first position and the second position within a first moment when the first vehicle leaves the first position and a second moment when the first vehicle actually drives to the second position, the difference between the first time length and the second time length is determined as the driving time difference, wherein the lane area does not include the parking area.
[0060] The lane area between the first position and the second position is a non-illegally parked area between the first position and the second position. The method for determining the lane area between the first position and the second position is not specifically limited. For example, the lane area is a non-illegally parked area between the first position and the second position determined based on historical illegal parking data. For another example, the lane area is a pre-set non-illegally parked area between the first position and the second position.
[0061] For example, Figure 3 Taking the scenario shown as an example, the first position is a parking lot, and the second position is a position between the parking lot and the park entrance. Based on this, the lane area can be Figure 3 The area shown by the inclined straight line.
[0062] In some other implementations, the illegal parking identification strategy is a first identification strategy, and before determining the illegal parking identification strategy based on the vehicle information, the following steps may also be performed: the difference between the first duration and the second duration is determined as the driving time difference.
[0063] The step of obtaining the travel time difference above needs to satisfy the condition that the lane area is not congested. Therefore, before executing the step of obtaining the travel time difference, a step of determining whether the lane area is congested may also be executed. The method of determining whether the lane area is congested is not specifically limited and may be determined according to actual conditions.
[0064] In some implementations, before determining the difference between the first duration and the second duration as the travel time difference, the following steps may be performed: obtaining multiple candidate vehicles traveling in the park from the first moment to the second moment; determining one of the multiple candidate vehicles traveling in the target lane area as the second vehicle; and determining that no congestion occurred in the lane area from the first moment to the second moment when the average speed of the second vehicle traveling in the target lane area exceeds a preset threshold. It should also be understood that when the average speed of the second vehicle traveling in the target lane area does not exceed a preset threshold, it is determined that congestion occurred in the lane area from the first moment to the second moment.
[0065] The relationship between the target lane area and the lane area between the first position and the second position is not specifically limited. For example, the target lane area may be the lane area between the first position and the second position. For another example, the target lane area may be a partial area of the lane area between the first position and the second position, and the partial area may be, but is not limited to, a bend in the lane area between the first position and the second position, a place where traffic lights are densely packed, or a place where the lane is relatively narrow.
[0066] In the above steps, the average speed of the second vehicle traveling in the target lane area between the first position and the second position can be expressed by the following mathematical formula:
[0067]
[0068] In the above formula 2.1, V represents the average speed of the second vehicle traveling in the target lane area between the first position and the second position. S1 represents the distance length of the target lane area between the first position and the second position. Cn represents the moment when the camera at the end point of the target lane area between the first position and the second position captures the second vehicle, wherein the starting point of the target lane area may be the first position, or a position at a preset distance from the first position. C1 represents the moment when the camera at the starting point of the target lane area between the first position and the second position captures the second vehicle, and the second vehicle is a vehicle traveling from the starting point to the end point of the target lane area between the first position and the second position, wherein the end point of the target lane area may be the second position, or a position at a preset distance from the second position, and the preset distance may be set according to the actual scenario and requirements, and the preset distance is not specifically limited.
[0069] The preset threshold is not specifically limited and can be selected according to actual conditions. In some implementations, the preset threshold can be determined based on the road width, road curvature and road condition of the target lane area, wherein the road condition can include at least one of the following: road depression, road bulge, road damage or speed bumps. For example, the preset threshold can be expressed by the following mathematical formula:
[0070] X = a × road width + b × road curvature + c × road condition Formula 2.2
[0071] In the above formula 2.2, X represents the preset threshold. a represents the weight of the road width. b represents the weight of the road curvature. c represents the weight of the road condition. a+b+c=1. The values of a, b, and c can be set according to the actual situation. For example, a is equal to 0.2, b is equal to 0.4, and c is equal to 0.4.
[0072] The multiple candidate vehicles traveling in the park from the first moment to the second moment can be determined based on the number of vehicles N1 entering the park, the number of vehicles N2 leaving the park, the number of vehicles P1 entering (or arriving at) the first position of the park, the number of vehicles P2 leaving the first position, and the number of vehicles W illegally parked. Therefore, the multiple candidate vehicles traveling in the park from the first moment to the second moment can be expressed by the following mathematical formula:
[0073] L1=N1-N2-P3-WFormula 2.3
[0074] In the above formula 2.3, L1 represents a plurality of candidate vehicles. P3 represents the number of vehicles located at the first position, P3 = P1-P2. For example, when the first position is the location of a parking lot in a park, the vehicle located at the first position may refer to a vehicle parked in the parking lot or a vehicle at the entrance of the parking lot.
[0075] The above step of determining the travel time difference involves a first duration and a second duration, and the method for obtaining the first duration and the second duration is not specifically limited.
[0076] In the embodiment of the present application, the moment when the first vehicle leaves the first position is the first moment, and the moment when the first vehicle actually drives to the second position of the park is the second moment. Therefore, the first duration is the difference between the second moment and the first moment.
[0077] In the embodiment of the present application, the second duration is the predicted duration for the first vehicle to travel from the first position to the third position, and the method for determining the second duration is not specifically limited.
[0078] In some implementations, obtaining the second duration includes: obtaining a driving distance between the first position and the third position; and obtaining the second duration based on the driving distance and a preset driving speed.
[0079] In the above implementation, the preset driving speed may be, but is not limited to, the minimum driving speed of the vehicle. The minimum driving speed is not specifically limited and can be set according to actual conditions. For example, under normal circumstances, the minimum driving speed can be set to 10 km / h. For another example, when it is rainy or snowy, a smaller minimum driving speed can be set, such as a minimum driving speed of 8 km / h. For another example, when the weather is clear and the road surface is in good condition, a larger minimum driving speed can be set, such as a minimum driving speed of 15 km / h.
[0080] For example, taking the minimum driving speed per hour as 10 km / h and the distance between the first position and the third position as S2 as an example, the second duration can be expressed by the following mathematical formula:
[0081]
[0082] In the above formula 2.4, B represents the second duration, and the unit of B is hour (hour, h).
[0083] In some other implementations, the second duration may also be determined based on historical vehicle data information in the park, wherein the historical vehicle data information includes the time taken by at least one vehicle to travel from the first location to the third location. Specifically, the second duration is the average value of the time taken by at least one vehicle indicated by the historical vehicle data information to travel from the first location to the third location.
[0084] In the embodiment of the present application, there is no specific limitation on the method of obtaining the first moment when the first vehicle in the vehicle information leaves the first location of the park, and the method of obtaining the second moment when the first vehicle actually travels to the second location.
[0085] Exemplarily, at least one camera is respectively arranged at the first position and the second position of the park; the camera at the first position can record the information of vehicles passing through the first position (for example, the identification of the vehicle and the time when the vehicle arrives at the first position); and the camera at the second position can record the information of vehicles passing through the second position (for example, the identification of the vehicle and the time when the vehicle arrives at the second position).
[0086] In an embodiment of the present application, the above-mentioned step S220 is executed, that is, the illegal parking identification strategy is determined according to the vehicle information, including: when the first position included in the vehicle information is a preset position, the illegal parking identification strategy is determined to be the first identification strategy; when the first position included in the vehicle information is not the preset position, the illegal parking identification strategy is determined to be the second identification strategy.
[0087] The preset location may be a predefined location within the park, and the selection of the preset location is not specifically limited and may be set according to actual needs. For example, the preset location may be, but is not limited to, a parking lot or an office area within the park.
[0088] S230: Determine whether the first vehicle is illegally parked according to the illegal parking identification strategy.
[0089] In the embodiment of the present application, the illegal parking identification strategy in the above step S230 may be the first identification strategy or the second identification strategy in the above step S220. In other words, the execution of the above step S230 is associated with the illegal parking identification strategy, that is, the process of executing the above step S230 based on different illegal parking identification strategies is also different.
[0090] Next, implementation method 1 for executing the above step S230 when the illegal parking identification strategy is the first identification strategy and implementation method 2 for executing the above step S230 when the illegal parking identification strategy is the second identification strategy are respectively introduced.
[0091] Implementation method 1:
[0092] In the above-mentioned implementation method one, the illegal parking identification strategy in the above-mentioned S230 is the first identification strategy. Therefore, according to the illegal parking identification strategy, it is determined whether the first vehicle is illegally parked, including: when the driving time difference exceeds the preset time length, it is determined that the first vehicle is illegally parked; when the driving time difference does not exceed the preset time length, it is determined that the first vehicle is not illegally parked.
[0093] The illegal parking of the first vehicle means that the first vehicle is parked in a lane area between a first position and a second position, wherein the lane area does not include a parking area.
[0094] The driving time difference does not exceed the preset duration, that is, the driving time difference is less than or equal to the preset duration.
[0095] There is no specific limitation on the preset duration, and it can be selected according to the actual situation. For example, the preset duration can be determined according to the road conditions of the section of the road from the first position to the second position. For example, when there are many vehicles on the section of the road from the first position to the second position and there is no congestion, the value of the preset duration can be set to be larger, such as the preset duration can be but not limited to 30 minutes. For example, when the section of the road from the first position to the second position is relatively smooth, the value of the preset duration can be set to be smaller, such as the preset duration can be but not limited to 15 minutes.
[0096] In the above-mentioned implementation method 1, illegal parking is identified for the first vehicle according to the first identification strategy as an illegal parking identification strategy to determine whether the first vehicle is illegally parked. In the process of illegally parking identification for the first vehicle based on the first identification strategy: from the first moment to the second moment (i.e., the period from the moment the first vehicle leaves the first position to the moment it actually drives to the second position), if there is no road congestion in the lane area between the first position and the second position, the driving time difference can be determined according to the first time length and the second time length, and then it can be determined whether the first vehicle is illegally parked according to the driving time difference. In this way, it is possible to avoid determining the first vehicle that is in a stopped state when the lane area is congested as an illegally parked vehicle, thereby improving the accuracy of identifying illegally parked vehicles.
[0097] Implementation method 2:
[0098] In the above-mentioned second implementation method, the illegal parking identification strategy in the above-mentioned S230 is the second identification strategy. Therefore, according to the illegal parking identification strategy, determining whether the first vehicle is illegally parked includes: when the driving trajectory indicates that the length of time the first vehicle stops at any position in the lane area between the first position and the second position exceeds a preset time length, determining that the first vehicle is illegally parked, wherein the lane area does not include a parking area; when the driving trajectory indicates that the length of time the first vehicle stops at each position in the lane area between the first position and the second position does not exceed a preset time length, determining that the first vehicle is not illegally parked.
[0099] The preset duration can be set according to the road conditions between the first position and the second position, and is not specifically limited. It should be noted that, when the third position is the second position, the preset duration in the second implementation and the preset duration in the first implementation are the same preset duration.
[0100] In the above-mentioned second implementation method, when the first position left by the first vehicle is not the preset position, it is possible to determine whether the first vehicle is illegally parked based on the driving trajectory of the first vehicle from the first position to the second position. This method can select different illegal parking identification strategies based on the first position. In this way, the flexibility of the vehicle illegal parking identification method can be improved.
[0101] The above implementation method 2 involves the driving trajectory of the first vehicle from leaving the first position at the first moment to the second position at the second moment. Therefore, after executing the above implementation method 2, the step of obtaining the behavior trajectory may also be involved. The method of obtaining the behavior trajectory of the first vehicle is not specifically limited.
[0102] Exemplarily, obtaining the behavior trajectory of the first vehicle includes: obtaining multiple images of the first vehicle traveling from a first position to a second position; and obtaining a driving trajectory of the first vehicle from leaving the first position at a first moment to traveling to the second position at a second moment based on the multiple images and the image of the first vehicle.
[0103] In the embodiment of the present application, after executing the method described in the above implementation mode 1 or implementation mode 2, it can be determined that the first vehicle is illegally parked or the first vehicle is not illegally parked. In the case of illegal parking of the first vehicle, a warning process can also be performed on the first vehicle.
[0104] After executing the above step S230, in the case where it is determined that the first vehicle is illegally parked, further, a certain penalty may be imposed on the first vehicle to eliminate the illegal parking phenomenon as soon as possible, thereby alleviating the traffic congestion in the park.
[0105] Exemplarily, in some implementations, after determining whether the first vehicle is illegally parked according to an illegal parking identification strategy, the method further includes: in the case that the first vehicle is illegally parked, issuing a illegal parking warning notice to the first vehicle within a preset time period, and issuing a penalty notice to the first vehicle after the preset time period.
[0106] In the above implementation, different degrees of punishment may be imposed on the first vehicle according to the length of time the first vehicle is illegally parked. In this way, vehicles with different degrees of illegal parking may be flexibly handled accordingly, thereby providing flexibility in handling illegal parking.
[0107] In the embodiment of the present application, only when the first vehicle is not faulty, the identification result determined by executing the method described in the above implementation mode 1 or implementation mode 2 is reliable. Therefore, before executing the method described in the above implementation mode 1 or implementation mode 2, it is also possible to determine whether the first vehicle is a non-faulty vehicle. The method for determining whether the first vehicle is a non-faulty vehicle is not specifically limited.
[0108] In some implementations, before determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, the method further includes: determining that the first vehicle is a non-faulty vehicle according to vehicle status information of the first vehicle actually traveling from the first location to the second location. For example, the vehicle information of the first vehicle may include vehicle status information of the first vehicle actually traveling from the first location to the second location.
[0109] In the above implementation, before determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, it can be determined that the first vehicle is a non-faulty vehicle. In this way, the method can avoid erroneously believing that the first vehicle has illegally parked when the first vehicle has a fault, thereby improving the accuracy of identifying illegal parking of vehicles.
[0110] It should be understood that the above Figure 2 The illustrated method for identifying illegally parked vehicles is for illustration only and does not constitute any limitation on the method for identifying illegally parked vehicles provided in this application. For example, in some implementations, it is not necessary to perform a step of determining whether the first location of the park left by the first vehicle is a preset location, that is, in such an implementation, the first identification strategy can be used to identify illegally parked vehicles for the first location in any situation.
[0111] In the embodiment of the present application, the illegal parking identification strategy can be flexibly determined based on the vehicle information of the first vehicle obtained, wherein the illegal parking identification strategy is the first strategy or the second strategy, which can improve the flexibility of vehicle illegal parking identification. Further, in the case of determining that the first vehicle is illegally parked, a parking violation warning notice or a penalty notice can also be issued to the first vehicle to drive the first vehicle to eliminate the illegal parking phenomenon. In this way, the method can avoid congestion during peak hours, ensure the smoothness of roads in the park, improve the traffic efficiency of the park, improve the satisfaction and tour experience of tourists, and help build a smart park.
[0112] Next, taking vehicle A entering the park as an example, another method for identifying illegally parked vehicles provided in an embodiment of the present application is introduced.
[0113] Figure 5 is a schematic diagram of another method for identifying illegal parking of vehicles provided in an embodiment of the present application. It can be understood that, Figure 5 The method shown is as above Figure 2 A specific example of the method shown. Figure 5 As shown, the vehicle illegal parking identification method provided by the embodiment of the present application includes steps S510 to S543. Below, S510 to S543 are specifically described.
[0114] S510, obtain vehicle information of vehicle A (i.e., the above Figure 2The vehicle information of the first vehicle in the method provided includes the vehicle information of the vehicle A from the location #1 in the park (i.e., the above Figure 2 An example of a first location in the method provided) a vehicle leaving.
[0115] S520, based on the vehicle information of vehicle A, determine whether the location #1 in the park that vehicle A left is a parking lot in the park (i.e., the above Figure 2 An example of a preset position in the method provided).
[0116] Execute the above-mentioned step S520, that is, determine whether the location #1 in the park left by vehicle A is a parking lot in the park based on the vehicle information of vehicle A, including: when it is determined that the location #1 in the park left by vehicle A is a parking lot in the park, then execute step S530; when it is determined that the location #1 in the park left by vehicle A is not a parking lot in the park, then execute step S540.
[0117] S530, obtain the travel time difference # (i.e., the above Figure 2 An example of the travel time difference in the method provided), where the travel time difference # is the time when vehicle A travels from position #1 to position #2 (i.e., the above Figure 2 The duration 1 (i.e., the duration of the second position in the method provided above) is used Figure 2 An example of the first duration in the method provided), and the predicted vehicle A travels from position #1 to position #3 (i.e., the above Figure 2 The duration 2 (i.e., the above-mentioned Figure 2 The difference between the second duration in the method provided is an example.
[0118] The principle of obtaining the travel time difference # is the same as the above Figure 2 The principle of obtaining the travel time difference in the provided method is the same. For matters not described in detail here, please refer to the relevant description in the above step S220.
[0119] S531, determine whether the travel time difference # is greater than the preset time length A (i.e., the above Figure 2 An example of the preset duration in implementation method 1 in the provided method).
[0120] Execute the above-mentioned step S531, that is, determine whether the driving time difference # is greater than the preset time length A, including: when the driving time difference # is greater than the preset time length A, continue to execute step S532; when the driving time difference # is less than or equal to the preset time length A, continue to execute step S533.
[0121] The above-mentioned preset duration A can be set according to the road conditions between position #1 and position #2, and there is no specific limitation on this.
[0122] S532, determining that vehicle A is illegally parked, and issuing a warning notification to vehicle A.
[0123] S533, determine that vehicle A has not parked illegally.
[0124] S540, obtaining the driving trajectory of vehicle A from position #1 to position #2 (i.e., the above Figure 2 An example of a driving trajectory in the provided method).
[0125] The principle of obtaining the driving trajectory of vehicle A from position #1 to position #2 is similar to the above Figure 2 The principle of obtaining the driving trajectory of the first vehicle from the first position to the second position in the provided method is the same. For the contents not described in detail here, please refer to the relevant description in the above step S220.
[0126] S541, determine whether the driving trajectory indicates that the length of time that vehicle A stays at any position between position #1 and position #2 is greater than a preset time length B (i.e., the above Figure 2 An example of the preset duration in implementation method 2 in the provided method).
[0127] Executing the above step S541, i.e. determining whether the driving trajectory indicates that the length of time that vehicle A stays at any position between position #1 and position #2 is greater than the preset time length B, includes: if the driving trajectory indicates that the length of time that vehicle A stays at any position between position #1 and position #2 is greater than the preset time length B, then continuing to execute step S542; if the driving trajectory indicates that the length of time that vehicle A stays at any position between position #1 and position #2 is less than or equal to the preset time length B, then continuing to execute step S543. The above preset time length B can be set according to the road conditions between position #1 and position #2, and is not specifically limited thereto.
[0128] S542, determining that vehicle A is illegally parked, and issuing a warning notification to vehicle A.
[0129] S543, determine that vehicle A has not parked illegally.
[0130] It should be understood that the above Figure 5 The method for identifying illegally parked vehicles shown is for illustration only and does not constitute any limitation on the method for identifying illegally parked vehicles provided in this application.
[0131] In the embodiment of the present application, the illegal parking identification strategy can be flexibly determined based on the vehicle information of vehicle A obtained, which can improve the flexibility of vehicle illegal parking identification. Furthermore, in the case of determining that vehicle A has illegally parked, a warning notice of illegal parking can be issued to vehicle A to drive vehicle A to eliminate the illegal parking phenomenon. In this way, the method can avoid congestion during peak hours, ensure the smoothness of roads in the park, improve the traffic efficiency of the park, improve the satisfaction and tour experience of tourists, and help build a smart park.
[0132] Next, taking vehicle A entering the park as an example, another method for identifying illegally parked vehicles provided in an embodiment of the present application is introduced.
[0133] Figure 6 is a schematic diagram of another method for identifying illegal parking of vehicles provided in an embodiment of the present application. It can be understood that, Figure 6 The method shown is as above Figure 2 A specific example of the method shown. Figure 6 As shown, the vehicle illegal parking identification method provided by the embodiment of the present application includes steps S601 to S610. S601 to S610 are described in detail below.
[0134] S601, in vehicle A (i.e. Figure 2 In the provided method, an example of a first vehicle) enters the park, vehicle A is added to the park vehicle queue.
[0135] Vehicle A enters the park, that is, when vehicle A enters the gate of the park, it can be considered that vehicle A enters the park.
[0136] There is no specific limitation on the method for determining whether vehicle A has entered the park. For example, when vehicle A enters the park, vehicle A needs to pass the verification of the gate at the entrance of the park before entering the park. The gate will record the license plate information of vehicle A and the time when vehicle A enters the park. Therefore, the information recorded in the gate can be used to know that vehicle A has entered the park. For another example, a camera is installed at the entrance of the park. When vehicle A enters the park, the camera can capture the picture of vehicle A entering the park. Therefore, the picture captured by the camera can be used to know that vehicle A has entered the park.
[0137] Any vehicle in the park vehicle queue refers to a vehicle that has entered the park and has not left the park, that is, the any vehicle is a vehicle located in the park. The number of vehicles included in the park vehicle queue is not specifically limited and can be determined according to actual conditions. For example, if there are 6 vehicles that have entered the park and have not left the park, the vehicles included in the park vehicle queue are the 6 vehicles.
[0138] S602, determine whether vehicle A has entered the parking lot of the park (i.e. Figure 2An example of a first position in the method provided) inside.
[0139] Execute the above S602, that is, when the vehicle A enters the park, determine whether the vehicle A enters the parking lot of the park.
[0140] After executing the above S602, if it is determined that the vehicle A has entered the parking lot of the park, then S603 is executed; if it is determined that the vehicle A has not entered the parking lot of the park, then S604 is executed.
[0141] In the embodiment of the present application, after executing the above S602, if it is determined that vehicle A enters the parking lot of the park, the time when vehicle A enters the parking lot of the park can be obtained, and the time when vehicle A enters the parking lot of the park is recorded as time 1. Time 1 is the time after the time when vehicle A enters the park.
[0142] There is no specific limitation on the method of determining whether a vehicle has entered the parking lot of the park. For example, when vehicle A enters the parking lot, vehicle A needs to pass the verification of the gate at the gate of the parking lot before entering the parking lot. The gate will record the license plate information of vehicle A and the time when vehicle A enters the parking lot. Therefore, the information recorded in the gate can be used to know that vehicle A has entered the parking lot. For another example, the cameras installed at the entrance and exit of the parking lot can be used to monitor the vehicles entering and leaving the parking lot. In this way, when vehicle A enters the parking lot, the vehicle A and the time when vehicle A enters the parking lot can be monitored.
[0143] It should be noted that the above step S602 is described by taking vehicle A in the park vehicle queue as an example. Optionally, vehicle A in the above step S602 can also be replaced by other vehicles in the park vehicle queue, and there is no specific limitation on this.
[0144] S603, determining whether vehicle A has left the parking lot of the park.
[0145] The above S603 is executed, that is, after vehicle A enters the park and the parking lot of the park, it is determined whether vehicle A has left the parking lot of the park. It can be understood that vehicle A leaving the parking lot of the park means that vehicle A has left the parking lot.
[0146] After executing the above step S603, if it is determined that vehicle A has left the parking lot of the park, then S604 is executed; if it is determined that vehicle A has not left the parking lot of the park, then S602 is executed again after a preset time interval. It can be understood that vehicle A has not entered the parking lot of the park and vehicle A has left the parking lot of the park means that vehicle A has not entered the parking lot, and vehicle A has passed through the parking lot gate and left the parking lot gate.
[0147] The length of the preset time period can be set according to actual needs, for example, the preset time period can be but not limited to 1 minute, 2 minutes or 10 minutes, etc. Optionally, in actual applications, the preset time period can be implemented in the form of a timer, for example, if the preset time period is 10 minutes, the timer countdown is set to 10 minutes.
[0148] In the embodiment of the present application, after executing the above step S603, if it is determined that vehicle A leaves the parking lot of the park, the time when vehicle A leaves the parking lot of the park can be obtained, and the time when vehicle A leaves the parking lot of the park is recorded as time 2 (i.e., the time when vehicle A leaves the parking lot of the park in the above step S603). Figure 2 An example of the first moment in the method provided). Time 2 is a moment after time 1.
[0149] There is no specific limitation on the method for determining whether a vehicle has left the parking lot of the park. For example, the method for determining whether a vehicle has entered the parking lot of the park can be referred to above. For matters not described in detail here, please refer to the relevant description in S602 above.
[0150] S604, determining whether vehicle A has left the park.
[0151] In some implementations, S604 is executed after executing the above S603, that is, after vehicle A enters the parking lot of the park and leaves the parking lot of the park, it is determined whether vehicle A leaves the park.
[0152] In some other implementations, S604 is executed after the above S602 is executed, that is, after vehicle A enters the park and vehicle A does not enter the parking lot of the park, it is determined whether vehicle A has left the park.
[0153] After executing the above S604, if it is determined that vehicle A has left the park, then S605 is executed; if it is determined that vehicle A has not left the park, then S606 is executed.
[0154] There is no specific limitation on the method for determining whether the vehicle has left the park. For example, the method for determining whether the vehicle has entered the park may be referred to above. For matters not described in detail here, reference may be made to the relevant description in S601 above.
[0155] S605, delete vehicle A from the park vehicle queue and end the process.
[0156] Executing the above S601 to S605, that is, after vehicle A enters the parking lot of the park, and vehicle A leaves the parking lot of the park, vehicle A has left the park. In the case where vehicle A has left the park, there is no need to execute subsequent steps in this implementation, so the process can be ended.
[0157] For example, the park vehicle queue includes vehicle A and vehicle B, and after executing S605, the park vehicle queue includes vehicle B.
[0158] S606, predicting that vehicle A will leave the parking lot and drive from the parking lot to the entrance of the park (i.e., the above Figure 2 The method provided in the third position is an example of the time B (i.e., the above Figure 2 An example of a second duration in the method provided).
[0159] In an embodiment of the present application, predicting the time taken by vehicle A to travel from the parking lot to the park gate after leaving the parking lot includes: obtaining the distance S1 from the parking lot to the park gate, where the unit of S1 can be kilometers; dividing the distance S1 from the parking lot to the park gate by the minimum driving speed per hour, and determining the time B taken by vehicle A to travel from the parking lot to the park gate after leaving the parking lot.
[0160] In the above implementation, the description related to calculating time B can refer to the description related to calculating the second duration in step S220 above, which will not be repeated here.
[0161] In the above implementation, the distance S1 from the parking lot to the park gate can be obtained by calling a map interface but is not limited to it.
[0162] S607, determine whether the time interval between time 2 and time 3 (i.e., the above Figure 2 The time period between the parking lot and the production and processing area (i.e., the time period between the second moment in the method provided) Figure 2 An example of the second position in the method provided) between the non-illegal parking area (i.e., the above Figure 2 An example of a lane area in the provided method) is congestion occurring.
[0163] Time 3 is the time when vehicle A drives to the production and processing area, where time 3 is the current time.
[0164] In the embodiment of the present application, executing the above S607 includes: Figure 7 Steps S607-1 to S607-5 are shown. S607-1 to S607-5 are described in detail below.
[0165] S607-1, obtaining vehicles traveling in the park during the time period between time 2 and time 3.
[0166] The method for obtaining vehicles traveling in the park during the time period between time 2 and time 3 in the above S607-1 is the same as the method for obtaining multiple candidate vehicles traveling in the park between the first moment and the second moment in the above step S220. For matters not described in detail here, please refer to the relevant description in the above step S220.
[0167] S607-2, from the vehicles traveling in the park during the time period between time 2 and time 3, select the target area in the non-illegal parking area between the parking lot and the production and processing area (i.e., the target area in the above Figure 2 The vehicle B (i.e., the vehicle B in the target lane area in the method provided above) is driven in the target lane area in the method provided above. Figure 2 An example of a second vehicle in the method provided).
[0168] The non-illegal parking area between the parking lot and the production and processing area may be the lane area between the parking lot and the production and processing area; and the target area in the non-illegal parking area between the parking lot and the production and processing area may be the entire area or part of the lane area between the parking lot and the production and processing area. Figure 3 The target area is the area shown by multiple inclined straight lines. Figure 3 A partial area of the area shown by multiple inclined straight lines.
[0169] There is no specific limitation on the method for determining the non-illegal parking area. For example, the non-illegal parking area is a non-illegal parking area within the road from the production and processing area to the parking lot determined based on historical illegal parking data. For another example, the non-illegal parking area is a pre-set non-illegal parking area within the road from the production and processing area to the parking lot.
[0170] In the embodiment of the present application, multiple cameras are installed on the road that must be passed from the parking lot to the production and processing area. The multiple cameras have multiple shooting ranges, and each camera will record vehicles that travel to the corresponding shooting range. The multiple shooting ranges are the road ranges from the parking lot to the production and processing area. Therefore, based on the multiple shooting results of the multiple cameras for the multiple shooting ranges, it can be known that during the time period between time 2 and time 3, the vehicles in the target area of the non-illegally parked area between the parking lot and the production and processing area.
[0171] S607-3, obtain the time C1 when vehicle B drives to the starting position of the target area in the non-illegally parked area between the parking lot and the production and processing area, the time Cn when vehicle B drives to the ending position of the target area in the non-illegally parked area between the parking lot and the production and processing area, and the distance S2 between the starting position and the ending position of the target area in the non-illegally parked area.
[0172] In the above implementation, the starting position of the target area in the non-illegal parking area can be the parking lot entrance, or a position at a preset distance from the parking lot entrance. The ending position of the target area in the non-illegal parking area can be the production and processing area, or a position at a preset distance from the production and processing area.
[0173] S607-4, according to the time C1, the time Cn and the distance S2, determine the vehicle B (i.e., the Figure 2 An example of a second vehicle in the provided method) is an average speed of traveling in a target area within a non-illegally parked area.
[0174] In an embodiment of the present application, the average speed of vehicle B traveling in the target area in the non-illegally parked area is determined based on time C1, time Cn and distance S2, including: obtaining the difference between time Cn and time C1; dividing distance S2 by the difference and determining the result as the average speed of vehicle B traveling in the target area in the non-illegally parked area.
[0175] S607-5, based on whether the average speed of vehicle B in the target area of the non-illegally parked area exceeds the first preset threshold (i.e., the above Figure 2 An example of a preset threshold value in the provided method) is used to determine whether congestion occurs in the non-illegally parked area between the parking lot and the production and processing area during the time period between time 2 and time 3.
[0176] Execute the above S607-5. If the average speed of the overtaking vehicle B traveling in the target area in the non-illegally parked area between the parking lot and the production and processing area exceeds the first preset threshold, it is determined that there is no congestion in the non-illegally parked area; if the average speed of the overtaking vehicle B traveling in the target area in the non-illegally parked area between the parking lot and the production and processing area does not exceed the first preset threshold, it is determined that congestion occurs in the non-illegally parked area.
[0177] The above average speed exceeds the first preset threshold, that is, the average speed is greater than the first preset threshold. The above average speed does not exceed the first preset threshold, that is, the average speed is less than or equal to the first preset threshold. The first preset threshold is the same as the preset threshold in step S220 above. For contents not described in detail here, please refer to the relevant description in step S220 above.
[0178] S608, determine the time difference D (i.e., the time difference D in the above text) according to time 3, time 2, and time B. Figure 2 An example of the travel time difference in the provided method).
[0179] Executing the above S608, that is, determining the time difference D according to time 3, time 2 and time B, includes: subtracting the difference result of the sum of time 2 and time B from time 3 to determine the time difference D.
[0180] In the above implementation, the time difference D can be expressed by the following mathematical formula:
[0181] D=T3-(T2+B) Formula 6.1
[0182] In the above formula 6.1, T3 represents time 3, T3 = T2 + time A (i.e. Figure 2 An example of the first duration in the method provided), where time A is the duration used by vehicle A from leaving the parking lot to actually driving to the generated processing area. T2 represents time 2. (T2+B) represents the predicted time, where the predicted time refers to the time when vehicle A is predicted to drive to the gate of the park after leaving the parking lot at time 2.
[0183] Furthermore, the time difference D can be transformed into the following mathematical formula:
[0184]
[0185] S609, determine whether the time difference D is greater than the second preset threshold (above Figure 2 An example of the preset duration in implementation method 1 in the provided method).
[0186] For example, the distance from the park gate to the parking lot is 1 kilometer, and the minimum speed for driving 1 kilometer is 10 km / h, that is, the longest time taken for a vehicle to travel 1 kilometer is 30 minutes. Therefore, the second preset threshold can be equal to 30 minutes. Based on this, if the time difference D is greater than 30 minutes, it can be considered that the vehicle has parked illegally.
[0187] It should be noted that in the embodiment of the present application, vehicle A has not failed, that is, vehicle A can travel normally. In other words, if the time difference D is greater than the second preset threshold, it must be caused by illegal parking of vehicle A. Illegal parking of vehicle A means that vehicle A stops in an illegal parking area.
[0188] Execute the above S609. If it is determined that D is greater than the second preset threshold, then continue to execute S610; if it is determined that D is less than or equal to the second preset threshold, then execute S602 again after an interval of a preset time period.
[0189] S610: When it is determined that vehicle A is an illegally parked vehicle, a parking violation warning notice is issued to vehicle A.
[0190] There is no specific limitation on the presentation method of the illegal parking warning notification, which can be set according to the actual situation. For example, the license plate number of vehicle A can be broadcasted through the park radio to warn the owner of vehicle A that vehicle A is in the illegal parking area. For another example, the owner of vehicle A can be reminded through a text message that vehicle A is in the illegal parking area and needs to drive vehicle A away from the illegal parking scene within a certain period of time so that the owner will not be punished.
[0191] It should be understood that the above Figure 6 The method for identifying illegally parked vehicles shown is for illustration only and does not constitute any limitation on the method for identifying illegally parked vehicles provided in this application. Figure 6In the example of vehicle A entering the park, the method for identifying illegal parking of vehicles provided by the embodiment of the present application is introduced. Figure 6 The vehicle A in the method shown can also be replaced by any other vehicle in the park vehicle queue except the vehicle A. Figure 6 In the example, the scene where vehicle A leaves the parking lot and drives to the park gate is used to determine whether vehicle A has illegally parked. Optionally, the scene where vehicle A enters the park gate and drives to the parking lot is used to determine whether vehicle A has illegally parked.
[0192] In the embodiment of the present application, during the period from time 2 to time 3 (i.e., the period from the time when vehicle A leaves the parking lot to the time when it actually drives to the entrance of the park), if there is no road congestion in the non-illegally parked area between the parking lot and the entrance of the park, it is possible to determine whether vehicle A is illegally parked based on the time difference D. In this way, it is possible to avoid determining vehicle A that is in a stopped state when the non-illegally parked area is congested as an illegally parked vehicle, thereby improving the accuracy of identifying illegally parked vehicles. Furthermore, in the case of determining that vehicle A is illegally parked, a warning notice for illegal parking can be issued to vehicle A to drive vehicle A to eliminate the illegal parking phenomenon. In this way, the method can avoid congestion during peak hours, ensure the smoothness of roads in the park, improve the traffic efficiency of the park, improve visitor satisfaction and tour experience, and is conducive to building a smart park.
[0193] Combination of the above Figures 1 to 7 , describes in detail the method for identifying illegally parked vehicles in the embodiment of the present application, and will now be combined with Figure 8 The device embodiments of the present application are described in detail. It should be understood that the vehicle illegal parking identification device in the embodiments of the present application can execute the various vehicle illegal parking identification methods in the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0194] Figure 8 Schematic diagram of a vehicle parking violation identification device provided in an embodiment of the present application. Figure 8 The illustrated vehicle illegally parked identification device 800 includes: a processing unit 810. The vehicle illegally parked identification device is applied to an electronic device. The function of the processing unit 810 is described in detail below.
[0195] The processing unit 810 is used to: obtain vehicle information of the first vehicle; determine a parking violation identification strategy based on the vehicle information, wherein the parking violation identification strategy includes a first identification strategy and a second identification strategy, the first identification strategy is a strategy for identifying the first vehicle as illegally parked based on a driving time difference, the driving time difference being a difference between a first duration actually taken by the first vehicle to travel from a first position in a park to a second position in the park and a second duration predicted to be taken by the first vehicle to travel from the first position to a third position in the park; the second identification strategy is a strategy for identifying the first vehicle as illegally parked based on a driving trajectory of the first vehicle actually traveling from the first position to the second position; and determine whether the first vehicle is illegally parked based on the parking violation identification strategy.
[0196] It should be noted that the above-mentioned vehicle illegal parking identification device 800 is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0197] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0198] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0199] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.
[0200] The computer-readable storage medium is, for example, a memory. The memory may be a volatile memory or a nonvolatile memory, or the memory may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0201] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0202] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean 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 application.
[0203] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0204] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0205] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0206] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0207] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0208] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for identifying illegally parked vehicles, characterized in that: The method comprises: Obtaining vehicle information of a first vehicle; Determine a parking violation identification strategy based on the vehicle information, wherein the parking violation identification strategy includes a first identification strategy and a second identification strategy, the first identification strategy is a strategy for identifying the first vehicle as illegally parked based on a travel time difference, the travel time difference being a difference between a first duration actually taken by the first vehicle to travel from a first position in a park to a second position in the park and a second duration predicted to be taken by the first vehicle to travel from the first position to a third position in the park; the second identification strategy is a strategy for identifying the first vehicle as illegally parked based on a travel trajectory of the first vehicle actually traveling from the first position to the second position; According to the illegal parking identification strategy, it is determined whether the first vehicle is illegally parked.
2. The method according to claim 1, characterized in that: The determining of a parking violation identification strategy according to the vehicle information includes: In a case where the first position included in the vehicle information is a preset position, determining the illegal parking recognition strategy to be the first recognition strategy; When the first position included in the vehicle information is not the preset position, the illegal parking recognition strategy is determined to be the second recognition strategy.
3. The method according to claim 2, characterized in that The preset position is a parking lot, the second position is a position between the first position and the park gate of the park, and the third position is the park gate.
4. The method according to any one of claims 1 to 3, characterized in that: The illegal parking identification strategy is the first identification strategy, and, Before determining the illegal parking identification strategy according to the vehicle information, the method further includes: During the period from the first moment when the first vehicle leaves the first position to the second moment when the first vehicle actually drives to the second position, if there is no congestion in the lane area between the first position and the second position, the difference between the first time length and the second time length is determined as the driving time difference, wherein the lane area does not include a parking area.
5. The method according to claim 4, characterized in that Before determining the difference between the first duration and the second duration as the travel time difference, the method further includes: Acquire a plurality of candidate vehicles traveling in the park between the first moment and the second moment; Determine a vehicle among the multiple candidate vehicles traveling in the target lane area as a second vehicle; When the average speed of the second vehicle traveling in the target lane area exceeds a preset threshold, it is determined that no congestion occurs in the lane area from the first moment to the second moment.
6. The method according to any one of claims 1 to 5, characterized in that: The illegal parking identification strategy is the first identification strategy, and, The determining, according to the illegal parking identification strategy, whether the first vehicle is illegally parked includes: When the travel time difference exceeds a preset time, determining that the first vehicle is illegally parked; When the driving time difference does not exceed the preset duration, it is determined that the first vehicle has not parked illegally.
7. The method according to any one of claims 1 to 3, characterized in that: The illegal parking identification strategy is the second identification strategy, and, The determining, according to the illegal parking identification strategy, whether the first vehicle is illegally parked includes: If the driving trajectory indicates that the first vehicle stops at any position in the lane area between the first position and the second position for a time period exceeding a preset time period, determining that the first vehicle is illegally parked, wherein the lane area does not include a parking area; When the driving trajectory indicates that the length of time the first vehicle stops at each position in the lane area between the first position and the second position does not exceed the preset time length, it is determined that the first vehicle has not illegally parked.
8. The method according to any one of claims 1 to 7, characterized in that: Before determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, the method further includes: Based on the vehicle status information of the first vehicle actually traveling from the first position to the second position, it is determined that the first vehicle is a non-faulty vehicle.
9. The method according to any one of claims 1 to 8, characterized in that: After determining whether the first vehicle is illegally parked according to the illegal parking identification strategy, the method further includes: In the case where the first vehicle is illegally parked, a parking violation warning notice is issued to the first vehicle within a preset time period, and a penalty notice is issued to the first vehicle after the preset time period.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method for identifying illegally parked vehicles according to any one of claims 1 to 9.