Automatic parking method and device, mobile terminal and storage medium

By acquiring vehicle information through the mobile terminal's GPS, determining parking braking conditions, and sending control signals, the automatic parking problem in vehicles without automatic parking functionality is solved, improving driving comfort and user experience.

CN117125101BActive Publication Date: 2026-06-30WUHAN XINGJI MEIZU TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN XINGJI MEIZU TECH CO LTD
Filing Date
2023-10-10
Publication Date
2026-06-30

Smart Images

  • Figure CN117125101B_ABST
    Figure CN117125101B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an automatic parking method and device, a mobile terminal and a storage medium. The method comprises: the mobile terminal acquires positioning information and acceleration of a vehicle through a global positioning system; based on the positioning information, it is determined that the distance between positions in the positioning information collected twice continuously is less than a preset distance, and the vehicle is in a stationary state; based on the acceleration, it is determined that the vehicle speed change within a preset time before the vehicle is in the stationary state meets an opening condition of a parking brake; a control signal is sent to the vehicle to enable the vehicle to start the parking brake after receiving the control signal. The present disclosure acquires the positioning information and acceleration of the vehicle collected by the mobile terminal, and when the vehicle is stationary and the vehicle speed meets the opening condition of the parking brake, a control signal is sent to enable the vehicle to start the parking brake. Without upgrading the hardware, the mobile terminal can enable a vehicle without an automatic parking function to realize automatic parking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of driver assistance technology, and in particular to an automatic parking method, device, mobile terminal and storage medium. Background Technology

[0002] With the improvement of automotive R&D and manufacturing capabilities, more and more new models are equipped with intelligent driver assistance functions, including Auto Hold (AH). In daily driving, the AH function can keep the car stationary when the speed decreases to zero, eliminating the need for the driver to keep their foot on the brake for extended periods, greatly improving driving comfort. However, for older models that did not come equipped with AH, adding this function requires hardware upgrades, which is quite challenging. Therefore, how to enable AH in vehicles without it is a technical problem that needs to be solved. Summary of the Invention

[0003] To address the aforementioned technical problems, this disclosure provides an automatic parking method, apparatus, mobile terminal, and storage medium.

[0004] A first aspect of this disclosure provides an automatic parking method, applicable to a mobile terminal, the method comprising:

[0005] The mobile terminal obtains the location information and acceleration of the vehicle it is in through the Global Positioning System;

[0006] Based on the location information, if the distance between the locations in two consecutively collected location information is less than a preset distance, the vehicle is in a stationary state.

[0007] Based on the acceleration, it is determined that the vehicle speed change within a preset time before the vehicle comes to a stop meets the conditions for opening the parking brake.

[0008] A control signal is sent to the vehicle so that the vehicle activates the parking brake upon receiving the control signal.

[0009] A second aspect of this disclosure provides an automatic parking device suitable for a mobile terminal, the device comprising:

[0010] The information acquisition module is used by the mobile terminal to acquire the location information and acceleration of the vehicle it is in through the global positioning system;

[0011] The first determining module is used to determine, based on the positioning information, that the distance between the positions in two consecutively collected positioning information is less than a preset distance, and the vehicle is in a stationary state.

[0012] The second determining module is used to determine, based on the acceleration, whether the vehicle speed change within a preset time before the vehicle is stationary meets the conditions for opening the parking brake.

[0013] A signal transmitting module is used to send a control signal to the vehicle so that the vehicle activates the parking brake upon receiving the control signal.

[0014] A third aspect of this disclosure provides a mobile terminal, including a memory, a processor, and a computer program, wherein the memory stores the computer program, and when the computer program is executed by the processor, it implements the automatic parking method of the first aspect described above.

[0015] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the automatic parking method of the first aspect described above.

