Parking function switching method and device and computer readable storage

By obtaining gear position and environment information when the vehicle is powered on, automatically switch to the parking mode and calling out the control interface, the complex problem of switching parking functions in the existing technology is solved, and the user experience and switching accuracy are improved.

CN120482079APending Publication Date: 2025-08-15GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510782043.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

In the prior art, the switching operation of the automatic parking function is complicated and the user experience is poor.

Method used

By responding to the vehicle power-on command, obtain the current gear position, status information and surrounding environment information, automatically switch to the docking or docking mode according to preset conditions, and call up the corresponding control interface.

Benefits of technology

It realizes automatic recognition and switching of parking mode, improves user experience, and improves the switching accuracy and stability of parking functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120482079A_ABST
    Figure CN120482079A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a parking function switching method and device and a computer readable storage medium, and the method comprises the steps: obtaining the current gear and state information of a vehicle and the surrounding environment information of the environment where the vehicle is located in response to a power-on instruction of the vehicle; when it is determined that the vehicle meets a preset parking-out switching condition according to the current gear, the state information and the surrounding environment information, the operation mode of the vehicle is controlled to be switched to a parking-out mode, and a control interface of the parking-out mode is called out. Therefore, according to the method, the parking-out mode is recognized and switched according to the current gear, the state information and the surrounding environment information of the vehicle, the corresponding control interface is called out, automatic calling of the parking-out mode is achieved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of vehicle control technology, and in particular to a parking function switching method, a switching device, and a computer-readable storage medium. Background Art

[0002] Automatic parking refers to the ability for a car to automatically park in or out of a parking space. In related technologies, users tap the parking icon on the center console display to enter the parking interface, then tap the exit option on the interface to trigger the vehicle's automatic exit control. However, this method is complex and reduces the user experience. Summary of the Invention

[0003] The embodiments of the present application provide a method for switching a parking function, a switching device, and a computer-readable storage medium, aiming to improve the technical problems in the related art of complex switching operations of the parking function and poor user experience.

[0004] To achieve the above-mentioned purpose, the first embodiment of the present application proposes a method for switching a parking function, the method comprising: in response to a power-on command of the vehicle, obtaining the vehicle's current gear position, status information, and surrounding environment information of the vehicle's environment; when it is determined based on the current gear position, status information, and surrounding environment information that the vehicle meets the preset parking switching conditions, controlling the vehicle's operating mode to switch to the parking mode, and calling up the parking mode control interface.

[0005] According to an embodiment of the present application, a method for switching a parking function includes: in response to a vehicle power-on command, obtaining the vehicle's current gear position, status information, and surrounding environmental information; and, upon determining, based on the current gear position, status information, and surrounding environmental information, switching the vehicle's operating mode to a parking exit mode and displaying a parking exit mode control interface. Thus, the method automatically activates the parking exit mode based on the vehicle's current gear position, status information, and surrounding environmental information, thereby enhancing the user experience.

[0006] In addition, the parking function switching method according to the above embodiment of the present application may also have the following additional technical features:

[0007] According to one embodiment of the present application, the preset parking switching conditions include: the vehicle is in the parking gear, the vehicle is in the target stationary state and the vehicle is in the parking space; or the vehicle is in the parking gear, the vehicle is in the target stationary state, there is a static obstacle in front of the vehicle and the distance between the static obstacle and the vehicle is less than a first preset distance, and the total distance traveled by the vehicle during this power-on process is less than a second preset distance.

[0008] This embodiment uses the above-mentioned preset parking switching conditions to accurately judge the vehicle's parking space and non-parking space parking needs based on the vehicle's current gear position, status information, and surrounding environment information of the vehicle, thereby improving the switching accuracy of the parking mode.

[0009] According to one embodiment of the present application, after controlling the vehicle's operating mode to switch to the parking exit mode and calling the parking exit mode control interface, the following steps are further included: searching for a target parking exit direction based on surrounding environment information; obtaining the vehicle's current speed if the target parking exit direction exists; performing a parking exit status self-check on the vehicle if the current speed is less than a first preset speed; and providing feedback to the user via the parking exit mode control interface indicating a parking exit self-check completion signal upon determining that the vehicle meets preset parking exit conditions based on the parking exit status self-check result. Furthermore, upon receiving a parking exit activation command input by the user, the vehicle is controlled to park. This enables automatic search, detection, and desktop-based feedback in the parking exit mode, improving parking exit control accuracy and user experience.

[0010] According to one embodiment of the present application, the method for switching the parking function further includes: controlling the vehicle's operating mode to switch to a parking mode and displaying a parking mode control interface when it is determined based on the vehicle's current gear position, status information, and surrounding environmental information that the vehicle does not meet preset conditions for switching from a parking exit mode to a parking mode. Thus, after the vehicle is powered on, the vehicle is automatically controlled to enter either a parking exit or parking mode based on the vehicle's current gear position, status information, and surrounding environmental information, enabling automatic invocation of the parking mode and display of the parking mode control interface.

[0011] According to one embodiment of the present application, when controlling a vehicle to enter parking mode, the system further includes: obtaining the vehicle's current speed; if the current speed is less than a second preset speed, controlling the vehicle to enter a parking search state; if the vehicle's status in the parking search state meets preset parking self-check conditions, performing a parking self-check on the vehicle; if the vehicle determines that the preset parking conditions are met based on the parking self-check results, providing a parking self-check completion signal to the user via the parking mode control interface; and upon receiving a parking activation command input by the user, controlling the vehicle to park. This enables automatic search, detection, and desktop feedback in parking exit mode, improving parking exit control accuracy and user experience.

