Interconnection application exit method and device, vehicle and computer readable storage medium

By detecting the first exit command on the vehicle's infotainment system and determining whether a second exit command is received within a preset time, the connected application can be exited directly on the vehicle's infotainment system. This solves the problem of waiting for confirmation from a second terminal in existing technologies, achieving fast and smooth application exit and improving the user experience.

CN121807480APending Publication Date: 2026-04-07GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-18
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, when exiting connected applications, the vehicle infotainment system needs to wait for confirmation from a second terminal, which makes the exit process slow and affects the user experience.

Method used

After detecting the first exit command on the vehicle's infotainment system, it determines whether a second exit command is received within a preset time. If the conditions are met, the connected application is exited directly on the vehicle's infotainment system, simplifying the exit process.

Benefits of technology

It enables quick exit from connected applications on the vehicle's infotainment system, avoiding brief black screens and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807480A_ABST
    Figure CN121807480A_ABST
Patent Text Reader

Abstract

The invention provides an interconnection application exit method and device, a vehicle and a computer readable storage medium, and relates to the technical field of intelligent interaction.If a first exit instruction based on an interconnection application is detected, the current application scene of the interconnection application is detected, and the interconnection application is an application program of interconnection between a vehicle terminal and a second terminal; judging whether a second exit instruction based on the interconnection application is detected within a preset time or not; and if yes, according to the second exit instruction and the current application scene, controlling the vehicle-mounted terminal to directly exit the interconnection application, and directly exiting a currently displayed application interface by triggering the exit instruction twice within a preset time and replying by a second terminal depending on interconnection, so that the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent interactive technology, and specifically to a method, device, vehicle, and computer-readable storage medium for exiting interconnected applications. Background Technology

[0002] As the user experience of in-vehicle infotainment systems continues to improve, most systems now support gesture-based back navigation, similar to the left / right swipe gesture on a smartphone screen to return to the previous screen. After the in-vehicle system's connected application (APP) establishes a connection with the smartphone, the system sends a "back" command to the phone via gesture once the app is displayed on the in-vehicle screen. However, there is a time lag between the phone receiving and responding with the app exit notification. This makes the exit experience feel less smooth and quick than the native in-vehicle app, and occasionally, some apps may fail to exit even after multiple back navigation attempts. Summary of the Invention

[0003] In view of this, embodiments of the present invention aim to provide a method, apparatus, vehicle, and computer-readable storage medium for exiting connected applications, solving the problem in the prior art that the vehicle-mounted terminal cannot quickly exit connected applications, simplifying the process of exiting connected applications on the vehicle-mounted terminal, and improving the user experience.

[0004] To achieve the above technical objectives, the embodiments of this specification provide the following technical solutions: In a first aspect, embodiments of this application provide a method for exiting a connected application, the method comprising: if a first exit instruction based on the connected application is detected, then detecting the current application scenario of the connected application, wherein the connected application is an application that connects a vehicle-mounted terminal and a second terminal; determining whether a second exit instruction based on the connected application is detected within a preset time; if so, then controlling the direct exit of the connected application on the vehicle-mounted terminal according to the second exit instruction and the current application scenario.

[0005] In this embodiment, by triggering two exit commands within a preset time, the second interconnected terminal responds, directly exiting the currently displayed application interface, which can improve the user experience.

[0006] Optionally, if a first exit command based on the connected application is detected, then detecting the current application scenario of the connected application includes: if a first exit command based on the connected application is detected, obtaining a screenshot of the first frame of the connected application on the vehicle's infotainment system; and detecting the current application scenario of the connected application based on the screenshot of the first frame.

[0007] In this embodiment, by analyzing the first frame screenshot, the current application scenario of the interconnected application can be accurately determined, and thus it can be accurately determined whether the exit operation of the interconnected application needs to be performed, which helps to quickly exit the interconnected application in the future.

[0008] Optionally, detecting the current application scenario of the interconnected application based on the first frame screenshot includes: performing image recognition on the first frame screenshot to determine whether the first frame screenshot is the homepage of the interconnected application, and simultaneously identifying whether the interconnected application supports a second exit; if the first frame screenshot is the homepage of the interconnected application and the interconnected application supports a second exit, then the current application scenario of the interconnected application is determined to be a second exit application scenario; otherwise, the current application scenario of the interconnected application is determined to be a non-second exit application scenario.

[0009] In this embodiment, by determining the exit method of the connected application and whether the connected application is currently on the homepage, it is possible to accurately determine whether the connected application needs to perform the exit function, so as to facilitate the quick exit of the connected application in the future.

