Navigation method based on navigation application and vehicle
By responding to the navigation application's occupancy request of the navigation application focus in the vehicle-machine system, and judging and assigning the navigation application focus, the conflict between navigation applications in the vehicle-machine system is solved and the user experience is improved.
Patent Information
- Application Number
- CN202411951791.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, conflicts may occur between different navigation applications in vehicle and machine systems, resulting in navigation confusion. How to reduce the probability of these conflicts is a hot topic of research.
By responding to the target navigation application's request to occupy the navigation application focus of the vehicle system, determine whether the navigation application focus is occupied, and determine whether the target navigation application can seize the focus when occupied. If possible, assign the focus to the target navigation application for navigation.
It effectively reduces the probability of conflict between different navigation applications and improves the user experience of drivers when using navigation applications.
Smart Images

Figure CN119803512A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a navigation method and a vehicle based on a navigation application in the field of vehicle technology. Background Art
[0002] With the development of vehicle technology, more and more vehicles are equipped with car computer systems, and users can use the car computer systems for navigation. In order to improve user experience, there are more and more ways to navigate through the car computer systems.
[0003] In the related art, users can use the vehicle navigation application in the vehicle system for navigation, or use the terminal navigation application running on the target terminal connected to the vehicle system for navigation, or use the screen projection navigation application projected from the target terminal to the vehicle system for navigation. In actual use, conflicts may occur between these navigation applications, resulting in confusion in the vehicle system navigation.
[0004] Therefore, how to reduce the probability of conflicts between different navigation applications is a hot topic of research. Summary of the invention
[0005] The embodiment of the present application provides a navigation method and a vehicle based on a navigation application, which can reduce the probability of conflicts between different navigation applications. The technical solution is as follows:
[0006] In one aspect, a navigation method based on a navigation application is provided, the method comprising:
[0007] In response to a target navigation application's occupation request for the navigation application focus of the vehicle system, determining whether the navigation application focus is occupied, the occupation request being used to request occupation of the navigation application focus, and the navigation application occupying the navigation application focus being able to perform navigation;
[0008] In the case where the navigation application focus is occupied, determining whether the target navigation application can seize the navigation application focus;
[0009] In the case where the target navigation application is able to seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application.
[0010] In a possible implementation, when the navigation application focus is occupied, determining whether the target navigation application can seize the navigation application focus includes:
[0011] In the case where the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, determining whether the vehicle navigation application is occupying the focus of the navigation application;
[0012] In the case that the navigation application occupying the navigation application focus is the vehicle navigation application, it is determined whether the target navigation application can occupy the navigation application focus based on the application state of the vehicle navigation application.
[0013] In a possible implementation, the determining whether the target navigation application can seize the focus of the navigation application based on the application state of the vehicle navigation application includes:
[0014] When the application state of the vehicle navigation application is a cruising state, determining that the target navigation application can seize the focus of the navigation application;
[0015] When the application state of the vehicle navigation application is the navigation state, determine whether the vehicle where the vehicle system is located is in the automatic navigation assisted driving mode; when the vehicle is in the automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application based on user operations or environmental information collected in the automatic navigation assisted driving mode; when the vehicle is not in the automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application.
[0016] In a possible implementation, when the vehicle is in the automatic navigation assisted driving mode, determining whether the target navigation application can seize the navigation application focus based on user operation or environmental information collected in the automatic navigation assisted driving mode includes:
[0017] When the vehicle is in the automatic navigation assisted driving mode, displaying a first page, the first page is used to prompt whether to end the navigation state of the vehicle navigation application; in response to a confirmation operation on the first page, ending the navigation state of the vehicle navigation application, exiting the automatic navigation assisted driving mode, and determining that the target navigation application can seize the focus of the navigation application; in response to a rejection operation on the first page, maintaining the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determining that the target navigation application cannot seize the focus of the navigation application;
[0018] Alternatively, when the vehicle is in an automatic navigation assisted driving mode, environmental information collected in the automatic navigation assisted driving mode is obtained; based on the environmental information, a driving environment safety level of the vehicle is determined; when the driving environment safety level is greater than or equal to a safety level threshold, the navigation state of the vehicle navigation application is terminated, the automatic navigation assisted driving mode is exited, and it is determined that the target navigation application can seize the navigation application focus; when the driving environment safety level is less than the safety level threshold, the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode are maintained, and it is determined that the target navigation application cannot seize the navigation application focus.
[0019] In a possible implementation, when the navigation application focus is occupied, determining whether the target navigation application can seize the navigation application focus includes:
[0020] In the case where the target navigation application is the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, determining whether the focus of the navigation application is occupied by a terminal navigation application or a projection navigation application, the terminal navigation application is a navigation application running on a target terminal, the projection navigation application is a navigation application projected on the vehicle system through the target terminal, and the target terminal is a terminal connected to the vehicle system;
[0021] In the case where the terminal navigation application occupies the focus of the navigation application, sending a confirmation message to the target terminal, the confirmation message being used to confirm whether to exit the terminal navigation application; and determining whether the target navigation application can seize the focus of the navigation application based on feedback information returned by the target terminal for the confirmation message;
[0022] When the focus of the navigation application is occupied by a projection navigation application, a second page is displayed, and the second page is used to prompt whether to exit the projection navigation application; based on the operation on the second page, it is determined whether the target navigation application can seize the focus of the navigation application.
[0023] In a possible implementation, when the target navigation application is able to seize the navigation application focus, allocating the navigation application focus to the target navigation application and navigating through the target navigation application includes:
[0024] In the case where the target navigation application is able to seize the focus of the navigation application, allocating the focus of the navigation application to the target navigation application and exiting the historical navigation application that previously occupied the focus of the navigation application;
[0025] Acquire and play the navigation audio of the target navigation application.
[0026] In a possible implementation, after determining whether the target navigation application can seize the navigation application focus when the navigation application focus is occupied, the method further includes:
[0027] In the case where the target navigation application cannot seize the focus of the navigation application, the allocation of the focus of the navigation application is kept unchanged and navigation is continued through the navigation application occupying the focus of the navigation application.
[0028] In a possible implementation, the method further includes:
[0029] When the target navigation application is a projection navigation application and the target navigation application is in running state, the target application is exited in response to receiving a first application exit message sent by a target terminal, wherein the first application exit message is sent after the terminal navigation application corresponding to the projection navigation application is started on the target terminal, and the target terminal is a terminal connected to the vehicle system.
[0030] In a possible implementation, in response to receiving the first application exit information sent by the target terminal, after exiting the target application, the method further includes:
[0031] When the terminal navigation application on the target terminal is in a running state, in response to the target navigation application being started again, second application exit information is sent to the target terminal, where the second application exit information is used to instruct the target terminal to exit the terminal navigation application.
[0032] In one aspect, a navigation device based on a navigation application is provided, the device comprising:
[0033] A first determination module is used to determine whether the navigation application focus is occupied in response to an occupation request of the target navigation application for the navigation application focus of the vehicle system, wherein the occupation request is used to request occupation of the navigation application focus, and the navigation application occupying the navigation application focus can perform navigation;
[0034] A second determination module, configured to determine whether the target navigation application can seize the focus of the navigation application when the focus of the navigation application is occupied;
[0035] A focus allocation module is used to allocate the navigation application focus to the target navigation application and perform navigation through the target navigation application when the target navigation application is able to seize the navigation application focus.
[0036] In a possible implementation, the second determination module is used to determine whether the navigation application occupying the focus of the navigation application is the vehicle-mounted navigation application when the target navigation application is not the vehicle-mounted navigation application of the vehicle-mounted navigation application and the focus of the navigation application is occupied; and to determine whether the target navigation application can seize the focus of the navigation application based on the application status of the vehicle-mounted navigation application when the navigation application occupying the focus of the navigation application is the vehicle-mounted navigation application.
[0037] In a possible implementation, the second determination module is used to determine, when the application state of the vehicle navigation application is a cruising state, whether the target navigation application can seize the focus of the navigation application; when the application state of the vehicle navigation application is a navigation state, whether the vehicle where the vehicle system is located is in an automatic navigation assisted driving mode; when the vehicle is in the automatic navigation assisted driving mode, based on user operations or environmental information collected in the automatic navigation assisted driving mode, whether the target navigation application can seize the focus of the navigation application; when the vehicle is not in the automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application.
[0038] In a possible implementation manner, the second determination module is configured to display a first page when the vehicle is in the automatic navigation assisted driving mode, the first page being used to prompt whether to terminate the navigation state of the vehicle navigation application; in response to a confirmation operation on the first page, terminate the navigation state of the vehicle navigation application, exit the automatic navigation assisted driving mode, and determine that the target navigation application can seize the focus of the navigation application; in response to a rejection operation on the first page, maintain the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determine that the target navigation application cannot seize the focus of the navigation application; or, when the vehicle is in the automatic navigation assisted driving mode, obtain environmental information collected in the automatic navigation assisted driving mode; determine the driving environment safety level of the vehicle based on the environmental information; when the driving environment safety level is greater than or equal to a safety level threshold, terminate the navigation state of the vehicle navigation application, exit the automatic navigation assisted driving mode, and determine that the target navigation application can seize the focus of the navigation application; when the driving environment safety level is less than the safety level threshold, maintain the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determine that the target navigation application cannot seize the focus of the navigation application.
[0039] In a possible implementation, the second determination module is used to determine whether the terminal navigation application or the projection navigation application occupies the focus of the navigation application when the target navigation application is the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the terminal navigation application being a navigation application running on the target terminal, the projection navigation application being a navigation application projected on the vehicle system through the target terminal, and the target terminal being a terminal connected to the vehicle system; in the case where the terminal navigation application occupies the focus of the navigation application, send a confirmation message to the target terminal, the confirmation message being used to confirm whether to exit the terminal navigation application; determine whether the target navigation application can seize the focus of the navigation application based on feedback information returned by the target terminal for the confirmation message; in the case where the projection navigation application occupies the focus of the navigation application, display a second page, the second page being used to prompt whether to exit the projection navigation application; determine whether the target navigation application can seize the focus of the navigation application based on operations on the second page.
[0040] In a possible implementation, the focus allocation module is used to allocate the navigation application focus to the target navigation application and exit the historical navigation application that previously occupied the navigation application focus when the target navigation application is able to seize the navigation application focus; and to obtain and play the navigation audio of the target navigation application.
[0041] In a possible implementation, the focus allocation module is further configured to keep the allocation of the navigation application focus unchanged and continue navigation through the navigation application occupying the navigation application focus when the target navigation application cannot seize the navigation application focus.
[0042] In a possible implementation, the device also includes an application control module for exiting the target application in response to receiving a first application exit message sent by a target terminal when the target navigation application is a projection navigation application and the target navigation application is in a running state. The first application exit message is sent after the terminal navigation application corresponding to the projection navigation application is started on the target terminal, and the target terminal is a terminal connected to the vehicle system.
[0043] In a possible implementation, the application control module is further used to send second application exit information to the target terminal in response to the target navigation application being started again when the terminal navigation application on the target terminal is in a running state, wherein the second application exit information is used to instruct the target terminal to exit the terminal navigation application.
[0044] On the one hand, a vehicle is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the program code is loaded and executed by the one or more processors to implement the operations performed by the navigation method based on the navigation application.
[0045] On the one hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement the operations performed by the navigation method based on the navigation application.
[0046] Through the technical solution provided by the embodiment of the present application, in response to the target navigation application's request to occupy the navigation application focus, it is determined whether the navigation application focus is occupied, thereby judging whether there is a navigation application that is currently navigating. In the case that there is a navigation application that is currently navigating, it is determined whether the target navigation application can seize the navigation application focus. In the case that the target navigation application can seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application, thereby achieving the purpose of using the navigation application focus to reduce the probability of conflicts between different navigation applications and improving the user experience of the driver when using the navigation application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 is a schematic diagram of an implementation environment of a navigation method based on a navigation application provided in an embodiment of the present application;
[0048] Figure 2 is a flowchart of a navigation method based on a navigation application provided in an embodiment of the present application;
[0049] Figure 3 is a flowchart of another navigation method based on a navigation application provided in an embodiment of the present application;
[0050] Figure 4 is a schematic diagram of a first page provided in an embodiment of the present application;
[0051] Figure 5 is a flowchart of another navigation method based on a navigation application provided in an embodiment of the present application;
[0052] Figure 6 is a flowchart of another navigation method based on a navigation application provided in an embodiment of the present application;
[0053] Figure 7 is a flowchart of another navigation method based on a navigation application provided in an embodiment of the present application;
[0054] Figure 8is a structural schematic diagram of a navigation device based on a navigation application provided in an embodiment of the present application;
[0055] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The following will be combined with the accompanying drawings to clearly and thoroughly describe the technical solutions in this application. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.
[0057] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features reflected. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0058] In order to more clearly illustrate the technical solution provided by the embodiments of the present application, some terms involved in the embodiments of the present application are first introduced.
[0059] Car-mobile interconnection: Car-mobile interconnection refers to the technology of connecting a mobile phone with a car's infotainment system through technical means to achieve data sharing and functional interaction. This technology allows users to use the functions of the mobile phone more conveniently during driving, such as navigation, music playback, phone calls, etc., and also allows the car's infotainment system to obtain information from the mobile phone and provide more personalized services. In the embodiment of the present application, driver interconnection is achieved through the cooperation between the first driver interconnection application on the car system and the second driver interconnection application on the mobile phone. The mobile phone is an example of the target terminal in the embodiment of the present application.
[0060] Navigation on Autopilot (NOA): is a driving assistance technology that can realize intelligent navigation-assisted driving from one location to another based on the navigation route set by the user. The main purpose of this technology is to reduce fatigue during long-distance driving and improve driving safety and comfort. In the embodiment of the present application, the priority of automatic navigation-assisted driving is higher than that of ordinary navigation.
[0061] Cross-terminal: refers to the interaction between at least two terminals. In the embodiment of the present application, it refers to the interaction between the vehicle system and the target terminal.
[0062] In-vehicle navigation application: a navigation application pre-installed in the in-vehicle system, or a navigation application installed in the in-vehicle system by the user. The in-vehicle navigation application is run by the in-vehicle system.
[0063] Terminal navigation application: A navigation application running on a target terminal. The target terminal is a terminal connected to the vehicle system. The navigation audio of the terminal navigation application is played through the vehicle system.
[0064] Projected navigation application: A navigation application projected on the vehicle system by the target terminal.
[0065] In the related art, the vehicle navigation application and the terminal navigation application / screen projection navigation application can perform navigation at the same time. The navigation audio of different navigation applications is usually different, which causes confusion in the navigation audio played by the vehicle system and affects the driver's normal driving. The technical solution provided by the embodiment of the present application can solve the problem of confusion in the navigation audio of different navigation applications and improve the user experience of the driver when using the navigation application.
[0066] After introducing some terms involved in the embodiments of the present application, the implementation environment of the embodiments of the present application is introduced below. Figure 1 The implementation environment of the navigation method based on the navigation application provided in the embodiment of the present application includes a vehicle system 101 and a target terminal 102 .
[0067] The vehicle system 101 is a control system of the vehicle. Through the vehicle system 101, the vehicle components of the vehicle can be controlled, the navigation function can be realized, and the multimedia function can be realized. The vehicle system 101 can be connected to an external device. In an embodiment of the present application, the vehicle system 101 can be connected to the target terminal 102, so that the vehicle system 101 can exchange data with the target terminal 102. In some embodiments, the vehicle system 101 and the target terminal 102 are connected via Bluetooth or a wireless network.
[0068] The target terminal 102 is a control terminal of the vehicle. After the target terminal 102 is connected to the vehicle system 101, it can send control instructions to the vehicle system 101 to control the vehicle through the vehicle system 101. In some embodiments, the target terminal 102 is a smart phone, but is not limited thereto.
[0069] After introducing the implementation environment of the embodiment of the present application, the application scenario of the technical solution provided by the embodiment of the present application is introduced below. The technical solution provided by the embodiment of the present application can be applied to various vehicles with a vehicle-mounted system. For example, the technical solution provided by the embodiment of the present application can be applied to electric vehicles, hybrid vehicles, and fuel vehicles, and the embodiment of the present application does not limit this.
[0070] After introducing the implementation environment and application scenarios of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are introduced below. Figure 2 Taking the execution subject as the vehicle system as an example, the method includes the following steps.
[0071] 201. In response to a request by a target navigation application to occupy the navigation application focus of the vehicle system, the vehicle system determines whether the navigation application focus is occupied. The occupation request is used to request to occupy the navigation application focus. The navigation application occupying the navigation application focus can perform navigation.
[0072] Among them, the target navigation application is the navigation application to be navigated, and the target navigation application can be a navigation application selected by the user or a navigation application determined by the vehicle system, which is not limited in the embodiment of the present application. The target navigation application is a vehicle navigation application, a terminal navigation application, or a projection navigation application. The navigation application focus is a mechanism introduced to resolve conflicts between different navigation applications. The navigation application focus can only be occupied by one navigation application at the same time, and the navigation application occupying the navigation application focus can navigate. In the embodiment of the present application, the navigation application needs to try to occupy the navigation application focus before navigating. Determining whether the navigation application focus is occupied is to determine whether there is a navigation application that is currently navigating.
[0073] 202. When the focus of the navigation application is occupied, the vehicle system determines whether the target navigation application can seize the focus of the navigation application.
[0074] The fact that the navigation application focus is occupied means that there is a navigation application that is currently navigating. Determining whether the target navigation application can seize the navigation application focus is to determine whether the target navigation application can "take away" the navigation application focus from the navigation application that is currently navigating. If the navigation application that is currently navigating loses the navigation application focus, the navigation application that is currently navigating will stop navigating.
[0075] 203. When the target navigation application is able to seize the focus of the navigation application, the vehicle system allocates the focus of the navigation application to the target navigation application and performs navigation through the target navigation application.
[0076] Among them, allocating the navigation application focus to the target navigation application means that the target navigation application occupies the navigation application focus, so that the target navigation application can perform navigation.
[0077] Through the technical solution provided by the embodiment of the present application, in response to the target navigation application's request to occupy the navigation application focus, it is determined whether the navigation application focus is occupied, thereby judging whether there is a navigation application that is currently navigating. In the case that there is a navigation application that is currently navigating, it is determined whether the target navigation application can seize the navigation application focus. In the case that the target navigation application can seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application, thereby achieving the purpose of using the navigation application focus to reduce the probability of conflicts between different navigation applications and improving the user experience of the driver when using the navigation application.
[0078] It should be noted that the above steps 201-203 are a simple description of the navigation method based on the navigation application provided in the embodiment of the present application. The following will combine some examples to provide a more detailed description of the navigation method based on the navigation application provided in the embodiment of the present application. Figure 3 Taking the execution subject as the vehicle system as an example, the method includes the following steps.
[0079] 301. In response to a request by a target navigation application to occupy the navigation application focus of the vehicle system, the vehicle system determines whether the navigation application focus is occupied. The occupation request is used to request to occupy the navigation application focus. The navigation application occupying the navigation application focus can perform navigation.
[0080] Among them, the target navigation application is the navigation application to be navigated, and the target navigation application can be either a navigation application selected by the user or a navigation application determined by the vehicle system, which is not limited in the embodiments of the present application. The target navigation application is a vehicle navigation application, a terminal navigation application or a projection navigation application, that is, the target navigation application can be either a navigation application on the vehicle system or a navigation application on the target terminal. The navigation application focus is a mechanism introduced to resolve conflicts between different navigation applications. At the same time, the navigation application focus can only be occupied by one navigation application, and the navigation application occupying the navigation application focus can navigate. In the embodiments of the present application, the navigation application needs to try to occupy the navigation application focus before navigating. Determining whether the navigation application focus is occupied is to determine whether there is a navigation application currently navigating. In some embodiments, the triggering method of the occupation request includes an application startup trigger and a navigation request trigger. The application startup trigger refers to an automatic trigger when the navigation application is started, and the navigation request trigger refers to an automatic trigger in response to a navigation request. The navigation request is used to request navigation.
[0081] In a possible implementation, in response to the target navigation application's occupation request for the vehicle system's navigation application focus, the vehicle system determines whether the target navigation application has navigation authority. If the target navigation application has navigation authority, the vehicle system determines whether the navigation application focus is occupied.
[0082] Among them, determining whether the target navigation application has navigation authority is to determine whether the target navigation application can perform navigation on the vehicle system.
[0083] In this implementation, in response to the target navigation application's request to occupy the vehicle system's navigation application focus, it is determined whether the target navigation application has navigation authority. If the target navigation application has navigation authority, it is determined whether the navigation application focus is occupied, thereby improving security.
[0084] For example, in response to the target navigation application's request to occupy the navigation application focus of the vehicle system, the vehicle system obtains the application identifier of the target navigation application. In the case where the application identifier of the target navigation application exists in the application identifier whitelist, the vehicle system determines that the target navigation application has navigation authority. In the case where the application identifier of the target navigation application does not exist in the application identifier whitelist, or the application identifier of the target navigation application exists in the application identifier blacklist, the vehicle system determines that the target navigation application does not have navigation authority. In the case where the target navigation application has navigation authority, the vehicle system determines whether the focus of the navigation application is occupied through the focus arbitration unit.
[0085] The application identifier whitelist and the application identifier blacklist are set by the technician according to the actual situation, or configured by the user according to the needs, and the embodiment of the present application does not limit this. The focus arbitration unit is a unit in the vehicle system for arbitrating the focus of the navigation application. The focus arbitration unit can be either a physical unit or a software unit, and the embodiment of the present application does not limit this.
[0086] The following is an explanation of the manner in which the vehicle system in the above example determines whether the focus of the navigation application is occupied through the focus arbitration unit.
[0087] In some embodiments, the vehicle system obtains the state flag of the navigation application focus through the focus arbitration unit, and the state flag is used to indicate whether the navigation application focus is occupied. When the state flag is the first state flag, the vehicle system determines that the navigation application focus is occupied. When the state flag is the second state flag, the vehicle system determines that the navigation application focus is not occupied. The first state flag and the second state flag are set by technicians according to actual conditions, and the embodiments of the present application do not limit this.
[0088] Optionally, after step 301, the vehicle system executes the following step 302 or 304 according to actual conditions, which is not limited in the embodiment of the present application.
[0089] 302. When the focus of the navigation application is occupied, the vehicle system determines whether the target navigation application can seize the focus of the navigation application.
[0090] The fact that the navigation application focus is occupied means that there is a navigation application that is currently navigating. Determining whether the target navigation application can seize the navigation application focus is to determine whether the target navigation application can "take away" the navigation application focus from the navigation application that is currently navigating. If the navigation application that is currently navigating loses the navigation application focus, the navigation application that is currently navigating will stop navigating.
[0091] In a possible implementation, when the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the vehicle system determines whether the vehicle navigation application is occupying the focus of the navigation application. When the navigation application occupying the focus of the navigation application is the vehicle navigation application, the vehicle system determines whether the target navigation application can seize the focus of the navigation application based on the application state of the vehicle navigation application.
[0092] Among them, the application status of the vehicle navigation application includes the cruising status and the navigation status. The cruising status refers to the state of cruise broadcasting without navigation, and correspondingly, the navigation status refers to the state of navigation. When the vehicle navigation application is in the navigation state, the vehicle may also be in the automatic navigation assisted driving mode. The automatic navigation assisted driving mode depends on the navigation status of the vehicle navigation application, and the automatic navigation assisted driving mode has a higher priority. Therefore, when the vehicle is in the automatic navigation assisted driving mode, the navigation application focus needs to be occupied by the vehicle navigation application. In the case that the target navigation application is not the vehicle navigation application, it is necessary to first determine whether the vehicle navigation application is occupying the focus of the navigation application before determining whether the target navigation application can seize the focus of the navigation application.
[0093] Under this implementation mode, when the target navigation application is not the vehicle navigation application, it is determined whether the vehicle navigation application is occupying the focus of the navigation application by judging whether the vehicle navigation application is occupying the focus of the navigation application and, if the navigation application occupying the focus of the navigation application is the vehicle navigation application, based on the application state of the vehicle navigation application, it is determined whether the target navigation application can seize the focus of the navigation application, thereby eliminating the safety hazard caused by the target navigation application directly seizing the focus of the navigation application.
[0094] In order to explain the above implementation more clearly, the above implementation is explained in several parts below.
[0095] Part 1: When the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the vehicle system determines whether the vehicle navigation application occupies the focus of the navigation application.
[0096] In a possible implementation, when the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the vehicle system obtains the application flag of the navigation application focus, and the application flag is used to indicate the navigation application occupying the focus of the navigation application. Based on the application flag, the vehicle system determines whether the navigation application occupying the focus of the navigation application is the vehicle navigation application.
[0097] For example, when the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the vehicle system obtains the application flag of the focus of the navigation application through the focus arbitration unit. When the application flag is the first application flag, the vehicle system determines that the vehicle navigation application occupies the focus of the navigation application, and the first application flag is the application flag corresponding to the vehicle navigation application. When the application flag is not the first application flag, the vehicle system determines that the vehicle navigation application does not occupy the focus of the navigation application.
[0098] Part 2: When the navigation application occupying the focus of the navigation application is the vehicle navigation application, the vehicle system determines whether the target navigation application can occupy the focus of the navigation application based on the application state of the vehicle navigation application.
[0099] In a possible implementation, when the navigation application occupying the focus of the navigation application is the vehicle navigation application and the application state of the vehicle navigation application is the cruising state, the vehicle system determines that the target navigation application can seize the focus of the navigation application. When the navigation application occupying the focus of the navigation application is the vehicle navigation application and the application state of the vehicle navigation application is the navigation state, the vehicle system determines whether the vehicle where the vehicle system is located is in the automatic navigation assisted driving mode. When the vehicle is in the automatic navigation assisted driving mode, the vehicle system determines whether the target navigation application can seize the focus of the navigation application based on user operations or environmental information collected in the automatic navigation assisted driving mode. When the vehicle is not in the automatic navigation assisted driving mode, the vehicle system determines that the target navigation application can seize the focus of the navigation application.
[0100] In order to explain the above implementation more clearly, the following describes the manner in which the vehicle system in the above implementation determines whether the target navigation application can seize the focus of the navigation application based on user operation or environmental information collected in the automatic navigation assisted driving mode.
[0101] In a possible implementation, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system displays a first page, which is used to prompt whether to end the navigation state of the vehicle navigation application. In response to the confirmation operation on the first page, the vehicle system ends the navigation state of the vehicle navigation application, exits the automatic navigation assisted driving mode, and determines that the target navigation application can seize the focus of the navigation application. In response to the rejection operation on the first page, the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determines that the target navigation application cannot seize the focus of the navigation application.
[0102] For example, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system displays a first page, which includes a confirmation control and a rejection control. In response to a click operation on the confirmation control, the vehicle system ends the navigation state of the vehicle navigation application and exits the automatic navigation assisted driving mode, so that the vehicle navigation application no longer occupies the focus of the navigation application. The vehicle system determines that the target navigation application can seize the focus of the navigation application. In response to a click operation on the rejection control, the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, so that the vehicle navigation application maintains the occupation of the focus of the navigation application. The vehicle system determines that the target navigation application cannot seize the focus of the navigation application.
[0103] Among them, the first page is in the form of a pop-up window, and the first page is also called the first pop-up window.
[0104] For example, see Figure 4, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system displays a first page 400, which includes a first prompt message 401, a confirmation control 402 and a rejection control 403. The first prompt message 401 is used to prompt whether to end the navigation state of the vehicle navigation application. In response to a click operation on the confirmation control 402, the vehicle system ends the navigation state of the vehicle navigation application and exits the automatic navigation assisted driving mode. At the same time, the vehicle navigation application sends a focus release message to the focus arbitration unit, which is used to instruct the vehicle navigation application to stop occupying the navigation application focus. The focus arbitration unit releases the navigation application focus so that the navigation application focus is in an occupied state. The vehicle system determines that the target navigation application can seize the navigation application focus. In response to a click operation on the rejection control 403, the vehicle navigation application sends a request to occupy the navigation application focus to the focus arbitration unit again. When the focus arbitration unit receives the occupation request of the vehicle navigation application, the vehicle navigation application is kept occupying the focus of the navigation application, and the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode. The vehicle system determines that the target navigation application cannot seize the focus of the navigation application.
[0105] It should be noted that when the focus arbitration unit releases the focus of the navigation application, it will send navigation focus loss information to the navigation application that previously occupied the focus of the navigation application. The navigation focus loss information is used to notify the navigation application that previously occupied the focus of the navigation application that it has lost its occupation of the focus of the navigation application.
[0106] In a possible implementation, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system obtains environmental information collected in the automatic navigation assisted driving mode. Based on the environmental information, the vehicle system determines the driving environment safety level of the vehicle. When the driving environment safety level is greater than or equal to the safety level threshold, the vehicle system ends the navigation state of the vehicle navigation application, exits the automatic navigation assisted driving mode, and determines that the target navigation application can seize the focus of the navigation application. When the driving environment safety level is less than the safety level threshold, the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determines that the target navigation application cannot seize the focus of the navigation application.
[0107] The environmental information is used to indicate the state of the environment around the vehicle. In some embodiments, the environmental information includes an environmental image and an environmental point cloud. The driving environment safety level is used to indicate the degree of driving safety after exiting the automatic navigation assisted driving mode. The safety level threshold is set by the technician according to the actual situation, and the embodiments of the present application do not limit this.
[0108] For example, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system obtains the environmental information collected in the automatic navigation assisted driving mode. The vehicle system extracts features from the environmental information to obtain environmental features of the environmental information. The vehicle system maps the environmental features to obtain the driving environment safety level of the vehicle. When the driving environment safety level is greater than or equal to the safety level threshold, the vehicle system ends the navigation state of the vehicle navigation application, exits the automatic navigation assisted driving mode, and determines that the target navigation application can seize the focus of the navigation application. When the driving environment safety level is less than the safety level threshold, the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determines that the target navigation application cannot seize the focus of the navigation application.
[0109] For example, when the vehicle is in the automatic navigation assisted driving mode, the vehicle system obtains the environmental information collected in the automatic navigation assisted driving mode through the vehicle's external environment sensor. The vehicle system inputs the environmental information into the safety level identification model, and performs multiple rounds of convolution on the environmental information through the safety level identification model to obtain the environmental characteristics of the environmental information. The vehicle system fully connects and normalizes the environmental characteristics through the safety level identification model to obtain the driving environment safety level of the vehicle. When the driving environment safety level is greater than or equal to the safety level threshold, the vehicle system ends the navigation state of the vehicle navigation application and exits the automatic navigation assisted driving mode. At the same time, the vehicle navigation application sends focus release information to the focus arbitration unit, and the focus release information is used to instruct the vehicle navigation application to stop occupying the navigation application focus. The focus arbitration unit releases the navigation application focus so that the navigation application focus is in an occupied state. The vehicle system determines that the target navigation application can seize the navigation application focus. When the driving environment safety level is less than the safety level threshold, the vehicle navigation application sends an occupation request for the navigation application focus to the focus arbitration unit again. When the focus arbitration unit receives the occupation request of the vehicle navigation application, the vehicle navigation application is kept occupying the focus of the navigation application, and the vehicle system maintains the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode. The vehicle system determines that the target navigation application cannot seize the focus of the navigation application.
[0110] Another implementation of the above step 302 is described below.
[0111] In a possible implementation, when the target navigation application is the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, the vehicle system determines whether the focus of the navigation application is occupied by a terminal navigation application or a projection navigation application, the terminal navigation application is a navigation application running on the target terminal, the projection navigation application is a navigation application projected on the vehicle system through the target terminal, and the target terminal is a terminal connected to the vehicle system. In the case where the focus of the navigation application is occupied by a terminal navigation application, the vehicle system sends a confirmation message to the target terminal, and the confirmation message is used to confirm whether to exit the terminal navigation application. The vehicle system determines whether the target navigation application can seize the focus of the navigation application based on the feedback information returned by the target terminal for the confirmation message. In the case where the focus of the navigation application is occupied by a projection navigation application, the vehicle system displays a second page, and the second page is used to prompt whether to exit the projection navigation application. The vehicle system determines whether the target navigation application can seize the focus of the navigation application based on the operation on the second page.
[0112] In order to explain the above-mentioned implementation mode more clearly, the following describes respectively how the vehicle system determines whether the target navigation application can seize the focus of the navigation application based on the feedback information returned by the target terminal regarding the confirmation information in the above-mentioned implementation mode, and how the vehicle system determines whether the target navigation application can seize the focus of the navigation application based on the operation on the second page.
[0113] First, a method of determining whether the target navigation application can seize the focus of the navigation application based on the feedback information is described.
[0114] In a possible implementation, when the feedback information indicates to exit the terminal navigation application, the vehicle system determines that the target navigation application can seize the focus of the navigation application. When the feedback information indicates not to exit the terminal navigation application, the vehicle system determines that the target navigation application cannot seize the focus of the navigation application.
[0115] The following describes a method for determining whether the target navigation application can seize the focus of the navigation application based on the operation on the second page.
[0116] In a possible implementation, in response to a confirmation operation on the second page, the vehicle system ends the navigation state of the projection navigation application and determines that the target navigation application can seize the focus of the navigation application. In response to a rejection operation on the second page, the vehicle system maintains the navigation state of the projection navigation application and determines that the target navigation application cannot seize the focus of the navigation application.
[0117] Optionally, after step 302, the vehicle system executes the following step 303 or 305 according to actual conditions, which is not limited in the embodiment of the present application.
[0118] 303. When the target navigation application is able to seize the focus of the navigation application, the vehicle system allocates the focus of the navigation application to the target navigation application and performs navigation through the target navigation application.
[0119] Among them, allocating the navigation application focus to the target navigation application means that the target navigation application occupies the navigation application focus, so that the target navigation application can perform navigation.
[0120] In a possible implementation, when the target navigation application can seize the focus of the navigation application, the vehicle system assigns the focus of the navigation application to the target navigation application and exits the historical navigation application that previously occupied the focus of the navigation application. The vehicle system obtains and plays the navigation audio of the target navigation application.
[0121] In order to explain the above implementation more clearly, the manner in which the vehicle system in the above implementation obtains and plays the navigation audio of the target navigation application is explained below.
[0122] In a possible implementation, when the target navigation application is the vehicle navigation application or the projection navigation application of the vehicle system, the vehicle system obtains the navigation text of the vehicle navigation application from the vehicle navigation application or the projection navigation application, and converts the navigation text into navigation audio using TTS (Text To Speech) technology and plays it. When the target navigation application is a terminal navigation application, the vehicle system obtains the navigation text of the terminal navigation application through the first driver interconnection application on the vehicle system, and converts the navigation text into navigation audio using TTS technology and plays it.
[0123] Among them, the TTS technology can be implemented by any type of TTS model in the relevant technology, and the embodiments of the present application are not limited to this. The first driver interconnection application on the vehicle system and the second driver interconnection application on the target terminal, the terminal navigation application on the target terminal sends the navigation text to the second driver interconnection application, and the second driver interconnection application forwards the navigation text to the first driver interconnection application, so that the vehicle system can obtain the navigation text.
[0124] 304. When the navigation application focus is not occupied, the vehicle system allocates the navigation application focus to the target navigation application and performs navigation through the target navigation application.
[0125] 305. When the target navigation application cannot seize the focus of the navigation application, the vehicle system keeps the allocation of the focus of the navigation application unchanged and continues navigation through the navigation application that occupies the focus of the navigation application.
[0126] The following will be combined Figure 5 The technical solutions provided in the above steps 301-305 are described in detail. Figure 5 , the vehicle navigation application starts and sends a request for occupying the focus of the navigation application to the focus arbitration unit. When the focus arbitration unit assigns the focus of the navigation application to the vehicle navigation application, the navigation focus occupation information is sent to the vehicle navigation application, and the navigation focus occupation information is used to notify the vehicle navigation application that the focus of the navigation application is successfully occupied. The vehicle navigation application performs cruise broadcasting or navigation. When the projection navigation application or the terminal navigation application initiates a navigation request, the first driver interconnection application sends a request for occupying the focus of the navigation application to the focus arbitration unit. The focus arbitration unit sends a confirmation request to the vehicle navigation application, and the confirmation request is used to request confirmation whether the focus of the navigation application is occupied. When the vehicle is not in the automatic navigation assisted driving mode, the vehicle navigation application stops performing cruise broadcasting or navigation, and returns focus release information to the focus arbitration unit. When the focus arbitration unit receives the focus release information, it assigns the focus of the navigation application to the projection navigation application or the terminal navigation application, and sends the navigation focus occupation information to the first driver interconnection application, so that the navigation focus occupation information is forwarded to the navigation application or the terminal navigation application through the first driver interconnection application. When the navigation application or the terminal navigation application receives the navigation focus occupation information, it starts navigation and sends the navigation text to the first driver interconnection application.
[0127] When the vehicle is in the automatic navigation assisted driving mode, the first page is displayed. In response to the confirmation operation on the first page, the vehicle navigation application stops the cruise broadcast or navigation, and returns the focus release information to the focus arbitration unit. When the focus arbitration unit receives the focus release information, it allocates the focus of the navigation application to the projection navigation application or the terminal navigation application, and sends the navigation focus occupancy information to the first driver interconnection application, so that the navigation focus occupancy information is forwarded to the navigation application or the terminal navigation application through the first driver interconnection application. When the navigation application or the terminal navigation application receives the navigation focus occupancy information, it starts navigation and sends the navigation text to the first driver interconnection application.
[0128] In response to the rejection operation on the first page, the vehicle navigation application sends a request to occupy the focus of the navigation application to the focus arbitration unit again. When the focus arbitration unit receives the occupation request of the vehicle navigation application, the vehicle navigation application keeps occupying the focus of the navigation application, and sends navigation focus loss information to the first driver interconnection application, so that the navigation focus loss information is forwarded to the navigation application or the terminal navigation application through the first driver interconnection application. When the navigation application or the terminal navigation application receives the navigation focus loss information, it ends the navigation.
[0129] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0130] Through the technical solution provided by the embodiment of the present application, in response to the target navigation application's request to occupy the navigation application focus, it is determined whether the navigation application focus is occupied, thereby judging whether there is a navigation application that is currently navigating. In the case that there is a navigation application that is currently navigating, it is determined whether the target navigation application can seize the navigation application focus. In the case that the target navigation application can seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application, thereby achieving the purpose of using the navigation application focus to reduce the probability of conflicts between different navigation applications and improving the user experience of the driver when using the navigation application.
[0131] In addition to the above steps 301-305, the present application embodiment also provides the following technical solutions, see Figure 6 Taking the execution subject as the vehicle system as an example, the method includes the following steps.
[0132] 601. When the target navigation application is a projection navigation application and the target navigation application is in operation, in response to receiving a first application exit message sent by the target terminal, the vehicle system exits the target application.
[0133] Among them, the first application exit information is sent after the terminal navigation application corresponding to the screen projection navigation application is started on the target terminal, and the target terminal is a terminal connected to the vehicle system. The terminal navigation application corresponding to the screen projection navigation application means that the screen projection navigation application is the terminal navigation application that is run by projecting the screen on the vehicle system, and the screen projection navigation application and the terminal navigation application are essentially the result of the same navigation application running on different devices. In some embodiments, the first application exit information is obtained through the first driver interconnection application. In some embodiments, when the screen projection navigation application is started, the screen projection navigation application will send the application running status of the screen projection navigation application to the first driver interconnection application, and the first driver interconnection application will synchronize the application running status of the screen projection navigation application to the second driver interconnection application, so that the target terminal can determine the running status of the screen projection navigation application through the second driver interconnection application. Correspondingly, when the terminal navigation application is started, the terminal navigation application will send the application running status of the terminal navigation application to the second driver interconnection application, and the second driver interconnection application will synchronize the application running status of the terminal navigation application to the first driver interconnection application, so that the vehicle system can determine the running status of the terminal navigation application through the first driver interconnection application.
[0134] 602. When the terminal navigation application on the target terminal is in a running state, in response to the target navigation application being started again, the vehicle system sends second application exit information to the target terminal.
[0135] The second application exit information is used to instruct the target terminal to exit the terminal navigation application. In some embodiments, the second application exit information is sent to the target terminal via the first driver interconnection application.
[0136] The following will be combined Figure 7 The technical solution provided in the above steps 601-602 is described in detail. Figure 7 , when the screen projection navigation application is started, the screen projection navigation application sends the application running state of the screen projection navigation application to the first driver interconnection application, and the first driver interconnection application synchronizes the application running state of the screen projection navigation application to the second driver interconnection application. When the terminal navigation application is started, the second driver interconnection application determines whether the corresponding screen projection navigation application is started in the vehicle system. When the screen projection navigation application is started in the vehicle system, the target terminal displays a third page, and the third page is used to prompt whether to switch the screen projection navigation application to the terminal navigation application. In response to the confirmation operation on the third page, the second driver interconnection application sends a first application exit instruction to the first driver interconnection application, and the first application exit instruction is used to instruct the vehicle system to exit the screen projection navigation application. The first driver interconnection application sends the first application exit instruction to the screen projection navigation application, and the screen projection navigation application exits. The target terminal starts the terminal navigation application, and the terminal navigation application sends the application running state of the terminal navigation application to the second driver interconnection application, and the second driver interconnection application synchronizes the application running state of the terminal navigation application to the first driver interconnection application, so that the vehicle system can determine the running state of the terminal navigation application through the first driver interconnection application. In response to the start of the projection navigation application, the first driver interconnection application determines whether the corresponding terminal navigation application is started on the target terminal. When the terminal navigation application is started on the target terminal, the vehicle system displays a fourth page, which is used to prompt whether to switch the terminal navigation application to the projection navigation application. In response to the confirmation operation on the fourth page, the first driver interconnection application sends a second application exit instruction to the second driver interconnection application, and the second application exit instruction is used to instruct the target terminal to exit the terminal navigation application. The second driver interconnection application sends the second application exit instruction to the terminal navigation application, and the terminal navigation application exits. The vehicle system starts the projection navigation application.
[0137] In response to a rejection operation on the third page or the fourth page, no processing is performed.
[0138] Through the above steps 601 and 602, it can be ensured that when the projection navigation application is running on the vehicle system, the corresponding terminal navigation application running on the target terminal exits; when the terminal navigation is running on the target terminal, the corresponding projection navigation application running on the vehicle system exits, avoiding conflicts caused by the simultaneous operation of the terminal navigation application and the projection navigation application.
[0139] Figure 8 is a structural diagram of a navigation device based on a navigation application provided in an embodiment of the present application, see Figure 8 The device includes: a first determination module 801, a second determination module 802 and a focus allocation module 803.
[0140] The first determination module 801 is used to determine whether the navigation application focus is occupied in response to the target navigation application's occupation request for the navigation application focus of the vehicle system. The occupation request is used to request to occupy the navigation application focus. The navigation application occupying the navigation application focus can perform navigation.
[0141] The second determination module 802 is used to determine whether the target navigation application can seize the focus of the navigation application when the focus of the navigation application is occupied.
[0142] The focus allocation module 803 is used to allocate the navigation application focus to the target navigation application and perform navigation through the target navigation application when the target navigation application is able to seize the navigation application focus.
[0143] In a possible implementation, the second determination module 802 is used to determine whether the navigation application that occupies the focus of the navigation application is the vehicle navigation application when the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied. When the navigation application that occupies the focus of the navigation application is the vehicle navigation application, it is determined whether the target navigation application can seize the focus of the navigation application based on the application state of the vehicle navigation application.
[0144] In a possible implementation, the second determination module 802 is used to determine whether the target navigation application can seize the focus of the navigation application when the application state of the vehicle navigation application is a cruising state. When the application state of the vehicle navigation application is a navigation state, determine whether the vehicle where the vehicle system is located is in an automatic navigation assisted driving mode. When the vehicle is in an automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application based on user operations or environmental information collected in the automatic navigation assisted driving mode. When the vehicle is not in an automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application.
[0145] In a possible implementation, the second determination module 802 is used to display a first page when the vehicle is in an automatic navigation assisted driving mode, and the first page is used to prompt whether to end the navigation state of the vehicle navigation application. In response to the confirmation operation on the first page, the navigation state of the vehicle navigation application is ended, the automatic navigation assisted driving mode is exited, and it is determined that the target navigation application can seize the focus of the navigation application. In response to the rejection operation on the first page, the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode are maintained, and it is determined that the target navigation application cannot seize the focus of the navigation application. Alternatively, when the vehicle is in an automatic navigation assisted driving mode, environmental information collected in the automatic navigation assisted driving mode is obtained. Based on the environmental information, the driving environment safety level of the vehicle is determined. When the driving environment safety level is greater than or equal to the safety level threshold, the navigation state of the vehicle navigation application is ended, the automatic navigation assisted driving mode is exited, and it is determined that the target navigation application can seize the focus of the navigation application. When the safety level of the driving environment is less than the safety level threshold, the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode are maintained, and it is determined that the target navigation application cannot seize the focus of the navigation application.
[0146] In a possible implementation, the second determination module 802 is used to determine whether the terminal navigation application or the projection navigation application occupies the focus of the navigation application when the target navigation application is the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied. The terminal navigation application is a navigation application running on the target terminal, and the projection navigation application is a navigation application projected on the vehicle system through the target terminal. The target terminal is a terminal connected to the vehicle system. In the case where the focus of the navigation application is occupied by the terminal navigation application, a confirmation message is sent to the target terminal, and the confirmation message is used to confirm whether to exit the terminal navigation application. Based on the feedback information returned by the target terminal for the confirmation message, it is determined whether the target navigation application can seize the focus of the navigation application. In the case where the focus of the navigation application is occupied by the projection navigation application, a second page is displayed, and the second page is used to prompt whether to exit the projection navigation application. Based on the operation on the second page, it is determined whether the target navigation application can seize the focus of the navigation application.
[0147] In a possible implementation, the focus allocation module 803 is used to allocate the navigation application focus to the target navigation application and exit the historical navigation application that previously occupied the navigation application focus when the target navigation application can seize the navigation application focus. Obtain and play the navigation audio of the target navigation application.
[0148] In a possible implementation, the focus allocation module 803 is further configured to keep the allocation of the navigation application focus unchanged and continue navigation through the navigation application occupying the navigation application focus when the target navigation application cannot seize the navigation application focus.
[0149] In a possible implementation, the device also includes an application control module for exiting the target application in response to receiving a first application exit message sent by a target terminal when the target navigation application is a projection navigation application and the target navigation application is in a running state. The first application exit message is sent after the terminal navigation application corresponding to the projection navigation application is started on the target terminal, and the target terminal is a terminal connected to the vehicle system.
[0150] In a possible implementation, the application control module is also used to send second application exit information to the target terminal in response to the target navigation application being started again when the terminal navigation application on the target terminal is in a running state, and the second application exit information is used to instruct the target terminal to exit the terminal navigation application.
[0151] It should be noted that: the navigation device based on the navigation application provided in the above embodiment only uses the division of the above functional modules as an example when performing navigation. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the navigation device based on the navigation application provided in the above embodiment and the navigation method embodiment based on the navigation application belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0152] Through the technical solution provided by the embodiment of the present application, in response to the target navigation application's request to occupy the navigation application focus, it is determined whether the navigation application focus is occupied, thereby judging whether there is a navigation application that is currently navigating. In the case that there is a navigation application that is currently navigating, it is determined whether the target navigation application can seize the navigation application focus. In the case that the target navigation application can seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application, thereby achieving the purpose of using the navigation application focus to reduce the probability of conflicts between different navigation applications and improving the user experience of the driver when using the navigation application.
[0153] The embodiment of the present application also provides a vehicle, Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0154] Typically, the vehicle 900 includes: one or more processors 901 and one or more memories 902 .
[0155] The processor 901 may include one or more processing cores, such as a 4-core processor, a 9-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0156] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one computer program, which is used to be executed by the processor 901 to implement the navigation method based on the navigation application provided in the method embodiment of the present application.
[0157] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the vehicle 900, and the vehicle 900 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different arrangement of components.
[0158] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a navigation method based on a navigation application provided in the above embodiment.
[0159] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a navigation method based on a navigation application provided in the above embodiment.
[0160] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a navigation method based on a navigation application provided in the above embodiment.
[0161] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0162] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0163] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0164] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A navigation method based on a navigation application, characterized in that: The method comprises: In response to a target navigation application's occupation request for the navigation application focus of the vehicle system, determining whether the navigation application focus is occupied, the occupation request being used to request occupation of the navigation application focus, and the navigation application occupying the navigation application focus being able to perform navigation; In the case where the navigation application focus is occupied, determining whether the target navigation application can seize the navigation application focus; In the case where the target navigation application is able to seize the navigation application focus, the navigation application focus is allocated to the target navigation application and navigation is performed through the target navigation application.
2. The method according to claim 1, characterized in that: The determining whether the target navigation application can seize the navigation application focus when the navigation application focus is occupied includes: In the case where the target navigation application is not the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, determining whether the vehicle navigation application is occupying the focus of the navigation application; In the case that the navigation application occupying the navigation application focus is the vehicle navigation application, it is determined whether the target navigation application can occupy the navigation application focus based on the application state of the vehicle navigation application.
3. The method according to claim 2, characterized in that The determining, based on the application state of the vehicle navigation application, whether the target navigation application can seize the focus of the navigation application includes: When the application state of the vehicle navigation application is a cruising state, determining that the target navigation application can seize the focus of the navigation application; When the application state of the vehicle navigation application is the navigation state, determine whether the vehicle where the vehicle system is located is in the automatic navigation assisted driving mode; when the vehicle is in the automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application based on user operations or environmental information collected in the automatic navigation assisted driving mode; when the vehicle is not in the automatic navigation assisted driving mode, determine whether the target navigation application can seize the focus of the navigation application.
4. The method according to claim 3, characterized in that The determining, when the vehicle is in the automatic navigation assisted driving mode, whether the target navigation application can seize the focus of the navigation application based on user operation or environmental information collected in the automatic navigation assisted driving mode, includes: When the vehicle is in the automatic navigation assisted driving mode, displaying a first page, the first page is used to prompt whether to end the navigation state of the vehicle navigation application; in response to a confirmation operation on the first page, ending the navigation state of the vehicle navigation application, exiting the automatic navigation assisted driving mode, and determining that the target navigation application can seize the focus of the navigation application; in response to a rejection operation on the first page, maintaining the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode, and determining that the target navigation application cannot seize the focus of the navigation application; Alternatively, when the vehicle is in an automatic navigation assisted driving mode, environmental information collected in the automatic navigation assisted driving mode is obtained; based on the environmental information, a driving environment safety level of the vehicle is determined; when the driving environment safety level is greater than or equal to a safety level threshold, the navigation state of the vehicle navigation application is terminated, the automatic navigation assisted driving mode is exited, and it is determined that the target navigation application can seize the navigation application focus; when the driving environment safety level is less than the safety level threshold, the navigation state of the vehicle navigation application and the automatic navigation assisted driving mode are maintained, and it is determined that the target navigation application cannot seize the navigation application focus.
5. The method according to claim 1, characterized in that The determining whether the target navigation application can seize the navigation application focus when the navigation application focus is occupied includes: In the case where the target navigation application is the vehicle navigation application of the vehicle system and the focus of the navigation application is occupied, determining whether the focus of the navigation application is occupied by a terminal navigation application or a projection navigation application, the terminal navigation application is a navigation application running on a target terminal, the projection navigation application is a navigation application projected on the vehicle system through the target terminal, and the target terminal is a terminal connected to the vehicle system; In the case where the terminal navigation application occupies the focus of the navigation application, sending a confirmation message to the target terminal, the confirmation message being used to confirm whether to exit the terminal navigation application; and determining whether the target navigation application can seize the focus of the navigation application based on feedback information returned by the target terminal for the confirmation message; When the focus of the navigation application is occupied by a projection navigation application, a second page is displayed, and the second page is used to prompt whether to exit the projection navigation application; based on the operation on the second page, it is determined whether the target navigation application can seize the focus of the navigation application.
6. The method according to claim 1, characterized in that In the case where the target navigation application is able to seize the focus of the navigation application, allocating the focus of the navigation application to the target navigation application and navigating through the target navigation application includes: In the case where the target navigation application is able to seize the focus of the navigation application, allocating the focus of the navigation application to the target navigation application and exiting the historical navigation application that previously occupied the focus of the navigation application; Acquire and play the navigation audio of the target navigation application.
7. The method according to claim 1, characterized in that After determining whether the target navigation application can seize the focus of the navigation application when the focus of the navigation application is occupied, the method further includes: In the case where the target navigation application cannot seize the focus of the navigation application, the allocation of the focus of the navigation application is kept unchanged and navigation is continued through the navigation application occupying the focus of the navigation application.
8. The method according to claim 1, characterized in that The method further comprises: When the target navigation application is a projection navigation application and the target navigation application is in running state, the target application is exited in response to receiving a first application exit message sent by a target terminal, wherein the first application exit message is sent after the terminal navigation application corresponding to the projection navigation application is started on the target terminal, and the target terminal is a terminal connected to the vehicle system.
9. The method according to claim 8, characterized in that In response to receiving the first application exit information sent by the target terminal, after exiting the target application, the method further includes: When the terminal navigation application on the target terminal is in a running state, in response to the target navigation application being started again, second application exit information is sent to the target terminal, where the second application exit information is used to instruct the target terminal to exit the terminal navigation application.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the navigation method based on the navigation application as described in any one of claims 1 to 9.