WO2022267682A1 - 导航切换方法、装置、电子设备以及存储介质 - Google Patents

导航切换方法、装置、电子设备以及存储介质 Download PDF

Info

Publication number
WO2022267682A1
WO2022267682A1 PCT/CN2022/089152 CN2022089152W WO2022267682A1 WO 2022267682 A1 WO2022267682 A1 WO 2022267682A1 CN 2022089152 W CN2022089152 W CN 2022089152W WO 2022267682 A1 WO2022267682 A1 WO 2022267682A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
navigation
user terminal
terminal
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/089152
Other languages
English (en)
French (fr)
Inventor
丁杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2022267682A1 publication Critical patent/WO2022267682A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/024Guidance services

Definitions

  • the present application relates to the technical field of vehicle-machine interaction, and more specifically, to a navigation switching method, device, electronic equipment, and storage medium.
  • both the user terminal and the vehicle-mounted terminal have the navigation function, and both the user terminal and the vehicle-mounted terminal can run navigation application programs.
  • the present application proposes a navigation switching method, device, electronic device and storage medium to solve the above problems.
  • the embodiment of the present application provides a navigation switching method, which is applied to a vehicle-mounted terminal of a vehicle.
  • the method includes: the vehicle-mounted terminal runs a navigation application program; when it is detected that the user terminal in the vehicle starts the navigation When using the application program, close the navigation application program running on the vehicle terminal.
  • the embodiment of the present application provides a navigation switching method, which is applied to a user terminal, the user terminal is in a vehicle, and the vehicle-mounted terminal of the vehicle runs a navigation application program, and the method includes: detecting the user terminal When detecting that the user terminal starts the navigation application program, output a first message, wherein the first message is used to instruct the vehicle-mounted terminal to close the running navigation application program.
  • an embodiment of the present application provides a navigation switching device, which is applied to a vehicle-mounted terminal of a vehicle, and the device includes: a navigation application program running module, used for the vehicle-mounted terminal to run a navigation application program; a navigation application program closing module is used to close the navigation application program running on the vehicle terminal when it is detected that the user terminal in the vehicle starts the navigation application program.
  • the embodiment of the present application provides a navigation switching device, which is applied to a user terminal.
  • the user terminal is located in a vehicle, and the vehicle-mounted terminal of the vehicle runs a navigation application program.
  • the device includes: an application running state detection module , used to detect the application running status of the user terminal; a message sending module, configured to output a first message when detecting that the user terminal starts a navigation application program, wherein the first message is used to indicate that the vehicle-mounted The terminal closes the running navigation application.
  • the embodiment of the present application provides an electronic device, including a memory and a processor, the memory is coupled to the processor, and the memory stores instructions, which are executed when the instructions are executed by the processor.
  • the processor executes the above method.
  • the embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
  • FIG. 1 shows a schematic diagram of an application environment that can be used in the navigation switching method provided by the embodiment of the present application
  • FIG. 2 shows a schematic diagram of another application environment that can be used in the navigation switching method provided by the embodiment of the present application
  • FIG. 3 shows a schematic flowchart of a navigation switching method provided by an embodiment of the present application
  • Fig. 4 shows the first schematic diagram in the vehicle provided by the embodiment of the present application
  • Fig. 5 shows a second schematic diagram in the vehicle provided by the embodiment of the present application.
  • Fig. 6 shows a third schematic diagram in the vehicle provided by the embodiment of the present application.
  • FIG. 7 shows a schematic flowchart of a navigation switching method provided in another embodiment of the present application.
  • FIG. 8 shows a schematic flowchart of a navigation switching method provided in another embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of step S430 of the navigation switching method shown in FIG. 8 of the present application.
  • FIG. 10 shows a schematic flowchart of a navigation switching method provided by another embodiment of the present application.
  • Fig. 11 shows a schematic flow chart of a navigation switching method provided by still another embodiment of the present application.
  • FIG. 12 shows a schematic flowchart of a navigation switching method provided in yet another embodiment of the present application.
  • Fig. 13 shows a schematic flowchart of a navigation switching method provided by yet another embodiment of the present application.
  • Fig. 14 shows a module block diagram of a navigation switching device provided by an embodiment of the present application.
  • Fig. 15 shows a module block diagram of a navigation switching device provided by another embodiment of the present application.
  • FIG. 16 shows a block diagram of an electronic device for performing a navigation switching method according to an embodiment of the present application in an embodiment of the present application
  • Fig. 17 shows a storage unit for storing or carrying program codes for realizing the navigation switching method according to the embodiment of the present application according to the embodiment of the present application.
  • the navigation function is used more and more frequently during the driving process of the vehicle.
  • the user terminal and the vehicle terminal both have the navigation function.
  • the navigation application program it will cause unnecessary resources Waste, also can cause disturbance to driver at the same time.
  • the navigation voice of the user terminal and the vehicle-mounted terminal often overlap, that is, a navigation instruction will be repeated twice, and if the user needs to manually
  • the path to turn off the navigation application in the car navigation is relatively long, and the entrance is also very deep, which will cause the problem that the user is inconvenient to find.
  • the inventor found after long-term research and proposed the navigation switching method, device, electronic equipment and storage medium provided by the embodiment of the present application. Apps, so as to realize the adaptive switching of navigation applications, reduce the cumbersome operations of users when manually switching, and improve the user experience. Wherein, the specific navigation switching method will be described in detail in the subsequent embodiments.
  • FIG. 1 shows a schematic diagram of an application environment applicable to the navigation switching method provided by the embodiment of the present application.
  • the application environment includes a user terminal 100 and a vehicle-mounted terminal (the vehicle-mounted terminal is used as a vehicle for illustration) 200, wherein the user terminal 100 can be connected to the vehicle-mounted terminal 200 to realize the connection between the user terminal 100 and the vehicle-mounted terminal 200. data interaction between them.
  • the user terminal 100 and the vehicle-mounted terminal 200 may be connected through Bluetooth, or may be connected through a Universal Serial Bus (Universal Serial Bus, USB), etc., which are not limited herein.
  • USB Universal Serial Bus
  • FIG. 2 shows a schematic diagram of another application environment applicable to the navigation switching method provided by the embodiment of the present application.
  • the application environment includes a user terminal 100 and a vehicle-mounted terminal (the vehicle-mounted terminal is used as a vehicle for illustration) 200 .
  • the vehicle-mounted terminal 200 can send WLAN broadcast messages, Bluetooth broadcast messages, etc., and when the user terminal 100 is located within the broadcast range of the vehicle-mounted terminal 200 (the dashed box shown in FIG. 2 ), it can receive the message sent by the vehicle-mounted terminal 200 WLAN broadcast messages, Bluetooth broadcast messages, etc.
  • the user terminal 100 can send a WLAN broadcast message, a Bluetooth broadcast message, etc., and when the vehicle-mounted terminal 200 is within the broadcast range of the user terminal 100 (the dashed box shown in FIG. 2 ), it can receive the message sent by the user terminal 100.
  • the number of user terminals 100 may be one or multiple, and the number of vehicle-mounted terminals 200 may be one or multiple, which are not limited here.
  • the user terminal 100 may include a smart phone, a tablet computer, a wearable electronic device, etc.
  • the vehicle-mounted terminal 200 may include a smart phone, a car-machine device, etc., which are not limited here.
  • FIG. 3 shows a schematic flowchart of a navigation switching method provided by an embodiment of the present application.
  • the navigation switching method is used to automatically close the navigation application program running on the vehicle-mounted terminal when the user terminal starts the navigation application program, thereby realizing adaptive switching of the navigation application, reducing cumbersome operations when the user manually switches, and improving user experience .
  • the navigation switching method is applied to the vehicle-mounted terminal of the vehicle. The process shown in FIG. 3 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S110 The vehicle-mounted terminal runs a navigation application program.
  • the vehicle-mounted terminal runs a navigation application program.
  • the vehicle-mounted terminal can run the navigation application program in the foreground, can run the navigation application program in the background, and can also switch between the foreground and the background to run the navigation application program, which is not limited here.
  • the vehicle when the vehicle-mounted terminal is running the navigation application program, the vehicle may be in the starting state, in the driving state, or in the parking state, which is not limited here.
  • Step S120 When it is detected that the user terminal in the vehicle starts the navigation application program, close the navigation application program running on the vehicle terminal.
  • the vehicle-mounted terminal when the vehicle-mounted terminal runs the navigation application program, it can detect whether the user terminal in the vehicle starts the navigation application program. Among them, when it is detected that the user terminal in the vehicle starts the navigation application program, it means that both the vehicle-mounted terminal and the user terminal in the vehicle will run the navigation application program, and there may be repeated navigation instructions. Therefore, the vehicle-mounted terminal can be turned off The running navigation application program, so as to realize the adaptive switching of the navigation application. Among them, when it is detected that the user terminal in the vehicle does not open the navigation application program, it means that only the vehicle-mounted terminal in the vehicle runs the navigation application program, and there will be no repeated navigation instructions. Therefore, the vehicle-mounted terminal can continue to run the navigation application program. program.
  • the user terminal is directly connected to the vehicle-mounted terminal of the vehicle through Bluetooth or USB. Based on this, in the process of running the navigation application program, the vehicle-mounted terminal can detect whether it has received a message indicating that the user terminal has started the navigation application program directly sent by the user terminal. When the message indicating that the user terminal has started the navigation application program, it can be determined that the user terminal in the vehicle has started the navigation application program, and the application program running on the vehicle terminal can be closed.
  • the user terminal and the vehicle-mounted terminal of the vehicle are connected through a server, that is, the server is connected to the user terminal and the vehicle-mounted terminal respectively.
  • the vehicle-mounted terminal can detect whether it receives a message sent by the server to indicate that the user terminal starts the navigation application program, wherein the message is sent to the user terminal when the user terminal starts the navigation application program.
  • the server when it is determined that the message indicating that the user terminal has started the navigation application sent by the server, can determine that the user terminal in the vehicle has started the navigation application, and can close the application running on the vehicle terminal.
  • the user terminal may send a broadcast message
  • the vehicle-mounted terminal may receive the broadcast message sent by the user terminal.
  • the vehicle-mounted terminal can detect whether it has received a broadcast sent by the user terminal that indicates that the user terminal has started the navigation application program.
  • the broadcast indicating that the user terminal starts the navigation application program it can be determined that the user terminal in the vehicle starts the navigation application program, and the application program running on the vehicle terminal can be closed.
  • the vehicle-mounted terminal can determine whether the navigation voice output by the user terminal is detected, wherein, when the navigation voice output by the user terminal is detected, it can be determined that the user in the vehicle
  • the terminal starts the navigation application program, and the application program running on the vehicle terminal can be closed.
  • the navigation application program running on the vehicle terminal can be directly closed.
  • the navigation application when it is detected that the user terminal in the vehicle opens the navigation application, it can be detected whether the navigation application opened by the user terminal is consistent with the navigation application run by the vehicle terminal, for example, it can be detected that the navigation application opened by the user terminal Whether the manufacturer of the navigation application program is the same as the manufacturer of the navigation application program running on the vehicle terminal. When it is detected that the navigation application program opened by the user terminal is consistent with the navigation application program running on the vehicle terminal, it can be closed. Navigation application run by the terminal.
  • the navigation application program when it is detected that the user terminal in the vehicle starts the navigation application program, it can be detected whether the navigation end position indicated by the navigation application program opened by the user terminal is the same as the navigation end position indicated by the navigation application program run by the vehicle terminal. Consistent, wherein, when it is detected that the navigation end position indicated by the navigation application program opened by the user terminal is consistent with the navigation end position indicated by the navigation application program running on the vehicle terminal, the navigation application program running on the vehicle terminal can be closed.
  • Figure 4 shows the first schematic diagram of the vehicle provided by the embodiment of the present application
  • Figure 5 shows the second schematic diagram of the vehicle provided by the embodiment of the present application
  • Figure 6 shows the The third schematic diagram in the vehicle provided by the embodiment of the present application.
  • the vehicle includes a user terminal 100 in the vehicle and a vehicle-mounted terminal 200 of the vehicle.
  • the vehicle-mounted terminal 200 runs a navigation application
  • the user terminal 100 Figure Not shown
  • the navigation application program is not opened, the navigation application program running on the vehicle-mounted terminal 200 is maintained; Close the navigation application running on the vehicle-mounted terminal 200 , as shown in FIG. 6 , that is, switch from the one shown in FIG. 5 to the one shown in FIG. 6 .
  • the vehicle-mounted terminal runs the navigation application program, and when it is detected that the user terminal in the vehicle starts the navigation application program, the navigation application program running on the vehicle-mounted terminal is closed, so that the navigation application program can be opened by the user terminal.
  • the navigation application program running on the vehicle terminal is automatically closed, so as to realize the adaptive switching of the navigation application, reduce the cumbersome operation of the user when switching manually, and improve the user experience.
  • FIG. 7 shows a schematic flowchart of a navigation switching method provided by another embodiment of the present application. This method is applied to the vehicle-mounted terminal of the above-mentioned vehicle, and the process shown in FIG. 7 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S210 The vehicle-mounted terminal runs a navigation application program.
  • Step S220 When the navigation voice output by the user terminal is detected, it is detected that the user terminal in the vehicle starts the navigation application program.
  • the vehicle-mounted terminal can determine whether the navigation voice output by the user terminal is detected during the process of running the navigation application program, wherein, when the navigation voice output by the user terminal is detected, it can be determined that the user in the vehicle The terminal starts the navigation application. For example, when navigation voices such as "turn left ahead” and “go straight ahead” output by the user terminal are detected, it may be determined that the user terminal in the vehicle is detected to start the navigation application.
  • Step S230 Close the navigation application running on the vehicle terminal.
  • step S230 please refer to step S120, which will not be repeated here.
  • the vehicle-mounted terminal runs the navigation application program, and when the navigation voice output by the user terminal is detected, it is determined that the user terminal in the vehicle is detected to start the navigation application program, and the navigation application program running on the vehicle-mounted terminal is closed.
  • Navigation application Compared with the navigation switching method shown in FIG. 3 , in this embodiment, when the navigation voice output by the user terminal is detected, it is determined that the user terminal starts the navigation application, thereby improving the accuracy of the operation judgment of the navigation application.
  • FIG. 8 shows a schematic flowchart of a navigation switching method provided by another embodiment of the present application. This method is applied to the vehicle-mounted terminal of the above-mentioned vehicle. In this embodiment, the vehicle-mounted terminal and the user terminal establish a connection. The flow shown in FIG. 8 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S310 The vehicle-mounted terminal runs a navigation application program.
  • step S310 for the specific description of step S310, please refer to step S110, which will not be repeated here.
  • Step S320 through the connection, it is detected that the user terminal in the vehicle starts the navigation application program.
  • the user terminal and the vehicle-mounted terminal of the vehicle can be directly connected through Bluetooth or USB.
  • the vehicle-mounted terminal can detect whether it has received a message directly sent by the user terminal to indicate that the user terminal has started the navigation application program.
  • the message indicating that the user terminal starts the navigation application program it can be determined that the user terminal in the vehicle starts the navigation application program.
  • the vehicle-mounted terminal can send query information to the user terminal, wherein the query information is used to indicate whether the user terminal feedbacks whether to open the navigation application program.
  • the navigation application program it can be determined that the user terminal in the vehicle starts the navigation application program.
  • Step S330 Close the navigation application running on the vehicle terminal.
  • step S330 for the specific description of step S330, please refer to step S120, which will not be repeated here.
  • the vehicle-mounted terminal runs the navigation application program, and when it is detected through the connection that the user terminal in the vehicle starts the navigation application program, it is determined that the user terminal in the vehicle starts the navigation application program to close the navigation application running on the vehicle terminal.
  • this embodiment also determines that the user terminal starts the navigation application when it detects that the user terminal starts the navigation application through the connection determination, thereby improving the accuracy of the navigation application judgment. .
  • FIG. 9 shows a schematic flowchart of a navigation switching method provided by another embodiment of the present application. This method is applied to the vehicle-mounted terminal of the above-mentioned vehicle. In this embodiment, the vehicle-mounted terminal establishes a connection with the user terminal. The process shown in FIG. 9 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S410 The vehicle-mounted terminal runs a navigation application program.
  • Step S420 when it is detected that the user terminal in the vehicle starts the navigation application program, close the navigation application program running on the vehicle terminal.
  • step S410-step S420 please refer to step S110-step S120, which will not be repeated here.
  • Step S430 When the user terminal satisfies a preset condition, start a navigation application on the vehicle terminal.
  • the vehicle-mounted terminal may preset and store a preset condition, and the preset condition is used as a judgment basis for the user terminal. Therefore, in this embodiment, after the vehicle-mounted terminal closes the running navigation application program, it can also detect the user terminal to determine whether the user terminal satisfies the preset condition. Wherein, when the judgment result indicates that the user terminal satisfies the preset condition, the navigation application program can be started on the vehicle-mounted terminal; when the judgment result indicates that the user terminal does not meet the preset condition, the vehicle-mounted terminal can be kept to close the navigation application program.
  • opening the navigation application on the vehicle terminal may include: directly waking up the previously closed navigation application, and directly generating navigation information based on the current position of the vehicle terminal and the previously determined navigation end position; or, restarting the navigation application program, and generate navigation information based on the current location of the vehicle terminal and the re-input navigation destination location.
  • the vehicle-mounted terminal or the user terminal may preset and store a preset signal strength, which is used as a basis for judging the signal strength of the user terminal. Therefore, in this embodiment, the navigation application is closed on the vehicle-mounted terminal. program and the user terminal is running the navigation application program, the signal strength of the user terminal can be detected.
  • the navigation application program running on the user terminal can be closed, or the navigation application program running on the user terminal can continue to run, and the signal strength of the user terminal changes from lower than the preset signal strength to not lower than the preset signal strength.
  • the intensity is low, you can turn on and off the navigation application program running on the vehicle terminal.
  • the navigation application program can be kept running on the user terminal, and the vehicle-mounted terminal can be kept to close the navigation application program.
  • the navigation journey in the user terminal is not over and the user terminal closes the navigation application program, it may be determined that the user terminal satisfies a preset condition. Specifically, in the process that the vehicle-mounted terminal closes the navigation application and the user terminal runs the navigation application, it may be detected whether the user terminal closes the navigation application. Wherein, when it is detected that the user terminal closes the navigation application program, the navigation application program may be started on the vehicle terminal. Wherein, when it is detected that the user terminal has not closed the navigation application program, the vehicle terminal may keep closing the navigation application program.
  • the navigation application program when it is detected that the user terminal closes the navigation application program, it may be detected whether the current location of the user terminal is consistent with the navigation end position indicated by the navigation application program closed by the user terminal, wherein, when it is detected that When the current position of the user terminal is consistent with the navigation terminal position indicated by the navigation application program closed by the user terminal, the navigation application program may not be opened on the vehicle terminal. When the navigation end position indicated by the navigation application program of the vehicle is inconsistent, the navigation application program can be started on the vehicle terminal.
  • the user terminal and the vehicle-mounted terminal may be in a connected state.
  • the user terminal and the vehicle-mounted terminal may be in a connected state through Bluetooth or USB.
  • the vehicle-mounted terminal closes the navigation application and the user terminal runs the navigation application, the Detect whether the user terminal is disconnected from the vehicle terminal.
  • the navigation application program may be started on the vehicle-mounted terminal.
  • the navigation application program may be closed on the vehicle-mounted terminal.
  • the vehicle-mounted terminal or the user terminal may be preset and stored with a preset power level, which is used as a basis for judging the remaining power of the user terminal. Therefore, in this embodiment, the vehicle-mounted terminal closes the navigation application and During the process of running the navigation application program on the user terminal, the remaining power of the user terminal may be detected. Wherein, when it is detected that the remaining power of the user terminal is lower than the preset power, it can be determined that the remaining power of the user terminal is not enough to support the normal operation of the navigation application program of the user terminal.
  • the navigation application program can be opened on the vehicle terminal and the user terminal is closed.
  • Running navigation application wherein, when it is detected that the remaining power of the user terminal is not lower than the preset power, the navigation application program can be kept running on the user terminal, and the vehicle-mounted terminal can be kept to close the navigation application program.
  • FIG. 10 shows a schematic flowchart of step S430 of the navigation switching method shown in FIG. 9 of the present application.
  • the process shown in Figure 10 will be described in detail below, and the method may specifically include the following steps:
  • Step S431 Obtain the navigation end position corresponding to the navigation application program running on the user terminal as the first navigation end position.
  • the navigation end position corresponding to the navigation application running on the user terminal may be acquired, and the obtained navigation end position corresponding to the navigation application running on the user terminal may be used as The first navigation end position.
  • the navigation application program running on the user terminal may be closed, or the user terminal may keep running the navigation application program, which is not limited here.
  • Step S432 Start a navigation application program on the vehicle-mounted terminal, and generate first navigation information based on the first navigation destination position on the navigation application program of the vehicle-mounted terminal.
  • the vehicle-mounted terminal after the vehicle-mounted terminal obtains the first navigation end position, it can open a navigation application on the vehicle-mounted terminal, and generate first navigation information based on the first navigation end position in the navigation application of the vehicle-mounted terminal. Specifically, after the vehicle-mounted terminal obtains the first navigation end position, it can automatically open the navigation application on the vehicle-mounted terminal and obtain its current location, and then use its current position as the starting point in the navigation application of the vehicle-mounted terminal, and based on the starting point and the first navigation end position to generate first navigation information, wherein the first navigation information includes a navigation route from the current position of the vehicle-mounted terminal to the first navigation end position.
  • the vehicle-mounted terminal can include a positioning module, through which the vehicle-mounted terminal can obtain the current location of the vehicle, and then use the detected current position as the starting point in the navigation application of the vehicle-mounted terminal, and based on the starting point and the first navigation end position to generate first navigation information.
  • the positioning module may include but not limited to: Beidou positioning module, global positioning system (global positioning system, GPS).
  • Step S440 Obtain the location of the vehicle when the vehicle is turned off.
  • the vehicle-mounted terminal when the vehicle's vehicle-mounted terminal is running the navigation application program, when the vehicle is turned off, it can be considered that the user has driven to the expected destination, and at this time, the location of the vehicle can be obtained.
  • the vehicle-mounted terminal can obtain the location of the vehicle through its included positioning module.
  • the forward distance of the vehicle within the preset time period can be detected, wherein, when it is detected that the vehicle’s forward distance within the preset time period is less than the preset forward distance, it can be determined that the When the vehicle has turned off and is no longer moving forward, that is, it has driven to the expected destination, the location of the vehicle can be obtained; when it is detected that the vehicle’s advancing distance within the preset time period is not less than the preset advancing distance, it can be determined If the vehicle is only turned off temporarily and has not driven to the expected destination, the location of the vehicle may not be acquired.
  • Step S450 When the position of the vehicle is inconsistent with the second navigation end position, send a message to the user terminal and close the vehicle terminal, wherein the message is used to instruct the user terminal to
  • the current position and the second navigation end position generate second navigation information
  • the second navigation end position is a navigation end position corresponding to a navigation application program run by the vehicle-mounted terminal.
  • the navigation end position corresponding to the navigation application program may be used as the second navigation end position.
  • the second navigation end position is used as the basis for judging the position of the vehicle. Therefore, in this embodiment, after obtaining the position of the vehicle, the position of the vehicle and the second navigation end position can be A comparison is made to determine whether the position of the vehicle is consistent with the second navigation end position. Wherein, when the position of the vehicle is inconsistent with the second navigation end position, it means that the position that the vehicle can travel cannot reach the second navigation end position.
  • a message can be sent to the user terminal and the vehicle-mounted terminal is turned off, wherein the message It is used to instruct the user terminal to generate the second navigation information based on the location of the vehicle and the second navigation end point.
  • the user terminal can run the navigation application program and generate the second navigation information.
  • the second navigation information includes the information from the vehicle. The navigation route from the location at to the second navigation end location.
  • the position of the vehicle is consistent with the second navigation end position, it means that the position of the vehicle is already at the destination expected by the user, and the navigation function of the vehicle-mounted terminal or the user terminal can no longer be used, that is, the navigation function of the vehicle-mounted terminal
  • the terminal closes the navigation application and does not start the navigation application on the user terminal.
  • the vehicle's location when the distance between the vehicle's location and the second navigation end location is less than a preset distance, it may be considered that the vehicle's location is consistent with the second navigation end location.
  • the preset distance may include 10 meters, 20 meters, etc., which is not limited here.
  • the vehicle-mounted terminal runs the navigation application program, and when it is detected that the user terminal in the vehicle starts the navigation application program, the navigation application program running on the vehicle-mounted terminal is closed. condition, open the navigation application program on the vehicle-mounted terminal, obtain the position of the vehicle when the vehicle is turned off, and send a second message to the user terminal and close the vehicle-mounted terminal when the position of the vehicle is inconsistent with the second navigation end position, wherein, the second message is used to instruct the user terminal to generate second navigation information based on the location of the vehicle and the second navigation end position, the second navigation end position being the navigation end position corresponding to the navigation application program running on the vehicle terminal.
  • the navigation application program running on the vehicle-mounted terminal when the navigation application program running on the vehicle-mounted terminal is closed, if the user terminal meets the preset conditions, the navigation application program is re-opened on the vehicle-mounted terminal.
  • Navigation During the process of running the navigation application, if the position of the vehicle when the engine is turned off is different from the position indicated by the navigation application, it will switch to the user terminal to run the navigation application and generate navigation information, thereby improving the adaptive round-trip of the navigation application switch.
  • FIG. 11 shows a schematic flowchart of a navigation switching method provided in still another embodiment of the present application. This method is applied to the vehicle-mounted terminal of the above-mentioned vehicle, and the flow shown in FIG. 11 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S510 The vehicle-mounted terminal runs a navigation application program.
  • step S510 for the specific description of step S510, please refer to step S110, which will not be repeated here.
  • Step S520 When it is detected that the user terminal in the vehicle starts the navigation application program, acquire the navigation end position corresponding to the navigation application program running on the user terminal.
  • the navigation end position corresponding to the navigation application running on the user terminal and the navigation end position corresponding to the navigation application running on the vehicle terminal can be acquired Perform a comparison and perform different processing based on the comparison result.
  • Step S530 When the navigation end position corresponding to the navigation application running on the user terminal is consistent with the navigation end point corresponding to the navigation application running on the vehicle terminal, close the navigation application running on the vehicle terminal.
  • the navigation end position corresponding to the navigation application program running on the user terminal is consistent with the navigation end position corresponding to the navigation application program running on the vehicle-mounted terminal, it is determined that there may be repeated navigation instructions, and the in-vehicle terminal can be turned off.
  • the navigation application program running on the terminal avoids disturbing the user by the repeated broadcast of the navigation voice.
  • the vehicle-mounted terminal runs a navigation application program, and when it is detected that the user terminal in the vehicle starts the navigation application program, the navigation terminal position corresponding to the navigation application program running on the user terminal is obtained.
  • the navigation end position corresponding to the navigation application program running on the user terminal is consistent with the navigation end position corresponding to the navigation application program running on the vehicle terminal, close the navigation application program running on the vehicle terminal.
  • the system that runs on the vehicle terminal is turned off. navigation application, so as to avoid the accidental closing of the navigation application.
  • FIG. 12 shows a schematic flowchart of a navigation switching method provided in yet another embodiment of the present application. This method is applied to the vehicle-mounted terminal of the above-mentioned vehicle, and the flow shown in FIG. 12 will be described in detail below.
  • the navigation switching method may specifically include the following steps:
  • Step S610 The vehicle-mounted terminal runs a navigation application program.
  • step S610 for the specific description of step S610, please refer to step S110, which will not be repeated here.
  • Step S620 Acquiring volume information of the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program.
  • the volume information of the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program, it means that both the vehicle terminal and the user terminal in the vehicle will run the navigation application program, and at this time, both the user terminal and the vehicle terminal will output navigation voice.
  • the volume information of the user terminal when it is different, it may represent different use expectations of the user. Therefore, the volume information of the user terminal may be acquired and processed according to the characteristics of the volume information of the user terminal.
  • Step S630 When the volume information indicates that the volume of the user terminal is continuously greater than the volume of the vehicle-mounted terminal within a first preset time period, close the navigation application running on the vehicle-mounted terminal.
  • the vehicle-mounted terminal may pre-store a first preset time period, and the size of the first preset time period may be automatically set by the vehicle-mounted terminal or manually set by the user, which is not limited here.
  • volume information indicates that the volume of the user terminal is continuously greater than the volume of the vehicle-mounted terminal within the first preset time period, it can be considered that the user is more willing to hear and use the navigation voice of the user terminal, so the user terminal can be turned off.
  • a navigation application running on an in-vehicle terminal.
  • the navigation application program can be kept running on the vehicle terminal and the navigation application program can be kept running on the user terminal.
  • Step S640 When the volume information indicates that the volume of the user terminal continues to increase within a second preset time period, close the navigation application running on the vehicle terminal.
  • the vehicle-mounted terminal may pre-store a second preset time period, and the size of the second preset time period may be automatically set by the vehicle-mounted terminal or manually set by the user, which is not limited here.
  • the first preset time period may be greater than the second preset time period, may be equal to the second preset time period, or may be equal to the second preset time period, which is not limited here.
  • the vehicle terminal when the volume information indicates that the volume of the user terminal continues to increase within the second preset time period, it can be considered that the user is more willing to hear and use the navigation voice of the user terminal, therefore, the vehicle terminal can be turned off. Running navigation application.
  • the volume information indicates that the volume of the user terminal continues to decrease within the second preset time period
  • the power consumption function of the user terminal therefore, can keep running the navigation application program on the vehicle terminal and keep running the navigation application program on the user terminal.
  • the vehicle-mounted terminal runs the navigation application program, and when it is detected that the user terminal in the vehicle starts the navigation application program, the volume information of the user terminal is obtained, and when the volume information represents the volume of the user terminal When the volume of the vehicle-mounted terminal continues to be greater than the first preset time period, close the navigation application running on the vehicle-mounted terminal, or, when the volume information indicates that the volume of the user terminal continues to increase within the second preset time period, close the A navigation application running on an in-vehicle terminal.
  • the volume of the navigation application program running on the user terminal continues to be large or continuously increases, the navigation application program running on the vehicle-mounted terminal is closed, thereby improving the efficiency of navigation switching. Justification to avoid accidental closing of the navigation application.
  • FIG. 13 shows a schematic flowchart of a navigation switching method provided in yet another embodiment of the present application.
  • the navigation switching method is used to automatically close the navigation application program running on the vehicle-mounted terminal when the user terminal starts the navigation application program, thereby realizing adaptive switching of the navigation application, reducing cumbersome operations when the user manually switches, and improving user experience .
  • the navigation switching method is applied to a user terminal, the user terminal is in a vehicle, and the vehicle-mounted terminal runs a navigation application program.
  • the process shown in FIG. 13 will be described in detail below.
  • the navigation The switching method may specifically include the following steps:
  • Step S710 Detect the application running state of the user terminal.
  • the user terminal is connected to the vehicle-mounted terminal of the vehicle, and the vehicle-mounted terminal runs a navigation application program.
  • the user terminal can detect the running state of its application, for example, the user terminal can detect the running state of its navigation application.
  • the running state of the navigation application may include: starting the navigation application, running the navigation application, and closing the navigation application.
  • Step S720 When it is detected that the user terminal starts the navigation application program, output a first message, wherein the first message is used to instruct the vehicle-mounted terminal to close the running navigation application program.
  • the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program, it means that both the vehicle-mounted terminal and the user terminal in the vehicle will run the navigation application program, and there may be repeated navigation instructions. Therefore, The user terminal may output a first message to instruct the vehicle-mounted terminal to close its running navigation application, so as to realize adaptive switching of the navigation application.
  • the user terminal in the vehicle when it is detected that the user terminal in the vehicle does not open the navigation application program, it means that only the vehicle-mounted terminal in the vehicle runs the navigation application program, and there will be no repeated navigation instructions. Therefore, it is possible not to send a message to the vehicle-mounted terminal Keep the car terminal running the navigation application.
  • the first message may include a navigation voice, and when it is detected that the user terminal starts the navigation application, the navigation voice may be output, and correspondingly, when the vehicle terminal receives the navigation voice output by the user terminal, it may Close the navigation application it is running in.
  • the vehicle-mounted terminal and the user terminal establish a connection, and the user terminal can send the first message to the vehicle-mounted terminal through the connection.
  • the vehicle-mounted terminal receives the first message sent by the user terminal, it can Close the navigation application it is running in.
  • the user terminal is directly connected to the vehicle-mounted terminal of the vehicle through Bluetooth or USB. Based on this, when the vehicle-mounted terminal is running the navigation application program, the user terminal can detect its application running status, and when the detected application running status indicates that the navigation application program is started, the first message can be sent via Bluetooth or USB to Vehicle-mounted terminal to instruct the vehicle-mounted terminal to close the navigation application.
  • the user terminal and the vehicle-mounted terminal of the vehicle are connected through a server, that is, the server is connected to the user terminal and the vehicle-mounted terminal respectively.
  • the user terminal can detect the application running status.
  • the detected application running status indicates that the navigation application is started, the first message can be sent to the server, and through the service The terminal sends the first message to the vehicle-mounted terminal to instruct the vehicle-mounted terminal to close the navigation application.
  • the user terminal can send a broadcast message
  • the vehicle-mounted terminal can receive the broadcast message sent by the user terminal.
  • the user terminal can detect its application running status, and when the detected application running status indicates that the navigation application is started, it can send a broadcast message carrying the first message, The vehicle-mounted terminal starts the navigation application program based on the first message in the received broadcast messages.
  • a first message may be directly sent to the vehicle terminal to instruct the vehicle terminal to close the running navigation application.
  • the navigation application opened by the user terminal when it is detected that the user terminal in the vehicle opens the navigation application, it can be detected whether the navigation application opened by the user terminal is consistent with the navigation application run by the vehicle terminal, for example, it can be detected that the navigation application opened by the user terminal Whether the manufacturer to which the navigation application program belongs is consistent with the manufacturer to which the navigation application program operated by the vehicle-mounted terminal belongs, wherein, when it is detected that the navigation application program opened by the user terminal is consistent with the navigation application program operated by the vehicle-mounted terminal, the first message is output, To instruct the vehicle terminal to close the running navigation application.
  • the first message can be output to instruct the vehicle terminal to shut down the running navigation application.
  • the volume information of the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program, it means that both the vehicle terminal and the user terminal in the vehicle will run the navigation application program, and at this time, both the user terminal and the vehicle terminal will output Navigation voice.
  • the volume information of the user terminal when it is different, it may represent different use expectations of the user. Therefore, the volume information of the user terminal may be acquired and processed according to the characteristics of the volume information of the user terminal.
  • the user terminal may pre-store a first preset time period, and the size of the first preset time period may be automatically set by the user terminal or manually set by the user, which is not limited here.
  • the volume information indicates that the volume of the user terminal is continuously greater than the volume of the vehicle-mounted terminal within the first preset time period, it can be considered that the user is more willing to hear and use the navigation voice of the user terminal, so the output For the first message, close the navigation application running on the vehicle terminal.
  • the volume information indicates that the volume of the user terminal is not greater than the volume of the vehicle terminal within the first preset time period, it can be considered that the user is more eager to hear the navigation voice of the vehicle terminal and expects to use the vehicle terminal at the same time.
  • the navigation function of the terminal and the power consumption function of the user terminal therefore, the navigation application program can be kept running on the vehicle terminal and the navigation application program can be kept running on the user terminal.
  • the user terminal may pre-store a second preset time period, and the size of the second preset time period may be automatically set by the vehicle-mounted terminal or manually set by the user, which is not limited here.
  • the first preset time period may be greater than the second preset time period, may be equal to the second preset time period, or may be equal to the second preset time period, which is not limited here.
  • the vehicle terminal when the volume information indicates that the volume of the user terminal continues to increase within the second preset time period, it can be considered that the user is more willing to hear and use the navigation voice of the user terminal, therefore, the vehicle terminal can be turned off. Running navigation application.
  • the volume information indicates that the volume of the user terminal continues to decrease within the second preset time period
  • the power consumption function of the user terminal therefore, can keep running the navigation application program on the vehicle terminal and keep running the navigation application program on the user terminal.
  • a connection is established between the user terminal and the vehicle-mounted terminal, and the user terminal may preset and store a preset condition, which is used as a judgment basis for the user terminal. Therefore, in this embodiment, after the vehicle-mounted terminal closes the running navigation application program, it can also detect the user terminal to determine whether the user terminal satisfies the preset condition.
  • a first message may be sent to the vehicle terminal through the connection between the user terminal and the vehicle terminal to instruct the vehicle terminal to start the navigation application; when the judgment result indicates that the user terminal does not When the preset condition is satisfied, the vehicle-mounted terminal can be kept to close the navigation application program, that is, the second message is not sent to the vehicle-mounted terminal.
  • the navigation end position corresponding to the navigation application running on the user terminal may be acquired, and the obtained navigation end position corresponding to the navigation application running on the user terminal may be used as The first navigation end position.
  • the navigation application program running on the user terminal may be closed, or the user terminal may keep running the navigation application program, which is not limited here.
  • the user terminal after the user terminal obtains the first navigation end position, it can send the second message and the first navigation end position to the vehicle terminal through the connection between the user terminal and the vehicle terminal, so as to instruct the vehicle terminal to start the navigation application program, And the navigation information is generated based on the first navigation end position in the navigation application program of the vehicle-mounted terminal.
  • the navigation switching method detects the application running state of the user terminal, and when it is detected that the user terminal starts the navigation application program, sends a message to the vehicle-mounted terminal, wherein the message is used to instruct the vehicle-mounted terminal to turn off the navigation
  • the application program can automatically close the navigation application program running on the vehicle terminal when the user terminal starts the navigation application program, so as to realize the adaptive switching of the navigation application, reduce the cumbersome operation when the user manually switches, and improve the user experience.
  • FIG. 14 shows a block diagram of a navigation switching device provided by an embodiment of the present application.
  • the navigation switching device 300 is applied to the vehicle-mounted terminal of the above-mentioned vehicle. The following will describe the block diagram shown in FIG.
  • the navigation application running module 310 is used for the vehicle-mounted terminal to run the navigation application.
  • the navigation application closing module 320 is configured to close the navigation application running on the vehicle terminal when it is detected that the user terminal in the vehicle starts the navigation application.
  • the navigation application closing module 320 includes: a first determining submodule, wherein:
  • the first determining submodule is configured to determine that the user terminal in the vehicle is detected to start the navigation application program when the navigation voice output by the user terminal is detected.
  • the vehicle-mounted terminal establishes a connection with the user terminal
  • the navigation application closing module 320 includes: a second determining submodule, wherein:
  • the second determination submodule is configured to determine, through the connection, that the user terminal in the vehicle has started the navigation application.
  • the navigation application closing module 320 includes: a first terminal location acquisition submodule and a first navigation application closing submodule, wherein:
  • the first terminal location acquisition submodule is configured to acquire the navigation terminal location corresponding to the navigation application program running on the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program.
  • the first navigation application shutdown submodule is used to close the navigation terminal position corresponding to the navigation application program running on the user terminal and the navigation terminal position corresponding to the navigation application program running on the vehicle terminal Running navigation application.
  • the navigation application closing module 320 includes: a volume information acquisition submodule, a second navigation application closing submodule and a third navigation application closing submodule, wherein:
  • the volume information acquisition sub-module is used to acquire the volume information of the user terminal when it is detected that the user terminal in the vehicle starts the navigation application program.
  • the second navigation application closing submodule is used to close the navigation running on the vehicle terminal when the volume information indicates that the volume of the user terminal is continuously greater than the volume of the vehicle terminal within the first preset time period application.
  • the third navigation application closing sub-module is configured to close the navigation application running on the vehicle terminal when the volume information indicates that the volume of the user terminal continues to increase within a second preset time period.
  • the navigation switching device 300 also includes: an application opening module, wherein:
  • the application opening module is used to open the navigation application on the vehicle terminal when the user terminal meets the preset condition.
  • the application program opening module includes: a second terminal position acquisition submodule and an application program opening submodule, wherein:
  • the second terminal location acquisition submodule is configured to acquire the navigation terminal location corresponding to the navigation application running on the user terminal as the first navigation terminal location.
  • the application opening sub-module is configured to open a navigation application on the vehicle-mounted terminal, and generate first navigation information based on the first navigation end position on the navigation application of the vehicle-mounted terminal.
  • the navigation switching device 300 also includes: a location acquisition module and a message sending module, wherein:
  • a location acquisition module configured to acquire the location of the vehicle when the vehicle is turned off.
  • a message sending module configured to send a message to the user terminal and close the vehicle-mounted terminal when the position of the vehicle is inconsistent with the second navigation end point, wherein the message is used to instruct the user terminal based on The position of the vehicle and the second navigation end position generate second navigation information, and the second navigation end position is a navigation end position corresponding to a navigation application program run by the vehicle-mounted terminal.
  • FIG. 14 shows a module block diagram of a navigation switching device provided by another embodiment of the present application.
  • the navigation switching device 400 is applied to the above-mentioned user terminal.
  • the user terminal is located in a vehicle, and the vehicle-mounted terminal of the vehicle runs a navigation application program.
  • the following will describe the block diagram shown in FIG. 14 , and the navigation switching device 400 includes: Application running state detection module 410 and message sending module 420, wherein:
  • An application running state detection module 410 configured to detect the application running state of the user terminal.
  • the message sending module 420 is configured to output a first message when it is detected that the user terminal starts the navigation application, wherein the first message is used to instruct the vehicle-mounted terminal to close the running navigation application.
  • the message sending module 420 includes: a first message sending submodule, wherein:
  • the first message sending sub-module is used to output the navigation voice, wherein the navigation voice is used to instruct the vehicle-mounted terminal to close the running navigation application program when receiving the message.
  • the vehicle-mounted terminal establishes a connection with the user terminal
  • the message sending module 420 includes: a second message sending submodule, wherein:
  • the second message sending submodule is configured to send the first message to the vehicle terminal through the connection.
  • the message sending module 420 includes: a submodule for acquiring the position of the navigation end point and a third message sending submodule, wherein:
  • the navigation terminal position acquisition submodule is used to acquire the navigation terminal position corresponding to the navigation application program running on the user terminal and the navigation terminal corresponding to the navigation application program running on the vehicle terminal when it is detected that the user terminal starts the navigation application program. end position.
  • the third message sending sub-module is configured to output the first message when the navigation end position corresponding to the navigation application program running on the user terminal is consistent with the navigation end position corresponding to the navigation application program running on the vehicle terminal.
  • the message sending module 420 includes: a volume information acquisition submodule, a fourth message sending submodule, and a fifth message sending submodule, wherein:
  • the volume information acquisition submodule is configured to acquire the volume information of the user terminal when it is detected that the user terminal starts the navigation application.
  • the fourth message sending sub-module is configured to output the first message when the volume information indicates that the volume of the user terminal is continuously greater than the volume of the vehicle-mounted terminal within a first preset time period.
  • the fifth message sending sub-module is configured to output the first message when the volume information indicates that the volume of the user terminal continues to increase within a second preset time period.
  • the navigation switching device 400 also includes: a message resending module, wherein:
  • a message resending module configured to send a second message to the vehicle-mounted terminal through the connection when the user terminal satisfies a preset condition, wherein the second message is used to instruct the vehicle-mounted terminal to start a navigation application .
  • the message resending module includes: a navigation terminal position acquisition submodule and a message resending submodule, wherein:
  • the navigation end position acquisition submodule is configured to acquire the navigation end position corresponding to the navigation application running on the user terminal as the first navigation end position.
  • the message resending submodule is configured to send a second message and the first navigation end position to the vehicle-mounted terminal through the connection, wherein the second message is used to instruct the vehicle-mounted terminal to start a navigation application, and
  • the navigation application program on the vehicle-mounted terminal generates navigation information based on the first navigation destination position.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
  • FIG. 16 shows a structural block diagram of an electronic device 500 provided by an embodiment of the present application.
  • the electronic device 500 may include the vehicle terminal 100, or may include the user terminal 200, which is not limited here.
  • the electronic device 500 in this application may include one or more of the following components: a processor 510, a memory 520, and one or more application programs, wherein one or more application programs may be stored in the memory 520 and configured to be executed by a or a plurality of processors 510, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 510 may include one or more processing cores.
  • the processor 510 uses various interfaces and lines to connect various parts of the entire electronic device 500, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and calling data stored in the memory 520.
  • the processor 510 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 510 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the content to be displayed
  • the modem is used to handle wireless communication. It can be understood that the above modem may also not be integrated into the processor 510, but implemented by a communication chip alone.
  • the memory 520 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Memory 520 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 520 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area can also store data created by the electronic device 500 during use (such as phonebook, audio and video data, chat record data) and the like.
  • FIG. 17 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program codes are stored in the computer-readable medium 600, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 600 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer-readable storage medium 600 has a storage space for program code 610 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. Program code 610 may, for example, be compressed in a suitable form.
  • the vehicle-mounted navigation runs to the navigation application program, and when it is detected that the user terminal in the vehicle starts the navigation application program, the vehicle-mounted terminal is turned off to run.
  • Navigation application program so as to realize the adaptive switching of navigation application, reduce the cumbersome operation when the user manually switches, and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Navigation (AREA)

