Parking assistance method, vehicle, readable medium and computer program product

By determining the parking scene based on the front direction and driving direction of the vehicle before parking, the automatic parking process is simplified, and the cumbersome operation problems in the existing technology are solved, and the frequency of use of the automatic parking function and user experience are improved.

CN118636899BActive Publication Date: 2024-11-19BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411104611.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-19
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

The existing automatic docking function is cumbersome, resulting in poor user experience and low frequency of use.

Method used

By determining the docking scene based on the front direction and driving direction of the vehicle before parking, simplifying the docking process, providing docking assistance methods and devices, and automatically recommending or displaying the best docking solution, users can choose or confirm the docking method.

Benefits of technology

It improves the operation efficiency of the automatic docking function, reduces the abnormal docking situation, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118636899B_ABST
    Figure CN118636899B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a parking assistance method, a vehicle, a readable medium and a computer program product. The method includes: if a vehicle is to be parked out of a parking area, determining a parking scene of the vehicle according to the front direction of the vehicle before the vehicle is parked in; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after the parking scene corresponding to the vehicle is consistent with the front direction of the vehicle before the vehicle is parked in. Users do not need to select the parking scene by themselves, which improves the operating efficiency of the automatic parking function, and the vehicle can drive normally after parking, reducing abnormal situations that may be caused by automatic parking, thereby improving the user's parking experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a parking assistance method, a vehicle, a readable medium and a computer program product. Background Art

[0002] In the prior art, the vehicle may be provided with an automatic parking function. If the user needs to use the parking function, he usually needs to first select the parking function through the vehicle screen or physical buttons, and then further select the movement method of the parking process to complete the parking. The steps are relatively cumbersome. The automatic parking function is usually used when the user wants to leave the parking space quickly, which makes the operation of the automatic parking function too cumbersome, resulting in a low frequency of use of the automatic parking function and a poor user experience. Summary of the invention

[0003] The embodiments of the present invention provide a parking assistance method, device, electronic device and computer-readable storage medium to solve the problem of cumbersome use of the automatic parking function.

[0004] An embodiment of the present invention discloses a parking assistance method, comprising:

[0005] If the vehicle is to be parked out of the parking area, the parking scene of the vehicle is determined according to the front direction of the vehicle before parking in; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after parking out corresponding to the parking scene is consistent with the front direction of the vehicle before parking in.

[0006] Optionally, determining a parking exit scene of the vehicle according to a front orientation of the vehicle before parking, includes:

[0007] A parking exit scenario of the vehicle is determined according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking.

[0008] Optionally, determining the parking exit scene according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0009] A target parking exit scene is determined from among the possible parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

[0010] Optionally, the step of determining the parking exit scene of the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0011] Determine a moving direction that is consistent with the direction of the front of the vehicle before parking as a candidate moving direction;

[0012] If the vehicle head direction is consistent with the driving direction, determining a driving direction that matches the driving direction of the vehicle before parking as a to-be-selected driving direction;

[0013] If the vehicle head direction is inconsistent with the driving direction, determining a driving direction opposite to the driving direction of the vehicle before parking as a candidate driving direction;

[0014] A parking scene for the vehicle is obtained according to the selected moving direction and the selected driving orientation.

[0015] Optionally, the step of determining a target parking exit scene from the selected parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information comprises:

[0016] Determining a parking scene to be selected for the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking;

[0017] According to the lane line information and / or obstacle information, a parking exit scene that avoids the lane line and / or obstacle is determined as a target parking exit scene in the to-be-selected parking exit scenes.

[0018] Optionally, the step of determining a parking exit scene of the vehicle according to the front orientation of the vehicle before parking, comprises:

[0019] Determining a target parking exit scene for the vehicle according to the front orientation of the vehicle before parking;

[0020] determining a parking difficulty according to the target parking scenario;

[0021] A recommended method for the target parking scene is determined according to the parking difficulty.

[0022] Optionally, if the parking scenario of the vehicle is horizontal right rear side parking or horizontal left rear side parking;

[0023] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0024] Determining that the front of the vehicle is facing forward horizontally relative to the parking area before the vehicle is parked;

[0025] According to the horizontal forward orientation of the front of the vehicle relative to the parking area, the parking exit scenarios of the vehicle are determined to include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0026] Optionally, the method further comprises:

[0027] Determining that the driving direction of the vehicle before parking is forward driving;

[0028] The target parking scenes are determined to include horizontal left front parking, horizontal right front parking and horizontal front parking in the parking scenes.

[0029] Optionally, if the parking scenario of the vehicle is parking with the front of the vehicle perpendicular to the left rear side or with the rear of the vehicle perpendicular to the right front side;

[0030] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0031] Determining that the front of the vehicle is facing vertically to the right relative to the parking area before parking;

[0032] According to the vehicle front orientation vertically to the right relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical right front parking and vertical left rear parking, and the parking exit scenarios are recommended to the user.

[0033] Optionally, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side;

[0034] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0035] Determining that the front of the vehicle is facing vertically to the left relative to the parking area before parking;

[0036] According to the vertical leftward orientation of the front of the vehicle relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical left front parking and vertical right rear parking, and the parking exit scenarios are recommended to the user.

[0037] Optionally, the step of determining a parking exit scene of the vehicle according to the front orientation of the vehicle before parking, comprises:

[0038] If the parking mode is manual parking, the parking exit scene of the vehicle is determined according to the front direction of the vehicle before parking.

[0039] Optionally, the method further comprises:

[0040] If the parking mode is automatic parking, the corresponding parking exit scene is determined according to the parking entry scene of the vehicle.

[0041] Optionally, if the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0042] taking a parking exit scene corresponding to the parking entry scene of the vehicle as a parking exit scene to be selected;

[0043] Determine whether there is an obstacle on the driving path corresponding to the to-be-selected parking scene;

[0044] If there is no obstacle, the to-be-selected parking scene is used as the target parking scene.

[0045] Optionally, if the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0046] Using the moving direction of the vehicle during the parking process as the moving direction of the vehicle during the parking process;

[0047] Using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process;

[0048] A target parking scene is determined according to the moving direction and driving orientation of the vehicle during the parking process.

[0049] The embodiment of the present invention further discloses a parking assistance method, the method comprising:

[0050] If the vehicle is to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the vehicle front orientation before the vehicle is parked in; the parking out scene includes the driving direction of the vehicle during the parking out process and the moving direction of the vehicle relative to the parking area during the parking out process; the vehicle front orientation after the vehicle is parked out corresponding to the parking out scene is consistent with the vehicle front orientation before the vehicle is parked in;

[0051] In response to a user's selection operation on the parking exit scenario, the vehicle is controlled to park out using the parking exit scenario selected by the user.

[0052] Optionally, the method further comprises:

[0053] If no selection operation of the user for the parking exit scene is received within a preset time period, the parking exit scene selected by the vehicle is used to control the vehicle to park out.

[0054] Optionally, if the vehicle is to be parked out of the parking area, the step of displaying at least one parking out scene of the vehicle to the user according to the front direction of the vehicle before parking, comprises:

[0055] If the vehicle is ready to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the front direction of the vehicle before parking and the driving direction of the vehicle before parking.

[0056] Optionally, if the vehicle is to be parked out of the parking area, the step of displaying at least one parking out scene of the vehicle to the user according to the vehicle head orientation before the vehicle is parked and the vehicle driving direction before the vehicle is parked includes:

[0057] If the vehicle is ready to park out of the parking area, at least one parking scene of the vehicle is displayed to the user based on the vehicle's front orientation before parking, the vehicle's driving direction before parking, and lane line information and / or obstacle information.

[0058] Optionally, the method further comprises:

[0059] If the vehicle is to be parked out of the parking area and the parking mode is automatic parking, at least one parking out scene of the vehicle is displayed to the user according to the parking in scene of the vehicle.

[0060] The embodiment of the present invention discloses a parking assistance device, comprising:

[0061] The parking assistance module is used to determine the parking scene of the vehicle according to the front direction of the vehicle before parking if the vehicle is ready to park out of the parking area; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after parking corresponding to the parking scene is consistent with the front direction of the vehicle before parking.

[0062] Optionally, the docking assistance module includes:

[0063] The parking exit assistance submodule is used to determine the parking exit scenario of the vehicle according to the front direction of the vehicle before parking and the driving direction of the vehicle before parking.

[0064] Optionally, the docking assistance submodule includes:

[0065] The parking assisting unit determines a target parking scene from among the parking scenes to be selected according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

[0066] Optionally, the docking assistance module includes:

[0067] A moving direction determination submodule, used to determine a moving direction consistent with the direction of the front of the vehicle before parking as a candidate moving direction;

[0068] A first driving direction determination submodule, configured to determine a driving direction matching the driving direction of the vehicle before parking as a to-be-selected driving direction if the vehicle head direction is consistent with the driving direction;

[0069] A second driving direction determination submodule is used to determine a driving direction opposite to the driving direction of the vehicle before parking as a to-be-selected driving direction if the vehicle head direction is inconsistent with the driving direction;

[0070] The parking exit scenario determination submodule is used to obtain the parking exit scenario of the vehicle according to the selected moving direction and the selected driving orientation.

[0071] Optionally, the parking assistance unit comprises:

[0072] A to-be-selected parking exit scene subunit determines a to-be-selected parking exit scene for the vehicle according to the vehicle head orientation and the vehicle travel direction before the vehicle is parked;

[0073] The parking exit scene determination subunit is used to determine, according to the lane line information and / or obstacle information, a parking exit scene that avoids lane lines and / or obstacles in the to-be-selected parking exit scenes as a target parking exit scene.