[0016] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0017] In the automatic parking method, apparatus, mobile terminal, and storage medium provided in this disclosure embodiment, the mobile terminal obtains the vehicle's location information and acceleration through a global positioning system. Based on the location information, it is determined that the distance between the locations in two consecutively collected location information is less than a preset distance, indicating that the vehicle is stationary. Based on the acceleration, it is determined that the vehicle speed change within a preset time before the vehicle came to a stop meets the conditions for activating the parking brake. A control signal is then sent to the vehicle so that it activates the parking brake upon receiving the control signal. This allows the mobile terminal to collect the vehicle's location information and acceleration, determine the moment when the parking brake needs to be activated based on the collected information, and send a control signal to activate the parking brake. Thus, without upgrading the vehicle's hardware, the mobile terminal's global positioning system enables vehicles without automatic parking functionality to automatically park, eliminating the need for the driver to keep their foot on the brake for extended periods, improving driving comfort and enhancing the user experience. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart of an automatic parking method provided in an embodiment of this disclosure;

[0021] Figure 2 This is a flowchart of a method for determining the conditions for opening the parking brake, provided in an embodiment of this disclosure;

[0022] Figure 3 This is a flowchart of a method for determining the pedal depth to reach a preset depth, provided by an embodiment of this disclosure;

[0023] Figure 4 This is a flowchart of a method for releasing the parking brake provided in an embodiment of this disclosure;

[0024] Figure 5 This is a schematic diagram of the structure of an automatic parking device provided in an embodiment of this disclosure;

[0025] Figure 6 This is a schematic diagram of another automatic parking device provided in an embodiment of this disclosure;

[0026] Figure 7 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of this disclosure. Detailed Implementation

[0027] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0028] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0029] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0030] With the improvement of automotive R&D and manufacturing capabilities, more and more new models are equipped with automatic parking functions. However, some older models do not have automatic parking functions when they leave the factory. Only through hardware upgrades can automatic parking functions be added, which is quite difficult to implement. To address this issue, this disclosure provides an automatic parking method. The method obtains the vehicle's location information and acceleration through a global positioning system configured on a mobile terminal, determines the time when the parking brake needs to be activated based on the collected information, and sends a control signal to the vehicle to activate the parking brake. Automatic parking is achieved without hardware upgrades. The method is described below with reference to specific embodiments.

[0031] Figure 1 This is a flowchart of an automatic parking method provided in an embodiment of this disclosure. The method can be executed by an automatic parking device, which can be installed on a mobile terminal. Figure 1 As shown, the automatic parking method provided in this embodiment includes the following steps:

[0032] S101, The mobile terminal obtains the location information and acceleration of the vehicle it is in through the Global Positioning System.

[0033] In this embodiment of the disclosure, the automatic parking device can obtain the location information and acceleration of the vehicle where the mobile terminal is located in real time through the Global Positioning System (GPS) on the mobile terminal.

[0034] In one exemplary embodiment of this disclosure, the automatic parking device can obtain the location information of the vehicle at various times by using GPS on the mobile terminal, and then calculate the acceleration of the vehicle at various times based on the location information.

[0035] S102. Based on the positioning information, if the distance between the locations in two consecutively collected positioning information is less than a preset distance, the vehicle is in a stationary state.

[0036] The preset distance in this embodiment can be understood as a pre-set distance threshold. When the distance the vehicle moves within one collection cycle of the GPS system is less than the preset distance, it can be determined that the vehicle is stationary.

[0037] In this embodiment of the present disclosure, after obtaining the vehicle's location information via GPS, the automatic parking device can extract two location information from two consecutively collected location information, thereby determining the distance between the two locations, comparing it with a preset distance, and determining that the vehicle is in a stationary state when the distance between the two locations is less than the preset distance.

[0038] In one exemplary embodiment of the present disclosure, the automatic parking device can determine the location in the currently collected location information and the location in the previously collected location information after obtaining location information through GPS, and then determine the distance between the two locations, compare the distance with a preset distance, and determine that the distance is less than the preset distance, at which point the vehicle is in a stationary state.

[0039] S103. Based on the acceleration, determine whether the vehicle speed change within a preset time before the vehicle comes to a stop meets the conditions for activating the parking brake.

