Parking area recommendation method and device

文档序号:9613 发布日期:2021-09-17 浏览:48次 中文

1. A parking area recommendation method, comprising:

acquiring a driving track route of a shared vehicle used by a user in a set time period;

acquiring at least one parking area;

acquiring recommended data of each parking area according to the driving track route, wherein the recommended data comprises a value of a first parameter and a value of a second parameter, the first parameter is used for representing whether the parking area is on the target side of the road or not based on the advancing direction of the shared vehicle along the road, and the second parameter is used for representing whether the parking area is in front of the shared vehicle or not based on the advancing direction;

generating recommended information of the parking areas according to the recommended data of each parking area;

and displaying the parking area recommendation information to the user.

2. The method of claim 1, wherein the obtaining recommendation data for each of the parking areas according to the driving path route comprises:

obtaining the advancing direction according to the driving track route and the extending direction of the road;

and obtaining the value of the parking area corresponding to the first parameter according to the advancing direction, the center line of the road and the central point of the parking area.

3. The method of claim 2, wherein obtaining the value of the parking area corresponding to the first parameter from the direction of travel, a centerline of the roadway, and a center point of the parking area comprises:

obtaining a first vector, wherein the starting point of the first vector is any point on the central line, and the pointing direction of the first vector is the same as the advancing direction;

acquiring a second vector, wherein the second vector points to the central point from the starting point of the first vector;

and determining the value of the parking area corresponding to the first parameter according to the rotation direction and the rotation angle from the first vector to the second vector.

4. The method of claim 1, wherein the trajectory route comprises: the driving position of the shared vehicle at each sampling time point in the set time period;

the obtaining of the recommended data of each parking area according to the driving path route includes:

obtaining the advancing direction according to the driving track route and the extending direction of the road;

acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period;

and obtaining the value of the parking area corresponding to the second parameter according to the advancing direction, the center line of the road, the central point of the parking area and the target driving position.

5. The method of claim 4, wherein obtaining the value of the parking area corresponding to the second parameter according to the forward traveling direction, the center line of the road, the center point of the parking area, and the target driving position comprises:

acquiring a target intersection point, wherein a connecting line between the target intersection point and the target driving position is vertical to the central line;

obtaining a third vector, wherein the starting point of the third vector is the target intersection point, and the pointing direction of the third vector is the same as the advancing direction;

acquiring a fourth vector, wherein the fourth vector is a vector pointing to the central point from the target intersection point;

and determining the value of the parking area corresponding to the second parameter according to the included angle between the third vector and the fourth vector.

6. The method of claim 4, wherein obtaining the value of the parking area corresponding to the second parameter according to the forward traveling direction, the center line of the road, the center point of the parking area, and the target driving position comprises:

generating a driving planning route corresponding to the parking area according to the forward direction, the central point of the parking area and the target driving position;

acquiring a first area range obtained by extending a set width to two sides of the driving planning route;

acquiring a third area range in which the first area range and the second area range are intersected, wherein the second area range is an area range obtained according to the driving track route;

and obtaining the value of the parking area corresponding to the second parameter according to the third area range.

7. The method according to claim 6, wherein the obtaining of the value of the parking area corresponding to the second parameter according to the third area range comprises:

detecting whether the ratio of the third area range to the second area range is smaller than or equal to a first set threshold value or not;

determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is in front of the shared vehicle when the ratio is equal to or less than the first set threshold;

and determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is behind the shared vehicle, when the ratio is greater than the first set threshold.

8. The method of claim 1, wherein after said obtaining at least one parking area, the method further comprises:

acquiring at least one driving planning route corresponding to the parking area;

the recommended data further comprises a value of a third parameter and a value of a fourth parameter, the third parameter is used for representing the total route length and/or the predicted total consumption of the parking area corresponding to each driving planning route, and the fourth parameter is used for representing the walking route length and/or the predicted walking consumption of the parking area corresponding to each driving planning route.

9. The method of claim 8, wherein generating parking area recommendation information based on the recommendation data for each of the parking areas comprises:

converting the value of the first parameter, the value of the second parameter, the value of the third parameter and the value of the fourth parameter included in the recommendation data of the parking area into corresponding scores respectively according to a set conversion rule for converting the values of the parameters into the corresponding scores;

obtaining a recommended score of each driving planning route of the parking area according to the score obtained by conversion;

and generating the recommended information of the parking area according to the recommendation score.

10. The method of claim 1, wherein said obtaining at least one parking area comprises:

acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period;

and acquiring the at least one parking area, wherein the straight line distance between the center point of each parking area and the target driving position is not greater than a second set threshold value.

11. A parking area recommendation device, comprising:

the first acquisition module is used for acquiring a driving track route of a shared vehicle used by a user in a set time period;

the second acquisition module is used for acquiring at least one parking area;

a third obtaining module, configured to obtain recommended data of each parking area according to the driving trajectory route, where the recommended data includes a value of a first parameter and a value of a second parameter, the first parameter is used to indicate whether the parking area is on a target side of a road based on a forward direction of the shared vehicle along the road, and the second parameter is used to indicate whether the parking area is in front of the shared vehicle based on the forward direction;

the generating module is used for generating parking area recommendation information according to the recommendation data of each parking area; and the number of the first and second groups,

and the display module is used for displaying the parking area recommendation information to the user.

12. An electronic device comprising a memory and a processor, the memory for storing a computer program; the processor is adapted to execute the computer program to implement the method according to any of claims 1-10.

13. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.

Background

When the user travels to the destination by riding the shared vehicle, the user will eventually ride the shared vehicle to a fixed-point parking area at the destination, and park the shared vehicle in a certain parking area according to the regulations.

In general, a plurality of parking areas are present at a destination. In order for the user to park the shared vehicle, it is necessary to recommend a parking area to the user.

Disclosure of Invention

An object of the present disclosure is to provide a new technical solution for recommending a parking area.

According to a first aspect of the present disclosure, there is provided an embodiment of a parking area recommendation method, including: acquiring a driving track route of a shared vehicle used by a user in a set time period; acquiring at least one parking area; acquiring recommended data of each parking area according to the driving track route, wherein the recommended data comprises a value of a first parameter and a value of a second parameter, the first parameter is used for representing whether the parking area is on the target side of the road or not based on the advancing direction of the shared vehicle along the road, and the second parameter is used for representing whether the parking area is in front of the shared vehicle or not based on the advancing direction; generating recommended information of the parking areas according to the recommended data of each parking area; and displaying the parking area recommendation information to the user.