[0012] According to one embodiment of the present application, controlling a vehicle to enter a parking-seeking state includes: controlling the vehicle to enter a driving-scene parking-seeking state, and when the vehicle's actual speed is less than a first preset speed and a user's parking space selection instruction is received, determining that the vehicle's state in the driving-scene parking-seeking state satisfies a preset parking self-check condition, and then self-checking the vehicle into the parking state; while in the driving-scene parking-seeking state, if the vehicle enters a parking lot, the vehicle's actual speed is greater than the first preset speed and less than or equal to a second preset speed, and the vehicle's driving function is not activated, or when a user input parking start instruction is received, the vehicle's actual speed is greater than the first preset speed and less than or equal to the second preset speed, and the vehicle's driving function is not activated, controlling the vehicle to enter a parking-scene parking-seeking state, and when the vehicle's actual speed is less than the first preset speed, determining that the vehicle's state in the parking-scene parking-seeking state satisfies the preset parking self-check condition, and then self-checking the vehicle into the parking state. By further dividing the parking-seeking state into scenarios and setting different preset parking self-check conditions for different scenarios, control accuracy is improved to accommodate different application scenarios.

[0013] According to one embodiment of the present application, when a vehicle is in a parking search state in a driving scenario, the method further includes: obtaining surrounding environmental information of the vehicle's environment; and determining that the vehicle has entered the parking lot if, based on the surrounding environmental information, there are vertical parking spaces and the number of vertical parking spaces is greater than or equal to a preset parking space threshold, determining that the vehicle has entered the parking lot. This improves the accuracy of parking lot determination.

[0014] According to one embodiment of the present application, when controlling a vehicle to enter a parking exit mode, the method further includes: obtaining the total distance traveled by the vehicle in parking exit mode; and when the total distance traveled by the vehicle in parking exit mode exceeds a third preset distance, controlling the vehicle to switch from parking exit mode to parking entry mode and displaying a parking entry mode control interface. This decouples the entry and exit conditions of parking exit mode, avoids changes in the parking interface caused by changes in parking exit mode, and improves the stability of functional state transitions.

[0015] To achieve the above-mentioned purpose, a second embodiment of the present application proposes a computer-readable storage medium on which a parking function switching program is stored. When the parking function switching program is executed by a processor, the above-mentioned parking function switching method is implemented.

[0016] According to the computer-readable storage medium of the embodiment of the present application, the above-mentioned parking function switching method is implemented when the parking function switching program stored thereon is executed by the processor. Based on the above-mentioned parking function switching method, the automatic calling of the parking exit mode and its control interface is realized, thereby improving the user experience.

[0017] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes a parking function switching device, including: an acquisition module, used to respond to the vehicle's power-on command to obtain the vehicle's current gear position, status information and surrounding environment information of the vehicle's environment; a control module, used to control the vehicle's operating mode to switch to the parking mode when it is determined that the vehicle meets the preset parking switching conditions based on the current gear position, status information and surrounding environment information, and call out the parking mode control interface.

[0018] In the parking function switching device of the embodiment of the present application, the acquisition module, in response to a vehicle power-on command, obtains the vehicle's current gear position, status information, and surrounding environmental information. When the control module determines that the vehicle meets preset exit-parking switching conditions based on the current gear position, status information, and surrounding environmental information, it controls the vehicle's operating mode to switch to exit-parking mode and displays the exit-parking mode control interface. Thus, the device identifies and switches to exit-parking mode based on the vehicle's current gear position, status information, and surrounding environmental information, and displays the corresponding control interface, automatically invoking exit-parking mode and improving the user experience.

[0019] To achieve the above-mentioned objectives, the fourth embodiment of the present application proposes a parking function switching device, including a memory, a processor, and a parking function switching program stored in the memory and runnable on the processor. When the processor executes the parking function switching program, the above-mentioned parking function switching method is implemented.

[0020] According to the parking function switching device of the embodiment of the present application, when the processor executes the parking function switching program, the above-mentioned parking function switching method is implemented. Based on the above-mentioned parking function switching method, the automatic calling of the parking exit mode and its control interface is realized, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a flowchart of a method for switching a parking function according to an embodiment of the present application;

[0022] Figure 2 is a flowchart of a method for switching a parking function according to a specific embodiment of the present application;

[0023] Figure 3 This is a connection diagram of a switching device for a parking function according to an embodiment of the present application;

[0024] Figure 4 FIG. 4 is a block diagram of a switching device for a parking function according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following describes a parking function switching method, a parking function switching device, and a computer-readable storage medium proposed in embodiments of the present application with reference to the accompanying drawings.

[0026] Figure 1 Flowchart of a method for switching a parking function according to an embodiment of the present application.

[0027] like Figure 1 As shown, the method for switching the parking function in the embodiment of the present application includes:

[0028] S1, in response to a power-on command of the vehicle, obtaining the current gear position and status information of the vehicle and surrounding environment information of the vehicle;

