Navigation method and device, terminal equipment and readable storage medium

By acquiring and analyzing real-time images of the parking lot, determining whether there are free parking spaces and selecting the target parking lot, the problem of low reference of parking lot marking information in the existing technology is solved, the reliability and user experience of parking lot selection are improved, and the user experience is reduced. Parking difficulty.

CN118587929APending Publication Date: 2024-09-03GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410735899.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

When existing navigation software pre-sets parking lot marking information, it is difficult to accurately represent the difficulty of parking in the parking lot. As a result, users often cannot find free parking spaces when driving, which increases the difficulty of parking.

Method used

Before the vehicle travels to the destination, it obtains real-time images of various parking lots around the destination to determine whether there are free parking spaces, selects the target parking lot from the available parking lots, and provides a driving route so that users can quickly find free parking spaces.

Benefits of technology

The real-time image accurately reflects the usage of parking spaces in the parking lot, which significantly improves the reliability of the target parking lot, reduces the situation where users cannot find free parking spaces, and reduces the difficulty of parking when driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587929A
    Figure CN118587929A
Patent Text Reader

Abstract

The invention provides a navigation method and device, terminal equipment and a readable storage medium, and is applied to the technical field of vehicles. The method comprises the steps of obtaining real-time images of parking lots around a destination before a vehicle runs to the destination, determining whether the parking lots have idle parking spaces or not according to the real-time images of the parking lots for each parking lot, if yes, determining the parking lots as selectable parking lots, determining a target parking lot from the selectable parking lots, and sending the target parking lot to the parking lot. The driving route of the target parking lot is then provided to the vehicle. According to the method provided by the invention, the reliability of the target parking lot can be remarkably improved, so that the situation that a user cannot find an idle parking space from the target parking lot can be reduced, and the parking difficulty when the user drives to go out can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to a navigation method, apparatus, terminal device and readable storage medium in the field of vehicle technology. Background Art

[0002] At present, some navigation software will pre-set the marking information of each parking lot, and mark the parking difficulty of the parking lot through the marking information. When driving, users can obtain the marking information of each parking lot around the destination from the navigation software, select the target parking lot with less parking difficulty from the parking lots around the destination according to the marking information, and drive the vehicle to the target parking lot to park.

[0003] Among them, the reference value of the marking information is low, and it is difficult to accurately represent the parking difficulty of the parking lot. When the user selects the target parking lot according to the marking information, it often happens that the marking information indicates that the parking difficulty of the target parking lot is relatively low, but when the vehicle is driven to the target parking lot, no vacant parking space can be found. In short, the above method is difficult to reduce the difficulty of parking, so there is an urgent need for a navigation method to reduce the difficulty of parking when the user is driving. Summary of the invention

[0004] The present application provides a navigation method, apparatus, terminal device and readable storage medium, which can reduce the difficulty of parking for users when driving.

[0005] In a first aspect, a navigation method is provided, comprising:

[0006] Before the vehicle drives to the destination, obtaining real-time images of various parking lots around the destination;

[0007] For each parking lot, determine whether there is an empty parking space in the parking lot according to the real-time image of the parking lot, and if so, determine that the parking lot is an optional parking lot;

[0008] determining a target parking lot from the optional parking lots;

[0009] A driving route to the target parking lot is provided to the vehicle.

[0010] In an embodiment of the present application, before the vehicle drives to the destination, real-time images of various parking lots around the destination are obtained. For each parking lot, it is determined whether there are vacant parking spaces in the parking lot based on the real-time images of the parking lot. If so, the parking lot is determined to be an optional parking lot, and the target parking lot is determined from the optional parking lots, and then the driving route of the target parking lot is provided to the vehicle. In the method provided by the present application, it is determined whether the parking lot is an optional parking lot with vacant parking spaces based on the real-time images of the parking lot. Since the real-time images can accurately reflect the usage of each parking space in the parking lot, the results obtained are not only real-time, but also highly reliable. In this way, when determining the target parking lot based on the optional parking lots, the target parking lot finally determined is a parking lot with vacant parking spaces in real time. Compared with other methods, the reliability of the target parking lot can be significantly improved, thereby reducing the situation where users cannot find vacant parking spaces from the target parking lot, and further reducing the difficulty of parking when users travel by car.

[0011] In combination with the first aspect, in some possible implementations, the acquiring of real-time images of the parking lots around the destination includes: acquiring real-time images of the parking lots when the remaining driving distance is less than a preset distance threshold, wherein the remaining driving distance is the distance between the current position of the vehicle and the destination; or acquiring real-time images of the parking lots when the remaining driving time is less than a preset time threshold, wherein the remaining driving time is the predicted time for the vehicle to travel from the current position to the destination.

[0012] In the embodiment of the present application, real-time images are acquired when the vehicle is closer to the destination and / or the time required for the vehicle to travel to the destination is shorter, which can reduce the situation where there are no vacant parking spaces in the target parking lot due to temporary changes in the parking spaces in the parking lot, thereby reducing the probability that the vehicle will be unable to park when driving to the target parking lot, and further reducing the difficulty of parking.

[0013] In combination with the first aspect, in some possible implementations, for each of the parking lots, it is determined whether there are vacant parking spaces in the parking lot based on the real-time image of the parking lot, and if so, the parking lot is determined to be an optional parking lot, including: when there are multiple parking lots, the number of vacant parking spaces in the parking lot is determined based on the real-time image of the parking lot; when the target time point is within the parking peak period, if the number of vacant parking spaces in the parking lot is greater than a preset number threshold, the parking lot is determined to be the optional parking lot; wherein the target time point is the predicted time point for driving from the current position to the parking lot.

[0014] In an embodiment of the present application, when there are multiple parking lots, a parking lot with more vacant parking spaces is determined as an optional parking lot, so as to avoid determining a parking lot with fewer vacant parking spaces and requiring parking during peak parking hours as a target parking lot, thereby reducing the probability that a user cannot find a vacant parking space in the target parking lot, thereby reducing the difficulty of parking.

