CN112185157A - 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
CN112185157A
CN112185157A CN201910598602.4A CN201910598602A CN112185157A CN 112185157 A CN112185157 A CN 112185157A CN 201910598602 A CN201910598602 A CN 201910598602A CN 112185157 A CN112185157 A CN 112185157A
Authority
CN
China
Prior art keywords
parking area
roadside
vehicle
parking
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.)
Granted
Application number
CN201910598602.4A
Other languages
Chinese (zh)
Other versions
CN112185157B (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 free parking space is found, the vehicle needs to be backed and leave to further find the free parking space, so that the parking efficiency of the 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 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.
In one embodiment, the detecting the driving 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 a parking preparation state 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 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;
and optionally, the determining whether the driving state of the vehicle is a parking preparation state 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 larger 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 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 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.
According to the roadside parking space detection method, the system, the computer device 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 enters an urban road, find an alternative parking space in the roadside parking area, determine a target parking space according to the alternative parking space, avoid finding an idle parking space after the vehicle enters the urban road, and if no idle parking space exists on two sides of the road, the vehicle needs to back to leave the urban road to further find the idle parking space.
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 of 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 communicate 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 automobile, a hybrid automobile, and the like. The embodiment is realized in a scene of parallel parking spaces. The roadside parking space detection system arranged in the vehicle executes the roadside parking space detection method provided by the embodiment, and the 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 roadside alternative parking spaces. 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 an 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 running state and can be expressed in three ways, wherein the first way is that the vehicle speed is 0, the second way is that the gear of the vehicle is in a P gear, and the third way 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 vehicle ahead and a front position of a vehicle behind 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 body lengths of all vehicles corresponding to each roadside parking area at each historical time, that is, a first length, according to the body length of each vehicle corresponding to each roadside parking area at each historical time; 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-mounted navigation touch screen interface, and the detection information may include relevant information for detecting 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 by 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 the vehicle at the current time, related information for detecting an in-vehicle temperature 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.
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 a radius of 1 kilometer.
S1015, 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.
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 obtaining 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, such as identification information and width and length corresponding to zebra crossings, 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 the 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 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.
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 actual conditions.
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 the second preset threshold corresponding to the roadside parking area, it is characterized 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 angle of rotation 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 corresponding distance between the current position of the vehicle and each alternative parking space.
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 candidate parking space, 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 alternative parking spaces in each of the two roadside parking areas around the vehicle, and there is one alternative parking space in each of the two roadside parking areas, and the distance between the two alternative parking spaces and the current position of the vehicle is equal, the roadside parking space detection system further needs to determine the target parking space according to the length of the used parking area in the two roadside parking areas, and may determine the alternative parking space in the roadside parking area with the larger length of the used parking area 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 distance between the current position of the vehicle and each alternative parking space with the third preset threshold value, and further determines the target parking space 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. Wherein 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 comprises:
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 comprises the following steps: 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 re-plans 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 performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion 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 performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
For specific limitations of the roadside parking space detection system, reference may be made to the above limitations of the roadside parking space detection method, which are 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 roadside parking area and a length of a used parking area in the roadside 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 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 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 length of the vehicle body of each corresponding vehicle in the roadside parking area at each historical time and the parking distance 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 lengths 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 time 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 herein.
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 candidate parking space.
The first determining unit is specifically configured to sort 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 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. 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 roadside parking area has the alternative parking space, determining a target parking space.
In one embodiment, a storage medium is provided having a computer program stored thereon, the computer program when executed by a processor implementing 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 can be implemented by hardware instructions of 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 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 Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
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 (15)

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;
and if the roadside parking area has the alternative parking space, determining a target parking space.
2. The method according to claim 1, wherein the detecting a driving 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 preferably, the detection instruction comprises a touch command, a press command and a voice command.
3. The method according to claim 2, wherein the detecting whether the running state of the vehicle is a parking preparation 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.
4. The method according to claim 1, 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;
and preferably, the determining whether the driving state of the vehicle is a parking preparation state 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.
5. The method of claim 1, wherein the obtaining the curb parking area and the length of the used parking area within 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;
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 preferably, the searching for the roadside parking area according to the current position of the vehicle includes: 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.
6. The method of claim 1, further comprising: and acquiring the length of the roadside parking area.
7. The method of claim 6, wherein the obtaining the length of the curb 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.
8. The method of claim 1, wherein detecting an alternative parking space within the curb parking area based on 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 preferably, after detecting an alternative parking space within the roadside 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.
9. The method according to claim 8, 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.
10. The method of claim 1, wherein the determining a target parking space comprises:
determining the target parking space according to the distance between the current position of the vehicle and each alternative parking space;
and preferably, 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.
11. The method of claim 1, wherein the determining a target parking space comprises:
determining the target parking space according to the length of the used parking area in the roadside parking area at each historical moment;
and preferably, 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.
12. 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.
13. A roadside parking space detection system, characterized in that the roadside parking space detection system comprises:
the first detection module is used for detecting the running state of the vehicle;
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.
14. 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 12 when executing the computer program.
15. 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 12.
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 true CN112185157A (en) 2021-01-05
CN112185157B 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)

Cited By (2)

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

Citations (5)

* 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
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

Patent Citations (5)

* 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
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

Cited By (3)

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

Also Published As

Publication number Publication date
CN112185157B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
US10935979B1 (en) Behavior and intent estimations of road users for autonomous vehicles
US10042362B2 (en) Dynamic routing for autonomous vehicles
CN106985814B (en) System and method for automatically activating autonomous parking
KR102335684B1 (en) Behavior of autonomous vehicle according to road user response modeling with occlusions
CN110782657A (en) Police cruiser using a subsystem of an autonomous vehicle
US9330570B2 (en) Image assisted parking space availability searching and reservation method and system
CN112033425B (en) Vehicle driving assisting method, device, computer equipment and storage medium
JP6090449B2 (en) Predictive energy remaining amount guidance system
US11398156B2 (en) Ramp merging assistance
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
CN112738171A (en) Vehicle control method, device, system, equipment and storage medium
EP3904146A1 (en) Information processing device, control device, vehicle, and water sprinkling method
CN112185157B (en) Roadside parking space detection method, system, computer equipment and storage medium
CN114724366B (en) Driving assistance method, device, equipment and storage medium
JP5018258B2 (en) Driving support device guidance system, display device
CN113386738A (en) Risk early warning system, method and storage medium
CN111721315A (en) Information processing method and device, vehicle and display equipment
CN112581750A (en) Vehicle running control method and device, readable storage medium and electronic equipment
CN113424209A (en) Trajectory prediction using deep learning multi-predictor fusion and bayesian optimization
CN111132212A (en) Unmanned vehicle network exception handling method, device, equipment and storage medium
CN114537450A (en) Vehicle control method, device, medium, chip, electronic device and vehicle
CN111354215B (en) Parking assistance method, system, computer device and readable storage medium
JP2020119316A (en) Vehicle identification system, vehicle identification device, vehicle identification method, and computer program
CN111319627A (en) Driving assistance method and device, computer equipment and 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