[0029] Specifically, after receiving the vehicle power-on command, the vehicle's current gear position, status information, and surrounding environment information are automatically acquired. The vehicle's current gear position can be acquired through user-triggered gear control. Vehicle status information is acquired through the vehicle controller and may include one or more types of status information, including the vehicle's current state, historical status information since power-on, historical operating information, and operational information. Surrounding environment information may include surrounding images captured by the vehicle's cameras and point cloud data acquired by radar sensors, and is used to identify the surrounding environment, such as determining whether the vehicle is in a parking space or a parking scenario.

[0030] S2, when it is determined that the vehicle meets the preset parking switching conditions based on the current gear position, status information and surrounding environment information, the vehicle's operating mode is controlled to switch to the parking mode, and a parking mode control interface is called up.

[0031] Specifically, the preset exit-parking switching conditions are set based on actual needs and are used to determine whether the vehicle's current state requires exiting the parking space based on the current gear position, status information, and the vehicle's surrounding environment. For example, if the preset exit-parking switching conditions determine that the vehicle is in a parked state when powered on based on the current gear position, current state, and the vehicle's surrounding environment, then the vehicle is considered to require exiting the parking space. At this point, the vehicle is automatically controlled to switch from the current operating mode to exit mode, and the exit mode control interface is displayed. The current operating mode can be parking mode, parking in mode, etc., without specific limitation.

[0032] This embodiment automatically obtains the vehicle's current gear position, status information, and surrounding environment information after the vehicle is powered on, and combines the current gear position, status information, and surrounding environment information to assess whether the vehicle needs to be parked out, thereby improving the accuracy of monitoring and judgment. When it is determined that the vehicle meets the preset parking switching conditions, the vehicle is controlled to automatically switch to the parking mode and call out the parking mode control interface to achieve automatic switching of the parking mode and realize desktop parking. At this time, the user can activate the parking function in one step based on the automatically called out parking mode control interface, thereby improving the user experience.

[0033] In some embodiments of the present application, the preset parking switching conditions include: the vehicle is in the parking gear, the vehicle is in the target stationary state and the vehicle is in the parking space; or the vehicle is in the parking gear, the vehicle is in the target stationary state, and the total distance traveled by the vehicle during this power-on process is less than a second preset distance.

[0034] Specifically, when it is determined that the vehicle is in the parking gear (P gear) based on the current gear, and the current state of the vehicle is determined to be the target stationary state based on the status information, for example, when the actual vehicle speed is less than or equal to the preset vehicle speed, the vehicle is considered to be in the target stationary state, and when it is determined based on the surrounding environment information that the vehicle is in a parking space (such as a first parking space or a space parking space), the vehicle is considered to be in a parking state in the parking space and there is a need to park out. At this time, the mode is switched to the parking out mode, and the control interface of the parking out mode is called out for display.

[0035] If the vehicle is determined to be in the parking gear (P) based on the current gear position, and the surrounding environment information determines that the vehicle is not in a parking space but there is a static obstacle within a distance S1 (a first preset distance) in front of the vehicle, and the vehicle's current state is determined to be the target stationary state based on the state information, and the total distance traveled during this power-on period does not exceed a distance S2 (a second preset distance), the vehicle is considered to be parked outside the parking space. The system then switches to the parking exit mode and displays the parking exit mode control interface. The first and second preset distances can be set based on actual conditions. The first preset distance is used to assess the size of the space in the vehicle's forward direction. If there is a static obstacle within a distance S1 in front of the vehicle, the vehicle is considered unable to park directly straight ahead and an automatic parking exit function is required. If there is no static obstacle within a distance S1 in front of the vehicle, the driver is considered able to control the vehicle to park directly straight ahead and no automatic parking exit function is required. The second preset distance is used to filter the vehicle's operating scenarios, preventing abnormal driving scenarios such as traffic jams from being mistakenly identified as parking states, thereby ensuring the accuracy of the parking exit function determination.

[0036] This embodiment uses the above-mentioned preset parking switching conditions to accurately judge the vehicle's parking space and non-parking space parking needs based on the vehicle's current gear position, status information, and surrounding environment information of the vehicle, thereby improving the switching accuracy of the parking mode.

[0037] In some embodiments of the present application, after controlling the vehicle's operating mode to switch to the parking mode and calling up the control interface of the parking mode, it also includes: searching for a target parking direction based on surrounding environment information; obtaining the vehicle's current speed when it is determined that there is a target parking direction; performing a parking status self-check on the vehicle when the current speed is less than a first preset speed; when it is determined that the vehicle meets the preset parking conditions based on the parking status self-check result, feeding back a parking self-check completion signal to the user through the parking mode control interface, and performing parking control on the vehicle when a parking activation command input by the user is received.

[0038] Specifically, when the vehicle is switched to parking-out mode, it enters a parking search state by default. The system evaluates current parking conditions based on surrounding environment information to automatically detect supported parking directions, generates target parking directions, and displays the target parking directions on the control interface. For example, if the surrounding environment information determines that both sides of the vehicle's current parking position are clear, i.e., no obstacles block the parking path on either side, then two target parking directions are generated for the left and right sides, and both are displayed on the parking-out mode control interface. If the surrounding environment information determines that only one side of the vehicle's current parking position is clear, while an obstacle blocks the parking path on the other side, then a target parking direction corresponding to the clear side is generated, and the parking direction for the clear side is displayed on the parking-out mode control interface. If the surrounding environment information determines that both sides of the vehicle's current parking position are blocked by obstacles, then no target parking direction is determined to exist, the control interface does not display the parking direction, and an abnormality alarm is issued on the control interface.