[0040] The preset time in this embodiment can be understood as a pre-set time period for determining whether the vehicle meets the conditions for opening the parking brake.

[0041] In this embodiment of the present disclosure, the automatic parking device can determine the vehicle speed change within a preset time before the vehicle comes to a stop after obtaining the vehicle's acceleration, and then compare the vehicle speed change with the preset parking brake activation conditions to determine that the vehicle speed change meets the preset parking brake activation conditions.

[0042] In one exemplary embodiment of the present disclosure, the automatic parking device can determine that the vehicle's acceleration is always negative for a preset time before the vehicle comes to a standstill, i.e., the vehicle is always in a deceleration state for a preset time before coming to a standstill, and then determine that the vehicle speed change meets the conditions for opening the parking brake.

[0043] S104. Send a control signal to the vehicle so that the vehicle activates the parking brake upon receiving the control signal.

[0044] The control signals in this embodiment can be understood as signals used to control the vehicle to activate the parking brake.

[0045] In this embodiment of the disclosure, after determining that the conditions for opening the parking brake are met, the automatic parking device can send a control signal to the vehicle where the mobile terminal is located through a pre-established communication connection with the vehicle, such as a Bluetooth connection, a Wi-Fi Peer-to-Peer (Wi-Fi P2P) connection, so that the vehicle can activate the parking brake in response to the control signal.

[0046] This embodiment of the disclosure uses a mobile terminal to obtain the location information and acceleration of the vehicle via a global positioning system. Based on the location information, it determines that the distance between two consecutively collected location information is less than a preset distance, indicating that the vehicle is stationary. Based on the acceleration, it determines that the vehicle speed change within a preset time before the vehicle came to a stop meets the conditions for activating the parking brake. A control signal is then sent to the vehicle so that it activates the parking brake upon receiving the control signal. This allows the mobile terminal to collect the vehicle's location information and acceleration, determine the moment when the parking brake needs to be activated based on the collected information, and send a control signal to activate the parking brake. Thus, without upgrading the vehicle's hardware, the mobile terminal's global positioning system enables vehicles without automatic parking to automatically park, eliminating the need for the driver to keep their foot on the brake for extended periods, improving driving comfort and enhancing the user experience.

[0047] In some embodiments of this disclosure, the positioning information includes latitude and longitude coordinates and timestamp information.

[0048] Specifically, the location in the positioning information can be represented by latitude and longitude coordinates, and each latitude and longitude coordinate corresponds to a timestamp. The positioning information obtained by the automatic parking device through GPS is the latitude and longitude coordinates of the vehicle at each time.

[0049] In other embodiments of this disclosure, the automatic parking device can determine, based on the acceleration and a pre-trained analysis model, whether the vehicle speed change within a preset time before the vehicle comes to a stop meets the conditions for engaging the parking brake. The pre-trained analysis model is trained based on pre-collected sample data, which includes acceleration sample data of the vehicle within a preset time and label information indicating whether the parking brake is engaged after the preset time. The acceleration sample data and the label information are in one-to-one correspondence.

[0050] Specifically, the pre-trained analysis model can be a classification model trained based on convolutional neural networks, deep neural networks, recurrent neural networks, etc. It can output classification results based on the input acceleration information, indicating whether the parking brake activation conditions are met or not. During the training of the analysis model, labeled sample data can be collected in advance, namely, acceleration sample data of each vehicle within a preset time and corresponding label information indicating whether the parking brake is activated after the preset time. This sample data can be collected and organized from the automatic parking log files of vehicles equipped with automatic parking functions, or it can be manually labeled based on unlabeled acceleration sample data; no limitation is made here. After the analysis model is trained, the automatic parking device can input the obtained vehicle acceleration into the analysis model to obtain the model's output results. Based on the output results, it can then determine whether the vehicle speed change within the preset time before the vehicle reaches a stationary state meets the parking brake activation conditions.

[0051] Optionally, the automatic parking device can collect vehicle acceleration data during vehicle operation and select acceleration data collected within a preset time before the parking brake is engaged, using this data to improve the training of the analysis model.

[0052] Figure 2 This is a flowchart illustrating a method for determining the conditions for opening the parking brake, as provided in an embodiment of this disclosure. Figure 2 As shown, based on the above embodiments, the conditions for opening the parking brake can be determined by the following method.

[0053] S201. Based on the acceleration, calculate the change in vehicle speed within a preset time before the vehicle comes to a standstill.

[0054] In this embodiment of the present disclosure, the automatic parking device can calculate the overall change in vehicle speed over a preset time period before the vehicle comes to a stop after obtaining the vehicle's acceleration.

[0055] In one exemplary embodiment of this disclosure, the automatic parking device can calculate the sum of the vehicle's accelerations at each unit of time within a preset time period before the vehicle comes to a standstill, thereby obtaining the change in vehicle speed within the preset time period.

[0056] In another exemplary embodiment of the present disclosure, the automatic parking device can, after obtaining the acceleration of the vehicle, calculate the speed of the vehicle at a first moment based on the acceleration data within a preset time before the vehicle comes to a stop, and determine its value as the change in vehicle speed within a preset time before the vehicle comes to a stop. The first moment is the moment when there is still a preset time before the vehicle comes to a stop.

[0057] S202. Determine that the change in vehicle speed is greater than or equal to a preset threshold.

[0058] In this embodiment of the present disclosure, the automatic parking device can calculate the change in vehicle speed and then compare the change in vehicle speed with a preset threshold to determine that the change in vehicle speed is greater than or equal to the preset threshold.

[0059] S203. Determine that the vehicle speed change within a preset time before the vehicle comes to a standstill meets the conditions for activating the parking brake.

[0060] In this embodiment of the present disclosure, the automatic parking device can determine the vehicle speed change within a preset time before the vehicle is stationary after determining that the change in vehicle speed is greater than or equal to a preset threshold, thereby satisfying the conditions for activating the parking brake.

[0061] This embodiment of the disclosure calculates the change in vehicle speed within a preset time before the vehicle comes to a standstill based on the acceleration, determines that the change in vehicle speed is greater than or equal to a preset threshold, and determines that the change in vehicle speed within the preset time before the vehicle comes to a standstill meets the conditions for opening the parking brake. It can calculate an accurate change in vehicle speed based on acceleration, and more accurately measure whether the vehicle meets the conditions for opening the parking brake, reducing the probability of misjudgment.

[0062] Figure 3 This is a flowchart illustrating a method for determining the pedal depth to reach a preset depth, as provided in an embodiment of this disclosure. Figure 3 As shown, based on the above embodiments, the pedal depth can be determined to reach the preset depth by the following method.

[0063] S301, Receive the braking signal and power system stop working information sent by the vehicle.

[0064] The brake signal in this embodiment can be understood as the signal generated when the brake pedal is pressed. When the user presses the automatic pedal, the vehicle's power system will also stop working.

[0065] In this embodiment of the disclosure, the automatic parking device can receive braking signals and information indicating that the power system has stopped working from the vehicle before determining that the vehicle is stationary based on positioning information.

[0066] S302. Based on the brake signal, determine the depth to which the brake pedal of the vehicle is depressed.

[0067] In this embodiment of the disclosure, the pedal depth can be understood as information obtained by a stroke sensor to characterize the depth to which the brake pedal is depressed.

[0068] In this embodiment of the disclosure, the automatic parking device can analyze the brake signal to determine the information contained therein about the depth to which the vehicle's brake pedal is depressed.

[0069] S303. Determine that the depth to which the brake pedal is depressed is greater than or equal to a preset depth.

[0070] In this embodiment of the present disclosure, the automatic parking device can, after obtaining the pedal depth where the brake pedal is depressed, compare the pedal depth with a preset depth to determine that the pedal depth is greater than or equal to the preset depth.

[0071] In one exemplary embodiment of the present disclosure, the automatic parking device can determine that the driver has pressed the brake pedal deeply after determining that the pedal depth is greater than or equal to a preset depth. At this time, it is determined that the user may want to activate the parking brake. Therefore, based on the positioning information and acceleration, it is further determined that the vehicle is stationary and the current condition of the vehicle meets the conditions for activating the parking brake.

[0072] This embodiment of the disclosure receives a brake signal and information indicating that the power system has stopped working from the vehicle. Based on the brake signal, it determines the depth to which the brake pedal is depressed and determines that the depth is greater than or equal to a preset depth. After determining that the user has deeply depressed the brake based on the received brake signal, it further analyzes whether the conditions for opening the parking brake are met based on positioning information and acceleration. This eliminates the need for the automatic parking device to continuously analyze positioning information and acceleration, reducing the overall workload while ensuring the parking brake function is achieved, and also reducing the probability of misinterpreting the user's intentions.

[0073] In some embodiments of this disclosure, the automatic parking device can determine, based on the positioning information and pre-acquired map data, that there are traffic lights within a preset range around the vehicle.

[0074] Specifically, the preset range can be understood as a circular area defined by the vehicle as the center and a preset length as the radius. The automatic parking device can determine the location of each traffic light based on pre-acquired map data, and then determine the preset range based on the vehicle's positioning information and the preset radius. By comparing the preset range with the location of each traffic light, it can determine that there are traffic lights within the preset range around the vehicle, and that the user may have stopped after encountering a red light. Therefore, the vehicle will not move forward in a short period of time, and it can be determined that the user may want to activate the parking brake. At this point, the vehicle speed change is further determined based on acceleration to meet the conditions for activating the parking brake. This allows the automatic parking device to reduce the overall workload while ensuring the parking brake function is achieved, and also reduces the probability of misjudging the user's intention.

[0075] Figure 4This is a flowchart illustrating a method for releasing the parking brake according to an embodiment of this disclosure. Figure 4 As shown, based on the above embodiments, the parking brake can be released by the following method.

[0076] S401, Receive information from the vehicle that the accelerator pedal has been pressed.

[0077] In this embodiment of the present disclosure, the automatic parking device can receive information from the vehicle that the accelerator pedal has been pressed after sending a control signal to the vehicle.

[0078] S402. Determine that the vehicle has released the parking brake, and execute the step of the mobile terminal obtaining the vehicle's location information and acceleration through the global positioning system.

[0079] In this embodiment of the present disclosure, after receiving information from the vehicle that the accelerator pedal has been pressed, the automatic parking device can determine that the user wants to control the vehicle to move forward. The user releases the vehicle's parking brake by pressing the accelerator pedal. Therefore, after receiving information that the accelerator pedal has been pressed, the automatic parking device can determine that the vehicle has released the parking brake and continue to execute the step in S104 where the mobile terminal obtains the location information and acceleration of the vehicle through the global positioning system.

[0080] This embodiment of the disclosure determines that the vehicle has released the parking brake by receiving information from the vehicle that the accelerator pedal has been pressed, and executes the steps of the mobile terminal obtaining the vehicle's location information and acceleration through the global positioning system. This enables the vehicle's position and acceleration to continue monitoring after the parking brake is released, so that the parking brake can be activated again when needed.

[0081] Figure 5 This is a schematic diagram of the structure of an automatic parking device provided in an embodiment of this disclosure. Figure 5 As shown, the automatic parking device 500 includes: an information acquisition module 510, a first determination module 520, a second determination module 530, and a signal transmission module 540. The information acquisition module 510 is used by the mobile terminal to acquire the location information and acceleration of the vehicle via a global positioning system. The first determination module 520 is used to determine, based on the location information, that the distance between the locations in two consecutively acquired location information sets is less than a preset distance, indicating that the vehicle is stationary. The second determination module 530 is used to determine, based on the acceleration, that the vehicle speed change within a preset time period before the vehicle becomes stationary meets the conditions for activating the parking brake. The signal transmission module 540 is used to send a control signal to the vehicle so that the vehicle activates the parking brake upon receiving the control signal.