[0015] In combination with the first aspect, in some possible implementations, determining the target parking lot from the optional parking lots includes: when there are multiple optional parking lots, based on the number of vacant parking spaces in each of the optional parking lots, sorting the multiple optional parking lots to obtain a first sorting result; and determining the target parking lot from the multiple optional parking lots based on the first sorting result.

[0016] In an embodiment of the present application, after determining multiple optional parking lots, the multiple optional parking lots are sorted according to the number of vacant parking spaces in the multiple optional parking lots, and a target parking lot is determined from the multiple optional parking lots based on the sorting results. This can facilitate the selection of a parking lot with more vacant parking spaces, thereby facilitating the user to quickly find vacant parking spaces after entering the target parking lot, thereby reducing the difficulty of parking.

[0017] In combination with the first aspect, in some possible implementations, sorting the multiple optional parking lots based on the number of vacant parking spaces in each of the optional parking lots to obtain a first sorting result includes: acquiring a target parameter corresponding to each of the optional parking lots; wherein the target parameter corresponding to the optional parking lot includes the distance between the current position of the vehicle and the optional parking lot and / or the time required for the vehicle to travel from the current position to the optional parking lot; and sorting the multiple optional parking lots based on the number of vacant parking spaces in each of the optional parking lots and the corresponding target parameter to obtain the first sorting result.

[0018] In an embodiment of the present application, multiple optional parking lots are sorted according to parameters such as the number of vacant parking spaces in the multiple optional parking lots, the distance between the vehicle and the current location, and the time required to reach the current location, and then a target parking lot is determined from the multiple optional parking lots based on the sorting results. This allows users to easily select a target parking lot that has vacant parking spaces and meets user needs to park their vehicles.

[0019] In combination with the first aspect, in some possible implementations, obtaining real-time images of each parking lot around the destination includes: if the parking lot is an outdoor parking lot, obtaining a satellite image of the parking lot as the real-time image of the parking lot; or, if the parking lot is an indoor parking lot, obtaining an image captured by a camera inside the parking lot as the real-time image of the parking lot.

[0020] In an embodiment of the present application, when the parking lot is an outdoor parking lot, the satellite image of the parking lot is used to detect whether there are vacant parking spaces in the parking lot. When the parking lot is an indoor parking lot, the image captured by the camera is used to detect whether there are vacant parking spaces in the parking lot. It is possible to more accurately determine whether there are vacant parking spaces in the parking lot.

[0021] In combination with the first aspect, in certain possible implementations, before providing the vehicle with a driving route to the target parking lot, the method further includes: if there are multiple parking lots and the number of optional parking lots is 0, sorting the multiple parking lots according to the number of parking spaces in each parking lot to obtain a second sorting result; and determining the target parking lot from the multiple parking lots based on the second sorting result.

[0022] In an embodiment of the present application, if there are no vacant parking spaces in the parking lots around the destination, the target parking lot can be determined based on the number of parking spaces in each parking lot. Since the more parking spaces there are in a parking lot, the greater the probability of vacant parking spaces appearing in the parking lot, this allows users to choose a parking lot with a higher probability of vacant parking spaces to park their vehicles, thereby reducing the difficulty of parking.

[0023] In a second aspect, a navigation device is provided, comprising:

[0024] An acquisition module, used to acquire real-time images of various parking lots around the destination before the vehicle drives to the destination;

[0025] a determination module, for determining, for each parking lot, whether there is an empty parking space in the parking lot according to the real-time image of the parking lot, and if so, determining the parking lot as an optional parking lot;

[0026] The determination module is further used to determine a target parking lot from the optional parking lots;

[0027] A module is provided, for providing the vehicle with a driving route of the target parking lot.

[0028] In a third aspect, a terminal device is provided, the terminal device comprising:

[0029] A memory for storing executable program codes;

[0030] A processor is used to call and run the executable program code from the memory, so that the terminal device executes the method in any possible implementation manner of the first aspect above.

[0031] In a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation manner of the above-mentioned first aspect.

[0032] In a fifth aspect, a readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a schematic diagram of an application scenario of a navigation method provided in an embodiment of the present application;

[0034] Figure 2 is a flowchart of the steps of a navigation method provided by an embodiment of the present application;

[0035] Figure 3 is a flowchart of a navigation method provided by an embodiment of the present application;

[0036] Figure 4 is a structural schematic diagram of a navigation device provided in an embodiment of the present application;

[0037] Figure 5 It is a structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0039] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0040] At present, in order to reduce the difficulty of parking, a common practice is to obtain feedback information from users after parking their vehicles in a certain area. If more users report that the parking difficulty in the area is high, the parking lot in the area is marked as having high parking difficulty. If more users report that the parking difficulty in the area is low, the parking lot in the area is marked as having low parking difficulty. When a user is driving, after determining the destination, the user can obtain the marking information of various parking lots around the destination through navigation software, and then select a parking lot with low parking difficulty from various parking lots according to the marking information to park the vehicle.

[0041] The problem with the above method is that after users park their vehicles in a certain area, they usually do not provide feedback on the difficulty of parking in that area. Therefore, less feedback information is obtained to evaluate the difficulty of parking, resulting in low reference value of the marking information and difficulty in accurately characterizing the difficulty of parking in the parking lot. In this way, when the marking information of the parking lot is provided to the user for the user to select the target parking lot, it often happens that the marking information indicates that the parking difficulty of the target parking lot is easy, but the user cannot find an empty parking space when driving the vehicle to the target parking lot. In short, the reliability of the above method is low and it is difficult to reduce the difficulty of parking when driving.

