Navigation recovery method and system, electronic device and computer readable storage medium
Patent Information
- Application Number
- CN202211606086.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-14
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-12-14
AI Technical Summary
[0003]然而,当移动终端上的互联应用因出现异常而无法工作时,投屏连接会断开,导航服务也会随之退出
[0006]本申请的实施方式的又一个目的在于提供一种导航恢复方法及系统、电子设备和计算机可读存储介质,距离偏差较小可以通过距离阈值来判断,即投屏连接恢复时的车辆位置与互联应用异常退出发生时的车辆位置之间的距离小于或等于距离阈值,表明从互联应用异常退出到投屏连接恢复这段时间内车辆位置变化不大,被中断的导航服务仍然是用户所期望的,以进一步提升用户体验。
Smart Images

Figure CN116017293B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this application relate to the field of vehicle networking technology, and more specifically, to a navigation recovery method and system, electronic device and computer-readable storage medium. Background Technology
[0002] Currently, connected applications on mobile devices can project their interfaces onto the in-vehicle display screen via a screen mirroring connection. Users can then operate related functions within the connected application, such as navigation, by interacting with the interface projected onto the in-vehicle display.
[0003] However, when the connected applications on the mobile device malfunction, the screen mirroring connection will be lost, and the navigation service will also drop. In this situation, users need to manually re-initiate the screen mirroring connection and perform various operations such as navigation settings to restore navigation, which is cumbersome and may affect driving safety. Summary of the Invention
[0004] One objective of the embodiments of this application is to provide a navigation recovery method and system, electronic device, and computer-readable storage medium. When the screen projection connection between the vehicle terminal and the mobile terminal is interrupted due to the abnormal disconnection of the interconnection application on the mobile terminal, the vehicle terminal can instruct the mobile terminal to restart the interconnection application on the mobile terminal based on the communication connection between the vehicle terminal and the mobile terminal, and then automatically restore the navigation service based on the restored screen projection connection. This does not require manual operation by the user, can improve the efficiency of restoring the navigation service, and will not affect driving safety.
[0005] Another objective of the embodiments of this application is to provide a navigation recovery method and system, electronic device, and computer-readable storage medium that can automatically restore navigation services based on incomplete navigation information recorded by the mobile terminal, such as destination, route planning, and navigation preferences when the connected application abnormally exits. This eliminates the need for manual user operation, improves the efficiency of navigation service recovery, and does not affect driving safety. Optionally, the restoration of interrupted navigation services can be determined based on the time / vehicle location when the screen mirroring connection is restored and the time / vehicle location when the connected application abnormally exits. In other words, interrupted navigation services can be restored only when the interval is short and / or the distance deviation is small. This avoids restoring navigation services that the user no longer needs, such as destination changes, better meeting user needs and thus improving the user experience.
[0006] Another objective of the embodiments of this application is to provide a navigation recovery method and system, electronic device and computer-readable storage medium. The small distance deviation can be judged by a distance threshold, that is, the distance between the vehicle position when the screen mirroring connection is restored and the vehicle position when the connected application abnormally exits is less than or equal to the distance threshold. This indicates that the vehicle position has not changed much during the period from the abnormal exit of the connected application to the restoration of the screen mirroring connection, and the interrupted navigation service is still what the user expects, so as to further improve the user experience.
[0007] Another objective of the embodiments of this application is to provide a navigation recovery method and system, electronic device, and computer-readable storage medium. Based on the communication connection between the vehicle terminal and the mobile terminal, the user can instruct the mobile terminal to enable the Internet application on the mobile terminal. After the screen projection connection between the Internet application and the vehicle terminal is established, the user can perform operations on the interface of the Internet application projected onto the display screen of the vehicle terminal, such as setting the destination and route planning, so as to provide navigation services for the user.
[0008] A first aspect of the embodiments of this application provides a navigation recovery method, comprising: in response to the disconnection of the screen projection connection between an interconnected application on a mobile terminal and an in-vehicle terminal, sending an instruction to the mobile terminal to enable the interconnected application based on the communication connection between the in-vehicle terminal and the mobile terminal, so as to restart the interconnected application on the mobile terminal to restore the screen projection connection, wherein the interconnected application includes a navigation function; and restoring the navigation service based on the screen projection connection.
[0009] A second aspect of the embodiments of this application provides a navigation recovery system, comprising: in response to a screen mirroring connection between an interconnected application on a mobile terminal and an in-vehicle terminal being disconnected due to an abnormal exit of the interconnected application, recording the time of the abnormal exit and driving information at the time of the abnormal exit, wherein the interconnected application includes a navigation function; and in response to receiving an instruction from the in-vehicle terminal to enable the interconnected application based on the communication connection between the in-vehicle terminal and the mobile terminal, restarting the interconnected application to restore the screen mirroring connection, and restoring the navigation service through the screen mirroring connection.
[0010] A third aspect of the embodiments of this application provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that are executed by the at least one processor to enable the at least one processor to perform the navigation recovery method as described in the first aspect.
[0011] A fourth aspect of the embodiments of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the navigation recovery method as described in the first aspect.
[0012] A fifth aspect of the embodiments of this application provides a navigation recovery system, including: an in-vehicle terminal configured to perform the navigation recovery method as described in the first aspect; and a mobile terminal configured to perform the navigation recovery method as described in the second aspect.
[0013] In some embodiments of the navigation recovery method described in the first aspect, the method further includes: sending an instruction to a mobile terminal to enable the connected application based on a communication connection, so as to enable the connected application on the mobile terminal; in response to the connected application establishing a screen projection connection with the vehicle terminal, receiving the screen projection content including the application interface of the connected application from the mobile terminal, and providing navigation services on the display screen of the vehicle terminal.
[0014] In some embodiments of this application, providing navigation services on the display screen of an in-vehicle terminal includes: obtaining user operations through the display screen of the in-vehicle terminal, and sending operation instructions to a mobile terminal based on a screen projection connection to switch the application interface of the interconnected application to the navigation interface, wherein the operation instructions include location information received from the user operations on the display screen of the in-vehicle terminal.
[0015] In some embodiments of this application, restoring navigation services based on a screen mirroring connection includes: receiving incomplete navigation information from an interconnected application based on the screen mirroring connection, and restoring navigation services based on the incomplete navigation information.
[0016] In some embodiments of this application, resuming navigation service based on incomplete navigation information includes: providing an option via the display screen of the vehicle terminal for the user to choose whether to proceed with navigation based on the incomplete navigation information; and if an instruction confirming navigation based on the incomplete navigation information is received, resuming navigation service based on the incomplete navigation information, or canceling navigation service if an instruction to cancel navigation based on the incomplete navigation information is received.
[0017] In some embodiments of the navigation recovery method described in the second aspect, the method further includes: in response to receiving an instruction to enable the connected application from the vehicle terminal based on a communication connection, enabling the connected application; establishing a screen projection connection between the connected application and the vehicle terminal, and sending screen projection content including the application interface of the connected application to the vehicle terminal based on the screen projection connection, so as to provide navigation services on the display screen of the vehicle terminal.
[0018] In some embodiments of this application, providing navigation services on the display screen of an in-vehicle terminal includes: receiving operation instructions for operating a connected application from the in-vehicle terminal based on a screen projection connection, switching the application interface of the connected application to the navigation interface; and recording navigation information and marking the navigation information as incomplete navigation information based on user input on the navigation interface, wherein the navigation information includes destination information and route planning preference settings information.
[0019] In some embodiments of this application, in response to receiving an instruction from the vehicle terminal to enable the connected application, restarting the connected application to restore the screen mirroring connection, and restoring the navigation service through the screen mirroring connection, includes: in response to receiving an instruction from the vehicle terminal to enable the connected application, restarting the connected application to restore the screen mirroring connection, and recording the time when the screen mirroring connection is restored and the driving information when the screen mirroring connection is restored; and in response to determining that the difference between the time when the screen mirroring connection is restored and the time when the abnormal exit occurred is within a predetermined time range, and / or determining that the distance between the vehicle position when the screen mirroring connection is restored and the vehicle position when the abnormal exit occurred is less than or equal to a distance threshold, restoring the navigation service through the screen mirroring connection and based on the incomplete navigation information.
[0020] In some embodiments of this application, in response to receiving an instruction from the vehicle terminal to enable the connected application, restarting the connected application to restore the screen projection connection, and restoring the navigation service through the screen projection connection, includes: in response to receiving an instruction from the vehicle terminal to enable the connected application, restarting the connected application to restore the screen projection connection, and recording driving information when the screen projection connection is restored; and in response to determining that the distance between the vehicle position when the screen projection connection is restored and the vehicle position when the abnormal exit occurred is less than or equal to a distance threshold, restoring the navigation service through the screen projection connection.
[0021] In some embodiments of this application, the distance threshold satisfies the following: the distance threshold is equal to the product of the vehicle speed at the time of abnormal exit and the predetermined duration; or, the distance threshold is equal to the product of the average speed and the predetermined duration, wherein the average speed is equal to half the sum of the vehicle speed at the time of abnormal exit and the vehicle speed when the projection connection is restored.
[0022] In some embodiments of this application, the driving information includes: latitude and longitude data of the driving location and driving speed data. Attached Figure Description
[0023] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Wherein:
[0024] Figure 1 This is a schematic diagram of a navigation recovery system according to some embodiments of this application;
[0025] Figure 2 This is a flowchart of a navigation recovery method according to some embodiments of this application;
[0026] Figure 3 This is a flowchart of a navigation recovery method according to some other embodiments of this application;
[0027] Figure 4 This is a flowchart of a navigation recovery method according to some other embodiments of this application; and
[0028] Figure 5 These are schematic block diagrams of electronic devices according to some embodiments of this application. Detailed Implementation
[0029] To better understand this application, various aspects of this application will be described in more detail with reference to the accompanying drawings. It should be understood that these detailed descriptions are merely illustrative of exemplary embodiments of this application and are not intended to limit the scope of this application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0030] It should be noted that the acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0031] Unless otherwise specified, all terms used herein (including engineering and technical terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that, unless expressly stated herein, terms defined in common dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or overly formalized meaning.
[0032] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. Furthermore, unless explicitly limited or contradicted by the context, the specific steps included in the methods described in this application are not limited to the order in which they are described, but can be performed in any order or in parallel. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0033] Figure 1 This is a schematic block diagram of a navigation recovery system 10 according to some embodiments of this application.
[0034] like Figure 1 As shown, the navigation recovery system 10 may include an in-vehicle terminal 110 and a mobile terminal 120. The mobile terminal 120 may be, but is not limited to, electronic devices that users can carry or wear, such as smartphones, smartwatches, laptops, personal digital assistants, electronic bracelets, smart rings, and smart glasses. Various client applications may be installed on the mobile terminal 120, such as vehicle connectivity applications, news applications, web browser applications, search applications, etc.
[0035] The vehicle connectivity application can have a screen mirroring function, establishing a screen mirroring connection between the mobile terminal 120 and the vehicle terminal 110 based on the communication connection between them. Through this connection, the application interface can be projected onto the display device of the vehicle terminal 110. Users can then operate the application by interacting with the projected interface on the vehicle terminal 110's display. The application may have built-in navigation functionality and can provide navigation services via the screen mirroring connection to the vehicle terminal 110's display. Furthermore, the application may also offer other entertainment functions such as music and video playback.
[0036] The communication connection between the mobile terminal 120 and the vehicle terminal 110 can be achieved through a communication module ( Figure 1 (Not shown) The communication module can be, for example, an Ultra Wide Band (UWB) communication module, a star flash module, a near field communication (NFC), or a wireless fidelity (Wi-Fi or WiFi), cellular communication, or other wireless communication modules with positioning and / or communication functions. It can also be, for example, a wired communication module such as a Universal Serial Bus (USB). This application does not limit this.
[0037] It should be understood that Figure 1 This is a simplified illustration for ease of understanding only. The navigation recovery system 10 may also include other devices. Figure 1 It was not shown in the text.
[0038] The navigation recovery method according to an exemplary embodiment of this application will be described below with reference to the navigation recovery system 10.
[0039] Figure 2 This is a flowchart of a navigation recovery method 20 according to some embodiments of this application. This navigation recovery method 20 can be executed via an in-vehicle terminal 110. Figure 2 As shown, the navigation recovery method 20 may include the following steps:
[0040] S210, in response to the disconnection of the screen projection connection between the connected application on the mobile terminal 120 and the vehicle terminal 110, a command to enable the connected application is sent to the mobile terminal 120 based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, so as to restart the connected application on the mobile terminal 120 to restore the screen projection connection. The connected application includes a navigation function; and
[0041] S220, based on screen mirroring connection, restores navigation service.
[0042] According to some embodiments of this application, when the screen projection connection between the vehicle terminal 110 and the mobile terminal 120 is disconnected due to an abnormal exit of the interconnected application on the mobile terminal 120, the vehicle terminal 110 can, based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, instruct the mobile terminal 120 to restart the interconnected application on the mobile terminal 120 to restore the screen projection connection, and restore the navigation service based on the restored screen projection connection. In this way, when the screen projection connection is unexpectedly disconnected, the navigation service can be restored without manual user operation, which improves the efficiency of restoring the navigation service and does not affect driving safety.
[0043] For ease of understanding, the navigation recovery method 20 provided in the embodiments of this application will be described by way of example below.
[0044] First, regarding S210, in response to the disconnection of the screen projection connection between the interconnected application on the mobile terminal 120 and the vehicle terminal 110, an instruction to enable the interconnected application is sent to the mobile terminal 120 based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, so as to restart the interconnected application on the mobile terminal 120 to restore the screen projection connection. This is an example of the following description.
[0045] In some embodiments of this application, the screen mirroring connection is used to project the navigation interface of the interconnected application on the mobile terminal 120 onto the display screen of the vehicle terminal 110 in order to provide navigation services to the user.
[0046] In some embodiments of this application, the vehicle terminal 110 can enable navigation services for the user by performing the following steps:
[0047] Step 1: Based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, send an instruction to the mobile terminal 120 to enable the connected application, so as to enable the connected application on the mobile terminal 120.
[0048] As an example, mobile terminal 120 can be a device running the iOS system. After establishing a communication connection (e.g., Bluetooth connection) between vehicle terminal 110 and mobile terminal 120, vehicle terminal 110 can send an App Launch command, including a unique identifier (i.e., bundle ID) of the connected application, to mobile terminal 120 via the iAP2 (i.e., iOS Application Protocol 2) transmission protocol based on its communication connection with mobile terminal 120. Upon receiving the App Launch command from vehicle terminal 110, the iOS system running on mobile terminal 120 will activate the specified application according to the bundle ID in the command, i.e., activate the connected application.
[0049] Step 2: In response to the establishment of a screen projection connection between the in-vehicle terminal 110 and the mobile terminal 120, the screen projection content including the application interface of the interconnected application is received from the mobile terminal 120, and navigation services are provided on the display screen of the in-vehicle terminal 110.
[0050] In some examples, the vehicle terminal 110 and the mobile terminal 120 can have multiple communication connection channels at the same time. For example, the vehicle terminal 110 and the mobile terminal 120 can have both Bluetooth communication connection and WiFi communication connection at the same time.
[0051] After the connectivity application on mobile terminal 120 is enabled, the connectivity program can create a Socket connection through the communication connection (e.g., WiFi connection) between vehicle terminal 110 and mobile terminal 120, so as to form a long link channel capable of transmitting large amounts of data between vehicle terminal 110 and mobile terminal 120. The connectivity program on mobile terminal 120 can send a screen mirroring request to vehicle terminal 110 and establish a screen mirroring connection through the Socket connection.
[0052] Once the screen mirroring connection between the connected application on the mobile terminal 120 and the in-vehicle terminal 110 is established, the in-vehicle terminal 110 can receive the screen mirrored content of the connected application's interface from the mobile terminal 120 through this connection and display it on the in-vehicle terminal 110's screen. This allows the user to operate the connected application on the in-vehicle terminal 110's screen. For example, navigation services can be provided on the in-vehicle terminal 110's screen based on the connected application.
[0053] Optionally, providing navigation services on the display screen of the vehicle terminal 110 may include: obtaining user operations through the display screen of the vehicle terminal 110, and sending the operation instructions to the mobile terminal 120 based on the screen projection connection to switch the application interface of the interconnected application to the navigation interface, wherein the operation instructions include the location information of the user operations received on the display screen.
[0054] For example, a user can click a button on the application interface of the connected application displayed on the screen of the vehicle terminal 110 to switch to the navigation interface, and enter navigation information such as location information (such as destination), route planning (such as waypoints), and user preferences (shortest distance, shortest travel time, avoidance of toll roads) in the navigation interface, and send the navigation information to the mobile terminal 120 through the screen projection connection to enable the navigation service.
[0055] Similar to steps 1 and 2 above, when the vehicle terminal 110 detects an abnormal disconnection of the screen mirroring connection with the mobile terminal 120 (such as the navigation interface on the vehicle terminal 110's display screen exiting or freezing), causing an interruption of the navigation service, the vehicle terminal 110 can send another App Launch command to the mobile terminal 120 based on the communication connection between the vehicle terminal 110 and the mobile terminal 120. This other App Launch command may include the unique identifier of the connected application. The mobile terminal 120 can restart the connected application on the mobile terminal 120 based on the other App Launch command to restore the screen mirroring connection, and then execute S220 based on the restored screen mirroring connection, thereby restoring the navigation service. In this way, connected screen mirroring can be restored without any user action, which improves efficiency and user experience.
[0056] The following is an example of restoring navigation services based on screen mirroring connection in S220.
[0057] In some embodiments of this application, S220, restoring navigation service based on screen mirroring connection, includes: receiving incomplete navigation information from the interconnected application based on screen mirroring connection, and restoring navigation service based on the incomplete navigation information.
[0058] In some embodiments of this application, the vehicle terminal 110 can receive the incomplete navigation information such as destination and waypoints again from the Internet application on the mobile terminal 120 through the restored Internet projection, and restore the navigation service based on the incomplete navigation information.
[0059] Optionally, resuming navigation service based on incomplete navigation information includes: providing options on the display screen of the in-vehicle terminal 110 for the user to choose whether to proceed with navigation based on the incomplete navigation information; and if an instruction confirming navigation based on the incomplete navigation information is received, then resuming the navigation service based on the incomplete navigation information; or, if an instruction canceling navigation based on the incomplete navigation information is received, then canceling the navigation service. In other words, the decision to resume navigation service can also be determined based on the user's selection input on the display screen of the in-vehicle terminal 110. For example, if the original navigation service no longer meets the user's current needs due to changes in destination or waypoints, the user can choose not to resume the interrupted navigation service.
[0060] It should be noted that incomplete navigation information refers to navigation services that have not yet been completed when the screen mirroring connection is interrupted, such as the vehicle not having reached its destination. Conversely, if the vehicle has reached its destination, or the user has indicated that the navigation service has ended, it should be considered that the navigation service has ended normally and does not need to be resumed.
[0061] The navigation recovery method 30 is illustrated below.
[0062] Figure 3 This is a flowchart of a navigation recovery method 30 according to some embodiments of this application. This navigation recovery method 30 can be executed via a mobile terminal 120. Figure 3 As shown, the navigation recovery method 30 may include the following steps:
[0063] S310, in response to the screen mirroring connection between the connected application on the mobile terminal 120 and the vehicle terminal 110 being disconnected due to an abnormal exit of the connected application, records the time of the abnormal exit and the driving information at the time of the abnormal exit, wherein the connected application includes navigation function; and
[0064] S320: In response to receiving an instruction from the vehicle terminal 110 to enable the interconnection application based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, the interconnection application is restarted to restore the screen mirroring connection, and the navigation service is restored through the screen mirroring connection.
[0065] According to some embodiments of this application, when the screen projection connection between the vehicle terminal 110 and the mobile terminal 120 is interrupted due to the abnormal disconnection of the interconnection application on the mobile terminal 120, the mobile terminal 120 can receive the instruction sent by the vehicle terminal 110 to restart the interconnection application on the mobile terminal 120 to restore the screen projection connection based on the communication connection between the vehicle terminal 110 and the mobile terminal 120. Then, the navigation service can be automatically restored based on the restored screen projection connection. No manual operation by the user is required, which can improve the efficiency of restoring the navigation service and will not affect driving safety.
[0066] For ease of understanding, the navigation recovery method 30 provided in the embodiments of this application will be described by way of example below.
[0067] First, regarding S310, in response to the screen mirroring connection between the interconnected application on the mobile terminal 120 and the vehicle terminal 110 being disconnected due to the abnormal exit of the interconnected application, an example is provided to record the time when the abnormal exit occurred and the driving information at the time of the abnormal exit.
[0068] In some embodiments of this application, the screen mirroring connection is used to project the navigation interface of the interconnected application on the mobile terminal 120 onto the display screen of the vehicle terminal 110 in order to provide navigation services to the user.
[0069] In some embodiments of this application, corresponding to steps 1 and 2 above, the mobile terminal 120 can enable navigation services for the user by performing the following steps:
[0070] Step 3: In response to receiving an instruction to enable the connected application from the vehicle terminal 110 based on the communication connection, enable the connected application.
[0071] As an example, mobile terminal 120 can be a device running the iOS system. After receiving an App Launch command from vehicle terminal 110 containing a unique identifier for the connected application, the iOS system will activate the connected application based on the bundleID in the command.
[0072] Step 4: Establish a screen projection connection between the connected application and the vehicle terminal 110, and send the projection content including the application interface of the connected application to the vehicle terminal 110 based on the screen projection connection, so as to provide navigation services on the display screen of the vehicle terminal 110.
[0073] After the connectivity application on mobile terminal 120 is enabled, the connectivity program can create a Socket connection through the communication connection (e.g., WiFi connection) between vehicle terminal 110 and mobile terminal 120, so as to form a long link channel capable of transmitting large amounts of data between vehicle terminal 110 and mobile terminal 120. The connectivity program on mobile terminal 120 can send a screen mirroring request to vehicle terminal 110 and establish a screen mirroring connection through the Socket connection.
[0074] Once the screen mirroring connection between the connected application and the vehicle terminal 110 is established, the mobile terminal 120 can send the screen mirroring content of the connected application's interface to the vehicle terminal 110 through the screen mirroring connection, and display it on the display screen of the vehicle terminal 110. Users can operate on the interface displayed on the display screen of the vehicle terminal 110 to set up and enable navigation services.
[0075] Optionally, providing navigation services on the display screen of the vehicle terminal 110 includes: the mobile terminal 120 receiving operation instructions for operating the connected application from the vehicle terminal 110 based on the screen projection connection, switching the application interface of the connected application to the navigation interface; and recording navigation information based on the user's input on the navigation interface and marking the navigation information as incomplete navigation information, wherein the navigation information includes destination information and route planning preference settings information.
[0076] For example, the mobile terminal 120 can switch to the navigation interface according to the operation instruction, and receive and record the navigation information entered by the user on the navigation interface through the screen projection connection, and mark it as incomplete.
[0077] When the connected application exits abnormally, such as due to a crash, memory overflow, or freezing, the vehicle terminal 110 will detect the interruption of the connected screen projection. At this time, the vehicle terminal 110 can send a command to the mobile terminal 120 to restore the connected application through the communication connection. This command includes parameters such as the name of the connected application. The mobile terminal 120 can restart the connected application according to the command to restore the screen projection connection and thus restore the navigation service.
[0078] In some embodiments of this application, in response to receiving an instruction from the vehicle terminal 110 to enable the connected application based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, the connected application is restarted to restore the screen mirroring connection, and the navigation service is restored through the screen mirroring connection, including:
[0079] In response to receiving an instruction from the vehicle terminal 110 to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and the time when the screen mirroring connection is restored and the driving information at the time of screen mirroring connection restoration are recorded; and in response to determining that the difference between the time when the screen mirroring connection is restored and the time when the abnormal exit occurred is within a predetermined time range, and / or determining that the distance between the vehicle position at the time of screen mirroring connection restoration and the vehicle position at the time of abnormal exit is less than or equal to a distance threshold, the navigation service is restored through screen mirroring connection and based on the incomplete navigation information.
[0080] As an alternative, after the mobile terminal 120 restarts the interconnected application and restores the screen mirroring connection, the mobile terminal 120 may restore the navigation service through the screen mirroring connection and based on the incomplete navigation information, provided that the difference between the time when the screen mirroring connection is restored and the time when the abnormal exit occurred is within a predetermined time range.
[0081] As an alternative, after the mobile terminal 120 restarts the interconnected application and restores the screen mirroring connection, the mobile terminal 120 may restore the navigation service through screen mirroring and based on the incomplete navigation information if it determines that the distance between the vehicle location when the screen mirroring connection is restored and the vehicle location when the abnormal exit occurred is less than or equal to a distance threshold.
[0082] As an alternative, after the mobile terminal 120 restarts the interconnected application and restores the screen mirroring connection, the mobile terminal 120 may restore the navigation service through screen mirroring and based on the incomplete navigation information if it determines that the difference between the time when the screen mirroring connection is restored and the time when the abnormal exit occurred is within a predetermined time range, and if it determines that the distance between the vehicle position when the screen mirroring connection is restored and the vehicle position when the abnormal exit occurred is less than or equal to a distance threshold.
[0083] In some embodiments of this application, the distance threshold satisfies the following: the distance threshold is equal to the product of the vehicle speed at the time of abnormal exit and the predetermined duration; or, the distance threshold is equal to the product of the average speed and the predetermined duration, wherein the average speed is equal to half the sum of the vehicle speed at the time of abnormal exit and the vehicle speed when the projection connection is restored.
[0084] In some embodiments of this application, the driving information includes: latitude and longitude data of the driving location and driving speed data.
[0085] As an example, the scheduled duration can be a relatively short interval such as 1 minute, 2 minutes, or 3 minutes, which can be determined based on the vehicle speed. For instance, when the vehicle speed is relatively high, such as 120 km / h, the scheduled duration can be set to a smaller value, such as 1 minute. Conversely, when the vehicle speed is relatively low, such as 60 km / h, the scheduled duration can be set to a larger value, such as 3 minutes.
[0086] In other words, if the deviation (t2-t1) between the time t1 when the connected application abnormally exits and the time t2 when the screen mirroring connection is restored is less than or equal to the predetermined duration T (i.e., t2-t1≤T), it can be assumed that the vehicle has not deviated from the planned navigation path, and the incomplete navigation information recorded by the mobile terminal 120 is still valid. In this case, the navigation service can be restored based on the incomplete navigation information. Conversely, if the deviation (t2-t1) between the time t1 when the connected application abnormally exits and the time t2 when the screen mirroring connection is restored is greater than the predetermined duration T (i.e., t2-t1>T), it can be assumed that the vehicle has deviated from the planned navigation path, and the incomplete navigation information recorded by the mobile terminal 120 is no longer valid. In this case, it may be necessary to reset the navigation, and therefore, it is not necessary to restore the navigation service based on the incomplete navigation information.
[0087] Similarly, the vehicle's travel distance from t1 to t2 can be calculated based on the deviation (t2-t1) between the time t1 when the connected application abnormally exits and the time t2 when the screen mirroring connection is restored, and the vehicle speed v. If this distance is small, navigation service is restored based on the incomplete navigation information; otherwise, navigation service is not restored. Here, v is the vehicle speed, which can be the vehicle speed v1 when the connected application abnormally exits, the vehicle speed v2 when the screen mirroring connection is restored, or the average of v1 and v2, v3.
[0088] Specifically, when the vehicle's travel distance (t2-t1)*v from the time t1 when the connected application abnormally exits to the time t2 when the screen mirroring connection is restored is less than or equal to the distance threshold D (i.e., (t2-t1)*v≤D), it can be considered that the vehicle has not deviated from the planned route of the current navigation, and the incomplete navigation information recorded by the mobile terminal 120 is still valid. In this case, the navigation service can be restored based on the incomplete navigation information. Conversely, when the vehicle's travel distance (t2-t1)*v from the time t1 when the connected application abnormally exits to the time t2 when the screen mirroring connection is restored is greater than the distance threshold D (i.e., (t2-t1)*v>D), it can be considered that the vehicle has deviated from the planned route of the current navigation, and the incomplete navigation information recorded by the mobile terminal 120 is no longer valid. In this case, it may be necessary to reset the navigation, and of course, it is not necessary to restore the navigation service based on the incomplete navigation information.
[0089] It should be noted that the aforementioned predetermined duration and distance threshold can also be used in combination. The vehicle travel distance can also be calculated based on the vehicle position p1 when the interconnected application exits abnormally and the vehicle position p2 when the screen projection interconnection is restored. This application embodiment does not impose any restrictions.
[0090] In this embodiment, the mobile terminal 120 can record static navigation information, such as destination information and route planning preference settings, when navigation is enabled, and can also record dynamic navigation information (driving information) in real time during navigation. For example, the mobile terminal 120 can record driving information every 30 seconds or 1 minute. When the connected application exits abnormally, the vehicle travel distance from time t1 when the connected application exits abnormally to time t2 when the screen projection connection is restored is calculated using the most recently recorded driving information, such as v1 and v2, p1 and p2 mentioned above.
[0091] Figure 4 This is a flowchart of a navigation recovery method 40 according to some embodiments of this application. The navigation recovery method 40 can be executed through interaction between the vehicle terminal 110 and the mobile terminal 120. Figure 4 As shown, the navigation recovery method 40 may include the following steps:
[0092] S410, the vehicle terminal 110 sends an instruction to the mobile terminal 120 to enable the connected application based on the communication connection between the vehicle terminal 110 and the mobile terminal 120, so as to enable the connected application on the mobile terminal 120.
[0093] S420, the mobile terminal 120 responds to receiving an instruction from the vehicle terminal 110 to enable the connected application based on the communication connection, and enables the connected application.
[0094] The connected application may include navigation functions. The communication connection may be a wired or wireless communication connection between the vehicle terminal 110 and the mobile terminal 120, such as WiFi connection, Bluetooth connection, cellular network connection, USB connection, etc. It is used for the vehicle terminal 110 to send a command to the mobile terminal 120 to enable the connected application. The command may include parameters such as the name and interface of the connected application. The mobile terminal 120 can start the connected application based on the command and open the specified interface, such as the navigation interface.
[0095] S430, the mobile terminal 120 establishes a screen projection connection between the connected application and the vehicle terminal 110, and sends the projection content including the application interface of the connected application to the vehicle terminal 110 based on the screen projection connection, so as to provide navigation services on the display screen of the vehicle terminal 110.
[0096] S440, in response to the establishment of a screen projection connection between the connected application and the mobile terminal 120, the vehicle terminal 110 receives the screen projection content including the application interface of the connected application from the mobile terminal 120 and provides navigation services on the display screen of the vehicle terminal 110.
[0097] The screen mirroring connection can be a wired or wireless communication connection between the vehicle terminal 110 and the mobile terminal 120, such as a USB connection, WiFi connection, or cellular network connection. It is used for the mobile terminal 120 to send screen mirroring content, such as a navigation interface, to the vehicle terminal 110. The vehicle terminal 110 can receive the screen mirroring content and display it on its screen so that the user can operate the navigation interface, such as inputting destination information, route planning preference settings, and other navigation information. The set navigation information can also be sent to the mobile terminal 120 through the screen mirroring connection to provide navigation services to the user.
[0098] Accordingly, the mobile terminal 120 can record the navigation information entered by the user and mark it as incomplete, so that when the interconnected application on the mobile terminal 120 exits abnormally, causing the screen mirroring connection and navigation service to be interrupted, the screen mirroring connection and navigation service can be restored based on the navigation information.
[0099] It should be noted that the screen projection connection is mainly used for exchanging screen projection data between the vehicle terminal 110 and the mobile terminal 120, while the communication connection is mainly used for the vehicle terminal 110 to send instructions to the mobile terminal 120 to enable the connected application. That is, the communication connection is a separate signal connection independent of the screen projection connection.
[0100] S450, in response to the disconnection of the screen projection connection between the interconnected application on the mobile terminal 120 and the vehicle terminal 110 due to the abnormal exit of the interconnected application, the mobile terminal 120 records the time when the abnormal exit occurred and the driving information at the time of the abnormal exit.
[0101] Specifically, when an interconnected application exits abnormally due to a crash, memory overflow, or other reasons, the screen mirroring connection will be disconnected. At this time, the mobile terminal 120 can record the time t1 when the abnormal exit occurred and the driving information at the time of the abnormal exit. This driving information can be used in S480 below to restore the navigation service based on the restored screen mirroring connection. The driving information includes: latitude and longitude data p1 of the driving location and driving speed data v1.
[0102] S460, in response to the disconnection of the screen projection connection between the connected application on the mobile terminal 120 and the mobile terminal 120, the vehicle terminal 110 sends a command to the mobile terminal 120 to enable the connected application based on the communication connection, so as to restart the connected application on the mobile terminal 120 to restore the screen projection connection.
[0103] S470, in response to receiving an instruction from the vehicle terminal 110 to enable the connected application based on the communication connection, the mobile terminal 120 restarts the connected application to restore the screen mirroring connection and restores the navigation service through the screen mirroring connection.
[0104] S480, vehicle terminal 110 restores navigation service based on screen projection connection.
[0105] When the screen mirroring connection is lost due to the abnormal exit of the connected application, the interface of the connected application displayed on the screen of the vehicle terminal 110 will experience lag, freeze, or abnormal exit. The vehicle terminal 110 can determine that the interruption of the navigation service may be caused by the abnormal exit of the connected application on the mobile terminal 120. At this time, the vehicle terminal 110 can send a command to the mobile terminal 120 to enable the connected application again based on the communication connection, so as to instruct the mobile terminal 120 to restart the connected application to restore the screen mirroring connection, and restore the navigation service based on the restored screen mirroring connection.
[0106] Furthermore, the mobile terminal 120 can also record the time t2 when the screen projection connection is restored, the vehicle speed v2, and the vehicle position p2. Combined with the time t1, vehicle speed v1, and vehicle position p1 recorded when the connected application exits abnormally, it can calculate the time difference from the abnormal exit of the connected application to the restoration of the screen projection connection, as well as the distance the vehicle travels during this time period. Based on the time difference and / or the distance traveled, it can determine whether to restore the interrupted navigation service.
[0107] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.
[0108] Embodiments of this application also provide an electronic device, which may be an in-vehicle terminal 110 or a mobile terminal 120. The electronic device may include: at least one processor and a memory, the memory being communicatively connected to the at least one processor and storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the navigation recovery method 20 or navigation recovery method 30 described above.
[0109] Figure 5 This is a schematic block diagram of an electronic device 50 according to some embodiments of this application. For example... Figure 5As shown, the electronic device 50 includes a processor 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a memory 508 into a random access memory (RAM) 503. The RAM 503 may also store various programs and data required for the operation of the electronic device 50. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0110] Multiple components in electronic device 50 are connected to I / O interface 505, including: input unit 506, such as buttons, touch screens, etc.; output unit 507, connected to various types of displays, speakers, etc., to output various forms of signals; memory 508, including any medium for storing computer-executable programs; and communication unit 509, such as network interface card, modem, wireless transceiver, etc. Communication unit 509 allows electronic device 50 to exchange information / data with other devices through such as local area networks or other wireless communication networks.
[0111] Processor 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 501 performs the various methods and processes described above, such as navigation recovery method 20. For example, in some embodiments, navigation recovery method 20 may be implemented as a computer software program tangibly contained in a computer-readable storage medium, such as memory 508. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 50 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by processor 501, one or more steps of navigation recovery method 20 or navigation recovery method 30 described above may be performed. Alternatively, in other embodiments, processor 501 may be configured to perform navigation recovery method 20 or navigation recovery method 30 by any other suitable means (e.g., by means of firmware).
[0112] One embodiment of this application also provides a non-transient computer-readable storage medium storing machine-executable instructions thereon, which, when executed, cause the machine to implement the navigation recovery method 20 or the navigation recovery method 30 described above.
[0113] Various aspects of this application have been described herein with reference to flowchart illustrations and / or timing diagrams of methods, apparatus (systems), and computer program products according to exemplary embodiments of this application. It should be understood that each step of the flowchart illustrations and / or timing diagrams, as well as combinations of steps in the flowchart illustrations and / or timing diagrams, can be implemented by computer-readable program instructions.
[0114] These computer-readable program instructions can be provided to a processor in a voice interaction device, a general-purpose computer, a special-purpose computer, or a processing unit of another programmable data processing device, thereby producing a machine such that, when executed by the processing unit of the computer or other programmable data processing device, these instructions create means for implementing the functions / steps specified in one or more steps of a flowchart and / or timing diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing device, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / steps specified in one or more steps of a flowchart and / or timing diagram.
[0115] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / steps specified in one or more steps of a flowchart and / or timing diagram.
[0116] The flowcharts and timing diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to various embodiments of this application. In this regard, each step in a flowchart or timing diagram may represent a module, segment, or part of an instruction that contains one or more executable instructions for implementing a specified logical function. In some alternative embodiments, the functions indicated in the steps may occur in a different order than those indicated in the drawings. For example, two consecutive steps may actually be performed substantially in parallel, and they may sometimes be performed in reverse order, depending on the functions involved. It should also be noted that each step in a timing diagram and / or flowchart, and combinations of steps in timing diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0117] The above description is merely an illustration of the embodiments of this application and the technical principles employed. Those skilled in the art should understand that the scope of protection involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the technical concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A navigation recovery method, characterized in that, The method includes: In response to the screen mirroring connection between the connected application on the mobile terminal and the in-vehicle terminal being disconnected due to an abnormal exit of the connected application, an instruction to activate the connected application is sent to the mobile terminal based on the communication connection between the in-vehicle terminal and the mobile terminal, so as to restart the connected application on the mobile terminal and restore the screen mirroring connection, wherein the connected application includes a navigation function; and Based on the screen mirroring connection, restore the navigation service; Based on the screen mirroring connection, restore the navigation service, including: Based on the screen mirroring connection, the system receives incomplete navigation information sent by the mobile terminal, and determines that the distance between the vehicle's location when the screen mirroring connection is restored and the vehicle's location when the abnormal exit occurred is less than or equal to a distance threshold. Based on the incomplete navigation information, the system restores the navigation service.
2. The method according to claim 1, wherein, The method further includes: Based on the communication connection, an instruction to enable the interconnected application is sent to the mobile terminal, thereby enabling the interconnected application on the mobile terminal; and In response to the establishment of a screen projection connection between the connected application and the vehicle terminal, the system receives the screen projection content, including the application interface of the connected application, from the mobile terminal and provides the navigation service on the display screen of the vehicle terminal.
3. The method according to claim 2, wherein, Providing the navigation service on the display screen of the vehicle terminal includes: The user operation is obtained through the display screen of the vehicle terminal, and the operation command is sent to the mobile terminal based on the screen projection connection to switch the application interface of the interconnected application to the navigation interface. The operation command includes the location information of the user operation received on the display screen.
4. The method according to claim 1, wherein, Resuming the navigation service based on the incomplete navigation information includes: The in-vehicle terminal's display screen provides options for the user to choose whether to navigate based on the incomplete navigation information; and If an instruction confirming navigation based on the incomplete navigation information is received, the navigation service is resumed based on the incomplete navigation information; or, if an instruction canceling navigation based on the incomplete navigation information is received, the navigation service is canceled.
5. A navigation recovery method, characterized in that, The method includes: In response to a screen mirroring connection between a connected application on a mobile terminal and an in-vehicle terminal being disconnected due to an abnormal exit of the connected application, the system records the time of the abnormal exit and the driving information at the time of the abnormal exit, wherein the connected application includes navigation functionality; and In response to receiving an instruction from the vehicle terminal to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and the navigation service is restored through the screen mirroring connection; Specifically, in response to receiving an instruction from the in-vehicle terminal to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and the navigation service is restored through the screen mirroring connection, including: In response to receiving an instruction from the in-vehicle terminal to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and driving information at the time the screen mirroring connection is restored is recorded; and In response to determining that the distance between the vehicle's location when the screen mirroring connection is restored and the vehicle's location when the abnormal exit occurred is less than or equal to a distance threshold, the navigation service is restored through the screen mirroring connection.
6. The method according to claim 5, wherein, The method further includes: In response to receiving an instruction from the vehicle terminal to enable the connected application, the connected application is enabled; and A screen mirroring connection is established between the connected application and the vehicle terminal, and the screen mirroring content including the application interface of the connected application is sent to the vehicle terminal based on the screen mirroring connection to provide the navigation service on the display screen of the vehicle terminal.
7. The method according to claim 6, wherein, Providing the navigation service on the display screen of the vehicle terminal includes: Based on the screen projection connection, the system receives operation instructions from the in-vehicle terminal to operate the connected application, thereby switching the application interface of the connected application to the navigation interface; and Based on the user's input on the navigation interface, navigation information is recorded and marked as incomplete navigation information, wherein the navigation information includes destination information and route planning preference settings.
8. The method according to claim 7, wherein, In response to receiving an instruction from the in-vehicle terminal to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and the navigation service is restored through the screen mirroring connection, including: In response to receiving an instruction from the in-vehicle terminal to enable the connected application, the connected application is restarted to restore the screen mirroring connection, and the time when the screen mirroring connection is restored and the driving information at the time of restoration are recorded; and In response to determining that the difference between the time when the screen mirroring connection is restored and the time when the abnormal exit occurs is within a predetermined time range, and / or determining that the distance between the vehicle position when the screen mirroring connection is restored and the vehicle position when the abnormal exit occurs is less than or equal to a distance threshold, the navigation service is restored through the screen mirroring connection and based on the incomplete navigation information.
9. The method according to claim 5 or 8, wherein, The distance threshold satisfies: The distance threshold is equal to the product of the vehicle speed at the time of the abnormal exit and the predetermined duration; or... The distance threshold is equal to the product of the average speed and the predetermined duration, wherein the average speed is equal to half the sum of the vehicle speed at the time of the abnormal exit and the vehicle speed at the time of the screen projection connection restoration.
10. The method according to any one of claims 5 to 8, wherein, The driving information includes: latitude and longitude data of the driving location and driving speed data.
11. A navigation recovery system, characterized in that, include: A vehicle-mounted terminal configured to perform the method as described in any one of claims 1-4; as well as A mobile terminal configured to perform the method as described in any one of claims 5-10.
12. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the navigation recovery method according to any one of claims 1-10.
13. A non-transient computer-readable storage medium having stored thereon machine-executable instructions, which, when executed, cause the machine to perform the navigation recovery method according to any one of claims 1-10.
Citation Information
Patent Citations
Screen projection exception processing method and electronic equipment
CN114063951A