[0010] Optionally, determining whether a second exit instruction based on the interconnected application is detected within a preset time includes: determining a first trigger time of the first exit instruction; when a second exit instruction based on the interconnected application is detected, determining a second trigger time of the second exit instruction; calculating the difference between the first trigger time and the second trigger time to obtain the time interval between the first exit instruction and the second exit instruction; determining whether the time interval is less than or equal to a preset time; if the time interval is less than or equal to the preset time, then determining that a second exit instruction based on the interconnected application is detected within the preset time.

[0011] In this embodiment, by using the time difference between the triggering of the first exit instruction and the second exit instruction, it is possible to accurately detect whether the user has performed two "return" operations, which facilitates quick exit from the connected application.

[0012] Optionally, the first exit instruction and the second exit instruction are preset operations performed by the user on the vehicle-mounted terminal to indicate exiting the connected application. The preset operations include at least one of the following: clicking the back button, a preset gesture, or a preset swipe operation on the vehicle-mounted terminal screen.

[0013] In this embodiment, the first and second exit instructions can be set according to the user's wishes, which can improve the user experience.

[0014] Optionally, controlling the direct exit of the connected application on the vehicle-mounted system according to the second exit instruction and the current application scenario includes: if the current application scenario is a secondary exit scenario, then responding to the second exit instruction and controlling the exit of the connected application on the vehicle-mounted system.

[0015] In this embodiment, when a second exit command is detected within a predetermined time and the connected application is in an application scenario that requires the exit function, the system directly responds to the second exit command and controls the direct exit of the connected application on the vehicle's infotainment system. This eliminates the need to wait for notification from the second terminal, allowing for a quick exit of the connected application without any brief black screen, thus improving the user experience.

[0016] Optionally, before the vehicle-mounted system directly exits the connected application, the control includes: transmitting the first exit instruction and the second exit instruction to the second terminal to instruct the second terminal to exit the connected application; after the vehicle-mounted system directly exits the connected application, the control includes: receiving a message from the second terminal confirming the exit of the connected application.

[0017] In this embodiment, by transmitting the first exit command and the second exit command to the second terminal in a timely manner, the second terminal can exit the interconnected application in a timely manner, thus ensuring the synchronization of the interconnected application between the vehicle terminal and the second terminal.

[0018] Secondly, this application also provides a connected application exit device applied to a vehicle controller. The device includes: a scene detection module, used to detect the current application scene of the connected application if a first exit instruction based on the connected application is detected, wherein the connected application is an application connected between the vehicle terminal and a second terminal; a judgment module, used to determine whether a second exit instruction based on the connected application is detected within a preset time; and an application exit module, used to control the direct exit of the connected application on the vehicle terminal according to the second exit instruction and the current application scene if the second exit instruction is detected.

[0019] Thirdly, embodiments of this application also provide a vehicle, including: a memory for storing executable program code; and a processor for calling and running the executable program code from the memory, causing the processor to perform the aforementioned method.

[0020] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed, implements the aforementioned method.

[0021] As can be seen from the above technical solution, the interconnected application exit method provided in this specification detects the current application scenario of the interconnected application if a first exit instruction based on the interconnected application is detected, wherein the interconnected application is an application that connects the vehicle-mounted terminal and the second terminal; it determines whether a second exit instruction based on the interconnected application is detected within a preset time; if so, it controls the direct exit of the interconnected application on the vehicle-mounted terminal according to the second exit instruction and the current application scenario. By triggering two exit instructions within a preset time, the interconnected application currently displayed on the vehicle-mounted terminal can be directly exited. Compared with the prior art, which requires the vehicle-mounted terminal to wait for a confirmation of exit from the connected second terminal before exiting the interconnected application, this simplifies the process of exiting the interconnected application on the vehicle-mounted terminal, and the vehicle-mounted terminal will not experience a brief black screen phenomenon, thus improving the user experience.

[0022] The above description is merely an overview of the technical solution disclosed herein. In order to better understand the technical means of this disclosure and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this disclosure more apparent and understandable, specific embodiments of this disclosure are described below. Attached Figure Description

[0023] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this disclosure. Furthermore, the same reference numerals denote the same parts throughout the drawings.

[0024] Figure 1 The diagram shown is a flowchart of the Internet application exit method provided in an embodiment of this application.

[0025] Figure 2 The diagram shown is an example of the Internet application exit method provided in the embodiments of this application.

[0026] Figure 3 The diagram shows the interaction between the vehicle-mounted system and the mobile phone on the connected application exit method provided in this embodiment of the application.

[0027] Figure 4 The diagram shown is a structural schematic of an interconnected application exit device provided in one embodiment of this application.

[0028] Figure 5 The diagram shown is a structural schematic of a vehicle provided in one embodiment of this application. Detailed Implementation