Optionally, the obtaining recommendation data of each parking area according to the driving path route includes: obtaining the advancing direction according to the driving track route and the extending direction of the road; and obtaining the value of the parking area corresponding to the first parameter according to the advancing direction, the center line of the road and the central point of the parking area.

Optionally, the obtaining, according to the forward direction, the center line of the road, and the center point of the parking area, a value of the parking area corresponding to the first parameter includes: obtaining a first vector, wherein the starting point of the first vector is any point on the central line, and the pointing direction of the first vector is the same as the advancing direction; acquiring a second vector, wherein the second vector points to the central point from the starting point of the first vector; and determining the value of the parking area corresponding to the first parameter according to the rotation direction and the rotation angle from the first vector to the second vector.

Optionally, the trajectory route includes: the driving position of the shared vehicle at each sampling time point in the set time period;

the obtaining of the recommended data of each parking area according to the driving path route includes: obtaining the advancing direction according to the driving track route and the extending direction of the road; acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period; and obtaining the value of the parking area corresponding to the second parameter according to the advancing direction, the center line of the road, the central point of the parking area and the target driving position.

Optionally, the obtaining, according to the forward moving direction, the center line of the road, the center point of the parking area, and the target driving position, a value of the parking area corresponding to the second parameter includes: acquiring a target intersection point, wherein a connecting line between the target intersection point and the target driving position is vertical to the central line; obtaining a third vector, wherein the starting point of the third vector is the target intersection point, and the pointing direction of the third vector is the same as the advancing direction; acquiring a fourth vector, wherein the fourth vector is a vector pointing to the central point from the target intersection point; and determining the value of the parking area corresponding to the second parameter according to the included angle between the third vector and the fourth vector.

Optionally, the obtaining, according to the forward moving direction, the center line of the road, the center point of the parking area, and the target driving position, a value of the parking area corresponding to the second parameter includes: generating a driving planning route corresponding to the parking area according to the forward direction, the central point of the parking area and the target driving position; acquiring a first area range obtained by extending a set width to two sides of the driving planning route; acquiring a third area range in which the first area range and the second area range are intersected, wherein the second area range is an area range obtained according to the driving track route; and obtaining the value of the parking area corresponding to the second parameter according to the third area range.

Optionally, the obtaining a value of the parking area corresponding to the second parameter according to the third area range includes: detecting whether the ratio of the third area range to the second area range is smaller than or equal to a first set threshold value or not; determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is in front of the shared vehicle when the ratio is equal to or less than the first set threshold; and determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is behind the shared vehicle, when the ratio is greater than the first set threshold.

Optionally, after the acquiring at least one parking area, the method further comprises: acquiring at least one driving planning route corresponding to the parking area; the recommended data further comprises a value of a third parameter and a value of a fourth parameter, the third parameter is used for representing the total route length and/or the predicted total consumption of the parking area corresponding to each driving planning route, and the fourth parameter is used for representing the walking route length and/or the predicted walking consumption of the parking area corresponding to each driving planning route.

Optionally, the generating of recommended parking area information according to the recommended data of each parking area includes: converting the value of the first parameter, the value of the second parameter, the value of the third parameter and the value of the fourth parameter included in the recommendation data of the parking area into corresponding scores respectively according to a set conversion rule for converting the values of the parameters into the corresponding scores; obtaining a recommended score of each driving planning route of the parking area according to the score obtained by conversion; and generating the recommended information of the parking area according to the recommendation score.

Optionally, the obtaining at least one parking area comprises: acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period; and acquiring the at least one parking area, wherein the straight line distance between the center point of each parking area and the target driving position is not greater than a second set threshold value.

According to a second aspect of the present disclosure, there is provided an embodiment of a parking area recommendation device, comprising: the first acquisition module is used for acquiring a driving track route of a shared vehicle used by a user in a set time period; the second acquisition module is used for acquiring at least one parking area; a third obtaining module, configured to obtain recommended data of each parking area according to the driving trajectory route, where the recommended data includes a value of a first parameter and a value of a second parameter, the first parameter is used to indicate whether the parking area is on a target side of a road based on a forward direction of the shared vehicle along the road, and the second parameter is used to indicate whether the parking area is in front of the shared vehicle based on the forward direction; the generating module is used for generating parking area recommendation information according to the recommendation data of each parking area; and the display module is used for displaying the parking area recommendation information to the user.

According to a third aspect of the present disclosure, there is provided one embodiment of an electronic device comprising a memory for storing a computer program and a processor; the processor is adapted to execute the computer program to implement the method according to the first aspect of the present description.

According to a fourth aspect of the present disclosure, there is provided one embodiment of a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect of the present description.

The parking area recommendation method and the parking area recommendation device have the advantages that at least one parking area is obtained, recommendation data of each parking area are obtained according to the driving track route of the vehicle used by a user, the recommendation data represent that the parking area is located on the left side or the right side of a road and the parking area is located in front of or behind the vehicle, and then the parking area recommendation information is generated based on the recommendation data of each parking area and displayed to the user. Based on this, the user can select a parking area to park the vehicle as required, and the user experience is good.

Other features of the present description and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.

Fig. 1 is a schematic structural diagram of a parking area recommendation system to which the parking area recommendation method according to the embodiment of the present disclosure can be applied;

FIG. 2 is a flow diagram of a parking area recommendation method according to one embodiment;

FIG. 3 is a schematic diagram of an implementation of determining a value of a first parameter, according to one embodiment;

FIG. 4 is a schematic diagram of an implementation of determining a value of a second parameter, according to one embodiment;

FIG. 5 is a schematic diagram of an implementation of determining a value of a second parameter according to another embodiment;

FIG. 6 is a flow diagram of a parking area recommendation method according to another embodiment;

FIG. 7 is a block schematic diagram of a parking area recommendation device according to one embodiment;

fig. 8 is a hardware configuration diagram of a parking area recommendation device according to an embodiment.

Detailed Description

Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.

In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.

It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.

The disclosed embodiments relate to an application scenario for recommending parking areas.

To above demand, can look for parking area by oneself by the user and park the vehicle, through the analysis, the not good problem of user experience can exist to this kind of mode. For example, assuming that there are two parking areas nearby, parking area 1 on the left side of the road and parking area 2 on the right side of the road, the parking area 1 is closer to the visual inspection, and the parking area 2 is farther or out of the visual inspection, the user will typically select parking area 1 to park the vehicle. However, the user experience is not good because the user needs to traverse the road and needs to return for a certain distance when going to the parking area 1. Conversely, if the user is heading for parking area 2, then there is no need to traverse the road and no need to return, so that the user's experience of heading for parking area 2 is generally better than the experience of heading for parking area 1.