[0074] Optionally, the docking assistance module includes:

[0075] A target parking exit scene determination submodule, used to determine the target parking exit scene of the vehicle according to the front direction of the vehicle before parking;

[0076] A difficulty determination submodule, used to determine the parking difficulty according to the target parking scenario;

[0077] The recommended method determination submodule is used to determine a recommended method for the target parking scene according to the parking difficulty.

[0078] Optionally, if the parking scenario of the vehicle is horizontal right rear side parking or horizontal left rear side parking;

[0079] The docking assistance module includes:

[0080] A first vehicle head direction determination submodule, used for determining that the vehicle head direction before parking is horizontally forward relative to the parking area;

[0081] The first scene determination submodule is used to determine, based on the horizontal forward orientation of the front of the vehicle relative to the parking area, that the parking scenes of the vehicle include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0082] Optionally, the device further comprises:

[0083] A driving direction determination submodule, used to determine that the driving direction of the vehicle before parking is forward driving;

[0084] The second scene determination submodule is used to determine that a target parking scene in the parking scene includes horizontal left front parking, horizontal right front parking, and horizontal front parking.

[0085] Optionally, if the parking scenario of the vehicle is parking with the front of the vehicle perpendicular to the left rear side or with the rear of the vehicle perpendicular to the right front side;

[0086] The docking assistance module includes:

[0087] A second vehicle head direction determination submodule is used to determine that the vehicle head direction before parking is vertically to the right relative to the parking area;

[0088] The third scene determination submodule is used to determine that the parking scenes of the vehicle include vertical right front parking and vertical left rear parking according to the vehicle head orientation vertically to the right relative to the parking area, and recommend the parking scenes to the user.

[0089] Optionally, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side;

[0090] The docking assistance module includes:

[0091] A third vehicle head direction determination submodule is used to determine that the vehicle head direction before parking is vertically left relative to the parking area;

[0092] The fourth scene determination submodule is used to determine that the parking scenes of the vehicle include vertical left front parking and vertical right rear parking according to the vertical left orientation of the front of the vehicle relative to the parking area, and recommend the parking scenes to the user.

[0093] Optionally, the docking assistance module includes:

[0094] The manual parking scene determination submodule is used to determine the parking scene of the vehicle according to the front direction of the vehicle before parking if the parking mode is manual parking.

[0095] Optionally, the device further comprises:

[0096] The automatic parking scene determination module is used to determine the corresponding parking scene according to the parking scene of the vehicle if the parking mode is automatic parking.

[0097] Optionally, the automatic parking scene determination module includes:

[0098] a to-be-selected scene determination submodule, configured to select an exiting scene corresponding to the parking-in scene of the vehicle as the to-be-selected exiting scene;

[0099] The obstacle recognition module submodule is used to determine whether there is an obstacle on the driving path corresponding to the selected parking scene;

[0100] The first target scene determination submodule is used to use the to-be-selected parking scene as a target parking scene if no obstacle exists.

[0101] Optionally, the automatic parking scenario includes:

[0102] An automatic parking movement direction determination submodule, used for using the movement direction of the vehicle during the parking process as the movement direction of the vehicle during the parking process;

[0103] An automatic parking driving direction determination submodule, used for using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process;

[0104] The second target scene determination submodule is used to determine a target parking scene according to the moving direction and driving direction of the vehicle during the parking process.

[0105] The embodiment of the present invention further discloses a parking assistance device, the device comprising:

[0106] a display module, for displaying at least one parking scene of the vehicle to the user according to the vehicle front orientation before the vehicle is parked, if the vehicle is ready to be parked out of the parking area; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the vehicle front orientation after the vehicle is parked out corresponding to the parking scene is consistent with the vehicle front orientation before the vehicle is parked in;

[0107] The response module is used for responding to the user's selection operation on the parking exit scene and controlling the vehicle to park out using the parking exit scene selected by the user.

[0108] Optionally, the device further comprises:

[0109] The parking exit control module is used to control the vehicle to park out using the parking exit scene selected by the vehicle if no selection operation of the user for the parking exit scene is received within a preset time period.

[0110] Optionally, the display module includes:

[0111] The display submodule is used to display at least one parking scene of the vehicle to the user according to the vehicle front orientation and the vehicle driving direction before parking, if the vehicle is ready to park out of the parking area.

[0112] Optionally, the display submodule includes:

[0113] The display unit is used to display at least one parking scene of the vehicle to the user if the vehicle is about to be parked out of the parking area according to the vehicle head orientation before parking, the vehicle driving direction before parking, and lane line information and / or obstacle information.

[0114] Optionally, the device further comprises:

[0115] The automatic parking display module is used to display at least one parking out scene of the vehicle to the user according to the parking in scene of the vehicle if the vehicle is ready to park out from the parking area and the parking mode is automatic parking.

[0116] The embodiment of the present invention further discloses a vehicle, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0117] The memory is used to store computer programs;

[0118] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0119] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors are enabled to execute the method described in the embodiment of the present invention.

[0120] The embodiment of the present invention further discloses a computer program product, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the steps of the method described in the embodiment of the present invention are implemented.

[0121] The embodiments of the present invention include the following advantages:

[0122] Through the parking assistance method provided by the embodiment of the present invention, if a vehicle is to be parked out of a parking area, the parking scene of the vehicle is determined according to the front direction of the vehicle before parking in; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after parking out corresponding to the parking scene is consistent with the front direction of the vehicle before parking in. Users do not need to select the parking scene by themselves, which improves the operating efficiency of the automatic parking function, and the vehicle can drive normally after parking, reducing abnormal situations that may be caused by automatic parking, thereby improving the user's parking experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0123] Figure 1 is a flowchart of the steps of a parking assistance method provided in an embodiment of the present invention;

[0124] Figure 2 is a driving orientation schematic diagram provided in an embodiment of the present invention;

[0125] Figure 3 is a schematic diagram of a moving direction in an embodiment of the present invention;

[0126] Figure 4 is a schematic diagram of a parking scene provided in an embodiment of the present invention;

[0127] Figure 5 is a schematic diagram of a parking scene provided in an embodiment of the present invention;

[0128] Figure 6is a schematic diagram of a parking entry scene and a parking exit scene provided in an embodiment of the present invention;

[0129] Figure 7 is a schematic diagram of another parking entry scene and parking exit scene provided in an embodiment of the present invention;

[0130] Figure 8 is a schematic diagram of another parking entry scene and parking exit scene provided in an embodiment of the present invention;

[0131] Fig. 9 is a schematic diagram of another parking entry scene and parking exit scene provided in an embodiment of the present invention;

[0132] Fig.10 is a schematic diagram of another parking entry scene and parking exit scene provided in an embodiment of the present invention;

[0133] Fig.11 is a schematic diagram of another parking entry scene and parking exit scene provided in an embodiment of the present invention;

[0134] Fig.12 is a flowchart of another parking assistance method provided in an embodiment of the present invention;

[0135] Fig.13 is a structural block diagram of a parking assistance device provided in an embodiment of the present invention;

[0136] Fig.14 is a structural block diagram of another parking assistance device provided in an embodiment of the present invention;

[0137] Fig.15 is a block diagram of a vehicle provided in an embodiment of the present invention;

[0138] Fig.16 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0139] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0140] Reference Figure 1 , shows a flowchart of a parking assistance method provided in an embodiment of the present invention, which may specifically include the following steps:

[0141] Step 101, if the vehicle is to be parked out of the parking area, determine the parking scene of the vehicle according to the front direction of the vehicle before parking; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after parking corresponding to the parking scene is consistent with the front direction of the vehicle before parking.

[0142] Generally speaking, a vehicle can be parked in a parking area. The parking area can be an area that can be used to park vehicles, such as a parking lot divided into a plurality of parking spaces, a temporary parking space on the side of a road, or an open space around a building, etc., and the present invention does not limit this.

[0143] If the vehicle needs to leave the current location, the user can start the vehicle and prepare to park out of the parking area. Specifically, for the vehicle, if the last action performed by the vehicle in the previous start cycle was parking into the parking area, then after the vehicle is started in this start cycle, the vehicle can assume that the user is ready to park out of the parking area at this time and determine the parking scene applicable to the current vehicle.

[0144] Specifically, the parking exit scene may include the driving position of the vehicle during the parking exit process and the moving direction of the vehicle relative to the parking area during the parking exit process. The driving position may refer to the position of the vehicle during the driving process relative to the parking area. The moving direction may refer to the moving direction of the vehicle relative to the parking area during the process of the vehicle parking in or out of the parking area.

[0145] Specifically, refer to Figure 2 , Figure 2 is a driving direction diagram provided in an embodiment of the present invention. The parking area can be taken as the center point, and the driving directions around the parking area can be divided into the left front side, the left rear side, the right front side, the right rear side, the front side, and the rear side. Thus, the vehicle can drive to the left front side relative to the parking area, drive to the left rear side relative to the parking area, drive to the right front side relative to the parking area, drive to the right rear side relative to the parking area, drive to the front side relative to the parking area, and drive to the rear side relative to the parking area.

[0146] refer to Figure 3 , Figure 3 is a schematic diagram of a moving direction in an embodiment of the present invention. When a vehicle is parked in or out of a parking area, its moving direction relative to the parking area 1 may be different. Specifically, the moving direction may be divided into the following: Figure 3 The vertical direction shown in (a) and Figure 3 The vertical direction may refer to the direction parallel to the straight line formed by connecting the left and right ends of the parking area 1. The horizontal direction may refer to the direction parallel to the straight line formed by connecting the front and rear ends of the parking area 1.