[0029] Unless otherwise defined, the technical or scientific terms used in the embodiments of this specification shall have the ordinary meaning understood by one of ordinary skill in the art to which this specification pertains. The terms "first," "second," and similar terms used in the embodiments of this specification do not indicate any order, quantity, or importance, but are merely used to avoid confusion of constituent elements.

[0030] Unless the context otherwise requires, throughout this specification, "a plurality of" means "at least two," and "including" is interpreted as open-ended or encompassing, that is, "including, but not limited to." In the description of this specification, terms such as "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples" are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this specification. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example.

[0031] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0032] In related technologies, with the continuous improvement of the in-vehicle infotainment system experience, most in-vehicle systems now support gesture-based "back" functionality for connected apps, similar to the left / right swipe gesture on a mobile phone screen to trigger the back button. After the connected app on the in-vehicle system establishes a connection with the mobile phone, and the connected app on the phone is displayed on the in-vehicle system, the in-vehicle system sends a "back" command to the mobile phone via gesture. However, there is a time lag between the mobile phone receiving and responding with a notification to exit the connected app. This makes the exit experience feel less smooth and quick than the native connected app on the in-vehicle system, and occasionally, some connected apps fail to exit even after multiple "back" triggers. This may be because mobile apps have different user trigger handling strategies; some connected apps exit after one trigger, while others require two. Taking TikTok as an example, the in-vehicle system needs to send two "back" commands to the mobile phone, with the interval between the two commands meeting TikTok's internal time limits, before the app is actually exited and the in-vehicle system is notified. If a user wants to quickly exit a connected app, they need to continuously trigger a back gesture (send a "back" command) on the vehicle's infotainment system until they see the exit screen. However, the experience is poor, and occasionally some connected apps malfunction in their internal gesture processing, resulting in the inability to exit, which affects the user experience.

[0033] Based on this, in order to solve the problem in the existing technology where, when exiting a connected application triggered via the vehicle's infotainment system, a confirmation of exit from the connected second terminal is required before the application can be exited, resulting in a poor user experience and an inability to quickly exit the connected application, this application provides a method for exiting a connected application, such as... Figure 1 As shown, Figure 1 This is a schematic flowchart illustrating a connected application exit method provided in an embodiment of this application. The connected application exit method is applied to a vehicle server and includes: Step S11: If a first exit command based on the connected application is detected, the current application scenario of the connected application is detected, wherein the connected application is an application that connects the vehicle terminal and the second terminal.

[0034] The second terminal can be any terminal capable of interconnecting with the vehicle's infotainment system, such as a mobile phone, tablet computer, personal computer (PC), personal digital assistant (PDA), smartwatch, netbook, wearable terminal, augmented reality (AR) device, virtual reality (VR) device, smart screen, smart speaker, etc. This application embodiment does not impose any special restrictions on the specific form of the second terminal. The interconnected application can be any third-party application capable of interconnecting between the vehicle's infotainment system and the second terminal, such as navigation, multimedia playback, etc. This application embodiment does not impose any specific restrictions on the interconnected application.

[0035] The vehicle-mounted infotainment system and the second terminal are interconnected via a communication network, which can be a wired network or a wireless network. For example, the aforementioned communication network is a wireless network, and the wireless communication protocol used can be, for example, wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near-field communication (NFC), infrared (IR), etc.

[0036] After the connected application (APP) on the vehicle's infotainment system establishes a terminal connection with the second terminal via a communication network, the application on the second terminal is displayed on the vehicle's infotainment system. To exit the connected application, the user first triggers a first exit command based on the connected application. This first exit command can be any preset operation performed by the user on the vehicle's infotainment system to indicate that they want to exit the connected application. If this first exit command is detected, the current application scenario of the connected application can be detected, mainly to determine whether it is necessary to exit the connected application.

[0037] Step S12: Determine whether a second exit command based on the interconnected application is detected within a preset time.

[0038] In this embodiment, the preset time can be set as needed and is not specifically limited here. For example, the preset time can be 1 second or 2 seconds, or other values. In related technologies, the interconnection application between the vehicle terminal and the second terminal requires two consecutive exit commands to indicate that the interconnection application has truly exited. Therefore, in step S12, it is determined whether a second exit command based on the interconnection application is detected within the preset time. If a second exit command based on the interconnection application is detected within the preset time, it means that the exit of the interconnection application needs to be executed. Otherwise, the exit of the interconnection application does not need to be executed.

[0039] Step S13: If so, then according to the second exit instruction and the current application scenario, control the direct exit of the connected application on the vehicle terminal.

