CN110838243B - Parking space data processing method and device and computer readable storage medium - Google Patents

Parking space data processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110838243B
CN110838243B CN201911106085.0A CN201911106085A CN110838243B CN 110838243 B CN110838243 B CN 110838243B CN 201911106085 A CN201911106085 A CN 201911106085A CN 110838243 B CN110838243 B CN 110838243B
Authority
CN
China
Prior art keywords
parking
volume
volume type
parking space
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911106085.0A
Other languages
Chinese (zh)
Other versions
CN110838243A (en
Inventor
侯琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911106085.0A priority Critical patent/CN110838243B/en
Publication of CN110838243A publication Critical patent/CN110838243A/en
Application granted granted Critical
Publication of CN110838243B publication Critical patent/CN110838243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/146Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas where the parking area is a limited parking space, e.g. parking garage, restricted space
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/0116Measuring and analyzing of parameters relative to traffic conditions based on the source of data from roadside infrastructure, e.g. beacons
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/148Management of a network of parking areas

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a parking space data processing method, a parking space data processing device and a computer readable storage medium, wherein the method comprises the following steps: obtaining the volume type of the vehicles which can be accommodated in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type; determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type; obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the number of the vehicles to be parked corresponding to each volume type and the parking probability; determining the total predicted parking amount of the parking spaces corresponding to the various volume types according to the predicted parking amount; and determining the number of parking spaces corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, wherein the number of the parking spaces is used for planning the parking spaces of the target parking lot. The scheme that this application provided can improve the parking stall utilization ratio.

Description

Parking space data processing method and device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a parking space data processing method and apparatus, and a computer-readable storage medium.
Background
With the development of computer technology, the computer technology is applied to parking lot management, and parking spaces of a parking lot are planned through a computer, so that the parking lot can better meet requirements.
In the conventional technology, when determining the number of parking spaces, generally, the size type of the vehicles that can be accommodated by the parking lot and the number of vehicles to be parked corresponding to each size type are obtained, and then how many parking spaces are directly set according to the number of the vehicles, for example, if the number of vehicles to be parked of a certain size is 10, the number of parking spaces for the certain size is set to be 10. However, when the car is parked in the actual parking lot, the car is not parked according to the requirements of "small car parking space for small car and large car parking space for large car" of the parking space, and there is a multiplexing phenomenon of parking spaces, that is, the car with small volume is parked in the parking space with large volume, which results in low utilization rate of the parking space and waste of parking resources.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a parking space data processing method, device and computer readable storage medium for solving the technical problems caused by the background art.
A parking space data processing method comprises the following steps:
obtaining the volume type of the vehicles which can be accommodated in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type;
determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, wherein the parking space number is used for planning the parking space of the target parking lot.
A parking space data processing apparatus, the apparatus comprising:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring the volume types of vehicles which can be currently accommodated in a target parking lot and the number of vehicles to be parked corresponding to each volume type;
the probability determining module is used for determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
the first prediction module is used for obtaining the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
the second prediction module is used for determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and the parking space number determining module is used for determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, and the parking space number is used for planning the parking space of the target parking lot.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
obtaining the volume type of the vehicles which can be accommodated in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type;
determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, wherein the parking space number is used for planning the parking space of the target parking lot.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
obtaining the volume type of the vehicles which can be accommodated in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type;
determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, wherein the parking space number is used for planning the parking space of the target parking lot.
The parking space data processing method, the parking space data processing device, the computer readable storage medium and the computer equipment firstly obtain the volume types of vehicles which can be currently accommodated by a target parking lot and the number of the vehicles of each volume type, then determine the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, further obtain the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the number of the vehicles to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, determine the predicted parking total number of the parking spaces corresponding to each volume type according to the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, and finally, determining the number of parking spaces corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, wherein the obtained number of the parking spaces can be used for planning the parking spaces of the target parking lot. Because the parking probability of the vehicles to be parked of each volume type in the parking space corresponding to each volume type is considered in the process of determining the parking number, compared with the prior art in which the parking number of the parking space of each volume type is determined directly according to the number of the vehicles to be parked of each volume type, the parking number determined by the method is more in line with the actual situation that the vehicle possibly occupies a large parking space to cause parking space multiplexing in the actual parking situation, so that the vehicles of each type can be better guaranteed to be parked at the parking spaces, the idle parking spaces can be reduced, the utilization rate of the parking spaces is obviously improved, and the parking space resources are saved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a parking space data processing method;
FIG. 2 is a schematic flow chart illustrating a method for processing parking space data according to an embodiment;
FIG. 3 is a flowchart illustrating step S202 according to an embodiment;
FIG. 4 is a schematic flow diagram of an embodiment other than FIG. 2;
FIG. 5 is a schematic diagram of a target parking lot layout according to one embodiment;
FIG. 6 is a schematic flow diagram of an alternative embodiment other than that of FIG. 2;
FIG. 7 is a system hardware platform corresponding to the parking space data processing method in one embodiment;
FIG. 8 is a block diagram of an embodiment of a parking space data processing apparatus;
FIG. 9 is a block diagram of an acquisition module in another embodiment;
FIG. 10 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a parking space data processing method in an embodiment. Referring to fig. 1, the parking space data processing method is applied to a parking space data processing system. The system includes a terminal 110 and at least one drive test awareness apparatus 120. The terminal 110 and the drive test awareness apparatus 120 are connected via a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The drive test sensing device 120 is installed in the parking spaces corresponding to the respective volume types, and is used for monitoring the parking conditions of the parking spaces. The drive test sensing device 120 may be various sensors that can be used to monitor the parking condition of the parking space, including but not limited to a pressure sensor, an infrared sensor, and the like.
The terminal 110 may determine the parking probability of the vehicle to be parked corresponding to each volume type after acquiring the volume type of the vehicle which can be currently accommodated in the target parking lot and the number of vehicles to be parked corresponding to each volume type, and obtain the predicted parking number of the vehicle to be parked corresponding to each volume type according to the number of vehicles to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type corresponding to the parking space corresponding to each volume type, further, the terminal 110 may determine the predicted parking total number of the parking spaces corresponding to each volume type according to the predicted parking number of the vehicle to be parked corresponding to each volume type, and finally, the terminal 110 may determine the predicted parking total number of the parking spaces corresponding to each volume type according to the predicted parking total number of the parking spaces corresponding to each volume type And the number of the vehicle spaces is used for planning the parking spaces of the target parking lot.
As shown in fig. 2, in an embodiment, a parking space data processing method is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the parking space data processing method specifically includes the following steps:
s202, the volume types of the vehicles which can be contained in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type are obtained.
The target parking lot refers to a parking lot for which parking space planning is required. The vehicle volume category is divided according to the volume of the vehicle which can be currently accommodated in the parking lot. For example, a vehicle whose vehicle volume does not exceed the first threshold value may be determined as a small vehicle; determining vehicles with the vehicle volume exceeding a first threshold value and not exceeding a second threshold value as medium-sized vehicles; and determining the vehicle with the vehicle volume exceeding the second threshold value and not exceeding the third threshold value as the large-sized vehicle. The vehicles to be parked corresponding to each volume type refer to vehicles of each volume type that need to be parked in the target parking lot.
In one embodiment, the vehicle volume type of the target parking lot and the number of vehicles to be parked corresponding to each volume type may be set by the parking lot manager according to experience, and the terminal 110 may obtain the vehicle volume type input by the manager and the number of vehicles to be parked corresponding to each volume type through a corresponding terminal interface.
In another embodiment, the terminal 110 may obtain historical vehicle volume types that can be accommodated by the target parking lot history and the number of vehicles to be parked corresponding to each historical vehicle volume type, and determine the vehicle volume types that can be accommodated by the target parking lot and the number of vehicles to be parked corresponding to each historical vehicle volume type according to the historical data.
S204, determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type.
The parking probability is used for representing the possibility that the vehicle parks in a certain parking space, and the higher the parking probability is, the higher the possibility that the vehicle parks in the certain parking space is represented. The parking space refers to a space formed by target parking spaces corresponding to a certain volume type parking lot. The parking space area of a parking lot is generally defined according to the volume of the vehicles which can be accommodated. The target parking space corresponding to a certain volume type vehicle refers to a parking space with the area size matched with the volume of the volume type vehicle. For example, if the types of the volumes of the vehicles currently accommodated in a certain target parking lot are three types, namely, large, medium and small, the corresponding parking spaces also include three types, namely, large, medium and small, wherein the target parking space corresponding to the large vehicle is a large parking space, the target parking space corresponding to the medium vehicle is a medium parking space, and the target parking space corresponding to the small vehicle is a small parking space.
Since the vehicle is not parked in the corresponding parking space when actually parking, each parking space can completely accommodate a vehicle having a volume smaller than the target vehicle volume of the parking space, that is, the vehicle can be parked in the corresponding target parking space and a parking space larger than the target parking space, for example, a small vehicle may be parked in a small parking space, a medium parking space and a large parking space, and a medium vehicle may be parked in a medium parking space and a large parking space. Therefore, in order to improve the utilization rate of the parking spaces, the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type needs to be determined. For example, when the vehicle size is three types, i.e., large, medium, and small, it is necessary to determine the parking probabilities of the large vehicle for the parking spaces corresponding to the large, medium, and small parking spaces, the parking probabilities of the medium vehicle for the parking spaces corresponding to the large, medium, and small parking spaces, and the parking probabilities of the small vehicle for the parking spaces corresponding to the large, medium, and small parking spaces, respectively.
In one embodiment, when determining the parking probability of a certain volume type of vehicle to be parked with respect to the parking space corresponding to each volume type, the number of target volume types greater than or equal to the volume of the vehicle corresponding to the volume type may be determined first, and since the vehicle may be parked in any parking space greater than or equal to the actual volume of the vehicle without considering the influence of other factors when the vehicle is parked, after determining the number of target volume types, the parking probability of the volume type of vehicle to be parked with respect to the parking space having a volume greater than or equal to the volume of the vehicle corresponding to the volume type may be determined as follows: 1/number of target volume categories, and the other parking probability is determined as 0.
And S206, obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type.
Specifically, the terminal may obtain the predicted number of parked vehicles corresponding to each volume type relative to the parking space corresponding to each volume type by calculating a product of the number of vehicles of the to-be-parked vehicle corresponding to each volume type and the parking probability of the to-be-parked vehicle corresponding to each volume type relative to the parking space corresponding to each volume type, respectively.
For example, the vehicle volume types include three types, i.e., a large vehicle, a medium vehicle, and a small vehicle, the number of vehicles corresponding to the vehicles to be parked is 10, 20, and 30, respectively, the parking probability of the vehicle to be parked corresponding to the large vehicle with respect to the parking space corresponding to the large vehicle, the parking probability of the parking space corresponding to the medium vehicle, and the parking probability of the parking space corresponding to the small vehicle are 1, 0, and 0, respectively, and the predicted number of parked vehicles corresponding to the large vehicle with respect to the parking space corresponding to the large vehicle, the predicted number of parked vehicles corresponding to the medium vehicle, and the predicted number of parked vehicles corresponding to the small vehicle are 10, 0, and 0, respectively; if the parking probability of the vehicle to be parked corresponding to the medium-sized vehicle with respect to the parking space corresponding to the large-sized vehicle, the parking probability of the parking space corresponding to the medium-sized vehicle, and the parking probability of the parking space corresponding to the small-sized vehicle are 1/2, 1/2, and 0, respectively, the predicted number of parked vehicles in the parking space corresponding to the medium-sized vehicle, and the predicted number of parked vehicles in the parking space corresponding to the small-sized vehicle are 10, and 0, respectively; when the parking probability of the vehicle to be parked corresponding to the small vehicle with respect to the parking space corresponding to the large vehicle, the parking probability of the parking space corresponding to the medium vehicle, and the parking probability of the parking space corresponding to the small vehicle are 1/3, 1/3, and 1/3, respectively, the predicted number of parked vehicles of the vehicle to be parked corresponding to the small vehicle with respect to the parking space corresponding to the large vehicle, the predicted number of parked vehicles of the parking space corresponding to the medium vehicle, and the predicted number of parked vehicles of the parking space corresponding to the small vehicle are 10, and 10, respectively.
And S208, determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types.
Specifically, the terminal may accumulate the predicted parking number of the vehicle to be parked corresponding to each volume type in the parking space corresponding to each volume type, so as to obtain the predicted total parking number of the parking space corresponding to each volume type. For example, in the above example, the total number of predicted parking spaces for a large vehicle is: 10+10+10 ═ 30; the total predicted parking amount of the parking spaces corresponding to the medium-sized vehicles is as follows: 0+10+10 ═ 20; the total predicted parking quantity of the parking spaces corresponding to the small cars is as follows: 0+0+10 ═ 10.
And S210, determining the number of parking spaces corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, wherein the number of the parking spaces is used for planning the parking spaces of the target parking lot.
Specifically, the terminal may determine the parking space number of the parking space corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, where the parking space number is used to plan the parking space of the target parking lot. When the number of parking spaces is determined, it is required to ensure that the number of parking spaces in the parking space corresponding to each volume type cannot be less than the corresponding total predicted parking data amount. For example, if the total predicted parking data amount of the parking space corresponding to the large vehicle is 30, the number of parking spaces in the parking space corresponding to the large vehicle determined last cannot be less than 30.
The parking space data processing method comprises the steps that a terminal firstly obtains the volume types of vehicles which can be currently accommodated in a target parking lot and the number of vehicles in each volume type, then determines the parking probability of a vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, further obtains the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the number of the vehicles to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, determines the predicted parking number of the parking space corresponding to each volume type according to the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, and finally determines the number of the parking spaces corresponding to each volume type according to the predicted parking total number of the parking spaces corresponding to each volume type, the obtained parking space number can be used for planning the parking space of the target parking lot. Because the parking probability of the vehicles to be parked of each volume type in the parking space corresponding to each volume type is considered in the process of determining the parking number, compared with the prior art in which the parking number of the parking space of each volume type is determined directly according to the number of the vehicles to be parked of each volume type, the parking number determined by the method is more in line with the actual situation that the vehicle possibly occupies a large parking space to cause parking space multiplexing in the actual parking situation, so that the vehicles of each type can be better guaranteed to be parked at the parking spaces, the idle parking spaces can be reduced, the utilization rate of the parking spaces is obviously improved, and the parking space resources are saved.
In one embodiment, as shown in fig. 3, the step S202 of obtaining the volume types of vehicles currently able to be accommodated by the target parking lot and the number of vehicles to be parked corresponding to each volume type includes:
S202A, obtains the historical volume types of the vehicles that can be accommodated in the target parking lot history and the number of vehicles waiting to be parked corresponding to each historical volume type.
In this embodiment, the number of parking spaces in the parking space corresponding to each volume type is determined according to a certain period, which may be one month, one quarter, or the like. The historical vehicle volume types that the target parking lot history can accommodate refer to the vehicle volume types that the target parking lot can accommodate in the historical period. The number of vehicles to be parked corresponding to each historical volume type means the number of vehicles of each volume type that park in the target parking lot in the historical period.
In one embodiment, the terminal can obtain historical vehicle volume types which can be contained in the target parking lot history by receiving the parking data sent by the drive test sensing device, and count the number of vehicles to be parked corresponding to each historical volume type.
And S202B, determining the volume type of the vehicles which can be currently accommodated in the target parking lot and the number of the vehicles to be parked corresponding to each volume type according to the volume type of the historical vehicles which can be accommodated in the target parking lot history and the number of the vehicles to be parked corresponding to each volume type.
Specifically, the terminal may determine the vehicle volume type currently held by the target parking lot according to the historical vehicle volume type historically held by the target parking lot in the historical period, and calculate the vehicle number of the vehicle to be parked corresponding to each historical volume type per day in the target parking lot in the historical period according to the vehicle number of the vehicle to be parked corresponding to each historical volume type in the historical period, so as to determine the vehicle number of the vehicle to be parked corresponding to the vehicle volume type currently held by the target parking lot.
For example, in the past month, the target parking lot has about 50 cars, 30 medium trucks, and 20 buses entering the parking lot to find a parking space on average, and thus, it can be considered that about 50 small-volume cars, 30 medium-volume cars, and 20 large-volume cars are currently parked in the parking lot every day. Therefore, the types of the vehicles which can be currently accommodated in the target parking lot are determined to be cars, medium-sized trucks and large buses, and the number of the vehicles to be parked corresponding to each type of the vehicles is respectively 50, 30 and 20.
In the embodiment, the vehicle volume type which can be currently accommodated by the target parking lot and the number of vehicles to be parked corresponding to each volume type are determined by acquiring the historical volume type of the vehicles which can be historically accommodated by the target parking lot and the number of the vehicles to be parked corresponding to each historical volume type, and the obtained volume type and the number of the vehicles are more practical and more accurate.
In one embodiment, the step S204 of determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type includes: acquiring the current volume of a vehicle to be stopped corresponding to the current volume type, and acquiring the number m of target volume types with the volume larger than or equal to the current volume, wherein m is larger than or equal to 1; determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the first volume type set is 1/m; the first volume type set is a set formed by volume types with the volume larger than or equal to the current volume; determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the second volume type set is 0; the second volume type set is a set of volume types having a volume smaller than the current volume.
The current volume type refers to any specific volume type in a volume type set formed by all volume types corresponding to vehicles which can be currently accommodated in the target parking lot. In this embodiment, the terminal may sequentially determine each volume type as the current volume type, and determine the parking probability of the vehicle to be parked corresponding to the current volume type with respect to the parking space corresponding to each volume type by performing the steps in this embodiment.
Specifically, since the vehicle can be arbitrarily parked in any parking space larger than the parking space when actually parking, and the probability that the vehicle will be parked in any parking space that can be parked is the same regardless of the influence of other factors, that is, the vehicle with the volume type i and the like can be parked in the parking space corresponding to the volume type i, and the parking spaces corresponding to other volume types with the volume larger than the volume corresponding to the volume type i, for example, the sedan can and the like can be parked in the parking space corresponding to the small vehicle, the parking space corresponding to the medium vehicle, and the parking space corresponding to the large vehicle.
Therefore, when determining the parking probability of the vehicle to be parked corresponding to a specific volume type relative to the parking space corresponding to each volume type, the terminal may first obtain the current volume of the vehicle to be parked corresponding to the volume type, and then sequentially determine whether the volumes corresponding to other volume types exceed the current volume, so as to determine the number m of the target volume types. For example, the volume of the vehicle to be parked corresponding to the small vehicle is V1 ≦ X1, the volume of the vehicle to be parked corresponding to the medium vehicle is X1 < V2 ≦ X2, the volume of the vehicle to be parked corresponding to the large vehicle is X2 < V3 ≦ X3, wherein X1 < X2 < X3, when the parking probability of the vehicle to be parked corresponding to the small vehicle with respect to the parking space corresponding to each volume type is determined, the number m of the obtained target volume types is 3.
Further, since the vehicle with the volume type i may possibly park in the parking space corresponding to the volume type i and the parking spaces corresponding to other volume types with the volume larger than the volume corresponding to the volume type i, after the target volume type number m corresponding to a specific volume type is determined, it is determined that the parking probability of the vehicle to be parked corresponding to the volume type with respect to the parking space corresponding to each volume type in the first volume type set is 1/m, wherein the first volume type set is a set composed of volume types with the volume larger than or equal to the current volume. For example, in the above example, the probability of parking a vehicle to be parked corresponding to a small vehicle with respect to the parking space corresponding to each of the volume types in the first volume type set, which is a set consisting of a large vehicle, a medium vehicle, and a small vehicle, is determined to be 1/3.
It can be understood that, since the vehicle will not be parked in a smaller parking space under normal conditions, the parking probability of the vehicle to be parked corresponding to a specific volume type relative to the parking space corresponding to each volume type in the second volume type set can be determined to be 0; wherein the second volume type set is a set composed of volume types having a volume smaller than the current volume. For example, in the above example, it may be determined that the parking probability of the vehicle to be parked corresponding to the large vehicle with respect to the parking space corresponding to each of the volume types in the second volume type set is 0, where the second volume type set refers to a set composed of small and medium vehicles.
In the embodiment, the parking probability of the vehicle is determined by combining the actual parking condition of the vehicle, and the accuracy of the obtained parking probability is higher.
In one embodiment, obtaining a number m of target volume categories for which the volume is greater than or equal to the current volume comprises: numbering the volume types from small to large according to the corresponding volumes; acquiring a number corresponding to the current volume type; and determining the number of the target volume types according to the maximum number and the number corresponding to the current volume type.
Specifically, the volume types may be numbered 1,2, … …, n from small to large according to the corresponding volumes, and the number corresponding to the current volume type is obtainediAccording to the maximum number n and the number corresponding to the current volume typeiDetermining the number m of target volume types, wherein the formula is as follows: m is n-i + 1. For example, at present, a parking lot can accommodate 5 vehicles with different volumes, the number of the volume types is 1,2,3,4,5 according to the corresponding volumes from small to large, and the number corresponding to the current volume type is 2, then the number of the target volume types is: 5-2+1 ═ 4.
In the embodiment, the volume types are numbered sequentially from small to large, and after the number corresponding to the current volume type is obtained, the number of the target volume type can be conveniently and quickly determined according to the maximum number and the number corresponding to the current volume type, so that the efficiency of parking space data processing is improved.
In one embodiment, the parking space includes a hash parking space and a chain parking space, and as shown in fig. 4, the method further includes:
s402, respectively determining hash storage spaces corresponding to the parking spaces according to the hash parking spaces corresponding to the parking spaces, and determining chain storage spaces corresponding to the parking spaces according to chain parking spaces corresponding to the parking spaces; the hash storage space and the chain storage space corresponding to each parking space respectively form a chain table corresponding to each parking space.
The hash storage space can be used for storing information such as the parking space number and the address position corresponding to the hash parking space, and the chain storage space can be used for storing information such as the parking space number and the address position corresponding to the chain parking space. In this embodiment, the parking spaces corresponding to the volume types each include one hash parking space and a plurality of chained parking spaces. The terminal can respectively determine the hash storage space corresponding to each parking space according to the hash parking spaces corresponding to each parking space, and respectively determine the chain storage space corresponding to each parking space according to the chain parking spaces corresponding to each parking space, wherein each chain parking space can respectively determine one corresponding chain storage space, that is, each parking space corresponds to one hash storage space and a plurality of chain storage spaces, and the number of the chain storage spaces is equal to the number of the chain parking spaces included in the parking space. The hash storage space and the chain storage space corresponding to each parking space respectively form a chain table corresponding to each parking space.
And S404, numbering the vehicle volume types corresponding to the parking spaces, and using the numbers as hash table addresses corresponding to the linked lists to construct a chain hash table corresponding to the target parking lot.
Specifically, the terminal numbers the volume types corresponding to the parking spaces, for example, the volume types may be numbered from small to small as 1,2, … …, n, or from large to small as 1,2, … …, n, how to number the volume types specifically. In this embodiment, each parking space corresponds to one linked list, a plurality of linked lists form a chain hash table, and the hash table address of the chain hash table is a number corresponding to each volume type, that is, the storage content of one corresponding linked list can be uniquely queried according to one number.
Fig. 5 is a schematic diagram illustrating the planning of the target parking lot in one embodiment. The target parking lot can accommodate n different volumes of vehicles. The vehicle volumes are numbered as 1,2, … …, n in sequence from small to large, the parking lot is divided into n areas according to the vehicle volumes, each area is a parking space, and the areas are numbered as 1,2, … …, n respectively. The zone numbered i e {1, 2.,. n } can park the vehicle with the maximum volume number i. For the area i, one of the parking spaces is determined as a hash parking space, the other parking spaces are determined as chain parking spaces, one hash parking space can park one vehicle with the maximum volume number i, and each chain parking space can park one vehicle with the maximum volume number i, namely, each area of the parking lot can be regarded as a chain space consisting of one hash parking space and a chain parking space connected with the hash parking space. The size of the solid line rectangular frame is used for distinguishing whether the area is a hash parking space or a chain parking space, and does not represent the size of the area of the parking space; the number of parking spaces in the area i and the area j, j ≠ i, j ∈ {1, 2., n } is not necessarily equal. It can be understood that, as shown in fig. 5, it is only a schematic diagram of the planning of the target parking lot, in actual implementation, the position arrangement of the parking spaces may not be completely arranged as shown in fig. 5, for example, two adjacent parking spaces in fig. 5 may be parking spaces adjacent to each other in the address position or parking spaces not adjacent to each other in the geographic position in actual implementation.
When constructing the chain hash table of the target parking lot, determining a corresponding hash storage space according to the hash parking space corresponding to each block of area, determining a corresponding chain storage space according to the chain parking space corresponding to each block of area, and determining a vehicle volume number as a hash table address, where the obtained chain hash table is shown in fig. 5.
In the above embodiment, the search of the parking space data can be facilitated by constructing the chain hash table of the target parking lot.
In one embodiment, as shown in fig. 6, the method further includes:
s602, receiving parking messages sent by drive test sensing devices installed in each parking space, and writing the parking messages into message queues; the parking message carries the parking space number and the parking space number corresponding to the occupied parking space.
In this embodiment, it is assumed that the parking space of the target parking lot is already planned according to the determined number of parking spaces, a drive test sensing device may be disposed near the parking space of the target parking lot, where the drive test sensing device includes, but is not limited to, an infrared sensor, a pressure sensor, and the like, and when it is monitored that a vehicle is parked in the parking space, the drive test sensing device sends a parking message to the terminal, where the parking message carries a parking space number and a parking space number corresponding to the occupied parking space. The parking space number and the parking space number can uniquely determine a parking space. And after receiving the parking message, the terminal writes the parking message into a message queue.
S604, reading parking messages from the message queue according to a preset time interval, determining a corresponding target storage space according to the parking space number and the parking space number corresponding to the read parking messages, and setting a first mark for the target storage space; the first mark is used for representing that a parking space corresponding to the target storage space is occupied.
Specifically, because the parking space number and the parking space number can uniquely determine a parking space, and each parking space corresponds to a storage space, the terminal can determine a corresponding target storage space according to the parking space number and the parking space number corresponding to the read parking message, where the target storage space may be a hash storage space or any one of chained storage spaces. After the target storage space is determined, the terminal can set a first mark for the target storage space, wherein the first mark is used for representing that a parking space corresponding to the target storage space is occupied.
S606, when the number of the first marks corresponding to any one linked list is equal to the number of the parking spaces corresponding to the parking spaces, setting second marks for the hash storage spaces corresponding to the linked list; the second indicia is used to characterize that its corresponding parking space is occupied.
Specifically, the terminal can count the number of first marks corresponding to each linked list, when the number of the first marks corresponding to any one linked list is equal to the number of the parking spaces corresponding to the linked list, a second mark is set for the hash storage space corresponding to the linked list, and the second mark is used for representing that the parking spaces corresponding to the linked list are occupied, namely all parking spaces in the parking spaces corresponding to the linked list are occupied.
When a vehicle enters the parking lot, the hash storage space corresponding to the hash parking space capable of parking the vehicle can be searched according to the volume of the vehicle, and if the hash storage space is provided with the second mark, other hash storage spaces are searched. And if the hash storage space is not provided with the second mark, inquiring the storage space without the first mark from the corresponding chain storage space to finally determine the parking space which can be used for parking.
By adding the first mark and the second mark, the parking space capable of parking can be quickly determined before parking, and the situation that a vehicle randomly finds the parking space or polls each parking space after entering the parking lot is avoided.
In a specific embodiment, a parking space data processing method is provided, which includes the following steps:
and 7.1, acquiring the historical volume types of the vehicles which can be contained in the target parking lot history and the number of the vehicles to be parked corresponding to each historical volume type.
7.2, determining the volume type of the vehicles which can be currently accommodated in the target parking lot and the number of the vehicles to be parked corresponding to each volume type according to the historical vehicle volume type which can be accommodated in the target parking lot history and the number of the vehicles to be parked corresponding to each volume type.
7.3, determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the following steps 7.3.1-7.3.3:
7.3.1, obtaining the current volume of the vehicle to be stopped corresponding to the current volume type, and obtaining the number m of the target volume types with the volume larger than or equal to the current volume according to the following steps 7.3.1a to 7.3.1c,m≥1:
7.3.1a, numbering the volume types from small to large as 1,2, … …, n;
7.3.1b, acquiring a number i corresponding to the current volume type;
7.3.1c, determining the number of the target volume types according to the maximum number and the number corresponding to the current volume type, wherein the formula is as follows: m is n-i + 1.
7.3.2, determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the first volume type set is 1/m; the first volume type set is a set formed by volume types with the volume larger than or equal to the current volume;
7.3.3, determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the second volume type set is 0; the second volume type set is a set of volume types having a volume smaller than the current volume.
And 7.4, obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type.
7.5, determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicles to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types.
7.6, determining the number of parking spaces corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, wherein the number of the parking spaces is used for planning the parking spaces of the target parking lot.
7.7, respectively determining the hash storage space corresponding to each parking space according to the hash parking space corresponding to each parking space, and determining the chain storage space corresponding to each parking space according to the chain parking space corresponding to each parking space; the hash storage space and the chain storage space corresponding to each parking space respectively form a chain table corresponding to each parking space.
And 7.8, numbering the vehicle volume types corresponding to the parking spaces, and using the numbers as hash table addresses corresponding to the linked lists to construct a chain hash table corresponding to the target parking lot.
7.9, receiving parking messages sent by the drive test sensing devices installed in the parking spaces, and writing the parking messages into a message queue; the parking message carries the parking space number and the parking space number corresponding to the occupied parking space.
7.10, reading parking messages from the message queue according to a preset time interval, determining a corresponding target storage space according to the parking space number and the parking space number corresponding to the read parking messages, and setting a first mark for the target storage space; the first mark is used for representing that a parking space corresponding to the target storage space is occupied.
7.11, when the number of the first marks corresponding to any one linked list is equal to the number of the parking spaces corresponding to the first marks, setting a second mark for the corresponding hash storage space; the second indicia is used to characterize that its corresponding parking space is occupied.
In the application, after the target parking lot is planned according to the determined number of the vehicles, the parking space using condition can be monitored according to the drive test sensing device installed in the target parking lot, and the parking space using condition is counted according to the data transmitted by the drive test sensing device. Specifically, the utilization rate of each parking space is counted, as shown in table 1. As can be seen from table 1, the utilization rate of the parking space is more than 90%, which is more than 20% higher than that of the prior art, the parking space is fully utilized, and the parking space waste rate is low.
TABLE 1
Figure BDA0002271342870000161
It should be understood that although the various steps in the flowcharts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In an embodiment, as shown in fig. 7, the system is a hardware platform corresponding to the vehicle position data processing method in this embodiment. The platform consists of a parking lot private cloud, a drive test sensing device and a parking lot. The parking lot private cloud is provided with a parking lot data access module used for obtaining the volume types of vehicles which can be contained in the parking lot at present and estimating the number of the vehicles to be parked corresponding to each volume type according to historical parking data of the parking lot, and a vehicle volume type numbering module used for numbering the vehicle volumes according to the volume sizes and the number of parking spaces and a vehicle position calculating and setting module used for calculating and setting the number of the parking spaces according to the number of the vehicles to be parked and the volume numbers of the vehicles to be parked and transmitting the number of the parking spaces to the road test sensing device. The private cloud sends the information to the parking lot through the drive test sensing device, and the parking lot arranges the number of parking spaces according to the information sent by the private cloud. The drive test sensing device captures the utilization condition of the parking space and transmits the utilization condition to the private cloud end of the parking lot. The parking lot data access module is compiled by python on a private cloud of a parking lot, the vehicle volume type number module is compiled by matlab, and the vehicle number calculation and setting module is compiled by C.
In one embodiment, as shown in fig. 8, there is provided a parking space data processing apparatus 800, including:
an obtaining module 802, configured to obtain the volume types of vehicles that can be currently accommodated by the target parking lot and the number of vehicles to be parked corresponding to each volume type;
a probability determining module 804, configured to determine parking probabilities of vehicles to be parked corresponding to each volume type relative to parking spaces corresponding to each volume type;
the first prediction module 806 is configured to obtain a predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the number of vehicles of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
the second prediction module 808 is configured to determine the total predicted parking amount of the parking spaces corresponding to each volume type according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
and the parking space number determining module 810 is configured to determine the parking space number of the parking space corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, where the parking space number is used to plan the parking space of the target parking lot.
The parking space data processing device firstly obtains the volume types of vehicles which can be currently accommodated in the target parking lot and the number of vehicles of each volume type, then determines the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, further obtains the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the number of the vehicles to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, determines the predicted parking number of the parking space corresponding to each volume type according to the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type, and finally determines the number of the parking spaces corresponding to each volume type according to the predicted total number of the parking spaces corresponding to each volume type, the obtained parking space number can be used for planning the parking space of the target parking lot. Because the parking probability of the vehicles to be parked of each volume type in the parking space corresponding to each volume type is considered in the process of determining the parking number, compared with the prior art in which the parking number of the parking space of each volume type is determined directly according to the number of the vehicles to be parked of each volume type, the parking number determined by the method is more in line with the actual situation that the vehicle possibly occupies a large parking space to cause parking space multiplexing in the actual parking situation, so that the vehicles of each type can be better guaranteed to be parked at the parking spaces, the idle parking spaces can be reduced, the utilization rate of the parking spaces is obviously improved, and the parking space resources are saved.
In one embodiment, as shown in fig. 9, the obtaining module 802 includes: a historical data obtaining module 802A, configured to obtain historical volume types of vehicles that can be accommodated in the history of the target parking lot and vehicle numbers of vehicles to be parked corresponding to the historical volume types; the volume type determining module 802B is configured to determine, according to the historical vehicle volume types that can be accommodated by the target parking lot history and the number of vehicles to be parked corresponding to each historical volume type, the volume type of the vehicle that can be accommodated by the target parking lot at present and the number of vehicles to be parked corresponding to each volume type.
In one embodiment, the probability determination module 804 is further configured to obtain a current volume of the vehicle to be parked corresponding to the current volume type, and obtain a number m of target volume types with a volume greater than or equal to the current volume,m is more than or equal to 1; determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the first volume type set is 1/m; the first volume type set is a set formed by volume types with the volume larger than or equal to the current volume; determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the second volume type set is 0; the second volume type set is a set of volume types having a volume smaller than the current volume.
In one embodiment, the probability determination module 804 is further configured to number the volume types in order from small to large according to their corresponding volumes; acquiring a number corresponding to the current volume type; and determining the number of the target volume types according to the maximum number and the number corresponding to the current volume type.
In one embodiment, the parking spaces include hashed parking spaces and chained parking spaces; the device also includes: the chain type hash table construction module is used for respectively determining hash storage spaces corresponding to the parking spaces according to the hash parking spaces corresponding to the parking spaces and determining chain type storage spaces corresponding to the parking spaces according to the chain type parking spaces corresponding to the parking spaces; the hash storage space and the chain storage space corresponding to each parking space respectively form a linked list corresponding to each parking space; and numbering the vehicle volume types corresponding to the parking spaces, and using the numbers as hash table addresses corresponding to the linked lists to construct a chain hash table corresponding to the target parking lot.
In one embodiment, the apparatus further comprises: the system comprises a marking module, a parking space management module and a parking space management module, wherein the marking module is used for receiving parking messages sent by drive test sensing devices installed in all parking spaces and writing the parking messages into a message queue; the parking information carries the parking space number and the parking space number corresponding to the occupied parking space; reading parking messages from the message queue according to a preset time interval, determining a corresponding target storage space according to a parking space mark number and a parking space number corresponding to the read parking messages, and setting a first mark for the target storage space; the first mark is used for representing that a parking space corresponding to the target storage space is occupied; when the number of the first marks corresponding to any one linked list is equal to the number of the parking spaces corresponding to the first marks, setting a second mark for the hash storage space corresponding to the first mark; the second indicia is used to characterize that its corresponding parking space is occupied.
FIG. 10 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 10, the computer apparatus includes a processor, a memory, a network interface, an input device, a display screen, a camera, a sound collection device, and a speaker, which are connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by the processor, the processor can realize the parking space data processing method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform the vehicle data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the parking space data processing apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 10. The memory of the computer device may store various program modules constituting the parking space data processing apparatus, such as the obtaining module, the probability determining module, the first predicting module, the second predicting module, and the parking space number determining module shown in fig. 8. The computer program formed by the program modules enables the processor to execute the steps in the parking space data processing method of the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 10 may execute step S202 through the acquisition module in the parking space data processing apparatus shown in fig. 8. The computer device may perform step S204 by the probability determination module. The computer device may perform step S206 by the first prediction module. The computer device may perform step S208 by the second prediction module. The computer device may perform step S210 by the parking number determination module.
In one embodiment, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the parking space data processing method. Here, the steps of the parking space data processing method may be steps in the parking space data processing methods of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the parking space data processing method. Here, the steps of the parking space data processing method may be steps in the parking space data processing methods of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A parking space data processing method comprises the following steps:
obtaining the volume type of the vehicles which can be accommodated in the target parking lot at present and the number of the vehicles to be parked corresponding to each volume type;
determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
obtaining the predicted parking quantity of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, wherein the parking space number is used for planning the parking space of the target parking lot.
2. The method according to claim 1, wherein the obtaining of the volume types of the vehicles currently accommodated in the target parking lot and the number of vehicles to be parked corresponding to each volume type comprises:
acquiring historical volume types of vehicles which can be accommodated in the target parking lot history and the number of vehicles to be parked corresponding to each historical volume type;
and determining the volume type of the vehicles which can be currently accommodated by the target parking lot and the number of the vehicles to be parked corresponding to each volume type according to the volume type of the historical vehicles which can be accommodated by the target parking lot history and the number of the vehicles to be parked corresponding to each volume type.
3. The method of claim 1, wherein determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type comprises:
obtaining the current volume of the vehicle to be stopped corresponding to the current volume type, and obtaining the number of target volume types with the volume larger than or equal to the current volume
Figure DEST_PATH_IMAGE001
Determining the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the first volume type set as
Figure 309399DEST_PATH_IMAGE002
(ii) a The first volume type set is a set formed by volume types with the volume larger than or equal to the current volume;
determining that the parking probability of the vehicle to be parked corresponding to the current volume type relative to the parking space corresponding to each volume type in the second volume type set is 0; the second volume type set is a set of volume types having a volume smaller than the current volume.
4. The method of claim 3, wherein the obtaining the volume greater than or equal to the number of target volume categories for the current volume comprises:
numbering the volume types from small to large according to the corresponding volumes;
acquiring a number corresponding to the current volume type;
and determining the number of the target volume types according to the maximum number and the number corresponding to the current volume type.
5. The method of claim 1, wherein the parking spaces include hashed parking spaces and chained parking spaces; the method further comprises the following steps:
determining hash storage spaces corresponding to the parking spaces respectively according to the hash parking spaces corresponding to the parking spaces, and determining chain storage spaces corresponding to the parking spaces according to chain parking spaces corresponding to the parking spaces; the hash storage space and the chain storage space corresponding to each parking space respectively form a linked list corresponding to each parking space;
and numbering the vehicle volume types corresponding to the parking spaces, and using the numbers as hash table addresses corresponding to the linked lists to construct a chain hash table corresponding to the target parking lot.
6. The method according to claim 5, wherein the hash storage space is used for storing a parking space number corresponding to a hash parking space; the chain type storage space is used for storing parking space labels corresponding to chain type parking spaces; the method further comprises the following steps:
receiving parking messages sent by drive test sensing devices installed in all parking spaces, and writing the parking messages into a message queue; the parking message carries a parking space mark number and a parking space number corresponding to the occupied parking space;
reading parking messages from the message queue according to a preset time interval, determining a corresponding target storage space according to the parking space number and the parking space number corresponding to the read parking messages, and setting a first mark for the target storage space; the first mark is used for representing that a parking space corresponding to the target storage space is occupied;
when the number of the first marks corresponding to any one linked list is equal to the number of the parking spaces corresponding to the first marks, setting a second mark for the hash storage space corresponding to the first mark; the second mark is used for representing that the corresponding parking space is occupied.
7. The utility model provides a parking stall data processing device which characterized in that, the device includes:
the system comprises an acquisition module, a storage module and a control module, wherein the acquisition module is used for acquiring the volume types of vehicles which can be currently accommodated in a target parking lot and the number of vehicles to be parked corresponding to each volume type;
the probability determining module is used for determining the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
the first prediction module is used for obtaining the predicted parking number of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type according to the vehicle number of the vehicle to be parked corresponding to each volume type and the parking probability of the vehicle to be parked corresponding to each volume type relative to the parking space corresponding to each volume type;
the second prediction module is used for determining the total predicted parking amount of the parking spaces corresponding to the volume types according to the predicted parking amount of the vehicle to be parked corresponding to each volume type relative to the parking spaces corresponding to the volume types;
and the parking space number determining module is used for determining the parking space number of the parking space corresponding to each volume type according to the predicted total parking amount of the parking space corresponding to each volume type, and the parking space number is used for planning the parking space of the target parking lot.
8. The apparatus of claim 7, wherein the obtaining module comprises:
the historical data acquisition module is used for acquiring the historical volume types of the vehicles which can be contained in the target parking lot history and the number of the vehicles to be parked corresponding to each historical volume type;
and the volume type determining module is used for determining the volume type of the vehicles which can be currently accommodated in the target parking lot and the number of the vehicles to be parked corresponding to each volume type according to the historical vehicle volume type which can be accommodated in the target parking lot history and the number of the vehicles to be parked corresponding to each volume type.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
CN201911106085.0A 2019-11-13 2019-11-13 Parking space data processing method and device and computer readable storage medium Active CN110838243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911106085.0A CN110838243B (en) 2019-11-13 2019-11-13 Parking space data processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911106085.0A CN110838243B (en) 2019-11-13 2019-11-13 Parking space data processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110838243A CN110838243A (en) 2020-02-25
CN110838243B true CN110838243B (en) 2021-08-17

Family

ID=69576367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911106085.0A Active CN110838243B (en) 2019-11-13 2019-11-13 Parking space data processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110838243B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131987A (en) * 2022-06-27 2022-09-30 腾讯科技(深圳)有限公司 Parking space recommendation method and device, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722995A (en) * 2011-03-31 2012-10-10 无锡物联网产业研究院 Parking space detection method, system thereof and parking space occupied probability calculation device
CN105489056A (en) * 2015-12-28 2016-04-13 中兴软创科技股份有限公司 Parking requirement prediction method based on OD matrix
CN106408991A (en) * 2015-07-28 2017-02-15 何尧 Parking lot dynamic pricing method based on demand characteristics and parking lot utilization rate
CN108133613A (en) * 2017-12-19 2018-06-08 深圳先进技术研究院 A kind of real-time release road-surface concrete Service Index method and system
CN109711630A (en) * 2018-12-28 2019-05-03 郑州大学 A kind of electric car fast charge station addressing constant volume method based on trip probability matrix
CN109800917A (en) * 2019-01-23 2019-05-24 华北电力大学 A kind of planing method in electric car parking lot, device and calculate equipment
CN110210778A (en) * 2019-06-11 2019-09-06 安徽中天保安服务集团有限公司 Parking lot management vehicle allocation system
CN110223533A (en) * 2019-06-19 2019-09-10 同济大学 A kind of resident parking facilities' forecasting method of the night based on survival analysis
CN110245847A (en) * 2019-05-29 2019-09-17 河海大学 A kind of evaluation method based on parking position layout and vehicle parking behavior
CN110299012A (en) * 2019-06-26 2019-10-01 济南职业学院 A kind of timesharing parking stall sharing means and method based on time series analysis

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190019407A1 (en) * 2017-07-14 2019-01-17 Omid B. Nakhjavani Real time parking lot analysis and management
RU2681963C1 (en) * 2017-11-07 2019-03-14 Общество С Ограниченной Ответственностью "Яндекс" System and method for determining parking presence
CN109191896B (en) * 2018-10-17 2021-05-11 南京邮电大学 Personalized parking space recommendation method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722995A (en) * 2011-03-31 2012-10-10 无锡物联网产业研究院 Parking space detection method, system thereof and parking space occupied probability calculation device
CN106408991A (en) * 2015-07-28 2017-02-15 何尧 Parking lot dynamic pricing method based on demand characteristics and parking lot utilization rate
CN105489056A (en) * 2015-12-28 2016-04-13 中兴软创科技股份有限公司 Parking requirement prediction method based on OD matrix
CN108133613A (en) * 2017-12-19 2018-06-08 深圳先进技术研究院 A kind of real-time release road-surface concrete Service Index method and system
CN109711630A (en) * 2018-12-28 2019-05-03 郑州大学 A kind of electric car fast charge station addressing constant volume method based on trip probability matrix
CN109800917A (en) * 2019-01-23 2019-05-24 华北电力大学 A kind of planing method in electric car parking lot, device and calculate equipment
CN110245847A (en) * 2019-05-29 2019-09-17 河海大学 A kind of evaluation method based on parking position layout and vehicle parking behavior
CN110210778A (en) * 2019-06-11 2019-09-06 安徽中天保安服务集团有限公司 Parking lot management vehicle allocation system
CN110223533A (en) * 2019-06-19 2019-09-10 同济大学 A kind of resident parking facilities' forecasting method of the night based on survival analysis
CN110299012A (en) * 2019-06-26 2019-10-01 济南职业学院 A kind of timesharing parking stall sharing means and method based on time series analysis

Also Published As

Publication number Publication date
CN110838243A (en) 2020-02-25

Similar Documents

Publication Publication Date Title
CN110599301B (en) Vehicle management method, device, computer equipment and storage medium
US20190156062A1 (en) Method and device for providing recorded, anonymized routes
CN110322578B (en) Attendance checking method and device
US20200027340A1 (en) A method and apparatus for predicting a location where a vehicle appears
CN111430039A (en) Epidemic prevention information acquisition system, method and device, computer equipment and storage medium
US20150177001A1 (en) System and method for providing a dynamic telematics dashboard
CN111091215B (en) Vehicle identification method, device, computer equipment and storage medium
CN110838243B (en) Parking space data processing method and device and computer readable storage medium
CN111401690A (en) Fleet risk identification method, electronic device and readable storage medium
EP2481036A1 (en) Methods and system for predicting travel time
CN116312023B (en) Guiding parking method, guiding parking device, guiding parking equipment and storage medium
CN113064916A (en) Abnormal card punching behavior monitoring method and device, computer equipment and storage medium
CN109542947B (en) Data statistical method, device, computer equipment and storage medium
CN112288896A (en) Vehicle entry and exit management system, method, computer device, and readable storage medium
CN110826889A (en) Vehicle management method, device, computer equipment and storage medium
CN113920482B (en) Vehicle illegal parking detection method and system
CN111798591B (en) Method and device for determining total mileage of vehicle, computer equipment and storage medium
CN111078984B (en) Network model issuing method, device, computer equipment and storage medium
CN115499499A (en) Management information pushing method, server and storage medium
CN116380158B (en) Vehicle load information determining system, method, device, equipment and medium
CN111861540A (en) Information pushing method and device, computer equipment and storage medium
CN115860339B (en) Rail transit energy consumption management method and device based on big data analysis
CN113902499A (en) Method, device, equipment and medium for pushing station information of shared vehicles
CN113191223A (en) Passenger density evaluation method and device, computer equipment and storage medium
CN117196318B (en) Risk analysis method and device for large-scale engineering vehicle and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022621

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant