Universal parking tracking method, electronic equipment and medium
Through the pan-parking tracking method, the vehicle driving path is recorded and optimized, which solves the problem of difficulty in exiting the automatic parking function, realizes the reverse tracking function on low-end models, and improves user experience and product competitiveness.
Patent Information
- Application Number
- CN202410848176.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-17
AI Technical Summary
The existing automatic parking function is difficult to exit effectively in complex parking scenarios, especially for novice users, which makes it difficult for the vehicle to back up to the main road and find other parking spaces. Moreover, the memory parking function requires high hardware configuration and has limited maneuverability. Only a small number of paths can be memorized.
Develop a pan-parking tracking method. By recording the path information and gear information during vehicle driving, after the user activates the pan-parking tracking function, the vehicle can be controlled in reverse based on the stored path information, using path comparison and storage queues. The mechanism optimizes the path and realizes the reverse tracking of the vehicle.
It realizes the pan-parking tracking function used on low-end models, improves user experience and product competitiveness, reduces the requirements for hardware configuration, provides stronger mobility and driving assistance, and users do not need to specifically learn routes.
Smart Images

Figure CN118651216A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle tracking, and more specifically, to a pan-parking tracking method, electronic equipment and medium. Background Art
[0002] During the development of the tracking reverse function of the ZD1A project, it was found that there were few actual application scenarios for this function. When the automatic parking function is exited, it will generally stop at the original place; and the reason why the mature automatic parking function triggers the exit of the parking function is mostly due to too many parking times. At this time, the parking scene is generally more complicated, and the users are generally novices, which makes it difficult for users to reverse back to the main road from the location where the automatic parking function ends, and then find other parking spaces. In old communities or alleys, users directly park their vehicles on the side of the road or lean on the side of the road. After turning off the power and getting in the car, they need to reverse to the main road.
[0003] In the existing technology, universal parking is achieved through the memory parking function. In addition to ultrasonic radar to identify obstacles, the memory parking function also needs to use camera information to build SLAM of the surrounding environment. At the same time, through deep learning, it records important semantic elements in the environment to form map information that can be used for guidance. The memory parking function has high requirements for the hardware configuration of the vehicle and the computing power of the controller, so it is difficult to apply it to all models with all configurations. In addition, the memory parking function can generally only remember 5-10 routes, and route learning is required before use, so the mobility is not strong.
[0004] Therefore, it is necessary to develop a pan-parking tracking method, electronic equipment and medium.
[0005] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0006] The present invention proposes a pan-parking tracking method, electronic device and medium, which record the position of the vehicle during the parking process, and can still store the path after power is turned off. After parking is terminated, the pan-parking tracking function is turned on, and the vehicle can be reversely controlled according to the stored path.
[0007] In a first aspect, an embodiment of the present disclosure provides a pan-parking tracking method, comprising:
[0008] Sequentially record the position information and gear information of the path points during the vehicle's driving process to obtain path information, wherein path comparison is performed when the gear is switched;
[0009] The user activates the pan-parking tracking function;
[0010] After the handshake is successful, the car is controlled to drive in the reverse direction according to the recorded path information through pan-parking tracking;
[0011] A tracking success condition is determined, and the vehicle control is stopped after the tracking success condition is met.
[0012] Preferably, the location information and gear information of the path points are recorded through a storage queue of a preset length, the information of the new path point is stored at the end of the storage queue, and the remaining path points in the storage queue are moved forward in sequence.
[0013] Preferably, the position information includes real-time position and real-time vehicle direction.
[0014] Preferably, the path comparison includes:
[0015] Compare the location information of the new path point with the location information of the recorded path point to obtain the matching path point;
[0016] Information replacement is performed according to the distance between the new path point and the matching path point.
[0017] Preferably, the matching path point is a path point having the same gear as the new path point, a vehicle direction error less than an angle threshold, and a minimum distance between the two.
[0018] Preferably, performing information replacement according to the distance between the new path point and the matching path point includes:
[0019] If the distance between the two is less than a preset distance threshold, the information of all path points after the matching path point is deleted, and the information of the new path point is recorded;
[0020] If the distance between the two is not less than the preset distance threshold, the information of the new path point is directly recorded.
[0021] Preferably, the tracking success condition includes:
[0022] The vehicle travels to the starting point of the route information; or
[0023] The tracking length reaches the set threshold.
[0024] Preferably, it also includes:
[0025] The user manually exits the pan-parking tracking and stops controlling the vehicle.
[0026] In a second aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0027] A memory storing executable instructions;
[0028] A processor runs the executable instructions in the memory to implement the pan-parking tracking method.
[0029] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the pan-parking tracking method is implemented.
[0030] The methods and apparatus of the present invention have other features and advantages that will be apparent from, or will be described in detail in, the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0032] Figure 1 A flow chart showing the steps of a pan-parking tracking method according to an embodiment of the present invention.
[0033] Figure 2 A schematic diagram of a storage queue according to an embodiment of the present invention is shown.
[0034] Figure 3a , Figure 3b Schematic diagrams of a parking process driving route and a pan-parking system tracking route according to an embodiment of the present invention are respectively shown.
[0035] Figure 4 A schematic diagram of path comparison according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0036] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0037] To facilitate understanding of the solutions and effects of the embodiments of the present invention, three specific application examples are given below. Those skilled in the art should understand that the examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.
[0038] Example 1
[0039] Figure 1 A flow chart showing the steps of a pan-parking tracking method according to an embodiment of the present invention.
[0040] like Figure 1 As shown, the pan-parking tracking method includes:
[0041] Step 101, sequentially recording the position information and gear information of the path points during the vehicle's travel to obtain path information, wherein path comparison is performed when the gear is switched;
[0042] Step 102, the user activates the pan-parking tracking function;
[0043] Step 103, after the handshake is successful, the vehicle is controlled to drive in the reverse direction according to the recorded path information through pan-parking tracking;
[0044] Step 104, determining a tracking success condition, and stopping vehicle control after the tracking success condition is met.
[0045] In one example, the location information and gear information of the waypoints are recorded through a storage queue of a preset length, the information of the new waypoint is stored at the end of the storage queue, and the remaining waypoints in the storage queue are moved forward in sequence.
[0046] In one example, the location information includes real-time location and real-time vehicle direction.
[0047] In one example, path comparison includes:
[0048] Compare the location information of the new path point with the location information of the recorded path point to obtain the matching path point;
[0049] Information replacement is performed based on the distance between the new path point and the matching path point.
[0050] In one example, the matching waypoint is a waypoint that has the same gear as the new waypoint, a vehicle direction error that is less than an angle threshold, and a minimum distance between the two.
[0051] In one example, replacing information according to the distance between the new path point and the matching path point includes:
[0052] If the distance between the two is less than the preset distance threshold, the information of all path points after the matching path point is deleted and the information of the new path point is recorded;
[0053] If the distance between the two is not less than the preset distance threshold, the information of the new path point is directly recorded.
[0054] In one example, the tracking success conditions include:
[0055] The vehicle travels to the starting point of the route information; or
[0056] The tracking length reaches the set threshold.
[0057] In one example, it also includes:
[0058] The user manually exits the pan-parking tracking and stops controlling the vehicle.
[0059] Specifically, the pan-parking tracking method includes four states: function standby, path recording, tracking activation and tracking success:
[0060] Function standby: The vehicle is powered on, but is stationary.
[0061] Path recording: When the vehicle starts to move, it automatically jumps from the standby state to the path recording state, recording the path location information and gear information; when the vehicle switches between R gear and D gear during movement, the path comparison module is called; the recorded path is not cleared even after power off;
[0062] Tracking activation: After the handshake is successful, the pan-parking system tracking function will control the vehicle, automatically switch gears, and drive along the stored path;
[0063] Tracking success: When the vehicle reaches the starting point of the path record, or the total tracking length exceeds 100m, or the user determines through evaluation that the vehicle has tracked to a position where he can take over, and turns off the function through soft or hard switches, the tracking is considered successful; after the vehicle stops, it automatically jumps to the function standby state.
[0064] Figure 2 A schematic diagram of a storage queue according to an embodiment of the present invention is shown.
[0065] like Figure 2 As shown, a storage queue with a length of 500 is set and initialized; if there is information written in the queue, all the written information is moved forward one position; if the queue is full, the information at bit 0 is cleared; when the tracking function of the pan-parking system enters the path recording state, the current position, direction and gear information of the vehicle calculated by the wheel speed pulse is written to the end of the queue, that is, the 499th bit.
[0066] Figure 3a , Figure 3b Schematic diagrams of a parking process driving route and a pan-parking system tracking route according to an embodiment of the present invention are respectively shown.
[0067] The purpose of using path comparison is as follows: Figure 3a , Figure 3bAs shown in the figure, the black lines are parallel parking spaces; the blue lines are the user or automatic parking system parking path diagram, where the solid line is D gear and the dotted line is R gear, and the parking was not successful in the end; the orange is the pan-parking system tracking function vehicle control path diagram, where the solid line is D gear and the dotted line is R gear, and the pan-parking system tracking function is used to successfully reverse the vehicle to the starting position of parking. It can be seen that the user or the automatic parking system has made multiple fine-tuning near the parking space. Through path comparison, the fine-tuning path can be reasonably deleted, which can make the pan-parking system tracking path more reasonable.
[0068] Figure 4 A schematic diagram of path comparison according to an embodiment of the present invention is shown.
[0069] like Figure 4 As shown, the newly recorded path point (orange) is compared with the already recorded path point, and the path point with the same gear as the new path point, the vehicle direction error less than the angle threshold and the smallest distance between the two is determined as the matching path point (blue); if the error between the newly recorded path point (orange) and the matching point (blue) is within 30cm, it is considered that the path coverage is sufficient, the N path information points after the matching point (blue point) are cleared, all information points are moved backward N places, and the newly recorded path point is written to the 499th place; if the error between the newly recorded path point (orange) and the matching point (blue) exceeds 30cm, the path point is written into the storage queue according to the steps of the path recording module.
[0070] The path recording of the pan-parking tracking function of the present invention is continuously performed in the background and does not require special learning by the user. It provides driving assistance to the user only when the user needs to use it, and only requires ultrasonic radar to identify obstacles. It can be used on low-end models to enhance product experience and competitiveness.
[0071] Example 2
[0072] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; a processor, which runs the executable instructions in the memory to implement the above-mentioned pan-parking tracking method.
[0073] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.
[0074] The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.
[0075] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory.
[0076] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.
[0077] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.
[0078] Example 3
[0079] An embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the pan-parking tracking method is implemented.
[0080] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the above-mentioned methods of each embodiment of the present disclosure are executed.
[0081] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).
[0082] Those skilled in the art should understand that the purpose of the above description of the embodiments of the present invention is only to exemplarily illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.
[0083] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A pan-parking tracking method, characterized in that: include: Sequentially record the position information and gear information of the path points during the vehicle's driving process to obtain path information, wherein path comparison is performed when the gear is switched; The user activates the pan-parking tracking function; After the handshake is successful, the car is controlled to drive in the reverse direction according to the recorded path information through pan-parking tracking; A tracking success condition is determined, and the vehicle control is stopped after the tracking success condition is met.
2. The pan-parking tracking method according to claim 1, wherein: The location information and gear information of the path point are recorded through a storage queue of a preset length, the information of the new path point is stored at the end of the storage queue, and the remaining path points in the storage queue are moved forward in sequence.
3. The pan-parking tracking method according to claim 1, wherein: The position information includes real-time position and real-time vehicle direction.
4. The pan-parking tracking method according to claim 3, wherein: The path comparison includes: Compare the location information of the new path point with the location information of the recorded path point to obtain the matching path point; Information replacement is performed according to the distance between the new path point and the matching path point.
5. The pan-parking tracking method according to claim 4, wherein: The matching path point is a path point having the same gear as the new path point, a vehicle direction error less than an angle threshold, and a minimum distance between the two.
6. The pan-parking tracking method according to claim 4, wherein: Replacing information according to the distance between the new path point and the matching path point includes: If the distance between the two is less than a preset distance threshold, the information of all path points after the matching path point is deleted, and the information of the new path point is recorded; If the distance between the two is not less than the preset distance threshold, the information of the new path point is directly recorded.
7. The pan-parking tracking method according to claim 1, wherein: The tracking success conditions include: The vehicle travels to the starting point of the route information; or The tracking length reaches the set threshold.
8. The pan-parking tracking method according to claim 1, wherein: Also includes: The user manually exits the pan-parking tracking and stops controlling the vehicle.
9. An electronic device, characterized in that: The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the pan-parking tracking method described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the pan-parking tracking method described in any one of claims 1-8.