[0040] In related technologies, the vehicle's infotainment system sends two "return" commands to the second terminal, with the interval between the two commands being within a preset time, before the actual exit from the connected application is achieved. The vehicle's infotainment system then notifies the second terminal, which in turn exits the connected application. In this embodiment, if a second exit command based on the connected application is detected within the preset time, it indicates that the connected application needs to exit. When both the second exit command and the current application scenario meet preset requirements, the connected application can be directly exited from the vehicle's infotainment system. These preset requirements include confirming that the connected application is currently exiting and that the relevant exit operation has already been performed. In this case, the vehicle's infotainment system can directly exit the connected application without waiting for confirmation from the second terminal, as is required in related technologies. Confirming that the connected application is currently exiting means confirming that the connected application is in the exit process, and that the relevant exit operation has already been performed means that the first and second exit commands were detected within the preset time.

[0041] In the connected application exit method of this application, if a first exit command based on the connected application is detected, the current application scenario of the connected application is detected, wherein the connected application is an application that connects the vehicle-mounted terminal and the second terminal; it is determined whether a second exit command based on the connected application is detected within a preset time; if so, according to the second exit command and the current application scenario, the connected application is directly exited on the vehicle-mounted terminal. By triggering two exit commands within a preset time, the connected application currently displayed on the vehicle-mounted terminal can be directly exited. Compared with the prior art, which requires the vehicle-mounted terminal to wait for a confirmation of exit from the connected second terminal before exiting the connected application, this simplifies the process of exiting the connected application on the vehicle-mounted terminal and improves the user experience.

[0042] To more clearly illustrate the technical solutions provided in the embodiments of this application, the following further explains an interconnected application exit method provided in this application.

[0043] Considering that the first and second exit instructions are operations triggered by the user on the vehicle's infotainment system to indicate exiting the connected application, the specific operation can be set as needed. Therefore, in this embodiment, optionally, the first and second exit instructions are preset operations by the user on the vehicle's infotainment system to indicate exiting the connected application. These preset operations include at least one of: clicking the back button, a preset gesture, or a preset swipe operation on the vehicle's screen. The first and second exit instructions can be any of the above operations. For example, it could be the user clicking the back button on the connected application, a preset swipe operation on the vehicle's screen, or a preset gesture captured by a camera. The first and second exit instructions can also be combinations of the above basic operations. For example, it could be a combination of the user clicking the back button on the connected application and a preset swipe operation on the vehicle's screen; other combinations are also possible and are not specifically limited here. The first and second exit instructions can be the same or different. For example, the first and second exit instructions could both be the user clicking the back button on the connected application or a preset swipe operation on the vehicle's screen. Alternatively, the first exit command can be a preset swipe operation on the vehicle's infotainment screen, while the second exit command can be the user clicking the exit or back button on the connected app. This allows for flexible setting and adjustment of both exit commands according to user preferences, making operation convenient and improving the user experience.

[0044] In this embodiment, to exit a connected application, it is first necessary to determine whether the current connected application is in a state where it is about to be exited. Optionally, if a first exit command based on the connected application is detected, detecting the current application scenario of the connected application includes: if a first exit command based on the connected application is detected, obtaining a screenshot of the first frame of the connected application on the vehicle's infotainment system; and detecting the current application scenario of the connected application based on the first frame screenshot. If a first exit command based on the connected application is detected, it indicates that the user may want to exit the connected application. Therefore, the current application scenario of the connected application can be obtained. Specifically, the first frame screenshot of the connected application on the vehicle's infotainment system can be obtained, analyzed, and the current application scenario of the connected application can be determined, i.e., whether the connected application is in the process of exiting the connected application. By analyzing the first frame screenshot, the current application scenario of the connected application can be accurately determined, thereby accurately determining whether an exit operation of the connected application needs to be performed, which helps to quickly exit the connected application subsequently.

[0045] To accurately determine the current application scenario of an interconnected application and whether it needs to execute an exit function, in this embodiment, optionally, detecting the current application scenario of the interconnected application based on the first frame screenshot includes: performing image recognition on the first frame screenshot to determine whether the first frame screenshot is the homepage of the interconnected application, and simultaneously identifying whether the interconnected application supports a second exit; if the first frame screenshot is the homepage of the interconnected application and the interconnected application supports a second exit, then the current application scenario of the interconnected application is determined to be a second exit application scenario; otherwise, the current application scenario of the interconnected application is determined to be a non-second exit application scenario.