In view of the technical problems of the foregoing embodiments, the present disclosure provides a parking area recommendation method, which obtains at least one parking area, and obtains recommendation data of each parking area according to a trajectory route of a vehicle used by a user, where the recommendation data represents that the parking area is on the left side or the right side of a road and the parking area is in front of or behind the vehicle, and further generates parking area recommendation information based on the recommendation data of each parking area and displays the parking area recommendation information to the user. Based on this, the user can select a parking area to park the vehicle as required, and the user experience is good.

< hardware configuration >

Fig. 1 is a schematic block diagram of a parking area recommendation system 100 that can be used to implement embodiments of the present disclosure.

As shown in fig. 1, the parking area recommendation system 100 includes a server 2000, a terminal device 1000, and a vehicle 3000.

The server 2000 and the terminal device 1000, and the server 2000 and the vehicle 3000 may be communicatively connected through a network 4000. The vehicle 3000 and the server 2000, and the network 4000 over which the terminal apparatus 1000 and the server 2000 communicate with each other may be the same or different. The network 4000 may be a wireless communication network or a wired communication network, and may be a local area network or a wide area network.

The server 2000 provides a service point for processes, databases, and communications facilities. The server 2000 may be a monolithic server, a distributed server across multiple computers, a computer data center, a cloud server, or a cloud-deployed server cluster, etc. The server may be of various types, such as, but not limited to, a web server, a news server, a mail server, a message server, an advertisement server, a file server, an application server, an interaction server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the server. The specific configuration of the server 2000 may include, but is not limited to, a processor 2100, a memory 2200, an interface device 2300, and a communication device 2400. Processor 2100 is used to execute computer programs written in an instruction set of an architecture such as x86, Arm, RISC, MIPS, SSE, and so on. The memory 2200 is, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, or the like. The interface device 2300 is, for example, a USB interface, a serial interface, a parallel interface, or the like. The communication device 2400 is, for example, capable of wired communication or wireless communication, and may include, for example, WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like.

As applied to the disclosed embodiment, the memory 2200 of the server 2000 is configured to store a computer program for controlling the processor 2100 to operate to provide support for implementing a parking area recommendation method according to any of the embodiments. The skilled person can design the computer program according to the solution disclosed in the present disclosure. How the computer program controls the processor to operate is well known in the art and will not be described in detail here.

It will be understood by those skilled in the art that the server 2000 may include other devices besides the devices shown in fig. 1, and is not limited thereto.

In this embodiment, the terminal device 1000 is, for example, a mobile phone, a portable computer, a tablet computer, a palmtop computer, a wearable device, or the like.

The terminal device 1000 is installed with a vehicle-using application client, and a user can operate the vehicle-using application client to achieve the purpose of using the vehicle 3000.

The terminal apparatus 1000 may include, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a graphics processing unit GPU, a microprocessor MCU, or the like, and is configured to execute a computer program, and the computer program may be written by using an instruction set of architectures such as x86, Arm, RISC, MIPS, and SSE. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 is capable of wired communication using an optical fiber or a cable, or wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 1170 is used to output audio signals. The microphone 1180 is used to pick up audio signals.

As applied to the disclosed embodiment, the memory 1200 of the terminal device 1000 is used to store a computer program for controlling the processor 1100 to operate so as to provide support for implementing the parking area recommendation method according to any of the embodiments, and how the computer program controls the processor to operate is well known in the art and thus will not be described in detail herein. The terminal device 1000 may be installed with an intelligent operating system (e.g., Windows, Linux, android, IOS, etc.) and application software.

It should be understood by those skilled in the art that although a plurality of means of the terminal device 1000 are shown in fig. 1, the terminal device 1000 of the embodiments of the present disclosure may refer to only some of the means therein, for example, only the processor 1100, the memory 1200, and the like.

The vehicle 3000 may be a bicycle shown in fig. 1, and may be various types such as a tricycle, an electric scooter, a motorcycle, and a four-wheeled passenger vehicle, and is not limited thereto.

The vehicle 3000 may include, but is not limited to, a processor 3100, a memory 3200, an interface device 3300, a communication device 3400, a display device 3500, an input device 3600, a speaker 3700, a microphone 3800, and so forth. The processor 3100 may be a microprocessor MCU or the like. The memory 3200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface 3300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 3400 can perform wired communication using an optical fiber or a cable, for example, or perform wireless communication, and specifically may include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, or the like. The display device 3500 may be, for example, a liquid crystal display panel, a touch panel, or the like. The input device 3600 may include, for example, a touch panel, a keyboard, or the like, and may input voice information through a microphone. Vehicle 3000 may output audio signals through speaker 3700 and capture audio signals through microphone 3800.

As applied to the disclosed embodiment, the memory 3200 of the vehicle 3000 is configured to store a computer program for controlling the processor 3100 to operate to perform information interaction with the server 2000 to provide support for implementing a parking area recommendation method according to any of the embodiments. How the computer program controls the processor to operate is well known in the art and will not be described in detail here.

Although a plurality of devices of the vehicle 3000 are shown in fig. 1, the present invention may relate only to some of the devices, for example, the vehicle 3000 relates only to the processor 3100, the memory 3200, and the communication device 3400.

It should be understood that although fig. 1 shows only one server 2000, terminal apparatus 1000, and vehicle 3000, it is not meant to limit the number of each, and a plurality of servers 2000, a plurality of terminal apparatuses 1000, and a plurality of vehicles 3000 may be included in the present system.

Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.

< method embodiment I >

Fig. 2 is a flowchart illustrating a parking area recommendation method according to an embodiment, which may be implemented by the parking area recommendation system 100 shown in fig. 1, or may also be implemented by the terminal device 1000 or the server 2000 shown in fig. 1.

The parking area in this embodiment may be a pre-planned fixed-point parking area. In order to standardize the ordered parking of the shared vehicle, a user needs to park the shared vehicle in any parking area after using the shared vehicle, and the shared vehicle cannot be parked randomly. This shared vehicle may be a shared electric bicycle, a shared bicycle, or other shared vehicle.

When a user rides a shared vehicle, if the user needs to park, the user can search a nearby fixed-point parking area and go to the parking area to park. For example, the user may eventually ride near the destination and seek a nearby parking area to park.

