WO2024041176A1 - 应用流转方法、装置、终端、存储介质及程序产品 - Google Patents

应用流转方法、装置、终端、存储介质及程序产品 Download PDF

Info

Publication number
WO2024041176A1
WO2024041176A1 PCT/CN2023/103206 CN2023103206W WO2024041176A1 WO 2024041176 A1 WO2024041176 A1 WO 2024041176A1 CN 2023103206 W CN2023103206 W CN 2023103206W WO 2024041176 A1 WO2024041176 A1 WO 2024041176A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
display
transfer
terminal
prompt
Prior art date
Application number
PCT/CN2023/103206
Other languages
English (en)
French (fr)
Inventor
何�轩
伍超
杨俊拯
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2024041176A1 publication Critical patent/WO2024041176A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • Embodiments of the present application relate to the technical field of vehicle-machine interconnection, and in particular to an application transfer method, device, terminal, storage medium and program product.
  • the user when the user needs to continue to display the application interface in the terminal through the car machine, the user can start a local application in the car machine so that the application interface in the terminal can be continued to be displayed on the car machine.
  • Embodiments of the present application provide an application transfer method, device, terminal, storage medium and program product.
  • the technical solutions are as follows:
  • inventions of the present application provide an application transfer method, which is executed by a terminal.
  • the method includes:
  • an application transfer prompt is displayed, and the application transfer prompt is used to instruct the transfer of the first interface content to the vehicle computer display;
  • a transfer reception instruction is sent to the vehicle machine, so that the vehicle machine displays second interface content, and the second interface content belongs to the first interface content.
  • an application transfer device which includes:
  • a display module used to display the first interface content of the first application
  • the display module is also configured to display an application transfer prompt when a communication connection is established with the vehicle machine.
  • the application transfer prompt is used to instruct the transfer of the first interface content to the vehicle machine display;
  • An instruction sending module configured to respond to a confirmation operation of the application transfer prompt and send a transfer reception instruction to the vehicle machine so that the vehicle machine displays a second interface content, and the second interface content belongs to the first An interface content.
  • embodiments of the present application provide a terminal, which includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the above aspects.
  • embodiments of the present application provide a computer-readable storage medium that stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the application flow method as described above.
  • embodiments of the present application provide a computer program product or computer program, which A computer program product or computer program includes computer instructions stored in a computer-readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the application transfer method provided in various optional implementations of the above aspect.
  • Figure 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
  • Figure 2 shows a flow chart of an application flow method provided by an exemplary embodiment of the present application
  • Figure 3 shows a schematic interface diagram of the application flow process provided by an exemplary embodiment of the present application
  • Figure 4 shows a flow chart of an application flow method provided by another exemplary embodiment of the present application.
  • Figure 5 shows a schematic diagram of the interface for triggering the application transfer function provided by an exemplary embodiment of the present application
  • Figure 6 shows a schematic interface diagram of a display control panel provided by an exemplary embodiment of the present application
  • Figure 7 shows a flow chart of an application flow method provided by another exemplary embodiment of the present application.
  • Figure 8 shows a schematic interface diagram of the application flow process provided by another exemplary embodiment of the present application.
  • Figure 9 shows a structural block diagram of an application flow device provided by an exemplary embodiment of the present application.
  • Figure 10 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • the application interface content displayed in the terminal may need to be displayed on the car display.
  • users can start local applications in the car and reopen the corresponding application interface. For example, when video A is being played in the terminal, the user can start the video application in the car and click on the video application interface to cause the video application to display the video playback interface of video A, thereby continuing to play the video on the car.
  • embodiments of the present application provide an application transfer method.
  • the terminal can transfer the application interface content to the vehicle machine for display through the application transfer function. Exemplary embodiments will be described below.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
  • the implementation environment includes a terminal 110 and a vehicle machine 120 .
  • the terminal 110 refers to an electronic device with an application transfer function.
  • the electronic device may be a smartphone, a tablet, a wearable device, a personal computer, etc. This embodiment does not limit the specific type of the terminal 110 .
  • the vehicle computer 120 is a vehicle-mounted terminal installed in the vehicle and is used to realize information communication between people and the vehicle, and between the vehicle and the outside world.
  • the vehicle computer 120 is provided with a display screen.
  • the vehicle computer 120 can receive application transfer instructions from the terminal 110 and relay-display the interface content of the application program on the display screen.
  • the communication connection between the terminal 110 and the vehicle machine 120 can be established through wired or wireless methods, such as Bluetooth connection, Universal Serial Bus (Universal Serial Bus, USB), Wireless Fidelity (Wireless Fidelity, WiFi) connection or mobile data network connection, etc., this embodiment is not limited to this.
  • the terminal 110 when the terminal 110 detects that a communication connection is established with the vehicle computer 120, it will trigger the application circulation function and send a circulation reception instruction to the vehicle computer 120. After the vehicle computer 120 receives the circulation reception instruction, the relay display The interface content of the first application realizes application flow between the terminal 110 and the vehicle machine 120 .
  • Figure 2 shows a flow chart of an application transfer method provided by an exemplary embodiment of the present application.
  • This embodiment of the present application takes the application of this method to the terminal 110 shown in Figure 1 as an example.
  • the method includes:
  • Step 201 Display the first interface content of the first application.
  • the first application may be an application running in the foreground, and the first interface content is the application interface content of the first application currently being displayed by the terminal.
  • the first interface content refers to the display elements within the interface, including static elements and dynamic elements.
  • the first interface content includes the playing video (dynamic elements) and the video introduction, comment information, etc. (static elements).
  • Step 202 When a communication connection is established with the vehicle computer, an application transfer prompt is displayed.
  • the application transfer prompt is used to instruct the transfer of the first interface content to the vehicle computer display.
  • the terminal When the terminal displays the first interface content, after the user gets in the car, the first interface content displayed in the terminal may be transferred to the car machine for continued display.
  • an application transfer method is provided. When certain conditions are met, the terminal can trigger the application transfer function to transfer the first interface content currently being displayed by the terminal to the vehicle machine for display.
  • application transfer refers to switching the interface content of a running application on one device to another device for display.
  • the application transfer process includes the transfer of interface content progress, so that the recipient of the application transfer can relay the interface content. That is, the application transfer process between two devices is the process of relay display of the interface content of the application between the two devices.
  • the terminal can transfer the application to the car machine, and the car machine continues to display the interface content of the first application displayed in the terminal.
  • the application flow process of the video playback application includes the flow of playback time corresponding to the playback video, so that the vehicle and the machine can continue to play the video based on the playback time.
  • the terminal may only transfer the interface content to the vehicle machine without performing content relay, which is not limited in this embodiment.
  • the communication connection status with the vehicle machine can be detected in real time.
  • the terminal can communicate with the vehicle computer to realize the application transfer function.
  • the terminal can activate the application transfer function, and then displays an application transfer prompt, prompting the user terminal to transfer the first interface content to the car machine for display. .
  • the application interfaces of video, games, navigation and other related applications can continue to be transferred to the car for display, while the application interfaces of reading, shopping and other related applications are not suitable for transfer. to the vehicle machine for display. Therefore, in another possible implementation, when the terminal detects that a communication connection is established with the vehicle machine, it will further detect whether the first application satisfies the application requirement. Transfer conditions. When it is detected that the application transfer conditions are met, the terminal displays an application transfer prompt.
  • the application transfer condition may be to determine whether the first application is a transferable application.
  • transferable applications are applications whose application interface supports transfer to the vehicle display.
  • the transferable application may be an application preset by the developer, or it may be a user-defined application, that is, an application whose user-defined settings need to be transferred to the vehicle for display after getting in the vehicle. This embodiment is not limited to this.
  • the terminal may store transferable application interfaces suitable for transfer in different applications.
  • the content of the first interface belongs to the transferable application interface, it is determined that the application transfer conditions are met.
  • the first application running in the foreground of the terminal is an instant messaging application.
  • the first interface content is the chat interface content, it is determined that it does not belong to the transferable application interface and does not meet the application transfer conditions.
  • the first interface content is the video call
  • the interface it is determined to be a transferable application interface and meets the application transfer conditions, and an application transfer prompt is displayed.
  • the application transfer prompt is used to prompt the user to transfer the content of the first interface to the vehicle display.
  • an application transfer prompt pops up automatically, or when it detects that a communication connection is established with the car machine and the first application meets the application transfer conditions, the terminal can automatically pop up an application transfer prompt , prompting the user that the application is about to be transferred, without requiring the user to manually trigger it, realizing the automatic application transfer function.
  • the application is automatically transferred, the user has not confirmed that the automatic transfer opportunity has been missed.
  • the user can also trigger the display of the application transfer prompt through manual triggering to realize the manual triggering of the application transfer function.
  • the user can also be reminded through vibration, ringing, voice broadcast, etc.
  • the first interface content 302 is being displayed in the terminal 301.
  • an application transfer prompt 304 will be displayed.
  • the first interface content may not be displayed but is in an audio playback state.
  • the first application running on the terminal is an audio playback application or the first application is currently only playing audio.
  • the application transfer prompt can also be displayed to prompt the user to transfer the application to the car machine and use the car machine for audio playback .
  • Step 203 In response to the confirmation operation of the application transfer prompt, a transfer reception instruction is sent to the vehicle computer so that the vehicle computer displays the second interface content, and the second interface content belongs to the first interface content.
  • the application transfer prompt includes a confirmation control for confirming the transfer.
  • a trigger operation on the confirmation control it is determined that the confirmation operation on the application transfer prompt is received.
  • a voice signal confirming the application transfer prompt it is determined that a confirmation operation for the application transfer prompt is received.
  • the application transfer prompt may also include a cancellation control for the user to cancel the transfer.
  • the application transfer prompt When a trigger operation on the cancel control is received and it is determined that the user does not need to apply the transfer, the application transfer prompt will be stopped and the first interface content will continue to be displayed.
  • the terminal when receiving a voice signal to cancel the application transfer prompt, the terminal may also stop displaying the application transfer prompt.
  • the The time displays the application transfer prompt.
  • the terminal can display the application transfer prompt within the first period of time.
  • the terminal sends a transfer reception instruction to the vehicle machine.
  • the first duration may be 10 seconds, and when no operation on the application transfer prompt is received within the first duration, the application transfer prompt may be stopped and the first interface content may be continued to be displayed.
  • the terminal After the terminal receives the confirmation operation for the application transfer prompt, it will send a transfer reception instruction to the vehicle. After receiving the transfer reception instruction, the vehicle computer displays the second interface content, that is, continues to display the interface content of the first application.
  • the second interface content belonging to the first interface content means that the second interface content is the same as the first interface content or the second interface content is part of the first interface content. That is, the second interface content contains the same display elements as the first interface content, or only contains some of the display elements in the first interface content.
  • the displayed second interface content is the same as the first interface content.
  • the content of the second interface is the video content being played in the content of the first interface, and no other content is displayed; and when the content of the first interface is only the video content being played, the content of the second interface can be the same as the content of the first interface. All are video content played.
  • the interface content to be displayed after different interface contents are transferred to the vehicle machine can be preset, and the terminal can determine the second interface content to be displayed based on the first interface content, and instruct the vehicle machine to display it.
  • the vehicle computer selects the second interface content for display.
  • the terminal when the terminal receives the confirmation operation for the application transfer prompt 304, it sends a transfer reception instruction to the car machine 303.
  • the car machine 303 will display the second interface content 305, and the second interface content 305 It is the partial interface content of the first interface content 302, which can realize the application flow between the terminal 301 and the vehicle machine 303.
  • the vehicle when the first application is an audio playback application or the first application is playing audio, after the vehicle receives the transfer reception instruction, it will continue to play the audio played in the first application to realize application transfer.
  • the terminal when the terminal displays the first interface content of the first application, if the terminal establishes a communication connection with the car machine, the terminal will display an application transfer prompt to prompt the user to transfer the first interface content.
  • the terminal can send a transfer reception instruction to the vehicle, so that the vehicle continues to display the second interface content belonging to the first interface content. That is, in the embodiment of this application, an application transfer function is provided.
  • the terminal can transfer the application to the car machine for display, and the car machine can continue to display the interface content of the application to realize the interface content. Quickly switch displays between the terminal and the car to improve application flow efficiency.
  • the application transfer function can be actively triggered by the user.
  • the user can trigger the terminal to display the application transfer prompt and transfer the first interface content to the vehicle display by triggering the transfer trigger control.
  • the application transfer prompt can also include a display screen selection prompt, in which the user can select the target vehicle display screen for displaying the second interface content. Exemplary embodiments will be described below.
  • FIG 4 shows a flow chart of an application transfer method provided by another exemplary embodiment of the present application.
  • This embodiment of the present application takes the application of this method to the terminal 110 shown in Figure 1 as an example.
  • the method includes :
  • Step 401 Display the first interface content of the first application.
  • step 201 For the implementation of this step, reference can be made to the above-mentioned step 201, which will not be described again in this embodiment.
  • Step 402 When a communication connection is established with the car, in response to the triggering operation on the sidebar, a side toolbar containing a transfer trigger control is displayed.
  • the transfer trigger control is used to trigger the transfer of the first interface content to the car. machine display.
  • the terminal when the terminal detects that a communication connection has been established with the car machine, the terminal will automatically display an application transfer prompt to remind the user that the application transfer is about to occur, and there may be situations in which the user has not confirmed or does not need to transfer the application. In the case of application transfer, application transfer is not carried out. During subsequent use of the terminal, the user may need to transfer the application interface to the vehicle display. Therefore, in this embodiment, a method of actively triggering the application transfer function is provided, and the user can actively trigger the terminal to transfer the application. In a possible implementation, after the terminal detects that a communication connection is established with the car machine, the terminal can add an application transfer control for triggering application transfer in the side toolbar.
  • the side toolbar containing the flow trigger control When the terminal receives a trigger operation on the sidebar, the side toolbar containing the flow trigger control will be displayed.
  • the triggering operation for the sidebar may be a click operation, a long press operation, a sliding operation, etc., which is not limited in this embodiment.
  • different applications display different side toolbars.
  • the corresponding displayed side toolbar contains a transfer trigger control, that is, when the interface of the application that meets the application transfer conditions is displayed, the terminal receives After the sidebar is triggered, the side toolbar containing the transfer trigger control will be displayed; when the application does not meet the application transfer conditions, when the sidebar is triggered, the side toolbar will be displayed.
  • Does not include transfer trigger control For example, when the first application is a video playback application, it meets the application flow conditions.
  • the terminal receives a trigger operation for the sidebar, it can display the sidebar containing the flow trigger control.
  • Toolbar when the first application is an e-book application, it does not meet the application transfer conditions.
  • the application interface of the e-book application is displayed, after the terminal receives the trigger operation for the side bar, the displayed side tool bar Does not include transfer trigger control.
  • the terminal is displaying the first interface content of the video playback application.
  • the terminal has established a communication connection with the car machine, and the video playback application meets the application flow conditions.
  • the side toolbar containing the flow trigger control 501 will be displayed.
  • Step 403 In response to a triggering operation on the transfer trigger control, display an application transfer prompt including a display screen selection prompt.
  • the terminal When receiving a trigger operation on the transfer trigger control, the terminal displays an application transfer prompt, thereby prompting the user to transfer the first interface content to the vehicle for display.
  • the terminal can automatically select the on-board display screen to display the first interface content, for example, select the on-board display screen according to the type of application, for example, for entertainment applications , you can choose a car display other than the central control display. For navigation applications, you can choose the central control display.
  • the terminal sends the first interface content to the vehicle computer, and the vehicle computer automatically selects the vehicle computer display screen for processing.
  • the vehicle computer selects based on the display status of each vehicle computer display screen, or selects based on cockpit status information.
  • the application transfer prompt displayed on the terminal may only include prompt information for application transfer, a confirmation control for confirming application transfer, and a cancel control for canceling application transfer.
  • the vehicle display screen can also be selected by the user.
  • the terminal displays an application transfer prompt
  • it may display an application transfer prompt including a display screen selection prompt.
  • the display selection prompt includes selection controls corresponding to different vehicle and computer displays. The user can select the corresponding vehicle and computer display by triggering the selection control.
  • the terminal can obtain different vehicle display screens set in the vehicle from the vehicle computer, and the terminal can display selection controls corresponding to all vehicle computer displays in the display selection prompt.
  • the display selection prompt can display the selection controls corresponding to the central control display screen and the passenger display screen respectively.
  • the display selection prompt may display the selection controls corresponding to the central control display screen, the front passenger display screen, and the rear seat display screen respectively.
  • the terminal displays an application flow prompt including a display screen selection prompt, wherein the display screen selection prompt includes a selection control 502 corresponding to the central control display screen and a selection control 503 corresponding to the passenger display screen.
  • the display selection prompt can display the selection controls corresponding to all the vehicle display screens in the vehicle.
  • the terminal can obtain the vehicle's cockpit status information from the vehicle's computer, filter the vehicle's computer display screen based on the cockpit status information, and after filtering, display a display screen including the filtered vehicle computer's display screen.
  • This method may include the following steps:
  • Step 1 Obtain cockpit status information from the vehicle and the vehicle, where the cockpit status includes a ridden state and a not-ridden state.
  • the terminal can send a cabin status information acquisition request to the vehicle computer.
  • the vehicle computer receives the cockpit status information acquisition request, it can determine the cabin status information of each cabin in the current vehicle, and send the determined cabin status information to the terminal.
  • the cabin state includes a occupied state and an unoccupied state.
  • the occupied state refers to a state in which the cabin has passengers
  • the unoccupied state refers to a state in which no passengers are in the cabin.
  • the vehicle computer can send cabin status information including all cabin statuses to the terminal, or it can also only send cabin status information including the cabins with the occupied status, indicating to the terminal the cabins currently occupied by passengers, for example, when When it is determined that the main driver and co-pilot are in the riding state, the cockpit status information of the main driver and co-pilot can be sent to the terminal.
  • Step 2 Determine the second display screen based on the cabin in the occupied state in the cabin status information, and the position of the second display screen corresponds to the position of the cabin in the occupied state.
  • the terminal filters out the vehicle display screen to obtain the second display screen based on the cabin in the occupied state in the cabin status information.
  • the position of the second display screen corresponds to the position of the cockpit in the riding state.
  • the terminal stores the corresponding relationship between different display screens and cockpits at different positions.
  • the main driver corresponds to the central control display screen
  • the co-pilot corresponds to the co-pilot.
  • Display screen the rear seat corresponds to the rear seat display screen.
  • the terminal can determine the cabin according to the seat in the occupied state.
  • the position of the cabin determines the corresponding vehicle display screen and determines it as the second display screen.
  • the second display screen when the cockpit in the occupied state is the main driver and the co-pilot, the second display screen includes a central control display screen and the co-pilot display screen; when the cockpit in the occupied state is the main driver and the rear seat, the second display screen includes the central control display screen and the co-pilot display screen.
  • the second display screen includes the central control display screen and the rear seat display screen.
  • Step 3 Display the application transfer prompt including the second display screen selection prompt.
  • the terminal may display an application transfer prompt including a second display screen selection prompt, where the second display screen selection prompt includes selection controls corresponding to each vehicle-mounted display screen in the second display screen.
  • the application flow prompt displayed on the terminal includes selection controls corresponding to the central control display screen and the rear seat display screen.
  • the terminal can also filter the vehicle display screen according to the application type of the first application, and display a display screen selection prompt including the filtered vehicle display screen.
  • this method includes the following steps:
  • Step 1 Determine a third display screen based on the first application type of the first application. Different application types correspond to vehicle display screens at different locations.
  • the terminal determines a first application type of the first application, and determines the third display screen according to the first application type.
  • the terminal may store corresponding relationships between different application types and the vehicle display screen, and the terminal may determine the third display screen corresponding to the first application type based on the corresponding relationship.
  • the third display screen is determined to be the central control display screen.
  • the central control display screen can be determined as the third display screen.
  • the third display screen is determined to be a vehicle display screen other than the central control display screen.
  • the first application type is an entertainment application, such as video, games, etc.
  • the third display screen can be determined to be a vehicle display other than the central control display. Screen.
  • vehicle display screen corresponding to different applications can also be customized and adjusted by the user, which is not limited in this embodiment.
  • Step 2 Display the application transfer prompt including the third display screen selection prompt.
  • an application transfer prompt including a third display screen selection prompt may be displayed, wherein the third display screen selection prompt includes the corresponding information of each vehicle-machine display in the third display screen. Select the control.
  • the terminal can also obtain the current display status of different vehicle display screens from the vehicle computer, and filter the vehicle computer display screens according to the display status.
  • the display status indicates that the vehicle computer display screen is on display state (that is, the interface content of the application is displayed), it may not be able to display the first interface content. Therefore, the terminal can filter out the fourth display screen that is not in the display state, and display the application transfer prompt including the fourth display screen selection prompt. .
  • any one or several combinations of the above-mentioned screening methods can be used for the screening method of the vehicle display screen, and this embodiment is not limited to this.
  • the second display screen filtered based on the cockpit status information includes the central control display and the passenger display screen
  • the third display screen filtered based on the first application type The screen includes the passenger display
  • the display screen and the rear seat display screen are filtered to obtain the passenger display screen, and the display screen selection prompt including the passenger display screen selection control is displayed.
  • Step 404 In response to the triggering operation of the selection control of the first display screen, it is determined that the confirmation operation for the application transfer prompt is received, and a transfer reception instruction is sent to the vehicle.
  • the transfer reception instruction includes the display screen identification of the first display screen.
  • the terminal when the terminal receives a trigger operation on the selection control of the first display screen, it means that the user has selected the transferred vehicle display screen, and the terminal determines that it has received a confirmation operation for the application transfer prompt, and may Send transfer reception instructions to the vehicle machine.
  • the transfer reception instruction includes the display screen identifier of the first display screen. After the vehicle computer receives the transfer reception instruction, the second interface content can be displayed on the corresponding first display screen according to the display screen identification.
  • the first display screen can be multiple display screens, that is, the user can select multiple on-board display screens at the same time, and the transfer reception instruction sent by the terminal includes the display screen identifiers of the multiple on-board and on-board display screens selected by the user. , to realize the flow of applications to multiple vehicle-mounted display screens for joint display.
  • the user can select the front passenger display screen and the rear seat display screen as the first display screen, and transfer the first interface content to the front passenger display screen and the rear seat display screen for joint display.
  • the terminal when the terminal receives a trigger operation on the selection control corresponding to the passenger display screen, it determines that it has received a confirmation operation for the application transfer prompt, and sends a transfer reception instruction containing the display screen identification of the passenger display screen to the vehicle machine, and the vehicle After the machine receives the transfer reception instruction, the second interface content is displayed on the passenger display screen.
  • Step 405 When the first application is an interactive application, display the control panel.
  • the control panel contains interactive controls of the first application, and the interactive controls are used to control the first application.
  • the terminal may be pre-set with interactive applications, for example, including game applications and short video applications.
  • the terminal may determine whether the first application is an interactive application according to the application type.
  • the terminal can display a control panel corresponding to the first application.
  • the control panel includes interactive controls of the first application to facilitate the user to control the first application through the terminal.
  • the terminal can continue to display the control panel corresponding to the game for controlling the game interface; when the first application is a short video application, on the car machine After the short video is displayed in the terminal, the terminal can continue to display the interactive controls of the short video application, which can be used to control switching of short videos, control playback and pause, etc.
  • the interactive controls in the control panel may be interactive controls included in the first interface content, so that the user can continue to use the interactive controls.
  • the first application is an interactive application but is not currently in an interactive state.
  • the terminal does not need to display the control panel.
  • the interaction state refers to the state that needs to be controlled.
  • the terminal may determine whether it is in an interactive state according to the state of the first application. For example, when the first application is a game application and the user is currently watching a game video replay or watching other people's matches, it is determined that the user is not in an interactive state, and at this time, there is no need to display the control panel.
  • the terminal can continue to display the control panel 601 of the game application, which includes interactive controls 602, which can realize the display of the game application through the car machine. application interface, while the terminal continues to control the application's functions.
  • Step 406 If the first application does not belong to the interactive application, display the main interface of the terminal.
  • the terminal may display the second interface content synchronously with the vehicle computer.
  • the terminal may stop displaying the first interface content and return to the main interface. Users can also continue to use other applications in the terminal.
  • the terminal when the first application meets the application transfer conditions, can add a transfer trigger control for triggering the application transfer function in the side toolbar, so that the user can actively trigger the application transfer function, which facilitates the user to transfer the application to Car machine, improve application circulation efficiency.
  • a display screen selection prompt is included. The user can select the display screen that needs to be transferred, and can independently select the vehicle display screen that relays the application interface content.
  • the terminal when it provides selectable display screens, it can also be filtered according to the vehicle's cabin status information so that the provided vehicle-machine display screen matches the user's seat. Alternatively, you can also filter based on the application type of the first application and reasonably allocate the display content of the vehicle display screen to avoid interference with the driver's viewing of driving information.
  • the terminal can continue to display the control panel corresponding to the interactive application, so that the user can also control the first application through the interactive control terminal in the control panel. It is convenient for users to operate and improves interaction efficiency.
  • the application transfer prompt when the terminal establishes a communication connection with the car machine, the application transfer prompt can be automatically displayed, or when a trigger operation of the transfer trigger control in the side toolbar is received, the application transfer prompt can be displayed.
  • application transfer can be triggered through the Near Field Communication (NFC) function.
  • NFC Near Field Communication
  • an application transfer prompt is displayed.
  • the target NFC data is provided by the NFC component installed in the car machine.
  • the application transfer function can be triggered, and the terminal displays an application transfer prompt.
  • the display screen selection prompt displayed may be the same as the above embodiment.
  • an application transfer prompt including the target vehicle display screen may be displayed to prompt the user for the first interface.
  • the content will be transferred to the target vehicle display screen for display. That is, the user can use the terminal to contact the target vehicle display screen that needs to be transferred.
  • the application transfer prompt only contains the selection prompt corresponding to the target vehicle display screen.
  • the terminal displays an application transfer prompt including the selection prompt of the passenger display.
  • Applications can be transferred to the car's passenger display.
  • the application transfer function can be triggered through the NFC function, which helps to improve application transfer efficiency. And when receiving the target NFC data from the NFC component in the target car display, it can directly The application interface content is transferred to the target vehicle display screen for display, which can further improve the application transfer efficiency.
  • the terminal can obtain the application information of the first application, and thereby determine whether the application transfer conditions are met based on the application information. And after the application is transferred, if the communication connection between the terminal and the vehicle is disconnected, the application can be transferred back to the terminal for display. Exemplary embodiments will be described below.
  • FIG 7 shows a flow chart of an application transfer method provided by another exemplary embodiment of the present application.
  • This embodiment of the present application takes the application of this method to the terminal 110 shown in Figure 1 as an example.
  • the method includes :
  • Step 701 Display the first interface content of the first application.
  • step 201 For the implementation of this step, reference can be made to the above-mentioned step 201, which will not be described again in this embodiment.
  • Step 702 When a communication connection is established with the vehicle machine, application information of the first application is obtained.
  • the terminal When the terminal detects that a communication connection is established with the vehicle machine, the terminal can obtain the application information of the first application, and thereby determine whether the application transfer conditions are met based on the application information.
  • the application information may be the application identifier or application type of the first application.
  • Step 703 If the application information indicates that the first application is a transferable application, display an application transfer prompt.
  • the terminal can determine whether the first application is a transferable application based on the application information. If it is determined that it is a transferable application, it is determined that the first application meets the application transfer conditions, and an application transfer prompt can be displayed.
  • the application information is an application identifier
  • the application identifier belongs to the transferable application identifier list
  • the first application belongs to the transferable application.
  • the terminal may store a list of transferable application identifiers, and the terminal may obtain the application identifier of the first application.
  • the terminal determines that the first application satisfies the application transfer conditions, and displays the application Circulation tips.
  • the application information is an application type
  • the application type belongs to a transferable application type
  • the first application belongs to a transferable application.
  • the terminal can store transferable application types, such as game applications, navigation applications, call applications, audio and video playback applications, etc.
  • transferable application types such as game applications, navigation applications, call applications, audio and video playback applications, etc.
  • Step 704 In response to the confirmation operation of the application transfer prompt, send a transfer reception instruction including display data to the vehicle machine.
  • the terminal after receiving a confirmation operation for the application transfer prompt, the terminal sends a transfer reception instruction to the vehicle machine.
  • the transfer reception instruction may also include display data, so that the vehicle-machine displays the second interface content according to the display data. That is, the terminal can send a transfer reception instruction containing the display data and the display identification of the vehicle display to the vehicle. After the vehicle receives the transfer reception instruction, it can determine the displayed vehicle display based on the indicated display identification, and based on The display data is displayed on the vehicle display screen.
  • the displayed data is screen projection data or application progress data.
  • the vehicle displays the second interface according to the screen projection data.
  • the application flow method is screen projection, that is, the terminal projects the interface content of the first application to the vehicle display screen for display.
  • the terminal can send screen projection data to the vehicle.
  • the screen projection data includes display frame data of the display screen.
  • the screen projection data includes video stream data and audio stream data.
  • the content of the first interface may only include the display screen, and the terminal only needs to send the display frame data corresponding to the display screen to the vehicle computer, so that the vehicle computer can display according to the display frame data.
  • the content of the first interface may also be a video screen.
  • the terminal needs to send the video stream data and audio stream data corresponding to the video to the car machine so that the car machine can display it.
  • the terminal may not display the first interface content and only play audio. In this case, the terminal may send the audio stream data to the car machine so that the car machine can play the audio.
  • the application flow method may be that the vehicle displays the second interface content through a local application.
  • the vehicle computer starts the local application corresponding to the first application according to the application progress data so as to display the second interface content.
  • the terminal can send the video playback progress to the car machine, and the car machine starts the local video playback application and continues to play the video according to the video playback progress.
  • the terminal can use different application transfer methods to realize application transfer according to different situations.
  • the terminal may obtain the local application list of the vehicle unit from the vehicle unit, and when performing application transfer, the terminal may determine whether the local application list of the vehicle unit includes the first application. If the first application is included, the terminal can send application progress data to the car machine, so that the car machine displays the second interface content according to the application progress data; but if the first application is not included, the car machine cannot use the local application. At this time, the terminal The screen projection data is sent to the vehicle computer, so that the vehicle computer displays the content of the second interface according to the screen projection data.
  • Step 705 When the communication connection with the vehicle is interrupted, the third interface content is displayed.
  • the third interface content is the interface content of the first application displayed by the vehicle when the communication connection is interrupted.
  • the application flow can be transferred back to the terminal to continue displaying.
  • the terminal continues to display the interface content of the first application displayed in the vehicle when the communication connection is interrupted to realize relay display.
  • the communication connection between the terminal and the vehicle may be interrupted only for a short period of time due to signal instability. After the communication connection is restored, the vehicle may continue to display the interface content of the first application. Therefore, In order to avoid frequent transfer of applications between the terminal and the vehicle-machine terminal, when the communication connection time between the terminal and the vehicle-machine terminal reaches the second length, the third interface content is displayed through the terminal. Optional, the second duration can be 30s. Or, in another possible situation, the user may not need to continue to use the terminal to display the application interface content of the first application. Therefore, in another possible implementation, when the flow is transferred back to the terminal, the terminal may also display the application flow A prompt is used to prompt the user to transfer the application flow back to the terminal to continue displaying it. When the terminal receives a confirmation operation for the application flow prompt, the terminal continues to display the third interface content.
  • the application when the communication connection between the terminal and the vehicle is interrupted, the application is re-flowed back to the terminal. There is no need for the user to readjust to the third interface content of the first application, which can improve application flow efficiency.
  • the terminal can determine whether the first application satisfies the application transfer conditions based on the application information of the first application, and only uses the application transfer function when the application transfer conditions are met to avoid transferring application interface content that is not suitable for transfer to the car. By carrying out application transfer, you can avoid invalid application transfer process.
  • FIG. 9 shows a structural block diagram of an application circulation device provided by an embodiment of the present application.
  • the device may include:
  • Display module 901 used to display the first interface content of the first application
  • the display module 901 is also configured to display an application transfer prompt when a communication connection is established with the vehicle machine.
  • the application transfer prompt is used to instruct the transfer of the first interface content to the vehicle machine display;
  • the instruction sending module 902 is configured to send a transfer reception instruction to the vehicle machine in response to the confirmation operation of the application transfer prompt, so that the vehicle machine displays the second interface content, and the second interface content belongs to the First interface content.
  • the display module 901 is also used to:
  • a side toolbar including a flow trigger control, the flow trigger control being used to trigger the flow of the first interface content to the vehicle display;
  • the application transfer prompt is displayed.
  • the display module 901 is also used to:
  • the application transfer prompt is displayed, and the target NFC data is provided by the NFC component provided in the car machine.
  • the display module 901 is also used to:
  • Display an application flow prompt including a display screen selection prompt, and the display screen selection prompt includes selection controls corresponding to different vehicle and machine display screens;
  • the instruction sending module 902 is also used to:
  • the transfer reception instruction is sent to the vehicle machine, and the transfer reception instruction includes the first Display ID of the display.
  • the display module 901 is also used to:
  • cockpit status information from the vehicle machine, where the cockpit status includes a ridden state and a not-ridden state;
  • Display application transfer prompts including second display selection prompts.
  • the display module 901 is also used to:
  • Display application transfer prompts including third display screen selection prompts.
  • the display module 901 is also used to:
  • the first application type is a navigation application
  • the third display screen is a vehicle display screen other than the central control display screen.
  • the display module 901 is also used to:
  • the application transfer prompt is displayed.
  • the application information is an application identifier.
  • the application identifier belongs to the transferable application identifier list, the first application belongs to the transferable application;
  • the application information is an application type. If the application type belongs to a transferable application type, the first application belongs to the transferable application.
  • the display module 901 is also used to:
  • the first application is an interactive application
  • display a control panel the control panel includes interactive controls of the first application, and the interactive controls are used to control the first application;
  • the display module 901 is also used to:
  • the third interface content is the interface content of the first application displayed by the vehicle machine when the communication connection is interrupted.
  • the instruction sending module 902 is also used to:
  • the vehicle machine displays the second interface content according to the screen projection data
  • the vehicle machine When the display data is the application progress data, the vehicle machine starts the local application corresponding to the first application according to the application progress data, so as to display the second interface content.
  • the screen projection data includes the display frame data of the display screen
  • the screen projection data includes video stream data and audio stream data.
  • the terminal when the terminal displays the first interface content of the first application, if the terminal establishes a communication connection with the car machine, the terminal will display an application transfer prompt to prompt the user to transfer the first interface content.
  • the terminal can send a transfer reception instruction to the vehicle computer, so that the vehicle computer continues to display the second interface content belonging to the first interface content. That is, in the embodiment of this application, an application transfer function is provided.
  • the terminal can transfer the application to the car machine for display, and the car machine can continue to display the interface content of the application to realize the interface content. Quickly switch displays between the terminal and the car to improve application flow efficiency.
  • the devices provided in the above embodiments are only explained by taking the division of the above functional modules as examples.
  • the above functions can be allocated to different functional modules as needed. into, that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above.
  • the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the implementation process can be found in the method embodiments, which will not be described again here.
  • the terminal 1000 may include one or more of the following components: a processor 1010, a memory 1020, and a display screen 1030.
  • Processor 1010 may include one or more processing cores.
  • the processor 1010 uses various interfaces and lines to connect various parts of the entire terminal 1000, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 1020, and calling data stored in the memory 1020. 1000's of various functions and processing data.
  • the processor 1010 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 1010 can integrate one or more of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), a modem, etc.
  • a central processing unit Central Processing Unit, CPU
  • a graphics processor Graphics Processing Unit, GPU
  • a neural network processor Neural-network Processing Unit, NPU
  • the CPU mainly handles the operating system, user interface and applications
  • the GPU is used to render and draw the content that needs to be displayed on the touch screen
  • the NPU is used to implement artificial intelligence (Artificial Intelligence, AI) functions
  • the modem is used to process Wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1010 and may be implemented by a separate chip.
  • the memory 1020 may include random access memory (RAM) or read-only memory (Read-Only Memory, ROM). Optionally, the memory 1020 includes non-transitory computer-readable storage medium. Memory 1020 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 1020 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc., used to implement each of the following method embodiments; the storage data area can store data created according to the use of the terminal 1000 (such as audio data, phone book), etc.
  • the display screen 1030 is a display component for displaying a user interface.
  • the display screen also has a touch control function. Through the touch control function, the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen.
  • the structure of the terminal 1000 shown in the above figures does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than those shown in the figures, or some components may be combined. , or a different component arrangement.
  • the terminal 1000 also includes camera components, microphones, speakers, radio frequency circuits, input units, sensors (such as acceleration sensors, angular velocity sensors, light sensors, etc.), audio circuits, WiFi modules, power supplies, Bluetooth modules and other components.
  • sensors such as acceleration sensors, angular velocity sensors, light sensors, etc.
  • audio circuits such as acceleration sensors, angular velocity sensors, light sensors, etc.
  • WiFi modules such as acceleration sensors, angular velocity sensors, light sensors, etc.
  • power supplies such as Bluetooth modules, etc.
  • Embodiments of the present application also provide a computer-readable storage medium that stores at least one program code.
  • the program code is loaded and executed by a processor to implement the application transfer method described in each of the above embodiments. .
  • Embodiments of the present application provide a computer program product or computer program.
  • the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the application transfer method provided in various optional implementations of the above aspect.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种应用流转方法、装置、终端、存储介质及程序产品,属于车机互联技术领域。该方法包括:显示第一应用的第一界面内容(201);在与车机建立有通信连接的情况下,显示应用流转提示,应用流转提示用于指示将第一界面内容流转至车机显示(202);响应于对应用流转提示的确认操作,向车机发送流转接收指令,以使车机显示第二界面内容,第二界面内容属于第一界面内容(203)。本申请实施例中,终端可将应用流转至车机进行显示,实现界面内容在终端与车机间的快速切换显示。