[0046] This application's embodiments are applied to applications that support two-stage exit, meaning that two consecutive exit commands are required to exit. Furthermore, the connected application should be on its homepage to exit. Therefore, if a first exit command based on the connected application is detected, it indicates that the user may want to exit the connected application. Thus, the current state of the connected application can be obtained, specifically by obtaining the first frame screenshot of the connected application on the vehicle's infotainment system. Image analysis is performed on this first frame screenshot to determine if it is the homepage of the connected application. If the first frame screenshot is the homepage, it means that the connected application can subsequently exit. Simultaneously, the corresponding connected application can be identified based on the first frame screenshot, and it can be determined whether the connected application supports two-stage exit. Supporting two-stage exit means that the application can be directly exited after receiving two consecutive exit commands within a preset time. A storage table can be pre-stored on the vehicle's infotainment system, containing all applications that support two-stage exit. After identifying the corresponding connected application based on the first frame screenshot, the storage table is directly searched. If the connected application is in the storage table, it is determined that the connected application supports two-stage exit; otherwise, it is not. If the screenshot of the first frame indicates that the user is currently on the homepage of an interconnected application, and the corresponding interconnected application supports a second exit, then the current application scenario is determined to be a second exit scenario, i.e., it belongs to the process of exiting the interconnected application. If the screenshot of the first frame indicates that the user is not currently on the homepage of an interconnected application, or the corresponding interconnected application does not support a second exit, then it means that the interconnected application is not in an application scenario requiring the exit function, and it does not belong to the process of exiting the interconnected application. This embodiment of the application, by determining the exit method of the interconnected application and whether the interconnected application is currently on the homepage, can accurately determine whether the interconnected application needs to execute the exit function, thus facilitating the rapid exit of the interconnected application subsequently.

[0047] Since this interconnected application supports two exits, after detecting the first exit and determining that the application is about to exit, a second exit command is also required to exit the application. Therefore, optionally, determining whether a second exit command based on the interconnected application is detected within a preset time includes: determining the first trigger time of the first exit command; when the second exit command is detected, determining the second trigger time of the second exit command; calculating the difference between the first and second trigger times to obtain the time interval between the first and second exit commands; determining whether the time interval is less than or equal to a preset time; if the time interval is less than or equal to the preset time, then it is determined that a second exit command based on the interconnected application was detected within the preset time. When the first exit command is detected, i.e., when the user triggers the first exit command, the first trigger time of the first exit command needs to be determined. Subsequently, when the second exit command is detected, the second trigger time of the second exit command is determined, and the difference between the first and second trigger times is calculated to obtain the time interval between the first and second exit commands. Based on this time interval, it can be determined whether the first and second exit commands are consecutive. If the time interval is less than or equal to a preset time, it indicates that the user has triggered the "back" operation twice consecutively within the preset time. This confirms that a second exit instruction based on the interconnected application was detected within the preset time, allowing for a quick exit from the interconnected application. If the time interval is greater than the preset time, it indicates that the second exit instruction is not consecutive with the first exit instruction, and the user has not triggered the "back" operation twice consecutively within the preset time. Therefore, exiting the interconnected application cannot be performed subsequently. This embodiment of the application accurately detects whether the user has executed the "back" operation twice consecutively based on the trigger time difference between the first and second exit instructions, facilitating a quick exit from the interconnected application.

[0048] If a second exit command is detected within a predetermined time, and the connected application is in an application scenario requiring an exit function, then the connected application needs to exit quickly. Optionally, based on the second exit command and the current application scenario, controlling the direct exit of the connected application on the vehicle-mounted system includes: if the current application scenario is a scenario requiring a second exit, responding to the second exit command and controlling the exit of the connected application on the vehicle-mounted system. When a second exit command is detected within a predetermined time, and the connected application is in an application scenario requiring an exit function, directly responding to the second exit command and controlling the direct exit of the connected application on the vehicle-mounted system, without considering the exit status of the connected application on the second terminal side. In related technologies, the vehicle-mounted system sends two "return" commands to the second terminal, with an interval of a predetermined time, before the second terminal truly exits the application, then informs the vehicle-mounted system, and only then does the vehicle-mounted system exit the connected application. This can lead to a situation where the second terminal has already exited the connected application, but the vehicle-mounted system has not yet closed the window due to the delay, resulting in a brief black screen on the vehicle-mounted system. This results in slow exit of the connected application on the vehicle-mounted system and a poor user experience. In this embodiment, when the requirements are met, the connected application on the vehicle's infotainment system can be exited directly without waiting for notification from the second terminal. This simplifies the process of exiting the connected application on the vehicle's infotainment system, avoids a brief black screen, and improves the user experience.