[0082] Figure 6This is a schematic diagram of another automatic parking device provided in an embodiment of this disclosure. Figure 6 As shown, the automatic parking device 6000 includes: an information acquisition module 6010, a first determination module 6020, a second determination module 6030, and a signal transmission module 6040.

[0083] Optionally, the positioning information includes latitude and longitude coordinates and timestamp information.

[0084] Optionally, the second determining module 6030 is specifically used to determine, based on the acceleration and the pre-trained analysis model, whether the vehicle speed change within a preset time before the vehicle is stationary meets the conditions for activating the parking brake; the pre-trained analysis model is trained based on pre-collected sample data, the sample data including the vehicle's acceleration sample data within the preset time, and label information indicating whether the vehicle activates the parking brake after the preset time, the acceleration sample data and the label information are in one-to-one correspondence.

[0085] Optionally, the second determining module 6030 includes: a calculation unit 6031, used to calculate the change in vehicle speed within a preset time before the vehicle is stationary based on the acceleration; a first determining unit 6032, used to determine that the change in vehicle speed is greater than or equal to a preset threshold; and a second determining unit 6033, used to determine that the change in vehicle speed within the preset time before the vehicle is stationary meets the conditions for opening the parking brake.

[0086] Optionally, the automatic parking device 6000 further includes: a first receiving module 6050, used to receive the brake signal and power system stop working information sent by the vehicle; a third determining module 6060, used to determine the pedal depth of the brake pedal being pressed based on the brake signal; and a fourth determining module 6070, used to determine that the pedal depth of the brake pedal being pressed is greater than or equal to a preset depth.

[0087] Optionally, the automatic parking device 6000 further includes a fifth determining module 6080, used to determine, based on the positioning information and pre-acquired map data, that there are traffic lights within a preset range around the vehicle.

[0088] Optionally, the automatic parking device 6000 further includes: a second receiving module 6090, used to receive information from the vehicle that the accelerator pedal has been pressed; and an execution module 6100, used to determine that the vehicle has released the parking brake, and to execute the steps of the mobile terminal obtaining the location information and acceleration of the vehicle through the global positioning system.

[0089] The automatic parking device provided in this embodiment can perform the method described in any of the above embodiments. Its execution method and beneficial effects are similar, and will not be repeated here.

[0090] Figure 7 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of this disclosure.

[0091] like Figure 7 As shown, the mobile terminal may include a processor 710 and a memory 720 storing computer program instructions.

[0092] Specifically, the processor 710 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0093] Memory 720 may include mass storage for information or instructions. For example, and not limitingly, memory 720 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 720 may include removable or non-removable (or fixed) media. Where appropriate, memory 720 may be internal or external to the integrated gateway device. In a particular embodiment, memory 720 is non-volatile solid-state memory. In a particular embodiment, memory 720 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (Electrically Programmable ROM, EPROM), an electrically erasable programmable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0094] The processor 710 reads and executes computer program instructions stored in the memory 720 to perform the steps of the automatic parking method provided in the embodiments of this disclosure.

[0095] In one example, the mobile terminal may also include a transceiver 730 and a bus 740. Wherein, as... Figure 7As shown, the processor 710, memory 720 and transceiver 730 are connected via bus 740 and communicate with each other.

[0096] Bus 740 may include hardware, software, or both. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 740 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.

[0097] This disclosure also provides a non-volatile computer-readable storage medium that can store a computer program that, when executed by a processor, enables the processor to implement the automatic parking method provided in this disclosure.