When a user needs to park, a plurality of parking areas capable of parking vehicles usually exist nearby, but the experience of the user for going to each parking area is different, because the directions of different parking areas relative to the current driving position of the user are different, so that influence factors such as whether to cross a road and whether to return to the different parking areas are different. Therefore, it is necessary to recommend a parking area for the user based on the influence factors, so that the user can conveniently go to a proper parking area to park, and the user experience is improved.

As shown in fig. 2, the parking area recommendation method of the present embodiment may include the following steps S210 to S250:

step S210, acquiring a driving track route of the shared vehicle used by the user in a set time period.

Under the condition that the user needs to park, the driving track route of the shared vehicle used by the user in the set time period can be obtained, so that the recommended data of the nearby parking area can be obtained based on the driving track route.

In a possible implementation, the set time period may take the time when the user makes the parking request as the end time, and advance the set time period by the end time to obtain the start time. For example, the set time period may be set to 20s, 30s, 1min, or the like as needed.

In this embodiment, in order to obtain recommended data of a nearby parking area according to a driving path route, driving positions of the shared vehicle in the set time period should not be completely the same, that is, the shared vehicle is in a non-parking static state in the set time period. Based on this, in an embodiment of the present disclosure, it may be detected whether the driving position of the shared vehicle within the set time period is unchanged, and if yes, the set time period may be delayed to update the set time period until the driving position of the shared vehicle within the set time period is changed.

In a possible implementation, the driving trajectory route may be obtained based on positioning related data collected by a positioning module in the shared vehicle and/or based on positioning related data collected by a positioning module in a terminal device held by the user. In general, it can be default that the positioning positions of the user, the terminal device held by the user, and the shared vehicle used by the user during the vehicle taking process are consistent within an allowable error range.

Step S220, at least one parking area is acquired.

Based on the above, in order to recommend parking areas to the user, when the user needs to park a vehicle, it is necessary to acquire each parking area in the vicinity in addition to the trajectory route.

In a feasible implementation manner, the current driving position of the shared vehicle can be acquired under the condition that the user sends out a parking request, and each nearby parking area can be acquired based on the driving position.

In a possible implementation, the driving position may be obtained based on positioning-related data collected by a positioning module in the shared vehicle and/or based on positioning-related data collected by a positioning module in a terminal device held by the user.

In general, the driving position is also the last driving position of the shared vehicle in the set time period, that is, the last driving position in the driving trajectory route.

Based on this, in an embodiment of the present disclosure, the step S220 of acquiring at least one parking area may include the following steps S2201 to S2202:

step S2201, acquiring a target driving position, where the target driving position is the last driving position of the shared vehicle in the set time period.

In this embodiment, the target driving position may be obtained when the user sends a parking request.

In a feasible implementation manner, the terminal device of the user may be installed with corresponding application software, and the user may send the parking request by triggering a corresponding preset function key on the application software. In another possible implementation, the shared vehicle may be provided with a corresponding key that the user may activate to issue a parking request.

Step S2202, acquiring the at least one parking area, where a linear distance between a center point of each parking area and the target driving position is not greater than a second set threshold.

In this embodiment, a circular area may be obtained by using the target driving position as the center and the set length as the radius, and the at least one parking area may be formed by each parking area in the circular area. Therefore, the distance of the user to any parking area can be ensured not to be too long, the time consumption is not too much, and the influence on the user experience is avoided.

In other embodiments of the present disclosure, the parking area may be obtained first, and then the trajectory route is obtained, or the parking area and the trajectory route are obtained simultaneously, which is not limited in this embodiment.

In this embodiment, after the driving path route and at least one parking area nearby are obtained, the recommendation data of each parking area can be obtained accordingly.

Step S230, obtaining recommended data of each parking area according to the driving path route, where the recommended data includes a value of a first parameter and a value of a second parameter, the first parameter is used to represent whether the parking area is on a target side of the road based on a forward direction of the shared vehicle along the road, and the second parameter is used to represent whether the parking area is in front of the shared vehicle based on the forward direction.

In this embodiment, the driving track route may include driving positions of the shared vehicle at each sampling time point within a set time period, and the recommended data of each parking area may be obtained based on the driving track route and the positions of the parking areas.

In this embodiment, the recommendation data relates to at least two parameters, a first parameter for characterizing whether the parking area is on the road target side and a second parameter for characterizing whether the parking area is in front of the shared vehicle.

In this embodiment, the value of the first parameter may be obtained through the ipsilateral determination operation, that is, it is determined whether the parking area is on the same side of the road in the current riding direction of the user. If the parking area is on the same side relative to the user, the user can park directly. On the contrary, if the parking area is not on the same side (i.e. different side) with respect to the user, the user needs to cross the road to reach the parking area, i.e. needs to park on the opposite side of the road.

In this embodiment, the value of the second parameter may be obtained through the equidirectional determination operation, that is, it is determined whether the parking area is in the direction in which the user is currently riding. If the parking area is in the same direction relative to the user, the user can reach the parking area by continuing to ride forward. On the contrary, if the parking area is not the same direction (i.e. reverse direction) with respect to the user, the user needs to turn around and ride back to reach the parking area.

Therefore, whether the parking area is on the same side with the shared vehicle or not can be obtained based on the value of the first parameter, namely whether the user needs to cross the road when going to the corresponding parking area for parking can be determined; whether the parking area is in the same direction as the shared vehicle or not can be known based on the value of the second parameter, namely whether the user needs to return when going to the corresponding parking area for parking can be determined.

Considering that parking areas on different sides and in different directions usually require a user to cross roads for parking, the safety risk of parking of the user is improved, and the user experience is reduced. Based on this, under the condition that other influence factors are the same, the same side is preferred to different sides, and the return process is not preferred to the return process, that is, the parking areas on the same side and in the same direction can be preferred and recommended to the user, so that the safety risk is reduced, and the user experience is improved.

In this embodiment, the road is a road where the shared vehicle is located, and the road may be determined by a current driving position of the shared vehicle or the driving track route. The road is a road supporting one-way driving of vehicles.

In this embodiment, the parking area on the target side of the road may be expressed as the parking area and the shared vehicle being on the same side with respect to the road. In general, the target side may be the right side. In other implementations, the target side may also be the left side.

In the embodiment, the recommended data of the parking area is generated by using the driving track route, namely, the driving track route is used for acquiring the advancing direction of the vehicle along the road, so that whether the parking area and the user are on the same side or in the same direction can be acquired conveniently, and the advancing direction is acquired without using a direction positioning mode based on a gyroscope, so that the accuracy of judging the advancing direction can be improved, and the recommended effect of the parking area is ensured. This is because: when a user rides on a road, the user cannot guarantee that the vehicle rides along the extending direction of the road at any time, for example, the vehicle may ride obliquely within a short time period, so that the directional usability of the vehicle is not high. Therefore, if the forward direction is determined by the direction positioning information of the gyroscope in the time period, the forward direction is not favorable to be accurately acquired.