Description

应用流转方法、装置、终端、存储介质及程序产品
本申请要求于2022年08月25日提交的申请号为202211024581.3、发明名称为“应用流转方法、装置、终端、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及车机互联技术领域,特别涉及一种应用流转方法、装置、终端、存储介质及程序产品。
背景技术
随着车机互联技术的发展,车机内运行有不同应用程序,可提供导航以及影音娱乐等功能。
相关技术中,在用户需通过车机继续显示终端内的应用界面时,用户可启动车机内的本地应用,以便在车机上继续显示终端内的应用界面。
发明内容
本申请实施例提供了一种应用流转方法、装置、终端、存储介质及程序产品。所述技术方案如下:
一方面,本申请实施例提供了一种应用流转方法,所述方法由终端执行,所述方法包括:
显示第一应用的第一界面内容;
在与车机建立有通信连接的情况下,显示应用流转提示,所述应用流转提示用于指示将所述第一界面内容流转至所述车机显示;
响应于对所述应用流转提示的确认操作,向所述车机发送流转接收指令,以使所述车机显示第二界面内容,所述第二界面内容属于所述第一界面内容。
另一方面,本申请实施例提供了一种应用流转装置,所述装置包括:
显示模块,用于显示第一应用的第一界面内容;
所述显示模块,还用于在与车机建立有通信连接的情况下,显示应用流转提示,所述应用流转提示用于指示将所述第一界面内容流转至所述车机显示;
指令发送模块,用于响应于对所述应用流转提示的确认操作,向所述车机发送流转接收指令,以使所述车机显示第二界面内容,所述第二界面内容属于所述第一界面内容。
另一方面,本申请实施例提供一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上述方面所述的应用流转方法。
另一方面,本申请实施例提供一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的应用流转方法。
另一方面,本申请实施例提供了一种计算机程序产品或计算机程序,该计 算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的应用流转方法。
附图说明
图1示出了本申请一个示例性实施例提供的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的应用流转方法的流程图;
图3示出了本申请一个示例性实施例提供的应用流转过程的界面示意图;
图4示出了本申请另一个示例性实施例提供的应用流转方法的流程图;
图5示出了本申请一个示例性实施例提供的触发应用流转功能的界面示意图;
图6示出了本申请一个示例性实施例提供的显示控制面板的界面示意图;
图7示出了本申请另一个示例性实施例提供的应用流转方法的流程图;
图8示出了本申请另一个示例性实施例提供的应用流转过程的界面示意图;
图9示出了本申请一个示例性实施例提供的应用流转装置的结构框图;
图10示出了本申请一个示例性实施例提供的终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在一种可能的情况下,当用户上车后,可能需将终端中显示的应用界面内容显示在车机显示屏中。相关技术中,用户可启动车机内的本地应用,重新开启对应的应用界面。比如,当终端中正在播放视频A时,用户可启动车机内的视频应用,并通过在视频应用界面内进行点击操作,使视频应用展示视频A视频播放界面,从而继续在车机上播放视频。
然而,该种方式下,用户还需重新在车机上启动应用,并调整至对应的应用界面,过程繁琐;且由于应用开发者对车机的适配较少,车机内未安装应用时,无法继续通过车机使用。因此,为实现终端与车机间应用界面的快捷切换,本申请实施例中,提供一种应用流转方式,终端可通过应用流转功能,将应用界面内容流转至车机中显示。下面将以示例性实施例进行说明。
请参考图1,其示出了本申请的一个示例性实施例提供的实施环境的示意图,该实施环境中包括终端110和车机120。
终端110是指具有应用流转功能的电子设备,该电子设备可以是智能手机、平板电脑、可穿戴式设备、个人电脑等,本实施例对终端110的具体类型不做限定。
车机120是安装在车辆里的车载终端,用于实现人与车、车与外界的信息通讯。车机120中设置有显示屏,本申请实施例中,车机120可接收来自终端110的应用流转指令,在显示屏中接力显示应用程序的界面内容。
终端110与车机120间的通信连接可通过有线或无线方式建立,例如,蓝牙连接、通用串行总线(Universal Serial Bus,USB)、无线保真(Wireless Fidelity, WiFi)连接或移动数据网络连接等等,本实施例对此不作限定。
本申请实施例中,终端110在检测到与车机120建立有通信连接的情况下,将触发应用流转功能,向车机120发送流转接收指令,车机120接收到流转接收指令后,接力显示第一应用的界面内容,实现终端110与车机120间的应用流转。
请参考图2,其示出了本申请一个示例性实施例提供的应用流转方法的流程图,本申请实施例以该方法应用于图1所示的终端110为例进行说明,该方法包括:
步骤201,显示第一应用的第一界面内容。
可选的,第一应用可为正在前台运行的应用程序,第一界面内容即为终端当前正在显示的第一应用的应用界面内容。
其中,第一界面内容是指界面内的显示元素,包含静态元素以及动态元素。比如,当第一应用为视频播放应用时,第一界面内容包含其中的播放视频(动态元素)以及对视频的简介、评论信息等(静态元素)。
步骤202,在与车机建立有通信连接的情况下,显示应用流转提示,应用流转提示用于指示将第一界面内容流转至车机显示。
当终端显示第一界面内容时,用户上车后,可能需将终端内显示的第一界面内容流转至车机中继续显示。本申请实施例中,提供一种应用流转方法,在满足一定条件下,终端可触发应用流转功能,将终端当前正在显示的第一界面内容流转至车机进行显示。
可选的,应用流转是指将一个设备内正在运行应用的界面内容切换至另一设备中进行显示,应用流转过程中包括界面内容进度的流转,使应用流转接收方可接力显示界面内容。即两个设备之间的应用流转过程即为两个设备之间应用的界面内容接力显示的过程。
本申请实施例中,终端可将应用流转至车机,通过车机继续显示终端内显示的第一应用的界面内容。示意性的,当第一应用为视频播放应用时,对于视频播放应用的应用流转过程,包含播放视频对应的播放时刻的流转,使车机可根据播放时刻继续接力播放视频。
当然,在其他可能的实施方式中,终端也可以仅将界面内容流转至车机,而不进行内容接力,本实施例对此不作限定。
可选的,当终端显示第一界面内容时,可实时检测与车机的通信连接状态。当检测到与车机处于通信连接状态时,终端即可与车机进行通信,从而实现应用流转功能。在一种可能的实施方式中,当终端检测到与车机建立有通信连接时,终端可启动应用流转功能,即可显示应用流转提示,提示用户终端将第一界面内容流转至车机进行显示。
但并非任意应用的应用界面均适宜流转至车机显示,如视频、游戏、导航等相关应用的应用界面可继续流转至车机进行显示,而阅读、购物等相关应用的应用界面则不适宜流转至车机进行显示。因此,在另一种可能的实施方式中,当终端检测到与车机建立有通信连接时,将进一步检测第一应用是否满足应用 流转条件,当检测到满足应用流转条件时,终端显示应用流转提示。可选的,应用流转条件可为判断第一应用是否属于可流转应用。其中,可流转应用即为应用界面支持流转至车机显示的应用。可流转应用可为开发人员预先设置的应用,或者,也可为用户自定义的应用,即用户自定义设置在上车后需流转至车机显示的应用,本实施例对此不做限定。
且在另一种可能的实施方式中,还可进一步根据当前显示的第一界面内容判断是否满足应用流转条件。终端中可存储有不同应用中适宜流转的可流转应用界面,当第一界面内容属于可流转应用界面时,确定满足应用流转条件。比如,终端前台正在运行的第一应用是即时通信应用程序,当第一界面内容是聊天界面内容时,确定不属于可流转应用界面,不满足应用流转条件,而当第一界面内容为视频通话界面时,确定属于可流转应用界面,满足应用流转条件,显示应用流转提示。
可选的,应用流转提示用于提示用户将第一界面内容流转至车机显示。其中,当终端检测到与车机建立有通信连接时,自动弹出应用流转提示,或检测到与车机建立有通信连接且第一应用满足应用流转条件的情况下,终端可自动弹出应用流转提示,提示用户即将进行应用流转,而无需用户手动触发,实现应用自动流转功能。或者,在另一种可能的实施方式中,在应用自动流转时,用户未确认错过自动流转时机,此时,用户还可通过手动触发方式,触发显示应用流转提示,实现手动触发应用流转功能。
除此之外,为避免用户未看到应用流转提示而错过自动流转时机,在显示应用流转提示时,还可同时通过振动、响铃、语音播报等方式提醒用户。
示意性的,如图3所示,终端301中正在显示第一界面内容302,当检测到与车机303建立有通信连接,且第一应用满足应用流转条件时,将显示应用流转提示304。
在一种可能的情况下,终端中运行第一应用时,可能并未显示有第一界面内容,而处于音频播放状态。比如,当终端正在运行的第一应用为音频播放类应用或第一应用当前仅处于播放音频状态。该种情况下,当终端检测到与车机建立有通信连接且第一应用满足应用流转条件的情况下,也可显示应用流转提示,提示用户将应用流转至车机,使用车机进行音频播放。
步骤203,响应于对应用流转提示的确认操作,向车机发送流转接收指令,以使车机显示第二界面内容,第二界面内容属于第一界面内容。
可选的,应用流转提示中包含用于确认流转的确认控件,当接收到对确认控件的触发操作时,确定接收到对应用流转提示的确认操作。或者,当接收到确认应用流转提示的语音信号时,确定接收到对应用流转提示的确认操作。
相应的,应用流转提示中还可包含用户取消流转的取消控件,当接收到对取消控件的触发操作时,确定用户无需应用流转,则停止显示应用流转提示,继续显示第一界面内容。或者,当接收到取消应用流转提示的语音信号时,终端也可停止显示应用流转提示。
在一种可能的实施方式中,为避免用户未执行对应用流转提示的操作而长 时间显示应用流转提示,终端可在第一时长内显示应用流转提示,在第一时长内接收到对应用流转提示的确认操作时,向车机发送流转接收指令。比如,第一时长可为10s,而在第一时长内未接收到对应用流转提示的操作时,可停止显示应用流转提示,并继续显示第一界面内容。
终端接收到对应用流转提示的确认操作后,将向车机发送流转接收指令。车机接收到流转接收指令后显示第二界面内容,即继续显示第一应用的界面内容。
可选的,第二界面内容属于第一界面内容是指:第二界面内容与第一界面内容相同或第二界面内容是第一界面内容的部分内容。即第二界面内容包含的显示元素与第一界面内容包含的显示元素相同,或仅包含第一界面内容中的部分显示元素。
比如,当第一界面内容为视频播放界面,其中包含正在播放的视频内容、视频信息以及与视频相关的其他推荐视频,则流转至车机显示时,显示的第二界面内容与第一界面内容不同,第二界面内容为第一界面内容中正在播放的视频内容,而不显示其他内容;而当第一界面内容仅为播放的视频内容时,第二界面内容可与第一界面内容相同,均为播放的视频内容。
在一种可能的实施方式中,可预先设置不同界面内容流转至车机显示后需显示的界面内容,终端可根据第一界面内容确定显示的第二界面内容,并指示车机进行显示。或者,车机接收到第一界面内容后,选择其中的第二界面内容进行显示。
示意性的,如图3所示,当终端接收到对应用流转提示304的确认操作后,向车机303发送流转接收指令,车机303将显示第二界面内容305,且第二界面内容305为第一界面内容302的局部界面内容,可实现终端301与车机303间的应用流转。
可选的,当第一应用为音频播放类应用或第一应用正在播放音频时,车机接收到流转接收指令后,将继续接力播放第一应用中播放的音频,实现应用流转。
综上所述,本申请实施例中,在终端显示第一应用的第一界面内容时,若终端与车机建立通信连接时,终端将显示应用流转提示,以提示用户将第一界面内容流转至车机显示,当用户确认后,终端即可向车机发送流转接收指令,从而使车机继续显示属于第一界面内容的第二界面内容。即本申请实施例中,设置有应用流转功能,当检测到终端与车机建立连接的情况下,终端可将应用流转至车机进行显示,车机可继续显示应用的界面内容,实现界面内容在终端与车机间的快速切换显示,提高应用流转效率。
在一种可能的实施方式中,应用流转功能可由用户主动触发,用户可通过对流转触发控件的触发操作,触发终端显示应用流转提示,以及将第一界面内容流转至车机显示。且应用流转提示中还可包含显示屏选择提示,用户可在其中选择目标车机显示屏,用于显示第二界面内容。下面将以示例性实施例进行说明。
请参考图4,其示出了本申请另一个示例性实施例提供的应用流转方法的流程图,本申请实施例以该方法应用于图1所示的终端110为例进行说明,该方法包括:
步骤401,显示第一应用的第一界面内容。
本步骤实施方式可参考上述步骤201,本实施例不再赘述。
步骤402,在与车机建立有通信连接的情况下,响应于对侧边栏的触发操作,显示包含流转触发控件的侧边工具栏,流转触发控件用于触发将第一界面内容流转至车机显示。
在一种可能的实施方式中,当终端检测到与车机建立有通信连接的情况下,终端将自动显示应用流转提示,提示用户即将进行应用流转,而该过程中可能存在用户未确认或者无需进行应用流转的情况,未进行应用流转。而在后续终端使用过程中,用户可能需将应用界面流转至车机显示,因此,本实施例中,提供有一种主动触发应用流转功能的方式,用户可主动触发终端进行应用流转。在一种可能的实施方式中,在终端检测到与车机建立有通信连接后,终端可在侧边工具栏中添加用于触发应用流转的应用流转控件。当终端接收到对侧边栏的触发操作时,将显示包含流转触发控件的侧边工具栏。其中,对侧边栏的触发操作可为点击操作、长按操作、滑动操作等,本实施例对此不做限定。
可选的,不同应用对应展示不同的侧边工具栏。在终端与车机建立有通信连接的情况下,在应用满足应用流转条件时,对应展示的侧边工具栏中包含流转触发控件,即在显示满足应用流转条件的应用的界面时,终端接收到对侧边栏的触发操作后,将显示包含流转触发控件的侧边工具栏;而在应用不满足应用流转条件时,当接收到对侧边栏的触发操作时,显示的侧边工具栏中不包含流转触发控件。比如,当第一应用为视频播放应用时,其满足应用流转条件,在显示视频播放应用的应用界面时,终端接收到对侧边栏的触发操作后,则可显示包含流转触发控件的侧边工具栏;而当第一应用为电子书应用时,其不满足应用流转条件,在显示电子书应用的应用界面时,终端接收到对侧边栏的触发操作后,显示的侧边工具栏中不包含流转触发控件。
示意性的,如图5所示,终端正在显示视频播放应用的第一界面内容。终端与车机建立有通信连接,且视频播放应用满足应用流转条件,当接收到对侧边栏的触发操作时,将显示包含有流转触发控件501的侧边工具栏。
步骤403,响应于对流转触发控件的触发操作,显示包含显示屏选择提示的应用流转提示。
在接收到对流转触发控件的触发操作的情况下,终端显示应用流转提示,从而提示用户将第一界面内容流转至车机进行显示。
在一种可能的实施方式中,在应用流转过程中,终端可自动选择车机显示屏用于显示第一界面内容,比如,根据应用程序的类型选择车机显示屏,比如,对于娱乐类应用,可选择除中控显示屏之外的车机显示屏,对于导航类应用,可选择中控显示屏。
或者,终端将第一界面内容发送至车机,由车机自动选择车机显示屏进行 显示,比如,车机根据各个车机显示屏的显示状态选择,或者,根据座舱状态信息进行选择。在自动选择车机显示屏时,终端显示的应用流转提示中可仅包含用于应用流转的提示信息,用于确认应用流转的确认控件以及用于取消应用流转的取消控件。
而在另一种可能的实施方式中,车机显示屏也可由用户进行选择。终端在显示应用流转提示时,可显示包含显示屏选择提示的应用流转提示。其中,显示屏选择提示中包含不同车机显示屏对应的选择控件,用户可通过对选择控件的触发操作,选择对应的车机显示屏。
可选的,终端可从车机处获取车辆内所设置的不同车机显示屏,终端可在显示屏选择提示中显示包含所有车机显示屏对应的选择控件。比如,车机显示屏包括中控显示屏与副驾显示屏时,显示屏选择提示中可分别显示中控显示屏与副驾显示屏对应的选择控件。而当车机显示屏包括中控显示屏、副驾显示屏以及后座显示屏时,显示屏选择提示中可分别显示中控显示屏、副驾显示屏以及后座显示屏对应的选择控件。示意性的,如图5所示,终端显示包含显示屏选择提示的应用流转提示,其中,显示屏选择提示中包含中控显示屏对应的选择控件502以及副驾显示屏对应的选择控件503。
上述方式中,显示屏选择提示中可显示车辆内所有车机显示屏对应的选择控件,而在利用车机显示屏显示第二界面内容时,通常需流转至用户所乘坐的座舱对应的显示屏中,以便用户继续观看。因此,在另一种可能的实施方式中,终端可从车机处获取车辆的座舱状态信息,根据座舱状态信息筛选车机显示屏,在筛选后,显示包含筛选后车机显示屏的显示屏选择提示。该方式可包括如下步骤:
步骤一、从车机处获取座舱状态信息,其中,座舱状态包括已乘坐状态与未乘坐状态。
终端可向车机发送座舱状态信息获取请求,当车机接收到座舱状态信息获取请求后,可确定当前车辆内各个座舱的座舱状态信息,并将确定后的座舱状态信息发送至终端。其中,座舱状态包含已乘坐状态与未乘坐状态,已乘坐状态是指座舱已有乘客乘坐的状态,未乘坐状态是座舱未有乘客乘坐的状态。
可选的,车机可向终端发送包含所有座舱状态的座舱状态信息,或者,也可仅发送包含已乘坐状态的座舱的座舱状态信息,向终端指示当前已有乘客乘坐的座舱,比如,当确定主驾与副驾为已乘坐状态时,可向终端发送主驾与副驾的座舱状态信息。
步骤二、基于座舱状态信息中处于已乘坐状态的座舱,确定第二显示屏,第二显示屏的位置与处于已乘坐状态的座舱的位置相对应。
在一种可能的实施方式中,终端根据座舱状态信息中处于已乘坐状态的座舱,从车机显示屏中筛选得到第二显示屏。其中,第二显示屏的位置与处于已乘坐状态的座舱的位置相对应,终端中存储有不同显示屏与不同位置的座舱的对应关系,比如,主驾驶对应中控显示屏,副驾驶对应副驾显示屏,后座对应后座显示屏。当确定处于已乘坐状态的座舱后,终端即可根据已乘坐状态的座 舱的位置确定对应的车机显示屏,并将其确定为第二显示屏。
示意性的,当处于已乘坐状态的座舱为主驾驶与副驾驶时,则第二显示屏包括中控显示屏与副驾显示屏;当处于已乘坐状态的座舱为主驾驶和后座时,第二显示屏包括中控显示屏与后座显示屏。
步骤三、显示包含第二显示屏选择提示的应用流转提示。
当终端筛选得到第二显示屏后,可显示包含第二显示屏选择提示的应用流转提示,其中,第二显示屏选择提示中包含第二显示屏中各个车机显示屏对应的选择控件。示意性的,当第二显示屏包括中控显示屏与后座显示屏时,终端显示的应用流转提示中包含中控显示屏与后座显示屏对应的选择控件。
或者,在另一种可能的实施方式中,终端还可根据第一应用的应用类型对车机显示屏进行筛选,显示包含筛选后车机显示屏的显示屏选择提示。其中,该方式包括如下步骤:
步骤一、基于第一应用的第一应用类型,确定第三显示屏,不同应用类型对应不同位置的车机显示屏。
在一种可能的实施方式中,终端确定第一应用的第一应用类型,并根据第一应用类型确定第三显示屏。可选的,终端中可存储有不同应用类型与车机显示屏的对应关系,终端可根据对应关系确定第一应用类型对应的第三显示屏。
可选的,在第一应用类型为导航类应用的情况下,确定第三显示屏为中控显示屏。为了便于驾驶人员查看导航信息,当应用为导航类应用时,可将中控显示屏确定为第三显示屏。
可选的,在第一应用类型为娱乐类应用的情况下,确定第三显示屏为除中控显示屏之外的车机显示屏。当第一应用类型为娱乐类应用,如视频、游戏等,为避免对驾驶人员查看中控显示屏中行驶信息的干扰,可确定第三显示屏为除中控显示屏之外的车机显示屏。
或者,不同应用对应的车机显示屏也可由用户进行自定义设置与调整,本实施例对此不做限定。
步骤二、显示包含第三显示屏选择提示的应用流转提示。
可选的,当终端筛选得到第三显示屏后,可显示包含第三显示屏选择提示的应用流转提示,其中,第三显示屏选择提示中包含第三显示屏中各个车机显示屏对应的选择控件。
或者,在另一种可能的实施方式中,终端还可从车机处获取不同车机显示屏当前的显示状态,并根据显示状态筛选车机显示屏,当显示状态指示车机显示屏处于显示状态(即显示有应用的界面内容)时,其可能无法显示第一界面内容,因此,终端可筛选得到未处于显示状态的第四显示屏,并显示包含第四显示屏选择提示的应用流转提示。
需要说明的是,对于车机显示屏的筛选方式可采用上述任意一种或几种组合方式进行筛选,本实施例对此不做限定。比如,当根据座舱状态信息以及第一应用类型共同筛选时,若根据座舱状态信息筛选得到的第二显示屏包含中控显示屏与副驾显示屏,而根据第一应用类型筛选得到的第三显示屏包括副驾显 示屏与后座显示屏,则筛选得到副驾显示屏,显示包含副驾显示屏选择控件的显示屏选择提示。
步骤404,响应于对第一显示屏的选择控件的触发操作,确定接收到对应用流转提示的确认操作,向车机发送流转接收指令,流转接收指令中包含第一显示屏的显示屏标识。
在一种可能的实施方式中,当终端接收到对第一显示屏的选择控件的触发操作时,表示用户已选择流转的车机显示屏,终端确定接收到对应用流转提示的确认操作,可向车机发送流转接收指令。其中,流转接收指令中包含第一显示屏的显示屏标识。当车机接收到流转接收指令后,可根据显示屏标识在对应的第一显示屏中显示第二界面内容。
需要说明的是,第一显示屏可为多个显示屏,即用户可同时选择多个车机显示屏,终端发送的流转接收指令中包含用户所选的多个车机显示屏的显示屏标识,实现将应用流转至多个车机显示屏中共同显示。示意性的,用户可选择副驾显示屏以及后座显示屏作为第一显示屏,将第一界面内容分别流转至副驾显示屏以及后座显示屏中共同显示。
示意性的,当终端接收到对副驾显示屏对应的选择控件的触发操作时,确定接收到对应用流转提示的确认操作,向车机发送包含副驾显示屏的显示屏标识的流转接收指令,车机接收到流转接收指令后,在副驾显示屏中显示第二界面内容。
步骤405,在第一应用属于交互类应用的情况下,显示控制面板,控制面板中包含第一应用的交互控件,交互控件用于控制第一应用。
可选的,终端中可预先设置有交互类应用,比如,包含游戏类应用与短视频应用。终端可根据第一应用的应用类型判断是否属于交互类应用。当属于交互类应用时,终端可显示第一应用对应的控制面板,控制面板中包含第一应用的交互控件,便于用户通过终端控制第一应用。比如,当第一应用为游戏时,在车机中显示第二界面内容后,终端可继续显示游戏对应的控制面板,用于控制游戏界面;当第一应用为短视频应用时,在车机中显示短视频后,终端可继续显示短视频应用的交互控件,可用于控制切换短视频、控制播放暂停等。
在一种可能的实施方式中,控制面板中的交互控件可为第一界面内容中包含的交互控件,便于用户继续使用交互控件。
而在一种可能的情况下,第一应用属于交互类应用,但当前并未处于交互状态,此时,终端也无需显示控制面板。其中,交互状态是指需被控制的状态。终端可根据第一应用的状态判断是否处于交互状态。比如,当第一应用为游戏应用,而用户当前正在观看游戏视频回放或观战他人状态时,则确定未处于交互状态,此时,无需显示控制面板。
示意性的,如图6所示,在车机显示游戏应用的第二界面内容后,终端中可继续显示游戏应用的控制面板601,其中,包含交互控件602,可实现通过车机显示游戏应用的应用界面,而终端继续控制应用的功能。
步骤406,在第一应用不属于交互类应用的情况下,显示终端的主界面。
在一种可能的实施方式中,当第一应用不属于交互类应用的情况下,在车机显示第二界面内容后,终端可与车机同步显示第二界面内容。
或者,在另一种可能的实施方式中,当第一应用不属于交互类应用的情况下,在车机显示第二界面内容之后,终端可停止显示第一界面内容,并返回至主界面。用户还可继续使用终端中其他应用程序。
本实施例中,当第一应用满足应用流转条件时,终端可在侧边工具栏中添加用于触发应用流转功能的流转触发控件,使用户可主动触发应用流转功能,便于用户将应用流转至车机,提高应用流转效率。且本实施例中,显示应用流转提示时,包含显示屏选择提示,用户可选择所需流转的显示屏,可自主选择接力显示应用界面内容的车机显示屏。
且本实施例中,当终端提供可选择的显示屏时,还可根据车辆的座舱状态信息进行筛选,使提供的车机显示屏与用户乘坐座位相符。或者,还可根据第一应用的应用类型进行筛选,合理分配车机显示屏的显示内容,可避免对驾驶人员查看行驶信息的干扰。
且本实施例中,对于交互类应用,当将应用流转至车机后,终端还可继续显示交互类应用对应的控制面板,使用户还可通过控制面板中的交互控件终端控制第一应用,便于用户操作,提高交互效率。
上述方式中,在终端与车机建立有通信连接时,可自动显示应用流转提示,或者,在接收到对侧边工具栏内的流转触发控件的触发操作时,显示应用流转提示。而在另一种可能的实施方式中,可通过近场通信(Near Field Communication,NFC)功能触发应用流转。
可选的,在与车机建立有通信连接且接收到目标NFC数据的情况下,显示应用流转提示,目标NFC数据由设置在车机内的NFC组件提供。
即当终端与车机开启NFC功能时,在终端接收到车机内NFC组件提供的目标NFC数据后,即可触发应用流转功能,终端显示应用流转提示。
在一种可能的实施方式中,在接收到目标NFC数据的情况下,显示的显示屏选择提示可与上述实施例相同。
而在另一种可能的实施方式中,当终端接收到的目标NFC数据来自目标车机显示屏的目标NFC组件时,可显示包含目标车机显示屏的应用流转提示,以提示用户第一界面内容将流转至目标车机显示屏显示。即用户可使用终端与所需流转的目标车机显示屏接触,在NFC功能开启的情况下,应用流转提示中仅包含目标车机显示屏对应的选择提示,在终端接收到确认操作的情况下,可向车机发送包含目标车机显示屏的显示屏标识的流转接收指令,车机在目标车机显示屏内显示第二界面内容。
示意性的,当终端与副驾显示屏的NFC功能开启且终端接收到副驾显示屏内NFC组件提供的目标NFC数据后,终端内显示包含副驾显示屏选择提示的应用流转提示,在应用流转时,可将应用流转至车机的副驾显示屏。
本实施例中,可通过NFC功能触发应用流转功能,有助于提高应用流转效率。且在接收到来自目标车机显示屏内NFC组件的目标NFC数据时,可直接将 应用的界面内容流转至目标车机显示屏进行显示,可进一步提高应用流转效率。
在一种可能的实施方式中,当终端检测到与车机建立有通信连接后,可获取第一应用的应用信息,从而根据应用信息判断是否满足应用流转条件。且在应用流转后,若终端与车机断开通信连接,应用还可重新流转回终端进行显示。下面将以示例性实施例进行说明。
请参考图7,其示出了本申请另一个示例性实施例提供的应用流转方法的流程图,本申请实施例以该方法应用于图1所示的终端110为例进行说明,该方法包括:
步骤701,显示第一应用的第一界面内容。
本步骤实施方式可参考上述步骤201,本实施例不再赘述。
步骤702,在与车机建立有通信连接的情况下,获取第一应用的应用信息。
当终端检测到与车机建立有通信连接时,终端可获取第一应用的应用信息,从而根据应用信息判断是否满足应用流转条件。
可选的,应用信息可为第一应用的应用标识或应用类型。
步骤703,在应用信息指示第一应用属于可流转应用的情况下,显示应用流转提示。
在一种可能的实施方式中,终端可根据应用信息判断第一应用是否属于可流转应用,当确定属于可流转应用的情况下,确定第一应用满足应用流转条件,可显示应用流转提示。
当应用信息为应用标识时,在应用标识属于可流转应用标识列表的情况下,第一应用属于可流转应用。
其中,终端中可存储有可流转应用标识列表,终端可获取第一应用的应用标识,当第一应用的应用标识属于可流转应用标识列表时,终端确定第一应用满足应用流转条件,显示应用流转提示。
或者,当应用信息为应用类型时,在应用类型属于可流转应用类型的情况下,第一应用属于可流转应用。
其中,终端中可存储有可流转应用类型,如游戏类应用、导航类应用、通话类应用以及音视频播放类应用等。当第一应用的应用类型属于可流转应用类型的情况下,终端确定第一应用满足应用流转条件,显示应用流转提示。
步骤704,响应于对应用流转提示的确认操作,向车机发送包含显示数据的流转接收指令。
在一种可能的实施方式中,当接收到对应用流转提示的确认操作后,终端向车机发送流转接收指令。其中,流转接收指令中除包含车机显示屏的显示屏标识之外,还可包含显示数据,以使车机根据显示数据显示第二界面内容。即终端可向车机发送包含显示数据以及车机显示屏的显示屏标识的流转接收指令,车机接收到流转接收指令后,可根据指示的显示屏标识确定显示的车机显示屏,并根据显示数据在车机显示屏中进行显示。
可选的,显示数据为投屏数据或应用进度数据。
其中,在显示数据为投屏数据的情况下,车机根据投屏数据显示第二界面 内容。在一种可能的实施方式中,应用流转方式为投屏,即终端将第一应用的界面内容投屏至车机显示屏中进行显示。在通过投屏方式实现应用流转过程中,终端可向车机发送投屏数据。可选的,在第一界面内容为显示画面的情况下,投屏数据包含显示画面的显示帧数据。可选的,在第一界面内容为视频画面的情况下,投屏数据包含视频流数据以及音频流数据。
即第一界面内容可能仅包含显示画面,终端将显示画面对应的显示帧数据发送至车机,以使车机根据显示帧数据显示即可。第一界面内容也可能为视频画面,此时终端需将视频对应的视频流数据以及音频流数据发送至车机,以使车机进行显示。或者,可能终端未显示有第一界面内容,仅播放音频,则终端可将音频流数据发送至车机,以使车机进行音频播放。
而在另一种可能的实施方式中,应用流转方式可能为车机通过本地应用展示第二界面内容。在显示数据为应用进度数据的情况下,车机根据应用进度数据启动第一应用对应的本地应用,以便显示第二界面内容。
比如,当第一应用为视频播放应用,且第一界面内容为视频播放画面时,终端可将视频播放进度发送至车机,车机启动本地视频播放应用,并根据视频播放进度继续播放视频。
对于不同应用流转方式,终端可根据不同情况采用不同应用流转方式实现应用流转。在一种可能的实施方式中,终端可从车机处获取车机的本地应用程序列表,当进行应用流转时,终端可判断车机的本地应用程序列表中是否包含第一应用。若包含第一应用,终端可向车机发送应用进度数据,以使车机根据应用进度数据显示第二界面内容;而若不包含第一应用,则车机无法使用本地应用,此时,终端则向车机发送投屏数据,以使车机根据投屏数据显示第二界面内容。
步骤705,在与车机中断通信连接的情况下,显示第三界面内容,第三界面内容是中断通信连接时车机显示的第一应用的界面内容。
将应用流转至车机后,若终端与车机断开通信连接,此时则可将应用流转回终端继续显示。可选的,终端继续显示中断通信连接时车机内显示的第一应用的界面内容,实现接力显示。
且在一种可能的情况下,可能由于信号不稳定原因,终端与车机可能仅在短暂时间内中断通信连接,在恢复通信连接后车机还可继续显示第一应用的界面内容,因此,为避免终端与车机间应用的频繁流转,当终端与车机终端通信连接的时长达到第二时长时,再通过终端显示第三界面内容。可选的,第二时长可为30s。或者,在另一种可能的情况下,用户可能无需继续使用终端显示第一应用的应用界面内容,因此,在另一种可能的实施方式中,当流转回终端时,终端也可显示应用流转提示,用于提示用户将应用流转回终端中继续显示,当终端接收到对应用流转提示的确认操作时,终端继续显示第三界面内容。
示意性的,如图8所示,车机801中显示第三界面内容时,车机与终端断开通信连接,此时,终端802可继续显示第三界面内容,应用重新流转至终端。
本实施例中,在终端与车机中断通信连接的情况下,应用重新流转回终端, 无需用户重新调整至第一应用的第三界面内容处,可提高应用流转效率。
且本实施例中,终端可根据第一应用的应用信息判断第一应用是否满足应用流转条件,在满足应用流转条件时,才使用应用流转功能,避免将不适宜流转至车机的应用界面内容进行应用流转,即可避免无效的应用流转过程。
请参考图9,其示出了本申请一个实施例提供的应用流转装置的结构框图。该装置可以包括:
显示模块901,用于显示第一应用的第一界面内容;
所述显示模块901,还用于在与车机建立有通信连接的情况下,显示应用流转提示,所述应用流转提示用于指示将所述第一界面内容流转至所述车机显示;
指令发送模块902,用于响应于对所述应用流转提示的确认操作,向所述车机发送流转接收指令,以使所述车机显示第二界面内容,所述第二界面内容属于所述第一界面内容。
可选的,所述显示模块901,还用于:
响应于对侧边栏的触发操作,显示包含流转触发控件的侧边工具栏,所述流转触发控件用于触发将所述第一界面内容流转至所述车机显示;
响应于对所述流转触发控件的触发操作,显示所述应用流转提示。
可选的,所述显示模块901,还用于:
在与所述车机建立有所述通信连接且接收到目标NFC数据的情况下,显示所述应用流转提示,所述目标NFC数据由设置在所述车机内的NFC组件提供。
可选的,所述显示模块901,还用于:
显示包含显示屏选择提示的应用流转提示,所述显示屏选择提示中包含不同车机显示屏对应的选择控件;
所述指令发送模块902,还用于:
响应于对第一显示屏的选择控件的触发操作,确定接收到对所述应用流转提示的确认操作,向所述车机发送所述流转接收指令,所述流转接收指令中包含所述第一显示屏的显示屏标识。
可选的,所述显示模块901,还用于:
从所述车机处获取座舱状态信息,其中,座舱状态包括已乘坐状态与未乘坐状态;
基于所述座舱状态信息中处于所述已乘坐状态的座舱,确定第二显示屏,所述第二显示屏的位置与所述处于所述已乘坐状态的座舱的位置相对应;
显示包含第二显示屏选择提示的应用流转提示。
可选的,所述显示模块901,还用于:
基于所述第一应用的第一应用类型,确定第三显示屏,不同应用类型对应不同位置的车机显示屏;
显示包含第三显示屏选择提示的应用流转提示。
可选的,所述显示模块901,还用于:
在所述第一应用类型为导航类应用的情况下,确定所述第三显示屏为中控显示屏;
在所述第一应用类型为娱乐类应用的情况下,确定所述第三显示屏为除所述中控显示屏之外的车机显示屏。
可选的,所述显示模块901,还用于:
在与所述车机建立有所述通信连接的情况下,获取所述第一应用的应用信息;
在所述应用信息指示所述第一应用属于可流转应用的情况下,显示所述应用流转提示。
可选的,所述应用信息为应用标识,在所述应用标识属于可流转应用标识列表的情况下,所述第一应用属于所述可流转应用;
或,
所述应用信息为应用类型,在所述应用类型属于可流转应用类型的情况下,所述第一应用属于所述可流转应用。
可选的,所述显示模块901,还用于:
在所述第一应用属于交互类应用的情况下,显示控制面板,所述控制面板中包含所述第一应用的交互控件,所述交互控件用于控制所述第一应用;
在所述第一应用不属于所述交互类应用的情况下,显示所述终端的主界面。
可选的,所述显示模块901,还用于:
在与所述车机中断所述通信连接的情况下,显示第三界面内容,所述第三界面内容是中断所述通信连接时所述车机显示的所述第一应用的界面内容。
可选的,所述指令发送模块902,还用于:
向所述车机发送包含显示数据的流转接收指令,所述显示数据为投屏数据或应用进度数据;
其中,在所述显示数据为所述投屏数据的情况下,所述车机根据所述投屏数据显示所述第二界面内容;
在所述显示数据为所述应用进度数据的情况下,所述车机根据所述应用进度数据启动所述第一应用对应的本地应用,以便显示所述第二界面内容。
可选的,在第一界面内容为显示画面的情况下,所述投屏数据包含所述显示画面的显示帧数据;
在第一界面内容为视频画面的情况下,所述投屏数据包含视频流数据以及音频流数据。
综上所述,本申请实施例中,在终端显示第一应用的第一界面内容时,若终端与车机建立通信连接时,终端将显示应用流转提示,以提示用户将第一界面内容流转至车机显示,当用户确认后,终端即可向车机发送流转接收指令,从而使车机根据继续显示属于第一界面内容的第二界面内容。即本申请实施例中,设置有应用流转功能,当检测到终端与车机建立连接的情况下,终端可将应用流转至车机进行显示,车机可继续显示应用的界面内容,实现界面内容在终端与车机间的快速切换显示,提高应用流转效率。
需要说明的是:上述实施例提供的装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完 成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其实现过程详见方法实施例,这里不再赘述。
请参考图10,其示出了本申请一个示例性实施例提供的终端的结构方框图。终端1000可以包括一个或多个如下部件:处理器1010、存储器1020以及显示屏1030。
处理器1010可以包括一个或者多个处理核心。处理器1010利用各种接口和线路连接整个终端1000内的各个部分,通过运行或执行存储在存储器1020内的指令、程序、代码集或指令集,以及调用存储在存储器1020内的数据,执行终端1000的各种功能和处理数据。可选地,处理器1010可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1010可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1010中,单独通过一块芯片进行实现。
存储器1020可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1020包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1020可用于存储指令、程序、代码、代码集或指令集。存储器1020可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端1000的使用所创建的数据(比如音频数据、电话本)等。
显示屏1030是用于显示用户界面的显示组件。可选的,该显示屏还具有触控功能,通过触控功能,用户可以使用手指、触摸笔等任何适合的物体在显示屏上进行触控操作。
除此之外,本领域技术人员可以理解,上述附图所示出的终端1000的结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端1000中还包括摄像组件、麦克风、扬声器、射频电路、输入单元、传感器(比如加速度传感器、角速度传感器、光线传感器等等)、音频电路、WiFi模块、电源、蓝牙模块等部件,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条程序代码,所述程序代码由处理器加载并执行以实现如上各个实施例所述的应用流转方法。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的应用流转方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (17)

  1. 一种应用流转方法,所述方法由终端执行,所述方法包括:
    显示第一应用的第一界面内容;
    在与车机建立有通信连接的情况下,显示应用流转提示,所述应用流转提示用于指示将所述第一界面内容流转至所述车机显示;
    响应于对所述应用流转提示的确认操作,向所述车机发送流转接收指令,以使所述车机显示第二界面内容,所述第二界面内容属于所述第一界面内容。
  2. 根据权利要求1所述的方法,其中,所述显示应用流转提示,包括:
    响应于对侧边栏的触发操作,显示包含流转触发控件的侧边工具栏,所述流转触发控件用于触发将所述第一界面内容流转至所述车机显示;
    响应于对所述流转触发控件的触发操作,显示所述应用流转提示。
  3. 根据权利要求1所述的方法,其中,所述在与车机建立有通信连接的情况下,显示应用流转提示,包括:
    在与所述车机建立有所述通信连接且接收到目标NFC数据的情况下,显示所述应用流转提示,所述目标NFC数据由设置在所述车机内的NFC组件提供。
  4. 根据权利要求1所述的方法,其中,所述显示应用流转提示,包括:
    显示包含显示屏选择提示的应用流转提示,所述显示屏选择提示中包含不同车机显示屏对应的选择控件;
    所述响应于对所述应用流转提示的确认操作,向所述车机发送应用流转指令,包括:
    响应于对第一显示屏的选择控件的触发操作,确定接收到对所述应用流转提示的确认操作,向所述车机发送所述流转接收指令,所述流转接收指令中包含所述第一显示屏的显示屏标识。
  5. 根据权利要求4所述的方法,其中,所述显示包含显示屏选择提示的应用流转提示,包括:
    从所述车机处获取座舱状态信息,其中,座舱状态包括已乘坐状态与未乘坐状态;
    基于所述座舱状态信息中处于所述已乘坐状态的座舱,确定第二显示屏,所述第二显示屏的位置与所述处于所述已乘坐状态的座舱的位置相对应;
    显示包含第二显示屏选择提示的应用流转提示。
  6. 根据权利要求4所述的方法,其中,所述显示包含显示屏选择提示的应用流转提示,包括:
    基于所述第一应用的第一应用类型,确定第三显示屏,不同应用类型对应 不同位置的车机显示屏;
    显示包含第三显示屏选择提示的应用流转提示。
  7. 根据权利要求6所述的方法,其中,所述基于所述第一应用的第一应用类型,确定第三显示屏,包括:
    在所述第一应用类型为导航类应用的情况下,确定所述第三显示屏为中控显示屏;
    在所述第一应用类型为娱乐类应用的情况下,确定所述第三显示屏为除所述中控显示屏之外的车机显示屏。
  8. 根据权利要求1至7任一所述的方法,其中,所述在与车机建立有通信连接的情况下,显示应用流转提示,包括:
    在与所述车机建立有所述通信连接的情况下,获取所述第一应用的应用信息;
    在所述应用信息指示所述第一应用属于可流转应用的情况下,显示所述应用流转提示。
  9. 根据权利要求8所述的方法,其中,
    所述应用信息为应用标识,在所述应用标识属于可流转应用标识列表的情况下,所述第一应用属于所述可流转应用;
    或,
    所述应用信息为应用类型,在所述应用类型属于可流转应用类型的情况下,所述第一应用属于所述可流转应用。
  10. 根据权利要求1至7任一所述的方法,其中,所述向所述车机发送流转接收指令之后,所述方法还包括:
    在所述第一应用属于交互类应用的情况下,显示控制面板,所述控制面板中包含所述第一应用的交互控件,所述交互控件用于控制所述第一应用;
    在所述第一应用不属于所述交互类应用的情况下,显示所述终端的主界面。
  11. 根据权利要求1至7任一所述的方法,其中,所述向所述车机发送流转接收指令之后,所述方法还包括:
    在与所述车机中断所述通信连接的情况下,显示第三界面内容,所述第三界面内容是中断所述通信连接时所述车机显示的所述第一应用的界面内容。
  12. 根据权利要求1至7任一所述的方法,其中,所述向所述车机发送流转接收指令,包括:
    向所述车机发送包含显示数据的流转接收指令,所述显示数据为投屏数据或应用进度数据;
    其中,在所述显示数据为所述投屏数据的情况下,所述车机根据所述投屏数据显示所述第二界面内容;
    在所述显示数据为所述应用进度数据的情况下,所述车机根据所述应用进度数据启动所述第一应用对应的本地应用,以便显示所述第二界面内容。
  13. 根据权利要求12所述的方法,其中,
    在第一界面内容为显示画面的情况下,所述投屏数据包含所述显示画面的显示帧数据;
    在第一界面内容为视频画面的情况下,所述投屏数据包含视频流数据以及音频流数据。
  14. 一种应用流转装置,所述装置包括:
    显示模块,用于显示第一应用的第一界面内容;
    所述显示模块,还用于在与车机建立有通信连接的情况下,显示应用流转提示,所述应用流转提示用于指示将所述第一界面内容流转至所述车机显示;
    指令发送模块,用于响应于对所述应用流转提示的确认操作,向所述车机发送流转接收指令,以使所述车机显示第二界面内容,所述第二界面内容属于所述第一界面内容。
  15. 一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如权利要求1至13任一所述的应用流转方法。
  16. 一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至13任一所述的应用流转方法。
  17. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中,处理器从所述计算机可读存储介质读取并执行所述计算机指令,以实现如权利要求1至13任一所述的应用流转方法。