[0049] To ensure the normal exit of the interconnected application between the vehicle-mounted system and the second terminal, optionally, the control before the vehicle-mounted system directly exits the interconnected application includes: transmitting a first exit instruction and a second exit instruction to the second terminal to instruct the second terminal to exit the interconnected application; the control after the vehicle-mounted system directly exits the interconnected application includes: receiving a message from the second terminal confirming the exit of the interconnected application. Since the interconnected application is used for interconnection between the vehicle-mounted system and the second terminal, if a first exit instruction based on the interconnected application is detected, the first exit instruction is transmitted to the second terminal. Similarly, if a second exit instruction based on the interconnected application is detected within a preset time, the second exit instruction is transmitted to the second terminal to instruct the second terminal to exit the interconnected application. After receiving two exit instructions within the preset time, the second terminal controls the exit of the interconnected application and sends a confirmation exit message to the vehicle-mounted system after the interconnected application exits. The vehicle-mounted system receives the confirmation exit message. At this point, the vehicle-mounted system may have already completed the exit operation of the interconnected application, and after receiving the message, the vehicle-mounted system does not need to perform the exit action of the interconnected application again. This application embodiment transmits the first exit command and the second exit command to the second terminal in a timely manner so that the second terminal can exit the interconnected application in a timely manner, thus ensuring the synchronization of the interconnected application between the vehicle terminal and the second terminal.

[0050] The following details the interconnected application exit method according to embodiments of this application, applied to the vehicle controller on the in-vehicle terminal, such as... Figure 2 As shown, the methods for exiting an internet application include: Step 1: Connect the vehicle's infotainment system with the second terminal.

[0051] First, an interconnection relationship is established between the vehicle's infotainment system and the second terminal to provide communication conditions for the subsequent interconnection of applications.

[0052] Step 2: Input application packages and other data into the smart entity.

[0053] The vehicle's infotainment system is equipped with an AI Agent, which is an intelligent entity capable of sensing its environment, making autonomous decisions, and executing actions. When the vehicle's infotainment system establishes an interconnection with a second terminal, it shares application data, including application package names, application versions, and other information.

[0054] Step 3: The "Return" command is triggered for the first time.

[0055] When the user triggers the "back" command for the first time, take a screenshot of the first frame of the application opened on the current vehicle-mounted device.

[0056] Step 4: Upload the first frame screenshot.

[0057] The first frame screenshot is uploaded to the smart entity, which then analyzes the screenshot to identify whether the connected application supports exiting twice.

[0058] Step 5: Obtain the application results of the scenario.

[0059] The intelligent entity determines the scenario application result based on the interconnected application data in the first frame screenshot, that is, it determines that the second exit instruction was detected within a preset time, and the interconnected application is in an application scenario that requires the exit function to be executed.

[0060] Step 6: Read out the application scenario.

[0061] If the application is determined to be one that supports a second exit and is in an application scenario that requires the exit function, then read out the application scenario.

[0062] Step 7: Trigger the second "return" command.

[0063] When the user triggers the "back" command a second time, and the connected application supports exiting twice and is in an application scenario that requires exiting, the connected application window is closed directly without waiting for confirmation from the second terminal. The user can exit the connected application directly on the vehicle's infotainment system. For the user, the operation is as fast as exiting an application on a mobile phone, with no waiting time, thus improving the user experience.

[0064] The following uses the second terminal, the mobile phone. Figure 3 The diagram below illustrates the interaction between the vehicle-mounted system and the mobile phone regarding the interconnected application exit method according to an embodiment of this application. Figure 3 As shown, the connected app is set to be displayed on the vehicle's infotainment system, while the mobile app is set to be displayed on the mobile device. Methods to exit the connected app include: Step 11: The "Return" command is triggered for the first time.

[0065] The user triggers the first exit command on the vehicle's infotainment system, which is the first time the "return" command is triggered, to indicate that the user is exiting the connected app.

[0066] After the user triggers the "back" command for the first time, the vehicle's infotainment system identifies whether the connected application supports exiting twice and determines whether it is an application scenario for exiting the connected application.

[0067] Step 12: Issue the "Return" command.

[0068] The vehicle's infotainment system sends a "return" command to the mobile device.

[0069] Step 13: Press the back button on your phone.

[0070] The mobile device executes the back button based on the "back" command.

[0071] Step 14: Process the return key.

[0072] The corresponding mobile app on the mobile device handles the return button.

[0073] Step 15: Trigger the second "return" command.

[0074] Within a preset time, the user triggers a second exit command on the vehicle's infotainment system, i.e., a second "return" command, to indicate that they are exiting the connected app.

[0075] Step 16: Exit the application interface.

[0076] If the connected application supports exiting twice, and the scenario involves exiting the connected application, then after the user triggers the second exit command, the application interface on the vehicle's system will exit directly, without needing to consider the current state of the mobile app on the phone.

[0077] Step 17: Issue the "Return" command.

[0078] After the user triggers the second exit command, a "return" command will be sent to the mobile phone based on the interconnection between the vehicle terminal and the mobile phone.