[0147] Specifically, the parking area may be a rectangle having a long side and a short side, wherein the long side is located at the left and right sides of the rectangle, and the short side is located at the front and rear sides of the rectangle. The length of the long side is greater than the length of the vehicle body, the length of the short side is greater than the length of the front or rear of the vehicle, and the length of the long side is greater than the length of the short side.

[0148] If the moving direction of the vehicle is vertical, the side body of the vehicle can be nearly perpendicular to the long side of the parking area before the vehicle is parked, and the front or rear of the vehicle can be nearly perpendicular to the short side of the parking area. In this case, the side body of the vehicle before the vehicle is parked is usually perpendicular to the side body of the vehicle after the vehicle is parked.

[0149] If the moving direction of the vehicle is horizontal, the side body of the vehicle may be nearly parallel to the long side of the parking area before the vehicle is parked, and the front or rear of the vehicle may be nearly parallel to the short side of the parking area. In this case, the side body of the vehicle before the vehicle is parked is usually parallel to the side body of the vehicle after the vehicle is parked.

[0150] Vehicles can park out of a parking area horizontally. For example, a vehicle parked out of a parking area sideways is considered to be parked out horizontally. Vehicles can also park in or out of a parking area vertically. For example, a vehicle parked out of a parking area by backing out or by driving forward is considered to be parked out vertically.

[0151] Furthermore, the moving direction can be further divided into horizontal forward, horizontal backward, vertical forward, and vertical backward according to whether the vehicle moves forward or backward.

[0152] refer to Figure 4 , Figure 4 is a schematic diagram of a moving direction in an embodiment of the present invention. The parking scene can be determined based on the combination of the driving direction and the moving direction. Therefore, the parking scene can at least include: horizontal front parking 1, horizontal left front parking 2, horizontal right front parking 3, vertical left front parking 4, vertical right front parking 5, horizontal left rear parking 6, horizontal right rear parking 7, vertical left rear parking 8, vertical right rear parking 9, horizontal rear parking 10.

[0153] In the embodiment of the present invention, in order to provide a better parking-out experience for the user, the user may not automatically select a parking-out scene, and the vehicle may determine at least one parking-out scene applicable to the vehicle based on the vehicle head orientation before the vehicle is parked in. Thereafter, the vehicle may further select a target parking-out scene from at least one parking-out scene to control parking according to actual needs, or the parking-out scene may be displayed to the user, and the user may select the target parking-out scene of his / her preference.

[0154] Specifically, the parking exit scenario can be determined based on the vehicle's front direction before the vehicle is parked in. The front direction may refer to the direction the front of the vehicle is pointing to before the vehicle is parked in. After parking using the parking exit scenario determined based on the vehicle's front direction before the vehicle is parked in, the vehicle's front direction is consistent with the vehicle's front direction before the vehicle is parked in, thereby avoiding abnormal situations such as the vehicle driving in the opposite direction after being parked out, ensuring that the vehicle can be parked out while maintaining normal driving, thereby improving the operating efficiency of the automatic parking exit function and providing users with a better parking exit experience.

[0155] Through the parking assistance method provided by the embodiment of the present invention, if a vehicle is to be parked out of a parking area, the parking scene of the vehicle is determined according to the vehicle head orientation before the vehicle is parked in; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the vehicle head orientation after the parking scene corresponding to the vehicle is consistent with the vehicle head orientation before the vehicle is parked in. The user does not need to select the parking scene by himself, which improves the operating efficiency of the automatic parking function, and the vehicle can drive normally after parking, reducing abnormal situations that may be caused by automatic parking, thereby improving the user's parking experience.

[0156] In one embodiment of the present invention, determining a parking scene of a vehicle according to the front direction of the vehicle before parking includes:

[0157] S11, determining a parking exit scenario for the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking.

[0158] In a specific implementation, the vehicle's parking exit scenario can be determined by further considering the vehicle's driving direction before parking in addition to the vehicle's front orientation before parking in. As a result, the vehicle's front orientation after parking in is consistent with the vehicle's front orientation before parking in, and the vehicle can also be closer to the direction it expects to approach, reducing abnormal situations that may be caused by automatic parking exit, and facilitating the vehicle to reach its expected location faster later, further improving the user's parking exit experience.

[0159] In one embodiment of the present invention, determining a parking exit scenario according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0160] S21, determining a target parking exit scene from among the possible parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

[0161] In a specific implementation, there may be obstacles on the driving path corresponding to the parking exit scenario, or there may be lane lines that are planned to be prohibited from crossing. Therefore, the parking exit scenario of the vehicle can be determined by further considering the front direction of the vehicle before parking and the driving direction of the vehicle before parking, and the lane line information and / or obstacle information, so as to reduce abnormal situations that may be caused by automatic parking.

[0162] In a specific implementation, lane line information and / or obstacle information may be collected by sensors configured on the vehicle itself, such as cameras, lidars, ultrasonic radars, etc., or may be obtained by pre-acquiring road data or building data, and the present invention does not impose any limitation on this.

[0163] In one embodiment of the present invention, the step of determining a to-be-selected parking scene for the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0164] S31, determining a moving direction that is consistent with the direction of the front of the vehicle before parking as a candidate moving direction;

[0165] S32, if the vehicle head direction is consistent with the driving direction, determining a driving direction that matches the driving direction of the vehicle before parking as a candidate driving direction;

[0166] S33, if the vehicle head direction is inconsistent with the driving direction, determining a driving direction opposite to the driving direction of the vehicle before parking as a candidate driving direction;

[0167] S34, obtaining a parking scene for the vehicle according to the selected moving direction and the selected driving direction.

[0168] In a specific implementation, the vehicle's current applicable moving direction can be selected based on the vehicle's front heading before parking. Specifically, if the direction pointed by the vehicle's front heading before parking is parallel to the horizontal direction, the horizontal direction can be used as the moving direction to be selected. If the direction pointed by the vehicle's front heading before parking is parallel to the vertical direction, the vertical direction can be used as the moving direction to be selected.

[0169] As a specific example of the present invention, the parking area may be a rectangle having a long side and a short side, wherein the long side is located at the left and right sides of the rectangle, and the short side is located at the front and rear sides of the rectangle. The length of the long side is greater than the length of the vehicle body, the length of the short side is greater than the length of the front or rear of the vehicle, and the length of the long side is greater than the length of the short side.

[0170] When the front of the vehicle before parking is facing the left or right side relative to the parking area, the front of the vehicle is parallel to the direction of the straight line formed by connecting the left and right ends of the parking area, that is, parallel to the vertical direction. At the same time, the side of the vehicle can be perpendicular to the long side of the parking area, and the side of the vehicle before parking and the side of the vehicle after parking can be nearly perpendicular. At this time, the vertical direction consistent with the front of the vehicle before parking can be selected as the candidate moving direction from the horizontal direction to the vertical direction.

[0171] When the front of the vehicle before parking is facing the front or rear of the parking area, the front of the vehicle is parallel to the straight line formed by connecting the front and rear ends of the parking area, that is, parallel to the horizontal direction. At the same time, the side of the vehicle can be parallel to the long side of the parking area, and the side of the vehicle before parking can be nearly parallel to the side of the vehicle after parking. At this time, the horizontal direction consistent with the front of the vehicle before parking can be selected as the candidate moving direction from the horizontal direction to the vertical direction.

[0172] Thereafter, it is further convenient for the vehicle to go to the driving direction corresponding to the desired forward direction. Thus, the relationship between the vehicle head direction and the driving direction can be determined first to determine the state in which the vehicle is parked in the parking area.

[0173] Generally speaking, when a vehicle is moving forward normally, the direction of the front of the vehicle can usually be consistent with the driving direction. Therefore, if the direction of the front of the vehicle is consistent with the driving direction, it can be considered that the vehicle is in a normal moving state before parking. After the vehicle is parked, it can usually be considered that the vehicle needs to continue to move forward normally to reach a destination. Therefore, in order to make the vehicle closer to its desired destination and avoid abnormal situations such as reverse driving, if the direction of the front of the vehicle is consistent with the driving direction, the driving direction that matches the driving direction before the vehicle is parked can be selected as the to-be-selected driving direction. For example, if the driving direction before the vehicle is parked is horizontally forward relative to the parking area, the left front, front and right front driving directions can be selected as the to-be-selected driving directions.

[0174] When the vehicle is traveling in reverse, the direction of the front of the vehicle may not be consistent with the direction of travel. Therefore, if the direction of the front of the vehicle is inconsistent with the direction of travel, it can be considered that the vehicle was in a reverse driving state before parking. After the vehicle is parked, it can be considered that the vehicle does not need to continue to reverse, but needs to continue to move forward normally to a destination. Therefore, in order to allow the vehicle to get closer to its desired destination and avoid abnormal situations such as reverse driving, if the direction of the front of the vehicle is inconsistent with the direction of travel, the driving direction opposite to the driving direction before the vehicle is parked can be selected as the to-be-selected driving direction. For example, if the driving direction before the vehicle is parked is horizontally backward relative to the parking area, the driving directions opposite to the driving direction, such as the left front, front, and right front driving directions, can be selected as the to-be-selected driving directions.

[0175] Afterwards, the vehicle's parking exit scenario can be obtained in a number of preset parking scenarios according to the selected moving direction and the selected driving orientation. As a result, the vehicle's front direction after parking is consistent with the vehicle's front direction before parking, and the vehicle can also be closer to the direction it expects to approach, reducing abnormal situations that may be caused by automatic parking, and facilitating the vehicle to reach its expected position faster later, further improving the user's parking exit experience.

[0176] As a specific example of the present invention, Figure 5 is a schematic diagram of a parking scene provided in an embodiment of the present invention. In the case where a vehicle is parked horizontally into the parking area 1 from the left rear side relative to the parking area 1. The parking scene can be determined in the following manner:

[0177] First, based on the vehicle's front direction before parking, select the candidate moving direction currently applicable to the vehicle. The vehicle's front direction before parking can point to the horizontal direction. Therefore, it can be determined that the vehicle's candidate moving direction is the horizontal direction. Figure 4 At this time, the optional parking scenes include horizontal front parking 1, horizontal left front parking 2, horizontal right front parking 3, horizontal left rear parking 6, horizontal right rear parking 7, and horizontal rear parking 10.

[0178] Thereafter, it can be determined whether the vehicle's front orientation before parking is consistent with the vehicle's driving direction before parking. Since the vehicle was driving forward before parking, it is consistent with the horizontal forward direction of the vehicle's front orientation. Thus, it can be determined that the vehicle's front orientation is consistent with the driving direction, and the driving direction that matches the vehicle's driving direction before parking, that is, the left front side, front side, and right front side belonging to the forward driving direction, are determined as the selected driving directions.

[0179] Afterwards, refer to Figure 4 , considering the candidate moving directions and the candidate driving directions, it can be determined that the currently available parking scenarios include horizontal front parking 1, horizontal left front parking 2, and horizontal right front parking 3.

[0180] In one embodiment of the present invention, the step of determining a target parking exit scene from a candidate parking exit scene according to the vehicle head orientation before parking, the vehicle driving direction before parking, and lane line information and / or obstacle information includes:

[0181] S41, determining a parking exit scene to be selected for the vehicle according to the vehicle front orientation and the vehicle travel direction before the vehicle is parked;

[0182] S42, determining, according to the lane line information and / or obstacle information, a parking scene that avoids lane lines and / or obstacles from the parking scene to be selected as a target parking scene.

[0183] In a specific implementation, at least one available parking exit scenario for the vehicle can be determined based on the vehicle's front orientation and the vehicle's driving direction before parking. Then, since there may be obstacles on the driving path corresponding to the parking exit scenario, or lane lines that are prohibited from crossing may be planned, the parking exit scenarios that may contact obstacles or cross lane lines can be excluded from the parking exit scenarios based on lane line information and / or obstacle information to obtain the target parking exit scenario. This can reduce abnormal situations that may be caused by automatic parking while maintaining a high parking exit efficiency for the parking exit scenario.

[0184] In one embodiment of the present invention, the step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking includes:

[0185] S51, determining a target parking exit scene for the vehicle according to the front direction of the vehicle before parking;

[0186] S52, determining the parking difficulty according to the target parking scenario;

[0187] S53: determining a recommended method for the target parking scene according to the parking difficulty.

[0188] Specifically, after determining the target parking exit scenario of the vehicle according to the vehicle front orientation before parking, the parking difficulty can be further determined according to the target parking exit scenario to determine a recommendation method for the target parking exit scenario. The recommendation method may include recommending to the user and stopping recommending to the user.

[0189] In a specific implementation, the parking difficulty may be determined based on the number of target parking scenarios and the difficulty of the parking scenarios themselves.

[0190] When there are a large number of target parking scenarios, it can be considered that multiple methods can allow the vehicle to park normally, and it is not easy to cause abnormal situations such as collision with obstacles, so the parking difficulty can be considered to be low. When there are a small number of target parking scenarios, it can be considered that only a few methods can allow the vehicle to park normally, and if the user parks the vehicle by himself, it is relatively more likely to cause an accident, so the parking difficulty can be considered to be high.

[0191] Meanwhile, the parking difficulty can also be determined according to the difficulty of the parking scene itself. For example, in the case where the parking scene requires driving backward, since it is usually difficult for the user to observe the obstacles behind him, it can be considered that the parking scene driving backward is more difficult.

[0192] At the same time, the difficulty of the parking scene itself can also be analyzed according to user habits. For example, if the user frequently uses reverse parking or front parking, it can be considered that the vertical parking scene is relatively simple for the user, while the horizontal parking scene is relatively difficult for the user. Then the vertical parking scene itself can have a lower difficulty, while the horizontal parking scene itself has a higher difficulty.

[0193] Thus, the parking difficulty of the current vehicle in the parking area can be determined by comprehensively considering the number of target parking scenarios and the difficulty of the parking scenarios themselves. If the parking difficulty is high, it can be considered that the user needs the assistance of the vehicle to park out of the parking area, and the parking scenarios can be actively recommended to the user for selection. If the parking difficulty is low, it can be considered that the user can park out of the parking area by himself without the assistance of the vehicle, and the parking scenarios can be stopped from being recommended to the user.

[0194] In one embodiment of the present invention, if the parking scenario of the vehicle is horizontal right rear side parking or horizontal left rear side parking;

[0195] The steps of determining a parking exit scene of the vehicle according to the front direction of the vehicle before parking, include:

[0196] S61, determining that the front of the vehicle is facing forward horizontally relative to the parking area before the vehicle is parked;

[0197] S62, determining, based on the horizontal forward orientation of the front of the vehicle relative to the parking area, that the parking exit scenarios of the vehicle include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0198] In the specific implementation, Figure 6 2 is a schematic diagram of another parking scene provided in an embodiment of the present invention. In the figure, the vehicle is parked in from the horizontal left rear side relative to the parking area, from the P0 position to the P1 position. Figure 7 is a schematic diagram of another parking scenario provided in an embodiment of the present invention, in which a vehicle is parked from the right rear side relative to the horizontal parking area, from the P0 position to the P1 position.

[0199] For horizontal right rear parking or horizontal left rear parking, the front direction of the vehicle before parking can be in a horizontal direction relative to the parking area and pointing forward. In this case, if the vehicle needs to park out of the parking area, a parking scene that is convenient for the vehicle to park out can be determined first. Therefore, according to the horizontal forward direction of the front direction of the vehicle relative to the parking area, the parking scene with a vertical moving direction can be excluded. The parking scene with a horizontal moving direction is retained. Thus, it can be determined that the vehicle's parking scene includes the reference Figure 4Shown are a horizontal front parking outlay 1 , a horizontal left front parking outlay 2 , a horizontal right front parking outlay 3 , a horizontal left rear parking outlay 6 , a horizontal right rear parking outlay 7 , and a horizontal rear parking outlay 10 .

[0200] In one embodiment of the present invention, the method further comprises:

[0201] S71, determining that the driving direction of the vehicle before parking is forward;

[0202] S72, determining in the parking out scenarios that the target parking out scenario includes horizontal left front parking out, horizontal right front parking out, and horizontal front parking out.

[0203] In a specific implementation, for horizontal right rear parking in or horizontal left rear parking in, on the basis of determining that the parking exit scenarios include horizontal left front parking out, horizontal left rear parking out, horizontal right front parking out, horizontal right rear parking out, horizontal front parking out, and horizontal rear parking out, the target parking exit scenarios can be further screened according to the driving direction of the vehicle before parking in.

[0204] In a specific implementation, it may be first determined that the driving direction of the vehicle before parking into the parking area is forward driving based on the parking scenario of parking in the horizontal right rear direction or parking in the horizontal left rear direction.

[0205] Further, the driving direction is forward driving, and the vehicle head is facing horizontally forward, and the two directions are consistent. In this case, the driving direction that matches the driving direction can be used as the driving direction to be selected, that is, the left front side, the right front side, and the front are used as the driving direction to be selected.

[0206] Thus, the target parking scenes can be further screened to include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0207] In a specific implementation, the target parking scene may be further screened according to the lane line information and / or obstacle information.

[0208] For example Figure 6 In the horizontal left rear parking scene shown, after determining that the parking exit scenes include horizontal left front parking, horizontal right front parking, and horizontal front parking, it can be further known based on the obstacle information that the vehicle in front of the vehicle at position P1 in the parking area is blocked by a vehicle and the right side is blocked by a wall. Therefore, based on the obstacle information, horizontal left front parking can be determined as the target parking exit scene among horizontal left front parking, horizontal right front parking, and horizontal front parking.

[0209] For example Figure 7In the horizontal right rear parking scene shown, after determining that the parking exit scenes include horizontal left front parking, horizontal right front parking, and horizontal front parking, it can be further known based on the obstacle information that the vehicle in front of the vehicle at position P1 in the parking area is blocked by a vehicle and the left side is blocked by a wall. Therefore, based on the obstacle information, horizontal right front parking can be determined as the target parking exit scene among horizontal left front parking, horizontal right front parking, and horizontal front parking.

[0210] In one embodiment of the present invention, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the left rear side or the rear of the vehicle is parked perpendicularly at the right front side;

[0211] The steps of determining a parking exit scene of the vehicle according to the front direction of the vehicle before parking, include:

[0212] S81, determining that the front of the vehicle is facing vertically to the right relative to the parking area before the vehicle is parked;

[0213] S82, determining, based on the vehicle front direction vertically to the right relative to the parking area, that the parking exit scenarios of the vehicle include vertical right front parking and vertical left rear parking, and recommending the parking exit scenarios to the user.

[0214] In the specific implementation, Figure 8 2 is a schematic diagram of another parking scene provided in an embodiment of the present invention. In the figure, the vehicle is parked in the parking area from the rear vertical right front side, drives forward from the P0 position to the right side of the parking area, and then uses reverse parking to park in the P1 position. Fig. 9 2 is a schematic diagram of another parking scenario provided in an embodiment of the present invention. In the diagram, a vehicle is parked in from the vertical left rear side relative to the front of the parking area, and the front of the vehicle is parked in from the P0 position, and the vehicle is parked in from the left side relative to the parking area to the P1 position.