[0042] In order to solve the above problems, an embodiment of the present application provides a navigation method, in which real-time images of various parking lots around the destination are obtained before the vehicle reaches the destination, and then it is determined whether there are vacant parking spaces in the parking lot based on the real-time images of the parking lot. When there are vacant parking spaces in one or more parking lots, a target parking lot is determined from at least one parking lot with vacant parking spaces, and a driving route to the target parking lot is provided to the vehicle to instruct the user to drive the vehicle to the target parking lot according to the driving route.

[0043] In the method provided in the embodiment of the present application, whether there are vacant parking spaces in the parking lot is determined based on the real-time image of the parking lot, and the obtained result is not only real-time but also reliable. Furthermore, when determining the target parking lot based on the obtained result, the target parking lot finally determined is a parking lot with vacant parking spaces in real time. Compared with the aforementioned method, the reliability of the target parking lot finally determined can be significantly improved, thereby reducing the situation where users cannot find vacant parking spaces, and further reducing the difficulty of parking when users travel by car.

[0044] See also Figure 1 , Figure 1 Schematic diagram of an application scenario of a navigation method provided by an embodiment of the present application. Figure 1As shown, the scene includes a vehicle 11 and a server 12. A terminal device is provided in the vehicle 11. The terminal device can be a head unit terminal (HUT) in the vehicle 11 or a mobile terminal (such as a mobile phone) used by a user. When the user drives the vehicle 11, the user can input the destination into the terminal device 13. The terminal device 13 can determine the various parking lots around the destination, obtain the real-time images of each parking lot from the server 12, and then determine whether there are vacant parking spaces in each parking lot based on the real-time images of each parking lot. When there are vacant parking spaces in at least one parking lot, the target parking lot is determined from at least one parking lot with vacant parking spaces. Afterwards, the terminal device can determine the driving route from the current position of the vehicle 11 to the target parking lot, and provide the driving route to the user so that the user drives the vehicle to the target parking lot according to the driving route.

[0045] It should be understood that Figure 1 For illustrative purposes only, the application scenarios of the navigation method may include but are not limited to Figure 1 shown.

[0046] See also Figure 2 , Figure 2 is a flowchart of a navigation method provided by an embodiment of the present application. The execution subject of the method may be a terminal device, such as Figure 2 As shown, the method may include the following steps:

[0047] Step 201: Before the vehicle drives to a destination, real-time images of parking lots around the destination are acquired.

[0048] Among them, the parking lot can be a parking place used only for parking, such as an open-air parking lot, a parking building, an underground garage, etc., or it can be a place that can be used for parking and other purposes, such as the parking areas on both sides of the road planned by the municipality, which can be used for driving and parking.

[0049] For example, before starting the vehicle, the user may input relevant information of the destination into the terminal device, including but not limited to the name, address, longitude and latitude of the destination. After receiving the relevant information input by the user, the terminal device may locate the destination according to the relevant information and determine the location of the destination in the map data. After determining the location of the destination in the map data, the terminal device may determine from the map data various parking lots within a preset radius centered on the destination, and then obtain real-time images of each parking lot.

[0050] Alternatively, after receiving the relevant information of the destination input by the user, the terminal device can monitor and obtain the location of the vehicle (hereinafter referred to as the current location) in real time, and then provide the user with a driving route based on the current location and the specific location of the destination, so that the user can drive the vehicle to the destination according to the driving route. At the same time, the terminal device can calculate the distance between the current location and the destination in real time. When the distance is less than a preset distance threshold, the terminal device can execute step 101 to determine from the map data each parking lot within a preset radius with the specific location of the destination as the center, and then obtain a real-time image of each parking lot.

[0051] It should be understood that the number of parking lots around the destination may be 0 or N, where N is an integer greater than or equal to 1. When the number of parking lots is 0, the terminal device may output notification information to inform the user that there is no parking lot around the destination.

[0052] Optionally, the real-time image of the parking lot may be a satellite image of the area where the parking lot is located. After determining the various parking lots around the destination, the terminal device may obtain satellite images of the various parking lots from the server and use the satellite images as the real-time image of the parking lot. The satellite image may be provided by a supplier of satellite images, and the server may obtain a satellite image including the area where the parking lot is located from the supplier and provide the satellite image to the terminal device.

[0053] Optionally, the real-time image of the parking lot may also be an image captured by a camera in the parking lot (hereinafter referred to as a captured image). A camera may be set up in the parking lot, and the camera may upload the captured image of the parking lot to the server in real time. After determining each parking lot around the destination, the terminal device may obtain the captured image of each parking lot from the server and use the captured image as the real-time image of the parking lot.

[0054] The real-time image of the parking lot may be one or more. For example, when the parking lot is an open-air parking lot consisting of multiple parking areas, a real-time image of each parking area may be obtained, so that multiple real-time images of the parking lot may be obtained. For another example, when the parking lot is a multi-story parking building, a real-time image of each floor may be obtained, so that multiple real-time images of the parking lot may be obtained.

[0055] The above are merely illustrative examples, and methods for acquiring a real-time image of a parking lot may include but are not limited to the above examples.

[0056] Step 202: for each parking lot, determine whether there are vacant parking spaces in the parking lot according to the real-time image of the parking lot. If so, determine that the parking lot is an optional parking lot.

[0057] Among them, an empty parking space refers to a parking space that is in an empty state and no vehicle is parked. An optional parking lot refers to a parking lot with empty parking spaces where vehicles can continue to be parked. Correspondingly, a non-empty parking space refers to a parking space that is in a non-empty state and has vehicles parked, and a non-optional parking lot refers to a parking lot with no empty parking spaces and no vehicles can continue to be parked.

[0058] In one embodiment, an image classification model can be pre-trained, and the image classification model can classify the real-time images of the parking lot into images with free parking spaces or images without free parking spaces. After acquiring the real-time images of each parking lot, the real-time images of the parking lot can be input into the image classification model for each real-time image of the parking lot. If the output result of the image classification model indicates that the real-time image is an image with free parking spaces, the parking lot is determined to be an optional parking lot with free parking spaces. On the contrary, if the output result of the image classification model indicates that the real-time image is an image without free parking spaces, the parking lot is determined to be a non-optional parking lot.