[0079] Step 18: Press the back button on your phone.

[0080] The mobile device executes the back button based on the "back" command.

[0081] Step 19: Process the back button.

[0082] The corresponding mobile app handles the back button, controlling the exit of the corresponding mobile app.

[0083] Step 10: Exit notification.

[0084] After exiting the corresponding mobile app on the mobile device, the mobile app sends a confirmation notification to the mobile device.

[0085] Step 21: Tell the car's infotainment system to exit the app.

[0086] The mobile device notifies the vehicle's infotainment system that the user has exited the app.

[0087] It should be noted that step 16 can be executed before or during steps 17 to 21. It does not need to wait for step 21 to be completed as in related technologies. It can quickly exit the connected APP without relying on the mobile phone's callback exit command, thus optimizing the exit experience of connected applications in the vehicle system.

[0088] In the interconnected application exit method of this application embodiment, if a first exit command based on the interconnected application is detected, the current application scenario of the interconnected application is detected, wherein the interconnected application is an application that connects the vehicle-mounted terminal and the second terminal; it is determined whether a second exit command based on the interconnected application is detected within a preset time; if so, according to the second exit command and the current application scenario, the interconnected application is directly exited on the vehicle-mounted terminal. By triggering two exit commands within a preset time, the interconnected application currently displayed on the vehicle-mounted terminal can be directly exited. Compared with the prior art, which requires the vehicle-mounted terminal to wait for a confirmation of exit from the connected second terminal before exiting the interconnected application, this simplifies the process of exiting the interconnected application on the vehicle-mounted terminal, and the vehicle-mounted terminal will not experience a brief black screen phenomenon, thus improving the user experience.

[0089] In one exemplary embodiment of this specification, a connected application exit device is also provided, applied to a vehicle controller. For example... Figure 4 As shown, the interconnected application exit device 400 includes: The scene detection module 401 is used to detect the current application scene of the interconnected application if a first exit instruction based on the interconnected application is detected, wherein the interconnected application is an application that interconnects the vehicle terminal and the second terminal. The judgment module 402 is used to determine whether a second exit instruction based on the interconnected application is detected within a preset time. Application exit module 403 is used to control the direct exit of the connected application on the vehicle terminal if the application exits, based on the second exit instruction and the current application scenario.

[0090] In one specific implementation, the scene detection module 401 is used to: if a first exit instruction based on the connected application is detected, obtain the first frame screenshot of the connected application on the vehicle's infotainment system; and detect the current application scene of the connected application based on the first frame screenshot.

[0091] In some implementations, the scene detection module 401 is further configured to: perform image recognition on the first frame screenshot, determine whether the first frame screenshot is the homepage of the Internet application, and simultaneously identify whether the Internet application supports a second exit; if the first frame screenshot is the homepage of the Internet application and the Internet application supports a second exit, then determine that the current application scenario of the Internet application is a second exit application scenario; otherwise, determine that the current application scenario of the Internet application is a non-second exit application scenario.

[0092] In some implementations, the determination module 402 is used to: determine the first trigger time of the first exit instruction; when a second exit instruction based on the Internet application is detected, determine the second trigger time of the second exit instruction; calculate the difference between the first trigger time and the second trigger time to obtain the time interval between the first exit instruction and the second exit instruction; determine whether the time interval is less than or equal to a preset time; if the time interval is less than or equal to the preset time, determine that a second exit instruction based on the Internet application was detected within the preset time.

[0093] In some implementations, the first exit instruction and the second exit instruction are preset operations performed by the user on the vehicle-mounted system to indicate exiting the connected application. The preset operations include at least one of the following: clicking the back button, a preset gesture, or a preset swipe operation on the vehicle-mounted system screen.

[0094] In some implementations, the application exit module 403 is used to: if the current application scenario is a secondary exit scenario, respond to the second exit instruction and control the exit of the connected application on the vehicle terminal.

[0095] In some implementations, the scene detection module 401 is further configured to: before the control directly exits the connected application on the vehicle-mounted terminal, include: transmitting the first exit instruction and the second exit instruction to the second terminal to instruct the second terminal to exit the connected application; after the control directly exits the connected application on the vehicle-mounted terminal, include: receiving a message from the second terminal confirming the exit of the connected application.

[0096] Specific limitations regarding the Internet application exit device can be found in the limitations regarding the Internet application exit method described above, and will not be repeated here. Each module in the aforementioned Internet application exit device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0097] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments concerning the interconnected application exit method, and will not be elaborated upon here.

[0098] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0099] For example, such as Figure 5 As shown, the vehicle includes a memory 501 and a processor 502. The memory 501 stores executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to execute the interconnected application exit method.