[0215] For parking with the front of the vehicle vertically at the left rear side or the rear of the vehicle vertically at the right front side, the front direction of the vehicle before parking can be vertical relative to the parking area and pointing to the right side of the parking area. In this case, if the vehicle needs to park out of the parking area, a parking scene that is convenient for the vehicle to park out can be determined first. Therefore, according to the horizontal forward direction of the front of the vehicle relative to the parking area, the parking scene with a horizontal moving direction can be excluded. The parking scene with a vertical moving direction is retained. Thus, it can be determined that the parking scene of the vehicle includes the reference scene. Figure 4 As shown, there is a vertical left front parking lot 4, a vertical right front parking lot 5, a vertical left rear parking lot 8, and a vertical right rear parking lot 9.

[0216] Then, since the vehicle's front direction points to the right side of the parking area, and the vehicle's driving direction before parking is to the right side relative to the parking area, the vehicle's front direction and the driving direction are consistent. In this case, the driving direction that matches the driving direction can be used as the driving direction to be selected, that is, the right front side and the left rear side are used as the driving directions to be selected.

[0217] Thus, the target parking scenes can be further screened to include vertical right front parking and vertical left rear parking among vertical left front parking, vertical right front parking, vertical left rear parking and vertical right rear parking.

[0218] For example Figure 8 In the rear right front parking scene shown, after determining that the parking exit scenes include the vertical right front parking exit and the vertical left rear parking exit, it can be further considered that when the vehicle returns to the front lane, the vehicle is more likely to drive normally, avoiding the abnormal situation of being unable to drive normally. Therefore, the vertical right front parking exit can be determined as the target parking exit scene from the vertical right front parking exit and the vertical left rear parking exit.

[0219] For example Fig. 9 In the vertical left rear parking scene shown in the figure, after determining that the parking exit scenes include vertical right front parking exit and vertical left rear parking exit, it can be further considered that when the vehicle returns to the front lane, the vehicle can be more likely to drive normally, avoiding the abnormal situation of being unable to drive normally. Therefore, the vertical left rear parking exit can be determined as the target parking exit scene among the vertical right front parking exit and the vertical left rear parking exit.

[0220] In one embodiment of the present invention, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side;

[0221] The steps of determining a parking exit scene of the vehicle according to the front direction of the vehicle before parking, include:

[0222] S91, determining that the front of the vehicle is facing vertically left relative to the parking area before the vehicle is parked;

[0223] S92: Determine, based on the vehicle front direction vertically to the left relative to the parking area, that the parking exit scenarios of the vehicle include vertical left front parking and vertical right rear parking, and recommend the parking exit scenarios to the user.

[0224] In the specific implementation, Fig.10 2 is a schematic diagram of another parking scene provided in an embodiment of the present invention. In the figure, the vehicle is parked from the rear of the vehicle vertically to the left front side relative to the parking area, drives forward from the P0 position to the left side of the parking area, and then uses reverse parking to park at the P1 position. Fig. 9is a schematic diagram of another parking scenario provided in an embodiment of the present invention. In the figure, a vehicle is parked in from the right rear side relative to the front of the parking area, and the front of the vehicle is parked in from the P0 position, and the vehicle is parked in from the left side relative to the parking area to the P1 position.

[0225] For parking with the front of the vehicle vertically at the rear right or the rear of the vehicle vertically at the front left, the front direction of the vehicle before parking can be vertical relative to the parking area and pointing to the left side of the parking area. In this case, if the vehicle needs to park out of the parking area, a parking scene that is convenient for the vehicle to park out can be determined first. Therefore, according to the horizontal forward direction of the front of the vehicle relative to the parking area, the parking scene with a horizontal moving direction can be excluded. The parking scene with a vertical moving direction is retained. Thus, it can be determined that the parking scene of the vehicle includes the reference scene. Figure 4 As shown, there is a vertical left front parking lot 4, a vertical right front parking lot 5, a vertical left rear parking lot 8, and a vertical right rear parking lot 9.

[0226] Then, since the vehicle's front direction points to the left side of the parking area, and the vehicle's driving direction before parking is to the left relative to the parking area, the vehicle's front direction and the driving direction are consistent. In this case, the driving direction that matches the driving direction can be used as the driving direction to be selected, that is, the left front side and the right rear side are used as the driving directions to be selected.

[0227] Thus, the target parking scenes can be further screened to include vertical left front parking out and vertical right rear parking out among vertical left front parking out, vertical right front parking out, vertical left rear parking out and vertical right rear parking out.

[0228] For example Fig.10 In the vertical left front parking scene shown in the figure, after determining that the parking exit scenes include vertical left front parking and vertical right rear parking, it can be further considered that when the vehicle returns to the front lane, the vehicle is more likely to drive normally, avoiding the abnormal situation of being unable to drive normally. Therefore, the vertical left front parking can be determined as the target parking exit scene from the vertical left front parking and vertical right rear parking.

[0229] For example Fig.11 In the vertical left rear parking scene shown in the figure, after determining that the parking exit scenes include vertical left front parking and vertical right rear parking, it can be further considered that when the vehicle returns to the front lane, the vehicle is more likely to drive normally, avoiding the abnormal situation of being unable to drive normally. Therefore, the vertical left rear parking can be determined as the target parking exit scene from the vertical left front parking and vertical right rear parking.

[0230] In one embodiment of the present invention, the step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking includes:

[0231] S101: If the parking mode is manual parking, determine the parking scene of the vehicle according to the front direction of the vehicle before parking.

[0232] In a specific implementation, the parking mode may include automatic parking and manual parking. Automatic parking may be when a user uses the automatic parking function provided by the vehicle to park the vehicle in the parking area. Manual parking may be when a user parks the vehicle in the parking area by himself.

[0233] When the vehicle uses the automatic parking function, the vehicle can use its own sensors such as cameras, laser radars, ultrasonic radars, etc. to find available parking areas around the vehicle and park the vehicle in the parking area. Afterwards, the vehicle can write the automatic parking logo and the parking scene selected for automatic parking into the preset memory. After the vehicle is started next time, the automatic parking function used by the vehicle last time can be known based on the automatic parking logo, and the parking scene selected for automatic parking can also be obtained.

[0234] When the vehicle is parked in the parking area by the user, the vehicle can detect whether the vehicle has an automatic parking mark after starting. If there is no automatic parking mark, it is considered that the user has manually parked the vehicle last time and may need to leave the parking area.

[0235] In the case of manual parking, the vehicle can record the driving path of the vehicle's last operation cycle, so that the vehicle's front direction and driving direction before parking can be known. However, if the vehicle does not have an automatic parking indication, the vehicle cannot directly know how the vehicle is parked in the parking area, and needs to determine the parking scene suitable for the current state of the vehicle based on the historical driving path and real-time collection of information such as the vehicle's surrounding environment.

[0236] Therefore, if the parking mode is manual parking, the parking exit scene of the vehicle is determined according to the direction of the front of the vehicle before parking. Therefore, the user does not need to select the parking exit scene by himself, but can directly view the parking exit scene recommended by the vehicle and confirm whether to park automatically to complete the automatic parking process, which improves the operating efficiency of the automatic parking function and improves the user experience.

[0237] In one embodiment of the present invention, the method further comprises:

[0238] S111: If the parking mode is automatic parking, a corresponding parking exit scene is determined according to the parking entry scene of the vehicle.

[0239] If the parking mode of the vehicle is automatic parking, the vehicle can obtain the parking scene of automatic parking from its own memory. In this case, it can be considered that if the vehicle parks out using the parking scene corresponding to the parking scene, there is a low possibility of collision with obstacles and other abnormal situations. Therefore, the corresponding parking scene can be directly determined according to the parking scene of the vehicle and recommended to the user.

[0240] In one embodiment of the present invention, if the parking mode is automatic parking, the step of determining the corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0241] S121, taking the parking exit scene corresponding to the parking entry scene of the vehicle as a parking exit scene to be selected;

[0242] S122, determining whether there is an obstacle on the driving path corresponding to the to-be-selected parking scene;

[0243] S123: If there is no obstacle, the to-be-selected parking scene is used as the target parking scene.

[0244] Furthermore, if the parking mode is automatic parking, there is a certain time difference between the vehicle parking process and the vehicle unparking process. Therefore, the vehicle surrounding environment during the unparking process may change relative to the vehicle parking process, resulting in the possibility of collision with obstacles when the vehicle is automatically unparked using the parking scene corresponding to the parking scene. Therefore, before recommending the parking scene to the user, the parking scene corresponding to the parking scene of the vehicle can be used as a parking scene to be selected, and further based on the vehicle surrounding environment information, it is identified whether there are obstacles in the driving path of the vehicle unparking process, so as to determine whether the vehicle is likely to collide with obstacles during the parking process.

[0245] If there is an obstacle on the driving path corresponding to the selected parking scene, the vehicle may collide with the obstacle when parking. In order to avoid accidents, the parking scene can be stopped from being recommended to the user, and the vehicle can further analyze the surrounding environment of the vehicle and the front direction and driving direction of the vehicle before parking to select an appropriate parking scene.

[0246] When there are no obstacles on the driving path corresponding to the to-be-selected parking scene, the to-be-selected parking scene may be directly recommended to the user as the target parking scene.

[0247] In one embodiment of the present invention, if the parking mode is automatic parking, the step of determining the corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0248] S131, using the moving direction of the vehicle during the parking process as the moving direction of the vehicle during the parking process;

[0249] S132, using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process;

[0250] S133, determining a target parking scene according to the moving direction and driving direction of the vehicle during the parking process.

[0251] In a specific implementation, when the parking mode is automatic parking, the vehicle can usually park out along the parking path. Therefore, the corresponding parking out scene can be directly selected based on the vehicle parking scene.