[0039] If the target exit direction is determined, and the vehicle's current speed is lower than a first predetermined speed V1, the vehicle's status is determined to meet the predetermined exit self-check conditions, and the vehicle enters the exit self-check state, where it undergoes an exit self-check. The exit self-check may include checking the status of all vehicle doors, the hood, brakes, and the parking system. For example, if the exit self-check includes checking the status of all vehicle doors, the hood, brakes, and the parking system, the vehicle is deemed to have passed the exit self-check if all doors are closed, the hood is closed, the brakes are engaged, and the parking system is functioning properly. Otherwise, the vehicle is deemed to have failed the exit self-check.

[0040] If the parking exit status self-check passes, the vehicle is deemed to have met the preset parking exit conditions. The system continuously checks for activation conditions for the parking function and simultaneously provides feedback to the user via the parking exit mode control interface indicating the self-check completion. This feedback allows the user to input a parking exit activation command to activate the vehicle's automatic parking exit function. This parking exit activation command can be triggered by the user applying the brakes or selecting a parking exit direction via the control interface. Once the user releases the brakes, the parking system automatically controls the vehicle to exit in the desired direction.

[0041] If the self-check of the parking status fails, the vehicle is deemed to not meet the preset parking conditions, and a status abnormality warning is fed back to the user through the parking mode control interface so that the user can adjust the vehicle status based on the abnormality warning, such as closing the door, etc., until the self-check passes or the user instructs to exit the parking mode.

[0042] In some embodiments of the present application, the parking function switching method further includes: when it is determined that the vehicle does not meet the preset parking switching conditions based on the current gear position, status information and surrounding environment information, controlling the vehicle's operating mode to switch to the parking mode, and calling out the parking mode control interface.

[0043] That is, after the vehicle is powered on, it automatically enters either Parking Out or Parking In mode based on its current gear position, status information, and surrounding environment information. Because Parking In and Parking Out modes are mutually exclusive, they are distinguished and judged using preset Parking Out switching conditions. When the vehicle is determined to meet the preset Parking Out switching conditions, the vehicle is controlled to switch to Parking Out mode, the Parking Out mode control interface is displayed, and the detection triggering operations corresponding to the aforementioned Parking Out mode are sequentially executed. When the vehicle is determined to not meet the preset Parking Out switching conditions, the vehicle is controlled to switch to Parking In mode, the Parking In mode control interface is displayed, and the operations corresponding to Parking In mode are executed, thereby automatically invoking Parking In mode.

[0044] In some embodiments of the present application, when controlling a vehicle to enter a parking mode, the further step includes: obtaining the current speed of the vehicle; when the current speed is less than a second preset speed, controlling the vehicle to enter a parking-seeking state; when the vehicle state in the parking-seeking state satisfies a preset parking self-test condition, performing a parking state self-test on the vehicle; when it is determined that the vehicle satisfies the preset parking condition based on the parking state self-test result, feeding back a parking self-test completion signal to the user through the parking mode control interface, and performing parking control on the vehicle upon receiving a parking activation command input by the user.

[0045] Specifically, when the vehicle is controlled to enter the parking mode, it is in the parking mode driving state by default, and continuously determines whether the parking search condition is met based on the vehicle's current speed. When the current speed is less than the second preset speed V2, it is considered that the vehicle meets the parking search condition and automatically enters the parking search state.

[0046] After the vehicle enters the parking-seeking state, it continuously checks whether it meets the preset parking self-check conditions. These conditions can be set based on actual circumstances. For example, the vehicle may be considered to have met the parking self-check conditions upon detection of the vehicle entering the parking lot, or upon receiving a user-triggered parking command. Furthermore, if the vehicle's actual speed exceeds the preset exit speed V3 while in the parking-seeking state, the vehicle is deemed to no longer need to park and is controlled to exit the parking-seeking state.

[0047] When the vehicle meets the preset parking self-check conditions, it automatically enters the parking self-check state and performs a parking self-check. This self-check may include checking the status of all vehicle doors, the hood, brakes, and the parking system. For example, if the parking self-check includes checking the status of all vehicle doors, the hood, and the parking system, the vehicle is considered to have passed the parking self-check if all doors and hood are closed and the parking system is fault-free. Otherwise, the vehicle is considered to have failed the parking self-check.

[0048] If the parking status self-check passes, the vehicle is deemed to meet the preset parking conditions. The system continuously checks for parking activation conditions and provides feedback to the user via the parking mode control interface indicating the self-check is complete. This feedback allows the user to input a parking activation command to activate the vehicle's automatic parking function. This activation command can be triggered by the user applying the brakes or selecting a parking space via the control interface. Once the user releases the brakes, the parking system automatically controls the vehicle to park in the designated space.

[0049] If the parking self-check fails, the vehicle is deemed to not meet the preset parking conditions. A status abnormality warning is provided to the user via the parking mode control interface, allowing the user to adjust the vehicle's status based on the abnormality warning until the self-check passes. Exiting the parking self-check state can also occur in the following situations: the actual vehicle speed exceeds the preset exit speed V4; the user instructs to exit parking mode; or no parking spaces are identified within T1 after entering the self-check state, or all parking spaces disappear for longer than T1.