[0100] This embodiment can divide the vehicle into functional modules according to the above method embodiment. For example, each function can be assigned to a separate module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0101] When each function is divided into its own modules, the vehicle may include: a scene detection module, a judgment module, and an application exit module, etc.

[0102] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0103] The vehicle provided in this embodiment is used to execute the above-described method for exiting an interconnected application, and thus can achieve the same effect as the above-described implementation method.

[0104] When using integrated units, the vehicle may include a processing module and a storage module. The processing module is used to control and manage the vehicle's movements. The storage module supports the processing module in executing program code and storing data.

[0105] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits as disclosed in this application. The processor may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.

[0106] This embodiment also provides a computer-readable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) storing computer program code. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement the interconnected application exit method provided in the above embodiment. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROM), microdrives, and magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), dynamic random access memory (DRAM), video random access memory (VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0107] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the interconnected application exit method provided in the above embodiment.

[0108] The beneficial effects of the above embodiments can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0109] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0110] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0111] In the description of this disclosure, it should be understood that if the terms "upper", "lower", "front", "rear", "left" and "right" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the position or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure.

[0112] It should be noted that, in the embodiments of this application, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0113] The above are merely embodiments of this disclosure and are not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.

Claims

1. A method for exiting an internet application, characterized in that, Applied to a vehicle controller, the method includes: If a first exit command based on the connected application is detected, the current application scenario of the connected application is detected, wherein the connected application is an application that connects the vehicle terminal and the second terminal; Determine whether a second exit command based on the interconnected application is detected within a preset time period; If so, then according to the second exit instruction and the current application scenario, control the system to directly exit the connected application on the vehicle's infotainment system.

2. The method according to claim 1, characterized in that, If a first exit instruction based on an interconnected application is detected, then detecting the current application scenario of the interconnected application includes: If a first exit command based on a connected application is detected, obtain the first frame screenshot of the connected application on the vehicle's infotainment system. The current application scenario of the interconnected application is detected based on the first frame screenshot.

3. The method according to claim 2, characterized in that, The detection of the current application scenario of the interconnected application based on the first frame screenshot includes: Image recognition is performed on the first frame screenshot to determine whether the first frame screenshot is the homepage of the Internet application, and at the same time, it is identified whether the Internet application supports exiting twice. If the first frame screenshot is the homepage of the Internet application, and the Internet application supports a second exit, then the current application scenario of the Internet application is determined to be a second exit application scenario. Otherwise, the current application scenario of the interconnected application is determined to be a non-secondary exit application scenario.

4. The method according to claim 1, characterized in that, The determination of whether a second exit instruction based on the interconnected application is detected within a preset time period includes: Determine the first trigger time of the first exit instruction; Upon detecting a second exit instruction based on an interconnected application, determine a second trigger time for the second exit instruction; Calculate the difference between the first trigger time and the second trigger time to obtain the time interval between the first exit instruction and the second exit instruction; Determine whether the time interval is less than or equal to a preset time; If the time interval is less than or equal to the preset time, it is determined that a second exit instruction based on the interconnected application was detected within the preset time.

5. The method according to claim 1, characterized in that, The first exit instruction and the second exit instruction are preset operations performed by the user on the vehicle-mounted terminal to indicate exiting the connected application. The preset operations include at least one of the following: clicking the back button, a preset gesture, or a preset swipe operation based on the vehicle-mounted terminal screen.

6. The method according to claim 1, characterized in that, The step of controlling the direct exit of the connected application on the vehicle-mounted system based on the second exit instruction and the current application scenario includes: If the current application scenario is a scenario requiring a second exit, then the second exit command is responded to, and the connected application is exited via the vehicle-mounted system.

7. The method according to claim 1, characterized in that, The control, before the connected application is directly exited on the vehicle's infotainment system, includes: The first exit instruction and the second exit instruction are transmitted to the second terminal to instruct the second terminal to exit the Internet application; The control after the connected application is directly exited on the vehicle's infotainment system includes: Receive a message from the second terminal confirming the exit of the interconnected application.

8. A device for exiting an interconnected application, characterized in that, The device, applied to a vehicle controller, includes: The scene detection module is used to detect the current application scene of the connected application if a first exit instruction based on the connected application is detected, wherein the connected application is an application that connects the vehicle terminal and the second terminal. The judgment module is used to determine whether a second exit instruction based on the interconnected application is detected within a preset time. The application exit module is used to, if so, control the direct exit of the connected application on the vehicle-mounted system based on the second exit instruction and the current application scenario.

9. A vehicle, characterized in that, The vehicles include: Memory, used to store executable computer programs; A processor for calling and running the executable computer program from the memory, such that the processor performs the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 7.