The gyroscope may be a gyroscope in a terminal device or a vehicle. Thus, the parking area recommendation method provided by the embodiment is suitable for terminal devices without gyroscopes and shared vehicles without gyroscopes.

And step S240, generating parking area recommendation information according to the recommendation data of each parking area.

In this embodiment, according to the recommendation data of each parking area, the parking area recommendation information for presenting to the user may be generated.

In a possible implementation manner, the parking areas recommended in the parking area recommendation information may be part or all of the at least one parking area, for example, only the relatively most preferred parking area may be recommended, a plurality of relatively more preferred parking areas may be recommended, or all of the parking areas may be recommended, but the parking areas are arranged in a reverse order according to the corresponding preference indexes.

In this embodiment, a parking area is recommended for a user based on the recommendation information of the parking area, and specifically, the parking area is recommended for the user based on at least whether the parking area is on the same side and in the same direction as the user, so that the same side and the same direction factors are considered in the parking area selected by the user, the user can select a preferred parking area to park, and the user experience is improved.

And step S250, displaying the parking area recommendation information to the user.

After the parking area recommendation information is obtained, the parking area recommendation information can be recommended to the user, and specifically can be pushed to the terminal equipment of the user. The user can select one of the parking areas as required by checking the recommended information of the parking areas and go to the parking area for parking.

The embodiment provides a parking area recommendation method, which includes the steps of obtaining at least one parking area, obtaining recommendation data of each parking area according to a driving track route of a vehicle used by a user, representing that the parking area is on the left side or the right side of a road and the parking area is in front of or behind the vehicle, generating parking area recommendation information based on the recommendation data of each parking area, and displaying the parking area recommendation information to the user. Based on this, the user can select a parking area to park the vehicle as required, and the user experience is good.

In an embodiment of the present disclosure, to illustrate a possible implementation manner of determining the value of the first parameter, in step S230, the obtaining the recommendation data of each parking area according to the driving path route may include the following steps S2301 to S2302:

step S2301, obtaining the advancing direction according to the driving track route and the extending direction of the road.

In detail, the driving track route reflects the driving positions of the user on the road in a previous period of time, and the forward direction of the shared vehicle along the road can be accurately obtained based on the driving positions and the corresponding driving time sequence and by combining the extending direction of the road.

Step S2302, obtaining a value of the parking area corresponding to the first parameter according to the forward direction, the center line of the road, and the center point of the parking area.

Based on the forward direction, the center line of the road and the central point of the parking area, the value of the corresponding first parameter can be obtained, and whether the parking area is on the same side as the user or not can be obtained.

Based on this, in an embodiment of the present disclosure, referring to fig. 3, the step S2302 for obtaining the value of the parking area corresponding to the first parameter according to the forward direction, the center line of the road and the center point of the parking area may include the following steps a1 to A3:

step A1, obtaining a first vector, where the starting point of the first vector is any point on the center line, and the pointing direction of the first vector is the same as the forward direction.

Referring to fig. 3, a dotted line may be represented as a center line of a road, a dot-dash line may be represented as a driving path, and X1 to X4 may be represented as center points of parking areas 1 to 4, respectively.

As shown in fig. 3, the starting point of the first vector may be a point O, which may be any point on the center line, and a point X0Also a point on the centerline. Pointing to point X with point O0The vector of (2) is taken as a first vector, and the pointing direction of the first vector is the same as the advancing direction.

Step a2, obtaining a second vector, wherein the second vector is a vector pointing from the starting point of the first vector to the central point.

As shown in FIG. 3, for parking area 1, the corresponding second vector points from point O to point X1The vector of (a); for parking area 2, the corresponding second vector points from point O to point X2The vector of (a); for parking area 3, the corresponding second vector points from point O to point X3The vector of (a); for parking area 4, the corresponding second vector points from point O to point X4The vector of (2).

Step a3, determining a value of the parking area corresponding to the first parameter according to the rotation direction and the rotation angle from the first vector to the second vector.

For the rotation direction and the rotation angle from the first vector to the second vector, as shown in fig. 3, for the parking area 1, the rotation direction is clockwise and the rotation angle is θ1(ii) a For parking area 2, the rotation direction is clockwise and the rotation angle is θ2(ii) a For parking area 3, the rotation direction is counterclockwise and the rotation angle is θ3(ii) a For the parking area 4, the rotation direction is counterclockwise and the rotation angle is θ4

Based on the direction of rotation and the angle of rotation, the value of the first parameter of the parking area may be determined, i.e. it is determined whether the parking area is on the same side as the user.

In one embodiment of the present disclosure, in a case where the rotation direction is a clockwise direction and the rotation angle does not exceed 180 °, the value of the first parameter of the corresponding parking area is a value indicating that the parking area is on the target side of the road; in the case where the rotation direction is the counterclockwise direction and the rotation angle does not exceed 180 °, the value of the first parameter of the corresponding parking area is a value indicating that the parking area is not on the target side of the road.

Referring to fig. 3, based on the above-described rotation direction and rotation angle, it can be known that the parking areas 1 and 2 are on the right side of the road, i.e., on the same side as the user, and the parking areas 3 and 4 are on the left side of the road, i.e., on different sides from the user.

In addition to the above-mentioned manner of obtaining the value of the first parameter by constructing a vector, in other embodiments of the present disclosure, the value of the first parameter may also be obtained by a distance measurement manner. For example, when the parking areas are all installed adjacent to the road and the distance between the parking areas and the adjacent road is fixed, if the straight line distance between the center point of the parking area and the center line of the road is less than or equal to the corresponding set threshold value, the parking area is on the right side of the road, otherwise, the parking area is on the left side of the road.

In one embodiment of the present disclosure, to illustrate one possible implementation of determining the value of the second parameter, the trajectory route includes: and the shared vehicle shares the driving position at each sampling time point in the set time period. Based on this, in step S230, the obtaining of the recommended data for each parking area according to the driving path route may include the following steps B1 to B3:

and step B1, obtaining the advancing direction according to the driving track route and the extending direction of the road.

In detail, the driving track route reflects the driving positions of the user on the road in a previous period of time, and the forward direction of the shared vehicle along the road can be accurately obtained based on the driving positions and the corresponding driving time sequence and by combining the extending direction of the road.

And step B2, acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period.