[0050] In some embodiments of the present application, controlling a vehicle to enter a parking-seeking state includes: controlling the vehicle to enter a driving-scene parking-seeking state, and when the actual speed of the vehicle is less than a first preset speed and a parking space selection instruction from a user is received, determining that the state of the vehicle in the driving-scene parking-seeking state satisfies a preset parking self-check condition, and performing a self-check on the vehicle entering the parking state; when the vehicle is in the driving-scene parking-seeking state, if the vehicle enters a parking lot, the actual speed of the vehicle is greater than a first preset speed and less than or equal to a second preset speed, and the driving function of the vehicle is not activated, or receiving a parking start instruction input by a user, the actual speed of the vehicle is greater than the first preset speed and less than or equal to the second preset speed, and the driving function of the vehicle is not activated, then controlling the vehicle to enter a parking-scene parking-seeking state, and when the actual speed of the vehicle is less than the first preset speed, determining that the state of the vehicle in the parking-scene parking-seeking state satisfies the preset parking self-check condition, and performing a self-check on the vehicle entering the parking state.

[0051] That is, the parking search state includes the parking search state in the driving scene and the parking search state in the parking scene, as follows:

[0052] When the vehicle is controlled to enter the parking mode and the vehicle speed is detected to be less than the second preset speed V2, the vehicle is controlled to enter the driving scene parking state and continuously determine whether the vehicle meets the parking scene parking state entry conditions. When it is determined that the vehicle meets the parking scene parking state entry conditions, the vehicle automatically enters the parking scene parking state. The parking scene parking state entry conditions are one of the following two conditions:

[0053] Condition 1: Entering the parking lot, the vehicle speed is higher than V1 (first preset speed) and not higher than V2 (second preset speed), and the driving function is not activated.

[0054] Condition 2: A user request to start parking, i.e., a parking start command, is received, and the vehicle speed is higher than V1 (a first preset speed) and not higher than V2 (a second preset speed), and the driving function is not activated.

[0055] When a vehicle in the driving scene parking-in-garage-seeking state meets one of the above two conditions, the vehicle is controlled to enter the parking scene parking-in-garage-seeking state, otherwise the driving scene parking-in-garage-seeking state is maintained.

[0056] While determining the vehicle's entry conditions for the parking scene's parking-seeking state, the system also simultaneously checks whether the vehicle in the driving scene's parking-seeking state meets the preset parking self-check conditions. Specifically, if the vehicle's actual speed is less than a first preset speed V1 and a parking space selection instruction is received from the user, the system determines that the vehicle's status in the driving scene's parking-seeking state meets the preset parking self-check conditions and initiates the parking self-check. Otherwise, the system determines that the vehicle's status in the driving scene's parking-seeking state does not meet the preset parking self-check conditions and continues the check.

[0057] If the vehicle in the parking scene parking-seeking state meets the entry condition for the parking scene parking-seeking state before meeting the preset parking self-test condition, the vehicle is controlled to enter the parking scene parking-seeking state, and when the actual speed of the vehicle in the parking scene parking-seeking state is less than a first preset speed, it is determined that the state of the vehicle in the parking scene parking-seeking state meets the preset parking self-test condition, and the vehicle enters the parking state self-test; otherwise, it is considered that the state of the vehicle in the parking scene parking-seeking state does not meet the preset parking self-test condition, and the test continues.

[0058] This embodiment further divides the docking and library-searching state into different scenarios, and sets different preset docking self-checking conditions for different scenarios, thereby improving control accuracy and being suitable for different application scenarios.

[0059] In some embodiments of the present application, when the vehicle is in a driving scene parking and parking search state, it also includes: obtaining surrounding environment information of the vehicle's environment; and determining that the vehicle has entered the parking lot when it is determined based on the surrounding environment information that there are vertical line parking spaces and the number of vertical line parking spaces is greater than or equal to a preset parking space threshold.

[0060] That is to say, vertical parking spaces are searched based on the surrounding environment information collected in real time. When N (N≥3) or more vertical parking spaces are found within the display range (regardless of whether the parking spaces are available for parking), the vehicle is considered to have entered the parking lot, thereby improving the judgment accuracy of the parking lot.

[0061] Thus, after controlling the vehicle to enter parking mode, this embodiment distinguishes the user scenario and switches the functional state. Using parking space information, it determines whether the vehicle's environment is a parking lot. Automatically switching the functional state in the determined parking scenario automatically implements the parking function process, achieving desktop-based parking. This eliminates the need for a user to request parking, enabling one-step activation of the parking function. Furthermore, in non-parking scenarios, after a parking space is identified, the user's click on the parking space serves as evidence of the user's parking intent, triggering a parking function switch. This avoids unnecessary switching of parking function states and page transitions in non-parking scenarios, particularly when unavoidable misdetections of parking spaces occur, and improves the stability of functional state transitions.

[0062] In some embodiments of the present application, when controlling a vehicle to enter a parking exit mode, the process further includes: obtaining a total distance traveled by the vehicle in the parking exit mode; when the total distance traveled by the vehicle in the parking exit mode exceeds a third preset distance, controlling the vehicle to switch from the parking exit mode to the parking entry mode, and calling up a control interface for the parking entry mode.