[0059] In another embodiment, a target detection model may be pre-trained to detect whether there are vacant parking spaces in an image. For each real-time image of a parking lot, the real-time image of the parking lot may be input into the target detection model. If the target detection model identifies one or more vacant parking spaces from the real-time image, the parking lot is determined to be an optional parking lot with vacant parking spaces. On the contrary, if the target detection model does not identify vacant parking spaces from the real-time image, the parking lot is determined to be a non-optional parking lot.

[0060] Among them, when the parking lot has multiple real-time images, each real-time image can be input into the image classification model or the target detection model in turn. When the output result corresponding to a real-time image indicates that there are vacant parking spaces in the parking lot, the parking lot is determined to be an optional parking lot.

[0061] As described above, when there are N parking lots around the destination, the above method can be used to determine whether there are 0 optional parking lots or M optional parking lots among the N parking lots around the destination, where M is an integer greater than or equal to 1 and less than or equal to N. When there are 0 optional parking lots, the terminal device can output notification information to inform the user that there are no vacant parking spaces in the parking lots around the destination.

[0062] Optionally, the above-mentioned image classification model and target detection model can be network models trained based on a Convolutional Neural Network (CNN) model, a You Only Look Once (YOLO) model, a Single Shot MultiBox Detector (SSD) model, etc.

[0063] Optionally, before determining whether the parking lot is an optional parking lot with vacant parking spaces through real-time images, the real-time images may be preprocessed. The preprocessing may include image denoising, contrast enhancement, image brightness adjustment and other operations. The preprocessing is used to improve the quality of the real-time images so as to more accurately determine whether there are vacant parking spaces in the parking lot.

[0064] Step 203: Determine a target parking lot from the optional parking lots.

[0065] Exemplarily, after determining that there are M optional parking lots, when M is 1, the terminal device can directly determine the optional parking lot as the target parking lot. If M is greater than 1, the terminal device can display the identification information of the M optional parking lots on the display screen, and the identification information of the parking lot can be the name of the parking lot obtained from the map data. After displaying the identifications of the M optional parking lots, the user can select one from the M identification information, and the terminal device can determine the optional parking lot corresponding to the identification information selected by the user as the target parking lot.

[0066] Alternatively, in the process of detecting whether there are vacant parking spaces in the real-time image through the target detection model, for each optional parking lot, the terminal device can count the number of vacant parking spaces in the optional parking lot. In the process of determining the target parking lot, the optional parking lot with the largest number of vacant parking spaces can be directly determined as the target parking lot.

[0067] The above are merely illustrative examples, and specific methods for determining a target parking lot from M optional parking lots may include but are not limited to the above examples.

[0068] Step 204: Provide the vehicle with a driving route to the target parking lot.

[0069] Providing a driving route to a vehicle refers to providing a driving route to a user in the vehicle, so that the user drives the vehicle according to the driving route and drives the vehicle to a target parking lot.

[0070] Exemplarily, after executing steps 201 to 203 before the vehicle is started and determining the target parking lot, the terminal device may output a prompt message, which is used to prompt the user whether to change the destination to the target parking lot. After the user inputs a confirmation instruction based on the prompt message and determines to change the destination to the target parking lot, the terminal device may obtain the current position of the vehicle, and then plan one or more driving routes from the current position to the target parking lot for the user based on the current position and map data. The user may select one of the at least one driving route planned, and the terminal device may display the driving route selected by the user, and guide the user to drive the vehicle to the target parking lot based on the driving route selected by the user.

[0071] For example, if steps 201 to 203 are executed when the distance between the current position of the vehicle and the target location is less than a preset distance threshold, and the target parking lot is determined, the terminal device may output a prompt message, which is used to prompt the user whether to change the route and park the vehicle at the target parking lot. When the user enters a confirmation instruction based on the prompt message and confirms to park the vehicle at the target parking lot, the terminal device may plan one or more driving routes from the current position to the target parking lot for the user based on the current position of the vehicle and map data. The user may select one of the at least one driving route planned, and the terminal device may display the driving route selected by the user, and guide the user to drive the vehicle to the target parking lot based on the driving route selected by the user.

[0072] It should be understood that the above are merely illustrative examples, and the specific method by which the terminal device determines and provides the driving route to the user based on the current location of the vehicle and the target parking lot may include but is not limited to the above examples.

[0073] In an embodiment of the present application, before the vehicle drives to the destination, real-time images of various parking lots around the destination are obtained. For each parking lot, it is determined whether there are vacant parking spaces in the parking lot based on the real-time images of the parking lot. If so, the parking lot is determined to be an optional parking lot, and the target parking lot is determined from the optional parking lots, and then the driving route of the target parking lot is provided to the vehicle. In the method provided by the present application, it is determined whether the parking lot is an optional parking lot with vacant parking spaces based on the real-time images of the parking lot. Since the real-time images can accurately reflect the usage of each parking space in the parking lot, the results obtained are not only real-time, but also highly reliable. In this way, when determining the target parking lot based on the optional parking lots, the target parking lot finally determined is a parking lot with vacant parking spaces in real time. Compared with other methods, the reliability of the target parking lot can be significantly improved, thereby reducing the situation where users cannot find vacant parking spaces from the target parking lot, and further reducing the difficulty of parking when users travel by car.

[0074] Optionally, obtain real-time images of various parking lots around the destination, including:

[0075] When the remaining driving distance is less than a preset distance threshold, real-time images of each parking lot are obtained; wherein the remaining driving distance is the distance between the current position of the vehicle and the destination;

[0076] Or, when the remaining driving time is less than a preset time threshold, real-time images of each parking lot are obtained; wherein the remaining driving time is the predicted time for the vehicle to travel from the current position to the destination.