Abstract

一种导航切换方法、装置、电子设备以及存储介质,涉及车机交互技术领域。该方法包括:车载终端运行导航应用程序(S110),当检测到处于车辆内的用户终端开启导航应用程序时,关闭在车载终端运行的导航应用程序(S120)。通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。

Description

导航切换方法、装置、电子设备以及存储介质
相关申请的交叉引用
本申请要求于2021年06月23日提交的申请号为CN202110697885.5的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。
技术领域
本申请涉及车机交互技术领域,更具体地,涉及一种导航切换方法、装置、电子设备以及存储介质。
背景技术
随着车辆技术的不断发展,车辆逐渐成为了人们出行的主要交通工具,用户对于车辆的要求也越来越高。目前,导航功能在车辆的行驶过程中的使用频率也越来越高,其中,用户终端和车载终端均具备导航功能,且用户终端和车载终端均可以运行导航应用程序。
发明内容
鉴于上述问题,本申请提出了一种导航切换方法、装置、电子设备以及存储介质,以解决上述问题。
第一方面,本申请实施例提供了一种导航切换方法,应用于车辆的车载终端,所述方法包括:所述车载终端运行导航应用程序;当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
第二方面,本申请实施例提供了一种导航切换方法,应用于用户终端,所述用户终端处于车辆内,所述车辆的车载终端运行导航应用程序,所述方法包括:检测所述用户终端的应用运行状态;当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
第三方面,本申请实施例提供了一种导航切换装置,应用于车辆的车载终端,所述装置包括:导航应用程序运行模块,用于所述车载终端运行导航应用程序;导航应用程序关闭模块,用于当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
第四方面,本申请实施例提供了一种导航切换装置,应用于用户终端,所述用户终端处于车辆内,所述车辆的车载终端运行导航应用程序,所述装置包括:应用运行状态检测模块,用于检测所述用户终端的应用运行状态;消息发送模块,用于当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
第五方面,本申请实施例提供了一种电子设备,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。
第六方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1示出了可用于本申请实施例提供的导航切换方法的一种应用环境示意图;
图2示出了可用于本申请实施例提供的导航切换方法的又一种应用环境示意图;
图3示出了本申请一个实施例提供的导航切换方法的流程示意图;
图4示出了本申请实施例提供的车辆内的第一种示意图;
图5示出了本申请实施例提供的车辆内的第二种示意图;
图6示出了本申请实施例提供的车辆内的第三种示意图;
图7示出了本申请又一个实施例提供的导航切换方法的流程示意图;
图8示出了本申请再一个实施例提供的导航切换方法的流程示意图;
图9示出了本申请的图8所示的导航切换方法的步骤S430的流程示意图;
图10示出了本申请另一个实施例提供的导航切换方法的流程示意图;
图11示出了本申请又再一个实施例提供的导航切换方法的流程示意图;
图12示出了本申请又另一个实施例提供的导航切换方法的流程示意图;
图13示出了本申请又又再一个实施例提供的导航切换方法的流程示意图;
图14示出了本申请一个实施例提供的导航切换装置的模块框图;
图15示出了本申请又一个实施例提供的导航切换装置的模块框图;
图16示出了本申请实施例用于执行根据本申请实施例的导航切换方法的电子设备的框图;
图17示出了本申请实施例的用于保存或者携带实现根据本申请实施例的导航切换方法的程序代码的存储单元。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
目前,导航功能在车辆的行驶过程中的使用频率也越来越高,其中,用户终端和车载终端均具备导航功能,当用户终端和车载终端均运行导航应用程序时,会造成不必要的资源浪费,同时也会造成对司机的打扰。例如,当用户终端和车载终端同时运行导航应用程序时,常常出现用户终端的导航语音和车载终端的导航语音重复的情况,即,一句导航指示会被重复念两次,并且,若用户需要手动关闭车载导航时,由于车载导航关闭导航应用程序的路径比较长,入口也很深,会造成用户不方便寻找的问题。
针对上述问题,发明人经过长期的研究发现,并提出了本申请实施例提供的导航切换方法、装置、电子设备以及存储介质,通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。其中,具体的导航切换方法在后续的实施例中进行详细的说明。
下面将针对可用于本申请实施例提供的导航切换方法的应用环境进行说明。
请参阅图1,图1示出了可用于本申请实施例提供的导航切换方法的一种应用环境示意图。如图1所示,该应用环境包括用户终端100和车载终端(以车载终端为车辆进行图示)200,其中,用户终端100可以和车载终端200连接,以实现用户终端100和车载终端200之间的数据交互。作为一种方式,该用户终端100与车载终端200可以通过蓝牙连接,也可以通过通用串行总线(Universal Serial Bus,USB)链接等,在此不做限定。
请参阅图2,图2示出了可用于本申请实施例提供的导航切换方法的又一种应用环境示意图。如图2所示,该应用环境包括用户终端100和车载终端(以车载终端为车辆进行图示)200。作为一种方式,车载终端200可以发出WLAN广播消息、蓝牙广播消息等,当用户终端100位于车载终端200的广播范围内(图2所示的虚线框)时,则可以接收车载终端200发出的WLAN广播消息、蓝牙广播消息等。作为另一种方式,用户终端100可以发出WLAN广播消息、蓝牙广播消息等,当车载终端200位于用户终端100的广播范围内(图2所示的虚线框)时,则可以接收用户终端100发出的WLAN广播消息、蓝牙广播消息等。
其中,用户终端100的数量可以为一个,也可以为多个,车载终端200的数量可以为一个,也可以为多个,在此不做限定。
其中,该用户终端100可以包括智能手机、平板电脑、穿戴式电子设备等,车载终端200可以包括智能手机、车机装置等,在此不做限定。
请参阅图3,图3示出了本申请一个实施例提供的导航切换方法的流程示意图。所述导航切换方法用于通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。在具体的实施例中,该导航切换方法应用于车辆的车载终端,下面将针对图3所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S110:所述车载终端运行导航应用程序。
在本实施例中,车辆的车载终端运行有导航应用程序。作为一种方式,车载终端可以在前台运行导航应用程序,可以在后台运行导航应用程序,也可以在前台和后台切换运行导航应用程序,在此不做限定。
在一些实施方式中,车辆的车载终端在运行导航应用程序时,该车辆可以处于启动状态、可以处于行驶状态、也可以处于停车状态,在此不做限定。
步骤S120:当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
在本实施例中,车载终端在运行导航应用程序时,可以对处于车辆内的用户终端是否开启导航应用程序进行检测。其中,当检测到处于车辆内的用户终端开启导航应用程序时,则表征该车辆内的车载终端和用户终端均会运行导航应用程序,可能会出现导航指令重复的情况,因此,可以关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换。其中,当检测到处于车辆内的用户终端未开启导航应用程序时,则表征该车辆内仅车载终端运行导航应用程序,不会出现导航指令重复的情况,因此,可以继续保持车载终端运行导航应用程序。
作为第一种方式,用户终端和车辆的车载终端通过蓝牙或者USB的方式直接连接。基于此,车载终端在运行导航应用程序的过程中,可以检测是否接收到用户终端直接发送的用于表征该用户终端开启导航应用程序的消息,其中,当确定接收到用户终端直接发送的用于表征该用户终端开启导航应用程序的消息时,则可以确定该车辆内的用户终端开启导航应用程序,可以关闭在车载终端运 行的应用程序。
作为第二种方式,用户终端和车辆的车载终端通过服务端连接,即服务端分别与用户终端和车载终端连接。基于此,车载终端在运行导航应用程序的过程中,可以检测是否接收到服务端发送的用于表征该用户终端开启导航应用程序的消息,其中,该消息由用户终端开启导航应用程序时发送至服务端,当确定接收到服务端发送的用于表征该用户终端开启导航应用程序的消息时,则可以确定该车辆内的用户终端开启导航应用程序,可以关闭在车载终端运行的应用程序。
作为第三种方式,用户终端可以发送广播消息,车载终端可以接收用户终端发送的广播消息。基于此,车载终端在运行导航应用程序的过程中,可以检测是否接收到用户终端发送的携带有用于表征该用户终端开启导航应用程序的广播,其中,当确定接收到用户终端发送的携带有用于表征该用户终端开启导航应用程序的广播时,则可以确定该车辆内的用户终端开启导航应用程序,可以关闭在车载终端运行的应用程序。
作为第四种方式,车载终端在运行导航应用程序的过程中,可以判断是否检测到用户终端输出的导航语音,其中,当检测到用户终端输出的导航语音时,则可以确定该车辆内的用户终端开启导航应用程序,可以关闭在车载终端运行的应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以直接关闭车载终端运行的导航应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以检测该用户终端开启的导航应用程序是否与车载终端运行的导航应用程序一致,例如,可以检测该用户终端开启的导航应用程序所属的厂家是否与车载终端运行的导航应用程序所属的厂家一致,其中,当检测到该用户终端开启的导航应用程序与车载终端运行的导航应用程序一致时,则可以关闭在该车载终端运行的导航应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以检测用户终端开启的导航应用程序所指示的导航终点位置是否与车载终端运行的导航应用程序所指示的导航终点位置一致,其中,当检测到用户终端开启的导航应用程序所指示的导航终点位置与车载终端运行的导航应用程序所指示的导航终点位置一致时,则可以关闭在该车载终端运行的导航应用程序。
请参阅图4-6,图4示出了本申请实施例提供的车辆内的第一种示意图、图5示出了本申请实施例提供的车辆内的第二种示意图、图6示出了本申请实施例提供的车辆内的第三种示意图。如图4-图6所示,该车辆内包括处于车辆内的用户终端100和该车辆的车载终端200,如图4所示,当车载终端200运行导航应用程序,且该用户终端100(图未示)未开启导航应用程序时,则保持在该车载终端200运行的导航应用程序;如图5所示,当车载终端200运行导航应用程序,且该用户终端100开启导航应用程序时,则关闭在该车载终端200运行的导航应用程序,如图6所示,即从图5所示切换为图6所示。
本申请一个实施例提供的导航切换方法,车载终端运行导航应用程序,当检测到处于车辆内的用户终端开启导航应用程序时,关闭在车载终端运行的导航应用程序,从而通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。
请参阅图7,图7示出了本申请又一个实施例提供的导航切换方法的流程示意图。该方法应用于上述车辆的车载终端,下面将针对图7所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S210:所述车载终端运行导航应用程序。
步骤S220:当检测到所述用户终端输出的导航语音时,确定检测到处于所述车辆内的用户终端开启导航应用程序。
在本实施例中,车载终端在运行导航应用程序的过程中,可以判断是否检测到用户终端输出的导航语音,其中,当检测到用户终端输出的导航语音时,则可以确定该车辆内的用户终端开启导航应用程序。例如,当检测到用户终端输出的“前方左转”、“前方直行”等导航语音时,可以确定检测到处于车辆内的用户终端开启导航应用程序。
步骤S230:关闭在所述车载终端运行的导航应用程序。
其中,步骤S230的具体描述请参阅步骤S120,在此不再赘述。
本申请又一个实施例提供的导航切换方法,车载终端运行导航应用程序,当检测到用户终端输出的导航语音时,确定检测到处于车辆内的用户终端开启导航应用程序,关闭在车载终端运行的导航应用程序。相较于图3所示的导航切换方法,本实施例还在检测到用户终端输出的导航语音时, 确定该用户终端开启导航应用程序,从而提升导航应用程序的运行判断的准确性。
请参阅图8,图8示出了本申请再一个实施例提供的导航切换方法的流程示意图。该方法应用于上述车辆的车载终端,在本实施例中,车载终端和用户终端建立有连接,下面将针对图8所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S310:所述车载终端运行导航应用程序。
其中,步骤S310的具体描述请参阅步骤S110,在此不再赘述。
步骤S320:通过所述连接确定检测到处于所述车辆内的用户终端开启导航应用程序。
在本实施例中,用户终端和车辆的车载终端可以通过蓝牙或者USB的方式直接连接。
基于此,作为一种方式,车载终端在运行导航应用程序的过程中,可以检测是否接收到用户终端直接发送的用于表征该用户终端开启导航应用程序的消息,当确定接收到用户终端直接发送的用于表征该用户终端开启导航应用程序的消息时,则可以确定该车辆内的用户终端开启导航应用程序。
基于此,作为又一种方式,车载终端在运行导航应用程序的过程中,可以向用户终端发送查询信息,其中,该查询信息用于指示用户终端反馈是否开启导航应用程序,当查询到用户终端开启导航应用程序时,则可以确定该车辆内的用户终端开启导航应用程序。
步骤S330:关闭在所述车载终端运行的导航应用程序。
其中,步骤S330的具体描述请参阅步骤S120,在此不再赘述。
本申请再一个实施例提供的导航切换方法,车载终端运行导航应用程序,当通过连接确定检测到处于车辆内的用户终端开启导航应用程序时,确定检测到处于车辆内的用户终端开启导航应用程序,关闭在车载终端运行的导航应用程序。相较于图3所示的导航切换方法,本实施例还在通过连接确定检测到用户终端开启导航应用程序时,确定该用户终端开启导航应用程序,从而提升导航应用程序的运行判断的准确性。
请参阅图9,图9示出了本申请另一个实施例提供的导航切换方法的流程示意图。该方法应用于上述车辆的车载终端,在本实施例中,车载终端与用户终端建立有连接,下面将针对图9所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S410:所述车载终端运行导航应用程序。
步骤S420:当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
其中,步骤S410-步骤S420的具体描述请参阅步骤S110-步骤S120,在此不再赘述。
步骤S430:当所述用户终端满足预设条件时,在所述车载终端开启导航应用程序。
在一些实施方式中,车载终端可以预先设置并存储有预设条件,该预设条件用于作为用户终端的判断依据。因此,在本实施例中,车载终端在关闭运行的导航应用程序之后,还可以对用户终端进行检测,以判断该用户终端是否满足预设条件。其中,当判断结果表征用户终端满足预设条件时,则可以在车载终端开启导航应用程序;当判断结果表征用户终端不满足预设条件时,则可以保持车载终端关闭导航应用程序。
在一些实施方式中,在车载终端开启导航应用程序可以包括:直接唤醒之前关闭的导航应用程序,并直接根据车载终端的当前位置和之前确定的导航终点位置生成导航信息;或者,重新开启导航应用程序,并根据车载终端的当前位置和重新输入的导航终点位置生成导航信息。
作为第一种方式,当用户终端中的导航行程未结束,且用户终端的信号强度低于预设信号强度时,可以确定用户终端满足预设条件。具体地,车载终端或者用户终端可以预先设置并存储有预设信号强度,该预设信号强度用于作为用户终端的信号强度的判断依据,因此,在本实施例中,在车载终端关闭导航应用程序且用户终端运行导航应用程序的过程中,可以对用户终端的信号强度进行检测。其中,当检测到用户终端的信号强度低于预设信号强度时,则可以确定该用户终端的信号强度不足以支撑用户终端正常运行导航应用程序,因此,可以在车载终端开启导航应用程序。此时,可以关闭在用户终端运行的导航应用程序,或者,可以继续运行在用户终端运行的导航应用程序,并在用户终端的信号强度从低于预设信号强度变为不低于预设信号强度时,则可以开启关闭在车载终端运行的导航应用程序。其中,当检测到用户终端的信号强度不低于预设信号强度时,则可以保持在用户终端运行导航应用程序,并保持车载终端关闭导航应用程序。
作为第二种方式,当用户终端中的导航行程未结束,且用户终端关闭导航应用程序时,可以确定用户终端满足预设条件。具体地,在车载终端关闭导航应用程序且用户终端运行导航应用程序的过程中,可以对用户终端是否关闭导航应用程序进行检测。其中,当检测到用户终端关闭导航应用程序时,则可以在车载终端开启导航应用程序。其中,当检测到用户终端未关闭导航应用程序时,则可以保持在车载终端关闭导航应用程序。
在一些实施方式中,当检测到用户终端关闭导航应用程序时,可以检测该用户终端所在的当前位置与该用户终端所关闭的导航应用程序所指示的导航终点位置是否一致,其中,当检测到用户终端所在的当前 位置与该用户终端所关闭的导航应用程序所指示的导航终点位置一致时,则可以不在车载终端开启导航应用程序,当检测到用户终端所在的当前位置与该用户终端所关闭的导航应用程序所指示的导航终点位置不一致时,则可以在车载终端开启导航应用程序。
作为第三种方式,当用户终端中的导航行程未结束,且用户终端与车载终端断开连接时,可以确定用户终端满足预设条件。具体地,用户终端与车载终端可以处于连接状态,例如,用户终端与车载终端可以通过蓝牙或者USB的方式处于连接状态,在车载终端关闭导航应用程序且用户终端运行导航应用程序的过程中,可以对用户终端与车载终端是否断开连接进行检测。其中,当检测到用户终端与车载终端断开连接时,则可以在车载终端开启导航应用程序。其中,当检测到用户终端与车载终端未断开连接时,则可以保持在车载终端关闭导航应用程序。
作为第四种方式,当用户终端中的导航行程未结束,且用户终端的剩余电量低于预设电量时,可以确定用户终端满足预设条件。具体地,车载终端或者用户终端可以预先设置并存储有预设电量,该预设电量用于作为用户终端的剩余电量的判断依据,因此,在本实施例中,在车载终端关闭导航应用程序且用户终端运行导航应用程序的过程中,可以对用户终端的剩余电量进行检测。其中,当检测到用户终端的剩余电量低于预设电量时,则可以确定用户终端的剩余电量不足以支撑用户终端正常运行导航应用程序,因此,可以在车载终端开启导航应用程序并关闭用户终端运行的导航应用程序。其中,当检测到用户终端的剩余电量不低于预设电量时,则可以保持在用户终端运行导航应用程序,并保持车载终端关闭导航应用程序。
请参阅图10,图10示出了本申请的图9所示的导航切换方法的步骤S430的流程示意图。下面将针对图10所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:
步骤S431:获取所述用户终端运行的导航应用程序对应的导航终点位置,作为第一导航终点位置。
在一些实施方式中,当确定用户终端满足预设条件时,则可以获取用户终端运行的导航应用程序对应的导航终点位置,并将所获取的用户终端运行的导航应用程序对应的导航终点位置作为第一导航终点位置。其中,在获取用户终端运行的导航应用程序对应的导航终点位置后,可以关闭用户终端运行的导航应用程序,也可以保持用户终端运行导航应用程序,在此不做限定。
步骤S432:在所述车载终端开启导航应用程序,并在所述车载终端的导航应用程序基于所述第一导航终点位置生成第一导航信息。
在一些实施方式中,车载终端在获取第一导航终点位置后,可以在车载终端开启导航应用程序,并在车载终端的导航应用程序中基于第一导航终点位置,生成第一导航信息。具体地,车载终端在获取第一导航终点位置后,可以自动在车载终端开启导航应用程序以及获取其当前位置,然后在车载终端的导航应用程序中将其当前位置作为起点位置,并基于起点位置和第一导航终点位置,生成第一导航信息,其中,该第一导航信息包括从车载终端的当前位置到第一导航终点位置的导航路线。
作为一种方式,车载终端可以包括定位模块,车载终端可以通过其定位模块获取车辆所处的当前位置,然后在车载终端的导航应用程序中将检测到的当前位置作为起点位置,并基于起点位置和第一导航终点位置,生成第一导航信息。其中,该定位模块可以包括但不限于:北斗定位模块、全球定位系统(global positioning system,GPS)。
步骤S440:当所述车辆熄火时,获取所述车辆所处的位置。
在本实施例中,车辆的车载终端在运行导航应用程序的过程中,当车辆熄火时,可以认为用户已行车到达预期的目的地,此时,可以获取车辆所处的位置。其中,车载终端可以通过其包括的定位模块获取车辆所处的位置。
在一些实施方式中,当车辆熄火时,可以对车辆在预设时长内的前进距离进行检测,其中,当检测到车辆在预设时长内的前进距离小于预设前进距离时,则可以确定该车辆在已熄火并不再前进,即已行车到达预期的目的地,则可以获取车辆所处的位置;当检测到车辆在预设时长内的前进距离不小于预设前进距离时,则可以确定该车辆仅是暂时熄火,并未行车到达预期的目的地,则可以不获取车辆所处的位置。
步骤S450:当所述车辆所处的位置与第二导航终点位置不一致时,发送消息至所述用户终端并关闭所述车载终端,其中,所述消息用于指示所述用户终端基于所述车辆所处的位置和所述第二导航终点位置生成第二导航信息,所述第二导航终点位置为所述车载终端运行的导航应用程序对应的导航终点位置。
在一些实施方式中,车载终端在运行导航应用程序的过程中,可以将该导航应用程序对应的导航终点位置作为第二导航终点位置。其中,该第二导航终点位置用于作为车辆所处的位置的判断依据,因此,在本实施例中,在获取车辆所处的位置后,可以将车辆所处的位置和第二导航终点位置进行比较,以判断该车辆所处的位置与第二导航终点位置是否一致。其中,当车辆所处的位置与第二导航终点位置不一致时,表征该车辆所能行进的位置无法到达第二导航终点位置,因此,可以发送消息至用户终端并关闭车载终端,其中,该消息用于指示用户终端基于车辆所处的位置和第二导航终点位置生成第二导航信息,此时,该用户终端可以运行导航应用程序并生成第二导航信息,该第二导航信息包括从车辆所处的位置到第二导航终 点位置的导航路线。其中,当车辆所处的位置与第二导航终点位置一致时,表征该车辆所处的位置已经位于用户预期到达的目的地,则可以不再使用车载终端或用户终端的导航功能,即在车载终端关闭导航应用程序且不在用户终端启动导航应用程序。
在一些实施方式中,当车辆所在处的位置与第二导航终点位置之间的距离小于预设距离时,则可以认为车辆所处的位置与第二导航终点位置一致。例如,该预设距离可以包括10米、20米等,在此不做限定。
本申请另一个实施例提供的导航切换方法,车载终端运行导航应用程序,当检测到处于车辆内的用户终端开启导航应用程序时,关闭在车载终端运行的导航应用程序,当用户终端满足预设条件时,在车载终端开启导航应用程序,当车辆熄火时,获取车辆所处的位置,当车辆所处的位置与第二导航终点位置不一致时,发送第二消息至用户终端并关闭车载终端,其中,该第二消息用于指示用户终端基于车辆所处的位置和第二导航终点位置生成第二导航信息,该第二导航终点位置为车载终端运行的导航应用程序对应的导航终点位置。相较于图3所示的导航切换方法,本实施例还在关闭车载终端运行的导航应用程序时,若用户终端满足预设条件则重新在车载终端开启该导航应用程序,另外,在通过车载导航运行导航应用程序的过程中,若车辆熄火时所处的位置与导航应用程序所指示的位置不同时,则切换为用户终端运行导航应用程序并生成导航信息,从而提升导航应用的自适应来回切换。
请参阅图11,图11示出了本申请又再一个实施例提供的导航切换方法的流程示意图。该方法应用于上述车辆的车载终端,下面将针对图11所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S510:所述车载终端运行导航应用程序。
其中,步骤S510的具体描述请参阅步骤S110,在此不再赘述。
步骤S520:当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端运行的导航应用程序对应的导航终点位置。
其中,当检测到处于车辆内的用户终端开启导航应用程序时,则表征该车辆内的车载终端和用户终端均会运行导航应用程序,此时,如果用户终端运行的导航应用程序对应的导航终点位置和车载终端运行的导航应用程序对应的导航终点位置一致时,则可能出现导航指令重复的情况,因此,仅保留其中一个终端运行导航应用程序便足够;如果用户终端运行的导航应用程序对应的导航终点位置和车载终端运行的导航应用程序对应的导航终点位置不一致时,则不会出现导航指令重复的情况,且用户可能期望获取到两个不同位置的导航路线,因此,可以同时保留两个终端运行的导航应用程序。
因此,在本实施例中,当检测到处于车辆内的用户终端开启导航应用程序时,可以获取用户终端运行的导航应用程序对应的导航终点位置和车载终端运行的导航应用程序对应的导航终点位置进行比较,并根据比较结果进行不同的处理。
步骤S530:当所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置一致时,关闭在所述车载终端运行的导航应用程序。
在一些实施方式中,当确定用户终端运行的导航应用程序对应的导航终点位置与车载终端运行的导航应用程序对应的导航终点位置一致时,则确定可能出现导航指令重复的情况,可以关闭在车载终端运行的导航应用程序,避免导航语音的重复播报对用户的打扰。
本申请又再一个实施例提供的导航切换方法,车载终端运行导航应用程序,当检测到处于车辆内的用户终端开启导航应用程序时,获取用户终端运行的导航应用程序对应的导航终点位置,当用户终端运行的导航应用程序对应的导航终点位置与车载终端运行的导航应用程序对应的导航终点位置一致时,关闭在车载终端运行的导航应用程序。相较于图3所示的导航切换方法,本实施例还在用户终端运行的导航应用程序对应的导航终点位置与车载终端运行的导航应用程序对应的导航终点位置一致时,关闭在车载终端运行的导航应用程序,从而避免导航应用程序的误关闭。
请参阅图12,图12示出了本申请又另一个实施例提供的导航切换方法的流程示意图。该方法应用于上述车辆的车载终端,下面将针对图12所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S610:所述车载终端运行导航应用程序。
其中,步骤S610的具体描述请参阅步骤S110,在此不再赘述。
步骤S620:当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端的音量信息。
其中,当检测到处于车辆内的用户终端开启导航应用程序时,则表征该车辆内的车载终端和用户终端均会运行导航应用程序,此时,用户终端和车载终端均会输出导航语音。其中,用户终端的音量信息不同时,可能表征用户不同的使用期望,因此,可以获取用户终端的音量信息,并根据用户终端的音量信息的特征进行的处理。
步骤S630:当所述音量信息表征所述用户终端的音量在第一预设时间段内持续大于所述车载终端的音量时,关闭在所述车载终端运行的导航应用程序。
在本实施例中,车载终端可以预先存储有第一预设时间段,该第一预设时间段的大小可以由车载终端自动设置,也可以由用户手动设置,在此不做限定。
在一些实施方式中,当该音量信息表征用户终端的音量在第一预设时间段内持续大于车载终端的音量时,可以认为用户更加期望听到并使用用户终端的导航语音,因此,可以关闭在车载终端运行的导航应用程序。
在一些实施方式中,当该音量信息表征用户终端的音量在第一预设时间段内持续不大于车载终端的音量时,可以认为用户更加期望听到车载终端的导航语音,并期望同时使用车载终端的导航功能和用户终端的功耗功能,因此,可以保持在车载终端运行导航应用程序以及保持在用户终端运行导航应用程序。
步骤S640:当所述音量信息表征所述用户终端的音量在第二预设时间段内持续增大时,关闭在所述车载终端运行的导航应用程序。
在本实施例中,车载终端可以预先存储有第二预设时间段,该第二预设时间段的大小可以由车载终端自动设置,也可以由用户手动设置,在此不做限定。其中,该第一预设时间段可以大于第二预设时间段、可以等于第二预设时间段、也可以等于第二预设时间段,在此不做限定。
在一些实施方式中,当该音量信息表征用户终端的音量在第二预设时间段内持续增大时,可以认为用户更加期望听到并使用用户终端的导航语音,因此,可以关闭在车载终端运行的导航应用程序。
在一些实施方式中,当该音量信息表征用户终端的音量在第二预设时间段内持续减小时,可以认为用户更加期望听到车载终端的导航语音,并期望同时使用车载终端的导航功能和用户终端的功耗功能,因此,可以保持在车载终端运行导航应用程序以及保持在用户终端运行导航应用程序。
本申请又另一个实施例提供的导航切换方法,车载终端运行导航应用程序,当检测到处于车辆内的用户终端开启导航应用程序时,获取用户终端的音量信息,当音量信息表征用户终端的音量在第一预设时间段内持续大于车载终端的音量时,关闭在车载终端运行的导航应用程序,或者,当音量信息表征用户终端的音量在第二预设时间段内持续增大时,关闭在车载终端运行的导航应用程序。相较于图3所示的导航切换方法,本实施例还在用户终端运行的导航应用程序的音量持续较大或者持续增大时,关闭在车载终端运行的导航应用程序,从而提升导航切换的合理性,以避免导航应用程序的误关闭。
请参阅图13,图13示出了本申请又又再一个实施例提供的导航切换方法的流程示意图。所述导航切换方法用于通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。在具体的实施例中,该导航切换方法应用于用户终端,该用户终端处于车辆内,该车辆的车载终端运行导航应用程序,下面将针对图13所示的流程进行详细的阐述,所述导航切换方法具体可以包括以下步骤:
步骤S710:检测所述用户终端的应用运行状态。
在本实施例中,用户终端与车辆的车载终端连接,该车载终端运行有导航应用程序。
在一些实施方式中,用户终端可以对其应用运行状态进行检测,例如,用户终端可以对其导航应用程序的运行状态进行检测。其中,导航应用程序的运行状态可以包括:开启导航应用程序、运行导航应用程序以及关闭导航应用程序。
步骤S720:当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
在本实施例中,当检测到处于车辆内的用户终端开启导航应用程序时,则表征该车辆内的车载终端和用户终端均会运行导航应用程序,可能会出现导航指令重复的情况,因此,用户终端可以输出第一消息,以指示车载终端关闭其运行的导航应用程序,从而实现导航应用的自适应切换。其中,当检测到处于车辆内的用户终端未开启导航应用程序时,则表征该车辆内仅车载终端运行导航应用程序,不会出现导航指令重复的情况,因此,可以不发送消息至车载终端以保持车载终端运行导航应用程序。
在一些实施方式中,第一消息可以包括导航语音,则当检测到用户终端开启导航应用程序时,可以输出导航语音,相应地,车载终端在接收到该用户终端输出的导航语音时,则可以关闭其所运行的导航应用程序。
在一些实施方式中,车载终端和用户终端建立有连接,则用户终端可以通过该连接向车载终端发送第一消息,相应地,车载终端在接收到该用户终端发送的第一消息时,则可以关闭其所运行的导航应用程序。
作为第一种方式,用户终端和车辆的车载终端通过蓝牙或者USB的方式直接连接。基于此,车载终端在运行导航应用程序的过程中,用户终端可以检测其应用运行状态,当检测到的应用运行状 态表征开启导航应用程序时,则可以通过蓝牙或者USB的方式发送第一消息至车载终端,以指示车载终端关闭导航应用程序。
作为第二种方式,用户终端和车辆的车载终端通过服务端连接,即服务端分别与用户终端和车载终端连接。基于此,车载终端在运行导航应用程序的过程中,用户终端可以检测其应用运行状态,当检测到的应用运行状态表征开启导航应用程序时,则可以发送第一消息至服务端,并通过服务端将该第一消息发送至车载终端,以指示车载终端关闭导航应用程序。
在一些实施方式中,用户终端可以发送广播消息,车载终端可以接收用户终端发送的广播消息。基于此,车载终端在运行导航应用程序的过程中,用户终端可以检测其应用运行状态,当检测到的应用运行状态表征开启导航应用程序时,则可以发送携带有该第一消息的广播消息,车载终端基于接收到的广播消息中的第一消息开启导航应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以直接发送第一消息至车载终端,以指示车载终端关闭运行的导航应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以检测该用户终端开启的导航应用程序是否与车载终端运行的导航应用程序一致,例如,可以检测该用户终端开启的导航应用程序所属的厂家是否与车载终端运行的导航应用程序所属的厂家一致,其中,当检测到该用户终端开启的导航应用程序与车载终端运行的导航应用程序一致时,则输出第一消息,以指示车载终端关闭运行的导航应用程序。
在一些实施方式中,当检测到车辆内的用户终端开启导航应用程序时,可以检测用户终端开启的导航应用程序所指示的导航终点位置是否与车载终端运行的导航应用程序所指示的导航终点位置一致,其中,当检测到用户终端开启的导航应用程序所指示的导航终点位置与车载终端运行的导航应用程序所指示的导航终点位置一致时,则可以输出第一消息,以指示车载终端关闭运行的导航应用程序。
在一些实施方式中,当检测到处于车辆内的用户终端开启导航应用程序时,则表征该车辆内的车载终端和用户终端均会运行导航应用程序,此时,用户终端和车载终端均会输出导航语音。其中,用户终端的音量信息不同时,可能表征用户不同的使用期望,因此,可以获取用户终端的音量信息,并根据用户终端的音量信息的特征进行的处理。
在本实施例中,用户终端可以预先存储有第一预设时间段,该第一预设时间段的大小可以由用户终端自动设置,也可以由用户手动设置,在此不做限定。
在一些实施方式中,当该音量信息表征用户终端的音量在第一预设时间段内持续大于车载终端的音量时,可以认为用户更加期望听到并使用用户终端的导航语音,因此,可以输出第一消息,则关闭在车载终端运行的导航应用程序。在一些实施方式中,当该音量信息表征用户终端的音量在第一预设时间段内持续不大于车载终端的音量时,可以认为用户更加期望听到车载终端的导航语音,并期望同时使用车载终端的导航功能和用户终端的功耗功能,因此,可以保持在车载终端运行导航应用程序以及保持在用户终端运行导航应用程序。
在本实施例中,用户终端可以预先存储有第二预设时间段,该第二预设时间段的大小可以由车载终端自动设置,也可以由用户手动设置,在此不做限定。其中,该第一预设时间段可以大于第二预设时间段、可以等于第二预设时间段、也可以等于第二预设时间段,在此不做限定。在一些实施方式中,当该音量信息表征用户终端的音量在第二预设时间段内持续增大时,可以认为用户更加期望听到并使用用户终端的导航语音,因此,可以关闭在车载终端运行的导航应用程序。在一些实施方式中,当该音量信息表征用户终端的音量在第二预设时间段内持续减小时,可以认为用户更加期望听到车载终端的导航语音,并期望同时使用车载终端的导航功能和用户终端的功耗功能,因此,可以保持在车载终端运行导航应用程序以及保持在用户终端运行导航应用程序。
在一些实施方式中,用户终端和车载终端建立有连接,用户终端可以预先设置并存储有预设条件,该预设条件用于作为用户终端的判断依据。因此,在本实施例中,车载终端在关闭运行的导航应用程序之后,还可以对用户终端进行检测,以判断该用户终端是否满足预设条件。其中,当判断结果表征用户终端满足预设条件时,则可以通过该用户终端和车载终端的连接向车载终端发送第一消息,以指示该车载终端开启导航应用程序;当判断结果表征用户终端不满足预设条件时,则可以保持车载终端关闭导航应用程序,即不发送第二消息至车载终端。
在一些实施方式中,当确定用户终端满足预设条件时,则可以获取用户终端运行的导航应用程序对应的导航终点位置,并将所获取的用户终端运行的导航应用程序对应的导航终点位置作为第一导航终点位置。其中,在获取用户终端运行的导航应用程序对应的导航终点位置后,可以关闭用户终端运行的导航应用程序,也可以保持用户终端运行导航应用程序,在此不做限定。
在一些实施方式中,用户终端在获取第一导航终点位置后,可以通过用户终端与车载终端的连接将第 二消息和第一导航终点位置发送至车载终端,以指示车载终端开启导航应用程序,并在车载终端的导航应用程序中基于第一导航终点位置,生成导航信息。
本申请又又再一个实施例提供的导航切换方法,检测用户终端的应用运行状态,当检测到用户终端开启导航应用程序时,发送消息至车载终端,其中,该消息用于指示车载终端关闭导航应用程序,从而通过在用户终端开启导航应用程序时,自动关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。
请参阅图14,图14示出了本申请一个实施例提供的导航切换装置的模块框图。该导航切换装置300应用于上述车辆的车载终端,下面将针对图14所示的框图进行阐述,所述导航切换装置300包括:导航应用程序运行模块310和导航应用程序关闭模块320,其中:
导航应用程序运行模块310,用于所述车载终端运行导航应用程序。
导航应用程序关闭模块320,用于当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
进一步地,所述导航应用程序关闭模块320包括:第一确定子模块,其中:
第一确定子模块,用于当检测到所述用户终端输出的导航语音时,确定检测到处于所述车辆内的用户终端开启导航应用程序。
进一步地,所述车载终端和所述用户终端建立有连接,所述导航应用程序关闭模块320包括:第二确定子模块,其中:
第二确定子模块,用于通过所述连接确定检测到处于所述车辆内的用户终端开启导航应用程序。
进一步地,所述导航应用程序关闭模块320包括:第一终点位置获取子模块和第一导航应用程序关闭子模块,其中:
第一终点位置获取子模块,用于当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端运行的导航应用程序对应的导航终点位置。
第一导航应用程序关闭子模块,用于当所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置一致时,关闭在所述车载终端运行的导航应用程序。
进一步地,所述导航应用程序关闭模块320包括:音量信息获取子模块、第二导航应用程序关闭子模块以及第三导航应用程序关闭子模块,其中:
音量信息获取子模块,用于当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端的音量信息。
第二导航应用程序关闭子模块,用于当所述音量信息表征所述用户终端的音量在第一预设时间段内持续大于所述车载终端的音量时,关闭在所述车载终端运行的导航应用程序。
第三导航应用程序关闭子模块,用于当所述音量信息表征所述用户终端的音量在第二预设时间段内持续增大时,关闭在所述车载终端运行的导航应用程序。
进一步地,所述导航切换装置300还包括:应用程序开启模块,其中:
应用程序开启模块,用于当所述用户终端满足预设条件时,在所述车载终端开启导航应用程序。
进一步地,所述应用程序开启模块包括:第二终点位置获取子模块和应用程序开启子模块,其中:
第二终点位置获取子模块,用于获取所述用户终端运行的导航应用程序对应的导航终点位置,作为第一导航终点位置。
应用程序开启子模块,用于在所述车载终端开启导航应用程序,并在所述车载终端的导航应用程序基于所述第一导航终点位置生成第一导航信息。
进一步地,所述导航切换装置300还包括:位置获取模块和消息发送模块,其中:
位置获取模块,用于当所述车辆熄火时,获取所述车辆所处的位置。
消息发送模块,用于当所述车辆所处的位置与第二导航终点位置不一致时,发送消息至所述用户终端并关闭所述车载终端,其中,所述消息用于指示所述用户终端基于所述车辆所处的位置和所述第二导航终点位置生成第二导航信息,所述第二导航终点位置为所述车载终端运行的导航应用程序对应的导航终点位置。
请参阅图14,图14示出了本申请又一个实施例提供的导航切换装置的模块框图。该导航切换装置400应用于上述用户终端,所述用户终端处于车辆内,所述车辆的车载终端运行导航应用程序,下面将针对图14所示的框图进行阐述,所述导航切换装置400包括:应用运行状态检测模块410和消息发送模块420,其中:
应用运行状态检测模块410,用于检测所述用户终端的应用运行状态.
消息发送模块420,用于当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
进一步地,所述消息发送模块420包括:第一消息发送子模块,其中:
第一消息发送子模块,用于输出所述导航语音,其中,所述导航语音用于指示所述车载终端在接收到时关闭所运行的导航应用程序。
进一步地,所述车载终端和所述用户终端建立有连接,所述消息发送模块420包括:第二消息发送子模块,其中:
第二消息发送子模块,用于通过所述连接向所述车载终端发送所述第一消息。
进一步地,所述消息发送模块420包括:导航终点位置获取子模块和第三消息发送子模块,其中:
导航终点位置获取子模块,用于当检测到所述用户终端开启导航应用程序时,获取所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置。
第三消息发送子模块,用于当所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置一致时,输出所述第一消息。
进一步地,所述消息发送模块420包括:音量信息获取子模块、第四消息发送子模块以及第五消息发送子模块,其中:
音量信息获取子模块,用于当检测到所述用户终端开启导航应用程序时,获取所述用户终端的音量信息。
第四消息发送子模块,用于当所述音量信息表征所述用户终端的音量在第一预设时间段内持续大于所述车载终端的音量时,输出所述第一消息。
第五消息发送子模块,用于当所述音量信息表征所述用户终端的音量在第二预设时间段内持续增大时,输出所述第一消息。
进一步地,所述导航切换装置400还包括:消息再发送模块,其中:
消息再发送模块,用于当所述用户终端满足预设条件时,通过所述连接向所述车载终端发送第二消息,其中,所述第二消息用于指示所述车载终端开启导航应用程序。
进一步地,所述消息再发送模块包括:导航终点位置获取子模块和消息再发送子模块,其中:
导航终点位置获取子模块,用于获取所述用户终端运行的导航应用程序对应的导航终点位置,作为第一导航终点位置。
消息再发送子模块,用于通过所述连接向所述车载终端发送第二消息和所述第一导航终点位置,其中,所述第二消息用于指示所述车载终端开启导航应用程序,并在所述车载终端的导航应用程序基于所述第一导航终点位置生成导航信息。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
请参阅图16,其示出了本申请实施例提供的一种电子设备500的结构框图。该电子设备500可以包括车载终端100,也可以包括用户终端200,在此不做限定。本申请中的电子设备500可以包括一个或多个如下部件:处理器510、存储器520以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器520中并被配置为由一个或多个处理器510执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
其中,处理器510可以包括一个或者多个处理核。处理器510利用各种接口和线路连接整个电子设备500内的各个部分,通过运行或执行存储在存储器520内的指令、程序、代码集或指令集,以及调用存储在存储器520内的数据,执行电子设备500的各种功能和处理数据。可选地,处理器510可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器510可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责待显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器510中,单独通过一块通信芯片进行实现。
存储器520可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器520可用于存储指令、程序、代码、代码集或指令集。存储器520可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备500在使用中所创建的数据(比如电话本、音视频 数据、聊天记录数据)等。
请参阅图17,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质600中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质600包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质600具有执行上述方法中的任何方法步骤的程序代码610的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码610可以例如以适当形式进行压缩。
综上所述,本申请实施例提供的导航切换方法、装置、电子设备以及存储介质,车载导航运行到导航应用程序,当检测到处于车辆内的用户终端开启导航应用程序时,关闭车载终端运行的导航应用程序,从而实现导航应用的自适应切换,减少用户手动切换时的繁琐操作,提升用户的使用体验。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种导航切换方法,其特征在于,应用于车辆的车载终端,所述方法包括:
    所述车载终端运行导航应用程序;
    当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
  2. 根据权利要求1所述的方法,其特征在于,所述检测到处于所述车辆内的用户终端开启导航应用程序,包括:
    当检测到所述用户终端输出的导航语音时,确定检测到处于所述车辆内的用户终端开启导航应用程序。
  3. 根据权利要求1所述的方法,其特征在于,所述车载终端和所述用户终端建立有连接,所述检测到处于所述车辆内的用户终端开启导航应用程序,包括:
    通过所述连接确定检测到处于所述车辆内的用户终端开启导航应用程序。
  4. 根据权利要求3所述的方法,其特征在于,在关闭在所述车载终端运行的导航应用程序之后,还包括:
    当所述用户终端满足预设条件时,在所述车载终端开启导航应用程序。
  5. 根据权利要求4所述的方法,其特征在于,所述用户终端满足预设条件,包括:所述用户终端中的导航行程未结束,且所述用户终端满足以下条件之一
    所述用户终端的信号强度低于预设信号强度;或者
    所述用户终端关闭导航应用程序;或者
    所述用户终端与所述车载终端断开连接;或者
    所述用户终端的剩余电量低于预设电量。
  6. 根据权利要求4所述的方法,其特征在于,所述在所述车载终端开启导航应用程序,包括:
    获取所述用户终端运行的导航应用程序对应的导航终点位置,作为第一导航终点位置;
    在所述车载终端开启导航应用程序,并在所述车载终端的导航应用程序基于所述第一导航终点位置生成第一导航信息。
  7. 根据权利要求4所述的方法,其特征在于,在所述车载终端开启导航应用程序之后,还包括:
    当所述车辆熄火时,获取所述车辆所处的位置;
    当所述车辆所处的位置与第二导航终点位置不一致时,发送消息至所述用户终端并关闭所述车载终端,其中,所述消息用于指示所述用户终端基于所述车辆所处的位置和所述第二导航终点位置生成第二导航信息,所述第二导航终点位置为所述车载终端运行的导航应用程序对应的导航终点位置。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序,包括:
    当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端运行的导航应用程序对应的导航终点位置;
    当所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置一致时,关闭在所述车载终端运行的导航应用程序。
  9. 根据权利要求1-7任一项所述的方法,其特征在于,所述当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序,包括:
    当检测到处于所述车辆内的用户终端开启导航应用程序时,获取所述用户终端的音量信息;
    当所述音量信息表征所述用户终端的音量在第一预设时间段内持续大于所述车载终端的音量时,关闭在所述车载终端运行的导航应用程序;或者
    当所述音量信息表征所述用户终端的音量在第二预设时间段内持续增大时,关闭在所述车载终端运行的导航应用程序。
  10. 一种导航切换方法,其特征在于,应用于用户终端,所述用户终端处于车辆内,所述车辆的车载终端运行导航应用程序,所述方法包括:
    检测所述用户终端的应用运行状态;
    当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
  11. 根据权利要求10所述的方法,其特征在于,所述第一消息包括导航语音,所述输出第一消息,包括:
    输出所述导航语音,其中,所述导航语音用于指示所述车载终端在接收到时关闭所运行的导航应用程序。
  12. 根据权利要求10所述的方法,其特征在于,所述车载终端和所述用户终端建立有连接,所述输出第一消息,包括:
    通过所述连接向所述车载终端发送所述第一消息。
  13. 根据权利要求12所述的方法,其特征在于,在输出所述第一消息之后,还包括:
    当所述用户终端满足预设条件时,通过所述连接向所述车载终端发送第二消息,其中,所述第二消息用于指示所述车载终端开启导航应用程序。
  14. 根据权利要求13所述的方法,其特征在于,通过所述连接向所述车载终端发送第二消息,包括:
    获取所述用户终端运行的导航应用程序对应的导航终点位置,作为第一导航终点位置;
    通过所述连接向所述车载终端发送第二消息和所述第一导航终点位置,其中,所述第二消息用于指示所述车载终端开启导航应用程序,并在所述车载终端的导航应用程序基于所述第一导航终点位置生成导航信息。
  15. 根据权利要求10-14任一项所述的方法,其特征在于,所述当检测到所述用户终端开启导航应用程序时,输出第一消息,包括:
    当检测到所述用户终端开启导航应用程序时,获取所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置;
    当所述用户终端运行的导航应用程序对应的导航终点位置与所述车载终端运行的导航应用程序对应的导航终点位置一致时,输出所述第一消息。
  16. 根据权利要求10-14任一项所述的方法,其特征在在于,所述当检测到所述用户终端开启导航应用程序时,输出第一消息,包括:
    当检测到所述用户终端开启导航应用程序时,获取所述用户终端的音量信息;
    当所述音量信息表征所述用户终端的音量在第一预设时间段内持续大于所述车载终端的音量时,输出所述第一消息;或者
    当所述音量信息表征所述用户终端的音量在第二预设时间段内持续增大时,输出所述第一消息。
  17. 一种导航切换装置,其特征在于,应用于车辆的车载终端,所述装置包括:
    导航应用程序运行模块,用于所述车载终端运行导航应用程序;
    导航应用程序关闭模块,用于当检测到处于所述车辆内的用户终端开启导航应用程序时,关闭在所述车载终端运行的导航应用程序。
  18. 一种导航切换装置,其特征在于,应用于用户终端,所述用户终端处于车辆内,所述车辆的车载终端运行导航应用程序,所述装置包括:
    应用运行状态检测模块,用于检测所述用户终端的应用运行状态;
    消息发送模块,用于当检测到所述用户终端开启导航应用程序时,输出第一消息,其中,所述第一消息用于指示所述车载终端关闭所运行的导航应用程序。
  19. 一种电子设备,其特征在于,包括存储器和处理器,所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-9任一项或权利要求10-16任一项所述的方法。
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-9任一项或权利要求10-16任一项所述的方法。
PCT/CN2022/089152 2021-06-23 2022-04-26 导航切换方法、装置、电子设备以及存储介质 Ceased WO2022267682A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110697885.5A CN115507860A (zh) 2021-06-23 2021-06-23 导航切换方法、装置、电子设备以及存储介质
CN202110697885.5 2021-06-23