The target driving position is represented as the current position of the user, namely the starting position of the subsequent riding process of the user.

And step B3, obtaining the value of the parking area corresponding to the second parameter according to the advancing direction, the center line of the road, the center point of the parking area and the target driving position.

Based on the forward direction, the center line of the road, the central point of the parking area and the target driving position, the value of the corresponding second parameter can be obtained, and whether the parking area and the user are in the same direction or not can be obtained.

Based on this, the embodiments of the present disclosure can know the value of the second parameter at least by the following manner 1 or the following manner 2.

Mode 1: the value of the second parameter is known by means of constructing a vector.

Mode 2: the value of the second parameter is known by means of building a path.

In detail, with respect to the above-described mode 1:

in an embodiment of the present disclosure, referring to fig. 4, the step B3, obtaining the value of the parking area corresponding to the second parameter according to the forward direction, the center line of the road, the center point of the parking area, and the target driving position, may include the following steps B310 to B340:

and B310, acquiring a target intersection point, wherein a connecting line between the target intersection point and the target driving position is vertical to the central line.

Referring to fig. 4, a dotted line may be represented as a center line of a road, a dot-dash line may be represented as a driving path, and X1 to X4 may be represented as center points of parking areas 1 to 4, respectively.

As shown in fig. 4, the target intersection point is point P.

And step B320, acquiring a third vector, wherein the starting point of the third vector is the target intersection point, and the pointing direction of the third vector is the same as the advancing direction.

As shown in FIG. 4, the starting point of the third vector is point P, and the third vector points from point P to point X0The vector of (2).

And step B330, acquiring a fourth vector, wherein the fourth vector is a vector pointing to the central point from the target intersection point.

As shown in FIG. 4, for parking area 1, the corresponding fourth vector points from point P to point X1The vector of (a); for parking area 2, the corresponding fourth vector points from point P to point X2The vector of (a); for parking area 3, the corresponding fourth vector points from point P to point X3The vector of (a); for parking area 4, the corresponding fourth vector points from point P to point X4The vector of (2).

And step B340, determining the value of the parking area corresponding to the second parameter according to the included angle between the third vector and the fourth vector.

For the angle between the third vector and the fourth vector, as shown in fig. 4, for parking area 1, the angle is α1(ii) a For parking area 2, the included angle is α2(ii) a For parking area 3, the included angle is α3(ii) a For parking area 4, the included angle is α4

Based on the angle of the angle, a value of a second parameter of the parking area may be determined, i.e. it is determined whether the parking area is co-directional with the user.

In one embodiment of the present disclosure, in a case where the included angle is equal to or less than the corresponding angle threshold value, the value of the second parameter of the corresponding parking area is a value indicating that the parking area is in front of the shared vehicle; and under the condition that the included angle is larger than the angle threshold value, the value of the second parameter of the corresponding parking area is a value representing that the parking area is behind the shared vehicle.

The angle threshold may be set as needed, and may be set to a suitable angle such as 90 ° or 95 °. In the case where the center point of the parking area is located behind the user and the entire parking area is not completely located behind the user, the parking area can be determined not to be behind the user by setting the angle threshold to an appropriate angle greater than 90 °.

Referring to fig. 4, based on the angle of the included angle, it can be known that parking areas 1 and 4 are behind the shared vehicle, i.e., in a different direction from the user, and parking areas 2 and 3 are in front of the shared vehicle, i.e., in the same direction as the user.

In detail, with respect to the above-described mode 2:

in an embodiment of the present disclosure, referring to fig. 5, the step B3, obtaining the value of the second parameter corresponding to the parking area according to the forward direction, the center line of the road, the center point of the parking area, and the target driving position, may include the following steps B301 to B305:

and step B301, generating a driving planning route corresponding to the parking area according to the forward direction, the central point of the parking area and the target driving position.

Referring to fig. 5, the dotted line may be represented as a center line of a road, the trajectory route is a line segment between a point a0 and a point a4 (the trajectory route coincides with the center line of the road), and X1 to X4 may be represented as center points of the parking areas 1 to 4, respectively.

Taking the parking area 4 as an example, the generated corresponding driving planning route is a line segment formed by sequentially connecting points a0, a1, a2 and A3 in fig. 4.

And step B302, acquiring a first area range obtained by extending a set width to two sides of the driving planning route.

In this embodiment, the set width may be set as needed, for example, 20m, and the set width needs to support: when the third area range described below is empty, the corresponding parking area is in front of the user, whereas the corresponding parking area is behind the user (since the driving path planning is usually implemented based on the center point of the parking area, the center point of the parking area is actually behind the user).

Referring to fig. 5, taking the parking area 4 as an example, the first area range obtained by extending the planned driving route (the width is set to be less than 20m in fig. 5) may be an area range formed by sequentially connecting points B1, B2, B3, B4, B5, B6, and B1 in fig. 5.

Step B303, acquiring a third area range where the first area range and the second area range are intersected, wherein the second area range is an area range obtained according to the driving path route.

In the embodiment of the present disclosure, the implementation manner of obtaining the second area range according to the driving path route may be at least any one of the following four implementation manners:

the method a: and taking the driving track route as a second area range, namely the second area range is actually a line, and the third area range is empty or is part or all of the driving track route.

Mode b: and mapping each point on the driving track route to a mapping route obtained by mapping the road center line, wherein the mapping route is used as a second area range, namely the second area range is actually a line, and the third area range is empty or is part or all of the mapping route.

Mode c: and obtaining a second area range by extending the set width to two sides of the driving path route, wherein the third area range is empty or is part or all of the second area range.

Mode d: and obtaining a second area range by extending the set width to two sides of the mapping route, wherein the third area range is empty or is part or all of the second area range.

Taking the second area obtained in the manner d as an example, referring to fig. 5, the second area obtained by extending the mapping route may be an area formed by sequentially connecting points B1, B7, B8, B9, and B1 in fig. 5.

And step B304, obtaining the value of the parking area corresponding to the second parameter according to the third area range.

In this embodiment, the value of the second parameter is obtained according to the third area range.

In one implementation, in a case where the third area range is empty, the value of the second parameter of the corresponding parking area is a value for identifying that the parking area is in front of the user, and a value for identifying that the parking area is behind the user if the third area range is not empty.

For example, taking the first region range and the second region range shown in fig. 5 as an example, the third region range where the first region range and the second region range intersect may be a region range in which points B5, B6, B9, B10, and B5 in fig. 5 are sequentially connected. Since the third area range is not empty, the parking area 4 can be considered to be oriented differently from the user.