[0077] In one embodiment, the terminal device can obtain the current position of the vehicle in real time and calculate the distance between the current position and the destination, which is the remaining distance, while guiding the vehicle to travel to the destination according to the pre-planned travel route. After obtaining the remaining distance, the terminal device can compare the remaining distance with a preset distance threshold. When the remaining distance is greater than or equal to the preset distance threshold, the terminal device continues to guide the vehicle to travel to the destination according to the pre-planned travel route. When the remaining distance is less than the preset distance threshold, the terminal device can obtain real-time images of various parking lots around the destination, and then execute steps 202 to 204 to provide the vehicle with a travel route from the current position to the target parking lot.

[0078] In another embodiment, the terminal device can obtain the current position of the vehicle in real time while guiding the vehicle to travel to the destination according to the pre-planned travel route, and predict the remaining travel time (i.e., predicted travel time) required for the vehicle to travel from the current position to the destination based on the remaining travel distance between the current position and the destination, the current speed of the vehicle, and the road conditions between the current position and the destination. After obtaining the remaining travel time, the terminal device can compare the remaining travel time with a preset travel time threshold. When the remaining travel time is greater than or equal to the preset travel time threshold, the terminal device continues to guide the vehicle to travel to the destination according to the pre-planned travel route. When the remaining travel time is less than the preset travel time threshold, the terminal device can obtain real-time images of various parking lots around the destination, and then execute steps 202 to 204 to provide the vehicle with a travel route from the current position to the target parking lot.

[0079] In another embodiment, the terminal device can simultaneously obtain the remaining driving distance and the remaining driving time while guiding the vehicle to the destination according to a pre-planned driving route. When the remaining driving distance is less than a preset distance threshold and the remaining driving time is less than a preset time threshold, real-time images of various parking lots around the destination are obtained, and then steps 202 to 204 are executed to provide the vehicle with a driving route from the current position to the target parking lot.

[0080] Optionally, after providing the vehicle with a driving route from the current location to the target parking lot, the terminal device can monitor the status of the vehicle. When it is detected that the vehicle is parked and the parking time exceeds the preset parking time, the terminal device can execute steps 201 to 204 again to re-determine the target parking lot and re-provide the user with the driving route from the current location to the target parking lot.

[0081] In actual applications, when the vehicle is far away from the destination or it takes a long time to travel to the destination, during the process of the vehicle traveling to the destination, the parking spaces in the parking lots around the destination may change from an idle state to a non-idle state, or from a non-idle state to an idle state. Therefore, the parking lot may change from an optional parking lot to a non-optional parking lot, or from a non-optional parking lot to an optional parking lot.

[0082] In the embodiment of the present application, real-time images are acquired when the vehicle is closer to the destination and / or the time required for the vehicle to travel to the destination is shorter, which can reduce the situation where there are no vacant parking spaces in the target parking lot due to temporary changes in the parking spaces in the parking lot, thereby reducing the probability that the vehicle will be unable to park when driving to the target parking lot, and further reducing the difficulty of parking.

[0083] Optionally, determining whether there are vacant parking spaces in the parking lot according to the real-time image of the parking lot, and if so, determining that the parking lot is an optional parking lot includes:

[0084] In the case where there are multiple parking lots, determining the number of vacant parking spaces in the parking lot according to the real-time image of the parking lot;

[0085] When the target time point is within the parking peak period, if the number of vacant parking spaces in the parking lot is greater than a preset number threshold, the parking lot is determined to be an optional parking lot; wherein the target time point is the predicted time point for driving from the current location to the parking lot.

[0086] Among them, the parking peak can be set in advance, for example, the daily lunch time (such as 11 am to 2 pm) and dinner time (such as 6 pm to 9 pm) can be set as the parking peak, and the daytime hours on weekends and holidays can be set as the parking peak.

[0087] In some embodiments, when there are multiple parking lots around the destination, for each parking lot, the terminal device can determine the number of free parking spaces in the parking lot based on the real-time image of the parking lot. At the same time, the terminal device can predict the remaining driving time for the vehicle to travel from the current location to the parking lot, and determine the target time point for the vehicle to travel from the current location to the parking lot based on the current time and the remaining driving time. Afterwards, the terminal device can determine whether the target time point is within a certain parking peak. For example, if the target time point is a time point during lunch time, it can be determined that the target time point is within the parking peak.

[0088] When it is determined that the target time point is within the parking peak, the number of free parking spaces in the parking lot can be compared with a preset number threshold. When the number of free parking spaces in the parking lot is greater than the preset number threshold, the parking lot is determined to be an optional parking lot with free parking spaces. When the number of free parking spaces in the parking lot is less than or equal to the preset number threshold, the parking lot is determined to be a non-optional parking lot.

[0089] In the case where there is only one parking lot, the terminal device may directly determine the parking lot as an optional parking lot if there are one or more vacant parking spaces in the parking lot.

[0090] In actual applications, when users park during peak parking hours, even if there are vacant parking spaces in the parking lot, if there are fewer vacant parking spaces, the vacant parking spaces are likely to be used soon. Therefore, when there are fewer vacant parking spaces in the parking lot and the target time point is during the peak parking time, when users drive their vehicles to the parking lot, they are very likely to not be able to find vacant parking spaces.

[0091] In an embodiment of the present application, when there are multiple parking lots, a parking lot with more vacant parking spaces is determined as an optional parking lot, so as to avoid determining a parking lot with fewer vacant parking spaces and requiring parking during peak parking hours as a target parking lot, thereby reducing the probability that a user cannot find a vacant parking space in the target parking lot, thereby reducing the difficulty of parking.

[0092] Optionally, determining a target parking lot from the optional parking lots includes:

[0093] In the case where there are multiple optional parking lots, the multiple optional parking lots are sorted based on the number of vacant parking spaces in each optional parking lot to obtain a first sorting result;

