Memory route management method and device, vehicle and storage medium
By updating and managing memory routes in the vehicle's embedded system, using users' takeover behavior and priority conditions, the problem of poor memory route management in the prior art is solved, and a personalized and flexible autonomous driving experience is achieved.
Patent Information
- Application Number
- CN202411698031.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-18
AI Technical Summary
The lack of effective management of memory routes in the prior art has resulted in the fact that memory routes at the same starting and ending position are mostly single, which cannot provide a rich, convenient and personalized autonomous driving experience.
By implementing the memory route management method in the embedded system of the vehicle, the target memory route is updated using the user's takeover behavior, and multiple memory routes are sorted and stored according to priority conditions, and displayed in the user interface.
It realizes the flexibility and personalized management of memory driving mode, and can provide users with a rich, convenient and personalized autonomous driving experience.
Smart Images

Figure CN119636795A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent assisted driving technology, and in particular to a memory route management method, device, vehicle and storage medium. Background Art
[0002] Memory driving is an intelligent assisted driving function that can learn and remember the driving route of the user. In subsequent driving, the vehicle can automatically drive to the destination or target parking space according to this route, realizing end-to-end full-scenario navigation assisted driving.
[0003] With the popularization of end-to-end autonomous driving, it is necessary to manage memory routes based on supervised learning and post-learning. However, related technologies lack the management of memory routes, and most memory routes with the same starting and ending positions are single. For example, there is often only one memory route from home to the company (or commuting route), which makes it impossible to provide users with a rich, convenient, and personalized autonomous driving experience. Summary of the invention
[0004] In order to solve or partially solve the problems existing in the related art, the present application provides a memory route management method, device, vehicle and storage medium, which can bring users a rich, convenient and personalized customized autonomous driving experience.
[0005] In a first aspect, the present application provides a memory route management method, which is applied to an embedded system, wherein the embedded system includes a route data area, and the route data area is used to store a plurality of memory routes obtained through learning. The method includes:
[0006] After activating the memory driving mode of the vehicle, obtaining a target memory route from the route data area;
[0007] In the process of controlling the vehicle to travel according to the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route;
[0008] The new memory route is stored in the route data area, and the multiple memory routes currently in the route data area are sorted according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
[0009] In one embodiment, after activating the memory driving mode of the vehicle, obtaining the target memory route from the route data area includes:
[0010] After activating a memory driving mode of the vehicle, obtaining a current position and a target position of the vehicle;
[0011] Acquire a candidate memory route matching the current position and the target position from the route data area;
[0012] When the candidate memory routes include at least two, respectively obtain the traffic information corresponding to the at least two candidate memory routes;
[0013] According to the traffic information and / or the priority condition, a target memory route is selected from the at least two candidate memory routes, and the target memory route is pushed; wherein the traffic information includes at least one of the traffic time, the traffic mileage and the traffic road condition, and the priority condition includes at least one of the learning time and the usage frequency.
[0014] In one embodiment, updating the target memory route according to the takeover operation to obtain a new memory route includes:
[0015] If the takeover operation instructs the vehicle to change from the current lane to another lane, the target memory route is updated according to the driving trajectory after the lane change to obtain a new memory route; or,
[0016] If the takeover operation instructs the vehicle to change from the current road section to another road section, the target memory route is updated according to the driving trajectory after the bifurcation to obtain a new memory route.
[0017] In one embodiment, the priority condition includes at least one of a learning time and a usage frequency; the storing the new memory route in the route data area and sorting the multiple memory routes in the current route data area according to the priority condition includes:
[0018] Determining whether the number of memory routes in the route data area reaches a preset number threshold;
[0019] If the number of the memory routes reaches a preset number threshold, the new memory route overwrites the last memory route in the route data area;
[0020] The plurality of memorized routes in the current route data area are sorted according to the learning time and / or usage frequency of each memorized route.
[0021] In one embodiment, the method further comprises:
[0022] In response to a customization operation triggered on the new memory route through the user interface, reviewing the new memory route;
[0023] After the new memory route is reviewed and approved, the new memory route is determined as an available memory route;
[0024] In response to a renaming operation on the usable memory route, the name of the usable memory route is changed.
[0025] In one embodiment, the method further comprises:
[0026] In response to a deletion operation triggered on any memory route through the user interface, deleting the memory route targeted by the deletion operation from the route data area; or,
[0027] When it is detected that there is a memory route with a usage frequency lower than a preset frequency threshold in the route data area, the memory route with a usage frequency lower than the preset frequency threshold is deleted from the route data area.
[0028] In one embodiment, the method further comprises:
[0029] Get your commute location from your navigation system;
[0030] determining whether the departure point and the destination of the new memorized route match the commuting location;
[0031] If the departure point and the destination of the new memorized route match the commuting location, the new memorized route is determined as a commuting route.
[0032] A second aspect of the present application provides a memory route management device, which is applied to an embedded system, wherein the embedded system includes a route data area, and the route data area is used to store a plurality of memory routes obtained by learning. The device includes:
[0033] a target memory route acquisition module, used to acquire the target memory route from the route data area after activating the memory driving mode of the vehicle;
[0034] a target memory route updating module, configured to update the target memory route according to the takeover operation to obtain a new memory route if a takeover operation for the vehicle is detected during the process of controlling the vehicle to travel according to the target memory route;
[0035] The memory route storage and display module is used to store the new memory route in the route data area and sort the multiple memory routes in the current route data area according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
[0036] A third aspect of the present application provides a vehicle, comprising:
[0037] Processor; and
[0038] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.
[0039] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of a vehicle, the processor is caused to execute the method as described above.
[0040] The technical solution provided by this application may have the following beneficial effects:
[0041] The solution provided by the present application is to obtain the target memory route from the route data area after activating the vehicle's memory driving mode; in the process of controlling the vehicle to drive along the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route; the new memory route is stored in the route data area, and the multiple memory routes in the current route data area are sorted according to the priority conditions to display the sorted multiple memory routes in the user interface. The present application updates the target memory route based on the user's takeover behavior for the vehicle, so that the new memory route can be more in line with the user's driving habits, and the same starting and ending positions can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. Through the personalized management of the storage of multiple memory routes and UI display interactions, it can bring users a rich, convenient, and personalized customized autonomous driving experience.
[0042] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail the exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.
[0044] Figure 1 is a flow chart of a memory route management method according to an embodiment of the present application;
[0045] Figure 2 is another flow chart of the memory route management method shown in the embodiment of the present application;
[0046] Figure 3 is a system framework diagram of an embedded system shown in an embodiment of the present application;
[0047] Figure 4 is a software framework diagram of a memory route management application shown in an embodiment of the present application;
[0048] Figure 5 is a schematic diagram of the structure of a memory route management device shown in an embodiment of the present application;
[0049] Figure 6 It is a schematic diagram of the structure of a vehicle shown in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0051] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0052] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0053] The related technology lacks the management of memory routes, and most of the memory routes with the same starting and ending positions are single. For example, there is often only one memory route from home to the company (or commuting route), which makes it impossible to provide users with a rich, convenient, and personalized autonomous driving experience.
[0054] In response to the above problems, an embodiment of the present application provides a memory route management method, which updates the target memory route based on the user's takeover behavior of the vehicle, so that the new memory route can be more in line with the user's driving habits, and the same starting and ending positions can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. Through the personalized management of the storage of multiple memory routes and UI display interaction, users can be given a rich, convenient, and personalized customized autonomous driving experience.
[0055] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0056] Figure 1 1 is a flow chart of a memory route management method according to an embodiment of the present application. The method can be applied to an embedded system, and the embedded system can include a route data area, and the route data area can be used to store multiple memory routes obtained by learning.
[0057] See also Figure 1 , the memory route management method of the present application includes:
[0058] S110, after activating the memory driving mode of the vehicle, obtaining a target memory route from a route data area.
[0059] The execution subject of the memory route management can be an embedded system installed in the vehicle. The embedded system is application-centric and can flexibly tailor software and hardware modules according to user needs (function, reliability, cost, volume, power consumption, environment, etc.). Figure 2 As shown, the embedded system may include an application layer, a data layer and a system layer, wherein the application layer may include a variety of vehicle applications such as a memory route management application, application 1 and application 2, the data layer may include a variety of communication protocols such as DDS (Data Distribution Service), SOME / IP (Scalable service-oriented middleware over IP) and CAN (Controller Area Network), and the system layer may include a variety of system areas such as a file system, a configuration file and a route data.
[0060] The embodiment of the present application can use CAN and SOME / IP as the cross-system communication protocol, so as to ensure efficient, safe and reliable communication between systems. Alternatively, the embodiment of the present application can also use pure CAN or pure SOME / IP as the cross-system communication protocol, so as to provide more efficient data processing capabilities.
[0061] The embodiment of the present application can use DDS as the internal distributed communication protocol, thereby achieving real-time, reliable, and high-performance data exchange.
[0062] The embodiment of the present application can use multi-threaded concurrency, thread pool and synchronization mechanism to perform task processing on the internal application of the software of the embedded system, so as to achieve efficient and safe management of route data. Alternatively, the embodiment of the present application can also use coroutines to perform task processing on the internal application of the software of the embedded system, so as to reduce the context switching overhead and achieve faster data processing capabilities.
[0063] The configuration file area can be used to store various configuration parameters, which may include a preset quantity threshold, a preset frequency threshold, a preset distance threshold, etc. If you want to modify a certain configuration parameter, you can modify the configuration parameter in the configuration file area.
[0064] The route data area can be used to store multiple memory routes learned. For example, each time a memory route is learned, the embodiment of the present application can store the memory route in the route data area. The types of memory routes can include memory driving routes and memory parking routes. The memory driving routes are mainly used for automatic driving on urban roads, and the memory parking routes are mainly used for automatic parking in fixed parking spaces in parking lots or parks.
[0065] In actual applications, the user can trigger the memory driving mode in the UI (User Interface) of the vehicle's large screen so that the embedded system can activate the vehicle's memory driving mode, and then obtain the vehicle's location information in order to obtain a target memory route that matches the vehicle's location information from the route data area.
[0066] S120, during the process of controlling the vehicle to travel along the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route.
[0067] After obtaining the target memory route, the embedded system can control the vehicle to drive along the target memory route. During driving, the embedded system can detect in real time whether the user has taken over the vehicle. The takeover operation can refer to the operation triggered by the user controlling the vehicle steering wheel. For example, the current lane of the current section of the target memory route is the middle lane, but the user is used to driving on the right, so the user controls the vehicle to drive in the right lane through the vehicle steering wheel, and the embedded system detects the user's takeover operation on the vehicle. The embedded system can update the target memory route according to the takeover operation, and the updated target memory route can be used as a new memory route, so the new memory route can be more in line with the user's driving habits.
[0068] It should be noted that the target memory route before the update can be retained in the route data area, so that there can be more than one memory route for the same starting and ending position, that is, the same starting and ending position can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. For example, there can be multiple commuting routes from home to the company, so that one can be selected from multiple commuting routes as the target commuting route according to actual conditions.
[0069] S130, storing the new memory route in the route data area, and sorting the multiple memory routes in the current route data area according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
[0070] After obtaining a new memory route, the embedded system can store the new memory route in the route data area, and then sort the multiple memory routes stored in the current route data area according to the priority conditions configured based on the user's driving habits, thereby realizing personalized storage management of multiple memory routes. In addition, the embedded system can display the sorted multiple memory routes in the UI interface of the vehicle's large screen, thereby realizing personalized UI display interaction management of multiple memory routes.
[0071] As can be seen from this example, the solution provided by this application obtains the target memory route from the route data area after activating the vehicle's memory driving mode; in the process of controlling the vehicle to drive along the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route; the new memory route is stored in the route data area, and the multiple memory routes in the current route data area are sorted according to the priority conditions to display the sorted multiple memory routes in the user interface. This application updates the target memory route based on the user's takeover behavior for the vehicle, so that the new memory route can be more in line with the user's driving habits, and the same starting and ending positions can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. Through the personalized management of the storage of multiple memory routes and UI display interactions, it can bring users a rich, convenient, and personalized customized autonomous driving experience.
[0072] Figure 3 1 is another flow chart of the memory route management method shown in the present application. The method can be applied to an embedded system, and the embedded system can include a route data area, and the route data area can be used to store multiple memory routes obtained by learning.
[0073] See also Figure 3 , the memory route management method of the present application includes:
[0074] S310, after activating the memory driving mode of the vehicle, obtaining the current position and target position of the vehicle.
[0075] like Figure 2 As shown, the data layer of the embedded system can include multiple communication protocols such as DDS, SOME / IP and CAN. The embodiment of the present application can use CAN and SOME / IP as cross-system communication protocols, so as to ensure efficient, safe and reliable communication between systems. Alternatively, the embodiment of the present application can also use pure CAN or pure SOME / IP as a cross-system communication protocol, so as to provide more efficient data processing capabilities. At the same time, the embodiment of the present application can use DDS as an internal distributed communication protocol, so as to achieve real-time, reliable and high-performance data exchange. At the same time, the embodiment of the present application can use multi-threaded concurrency, thread pool and synchronization mechanism to perform task processing on the software internal application of the embedded system, so as to achieve efficient and safe management of route data. Alternatively, the embodiment of the present application can also use coroutines to perform task processing on the software internal application of the embedded system, so as to reduce the context switching overhead and achieve faster data processing capabilities.
[0076] like Figure 2 As shown, the system layer of the embedded system may include multiple system areas such as a file system, a configuration file, and route data. The embodiment of the present application may use the route data area to store multiple memory routes learned. Among them, the types of memory routes may include memory driving routes and memory parking routes. The memory driving routes are mainly used for automatic driving on urban roads, and the memory parking routes are mainly used for automatic parking in fixed parking spaces in parking lots or parks.
[0077] In actual applications, users can trigger the memory driving mode in the UI interface of the vehicle's large screen so that the embedded system can activate the vehicle's memory driving mode, and then obtain the vehicle's current location from the GPS (Global Positioning System) and the target location entered by the user.
[0078] S320, acquiring a candidate memory route that matches the current position and the target position from the route data area.
[0079] like Figure 4 As shown, the memory route management application may include multiple autonomous driving functions such as route rolling storage, route customization, route deletion, route push, commuting route setting, and route renaming. Among them, the route push function can refer to steps S320 to S340.
[0080] In this step, each memory route has a starting and ending position, which includes a departure point and a destination. The embedded system can determine whether the departure point of each memory route matches the current position of the vehicle, and whether the destination of each memory route matches the target position of the vehicle. Among them, matching can mean that the two positions are the same, or it can mean that the distance difference between the two positions is less than a preset distance threshold, and the embodiments of the present application do not limit this. If the departure point of a memory route matches the current position of the vehicle, and the destination also matches the target position of the vehicle, the embedded system can use the memory route as a candidate memory route, and then obtain the candidate memory route from the route data area.
[0081] S330: When there are at least two candidate memory routes, respectively obtain the traffic information corresponding to the at least two candidate memory routes.
[0082] In the related art, since most of the memory routes with the same starting and ending positions are single, the related art does not have a personalized route push function.
[0083] In the embodiment of the present application, the same starting and ending positions may correspond to multiple memory routes, so the candidate memory routes obtained may include one or at least two. If the candidate memory route includes one, the embedded system can directly use the candidate memory route as the target memory route, that is, there is no need to execute steps S330 and S340, and directly enter step S350. If the candidate memory routes include at least two, the embedded system can first obtain the traffic information corresponding to each candidate memory route, and then enter step S340.
[0084] S340: Select a target memory route from at least two candidate memory routes according to the traffic information and / or priority conditions, and push the target memory route.
[0085] The travel information may include at least one of travel time, travel mileage and road conditions, and the priority condition may include at least one of learning time and frequency of use.
[0086] The embedded system can sort at least two candidate memory routes according to traffic information and / or priority conditions, so as to select the candidate memory route ranked first among the at least two sorted candidate memory routes as the target memory route, and then push the target memory route to the user by voice, thereby realizing a personalized route push function.
[0087] In one example, if the user wants to reach the target location as quickly as possible, the travel time or travel mileage can be set as a preferred condition so that the embedded system can select the candidate memory route with the shortest travel time or travel mileage from at least two candidate memory routes as the target memory route, and then push the target memory route to the user by voice, thereby realizing a personalized route push function.
[0088] In another example, if the user wants a smooth journey without congestion, the traffic condition can be set as a preferred condition so that the embedded system can select a candidate memory route with smooth traffic ahead and no congestion from at least two candidate memory routes as the target memory route, and then push the target memory route to the user by voice, thereby realizing a personalized route push function.
[0089] In another example, if the user wants the vehicle to travel along the most recently learned memory route, the learning time can be set as a preferred condition so that the embedded system can select the candidate memory route with the latest learning time from at least two candidate memory routes as the target memory route, and then push the target memory route to the user by voice, thereby realizing a personalized route push function.
[0090] In another example, if the user wants the vehicle to travel along a frequently used memory route, the frequency of use can be set as a preferred condition so that the embedded system can select the most frequently used candidate memory route from at least two candidate memory routes as the target memory route, and then push the target memory route to the user by voice, thereby realizing a personalized route push function.
[0091] In order to provide users with more efficient and user-friendly route recommendations, the route priority sorting algorithm used by the route recommendation function can be adjusted according to the needs of different users, so as to provide users with more convenient memory routes and a more humanized autonomous driving experience.
[0092] S350, during the process of controlling the vehicle to travel along the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route.
[0093] For this step, please refer to the description in S120 and will not be repeated here.
[0094] In one embodiment, updating the target memory route according to the takeover operation to obtain a new memory route may include:
[0095] If the takeover operation instructs the vehicle to change from the current lane to another lane, the target memory route is updated according to the driving trajectory after the lane change to obtain a new memory route; or, if the takeover operation instructs the vehicle to change from the current section to another section, the target memory route is updated according to the driving trajectory after the fork to obtain a new memory route.
[0096] In one example, assuming that the current section of the target memory route has three lanes, during the process of learning the target memory route, the vehicle is driving in the middle lane of the current section, but the user is accustomed to driving on the right, so the user controls the vehicle through the vehicle steering wheel to change from the current lane to other lanes, such as changing from the middle lane to the right lane. The embedded system updates the target memory route according to the driving trajectory after the lane change. For example, the driving trajectory of the vehicle in the right lane can be learned, and then the currently learned driving trajectory of the right lane can be used to cover the previously learned driving trajectory of the middle lane, thereby obtaining an updated target memory route. The updated target memory route can be used as a new memory route, so that the new memory route can be more in line with the user's driving habits.
[0097] In another example, suppose there are routes A and B from home to company, where the mileage of route B is shorter than that of route A. However, route B was under construction at the time, so the vehicle only learned route A, that is, the target memory route is route A. While the vehicle is driving along the target memory route (route A), the user learns that the road repair of route B is completed. Since the mileage of route B is shorter than that of route A, the user controls the vehicle through the steering wheel to switch from the current section to other sections, such as taking over the vehicle at the fork of route A and route B, so that the vehicle drives from the fork to route B. The embedded system updates the target memory route according to the driving trajectory after the fork. For example, the driving trajectory of route B after the fork can be learned, and then the driving trajectory of route B after the fork currently learned can be used to cover the driving trajectory of route A after the fork previously learned, thereby obtaining an updated target memory route. The updated target memory route can be used as a new memory route, so that the new memory route can be more in line with the user's driving habits.
[0098] S360, storing the new memory route in the route data area, and sorting the multiple memory routes in the current route data area according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
[0099] For this step, please refer to the description in S130 and will not be repeated here.
[0100] In one embodiment, storing the new memory route in the route data area and sorting the multiple memory routes in the current route data area according to the priority condition may include:
[0101] Determine whether the number of memory routes in the route data area reaches a preset number threshold; if the number of memory routes reaches the preset number threshold, overwrite the last memory route in the route data area with a new memory route; and sort the multiple memory routes in the current route data area according to the learning time and / or usage frequency of each memory route.
[0102] In order to avoid wasting storage space in the route data area due to storing useless memory routes, the embodiment of the present application may provide a route rolling storage function.
[0103] After obtaining a new memory route, the embedded system can first count the number of memory routes in the route data area, and then determine whether the number of memory routes reaches a preset number threshold, which can be set based on the storage space of the route data area. If the number of memory routes does not reach the preset number threshold, it means that the storage space of the route data area is sufficient to store the new memory route, and the embedded system can directly store the new memory route in the route data area; if the number of memory routes reaches the preset number threshold, it means that the storage space of the route data area is insufficient to store the new memory route, and the embedded system can overwrite a certain memory route in the route data area with the new memory route. Since in the previous round of rolling storage, the multiple memory routes in the route data area have been sorted according to the learning time and / or use frequency of each memory route, in the current round of rolling storage, the last memory route in the route data area belongs to the earliest learned or infrequently used memory route, and the embedded system can overwrite the last memory route in the route data area with the new memory route.
[0104] Afterwards, the embedded system can sort the multiple memory routes in the current route data area according to the learning time and / or usage frequency of each memory route, thereby completing the current round of rolling storage. As an example, in the current round of rolling storage, the embedded system sorts the multiple memory routes in the current route data area in positive order according to the learning time of each memory route, so that the latest learned memory route is ranked first in the route data area, and the earliest learned memory route is ranked last in the route data area. As another example, in the current round of rolling storage, the embedded system sorts the multiple memory routes in the current route data area in positive order according to the usage frequency of each memory route, so that the frequently used memory route is ranked first in the route data area, and the infrequently used memory route is ranked last in the route data area. As another example, in the current round of rolling storage, the embedded system sorts the multiple memory routes in the current route data area in positive order according to the learning time and usage frequency of each memory route, so that the latest learned and frequently used memory route is ranked first in the route data area, and the earliest learned and infrequently used memory route is ranked last in the route data area.
[0105] In one embodiment, the method may further include:
[0106] In response to a customization operation triggered on a new memory route through a user interface, the new memory route is reviewed; after the new memory route passes the review, the new memory route is determined to be an available memory route; in response to a renaming operation on the available memory route, the name of the available memory route is changed.
[0107] In the related art, the newly learned memory route is directly placed in the system storage area. However, the system cannot determine whether the newly learned memory route is what the user wants, and the newly learned memory route involves navigation information, which is sensitive information. However, the system does not receive user instructions and therefore will not process the newly learned memory route. Therefore, the related art does not have a personalized route customization function.
[0108] In order to support users' personalized settings for memory routes and to distinguish newly learned and usable routes, the embodiments of the present application provide a route customization function and a route renaming function.
[0109] Through step S360, the sorted multiple memory routes are displayed in the UI interface, so that the user can trigger the customization operation on the new memory route through the UI interface in time. In response to the customization operation, the embedded system initiates an audit process for the new memory route. The audit process mainly audits whether there is navigation information that does not comply with regulations in the new memory route. If there is navigation information that does not comply with regulations in the new memory route, the audit of the new memory route will not pass. The embedded system can shield or otherwise process the navigation information that does not comply with regulations in the new memory route to pass the audit of the new memory route; if there is no navigation information that does not comply with regulations in the new memory route, the audit of the new memory route will pass, and the embedded system can determine the new memory route as a usable memory route. A usable memory route refers to a memory route that complies with regulations and can be used.
[0110] After obtaining a new memory route, the embedded system can configure a default name for the new memory route. For example, if the destination of the new memory route is home, the embedded system can use the location information near home as the default name of the new memory route. However, the default name is relatively general and vague, so the user cannot clearly understand the specific situation of the new memory route. In this regard, after the embodiment of the present application determines the new memory route as an available memory route, it can provide the user with a route renaming function. For example, the user can trigger a renaming operation on the available memory route through the UI interface. The renaming operation carries the name information entered by the user. In response to the renaming operation, the embedded system changes the default name of the available memory route to the name information entered by the user, so that the user can clearly understand the specific situation of the new memory route.
[0111] In one embodiment, the method may further include:
[0112] In response to a deletion operation triggered on any memory route through the user interface, the memory route targeted by the deletion operation is deleted from the route data area; or, when a memory route with a usage frequency lower than a preset frequency threshold is detected in the route data area, the memory route with a usage frequency lower than the preset frequency threshold is deleted from the route data area.
[0113] The route rolling storage function is to delete the last remembered route when the number of remembered routes in the route data area reaches a preset number threshold. In addition, the embodiment of the present application can also provide a route deletion function.
[0114] Through step S360, the sorted multiple memory routes are displayed in the UI interface, so that the user can trigger a deletion operation on any memory route through the UI interface. In response to the deletion operation, the embedded system deletes the memory route targeted by the deletion operation from the route data area, so that the deleted memory route is no longer displayed and cannot be used.
[0115] In addition to supporting active deletion operations by users, the route deletion function also supports active deletion operations by the system. Specifically, the embedded system can monitor in real time whether the usage frequency of each memory route in the route data area is lower than the preset frequency threshold. If it is detected that there is a memory route in the route data area with a usage frequency lower than the preset frequency threshold, it means that the memory route is not often used, and the embedded system can actively delete the memory route. For example, the embedded system can delete the memory route with a usage frequency lower than the preset frequency threshold from the route data area, so that the deleted memory route is no longer displayed and cannot be used.
[0116] In one embodiment, the method may further include:
[0117] The commuting location is obtained from the navigation system; whether the departure point and the destination of the new memory route match the commuting location is determined; if the departure point and the destination of the new memory route match the commuting location, the new memory route is determined as the commuting route.
[0118] The route renaming function supports users to customize the name of a new memorized route as a commuting route. In addition, the embodiment of the present application can also provide a commuting route setting function.
[0119] The user can pre-set the commuting location in the navigation system. The commuting location can include a first location and a second location. The first location can be a home or a parking space at home, and the second location can be a company or a parking space at the company. After obtaining a new memory route, the embedded system can obtain the commuting location from the navigation system, and then determine whether the departure point of the new memory route matches the first location or the second location, and determine whether the destination of the new memory route matches the first location or the second location. If the departure point of the new memory route matches the first location and the destination matches the second location, or the departure point of the new memory route matches the second location and the destination matches the first location, the new memory route can be determined as a commuting route, where the commuting route refers to the user's commute route.
[0120] It should be noted that since the memorized route involves navigation information, which is sensitive information, in order to ensure the security of the route data, the embodiment of the present application can implement a data encryption and decryption strategy for each memorized route in the route data area. For example, custom encryption and decryption, symmetric encryption and decryption, asymmetric encryption and decryption, and other algorithms can be used to encrypt and decrypt each memorized route in the route data area.
[0121] It can be seen from this example that the solution provided by the present application updates the target memory route based on the user's takeover behavior of the vehicle, so that the new memory route can be more in line with the user's driving habits, and the same starting and ending positions can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. Through the personalized management of the storage of multiple memory routes and UI display interaction, it can provide users with a rich, convenient, and personalized customized autonomous driving experience.
[0122] Furthermore, the solution provided in this application includes various autonomous driving functions such as route rolling storage, route customization, route deletion, route push, commuting route setting and route renaming. By providing users with rich, personalized and convenient autonomous driving functions, it derives autonomous driving functions that are more in line with user driving habits and more humanized.
[0123] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a memory route management device, a vehicle, a computer-readable storage medium and corresponding embodiments.
[0124] Figure 5 1 is a schematic diagram of the structure of a memory route management device shown in an embodiment of the present application. The device can be applied to an embedded system, and the embedded system can include a route data area, and the route data area can be used to store multiple memory routes obtained by learning.
[0125] See also Figure 5 , the present application provides a memory route management device, which may include:
[0126] A target memory route acquisition module 510 is used to acquire a target memory route from a route data area after activating the memory driving mode of the vehicle;
[0127] The target memory route updating module 520 is used to update the target memory route according to the takeover operation to obtain a new memory route if a takeover operation for the vehicle is detected during the process of controlling the vehicle to travel according to the target memory route;
[0128] The memory route storage and display module 530 is used to store the new memory route in the route data area, and sort the multiple memory routes in the current route data area according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
[0129] In one embodiment, the target memory route acquisition module 510 may include:
[0130] The vehicle position acquisition submodule is used to obtain the current position and target position of the vehicle after activating the memory driving mode of the vehicle;
[0131] A candidate memory route acquisition submodule is used to acquire a candidate memory route matching the current position and the target position from the route data area;
[0132] A traffic information acquisition submodule, used for respectively acquiring traffic information corresponding to at least two candidate memory routes when the candidate memory routes include at least two;
[0133] The target memory route push submodule is used to select a target memory route from at least two candidate memory routes and push the target memory route according to the traffic information and / or priority conditions; wherein the traffic information includes at least one of the travel time, travel mileage and road conditions, and the priority conditions include at least one of the learning time and frequency of use.
[0134] In one embodiment, the target memory route updating module 520 may include:
[0135] The first updating submodule is used to update the target memory route according to the driving trajectory after the lane change to obtain a new memory route if the takeover operation instructs the vehicle to change from the current lane to another lane; or
[0136] The second updating submodule is used to update the target memory route according to the driving trajectory after the fork to obtain a new memory route if the takeover operation instructs the vehicle to change from the current section to another section.
[0137] In one embodiment, the priority condition includes at least one of learning time and usage frequency; the memory route storage and display module 530 may include:
[0138] A storage quantity judgment submodule is used to judge whether the number of memory routes in the route data area reaches a preset quantity threshold;
[0139] A route covering submodule, used for covering the last remembered route in the route data area with a new remembered route if the number of remembered routes reaches a preset number threshold;
[0140] The sorting submodule is used to sort the multiple memory routes in the current route data area according to the learning time and / or usage frequency of each memory route.
[0141] In one embodiment, the device may further include:
[0142] An audit module, for auditing the new memory route in response to a customization operation triggered on the new memory route through the user interface;
[0143] The usable memory route determination module is used to determine the new memory route as a usable memory route after the new memory route is reviewed and passed;
[0144] The renaming module is used for changing the name of the usable memory route in response to a renaming operation on the usable memory route.
[0145] In one embodiment, the device may further include:
[0146] A first deleting module is configured to, in response to a deletion operation triggered on any memory route through a user interface, delete the memory route targeted by the deletion operation from the route data area; or
[0147] The second deleting module is used to delete the memory route with a usage frequency lower than the preset frequency threshold from the route data area when it is detected that there is a memory route with a usage frequency lower than the preset frequency threshold in the route data area.
[0148] In one embodiment, the device may further include:
[0149] A commuting location acquisition module, used to obtain the commuting location from the navigation system;
[0150] A commuting condition judgment module is used to judge whether the departure and destination of the new memorized route match the commuting location;
[0151] The commuting route determination module is used to determine the new memorized route as a commuting route if the departure point and destination of the new memorized route match the commuting location.
[0152] As can be seen from this example, the solution provided by this application obtains the target memory route from the route data area after activating the vehicle's memory driving mode; in the process of controlling the vehicle to drive along the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route; the new memory route is stored in the route data area, and the multiple memory routes in the current route data area are sorted according to the priority conditions to display the sorted multiple memory routes in the user interface. This application updates the target memory route based on the user's takeover behavior for the vehicle, so that the new memory route can be more in line with the user's driving habits, and the same starting and ending positions can correspond to multiple memory routes, thereby improving the memory driving mode and increasing the flexibility of the memory driving mode. Through the personalized management of the storage of multiple memory routes and UI display interactions, it can bring users a rich, convenient, and personalized customized autonomous driving experience.
[0153] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.
[0154] Figure 6 It is a schematic diagram of the structure of a vehicle shown in an embodiment of the present application.
[0155] See also Figure 6 , the vehicle 600 includes a memory 610 and a processor 620 .
[0156] The processor 620 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0157] The memory 610 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 620 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 610 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 610 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.
[0158] The memory 610 stores executable codes, and when the executable codes are processed by the processor 620 , the processor 620 can execute part or all of the above-mentioned methods.
[0159] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0160] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-temporary machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by the vehicle's processor, the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0161] The embodiments of the present application 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 of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A memory route management method, characterized in that: Applied to an embedded system, the embedded system includes a route data area, the route data area is used to store a plurality of memory routes obtained through learning, the method includes: After activating the memory driving mode of the vehicle, obtaining a target memory route from the route data area; In the process of controlling the vehicle to travel according to the target memory route, if a takeover operation for the vehicle is detected, the target memory route is updated according to the takeover operation to obtain a new memory route; The new memory route is stored in the route data area, and the multiple memory routes currently in the route data area are sorted according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
2. The method according to claim 1, characterized in that After activating the memory driving mode of the vehicle, obtaining the target memory route from the route data area includes: After activating a memory driving mode of the vehicle, obtaining a current position and a target position of the vehicle; Acquire a candidate memory route matching the current position and the target position from the route data area; When the candidate memory routes include at least two, respectively obtain the traffic information corresponding to the at least two candidate memory routes; According to the traffic information and / or the priority condition, a target memory route is selected from the at least two candidate memory routes, and the target memory route is pushed; wherein the traffic information includes at least one of the traffic time, the traffic mileage and the traffic road condition, and the priority condition includes at least one of the learning time and the usage frequency.
3. The method according to claim 1, characterized in that The step of updating the target memory route according to the takeover operation to obtain a new memory route includes: If the takeover operation instructs the vehicle to change from the current lane to another lane, the target memory route is updated according to the driving trajectory after the lane change to obtain a new memory route; or, If the takeover operation instructs the vehicle to change from the current road section to another road section, the target memory route is updated according to the driving trajectory after the bifurcation to obtain a new memory route.
4. The method according to claim 1, characterized in that: The priority condition includes at least one of a learning time and a usage frequency; the storing the new memory route in the route data area and sorting the multiple memory routes in the current route data area according to the priority condition includes: Determining whether the number of memory routes in the route data area reaches a preset number threshold; If the number of the memory routes reaches a preset number threshold, the new memory route overwrites the last memory route in the route data area; The plurality of memorized routes in the current route data area are sorted according to the learning time and / or usage frequency of each memorized route.
5. The method according to claim 1, characterized in that The method further comprises: In response to a customization operation triggered on the new memory route through the user interface, reviewing the new memory route; After the new memory route is reviewed and approved, the new memory route is determined as an available memory route; In response to a renaming operation on the usable memory route, the name of the usable memory route is changed.
6. The method according to claim 1, characterized in that The method further comprises: In response to a deletion operation triggered on any memory route through the user interface, deleting the memory route targeted by the deletion operation from the route data area; or, When it is detected that there is a memory route with a usage frequency lower than a preset frequency threshold in the route data area, the memory route with a usage frequency lower than the preset frequency threshold is deleted from the route data area.
7. The method according to claim 1, characterized in that The method further comprises: Get your commute location from your navigation system; determining whether the departure point and the destination of the new memorized route match the commuting location; If the departure point and the destination of the new memorized route match the commuting location, the new memorized route is determined as a commuting route.
8. A memory route management device, characterized in that: Applied to an embedded system, the embedded system includes a route data area, the route data area is used to store a plurality of memory routes obtained through learning, and the device includes: a target memory route acquisition module, used to acquire the target memory route from the route data area after activating the memory driving mode of the vehicle; a target memory route updating module, configured to update the target memory route according to the takeover operation to obtain a new memory route if a takeover operation for the vehicle is detected during the process of controlling the vehicle to travel according to the target memory route; The memory route storage and display module is used to store the new memory route in the route data area and sort the multiple memory routes in the current route data area according to the priority condition, so as to display the sorted multiple memory routes in the user interface.
9. A vehicle, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable codes stored thereon, which, when executed by a processor of a vehicle, causes the processor to execute the method according to any one of claims 1 to 7.