[0063] That is, when the vehicle is in the parking exit mode, the parking exit mode exit condition is continuously detected. When it is determined that the total distance traveled in the parking exit mode exceeds a third preset distance, the parking exit mode exit condition is triggered and the vehicle automatically enters the parking entry mode.

[0064] Therefore, this embodiment decouples the entry condition and the exit condition of the parking exit mode, avoids the change of the parking interface caused by the change of the parking exit mode, and improves the stability of the functional state jump.

[0065] As a specific embodiment of this application, Figure 2 As shown, the method for switching the parking function in the embodiment of the present application may include:

[0066] S101, the user unlocks and enters the vehicle, and the vehicle is powered on.

[0067] S102, obtaining the current gear position and status information of the vehicle and the surrounding environment information of the vehicle.

[0068] S103: Determine whether the vehicle meets the preset parking switch conditions based on the current gear position, state information, and surrounding environment information. If so, execute step S103; if not, execute step S107.

[0069] The preset parking switching condition is to meet one of the following conditions:

[0070] Condition 1: The current gear is P, the vehicle is in a parking space (including line parking spaces and free parking spaces), and the vehicle is stationary;

[0071] Condition 2: The current gear is P, the vehicle is not in a parking space, there is a static obstacle within a distance S1 in front of the vehicle, the vehicle is stationary, and the current power-on driving distance does not exceed S2.

[0072] S104, entering the parking search state, and automatically detecting supported parking directions.

[0073] S105 , when it is determined that there is a supported parking direction, when the current speed of the vehicle is less than a first preset speed, entering a parking self-check state to perform a parking state self-check.

[0074] In step S106, if the vehicle meets the preset parking conditions based on the parking self-check result, a parking self-check completion signal is fed back to the user, and the parking function activation conditions are continuously checked. Upon receiving a parking activation command input by the user, if the parking function activation conditions are determined to be met, step S110 is executed.

[0075] S107 , entering a parking mode driving state, and when the actual vehicle speed is less than a second preset speed, controlling the vehicle to enter a parking search state.

[0076] S108 , when the state of the vehicle in the parking and storage-seeking state meets a preset parking self-checking condition, a parking state self-check is performed on the vehicle.

[0077] Among them, the parking and garage-seeking status is divided into the parking and garage-seeking status in the driving scenario and the parking and garage-seeking status in the parking scenario, which correspond to different preset parking self-check conditions respectively.

[0078] In step S109, if the vehicle meets the preset parking conditions based on the parking state self-check results, a parking exit self-check completion signal is fed back to the user, and the parking function activation conditions are continuously checked. Upon receiving a parking activation command input from the user, if the parking function activation conditions are determined to be met, step S110 is executed.

[0079] S110, the parking system controls the vehicle to park at a designated location.

[0080] Specifically, when in parking-out mode, the parking system can perform parking-out control based on the parking-out direction given by the user, or based on the parking-out target position given by the user; when in parking-in mode, the parking system can perform parking-in control based on the target parking space given by the user or the target parking space determined by automatic search.

[0081] Furthermore, in the parking exit mode, if the total distance traveled by the vehicle exceeds a third preset distance, the vehicle is controlled to switch from the parking exit mode to the parking entry mode. In the parking entry mode, if the vehicle meets the preset parking exit switching conditions, the vehicle is controlled to switch from the parking entry mode to the parking exit mode, and the switching call of the corresponding control interface is simultaneously performed.

[0082] In summary, the parking function switching method according to an embodiment of the present application includes: in response to a vehicle power-on command, obtaining the vehicle's current gear position, status information, and surrounding environmental information; and, upon determining based on the current gear position, status information, and surrounding environmental information that the vehicle meets preset exit-parking switching conditions, controlling the vehicle's operating mode to switch to exit-parking mode and displaying a control interface for exit-parking mode. Thus, the method automatically activates exit-parking mode by identifying and switching to exit-parking mode and displaying the corresponding control interface based on the vehicle's current gear position, status information, and surrounding environmental information, thereby enhancing the user experience.

[0083] Corresponding to the above embodiment, the present application also proposes a computer-readable storage medium.

[0084] The computer-readable storage medium of the embodiment of the present application stores a parking function switching program, and the parking function switching program implements the above-mentioned parking function switching method when executed by the processor.

[0085] According to the computer-readable storage medium of the embodiment of the present application, the above-mentioned parking function switching method is implemented when the parking function switching program stored thereon is executed by the processor. Based on the above-mentioned parking function switching method, the automatic calling of the parking exit mode and its control interface is realized, thereby improving the user experience.

[0086] Corresponding to the above embodiment, the present application also proposes a switching device for the parking function.

[0087] like Figure 3 As shown, the parking function switching device of the embodiment of the present application includes: an acquisition module 10 and a control module 20.

[0088] Among them, the acquisition module 10 is used to respond to the vehicle's power-on command to obtain the vehicle's current gear position, status information and surrounding environment information of the vehicle; the control module 20 is used to control the vehicle's operating mode to switch to the parking mode when it is determined that the vehicle meets the preset parking switching conditions based on the current gear position, status information and surrounding environment information, and to call out the parking mode control interface.

