CN112185157B - Roadside parking space detection method, system, computer equipment and storage medium - Google Patents

Roadside parking space detection method, system, computer equipment and storage medium Download PDF

Info

Publication number
CN112185157B
CN112185157B CN201910598602.4A CN201910598602A CN112185157B CN 112185157 B CN112185157 B CN 112185157B CN 201910598602 A CN201910598602 A CN 201910598602A CN 112185157 B CN112185157 B CN 112185157B
Authority
CN
China
Prior art keywords
parking area
roadside
parking
vehicle
parking space
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
CN201910598602.4A
Other languages
Chinese (zh)
Other versions
CN112185157A (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.)
Audi AG
Original Assignee
Audi AG
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 Audi AG filed Critical Audi AG
Priority to CN201910598602.4A priority Critical patent/CN112185157B/en
Publication of CN112185157A publication Critical patent/CN112185157A/en
Application granted granted Critical
Publication of CN112185157B publication Critical patent/CN112185157B/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/147Traffic 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 within an open public zone, e.g. city centre

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

The application provides a roadside parking space detection method, a system, computer equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of detecting the running state of a vehicle, acquiring the length of a roadside parking area and the length of a used parking area in the roadside parking area if the running state of the vehicle is detected to be ready for parking, detecting an alternative parking space in the roadside parking area according to the length of the used parking area, and determining a target parking space if the alternative parking space is arranged in the roadside parking area.

Description