[0252] The moving direction of the vehicle during the parking process relative to the parking area can be used as the moving direction of the vehicle during the parking process relative to the parking area. The driving direction of the vehicle during the parking process relative to the parking area can be used as the driving direction of the vehicle during the parking process. Thereafter, the target parking scene can be determined according to the moving direction and driving direction of the vehicle during the parking process.

[0253] For example, when the vehicle is parked in horizontally at the left rear side, the horizontal direction can be used as the moving direction, and the left rear side can be used as the driving direction of the vehicle when parking out. Thereafter, the target parking out scene can be determined as horizontally at the left rear side.

[0254] Reference Fig.12 , shows a flowchart of a parking assistance method provided in an embodiment of the present invention, which may specifically include the following steps:

[0255] Step 1201, if the vehicle is to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the vehicle front orientation before the vehicle is parked in; the parking out scene includes the driving direction of the vehicle during the parking out process and the moving direction of the vehicle relative to the parking area during the parking out process; the vehicle front orientation after the vehicle is parked out corresponding to the parking out scene is consistent with the vehicle front orientation before the vehicle is parked in;

[0256] Generally speaking, a vehicle can be parked in a parking area. The parking area can be an area that can be used to park vehicles, such as a parking lot divided into a plurality of parking spaces, a temporary parking space on the side of a road, or an open space around a building, etc., and the present invention does not limit this.

[0257] If the vehicle needs to leave the current location, the user can start the vehicle and prepare to park out of the parking area. Specifically, for the vehicle, if the last action performed by the vehicle in the previous start cycle was parking into the parking area, then after the vehicle is started in this start cycle, the vehicle can assume that the user is ready to park out of the parking area at this time and determine the parking scene applicable to the current vehicle.

[0258] Specifically, the parking exit scene may include the driving position of the vehicle during the parking exit process and the moving direction of the vehicle relative to the parking area during the parking exit process. The driving position may refer to the position of the vehicle during the driving process relative to the parking area. The moving direction may refer to the moving direction of the vehicle relative to the parking area during the process of the vehicle parking in or out of the parking area.

[0259] In the embodiment of the present invention, in order to provide a better parking-out experience for the user, the vehicle may determine at least one parking-out scenario applicable to the vehicle based on the vehicle head orientation before the vehicle is parked in. Thereafter, the at least one parking-out scenario is displayed to the user, and the user further selects the parking-out scenario he or she prefers from the available parking-out scenarios.

[0260] Therefore, the parking scene that is not applicable at the moment can be screened by the vehicle, and the user will not be shown the parking scene that is not applicable at the moment, thereby improving the efficiency of the user in selecting the parking scene. At the same time, the final parking scene is determined by the user, and the user can select the parking scene that he or she prefers, thereby making the automatic parking process of the vehicle better meet the user's preferences and improving the automatic parking experience of the vehicle.

[0261] In a specific implementation, the vehicle uses a variety of methods to display the parking scene to the user. For example, the parking scene can be displayed to the user through a central control display screen located between the main driver's seat and the co-driver's seat in the vehicle, or through a dashboard display screen, or through a head-up display (HUD), and the present invention does not limit this.

[0262] While displaying the parking exit scene, the user may be prompted that there is currently an available parking exit scene by emitting a sound prompt, vibrating the seat, vibrating the steering wheel, etc., but the present invention does not impose any limitation on this.

[0263] Step 1202: In response to the user's selection operation for the parking scene, the vehicle is controlled to park out using the parking scene selected by the user.

[0264] The user can issue a selection operation for the displayed parking scene and select the preferred parking scene. The selection operation can be issued by clicking the central control display screen, clicking the instrument panel display screen, touching the corresponding area of ​​the head-up display, issuing a voice, turning the steering wheel, clicking a button on the steering wheel, clicking a button on the central console, etc., and the present invention does not limit this.

[0265] Thereafter, the vehicle may determine the parking exit scene selected by the user in response to the user's selection operation for the parking scene, and control the vehicle to park out using the parking exit scene selected by the user.

[0266] According to the parking assistance method provided by the embodiment of the present invention, if a vehicle is ready to park out of a parking area, at least one parking out scene of the vehicle is displayed to the user according to the vehicle head orientation before the vehicle is parked in; the parking out scene includes the driving direction of the vehicle during the parking out process and the moving direction of the vehicle relative to the parking area during the parking out process; the vehicle head orientation after the parking out corresponding to the parking out scene is consistent with the vehicle head orientation before the vehicle is parked in; in response to the user's selection operation for the parking scene, the parking out of the vehicle is controlled by the parking out scene selected by the user. By means of the vehicle screening parking out scene, the currently unsuitable parking out scene is not displayed to the user, thereby improving the efficiency of the user's selection of the parking out scene. At the same time, the final parking out scene is determined by the user, and the user can select the parking out scene of his own preference, so that the automatic parking out process of the vehicle can better meet the user's preferences and improve the automatic parking out experience of the vehicle.

[0267] In one embodiment of the present invention, the method further comprises:

[0268] S141: If no user selection operation for a parking scene is received within a preset time period, the vehicle is controlled to park out using the parking scene selected by the vehicle.

[0269] Specifically, if the user does not select a parking scene within a preset time, it can be considered that the user allows the vehicle to park out of the parking area by itself. In this case, the vehicle can further select a parking scene from at least one parking scene to control the vehicle to park out.

[0270] The preset duration may be 10 seconds, 1 minute, 5 minutes, 10 minutes, etc., and the present invention does not impose any limitation on this.

[0271] Optionally, if no user selection operation for a parking scene is received within a preset time period, the vehicle may assume that the current user does not wish to park the vehicle by automatic parking, and stop recommending parking scenes and continue waiting for other user operations.

[0272] In one embodiment of the present invention, if a vehicle is about to be parked out of a parking area, the step of displaying at least one parking scene of the vehicle to a user according to the vehicle front direction before the vehicle is parked in includes:

[0273] S151, if the vehicle is ready to park out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the vehicle front orientation and the vehicle driving direction before parking.

[0274] In a specific implementation, if a vehicle is about to park out of a parking area, the parking scene displayed to the user by the vehicle can be determined by further considering the direction of the vehicle's travel before parking in addition to the vehicle's front direction before parking in. As a result, the vehicle's front direction after parking out is consistent with the vehicle's front direction before parking in, and the vehicle can also be closer to the direction it expects to approach, reducing abnormal situations that may be caused by automatic parking, and facilitating the vehicle to reach its desired location faster later, further improving the user's parking experience.

[0275] In one embodiment of the present invention, if a vehicle is about to be parked out of a parking area, the step of displaying at least one parking scene of the vehicle to a user according to the vehicle head orientation before the vehicle is parked and the vehicle driving direction before the vehicle is parked includes:

[0276] S161: If the vehicle is about to be parked out of the parking area, at least one parking scene of the vehicle is displayed to the user according to the vehicle's front orientation before parking, the vehicle's driving direction before parking, and lane line information and / or obstacle information.

[0277] In a specific implementation, if the vehicle is about to park out of the parking area, the parking scene displayed to the user by the vehicle may further consider the lane line information and / or obstacle information to determine the parking scene of the vehicle based on the vehicle's front orientation and the vehicle's driving direction before parking, thereby reducing abnormal situations that may be caused by automatic parking.

[0278] In one embodiment of the present invention, the method further comprises:

[0279] S141: If the vehicle is to be parked out of the parking area and the parking mode is automatic parking, at least one parking out scene of the vehicle is displayed to the user according to the parking in scene of the vehicle.

[0280] In a specific implementation, the parking mode may include automatic parking and manual parking. Automatic parking may be when a user uses the automatic parking function provided by the vehicle to park the vehicle in the parking area. Manual parking may be when a user parks the vehicle in the parking area by himself.

[0281] When the vehicle uses the automatic parking function, the vehicle can use its own sensors such as cameras, laser radars, ultrasonic radars, etc. to find available parking areas around the vehicle and park the vehicle in the parking area. Afterwards, the vehicle can write the automatic parking logo and the parking scene selected for automatic parking into the preset memory. After the vehicle is started next time, the automatic parking function used by the vehicle last time can be known based on the automatic parking logo, and the parking scene selected for automatic parking can also be obtained.

[0282] If the parking mode of the vehicle is automatic parking, the vehicle can obtain the parking scene of automatic parking from its own memory. In this case, it can be considered that if the vehicle parks out using the parking scene corresponding to the parking scene, there is a low possibility of abnormal situations such as collision with obstacles. Therefore, the corresponding parking scene can be directly determined according to the parking scene of the vehicle to display to the user, thereby recommending the parking scene to the user. It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described order of actions, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0283] Reference Fig.13 , shows a structural block diagram of a parking assistance device provided in an embodiment of the present invention, which may specifically include the following modules:

[0284] The parking exit assisting module 1301 is used to determine the parking exit scenario of the vehicle according to the front direction of the vehicle before parking if the vehicle is to be parked out of the parking area; the parking exit scenario includes the driving direction of the vehicle during the parking exit process and the moving direction of the vehicle relative to the parking area during the parking exit process; the front direction of the vehicle after parking corresponding to the parking exit scenario is consistent with the front direction of the vehicle before parking.

[0285] Optionally, the docking assistance module includes:

[0286] The parking exit assistance submodule is used to determine the parking exit scenario of the vehicle according to the front direction of the vehicle before parking and the driving direction of the vehicle before parking.

[0287] Optionally, the docking assistance submodule includes:

[0288] The parking assisting unit determines a target parking scene from among the parking scenes to be selected according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

[0289] Optionally, the docking assistance module includes:

[0290] A moving direction determination submodule, used to determine a moving direction consistent with the direction of the front of the vehicle before parking as a candidate moving direction;

[0291] A first driving direction determination submodule, configured to determine a driving direction matching the driving direction of the vehicle before parking as a to-be-selected driving direction if the vehicle head direction is consistent with the driving direction;

[0292] A second driving direction determination submodule is used to determine a driving direction opposite to the driving direction of the vehicle before parking as a to-be-selected driving direction if the vehicle head direction is inconsistent with the driving direction;

[0293] The parking exit scenario determination submodule is used to obtain the parking exit scenario of the vehicle according to the selected moving direction and the selected driving orientation.

[0294] Optionally, the parking assistance unit comprises:

[0295] A to-be-selected parking exit scene subunit determines a to-be-selected parking exit scene for the vehicle according to the vehicle head orientation and the vehicle travel direction before the vehicle is parked;

[0296] The parking exit scene determination subunit is used to determine, according to the lane line information and / or obstacle information, a parking exit scene that avoids lane lines and / or obstacles in the to-be-selected parking exit scenes as a target parking exit scene.

[0297] Optionally, the docking assistance module includes:

[0298] A target parking exit scene determination submodule, used to determine the target parking exit scene of the vehicle according to the front direction of the vehicle before parking;

[0299] A difficulty determination submodule, used to determine the parking difficulty according to the target parking scenario;

[0300] The recommended method determination submodule is used to determine a recommended method for the target parking scene according to the parking difficulty.

[0301] Optionally, if the parking scenario of the vehicle is horizontal right rear side parking or horizontal left rear side parking;

[0302] The docking assistance module includes:

[0303] A first vehicle head direction determination submodule, used for determining that the vehicle head direction before parking is horizontally forward relative to the parking area;

[0304] The first scene determination submodule is used to determine, based on the horizontal forward orientation of the front of the vehicle relative to the parking area, that the parking scenes of the vehicle include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0305] Optionally, the device further comprises:

[0306] A driving direction determination submodule, used to determine that the driving direction of the vehicle before parking is forward driving;

[0307] The second scene determination submodule is used to determine that a target parking scene in the parking scene includes horizontal left front parking, horizontal right front parking, and horizontal front parking.

[0308] Optionally, if the parking scenario of the vehicle is parking with the front of the vehicle perpendicular to the left rear side or with the rear of the vehicle perpendicular to the right front side;

[0309] The docking assistance module includes:

[0310] A second vehicle head direction determination submodule is used to determine that the vehicle head direction before parking is vertically to the right relative to the parking area;

[0311] The third scene determination submodule is used to determine that the parking scenes of the vehicle include vertical right front parking and vertical left rear parking according to the vehicle head orientation vertically to the right relative to the parking area, and recommend the parking scenes to the user.

[0312] Optionally, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side;

[0313] The docking assistance module includes:

[0314] A third vehicle head direction determination submodule is used to determine that the vehicle head direction before parking is vertically left relative to the parking area;

[0315] The fourth scene determination submodule is used to determine that the parking scenes of the vehicle include vertical left front parking and vertical right rear parking according to the vertical left orientation of the front of the vehicle relative to the parking area, and recommend the parking scenes to the user.

[0316] Optionally, the docking assistance module includes:

[0317] The manual parking scene determination submodule is used to determine the parking scene of the vehicle according to the front direction of the vehicle before parking if the parking mode is manual parking.

[0318] Optionally, the device further comprises:

[0319] The automatic parking scene determination module is used to determine the corresponding parking scene according to the parking scene of the vehicle if the parking mode is automatic parking.

[0320] Optionally, the automatic parking scene determination module includes:

[0321] a to-be-selected scene determination submodule, configured to select an exiting scene corresponding to the parking-in scene of the vehicle as the to-be-selected exiting scene;

[0322] The obstacle recognition module submodule is used to determine whether there is an obstacle on the driving path corresponding to the selected parking scene;

[0323] The first target scene determination submodule is used to use the to-be-selected parking scene as a target parking scene if no obstacle exists.

[0324] Optionally, the automatic parking scenario includes:

[0325] An automatic parking movement direction determination submodule, used for using the movement direction of the vehicle during the parking process as the movement direction of the vehicle during the parking process;

[0326] An automatic parking driving direction determination submodule, used for using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process;

[0327] The second target scene determination submodule is used to determine a target parking scene according to the moving direction and driving direction of the vehicle during the parking process.

[0328] Reference Fig.14 , shows a structural block diagram of another parking assistance device provided in an embodiment of the present invention, which may specifically include the following modules:

[0329] The display module 1401 is used to display at least one parking scene of the vehicle to the user according to the vehicle head orientation before the vehicle is parked, if the vehicle is ready to be parked out of the parking area; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the vehicle head orientation after the vehicle is parked out corresponding to the parking scene is consistent with the vehicle head orientation before the vehicle is parked;

[0330] The response module 1402 is used to respond to the user's selection operation on the parking exit scene and control the vehicle to park out using the parking exit scene selected by the user.

[0331] Optionally, the device further comprises:

[0332] The parking exit control module is used to control the vehicle to park out using the parking exit scene selected by the vehicle if no selection operation of the user for the parking exit scene is received within a preset time period.

[0333] Optionally, the display module includes:

[0334] The display submodule is used to display at least one parking scene of the vehicle to the user according to the vehicle front orientation and the vehicle driving direction before parking, if the vehicle is ready to park out of the parking area.

[0335] Optionally, the display submodule includes:

[0336] The display unit is used to display at least one parking scene of the vehicle to the user if the vehicle is about to be parked out of the parking area according to the vehicle head orientation before parking, the vehicle driving direction before parking, and lane line information and / or obstacle information.

[0337] Optionally, the device further comprises:

[0338] The automatic parking display module is used to display at least one parking out scene of the vehicle to the user according to the parking in scene of the vehicle if the vehicle is ready to park out from the parking area and the parking mode is automatic parking.

[0339] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0340] In addition, an embodiment of the present invention further provides a vehicle, such as Fig.15 As shown, it includes a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.

[0341] Memory 1503, used for storing computer programs;

[0342] The processor 1501 is used to implement the following steps when executing the program stored in the memory 1503:

[0343] If the vehicle is to be parked out of the parking area, the parking scene of the vehicle is determined according to the front direction of the vehicle before parking in; the parking scene includes the driving direction of the vehicle during the parking process and the moving direction of the vehicle relative to the parking area during the parking process; the front direction of the vehicle after parking out corresponding to the parking scene is consistent with the front direction of the vehicle before parking in.

[0344] Optionally, determining a parking exit scene of the vehicle according to a front orientation of the vehicle before parking, includes:

[0345] A parking exit scenario of the vehicle is determined according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking.

[0346] Optionally, determining the parking exit scene according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0347] A target parking exit scene is determined from among the possible parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

[0348] Optionally, the step of determining the parking exit scene of the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes:

[0349] Determine a moving direction that is consistent with the direction of the front of the vehicle before parking as a candidate moving direction;

[0350] If the vehicle head direction is consistent with the driving direction, determining a driving direction that matches the driving direction of the vehicle before parking as a to-be-selected driving direction;

[0351] If the vehicle head direction is inconsistent with the driving direction, determining a driving direction opposite to the driving direction of the vehicle before parking as a candidate driving direction;

[0352] A parking scene for the vehicle is obtained according to the selected moving direction and the selected driving orientation.

[0353] Optionally, the step of determining a target parking exit scene in the to-be-selected parking exit scene according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information comprises:

[0354] Determining a parking scene to be selected for the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking;

[0355] According to the lane line information and / or obstacle information, a parking exit scene that avoids the lane line and / or obstacle is determined as a target parking exit scene in the to-be-selected parking exit scenes.

[0356] Optionally, the step of determining a parking exit scene of the vehicle according to the front orientation of the vehicle before parking, comprises:

[0357] Determining a target parking exit scene for the vehicle according to the front orientation of the vehicle before parking;

[0358] determining a parking difficulty according to the target parking scenario;

[0359] A recommended method for the target parking scene is determined according to the parking difficulty.

[0360] Optionally, if the parking scenario of the vehicle is horizontal right rear side parking or horizontal left rear side parking;

[0361] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0362] Determining that the front of the vehicle is facing forward horizontally relative to the parking area before the vehicle is parked;

[0363] According to the horizontal forward orientation of the front of the vehicle relative to the parking area, the parking exit scenarios of the vehicle are determined to include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

[0364] Optionally, the method further comprises:

[0365] Determining that the driving direction of the vehicle before parking is forward driving;

[0366] The target parking scenes are determined to include horizontal left front parking, horizontal right front parking and horizontal front parking in the parking scenes.

[0367] Optionally, if the parking scenario of the vehicle is parking with the front of the vehicle perpendicular to the left rear side or with the rear of the vehicle perpendicular to the right front side;

[0368] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0369] Determining that the front of the vehicle is facing vertically to the right relative to the parking area before parking;

[0370] According to the vehicle front orientation vertically to the right relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical right front parking and vertical left rear parking, and the parking exit scenarios are recommended to the user.

[0371] Optionally, if the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side;

[0372] The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises:

[0373] Determining that the front of the vehicle is facing vertically to the left relative to the parking area before parking;

[0374] According to the vertical leftward orientation of the front of the vehicle relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical left front parking and vertical right rear parking, and the parking exit scenarios are recommended to the user.

[0375] Optionally, the step of determining a parking exit scene of the vehicle according to the front orientation of the vehicle before parking, comprises:

[0376] If the parking mode is manual parking, the parking exit scene of the vehicle is determined according to the front direction of the vehicle before parking.