Publications (1)

Publication Number Publication Date
WO2022267682A1 true WO2022267682A1 (zh) 2022-12-29

Family

ID=84499343

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/089152 Ceased WO2022267682A1 (zh) 2021-06-23 2022-04-26 导航切换方法、装置、电子设备以及存储介质

Country Status (2)

Country Link
CN (1) CN115507860A (zh)
WO (1) WO2022267682A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116844375B (zh) * 2023-08-29 2023-11-10 荣耀终端有限公司 停车信息的显示方法和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120046808A1 (en) * 2010-08-23 2012-02-23 Denso Corporation Vehicular communication system
US20130030689A1 (en) * 2011-07-27 2013-01-31 Denso Corporation Cooperation system, navigation system, in-vehicle apparatus and portable terminal
JP2013191979A (ja) * 2012-03-13 2013-09-26 Denso Corp 車載器、携帯端末および携帯端末用のプログラム
CN103593241A (zh) * 2013-11-19 2014-02-19 中标软件有限公司 一种Android车载系统及其快速切换应用程序的方法
CN104333844A (zh) * 2014-11-12 2015-02-04 沈阳美行科技有限公司 一种车载终端与智能手机的互联方法
CN109495845A (zh) * 2018-09-29 2019-03-19 百度在线网络技术(北京)有限公司 场景切换方法和设备
CN113566843A (zh) * 2021-09-27 2021-10-29 宁波均联智行科技股份有限公司 一种导航切换方法及车载终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515005A (zh) * 2017-09-27 2017-12-26 江西爱驰亿维实业有限公司 无缝切换导航方法、系统、车机及云端服务器
CN111698369B (zh) * 2020-06-12 2021-05-18 深圳市悠易视科技有限公司 一种音乐播放系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120046808A1 (en) * 2010-08-23 2012-02-23 Denso Corporation Vehicular communication system
US20130030689A1 (en) * 2011-07-27 2013-01-31 Denso Corporation Cooperation system, navigation system, in-vehicle apparatus and portable terminal
JP2013191979A (ja) * 2012-03-13 2013-09-26 Denso Corp 車載器、携帯端末および携帯端末用のプログラム
CN103593241A (zh) * 2013-11-19 2014-02-19 中标软件有限公司 一种Android车载系统及其快速切换应用程序的方法
CN104333844A (zh) * 2014-11-12 2015-02-04 沈阳美行科技有限公司 一种车载终端与智能手机的互联方法
CN109495845A (zh) * 2018-09-29 2019-03-19 百度在线网络技术(北京)有限公司 场景切换方法和设备
CN113566843A (zh) * 2021-09-27 2021-10-29 宁波均联智行科技股份有限公司 一种导航切换方法及车载终端