Considering that the planned driving route is usually obtained based on the center point of the parking area, which usually has a certain length along the road extension direction, there is a case where the center point of the parking area is behind the user and the entire parking area is not yet completely behind the user. Based on this, the user can still park in the parking area without a return trip. For this reason, in another implementation manner, the value of the second parameter may also be determined according to the proportion of the third area range in the second area range, so as to benefit the accuracy of the equidirectional judgment.

Based on this, in an embodiment of the present disclosure, the step B305 obtaining the value of the parking area corresponding to the second parameter according to the third area range may include the following steps B3051 to B3053:

step B3051, detecting whether a ratio of the third region range to the second region range is less than or equal to a first set threshold, and executing step B3052 or step B3053.

In detail, the first setting threshold may be set as needed, for example, may be set to 50%.

Step B3052, when the ratio is equal to or smaller than the first set threshold, of determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is in front of the shared vehicle.

Taking the first set threshold as 50% for example, if the above ratio is less than or equal to 50%, it can be considered that

Step B3053, in a case where the ratio is greater than the first set threshold, determining that the value of the parking zone corresponding to the second parameter is a value indicating that the parking zone is behind the shared vehicle.

Based on the above content, the parking area recommendation method provided by the embodiment of the application provides a more accurate method for judging the same side and the same direction by combining the map-based path planning result and the geometry, reduces potential safety hazards possibly involved in parking for users using shared vehicles, and improves user experience.

In addition, considering that for parking areas on different sides and in different directions, if the parking area (e.g., parking area 1 shown in fig. 5) is closer to the user, the user may push the vehicle to go backward to the parking area, or push the vehicle to the road side step and then ride the vehicle to the parking area. Because the parking area is close to the user, the experience of the user for going to the parking area is good. In this way, while considering the above two factors of whether to be in the same direction and whether to be on the same side, the influence of the factors such as the total path length/the total estimated time consumption, the walking length/the estimated walking time consumption, etc. on the recommended parking area can be also considered.

Based on this, in an embodiment of the present disclosure, after the step S220 of acquiring at least one parking area, the method further includes: and acquiring at least one driving planning route corresponding to the parking area.

In this embodiment, for any parking area, at least one driving planning route may be provided. For example, for parking areas on the same side and in different directions, if the parking areas are closer to the user, at least two driving planning routes may be provided, one of the two driving planning routes is a driving planning route for the user to ride to the parking area, and the other is a non-pure driving planning route including a walking route portion.

Based on this, the recommendation data further includes a value of a third parameter and a value of a fourth parameter, the third parameter is used for representing the total route length and/or the predicted total elapsed time of the parking area respectively corresponding to each of the driving planning routes, and the fourth parameter is used for representing the walking route length and/or the predicted walking elapsed time of the parking area respectively corresponding to each of the driving planning routes.

In this embodiment, the first parameter and the second parameter are both for the parking area, and the third parameter and the fourth parameter are both for the parking planned route of the parking area.

Based on this, in an embodiment of the present disclosure, the step S240 of generating the recommended parking area information according to the recommended data of each parking area may include the following steps S2401 to S2403:

step S2401, according to a set conversion rule for converting a value of a parameter into a corresponding score, respectively converting a value of the first parameter, a value of the second parameter, a value of the third parameter, and a value of the fourth parameter included in the recommended data of the parking area into corresponding scores.

Preferably, values representing an ipsilateral side correspond to a higher score than values representing a different side; the values representing the same direction correspond to higher scores than the values representing the different sides; the longer the total route length is, the lower the score is; the longer the total elapsed time is expected, the lower the score; the longer the walking route is, the lower the score is; it is expected that the longer the walking takes, the lower the score.

Step S2402, obtaining a recommended score of each driving planning route of the parking area according to the score obtained by conversion.

In a possible implementation, the sum of the scores may be taken as the recommendation score. For example, for any planned driving route in any parking area, the recommended score of the planned driving route may be the sum of the following scores: the score corresponding to the value of the first parameter of the parking area, the score corresponding to the value of the second parameter of the parking area, the score corresponding to the value of the third parameter of the driving planning route and the score corresponding to the value of the fourth parameter of the driving planning route.

Step S2403, generating parking area recommendation information according to the recommendation score.

In a feasible implementation manner, in the parking area recommendation information, the information of each driving planning route, the corresponding score, the parking area and the like may be arranged in sequence according to the sequence of recommendation scores from high to low.

Based on the parking area recommendation information, the user can select a certain driving planning route as required and go to a corresponding parking area for parking based on the driving planning route.

As shown in fig. 6, the present embodiment provides a parking area recommendation method, which may include the following steps S310 to S390.

Step S310, obtaining a driving track route of a shared vehicle used by a user in a set time period, wherein the driving track route comprises driving positions of the shared vehicle at each sampling time point in the set time period.

Step S320, obtaining a target driving position, where the target driving position is the last driving position of the shared vehicle in the set time period.

Step S330, at least one parking area is obtained, and the straight line distance between the center point of each parking area and the target driving position is not greater than a second set threshold.

And step S340, obtaining the advancing direction of the shared vehicle along the road according to the driving track route and the extending direction of the road.

Step S350, obtaining a value of the parking area corresponding to the first parameter according to the advancing direction, the center line of the road and the center point of the parking area, wherein the first parameter is used for representing whether the parking area is on the target side of the road or not based on the advancing direction.

Step S360, obtaining a value of the parking area corresponding to the second parameter according to the forward direction, the center line of the road, the center point of the parking area and the target driving position, wherein the second parameter is used for representing whether the parking area is in front of the shared vehicle or not based on the forward direction.

Step S370, obtaining a value of a third parameter and a value of a fourth parameter corresponding to the parking area according to at least one driving planning route corresponding to the parking area, where the third parameter is used to represent a total route length and/or a predicted total elapsed time of the parking area corresponding to each driving planning route, respectively, and the fourth parameter is used to represent a walking route length and/or a predicted walking elapsed time of the parking area corresponding to each driving planning route, respectively.

Step S380, generating parking area recommendation information according to the recommendation data of each parking area, wherein the recommendation data of the parking areas comprise: values of the parking area respectively corresponding to the first parameter, the second parameter, the third parameter, and the fourth parameter.

And step S390, displaying the parking area recommendation information to the user.

The embodiment provides a parking area recommendation method, which includes the steps of obtaining at least one parking area, obtaining recommendation data of each parking area according to a driving track route of a vehicle used by a user, representing that the parking area is on the left side or the right side of a road and the parking area is in front of or behind the vehicle, generating parking area recommendation information based on the recommendation data of each parking area, and displaying the parking area recommendation information to the user. Based on this, the user can select a parking area to park the vehicle as required, and the user experience is good.