[0377] Optionally, the method further comprises:

[0378] If the parking mode is automatic parking, the corresponding parking exit scene is determined according to the parking entry scene of the vehicle.

[0379] Optionally, if the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0380] taking a parking exit scene corresponding to the parking entry scene of the vehicle as a parking exit scene to be selected;

[0381] Determine whether there is an obstacle on the driving path corresponding to the to-be-selected parking scene;

[0382] If there is no obstacle, the to-be-selected parking scene is used as the target parking scene.

[0383] Optionally, if the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes:

[0384] Using the moving direction of the vehicle during the parking process as the moving direction of the vehicle during the parking process;

[0385] Using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process;

[0386] A target parking scene is determined according to the moving direction and driving orientation of the vehicle during the parking process.

[0387] The processor 1501, when used to execute the program stored in the memory 1503, further implements the following steps:

[0388] If the vehicle is to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the vehicle front orientation before the vehicle is parked in; the parking out scene includes the driving direction of the vehicle during the parking out process and the moving direction of the vehicle relative to the parking area during the parking out process; the vehicle front orientation after the vehicle is parked out corresponding to the parking out scene is consistent with the vehicle front orientation before the vehicle is parked in;

[0389] In response to a user's selection operation on the parking exit scenario, the vehicle is controlled to park out using the parking exit scenario selected by the user.

[0390] Optionally, the method further comprises:

[0391] If no selection operation of the user for the parking exit scene is received within a preset time period, the parking exit scene selected by the vehicle is used to control the vehicle to park out.

[0392] Optionally, if the vehicle is to be parked out of the parking area, the step of displaying at least one parking out scene of the vehicle to the user according to the front direction of the vehicle before parking, comprises:

[0393] If the vehicle is ready to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking.

[0394] Optionally, if the vehicle is to be parked out of the parking area, the step of displaying at least one parking out scene of the vehicle to the user according to the vehicle head orientation before the vehicle is parked and the vehicle driving direction before the vehicle is parked includes:

[0395] If the vehicle is ready to park out of the parking area, at least one parking scene of the vehicle is displayed to the user based on the vehicle's front orientation before parking, the vehicle's driving direction before parking, and lane line information and / or obstacle information.

[0396] Optionally, the method further comprises:

[0397] If the vehicle is to be parked out of the parking area and the parking mode is automatic parking, at least one parking out scene of the vehicle is displayed to the user according to the parking in scene of the vehicle.

[0398] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0399] The communication interface is used for communication between the above terminal and other devices.

[0400] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0401] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0402] like Fig.16 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1601 is also provided, in which instructions are stored. When the computer-readable storage medium 1601 is run on a computer, the computer executes the docking assistance method described in the above embodiment.

[0403] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer is enabled to execute the docking assistance method described in the above embodiment.

[0404] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0405] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0406] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0407] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A parking assistance method, characterized in that: include: If a vehicle is to be parked out of a parking area, a parking scene for the vehicle is determined according to the relationship between the vehicle's front orientation before parking and the vehicle's driving direction before parking; the parking scene includes the vehicle's driving orientation during the parking process and the vehicle's moving direction relative to the parking area during the parking process; the vehicle's front orientation after parking corresponding to the parking scene is consistent with the vehicle's front orientation before parking; wherein the driving orientation is the vehicle's orientation relative to the parking area during the driving process; and the moving direction is the vehicle's moving direction relative to the parking area during the process of parking in or out of the parking area.

2. The method according to claim 1, characterized in that The determining the parking exit scenario according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes: A target parking exit scene is determined from among the possible parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information.

3. The method according to claim 1, characterized in that The step of determining the parking exit scene of the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking includes: Determine a moving direction that is consistent with the direction of the front of the vehicle before parking as a candidate moving direction; If the vehicle head direction is consistent with the driving direction, determining a driving direction that matches the driving direction of the vehicle before parking as a to-be-selected driving direction; If the vehicle head direction is inconsistent with the driving direction, determining a driving direction opposite to the driving direction of the vehicle before parking as a candidate driving direction; A parking scene for the vehicle is obtained according to the selected moving direction and the selected driving orientation.

4. The method according to claim 2, characterized in that: The step of determining a target parking exit scene from among the selected parking exit scenes according to the front orientation of the vehicle before parking, the driving direction of the vehicle before parking, and lane line information and / or obstacle information comprises: Determining a parking scene to be selected for the vehicle according to the front orientation of the vehicle before parking and the driving direction of the vehicle before parking; According to the lane line information and / or obstacle information, a parking exit scene that avoids the lane line and / or obstacle is determined as a target parking exit scene in the to-be-selected parking exit scenes.

5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises: Determining a target parking exit scene for the vehicle according to the front orientation of the vehicle before parking; determining a parking difficulty according to the target parking scenario; A recommended method for the target parking scene is determined according to the parking difficulty.

6. The method according to claim 1, characterized in that If the parking scenario of the vehicle is horizontal right rear parking or horizontal left rear parking; The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises: Determining that the front of the vehicle is facing forward horizontally relative to the parking area before the vehicle is parked; According to the horizontal forward orientation of the front of the vehicle relative to the parking area, the parking exit scenarios of the vehicle are determined to include horizontal left front parking, horizontal left rear parking, horizontal right front parking, horizontal right rear parking, horizontal front parking, and horizontal rear parking.

7. The method according to claim 6, characterized in that The method further comprises: Determining that the driving direction of the vehicle before parking is forward driving; The target parking scenes are determined to include horizontal left front parking, horizontal right front parking and horizontal front parking in the parking scenes.

8. The method according to claim 1, characterized in that If the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the left rear side or the rear of the vehicle is parked perpendicularly at the right front side; The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises: Determining that the front of the vehicle is facing vertically to the right relative to the parking area before parking; According to the vehicle front orientation vertically to the right relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical right front parking and vertical left rear parking, and the parking exit scenarios are recommended to the user.

9. The method according to claim 1, characterized in that: If the parking scenario of the vehicle is that the front of the vehicle is parked perpendicularly at the right rear side or the rear of the vehicle is parked perpendicularly at the left front side; The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises: Determining that the front of the vehicle is facing vertically to the left relative to the parking area before parking; According to the vertical leftward orientation of the front of the vehicle relative to the parking area, it is determined that the parking exit scenarios of the vehicle include vertical left front parking and vertical right rear parking, and the parking exit scenarios are recommended to the user.

10. The method according to claim 1, characterized in that The step of determining the parking exit scene of the vehicle according to the front direction of the vehicle before parking, comprises: If the parking mode is manual parking, the parking exit scene of the vehicle is determined according to the front direction of the vehicle before parking.

11. The method according to claim 1, characterized in that: The method further comprises: If the parking mode is automatic parking, the corresponding parking exit scene is determined according to the parking entry scene of the vehicle.

12. The method according to claim 11, characterized in that If the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes: taking a parking exit scene corresponding to the parking entry scene of the vehicle as a parking exit scene to be selected; Determine whether there is an obstacle on the driving path corresponding to the to-be-selected parking scene; If there is no obstacle, the to-be-selected parking scene is used as the target parking scene.

13. The method according to claim 11, characterized in that If the parking mode is automatic parking, the step of determining a corresponding parking exit scene according to the parking entry scene of the vehicle includes: Using the moving direction of the vehicle during the parking process as the moving direction of the vehicle during the parking process; Using the driving direction of the vehicle during the parking process as the driving direction of the vehicle during the parking process; A target parking scene is determined according to the moving direction and driving orientation of the vehicle during the parking process.

14. A parking assistance method, characterized in that: The method comprises: If the vehicle is to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the relationship between the vehicle head orientation before the vehicle is parked in and the vehicle driving direction before the vehicle is parked in; the parking out scene includes the driving direction of the vehicle during the parking out process and the moving direction of the vehicle relative to the parking area during the parking out process; the vehicle head orientation after the parking out corresponding to the parking out scene is consistent with the vehicle head orientation before the vehicle is parked in; wherein the driving direction is the direction of the vehicle during the driving process relative to the parking area; the moving direction is the moving direction of the vehicle relative to the parking area during the process of the vehicle parking in or out of the parking area; In response to a user's selection operation on the parking exit scenario, the vehicle is controlled to park out using the parking exit scenario selected by the user.

15. The method according to claim 14, characterized in that The method further comprises: If no selection operation of the user for the parking exit scene is received within a preset time period, the parking exit scene selected by the vehicle is used to control the vehicle to park out.

16. The method according to claim 14, characterized in that If the vehicle is ready to be parked out of the parking area, the step of displaying at least one parking scene of the vehicle to the user according to the front direction of the vehicle before the vehicle is parked in includes: If the vehicle is ready to be parked out of the parking area, at least one parking out scene of the vehicle is displayed to the user according to the front direction of the vehicle before parking and the driving direction of the vehicle before parking.

17. The method according to claim 16, characterized in that If the vehicle is ready to park out of the parking area, the step of displaying at least one parking scene of the vehicle to the user according to the vehicle head orientation before the vehicle is parked and the vehicle driving direction before the vehicle is parked includes: If the vehicle is ready to park out of the parking area, at least one parking scene of the vehicle is displayed to the user based on the vehicle's front orientation before parking, the vehicle's driving direction before parking, and lane line information and / or obstacle information.

18. The method according to claim 14, characterized in that The method further comprises: If the vehicle is to be parked out of the parking area and the parking mode is automatic parking, at least one parking out scene of the vehicle is displayed to the user according to the parking in scene of the vehicle.

19. A vehicle, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 18 when executing the program stored in the memory.

20. A computer readable medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 18.

21. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 18 are implemented.