PCT/CN2023/103206 2022-08-25 2023-06-28 应用流转方法、装置、终端、存储介质及程序产品 WO2024041176A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211024581.3 2022-08-25
CN202211024581.3A CN117667267A (zh) 2022-08-25 2022-08-25 应用流转方法、装置、终端、存储介质及程序产品

Publications (1)

Publication Number Publication Date
WO2024041176A1 true WO2024041176A1 (zh) 2024-02-29

Family

ID=90012373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/103206 WO2024041176A1 (zh) 2022-08-25 2023-06-28 应用流转方法、装置、终端、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN117667267A (zh)
WO (1) WO2024041176A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120038541A1 (en) * 2010-08-13 2012-02-16 Lg Electronics Inc. Mobile terminal, display device and controlling method thereof
CN111541761A (zh) * 2020-04-20 2020-08-14 南京酷沃智行科技有限公司 一种智能手机与智能车机互联及控制的方法
CN112398855A (zh) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 应用内容跨设备流转方法与装置、电子设备
CN112861638A (zh) * 2021-01-14 2021-05-28 华为技术有限公司 一种投屏方法及装置
CN114764318A (zh) * 2021-01-14 2022-07-19 上海擎感智能科技有限公司 交互方法、终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120038541A1 (en) * 2010-08-13 2012-02-16 Lg Electronics Inc. Mobile terminal, display device and controlling method thereof
CN111541761A (zh) * 2020-04-20 2020-08-14 南京酷沃智行科技有限公司 一种智能手机与智能车机互联及控制的方法
CN112398855A (zh) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 应用内容跨设备流转方法与装置、电子设备
CN112861638A (zh) * 2021-01-14 2021-05-28 华为技术有限公司 一种投屏方法及装置
CN114764318A (zh) * 2021-01-14 2022-07-19 上海擎感智能科技有限公司 交互方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN117667267A (zh) 2024-03-08