Roadside parking space detection method, system, computer equipment and storage medium
Technical Field
The present application relates to the field of roadside parking technologies, and in particular, to a roadside parking space detection method, system, computer device, and storage medium.
Background
With the rapid development of economy, the number of private cars is rapidly increased every year, road congestion is aggravated, parking in a trip is a difficult problem, and parking spaces are planned on two sides of urban roads in order to meet the trip demand of people.
Generally, after a user needs to drive into an urban road, the user searches for current free parking spaces on two sides of the road in real time so as to park a vehicle in the free parking spaces. If the vehicle enters a narrow street and no idle parking space is found, the vehicle needs to be backed up to leave for further finding the idle parking space, so that the parking efficiency of a user is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide a roadside parking space detection method, system, computer device and storage medium.
The embodiment of the application provides a roadside parking space detection method, which comprises the following steps:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of a used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and if the alternative parking space exists in the roadside parking area, determining a target parking space.
In one embodiment, the detecting the running state of the vehicle includes:
receiving a detection instruction input by a user;
detecting whether the running state of the vehicle is ready for parking according to the detection instruction;
and optionally, the detection instruction comprises a touch command, a press command and a voice command.
In one embodiment, the detecting whether the driving state of the vehicle is ready for parking according to the detection instruction includes: and if the detection instruction contains information that the vehicle needs to be parked, determining that the running state of the vehicle is ready for parking.
In one embodiment, the detecting the driving state of the vehicle includes:
acquiring a navigation route of the vehicle at the current moment;
detecting the roadside parking area around the destination corresponding to the navigation route at the current moment;
determining whether the driving state of the vehicle is ready for parking or not according to the detection result; the detection result comprises that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, and the roadside parking area exists around the destination corresponding to the navigation route at the current moment;
and optionally, the determining whether the driving state of the vehicle is ready for parking according to the detection result includes: and if the detection result indicates that the roadside parking area does not exist around the destination corresponding to the navigation route at the current moment, determining that the driving state of the vehicle is ready for parking.
In one embodiment, the obtaining the length of the curb parking area and the used parking area in the curb parking area comprises:
searching the roadside parking area according to the current position of the vehicle;
acquiring the length of each vehicle parked in the roadside parking area at each historical moment before the current moment;
acquiring a parking space between adjacent parked vehicles in the roadside parking area at each historical moment, wherein the parking space is smaller than a first preset threshold value;
and acquiring the length of the used parking area in the roadside parking area according to the length of the corresponding vehicle body of each vehicle in the roadside parking area at each historical moment and the parking space between the parked adjacent vehicles.
And optionally, the searching for the curb-side parking area according to the current position of the vehicle comprises: and when the vehicle is in a pause driving state, searching the roadside parking area within a preset distance range around the current position according to the current position of the vehicle.
In one embodiment, the method further comprises: and acquiring the length of the roadside parking area.
In one embodiment, the obtaining the length of the roadside parking area comprises:
determining the roadside parking area in a data map;
acquiring the length of the roadside parking area according to the roadside parking area;
and preferably, the acquiring the length of the roadside parking area comprises:
and determining the maximum length of the lengths of the used parking areas in the roadside parking areas at all historical moments as the length of the roadside parking areas.
In one embodiment, the detecting the alternative parking space in the roadside parking area according to the length of the used parking area comprises:
judging whether an alternative parking space exists in the roadside parking area at the current moment or not according to a second preset threshold and a comparison result of the length of the used parking area, wherein the second preset threshold is smaller than the length of the roadside parking area;
and optionally, after detecting an alternative parking space within the curb parking area according to the length of the used parking area, the method further comprises: and if the roadside parking area does not have the alternative parking space, outputting prompt information.
In one embodiment, the determining, according to a second preset threshold and a comparison result of the lengths of the used parking areas, whether there is an alternative parking space in the roadside parking area at the current time includes:
and if the length of the used parking area is greater than the second preset threshold value, judging that no alternative parking space exists in the roadside parking area at the current moment.
In one embodiment, the determining the target parking space includes:
determining the target parking space according to the distance between the current position of the vehicle and each alternative parking space;
and optionally, the determining the target parking space according to the distance between the current position of the vehicle and each candidate parking space comprises:
sequencing each distance corresponding to each alternative parking space between the current position of the vehicle and each alternative parking space;
and determining the alternative parking space corresponding to the minimum distance smaller than the third preset threshold value in all the distances as the target parking space.
In one embodiment, the determining the target parking space includes:
determining the target parking space according to the length of the used parking area in the roadside parking area at each historical moment;
and optionally, said determining the target parking space according to the length of the used parking area in the roadside parking area at each historical time comprises:
sequencing the length of each used parking area in the roadside parking area at each historical moment;
and determining the alternative parking space in the roadside parking area corresponding to the minimum length smaller than the fourth preset threshold value in all the lengths as the target parking space.
In one embodiment, the method further comprises: and acquiring a navigation route according to the target parking space, wherein the navigation route is used for guiding the vehicle to run to the target parking space.
The embodiment of the application provides a roadside parking stall detecting system, roadside parking stall detecting system includes:
the first detection module is used for detecting the running state of the vehicle;
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a roadside parking area and the length of a used parking area in the roadside parking area when the first detection module detects that the driving state of the vehicle is ready for parking;
the second detection module is used for detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and the determining module is used for determining a target parking space when the second detecting module detects that the alternative parking space exists in the roadside parking area.
The embodiment of the application provides a computer device, which comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and the processor executes the computer program to realize the following steps:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of an used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and if the roadside parking area has the alternative parking space, determining a target parking space.
An embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of a used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and if the alternative parking space exists in the roadside parking area, determining a target parking space.
According to the roadside parking space detection method, the roadside parking space detection system, the computer equipment and the storage medium, the roadside parking space detection system can detect a roadside parking area around the current position of a vehicle before the vehicle drives into an urban road, and can search for alternative parking spaces in the roadside parking area, a target parking space is determined according to the alternative parking spaces, the situation that an idle parking space is searched after the vehicle drives into the urban road is avoided, if no idle parking space exists on two sides of the road, the vehicle needs to back up to leave the urban road to further search for the idle parking space is avoided, the method can detect the idle parking space before the vehicle drives into the urban road, and the parking efficiency of a user is improved.
Drawings
FIG. 1 is a schematic view of an application scenario of a roadside parking space detection system;
fig. 2 is a schematic flow chart illustrating a roadside parking space detection method according to an embodiment;
fig. 3 is a schematic structural diagram of a roadside parking space detection system according to an embodiment;
fig. 4 is a schematic structural diagram of a roadside parking space detection system according to another embodiment;
FIG. 5 is an internal block diagram of a computer device, provided in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The roadside parking space detection method provided by the embodiment can be applied to the roadside parking space detection system shown in fig. 1. As shown in fig. 1, the roadside parking space detection system may include a roadside parking space detection system server and a vehicle. The roadside parking space detection system server CAN receive the current position information of the vehicle collected by the sensor through a Controller Area Network (CAN) bus and send the position information to the vehicle. In addition, the roadside parking space detection system server can also acquire the current position information of the vehicle through computer equipment and send the position information to the vehicle to be parked. The roadside parking space detection system server and the vehicle can be communicated through wireless connection. Optionally, the wireless connection mode may be Wi-Fi, mobile network or bluetooth connection. Alternatively, the sensor may be an optical sensor or an ultrasonic sensor, and the optical sensor may be a camera sensor or an infrared sensor. Alternatively, the vehicle may include a fuel car, a hybrid car, and the like. The embodiment is realized in a scene of parallel parking spaces. The roadside parking space detection system provided in the vehicle executes the roadside parking space detection method provided in this embodiment, and a processing procedure of the roadside parking space detection system will be specifically described in the following embodiments.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application are further described in detail by the following embodiments in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the invention.
Fig. 2 is a schematic flow chart of a roadside parking space detection method provided in an embodiment, which relates to a process of how to detect a roadside alternative parking space. As shown in fig. 2, the method includes:
s101, detecting the running state of the vehicle.
Specifically, the driving state of the vehicle may be a state in which the vehicle is driving, may also be a state in which the vehicle is decelerating and is about to stop, and may also be a state in which the vehicle is parked in a parking space and is in a suspended state. The mode of detecting the driving state of the vehicle may include two modes, which are a manual detection mode and an automatic detection mode.
S102, if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of a used parking area in the roadside parking area.
Specifically, the on-line server may obtain the length of the used parking area in the roadside parking area only on the basis that all vehicles are connected with the on-line server through wireless communication. Optionally, the wireless connection mode may be Wi-Fi, mobile network or bluetooth connection.
Optionally, the step of acquiring the curb parking area and the length of the used parking area in the curb parking area in S102 may specifically include:
and S1021, searching the roadside parking area according to the current position of the vehicle. Wherein the searching for the roadside parking area according to the current position of the vehicle comprises: and when the vehicle is in a pause driving state, searching the roadside parking area within a preset distance range around the current position according to the current position of the vehicle.
Specifically, on the basis that the vehicle is connected with the online server through wireless communication, the online server can position the current position of the vehicle through a global navigation satellite positioning system, and the roadside parking space detection system can search a roadside parking area within a preset distance range around the current position of the vehicle. Optionally, the preset distance may be equal to 1 km, that is, the roadside parking space detection system may search a roadside parking area within a circumferential range with the current position of the vehicle as a center and a radius of 1 km. The roadside parking space detection system can search a plurality of roadside parking areas within a preset distance range around the current position of the vehicle.
In this embodiment, the global navigation satellite positioning system may determine the current position of the vehicle when the vehicle is in the suspended state. The vehicle is in a pause driving state, and the first mode is that the vehicle speed is 0, the second mode is that the gear of the vehicle is in a P gear, and the third mode is that the engine of the vehicle is in a closed state.
And S1022, acquiring the vehicle body length of each vehicle parked in the roadside parking area at each historical time before the current time.
It should be noted that the roadside parking space detection system may obtain the corresponding lengths of all vehicles parked in different roadside parking areas at different historical times before the current time. Wherein, the automobile body length of different model vehicles can be different.
S1023, obtaining the parking space between adjacent parked vehicles in the roadside parking area at each historical moment, wherein the parking space is smaller than a first preset threshold value.
It is understood that the roadside parking space detection system may obtain a parking distance d between two adjacent vehicles parked in different roadside parking areas at different historical times before the current time, wherein the parking distance d may be characterized as a distance between a rear position of a front vehicle and a front position of a rear vehicle of the two adjacent vehicles, and the parking distance is smaller than a first preset threshold, which may be equal to 2 meters. For example, if there is at least one free parking space between two adjacent vehicles parked in the roadside parking area, the parking distance d must be greater than 2 meters, i.e., the parking area between the two adjacent vehicles is not occupied.
It should be noted that, if the vehicle is equipped with a sensor, the sensor mounted on the vehicle can be used to detect the parking distance d between the vehicles parked in the front and rear different parking spaces in different roadside parking areas at different historical times in real time; if the sensor is not installed on the vehicle, the preset parameter can be used as the parking distance d between the vehicles parked in the front parking space and the rear parking space at different historical moments, wherein the preset parameter can be defined by the roadside parking area. Optionally, the preset parameter may be 1.5 meters, and the preset parameter value may be any value between 1 meter and 2 meters.
S1024, acquiring the length of the used parking area in the roadside parking area according to the length of the corresponding vehicle body of each vehicle in the roadside parking area at each historical moment and the parking distance between the parked adjacent vehicles.
In this embodiment, the roadside parking space detection system may obtain a sum of vehicle body lengths of all vehicles corresponding to each of the roadside parking areas at each of the historical times, that is, a first length, according to the vehicle body length of each of the vehicles corresponding to each of the roadside parking areas at each of the historical times; acquiring the sum of the parking spaces between all adjacent parked vehicles in each roadside parking area at each historical moment, namely a second length, according to the parking spaces between all adjacent parked vehicles in each roadside parking area at each historical moment; and calculating the sum of the first length and the second length to obtain the length of the used parking area in the roadside parking area.
S103, detecting alternative parking spaces in the roadside parking area according to the length of the used parking area.
Specifically, the roadside parking space detection system may detect the alternative parking spaces in each roadside parking area according to the length of each roadside parking area and the length of the corresponding used parking area in each roadside parking area. In this embodiment, the roadside parking space detection system may detect the alternative parking space in each roadside parking area according to a difference between the length of each roadside parking area and the length of the used parking area in each corresponding roadside parking area. The alternative parking spaces can be characterized as free parking spaces in the roadside parking area at the current moment.
And S104, if the alternative parking space exists in the roadside parking area, determining a target parking space.
Specifically, if it is detected that there is an alternative parking space in the roadside parking area, the roadside parking space detection system may determine the target parking space from the alternative parking spaces in the roadside parking area.
According to the roadside parking space detection method provided by the embodiment, the roadside parking space detection system can detect a roadside parking area around the current position of a vehicle before the vehicle enters an urban road, and search for alternative parking spaces in the roadside parking area, and determine a target parking space according to the alternative parking spaces, so that the situation that the vehicle searches for an idle parking space after entering the urban road is avoided, if no idle parking space is arranged on two sides of the road, the vehicle needs to be backed and leave the urban road to further search for the idle parking space, the method can detect the idle parking space before the vehicle enters the urban road, the parking efficiency of a user is improved, and the user experience is improved.
As one example, the step of detecting the driving state of the vehicle in S101 may be implemented by:
and S1011, receiving a detection instruction input by a user. The detection instruction comprises a touch command, a press command and a voice command.
Specifically, the touch command may be characterized in that detection information is input to the roadside parking space detection system in a text form by clicking different contacts on the vehicle navigation touch screen interface, and the detection information may include information related to a driving state of the vehicle at the current time, an in-vehicle temperature of the vehicle at the current time, an automatic driving function of the vehicle at the current time, and the like. Optionally, the pressing command may be characterized in that a detection function button on a vehicle-mounted navigation touch screen interface arranged in the vehicle is pressed, so that the roadside parking space detection system realizes the detection function, where the detection function may be a function of detecting a driving state of the vehicle at the current time, a function of detecting an in-vehicle temperature at the current time, or a function of detecting automatic driving of the vehicle at the current time. Optionally, the voice command may be represented as voice information input by a user to the roadside parking space detection system, where the voice information may be related information for detecting a driving state of a vehicle at the current time, related information for detecting a temperature inside the vehicle at the current time, or related information for detecting an automatic driving function of the vehicle at the current time.
And S1012, detecting whether the running state of the vehicle is ready for parking according to the detection command.
Specifically, the roadside parking space detection system may respond to the received detection instruction, and determine whether the driving state of the vehicle is ready for parking according to the detection result. Each detection instruction may have a corresponding detection result.
Optionally, the step of detecting whether the driving state of the vehicle is ready for parking according to the detection command in S1012 includes: and if the detection instruction contains information that the vehicle needs to be parked, determining that the running state of the vehicle is ready for parking.
The step of detecting the traveling state of the vehicle in S101 may be implemented by:
and S1013, acquiring the navigation route of the vehicle at the current moment.
Specifically, the roadside parking space detection system may obtain a navigation route for guiding the vehicle to travel at the current time through the vehicle-mounted navigation system, and the navigation route may be displayed on a display screen of the vehicle-mounted navigation system.
And S1014, detecting the roadside parking area around the destination corresponding to the navigation route at the current moment.
It should be noted that, the roadside parking space detection system may obtain a destination to which the vehicle is going to go at the current time through the navigation route, and detect a roadside parking area within a preset distance range around the destination. The preset distance range can be characterized as a roadside parking area within a circumferential range with the destination as the center and 1 kilometer as the radius.
S1015, determining whether the driving state of the vehicle is ready for parking according to the detection result; the detection result comprises that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, and the roadside parking area exists around the destination corresponding to the navigation route at the current moment.
Optionally, the determining, in S1015, whether the driving state of the vehicle is ready to park according to the detection result includes: and if the detection result indicates that the roadside parking area does not exist around the destination corresponding to the navigation route at the current moment, determining that the driving state of the vehicle is ready for parking.
According to the roadside parking space detection method provided by the embodiment, whether the driving state of the vehicle is a parking preparation state or not is detected, and in the parking preparation state, whether a roadside has an idle parking space at the current moment or not can be detected by the roadside parking space detection system through a follow-up method, so that the optimal target parking space is determined according to the idle parking space.
Another embodiment provides a roadside parking space detection method, before the step of detecting an alternative parking space in the roadside parking area according to the length of the used parking area in S103, the method further includes: and acquiring the length of the roadside parking area.
The step of acquiring the length of the roadside parking area can be realized by the following steps: determining the roadside parking area in a data map; and acquiring the length of the roadside parking area according to the roadside parking area.
Specifically, the roadside parking space detection system may determine the corresponding roadside parking area in the data map according to shape information and/or identification information of the roadside parking area, and acquire the length of the roadside parking area according to tag data preset in the data map. The data map may include an electronic map, such as a navigation map, among others.
In the process of forming the data map in advance, it is necessary to manually or automatically mark attributes of roads, buildings, and the like, for example, identification information and width and length corresponding to zebra crossing, and identification information and width and length corresponding to roadside parking areas.
In addition, the step of acquiring the length of the roadside parking area can be realized by the following steps: and determining the maximum length of the lengths of the used parking areas in the roadside parking areas at all historical moments as the length of the roadside parking areas.
Further, the roadside parking space detection system can determine the maximum length of all lengths of the used parking areas in different roadside parking areas at different historical moments as the length of the roadside parking area.
Optionally, the step of detecting the candidate parking space in the roadside parking area according to the length of the used parking area in the step S103 may be specifically implemented by the following steps: and judging whether an alternative parking space exists in the roadside parking area at the current moment or not according to a second preset threshold and a comparison result of the length of the used parking area, wherein the second preset threshold is smaller than the length of the roadside parking area.
It should be noted that the roadside parking space detection system may determine whether there is an alternative parking space in the roadside parking area at the current time according to a second preset threshold and a size relationship between lengths of the used parking areas. The length of each roadside parking area can be a fixed value, and the second preset thresholds corresponding to different roadside parking areas can be different. The second preset threshold may be equal to λ times the length of the roadside parking area, λ may be equal to 0.9 or 0.8, and λ may also be determined according to an actual situation.
The step of judging whether an alternative parking space exists in the roadside parking area at the current moment according to a comparison result of a second preset threshold and the length of the used parking area comprises the following steps: and if the length of the used parking area is larger than the second preset threshold value, judging that no alternative parking space exists in the roadside parking area at the current moment.
It can be understood that if the length of the used parking area in each roadside parking area is greater than a second preset threshold corresponding to the corresponding roadside parking area, it is represented that no alternative parking space exists in the roadside parking area corresponding to the current moment; and if the length of the used parking area in each roadside parking area is less than or equal to a second preset threshold corresponding to the corresponding roadside parking area, representing that the roadside parking area corresponding to the current moment has the alternative parking space.
In addition, after the step of detecting an alternative parking space in the roadside parking area according to the length of the used parking area in S103, the method further includes: and if the roadside parking area does not have the alternative parking space, outputting prompt information.
It should be noted that, if it is detected that there is no alternative parking space in the roadside parking area and the navigation route or the trajectory of the vehicle enters the street where the roadside parking area is located, the roadside parking space detection system may output the prompt information in the form of voice broadcast, and may also output the prompt information in the form of visual images, so as to remind the user that there is no alternative parking space in the roadside parking area. Optionally, the navigation route may be displayed on a display screen of the vehicle navigation system. Alternatively, the trajectory of the vehicle may be identified by the rotation angle of the steering wheel or the angle of the wheels of the vehicle. Wherein, above-mentioned prompt message can be exported for the user through on-vehicle voice broadcast system, and above-mentioned visual image can show on-vehicle display device's the display screen through effects such as text, icon, picture, video.
According to the roadside parking space detection method provided by the embodiment, the roadside parking space detection system acquires the length of the roadside parking area, and then determines whether the roadside parking area has the alternative parking space according to the length of the roadside parking area.
In another embodiment of the roadside parking space detection method, the step of determining the target parking space in S104 may include: and determining the target parking space according to the distance between the current position of the vehicle and each alternative parking space. Wherein, the step of determining the target parking space according to the distance between the current position of the vehicle and each alternative parking space specifically comprises:
s1041, sequencing each distance corresponding to each alternative parking space and the current position of the vehicle.
In this embodiment, the roadside parking space detection system may sort each distance corresponding to the current position of the vehicle and each candidate parking space in the order from small to large.
And S1042, determining the alternative parking space corresponding to the minimum distance smaller than a third preset threshold value in all the distances as the target parking space.
Specifically, the third preset threshold may be a distance between the current position of the vehicle and a preset parking candidate, and the third preset threshold may be determined according to the current position of the vehicle and an actual condition of the roadside parking area. If a plurality of distances in all the distances are smaller than a third preset threshold, the roadside parking space detection system may determine the candidate parking space corresponding to the minimum distance as the target parking space.
In this embodiment, if there are two parking spaces around the vehicle, and there is one parking space in each of the two parking areas, and the distance between the parking space and the current position of the vehicle is equal, the roadside parking space detection system needs to determine the target parking space according to the length of the used parking area in the two parking areas, and may determine the parking space in the roadside parking area with the longer length of the used parking area as the target parking space.
According to the roadside parking space detection method provided by the embodiment, each distance between the current position of the vehicle and each alternative parking space is compared with the third preset threshold value by the roadside parking space detection system, and the target parking space is further determined according to the comparison result.
In another embodiment of the roadside parking space detection method, the step of determining the target parking space in S104 may further be implemented by the process: and determining the target parking space according to the length of the used parking area in the roadside parking area at each historical moment. The step of determining the target parking space according to the length of the used parking area in the roadside parking area at each historical time specifically includes:
s1043, sequencing the length of each used parking area in the roadside parking area at each historical moment.
Specifically, the roadside parking space detection system may sort each length of the used parking areas in each of the roadside parking areas at each historical time in a descending order.
And S1044, determining the candidate parking space in the roadside parking area corresponding to the minimum length smaller than the fourth preset threshold value in all the lengths as the target parking space.
Specifically, the fourth preset threshold may be a preset length corresponding to an already-used parking area in the roadside parking area, and the fourth preset threshold may be determined according to the actual length of the roadside parking area, the length of the vehicle itself, and the length of the already-used parking area in the roadside parking area at the corresponding historical time. If a plurality of lengths in all lengths are smaller than a fourth preset threshold, the roadside parking space detection system may determine the candidate parking space in the roadside parking area corresponding to the minimum length as the target parking space.
In this embodiment, if there are two roadside parking areas around the vehicle and the lengths of the used parking areas in the two areas are equal, the roadside parking space detection system needs to determine the current position of the vehicle, the distance between the current position of the vehicle and the nearest candidate parking space in the two areas, and determine the candidate parking space corresponding to the minimum distance as the target parking space.
According to the roadside parking space detection method provided by the embodiment, the roadside parking space detection system compares each length corresponding to the used parking area in the roadside parking area with the fourth preset threshold value at each historical moment, and further determines the target parking space according to the comparison result.
In one embodiment, on the basis of the roadside parking space detection method, the method further includes: and acquiring a navigation route according to the target parking space, wherein the navigation route is used for guiding the vehicle to run to the target parking space.
Specifically, if the roadside parking space detection system can use the determined target parking space as the navigation destination, the vehicle-mounted navigation system automatically replans the navigation route, outputs the updated navigation route, and displays the updated navigation route on the vehicle-mounted navigation touch screen interface so as to instruct the user to drive the vehicle to the target parking space according to the updated navigation route.
According to the roadside parking space detection method provided by the embodiment, the roadside parking space detection system can detect the roadside parking area around the vehicle before the vehicle enters the urban road, and search for the alternative parking space in the roadside parking area, so that the target parking space is determined according to the alternative parking space, and the target parking space is taken as the navigation destination, and the navigation route is re-planned, so that the vehicle enters the urban road according to the navigation route until the vehicle stops in the target parking space, thereby avoiding the situation that no idle parking spaces exist on the two sides of the road after the vehicle enters the urban road, and the vehicle needs to be backed and left, and further improving the parking efficiency and user experience of the user.
It should be understood that, although the steps in the flowchart of fig. 2 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 limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2 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 performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
For specific definition of the roadside parking space detection system, reference may be made to the above definition of the roadside parking space detection method, which is not described herein again. All or part of the modules in the roadside parking space detection system of the computer device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 3 is a schematic structural diagram of a roadside parking space detection system according to an embodiment. As shown in fig. 3, the roadside parking space detection system may include: a first detection module 11, a first acquisition module 12, a second detection module 13, and a determination module 14.
Specifically, the first detection module 11 is configured to detect a driving state of the vehicle;
the first obtaining module 12 is configured to obtain a curb parking area and a length of a used parking area in the curb parking area when the first detecting module detects that the driving state of the vehicle is ready for parking;
the second detection module 13 is configured to detect an alternative parking space in the roadside parking area according to the length of the used parking area;
the determining module 14 is configured to determine a target parking space when the second detecting module detects that there is the candidate parking space in the roadside parking area.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
Another embodiment provides a roadside parking space detection system. The first detection module 11 is specifically configured to receive a detection instruction input by a user, and detect whether a driving state of the vehicle is a parking preparation state according to the detection instruction; the detection instruction comprises a touch command, a press command and a voice command.
Optionally, the detecting, according to the detection instruction, whether the driving state of the vehicle is a state ready for parking includes: and if the detection instruction contains information that the vehicle needs to be parked, determining that the running state of the vehicle is ready for parking.
In addition, the first detection module 11 is further configured to obtain a navigation route of the vehicle at the current time, detect the roadside parking area around a destination corresponding to the navigation route at the current time, and determine whether the driving state of the vehicle is ready for parking according to a detection result; the detection result comprises that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, and the roadside parking area exists around the destination corresponding to the navigation route at the current moment; the determining whether the driving state of the vehicle is ready for parking according to the detection result includes: and if the detection result indicates that the roadside parking area does not exist around the destination corresponding to the navigation route at the current moment, determining that the driving state of the vehicle is ready for parking.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, as shown in fig. 4, the first obtaining module 12 in the roadside parking space detection system includes: a search unit 121, a first acquisition unit 122, a second acquisition unit 123, and a third acquisition unit 124.
Specifically, the search unit 121 is configured to search the roadside parking area according to the current position of the vehicle when the vehicle is in a suspended driving state;
the first obtaining unit 122 is configured to obtain a vehicle body length of each vehicle parked in the roadside parking area at each historical time before the current time;
the second obtaining unit 123 is configured to obtain a parking space between adjacent parked vehicles in the roadside parking area at each historical time, where the parking space is smaller than a first preset threshold;
the third obtaining unit 124 is configured to obtain the length of the used parking area in the roadside parking area according to the vehicle body length of each corresponding vehicle in the roadside parking area at each historical time and the parking space between the parked adjacent vehicles.
The searching unit 121 is specifically configured to search the roadside parking area within a preset distance range around the current position according to the current position of the vehicle when the vehicle is in a suspended driving state.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, the roadside parking space detection system further comprises a second acquisition module and a prompt message output module.
Specifically, the second obtaining module is configured to obtain a length of the roadside parking area;
and the prompt information output module is used for outputting prompt information if the roadside parking area does not have the alternative parking space.
The second acquisition module is specifically used for determining the roadside parking area in the data map and acquiring the length of the roadside parking area according to the roadside parking area; and the system is also used for determining the maximum length of the used parking areas in the roadside parking areas at all historical moments as the length of the roadside parking areas.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, the second detecting module 13 is configured to detect whether there is an alternative parking space in the roadside parking area at the current time according to a second preset threshold and the length of the used parking area, where the second preset threshold is smaller than the length of the roadside parking area.
The second detection module 13 is specifically configured to determine that there is no alternative parking space in the roadside parking area at the current moment if the length of the used parking area is greater than the second preset threshold.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated here.
Another embodiment provides a roadside parking space detection system. The determination module 14 includes: a first determination unit.
Specifically, the first determining unit is configured to determine the target parking space according to a distance between the current position of the vehicle and each parking space candidate.
The first determining unit is specifically configured to rank each distance corresponding to the current position of the vehicle and each candidate parking space, and determine, as the target parking space, the candidate parking space corresponding to a minimum distance smaller than a third preset threshold among all distances.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, the determining module 14 further includes: a second determination unit.
Specifically, the second determining unit is configured to determine the target parking space according to a length of the used parking area in the roadside parking area at each historical time.
The second determining unit is specifically configured to sort, at each historical time, the size of each length corresponding to the used parking area in the roadside parking area, and determine, as the target parking space, an alternative parking space in alternative parking spaces in the roadside parking area corresponding to a minimum length smaller than a fourth preset threshold among all lengths.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, the roadside parking space detection system further comprises a navigation route output module.
Specifically, the navigation route output module is configured to obtain a navigation route according to the target parking space, where the navigation route is used to guide the vehicle to travel to the target parking space.
The roadside parking space detection system provided by the embodiment can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a roadside parking space detection 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 a 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. 5 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, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of an used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and if the alternative parking space exists in the roadside parking area, determining a target parking space.
In one embodiment, a storage medium is provided, on which a computer program is stored, which computer program, when executed by a processor, performs the steps of:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of an used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
and if the roadside parking area has the alternative parking space, determining a target parking space.
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 may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in various embodiments that can be tolerated by the present application may include non-volatile and/or volatile memory. 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 (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
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, and these are all 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 (17)

1. A roadside parking space detection method, characterized in that the method comprises:
detecting a driving state of a vehicle;
if the driving state of the vehicle is detected to be ready for parking, acquiring a roadside parking area and the length of an used parking area in the roadside parking area;
detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
if the roadside parking area has the alternative parking space, determining a target parking space,
wherein the detecting a driving state of the vehicle includes:
acquiring a navigation route of the vehicle at the current moment;
detecting the roadside parking area around the destination corresponding to the navigation route at the current moment;
determining whether the running state of the vehicle is ready for parking according to the detection result; the detection result comprises that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, and the roadside parking area exists around the destination corresponding to the navigation route at the current moment;
wherein, the determining whether the driving state of the vehicle is ready for parking according to the detection result comprises: and if the detection result indicates that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, determining that the driving state of the vehicle is ready for parking.
2. The method of claim 1, wherein obtaining the curb parking area and the length of used parking areas in the curb parking area comprises:
searching the roadside parking area according to the current position of the vehicle;
acquiring the length of each vehicle parked in the roadside parking area at each historical moment before the current moment;
acquiring a parking space between adjacent parked vehicles in the roadside parking area at each historical moment, wherein the parking space is smaller than a first preset threshold;
and acquiring the length of the used parking area in the roadside parking area according to the corresponding vehicle body length of each vehicle in the roadside parking area at each historical moment and the parking space between the parked adjacent vehicles.
3. The method of claim 1, further comprising: and acquiring the length of the roadside parking area.
4. The method of claim 3, wherein the obtaining the length of the curb parking area comprises:
determining the roadside parking area in a data map;
and acquiring the length of the roadside parking area according to the roadside parking area.
5. The method of claim 1, wherein the detecting of the parking space alternative in the curb parking area according to the length of the used parking area comprises:
and judging whether the roadside parking area has an alternative parking space at the current moment according to a second preset threshold and a comparison result of the length of the used parking area, wherein the second preset threshold is smaller than the length of the roadside parking area.
6. The method according to claim 5, wherein the determining whether there is an alternative parking space in the roadside parking area at the current time according to the comparison result between the second preset threshold and the length of the used parking area comprises:
and if the length of the used parking area is larger than the second preset threshold value, judging that no alternative parking space exists in the roadside parking area at the current moment.
7. The method of claim 1, wherein the determining a target parking space comprises:
and determining the target parking space according to the distance between the current position of the vehicle and each alternative parking space.
8. The method of claim 1, wherein the determining a target parking space comprises:
and determining the target parking space according to the length of the used parking area in the roadside parking area at each historical moment.
9. The method of claim 1, further comprising: and acquiring a navigation route according to the target parking space, wherein the navigation route is used for guiding the vehicle to run to the target parking space.
10. The method of claim 2, wherein the searching for the curb-side parking area according to the current location of the vehicle comprises: and when the vehicle is in a pause driving state, searching the roadside parking area within a preset distance range around the current position according to the current position of the vehicle.
11. The method of claim 4, wherein the obtaining the length of the curb parking area comprises:
and determining the maximum length of the lengths of the used parking areas in the roadside parking areas at all historical moments as the length of the roadside parking areas.
12. The method of claim 5, wherein after detecting an alternate parking space within the curb parking area based on the length of the used parking area, the method further comprises: and if the roadside parking area does not have the alternative parking space, outputting prompt information.
13. The method of claim 7, wherein determining the target parking space based on the distance between the current location of the vehicle and each of the candidate parking spaces comprises:
sequencing each distance corresponding to each alternative parking space between the current position of the vehicle and each alternative parking space;
and determining the alternative parking space corresponding to the minimum distance smaller than the third preset threshold value in all the distances as the target parking space.
14. The method according to claim 8, wherein the determining the target parking space according to the length of the used parking area in the roadside parking area at each historical time comprises:
sequencing the length of each used parking area in the roadside parking area at each historical moment;
and determining the alternative parking space in the roadside parking area corresponding to the minimum length smaller than the fourth preset threshold value in all the lengths as the target parking space.
15. A roadside parking space detection system, comprising:
the first detection module is used for detecting the running state of the vehicle;
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a roadside parking area and the length of a used parking area in the roadside parking area when the first detection module detects that the driving state of the vehicle is ready for parking;
the second detection module is used for detecting alternative parking spaces in the roadside parking area according to the length of the used parking area;
a determination module, configured to determine a target parking space when the second detection module detects that there is the candidate parking space in the roadside parking area,
the first detection module is used for detecting the running state of the vehicle by the following modes:
acquiring a navigation route of the vehicle at the current moment;
detecting the roadside parking area around the destination corresponding to the navigation route at the current moment;
determining whether the driving state of the vehicle is ready for parking or not according to the detection result; the detection result comprises that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, and the roadside parking area exists around the destination corresponding to the navigation route at the current moment;
wherein, the determining whether the driving state of the vehicle is ready for parking according to the detection result comprises: and if the detection result indicates that no roadside parking area exists around the destination corresponding to the navigation route at the current moment, determining that the driving state of the vehicle is ready for parking.
16. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 14 when executing the computer program.
17. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method according to any one of claims 1 to 14.
CN201910598602.4A 2019-07-04 2019-07-04 Roadside parking space detection method, system, computer equipment and storage medium Active CN112185157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910598602.4A CN112185157B (en) 2019-07-04 2019-07-04 Roadside parking space detection method, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910598602.4A CN112185157B (en) 2019-07-04 2019-07-04 Roadside parking space detection method, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112185157A CN112185157A (en) 2021-01-05
CN112185157B true CN112185157B (en) 2022-10-28

Family

ID=73915383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910598602.4A Active CN112185157B (en) 2019-07-04 2019-07-04 Roadside parking space detection method, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112185157B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116071951A (en) * 2021-11-01 2023-05-05 华为技术有限公司 Parking space information processing method and processing device
CN114016788B (en) * 2021-11-10 2023-01-10 合肥市春华起重机械有限公司 Lifting and transverse moving parking equipment control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359200A (en) * 2013-06-26 2016-02-24 宝马股份公司 Method for processing measurement data of a vehicle in order to determine the start of a search for a parking space
CN108010380A (en) * 2018-01-04 2018-05-08 山东科技大学 A kind of parking position management and intelligent coordinated system and method for parking
CN109410639A (en) * 2018-11-08 2019-03-01 湖南工学院 Free parking space querying method and system based on vehicle-mounted navigation map
CN109519020A (en) * 2018-10-23 2019-03-26 罗永平 It is a kind of can automatic car washing parking position and its application method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120045960A (en) * 2010-11-01 2012-05-09 주식회사 케이티 Method for providing road side parking space information and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359200A (en) * 2013-06-26 2016-02-24 宝马股份公司 Method for processing measurement data of a vehicle in order to determine the start of a search for a parking space
CN108010380A (en) * 2018-01-04 2018-05-08 山东科技大学 A kind of parking position management and intelligent coordinated system and method for parking
CN109519020A (en) * 2018-10-23 2019-03-26 罗永平 It is a kind of can automatic car washing parking position and its application method
CN109410639A (en) * 2018-11-08 2019-03-01 湖南工学院 Free parking space querying method and system based on vehicle-mounted navigation map

Also Published As

Publication number Publication date
CN112185157A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US9878709B2 (en) System and method for automatic activation of autonomous parking
JP6614464B6 (en) Vehicle scheduling method, apparatus, equipment, and storage medium
KR102335684B1 (en) Behavior of autonomous vehicle according to road user response modeling with occlusions
JP6667686B2 (en) Travel trajectory generation method and system for self-driving vehicle and machine-readable medium
US9330570B2 (en) Image assisted parking space availability searching and reservation method and system
CN110782657A (en) Police cruiser using a subsystem of an autonomous vehicle
KR20190067233A (en) Dynamic routing for autonomous vehicles
JP6090449B2 (en) Predictive energy remaining amount guidance system
EP3009798B1 (en) Providing alternative road navigation instructions for drivers on unfamiliar roads
CN106228848B (en) A kind of parking navigation method and apparatus
KR102210140B1 (en) Use of map information to smooth objects generated from sensor data
KR20210048575A (en) To reduce discomfort to users of surrounding roads caused by stationary autonomous vehicles
EP3904146A1 (en) Information processing device, control device, vehicle, and water sprinkling method
CN114724366B (en) Driving assistance method, device, equipment and storage medium
CN112185157B (en) Roadside parking space detection method, system, computer equipment and storage medium
US9671242B2 (en) Multiple energy routing system
CN112749740A (en) Method, device, electronic equipment and medium for determining vehicle destination
CN112581750A (en) Vehicle running control method and device, readable storage medium and electronic equipment
CN111210655A (en) Parking method, device, server and terminal
CN111721315A (en) Information processing method and device, vehicle and display equipment
CN113424209B (en) Trajectory prediction using deep learning multi-predictor fusion and Bayesian optimization
CN115203457B (en) Image retrieval method, device, vehicle, storage medium and chip
CN111132212A (en) Unmanned vehicle network exception handling method, device, equipment and storage medium
CN110414756B (en) Vehicle driving system evaluation method, device and computer equipment
CN111354215A (en) Parking assistance method, system, computer device and readable storage medium

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
GR01 Patent grant
GR01 Patent grant