[0094] Based on the first sorting result, a target parking lot is determined from a plurality of optional parking lots.

[0095] In some embodiments, when there are multiple optional parking lots with vacant parking spaces, the terminal device can obtain the number of vacant parking spaces in each parking lot. As described above, the terminal device can detect whether there are vacant parking spaces in the real-time image of the parking lot through the target detection model, and count the detected vacant parking spaces to obtain the number of vacant parking spaces in the parking lot.

[0096] Afterwards, when it is determined that there are multiple optional parking lots with vacant parking spaces, the terminal device can sort the multiple optional parking lots in descending order according to the number of vacant parking spaces to obtain a first sorting result. The larger the number of vacant parking spaces in the optional parking lot, the higher the position of the optional parking lot in the first sorting result.

[0097] After obtaining the first sorting result, the terminal device may determine the optional parking lot with the largest number of free parking spaces in the first sorting result as the target parking lot. Alternatively, after obtaining the first sorting result, the terminal device may display the first sorting result in the form of a picture or a table, and the larger the number of free parking spaces, the closer the optional parking lot is in the picture or the table. At the same time, the number of free parking spaces in each optional parking lot may be displayed in the table. The user may select one of the multiple optional parking lots as the target parking lot based on the displayed first sorting result. It should be understood that the method for determining the target parking lot from the multiple optional parking lots based on the first sorting result may include but is not limited to the above examples.

[0098] In an embodiment of the present application, after determining multiple optional parking lots, the multiple optional parking lots are sorted according to the number of vacant parking spaces in the multiple optional parking lots, and a target parking lot is determined from the multiple optional parking lots based on the sorting results. This can facilitate the selection of a parking lot with more vacant parking spaces, thereby facilitating the user to quickly find vacant parking spaces after entering the target parking lot, thereby reducing the difficulty of parking.

[0099] Optionally, based on the number of vacant parking spaces in each parking lot, a plurality of optional parking lots are sorted to obtain a first sorting result, including:

[0100] Obtaining target parameters corresponding to each optional parking lot; wherein the target parameters corresponding to the optional parking lot include the distance between the current position of the vehicle and the optional parking lot and / or the time required for the vehicle to travel from the current position to the optional parking lot;

[0101] Based on the number of vacant parking spaces in each optional parking lot and the corresponding target parameter, the plurality of optional parking lots are sorted to obtain a first sorting result.

[0102] Exemplarily, when it is determined that there are multiple optional parking lots, for each optional parking lot, the terminal device can determine the distance L between the current position of the vehicle and the optional parking lot, and predict the time T required for the vehicle to travel from the current position to the optional parking lot. At the same time, the number D of vacant parking spaces in the optional parking lot can be determined, and then the recommended value P of the optional parking lot can be determined by the formula shown below.

[0103] P = G1 × L + G2 × T + G3 × D;

[0104] Among them, G1 is the weight coefficient of the distance L, G2 is the weight coefficient of the prediction time T, and G3 is the weight coefficient of the number of vacant parking spaces D.

[0105] After determining the recommendation value P of each optional parking lot, the plurality of optional parking spaces may be sorted in descending order of the recommendation value to obtain a first sorting result, wherein the larger the recommendation value P, the higher the position of the optional parking lot in the first sorting result. Thereafter, the target parking lot may be determined from the plurality of optional parking lots according to the first sorting result.

[0106] It should be understood that in the process of sorting multiple optional parking lots, the multiple optional parking lots can also be sorted only according to the distance L and the number of vacant parking spaces D corresponding to the optional parking lots, or the multiple optional parking lots can be sorted only according to the predicted duration T and the number of vacant parking spaces D corresponding to the optional parking lots.

[0107] Alternatively, the target parameters corresponding to the optional parking lot may also include parking lot charging information. In the process of sorting the multiple optional parking lots, the multiple optional parking lots may be sorted according to the charging information of the optional parking lot, the number of vacant parking spaces D, the time duration T, and the distance L to obtain a first sorting result.

[0108] In an embodiment of the present application, multiple optional parking lots are sorted according to parameters such as the number of vacant parking spaces in the multiple optional parking lots, the distance between the vehicle and the current location, and the time required to reach the current location, and then a target parking lot is determined from the multiple optional parking lots based on the sorting results. This allows users to easily select a target parking lot that has vacant parking spaces and meets user needs to park their vehicles.

[0109] Optionally, obtain real-time images of various parking lots around the destination, including:

[0110] If the parking lot is an outdoor parking lot, a satellite image of the parking lot is obtained as a real-time image of the parking lot;

[0111] Alternatively, if the parking lot is an indoor parking lot, an image captured by a camera in the parking lot is obtained as a real-time image of the parking lot.

[0112] For example, after determining that there is at least one parking lot around the destination, the terminal device can obtain the type information of each parking lot from the map data. If the type information indicates that the parking lot is an outdoor parking lot such as an open-air parking lot or a roadside parking area, a satellite image of the area where the parking lot is located is obtained from the server, and the obtained satellite image is used as a real-time image of the parking lot. Similarly, if the type information indicates that the parking lot is an indoor parking lot such as a parking building or an underground garage, the terminal device can obtain a real-time image captured and uploaded by a camera in the parking lot from the server.

[0113] Optionally, in the process of determining whether there are vacant parking spaces in the parking lot based on satellite images, if it is determined that the parking spaces in the parking lot are blocked by structures such as roofs, vegetation, and buildings, and it is impossible to determine whether there are vacant parking spaces in the parking lot through satellite images, the terminal device can obtain real-time images taken and uploaded by cameras in the parking lot from the server, and determine again whether there are vacant parking spaces in the parking lot based on the real-time images taken by the cameras.

[0114] In an embodiment of the present application, when the parking lot is an outdoor parking lot, the satellite image of the parking lot is used to detect whether there are vacant parking spaces in the parking lot. When the parking lot is an indoor parking lot, the image captured by the camera is used to detect whether there are vacant parking spaces in the parking lot. It is possible to more accurately determine whether there are vacant parking spaces in the parking lot.