Similar Documents

Publication Publication Date Title
CN109391792B (zh) 视频通信的方法、装置、终端及计算机可读存储介质
CN109847337A (zh) 游戏控制方法及装置、存储介质
CN112994997B (zh) 处理方法、处理设备及存储介质
US8704632B2 (en) In-vehicle system, in-vehicle device, and execution control method of command of the in-vehicle device
CN108924361B (zh) 音频播放和采集控制方法、系统及计算机可读存储介质
EP2296358B1 (en) Terminal and control method of a camera thereof
US20140173669A1 (en) Method to provide a virtual cockpit experience to the flying passenger
CN112199067B (zh) 一种显示切换方法及装置
US20230367537A1 (en) Screen-projection displaying method, apparatus, mobile terminal, and program product
CN109831375B (zh) 即时通信信息的收发方法、终端及计算机可读存储介质
WO2024041176A1 (zh) 应用流转方法、装置、终端、存储介质及程序产品
CN112040288B (zh) 一种多媒体系统
CN113660301A (zh) 汽车中控的控制方法、装置、汽车中控和存储介质
CN107211052A (zh) 便携式终端、便携式终端操作系统、通信控制程序以及通信控制方法
CN109561217B (zh) 终端来电接听方法、装置、移动终端及存储介质
CN113543078A (zh) 车机、移动终端、及控制移动终端与车机之间进行交互的方法
CN115002400A (zh) 车载会议系统及其车辆
JP6405964B2 (ja) 音声制御システム、車載装置、音声制御方法
CN113457143A (zh) 一种视频游戏融合处理方法、设备及计算机可读存储介质
EP4207752A2 (en) In-vehicle communications and media mixing
EP4207767A1 (en) In-vehicle multi-occupant media management
CN111586894A (zh) 一种宽带集群终端的模式选择方法
JP6592676B2 (ja) プログラム、情報処理方法、及び通信システム
CN112849118B (zh) 车辆转向盘的控制方法、计算机设备、存储介质及车辆
CN116347400A (zh) 用于通过移动终端设备控制车机终端设备的方法和系统

Legal Events

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

Ref document number: 23856267

Country of ref document: EP

Kind code of ref document: A1