Also Published As

Publication number Publication date
CN115507860A (zh) 2022-12-23

Similar Documents

Publication Publication Date Title
CN113138737B (zh) 投屏场景的显示控制方法、装置、设备、介质及程序产品
US8755921B2 (en) Continuous audio interaction with interruptive audio
CN106739946B (zh) 汽车空调的启动方法及装置
US9251793B2 (en) Method, apparatus, and system for automatically monitoring for voice input based on context
CN103373292B (zh) 车载信息系统、信息终端、应用程序执行方法
US20180254044A1 (en) Disambiguating Input Based on Context
US9640182B2 (en) Systems and vehicles that provide speech recognition system notifications
US9585184B1 (en) Using multiple wireless connections
CN110362186A (zh) 图层处理方法、装置、电子设备及计算机可读介质
CN106056701A (zh) 提示方法和装置
CN110019740A (zh) 车载终端的交互方法、车载终端、服务器和存储介质
CN108627176A (zh) 屏幕亮度调节方法及相关产品
KR101932097B1 (ko) 음성을 이용한 메시지 서비스 방법 및 장치
CN108377478A (zh) 一种业务提示方法、装置、车载终端及存储介质
WO2022267682A1 (zh) 导航切换方法、装置、电子设备以及存储介质
CN110312229A (zh) 一种车辆交互方法、装置、设备及可读存储介质
CN112422614A (zh) 用于设备交互的方法、装置和介质
CN115440214A (zh) 语音控制方法、装置、电子设备、车辆和存储介质
CN111857151A (zh) 车辆自动接人方法、存储介质及电子设备
CN111457935A (zh) 一种数据处理方法、装置、设备和机器可读介质
CN105911577B (zh) 一种网络定位信息的处理方法、装置及智能终端
CN117542343A (zh) 文本语音转换的方法和装置
CN113992292A (zh) 一种电台切换方法、装置、设备及存储介质
CN111726283A (zh) 用于车载智能音箱的微信接收方法和装置
CN114954589B (zh) 轨道交通站点播报方法、装置、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22827181

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22827181

Country of ref document: EP

Kind code of ref document: A1