< apparatus embodiment >

Fig. 7 is a functional block diagram of a parking area recommendation device 400 according to one embodiment. The parking area recommendation apparatus 400 may be the parking area recommendation system 100 shown in fig. 1, or may also be the terminal device 1000 or the server 2000 shown in fig. 1.

As shown in fig. 7, the parking area recommendation device 400 may include: a first obtaining module 410, a second obtaining module 420, a third obtaining module 430, a generating module 440, and a presentation module 450.

The first obtaining module 410 is used for obtaining a driving path route of a shared vehicle used by a user within a set time period. The second obtaining module 420 is used for obtaining at least one parking area. The third obtaining module 430 is configured to obtain recommended data of each parking area according to the driving path route, where the recommended data includes a value of a first parameter and a value of a second parameter, the first parameter is used to indicate whether the parking area is on a target side of the road based on a forward direction of the shared vehicle along the road, and the second parameter is used to indicate whether the parking area is in front of the shared vehicle based on the forward direction. The generating module 440 is configured to generate recommended parking area information according to the recommended data of each parking area. The display module 450 is configured to display the parking area recommendation information to the user.

In this embodiment, at least one parking area is obtained, recommendation data of each parking area is obtained according to a driving track route of a vehicle used by a user, the recommendation data represent that the parking area is on the left side or the right side of a road and the parking area is in front of or behind the vehicle, and then parking area recommendation information is generated based on the recommendation data of each parking area and displayed to the user. Based on this, the user can select a parking area to park the vehicle as required, and the user experience is good.

In an embodiment of the present disclosure, the third obtaining module 430 is configured to obtain the forward direction according to the driving path route and the extending direction of the road; and obtaining the value of the parking area corresponding to the first parameter according to the advancing direction, the center line of the road and the central point of the parking area.

In an embodiment of the present disclosure, the third obtaining module 430 is configured to obtain a first vector, where a starting point of the first vector is any point on the center line, and a pointing direction of the first vector is the same as the forward direction; acquiring a second vector, wherein the second vector points to the central point from the starting point of the first vector; and determining the value of the parking area corresponding to the first parameter according to the rotation direction and the rotation angle from the first vector to the second vector.

In one embodiment of the present disclosure, the driving path route includes: and the shared vehicle shares the driving position at each sampling time point in the set time period. The third obtaining module 430 is configured to obtain the forward direction according to the driving track route and the extending direction of the road; acquiring a target driving position, wherein the target driving position is the last driving position of the shared vehicle in the set time period; and obtaining the value of the parking area corresponding to the second parameter according to the advancing direction, the center line of the road, the central point of the parking area and the target driving position.

In an embodiment of the present disclosure, the third obtaining module 430 is configured to obtain a target intersection point, where a connection line between the target intersection point and the target driving position is perpendicular to the central line; obtaining a third vector, wherein the starting point of the third vector is the target intersection point, and the pointing direction of the third vector is the same as the advancing direction; acquiring a fourth vector, wherein the fourth vector is a vector pointing to the central point from the target intersection point; and determining the value of the parking area corresponding to the second parameter according to the included angle between the third vector and the fourth vector.

In an embodiment of the present disclosure, the third obtaining module 430 is configured to generate a driving planning route corresponding to the parking area according to the forward direction, the central point of the parking area, and the target driving position; acquiring a first area range obtained by extending a set width to two sides of the driving planning route; acquiring a third area range in which the first area range and the second area range are intersected, wherein the second area range is an area range obtained according to the driving track route; and obtaining the value of the parking area corresponding to the second parameter according to the third area range.

In an embodiment of the present disclosure, the third obtaining module 430 is configured to detect whether a ratio of the third area range to the second area range is less than or equal to a first set threshold; determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is in front of the shared vehicle when the ratio is equal to or less than the first set threshold; and determining that the value of the parking area corresponding to the second parameter is a value indicating that the parking area is behind the shared vehicle, when the ratio is greater than the first set threshold.

In one embodiment of the present disclosure, the parking area recommendation device 400 further includes: after the second obtaining module 420 obtains at least one parking area, a module for obtaining at least one driving planning route corresponding to the parking area is obtained. The recommended data further comprises a value of a third parameter and a value of a fourth parameter, the third parameter is used for representing the total route length and/or the predicted total consumption of the parking area corresponding to each driving planning route, and the fourth parameter is used for representing the walking route length and/or the predicted walking consumption of the parking area corresponding to each driving planning route.

In an embodiment of the present disclosure, the generating module 440 is configured to convert, according to a conversion rule set for converting values of parameters into corresponding scores, values of the first parameter, the second parameter, the third parameter, and the fourth parameter included in the recommendation data of the parking area into corresponding scores respectively; obtaining a recommended score of each driving planning route of the parking area according to the score obtained by conversion; and generating the recommended information of the parking area according to the recommendation score.

In an embodiment of the present disclosure, the second obtaining module 420 is configured to obtain a target driving position, where the target driving position is a last driving position of the shared vehicle in the set time period; and acquiring the at least one parking area, wherein the straight line distance between the center point of each parking area and the target driving position is not greater than a second set threshold value.

< apparatus embodiment >

Fig. 8 is a hardware configuration diagram of a parking area recommendation device 500 according to another embodiment.

As shown in fig. 8, the parking area recommendation device 500 comprises a processor 510 and a memory 520, the memory 520 being configured to store an executable computer program, the processor 510 being configured to execute a method according to any of the above method embodiments according to the control of the computer program.

The parking area recommendation apparatus 500 may be the parking area recommendation system 100 shown in fig. 1, or may also be the terminal device 1000 or the server 2000 shown in fig. 1.

The modules of the parking area recommendation device 500 may be implemented by the processor 510 executing the computer program stored in the memory 520 in the present embodiment, or may be implemented by other circuit configurations, which is not limited herein.

< computer-readable storage Medium embodiment >

The present embodiments provide a computer-readable storage medium having stored therein an executable command, which when executed by a processor, performs the method described in any of the method embodiments of the present specification.

One or more embodiments of the present description may be a system, method, and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the specification.

The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.

The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.

The computer program instructions for carrying out operations for embodiments of the present description may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), can execute computer-readable program instructions to implement various aspects of the present description by utilizing state information of the computer-readable program instructions to personalize the electronic circuit.

Aspects of the present description are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the description. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.

These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种平面移动智能车库用智能预警系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!