[0115] Optionally, before providing the vehicle with a driving route to the target parking lot, the method may further include:

[0116] If there are multiple parking lots and the number of optional parking lots is 0, the multiple parking lots are sorted according to the number of parking spaces in each parking lot to obtain a second sorting result;

[0117] Based on the second sorting result, a target parking lot is determined from among the plurality of parking lots.

[0118] In an exemplary embodiment, when there are multiple parking lots around the destination, but there is no optional parking lot in the multiple parking lots, the terminal device can first determine the number of parking spaces in each parking lot. For example, the terminal device can recognize the real-time image of the parking lot through the target detection model, identify each parking space in the parking lot, and count the parking spaces in the parking lot to obtain the number of parking spaces in the parking lot. Afterwards, for multiple parking lots, the multiple parking lots can be sorted in descending order of the number of parking spaces in the parking lot to obtain a second sorting result. The larger the number of parking spaces in the parking lot, the higher the position of the parking lot in the second sorting result.

[0119] After obtaining the second sorting result, the terminal device may directly determine the first parking lot in the second sorting result, that is, the parking lot with the most parking spaces, as the target parking lot. Alternatively, the terminal device may display the second sorting result in the form of a picture or a table, so that the user can determine the target parking lot from the second sorting result.

[0120] Optionally, in the process of sorting multiple parking lots according to the number of parking spaces in the parking lot, the multiple parking lots can also be sorted according to the parking lot's charging information, the distance between the parking lot and the vehicle's current location, the time required to travel from the current location to the parking lot, etc. to obtain a second sorting result.

[0121] In an embodiment of the present application, if there are no vacant parking spaces in the parking lots around the destination, the target parking lot can be determined based on the number of parking spaces in each parking lot. Since the more parking spaces there are in a parking lot, the greater the probability of vacant parking spaces appearing in the parking lot, this allows users to choose a parking lot with a higher probability of vacant parking spaces to park their vehicles, thereby reducing the difficulty of parking.

[0122] See also Figure 3 , Figure 3 is a flowchart of a navigation method provided by an embodiment of the present application. Figure 3 As shown, the method may include the following steps:

[0123] Step 301: Get the destination of the vehicle.

[0124] Step 302: Determine whether there is a parking lot around the destination.

[0125] Step 303: Output the first notification information.

[0126] In this embodiment, before starting the vehicle or before the vehicle reaches the destination, the user can input relevant information of the destination to be reached by the vehicle into the terminal device. Afterwards, the terminal device determines from the map data whether there is a parking lot within a preset radius centered on the destination. If there is no parking lot, the terminal device executes step 303 and outputs the first notification information to inform the user that there is no parking lot around the destination. If there is a parking lot, the terminal device executes step 304.

[0127] Step 304: Determine whether a preset distance threshold and / or a preset duration threshold is reached.

[0128] Step 305: Acquire real-time images of each parking lot.

[0129] In this embodiment, when there are one or more parking lots around the destination, the terminal device can obtain the remaining distance between the current position of the vehicle and the destination or the remaining time required to travel from the current position to the destination in real time. When the remaining distance is less than a preset distance threshold or the remaining time is less than a preset time threshold, step 305 is executed to obtain real-time images of each parking lot.

[0130] Step 306: Determine whether there is at least one optional parking lot based on the real-time images of each parking lot.

[0131] Step 307: Determine a target parking lot from at least one optional parking lot.

[0132] Step 308: Provide the user with a driving route to the target parking lot.

[0133] Step 309: Output the second notification information.

[0134] In this embodiment, after acquiring the real-time images of each parking lot, the terminal device determines whether there are vacant parking spaces in the parking lot according to the real-time images of each parking lot, so as to determine whether the parking lot is an optional parking lot. If there are one or more optional parking lots, the terminal device executes steps 307 and 308 to determine the target parking lot from at least one optional parking lot and provide the user with a driving route to the target parking lot. If there are no optional parking lots, the terminal device may execute step 309 to output a second notification message to notify the user that there are no vacant parking spaces in the parking lots around the destination.

[0135] See also Figure 4 , Figure 4 Schematic diagram of the structure of a navigation device provided by an embodiment of the present application. Figure 4 As shown, the navigation device 400 may be arranged in a host terminal in a vehicle, and may include:

[0136] The acquisition module 401 is used to acquire real-time images of various parking lots around the destination before the vehicle drives to the destination;

[0137] A determination module 402 is used to determine, for each parking lot, whether there is an empty parking space in the parking lot according to the real-time image of the parking lot, and if so, determine that the parking lot is an optional parking lot;

[0138] The determination module 402 is further configured to determine a target parking lot from the optional parking lots;

[0139] The providing module 403 is used to provide the vehicle with a driving route of the target parking lot.

[0140] In combination with the first aspect, in some possible implementations, the acquisition module 401 is specifically used to acquire real-time images of the various parking lots when the remaining driving distance is less than a preset distance threshold; wherein the remaining driving distance is the distance between the current position of the vehicle and the destination; or, when the remaining driving time is less than a preset time threshold, acquire real-time images of the various parking lots; wherein the remaining driving time is the predicted time for the vehicle to travel from the current position to the destination.

[0141] In combination with the first aspect, in some possible implementations, the determination module 402 is specifically used to determine the number of vacant parking spaces in the parking lot according to a real-time image of the parking lot when there are multiple parking lots; when the target time point is within the parking peak, if the number of vacant parking spaces in the parking lot is greater than a preset number threshold, determine that the parking lot is the optional parking lot; wherein the target time point is the predicted time point for driving from the current position to the parking lot.