[0089] According to one embodiment of the present application, the preset parking switching conditions include: the vehicle is in the parking gear, the vehicle is in the target stationary state and the vehicle is in the parking space; or the vehicle is in the parking gear, the vehicle is in the target stationary state, there is a static obstacle in front of the vehicle and the distance between the static obstacle and the vehicle is less than a first preset distance, and the total distance traveled by the vehicle during this power-on process is less than a second preset distance.

[0090] According to one embodiment of the present application, after controlling the vehicle's operating mode to switch to the parking-out mode and calling up the control interface of the parking-out mode, the control module 20 is further used to: search for a target parking-out direction based on surrounding environment information; obtain the vehicle's current speed when it is determined that there is a target parking-out direction; perform a parking-out status self-check on the vehicle when the current speed is less than a first preset speed; and when it is determined that the vehicle meets the preset parking conditions based on the parking-out status self-check result, feedback a parking-out self-check completion signal to the user through the parking-out mode control interface, and perform parking-out control on the vehicle when receiving a parking activation command input by the user.

[0091] According to one embodiment of the present application, the control module 20 is further used to: when it is determined that the vehicle does not meet the preset parking switching conditions based on the current gear position, status information and surrounding environment information, control the vehicle's operating mode to switch to the parking mode and call out the parking mode control interface.

[0092] According to one embodiment of the present application, when controlling the vehicle to enter the parking mode, the control module 20 is further used to: obtain the current vehicle speed; when the current vehicle speed is less than a second preset speed, control the vehicle to enter the parking and parking search state; when the vehicle status in the parking and parking search state meets the preset parking self-test conditions, perform a parking state self-test on the vehicle; when it is determined that the vehicle meets the preset parking conditions based on the parking state self-test results, feedback a parking self-test completion signal to the user through the parking mode control interface, and perform parking control on the vehicle upon receiving a parking activation command input by the user.

[0093] According to one embodiment of the present application, the control module 20 controls the vehicle to enter a parking-seeking state, specifically for: controlling the vehicle to enter a driving-scene parking-seeking state, and when the actual speed of the vehicle is less than a first preset speed and a parking space selection instruction from a user is received, determining that the vehicle state in the driving-scene parking-seeking state satisfies a preset parking self-check condition, and performing a self-check on the vehicle entering the parking state; when the vehicle is in the driving-scene parking-seeking state, if the vehicle enters a parking lot, the actual speed of the vehicle is greater than a first preset speed and less than or equal to a second preset speed, and the driving function of the vehicle is not activated, or receiving a parking start instruction input by a user, the actual speed of the vehicle is greater than the first preset speed and less than or equal to the second preset speed, and the driving function of the vehicle is not activated, then controlling the vehicle to enter a parking-scene parking-seeking state, and when the actual speed of the vehicle is less than the first preset speed, determining that the vehicle state in the parking-scene parking-seeking state satisfies a preset parking self-check condition, and performing a self-check on the vehicle entering the parking state.

[0094] According to one embodiment of the present application, when the vehicle is in a parking-seeking state in a driving scene, the control module 20 is further used to: obtain surrounding environment information of the vehicle's environment; and determine that the vehicle has entered the parking lot when it is determined based on the surrounding environment information that there are vertical parking spaces and the number of vertical parking spaces is greater than or equal to a preset parking space threshold.

[0095] According to one embodiment of the present application, when controlling the vehicle to enter the parking exit mode, the control module 20 is further configured to: obtain the total distance traveled by the vehicle in the parking exit mode; and when the total distance traveled by the vehicle in the parking exit mode exceeds a third preset distance, control the vehicle to switch from the parking exit mode to the parking entry mode and call up a control interface for the parking entry mode.

[0096] It should be noted that for details not disclosed in the parking function switching device of the embodiment of the present application, please refer to the details disclosed in the parking function switching method of the above embodiment of the present application, and the details will not be repeated here.

[0097] In summary, according to the parking function switching device of the embodiment of the present application, the acquisition module, in response to a vehicle power-on command, obtains the vehicle's current gear position, status information, and surrounding environmental information. When the control module determines that the vehicle meets preset exit-parking switching conditions based on the current gear position, status information, and surrounding environmental information, it controls the vehicle's operating mode to switch to exit-parking mode and displays the exit-parking mode control interface. Thus, the device identifies and switches to exit-parking mode based on the vehicle's current gear position, status information, and surrounding environmental information, and displays the corresponding control interface, achieving automatic invocation of exit-parking mode and improving the user experience.

[0098] Corresponding to the above embodiment, the present application also proposes a switching device for the parking function.

[0099] like Figure 4 As shown, the parking function switching device 100 according to an embodiment of the present application includes a memory 110, a processor 120, and a parking function switching program stored in the memory 110 and executable on the processor 120. When the processor 120 executes the parking function switching program, the above-described parking function switching method is implemented. The parking function switching device 100 may be a controller, a vehicle, or the like.

[0100] According to the parking function switching device of the embodiment of the present application, when the processor executes the parking function switching program, the above-mentioned parking function switching method is implemented. Based on the above-mentioned parking function switching method, the automatic calling of the parking exit mode and its control interface is realized, thereby improving the user experience.

[0101] In this application, a plurality refers to two or more.

[0102] In this application, unless otherwise expressly defined, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. A person of ordinary skill in the art will understand the specific meanings of these terms in this application.