[0098] The aforementioned storage medium may, for example, include a memory 720 containing computer program instructions, which can be executed by the processor 710 of the automatic parking device to complete the automatic parking method provided in this embodiment. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, a Compact Disc ROM (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device. The aforementioned computer program may be written in any combination of one or more programming languages ​​to perform the operations of this embodiment. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code may be executed entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0099] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0100] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An automatic parking method, the method being applicable to a mobile terminal, characterized in that, include: The mobile terminal obtains the location information and acceleration of the vehicle it is in through the Global Positioning System; Based on the location information, if the distance between the locations in two consecutively collected location information is less than a preset distance, the vehicle is in a stationary state. Based on the acceleration, it is determined that the vehicle speed change within a preset time before the vehicle comes to a stop meets the conditions for opening the parking brake. Send a control signal to the vehicle so that the vehicle activates the parking brake upon receiving the control signal; The step of determining whether the vehicle speed change within a preset time period before the vehicle comes to a stop, based on the acceleration, satisfies the conditions for engaging the parking brake includes: Based on the acceleration and the pre-trained analysis model, it is determined that the vehicle speed change within a preset time before the vehicle comes to a standstill meets the conditions for the parking brake to be activated. The pre-trained analysis model is trained based on pre-collected sample data, which includes acceleration sample data of the vehicle within a preset time and label information indicating whether the vehicle engages the parking brake after the preset time. The acceleration sample data and the label information are in one-to-one correspondence.

2. The method according to claim 1, characterized in that, The location information includes latitude and longitude coordinates and timestamp information.

3. The method according to claim 1, characterized in that, The step of determining whether the vehicle speed change within a preset time period before the vehicle comes to a stop, based on the acceleration, satisfies the conditions for engaging the parking brake includes: Based on the acceleration, calculate the change in vehicle speed within a preset time before the vehicle comes to a standstill; The change in vehicle speed is determined to be greater than or equal to a preset threshold. The vehicle speed change within a preset time period before the vehicle comes to a standstill is determined to meet the conditions for activating the parking brake.

4. The method according to claim 1, characterized in that, The method further includes: Receives braking signals and information indicating that the power system has stopped working from the vehicle; Based on the braking signal, determine the depth to which the brake pedal of the vehicle is depressed; It is determined that the depth to which the brake pedal is depressed is greater than or equal to a preset depth.

5. The method according to claim 1, characterized in that, Based on the positioning information, after determining that the distance between the locations in two consecutively collected positioning information is less than a preset distance, and after the vehicle is in a stationary state, the method further includes: Based on the location information and pre-acquired map data, it is determined that there are traffic lights within a preset range around the vehicle.

6. The method according to claim 1, characterized in that, After sending the control signal to the vehicle, the method further includes: Receive information from the vehicle that the accelerator pedal has been pressed; The system determines that the vehicle has released its parking brake and executes the steps of having the mobile terminal obtain the vehicle's location information and acceleration via the Global Positioning System.

7. An automatic parking device for implementing the automatic parking method as described in any one of claims 1-6, wherein the device is applicable to a mobile terminal, characterized in that, include: The information acquisition module is used by the mobile terminal to acquire the location information and acceleration of the vehicle it is in through the global positioning system; The first determining module is used to determine, based on the positioning information, that the distance between the positions in two consecutively collected positioning information is less than a preset distance, and the vehicle is in a stationary state. The second determining module is used to determine, based on the acceleration, whether the vehicle speed change within a preset time before the vehicle is stationary meets the conditions for opening the parking brake. A signal transmitting module is used to send a control signal to the vehicle so that the vehicle activates the parking brake after receiving the control signal; The second determining module is specifically used to determine, based on the acceleration and the pre-trained analysis model, whether the vehicle speed change within a preset time before the vehicle is stationary meets the conditions for the parking brake to be activated. The pre-trained analysis model is trained based on pre-collected sample data, which includes acceleration sample data of the vehicle within a preset time and label information indicating whether the vehicle engages the parking brake after the preset time. The acceleration sample data and the label information are in one-to-one correspondence.

8. A mobile terminal, characterized in that, include: processor; Memory, used to store executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the automatic parking method according to any one of claims 1-6.

9. A non-volatile computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, causes the processor to implement the automatic parking method as described in any one of claims 1-6.