[0142] In combination with the first aspect, in some possible implementations, the determination module 402 is specifically used to, when there are multiple optional parking lots, sort the multiple optional parking lots based on the number of vacant parking spaces in each of the optional parking lots to obtain a first sorting result; and determine the target parking lot from the multiple optional parking lots based on the first sorting result.

[0143] In combination with the first aspect, in some possible implementations, the determination module 402 is specifically used to obtain target parameters corresponding to each of the optional parking lots; wherein the target parameters corresponding to the optional parking lots include the distance between the current position of the vehicle and the optional parking lot and / or the time required for the vehicle to travel from the current position to the optional parking lot; based on the number of vacant parking spaces in each of the optional parking lots and the corresponding target parameters, the multiple optional parking lots are sorted to obtain the first sorting result.

[0144] In combination with the first aspect, in some possible implementations, the acquisition module 401 is specifically used to acquire a satellite image of the parking lot as a real-time image of the parking lot if the parking lot is an outdoor parking lot; or, if the parking lot is an indoor parking lot, acquire an image captured by a camera inside the parking lot as a real-time image of the parking lot.

[0145] In combination with the first aspect, in some possible implementations, the determination module 402 is further used to, if there are multiple parking lots and the number of optional parking lots is 0, sort the multiple parking lots according to the number of parking spaces in each parking lot to obtain a second sorting result; based on the second sorting result, determine the target parking lot from the multiple parking lots.

[0146] See also Figure 5 , Figure 5 It is a structural diagram of a terminal device provided in an embodiment of the present application.

[0147] For example, Figure 5As shown, the terminal device 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a navigation method.

[0148] In addition, an embodiment of the present application also protects a navigation device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a navigation method provided by an embodiment of the present application.

[0149] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0150] In the case of dividing each functional module according to each function, the device may also include an authentication module, a determination module, a startup module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0151] It should be understood that the device provided in this embodiment is used to execute the above-mentioned navigation method, and thus can achieve the same effect as the above-mentioned implementation method.

[0152] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a terminal device, the processing module may be used to control and manage the actions of the terminal device. The storage module may be used to support the terminal device in executing related program codes, etc.

[0153] The processing module may be a processor or a body control module, which may implement or execute various exemplary logic blocks, modules and circuits shown in combination with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0154] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a navigation method provided in the above embodiments.

[0155] This embodiment further provides a readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a navigation method provided by the above-mentioned embodiment.

[0156] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a navigation method provided by the above-mentioned embodiment.

[0157] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0158] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0159] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0160] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A navigation method, characterized in that: The method comprises: Before the vehicle drives to the destination, obtaining real-time images of various parking lots around the destination; For each parking lot, determine whether there is an empty parking space in the parking lot according to the real-time image of the parking lot, and if so, determine that the parking lot is an optional parking lot; determining a target parking lot from the optional parking lots; A driving route to the target parking lot is provided to the vehicle.

2. The method according to claim 1, characterized in that Before the vehicle drives to the destination, obtaining real-time images of various parking lots around the destination includes: When the remaining driving distance is less than a preset distance threshold, obtaining real-time images of each parking lot; wherein the remaining driving distance is the distance between the current position of the vehicle and the destination; Or, when the remaining driving time is less than a preset time threshold, real-time images of the various parking lots are obtained; wherein the remaining driving time is the predicted time for the vehicle to travel from the current position to the destination.

3. The method according to claim 2, characterized in that The step of determining whether there are vacant parking spaces in the parking lot according to the real-time image of the parking lot, and if so, determining that the parking lot is an optional parking lot, includes: In the case where there are multiple parking lots, determining the number of vacant parking spaces in the parking lot according to the real-time image of the parking lot; When the target time point is within the parking peak period, if the number of vacant parking spaces in the parking lot is greater than a preset number threshold, the parking lot is determined to be the optional parking lot; wherein the target time point is the predicted time point for driving from the current position to the parking lot.

4. The method according to claim 1, characterized in that The determining of a target parking lot from the optional parking lots includes: In the case where there are multiple optional parking lots, sorting the multiple optional parking lots based on the number of vacant parking spaces in each of the optional parking lots to obtain a first sorting result; The target parking lot is determined from a plurality of the optional parking lots based on the first sorting result.

5. The method according to claim 4, characterized in that The step of sorting the plurality of optional parking lots based on the number of vacant parking spaces in each of the optional parking lots to obtain a first sorting result includes: Acquire a target parameter corresponding to each of the optional parking lots; wherein the target parameter corresponding to the optional parking lot includes a distance between the current position of the vehicle and the optional parking lot and / or a time required for the vehicle to travel from the current position to the optional parking lot; The first sorting result is obtained by sorting the plurality of optional parking lots based on the number of vacant parking spaces in each of the optional parking lots and the corresponding target parameter.

6. The method according to claim 1, characterized in that The acquiring of real-time images of various parking lots around the destination includes: If the parking lot is an outdoor parking lot, obtaining a satellite image of the parking lot as a real-time image of the parking lot; Alternatively, if the parking lot is an indoor parking lot, an image captured by a camera in the parking lot is acquired as a real-time image of the parking lot.

7. The method according to any one of claims 1 to 6, characterized in that Before providing the vehicle with the driving route of the target parking lot, the method further includes: If there are multiple parking lots and the number of optional parking lots is 0, sorting the multiple parking lots according to the number of parking spaces in each parking lot to obtain a second sorting result; The target parking lot is determined from the plurality of parking lots based on the second sorting result.

8. A navigation device, characterized in that: The device comprises: An acquisition module, used to acquire real-time images of various parking lots around the destination before the vehicle drives to the destination; a determination module, for determining, for each parking lot, whether there is an empty parking space in the parking lot according to the real-time image of the parking lot, and if so, determining the parking lot as an optional parking lot; The determining module is further configured to determine a target parking lot from the optional parking lots. A module is provided, for providing the vehicle with a driving route of the target parking lot.

9. A terminal device, characterized in that: The terminal device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.