[0103] The terms "first," "second," "third," "fourth," etc. (if any) in this application are used to distinguish similar objects and are not necessarily used to describe a particular sequential order.

[0104] The term "and / or" in this application simply describes an association between related objects, indicating that three possible relationships exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.

[0105] Unless otherwise specified, all steps of the present application may be performed sequentially or randomly. For example, a statement that the method includes steps A and B indicates that the method may include steps A and B performed sequentially, or steps B and A performed sequentially. For example, a statement that the method may also include step C indicates that step C may be added to the method in any order, for example, the method may include steps A, B, and C, or steps A, C, and B, or steps C, A, and B, etc.

[0106] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A method for switching a parking function, characterized in that: The method comprises: In response to a power-on command of the vehicle, obtaining a current gear position and status information of the vehicle and surrounding environment information of an environment in which the vehicle is located; When it is determined that the vehicle meets a preset parking switching condition based on the current gear position, the state information, and the surrounding environment information, the operating mode of the vehicle is controlled to switch to the parking mode, and a control interface of the parking mode is called out.

2. The parking function switching method according to claim 1, characterized in that: The preset parking switching condition includes: The vehicle is in a parking gear, the vehicle is in a target stationary state, and the vehicle is in a parking space; or The vehicle is in a parking gear, the vehicle is in a target stationary state, there is a static obstacle in front of the vehicle and the distance between the static obstacle and the vehicle is less than a first preset distance, and the total distance traveled by the vehicle during this power-on process is less than a second preset distance.

3. The parking function switching method according to claim 1, characterized in that: After controlling the operating mode of the vehicle to switch to the parking mode and calling out the control interface of the parking mode, the method further includes: Searching for a target exit direction based on the surrounding environment information; When it is determined that there is a target parking direction, obtaining a current speed of the vehicle; When the current vehicle speed is less than a first preset vehicle speed, performing a self-check on the vehicle when it is parked; When it is determined based on the parking status self-check result that the vehicle meets the preset parking conditions, a parking self-check completion signal is fed back to the user through the parking mode control interface, and when a parking activation command input by the user is received, the vehicle is parked.

4. The parking function switching method according to claim 1, characterized in that: Also includes: When it is determined that the vehicle does not meet the preset parking-out switching condition based on the current gear position, the state information, and the surrounding environment information, the operating mode of the vehicle is controlled to switch to the parking mode, and a control interface of the parking mode is called out.

5. The parking function switching method according to claim 4, characterized in that: In the case of controlling the vehicle to enter the parking mode, the method further includes: Obtaining the current speed of the vehicle; When the current vehicle speed is less than a second preset vehicle speed, controlling the vehicle to enter a parking-seeking state; When the state of the vehicle in the parking-seeking state meets a preset parking self-check condition, performing a parking state self-check on the vehicle; When it is determined based on the parking status self-check result that the vehicle meets the preset parking conditions, a parking self-check completion signal is fed back to the user via the parking mode control interface, and parking control is performed on the vehicle upon receiving a parking activation command input by the user.

6. The parking function switching method according to claim 5, characterized in that: The controlling the vehicle to enter a parking and parking search state includes: controlling the vehicle to enter a driving scene parking-seeking state, and when the actual vehicle speed is less than a first preset speed and a parking space selection instruction is received from a user, determining that the vehicle state in the driving scene parking-seeking state satisfies a preset parking self-check condition, and performing a parking self-check on the vehicle; When the vehicle is in the parking-in-parking-searching state of the driving scenario, if the vehicle enters a parking lot, the actual speed of the vehicle is greater than a first preset speed and less than or equal to a second preset speed, and the driving function of the vehicle is not activated, or if a parking start command input by a user is received, the actual speed of the vehicle is greater than a first preset speed and less than or equal to a second preset speed, and the driving function of the vehicle is not activated, the vehicle is controlled to enter the parking-in-parking-searching state of the parking scenario, and when the actual speed of the vehicle is less than the first preset speed, it is determined that the state of the vehicle in the parking-in-parking-searching state of the parking scenario meets the preset parking self-check condition, and the vehicle is self-checked to enter the parking state.

7. The parking function switching method according to claim 6, characterized in that: When the vehicle is in the parking-seeking state in the driving scene, the method further includes: Acquiring surrounding environment information of the vehicle; When it is determined according to the surrounding environment information that there are vertical line parking spaces and the number of the vertical line parking spaces is greater than or equal to a preset parking space threshold, it is determined that the vehicle enters the parking lot.

8. The parking function switching method according to any one of claims 1 to 7, characterized in that: In the case of controlling the vehicle to enter the parking exit mode, the method further includes: Obtaining a total distance traveled by the vehicle in the parking mode; When the total distance traveled by the vehicle in the exiting mode exceeds a third preset distance, the vehicle is controlled to switch from the exiting mode to the parking entering mode, and a control interface of the parking entering mode is called out.

9. A computer-readable storage medium, characterized in that A parking function switching program is stored thereon, and when the parking function switching program is executed by the processor, the parking function switching method according to any one of claims 1 to 8 is implemented.

10. A parking function switching device, characterized in that: The system comprises a memory, a processor, and a parking function switching program stored in the memory and executable on the processor. When the processor executes the parking function switching program, the parking function switching method according to any one of claims 1 to 8 is implemented.