Application screen moving display method and device, vehicle-mounted system and storage medium

By mirroring and prioritizing the layers of the target application in the in-vehicle system, precise cross-screen migration of application screens is achieved, solving the problems of time lag and high resource consumption in existing technologies, and improving user experience and stability.

CN121785553APending Publication Date: 2026-04-03NEUSOFT CORP
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-31
Publication Date
2026-04-03

Smart Images

  • Figure CN121785553A_ABST
    Figure CN121785553A_ABST
Patent Text Reader

Abstract

The invention provides an application screen moving display method and device, a vehicle-mounted system and a storage medium, and relates to the technical field of intelligent cabin multi-screen interaction. The method comprises the steps that after a moving instruction is received, a first layer corresponding to a target application in a first screen is subjected to mirror image rendering to a first physical layer and a second physical layer, and the display priority of the layer corresponding to the first screen is adjusted to a target state from an initial state; controlling the first physical layer to move to a first target position from the position of the top layer of the first screen according to the moving instruction, moving the second physical layer to a second target position from a second initial position outside the second screen, and ensuring that the moving directions of the first physical layer and the second physical layer are consistent and the moving distances are the same; and displaying the effect of gradually migrating the application picture from the first screen to the second screen on the first screen and the second screen in a combined manner on the basis of the mirror image relationship of the first physical layer and the second physical layer on the display content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of multi-screen interaction technology in smart cockpits, and in particular to a method, device, vehicle system, and storage medium for applying screen-shifting display. Background Technology

[0002] With the full arrival of the era of intelligent vehicles, in-vehicle cockpit systems are accelerating their evolution towards intelligence and multi-screen functionality; among them, cross-screen migration of application screens between multiple screens has become one of the core functions for improving the interactive experience.

[0003] In existing technologies, cross-screen migration of application screens is generally achieved by capturing screen snapshots or transmitting the entire screen. However, capturing screen snapshots can only capture static data at a certain moment and cannot capture the dynamic screen stream rendered in real time by the application. This results in a significant time lag in the migrated screen, making it difficult to synchronously present the application's dynamic running state. Transmitting the entire screen requires synchronously transmitting all redundant information within the screen, leading to high resource consumption of the vehicle system, easy occurrence of running stutters, and significantly affecting the stability of the function operation.

[0004] How to achieve cross-screen migration of real-time application images between multiple screens in the vehicle while ensuring the stability of functional operation and improving the user interaction experience has become one of the urgent technical problems to be solved in the field of intelligent cockpit multi-screen interaction technology. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a method for application screen migration, which can achieve precise cross-screen migration of real-time application images between multiple screens in a vehicle while ensuring the stability of function operation and improving the user interaction experience.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] The first aspect of this application provides a method for application screen-shifting display, the method comprising:

[0008] Upon receiving a move instruction to move the target application from the first screen to the second screen, the first layer corresponding to the target application is mirrored and rendered onto the first physical layer and the second physical layer, respectively. The display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state. In the initial state, the display priority of the layer corresponding to the first screen is, from the top layer, the first layer and the second layer in sequence. In the target state, the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer and the second layer in sequence.

[0009] Based on the movement direction and movement distance information in the movement command, the first physical layer is moved from the first initial position to the first target position, and the second physical layer is moved from the second initial position to the second target position; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the first physical layer and the second physical layer move in the same direction and move at the same distance.

[0010] When moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the screen of the target application is displayed on the first screen and the second screen in combination, with the effect of gradually moving from the first screen to the second screen.

[0011] In an alternative implementation, after receiving the move instruction to move the target application from the first screen to the second screen, and before moving the first physical layer and the second physical layer, the method further includes:

[0012] Obtain the stack information of the target application; the stack information includes task information created in the target application;

[0013] After the target application has moved from the first screen to the second screen, the method further includes:

[0014] Move the stack information to the top of the application stack of the second screen.

[0015] In one optional implementation, adjusting the display priority of the layer corresponding to the first screen from the initial state to the target state includes:

[0016] Adjust the first physical layer from a preset initial position to the first initial position; the preset initial position is outside the first screen;

[0017] A snapshot of the application running on the second layer is obtained, an intermediate insert layer is generated and loaded between the first physical layer and the first layer, and a snapshot of the application on the second layer is rendered and displayed in the intermediate insert layer.

[0018] In one alternative implementation, the method further includes:

[0019] Create a first virtual screen corresponding to the first screen and a second virtual screen corresponding to the second screen;

[0020] Create a first display control and set the first display control onto the first virtual screen; create a second display control and set the second display control onto the second virtual screen.

[0021] Create the first physical layer and the second physical layer, bind the layer of the first display control to the first physical layer, and bind the layer of the second display control to the second physical layer;

[0022] The step of moving the first physical layer from the first initial position to the first target position and moving the second physical layer from the second initial position to the second target position according to the movement direction information and movement distance information in the movement command specifically involves:

[0023] Based on the movement direction information and the movement distance information, the position of the first display control is adjusted, and based on the binding relationship between the layer of the first display control and the first physical layer, the position of the first display control is adjusted to move the first physical layer from the first initial position to the first target position; and based on the movement direction information and the movement distance information, the position of the second display control is adjusted, and based on the binding relationship between the layer of the second display control and the second physical layer, the position of the second display control is adjusted to move the second physical layer from the second initial position to the second target position.

[0024] In one optional implementation, the step of mirroring and rendering the first layer corresponding to the target application onto the first physical layer and the second physical layer respectively includes:

[0025] Determine the layer stack information of the first layer, the identification information of the first virtual screen, and the identification information of the second virtual screen;

[0026] The layer display management service determines all layers associated with the first layer based on the layer identifier of the first layer in the layer stack information; the layer display management service is a service process running at the system layer of the vehicle terminal.

[0027] Through the layer display management service, based on the identification information of the first virtual screen, all layers associated with the first layer are rendered onto the first virtual screen to obtain first rendering layer data; and based on the identification information of the second virtual screen, all layers associated with the first layer are rendered onto the second virtual screen to obtain second rendering layer data;

[0028] The layer display management service performs mirror compositing on the first rendering layer data to obtain the first composite layer data, and performs mirror compositing on the second rendering layer data to obtain the second composite layer data.

[0029] The first composite layer data is transferred to the first physical layer, and the second composite layer data is transferred to the second physical layer, so that both the first physical layer and the second physical layer present a mirrored display effect consistent with the first layer.

[0030] In an alternative implementation, after the target application has moved from the first screen to the second screen, the method further includes:

[0031] Delete the snapshot of the application of the second layer, and clear the first display control on the first virtual screen and the second display control on the second virtual screen.

[0032] In one alternative implementation, the method further includes:

[0033] The second initial position of the second physical layer is set according to the size of the second screen and the relative orientation of the first screen and the second screen.

[0034] A second aspect of this application provides a mobile screen display device, the device comprising:

[0035] The layer function activation module is used to, upon receiving a move instruction to move a target application from a first screen to a second screen, mirror and render the first layer corresponding to the target application onto a first physical layer and a second physical layer, respectively, and adjust the display priority of the layer corresponding to the first screen from the initial state to the target state; in the initial state, the display priority of the layer corresponding to the first screen is, from the top layer, the first layer and the second layer in sequence; in the target state, the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer and the second layer in sequence;

[0036] The layer movement module is used to move the first physical layer from a first initial position to a first target position and the second physical layer from a second initial position to a second target position according to the movement direction information and movement distance information in the movement instruction; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the first physical layer and the second physical layer move in the same direction and move at the same distance.

[0037] The display module is used to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen to the second screen on the first screen and the second screen.

[0038] A third aspect of this application provides an in-vehicle system, including a controller, a first screen, and a second screen;

[0039] The controller, upon receiving a move instruction to move a target application from a first screen to a second screen, mirrors and renders the first layer corresponding to the target application onto a first physical layer and a second physical layer, respectively, and adjusts the display priority of the layer corresponding to the first screen from an initial state to a target state. In the initial state, the display priority of the layer corresponding to the first screen is, from the top layer, the first layer and the second layer in sequence. In the target state, the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer, and the second layer in sequence.

[0040] The controller is further configured to move the first physical layer from a first initial position to a first target position and move the second physical layer from a second initial position to a second target position according to the movement direction information and movement distance information in the movement command; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the movement direction of the first physical layer and the movement distance of the second physical layer are the same;

[0041] The controller is further configured to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen to the second screen on the first screen and the second screen.

[0042] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any implementation of the first aspect.

[0043] Compared with the prior art, this application has the following beneficial effects:

[0044] Based on this, this application provides an application screen-shifting display method. After receiving a move instruction to move a target application from a first screen to a second screen, the first layer corresponding to the target application in the first screen is mirror-rendered onto a first physical layer and a second physical layer, respectively. The display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state. Then, according to the move instruction, the first physical layer is controlled to move from the top layer position of the first screen to the first target position, and the second physical layer is moved from the second initial position outside the second screen to the second target position, ensuring that the movement direction of the first physical layer and the second physical layer are consistent and the movement distance is the same. Based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the application screen is combined on the first screen and the second screen to present the effect of the application screen gradually migrating from the first screen to the second screen.

[0045] This application accurately replicates the real-time rendering data of the first layer by performing dual physical layer mirror rendering processing on the first layer. By adjusting the layer display priority on the first screen, it ensures that the application screen located in the second layer below the first layer can be correctly displayed on the first screen during the migration process. By configuring the first and second physical layers to move in the same direction and with the same distance, the application screen can be displayed on both the first and second screens in a combined manner during the synchronous movement of the two physical layers, gradually migrating from the first screen to the second screen. This application solution eliminates the need to process irrelevant redundant data information within the screen, effectively reducing the resource consumption of the vehicle system, improving the operational stability of multi-screen interaction functions, and optimizing the user experience of multi-screen interaction in the smart cockpit. Attached Figure Description

[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 A schematic diagram illustrating the relative positional relationship of multiple layers corresponding to a physical screen, provided as an embodiment of this application;

[0048] Figure 2A A schematic diagram of two screens before application movement is provided as an embodiment of this application;

[0049] Figure 2B A schematic diagram illustrating the changes in screen display effects at different stages during the execution of a method for applying a screen-shifting display, as provided in an embodiment of this application.

[0050] Figure 3 A flowchart illustrating a method for applying screen-shifting display, as provided in an embodiment of this application;

[0051] Figure 4 A flowchart illustrating another method for applying screen-shifting display provided in this application embodiment;

[0052] Figure 5A A flowchart illustrating another method for applying screen-shifting display provided in this application embodiment;

[0053] Figure 5B This application provides a schematic diagram of an operation for initialization before screen shifting, as illustrated in an embodiment of the present application.

[0054] Figure 5C A schematic diagram illustrating the change in the position of the top layer of the first screen after initialization before screen shifting, provided as an embodiment of this application;

[0055] Figure 5D A schematic diagram illustrating the synchronous movement of the top layer of a first screen and a second screen, provided as an embodiment of this application;

[0056] Figure 5E A schematic diagram illustrating a target application completing screen-shifting display, provided as an embodiment of this application;

[0057] Figure 5F A schematic diagram illustrating how stack information corresponding to a target application is moved to the top of the application stack on the second screen, as provided in an embodiment of this application.

[0058] Figure 5G A schematic diagram illustrating the final effect of a screen-shifting application screen provided in an embodiment of this application;

[0059] Figure 6 A schematic diagram of a device for using a screen-shifting display, provided in an embodiment of this application;

[0060] Figure 7 This is a schematic diagram of the structure of an in-vehicle system provided for an embodiment of the application. Detailed Implementation

[0061] With the development of automotive intelligence and multimodal interaction technology, vehicles are equipped with multiple displays, and cross-screen migration of application screens between multiple screens has become one of the core functions to enhance the interactive experience.

[0062] Currently, cross-screen migration of application screens can also be achieved through a "multi-stage rendering stack migration" approach. Specifically, when the vehicle system receives a screen-shifting command, it parses the command and extracts core parameters such as the source physical screen identifier and the target physical screen identifier. Then, it initiates a rendering stack migration process, migrating the application rendering stack running on the source physical screen from the source physical screen's hardware rendering layer to a pre-configured source virtual screen, thereby decoupling the application rendering logic from the source physical screen hardware. During the screen-shifting execution phase, to facilitate the transfer of cross-screen rendering data, the application rendering stack in the source virtual screen is temporarily migrated to the system's shared rendering stack, relying on this shared rendering stack to temporarily store and forward rendering data. After the data transfer process is completed, the application rendering stack in the system's shared rendering stack is then migrated to the target virtual screen, completing the hardware binding between the target virtual screen and the target physical screen, thus achieving a complete migration of the application screen from the source physical screen to the target physical screen.

[0063] Because this solution requires multiple rendering path switching during the application screen migration process, the vehicle system resource consumption is high during screen migration, which can easily lead to lag and significantly affect the stability of the function and greatly reduce the user's interactive experience.

[0064] Therefore, how to achieve accurate cross-screen migration of real-time application images between multiple screens in the vehicle while ensuring the stability of function operation, improving user interaction experience, and reducing the resource consumption of the vehicle system has become one of the core technical problems that urgently need to be solved in the field of intelligent cockpit multi-screen interaction technology.

[0065] Based on this, this application provides an application screen-shifting display method. After receiving a move instruction to move a target application from a first screen to a second screen, the first layer corresponding to the target application in the first screen is mirror-rendered onto a first physical layer and a second physical layer, respectively. The display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state. Then, according to the move instruction, the first physical layer is controlled to move from the top layer position of the first screen to the first target position, and the second physical layer is moved from the second initial position outside the second screen to the second target position, ensuring that the movement direction of the first physical layer and the second physical layer are consistent and the movement distance is the same. Based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the application screen is combined on the first screen and the second screen to present the effect of the application screen gradually migrating from the first screen to the second screen.

[0066] This application precisely replicates the real-time rendering data of the first layer by performing dual physical layer mirror rendering on the first layer. By adjusting the layer display priority on the first screen, it ensures that the application screen located in the second layer below the first layer can be correctly displayed on the first screen during the migration process. By configuring the first and second physical layers to move in the same direction and with the same distance, the application screen can be displayed on both the first and second screens in a combined manner during the synchronous movement of the two physical layers, gradually migrating from the first screen to the second screen. This solution eliminates the need to process irrelevant redundant data within the screen during cross-screen application migration, effectively reducing the resource consumption of the vehicle system, improving the operational stability of multi-screen interaction functions, and optimizing the user experience of multi-screen interaction in the smart cockpit.

[0067] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0068] To facilitate understanding of the technical solutions in this application, the relevant concepts of physical screen and multiple layers on the physical screen will be introduced first.

[0069] The physical screen in this application is a hardware carrier with independent display capabilities within the smart cockpit. The physical screen includes multiple layers, which are stacked and arranged according to a preset display hierarchy to jointly form the complete display image of the screen.

[0070] The position of a layer in the physical screen can be represented by coordinates in three dimensions: the horizontal dimension of the physical screen, the vertical dimension of the physical screen, and the layer height.

[0071] Figure 1 This is a schematic diagram illustrating the relative positional relationship of multiple layers corresponding to a physical screen, provided in an embodiment of this application. The following is in conjunction with... Figure 1 The document explains the three dimensions of the physical screen: the horizontal dimension, the vertical dimension, and the layer height.

[0072] The horizontal dimension of a physical screen is the dimension that extends along the horizontal dimensions of the physical screen. Figure 1 The direction extending along the right side of the physical screen is the positive direction of the horizontal dimension (+x), and the direction extending along the left side of the physical screen is the negative direction of the horizontal dimension.

[0073] The vertical dimension is the dimension that extends along the vertical dimension of the physical screen. Figure 1The direction extending below the physical screen is the positive direction of the vertical dimension (+y), and the direction extending above the physical screen is the negative direction of the vertical dimension.

[0074] Layer height is a metric used to distinguish the stacking order of layers. The layer height value is positively correlated with its stacking height; that is, the higher the layer is, the larger its layer height value. For example, Figure 1 The physical screen contains layers M, which are stacked sequentially from bottom to top (from bottom layer to top layer), namely Layer 1, Layer 2, and so on up to Layer M. The corresponding layer height dimensions are: Layer 1 has a height of 1, Layer 2 has a height of 2, and Layer M has a height of M.

[0075] In this application, the position of each layer is represented by a three-dimensional coordinate system constructed based on the "horizontal dimension of the physical screen, the vertical dimension of the physical screen, and the layer height". Specifically, the horizontal dimension coordinate value in the three-dimensional coordinate system represents the offset of the layer in the left-right direction of the screen, the vertical dimension coordinate value represents the offset of the layer in the up-down direction of the screen, and the layer height dimension coordinate value represents the stacking level of the layer.

[0076] Figure 1 The top-left corner of the physical screen is selected as the origin of the 3D coordinates, resulting in the coordinates of layer 1 as (0, 0, 1), layer 2 as (0, 0, 2), and layer M as (0, 0, M). Those skilled in the art can select any other point on the physical screen as the corresponding coordinate origin according to actual needs, and redefine the coordinate positions of the layers based on this origin.

[0077] It should be noted that when a physical screen has multiple layers, these layers are stacked along a direction perpendicular to the screen's display plane. The higher the layer on top, the higher its display priority on the screen. Therefore, Figure 1 Layer M in the middle has a relative Figure 1 Other layers in the array have the highest priority for display on the physical screen.

[0078] Below, in conjunction with Figure 2A and Figure 2B The technical effects and advantages of the technical solution in this application shall be explained.

[0079] Figure 2A This application provides a schematic diagram of two screen layers before application movement, wherein... Figure 2A The left pane, 01, shows the layer stacking effect of the first screen. Assuming different layers display different application screens, from... Figure 2A As can be seen from this, for the first screen, the layer containing the application represented by the smiley face is located above the layer containing the application represented by the pentagram, and the layer represented by the smiley face is the layer currently displayed on the first screen. Figure 2AThe right frame 02 shows the layer stacking effect of the second screen. The layers represented by the triangles are the layers currently displayed on the second screen.

[0080] Figure 2B This diagram illustrates the changes in screen display effects at different stages during the execution of a screen-shifting display method provided in this embodiment of the application. Figure 2B In the configuration, the first screen 11 and the second screen 12 are positioned opposite each other, with the first screen 11 on the left and the second screen 12 on the right. Users inside the vehicle can trigger a movement command by dragging the icon or page of the target application represented by the smiley face on the first screen 11 to the right. The movement command instructs the target application to be moved from the first screen 11 to the second screen 12.

[0081] exist Figure 2B The text sequentially displays the following effects from top to bottom: the target application's display effect before it moves, its appearance on both screens 11 and 12 during its movement from screen 11 to screen 12; and the display effect on both screens 11 and 12 after the target application has completely moved from screen 11 to screen 12. Figure 2A and Figure 2B It is easy to see that after the target application is moved, the layer where the target application is located is displayed on top of the layer that was originally displayed on the second screen 12, while the layer where the target application was originally displayed at the top of the first screen 11 is no longer displayed in the first screen 11, and the first screen 11 displays the complete pentagram-shaped layer.

[0082] As can be seen, by implementing the technical solution of the embodiments of this application, the user's experience of moving the screen to display the application screen in the vehicle can be improved, and the display effect of seamless screen movement of the application can be achieved.

[0083] The implementation process of the solution will be described in detail below, based on the technical solution provided in the embodiments of this application. Figure 3 This is a flowchart illustrating a method for applying screen-shifting display, as provided in an embodiment of this application. Figure 3 As shown, the methods for applying screen-shifting display include:

[0084] S301, after receiving the move instruction to move the target application from the first screen to the second screen, the first layer corresponding to the target application is mirrored and rendered onto the first physical layer and the second physical layer respectively, and the display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state.

[0085] The move command specifies a start screen and a target screen. The start screen is the screen where the application to be moved is currently located, and the target screen is the screen into which the application is to be moved. Here, the application to be moved is referred to as the target application. In this application, the start screen is the first screen, and the target screen is the second screen. The first screen and the second screen are two physical screens configured in the vehicle system, both having [specific characteristics]. Figure 1 The physical screen shown has consistent characteristics.

[0086] A movement command that moves a target application from the first screen to the second screen carries movement direction and distance information. By controlling the movement of the target application according to the movement direction and distance information carried in the movement command, the target application can be moved to a position that matches the movement direction and distance information, thereby achieving the visual effect of transferring the target application on the screen.

[0087] As an example, the movement direction information, left, right, up, and down, indicate movement to the left, right, up, or down, respectively. The unit of movement distance information can be set to pixels, or other units such as centimeters or millimeters. For example, if the unit of movement distance information is pixels, then a movement distance of 500 means that the target application needs to be moved 500 pixels along the indicated direction.

[0088] Movement commands can be generated after receiving a trigger operation from a user on the in-vehicle cockpit screen. For example, the user may perform a click, drag, or preset gesture on the first screen. The movement direction and distance information carried in the movement command can be obtained by analyzing the trigger operation. For example, the direction of movement can be determined by analyzing the direction of the gesture, the distance of movement can be determined by the distance of movement, and then the movement command can be generated based on the distance and direction information.

[0089] Mirror rendering refers to a rendering method that synchronously copies the data of the same layer to be rendered and uses the same rendering parameters and rendering logic to render synchronously in different physical layers, so that the displayed content of each physical layer after rendering is completely consistent with the original layer, with no frame difference and no content deviation.

[0090] The physical layer (including the first physical layer and the second physical layer) in this application refers to a visual layer unit created by the vehicle system layer display management service, which has independent three-dimensional coordinate attributes and rendering capabilities.

[0091] After receiving a move instruction to move the target application from the first screen to the second screen, this application mirrors and renders the first layer corresponding to the target application onto the first physical layer and the second physical layer, so that the first physical layer and the second physical layer synchronously present mirrored display content consistent with the first layer.

[0092] In one optional implementation, the first layer corresponding to the target application is mirrored and rendered onto a first physical layer and a second physical layer, respectively, including:

[0093] A1, determine the layer stack information of the first layer, the identification information of the first virtual screen, and the identification information of the second virtual screen.

[0094] Layer stack information refers to a structured data set formed by stacking and sorting all layers on the physical screen. Layer stack information includes each layer's unique identifier, 3D coordinate parameters, display content association information, layer display priority, rendering status, and index information of the application to which it belongs. By parsing the layer stack information, the layer corresponding to the application can be quickly located.

[0095] For example, the layer stack information corresponding to the first screen can be obtained through the layer display management service built into the vehicle infotainment system. This layer display management service is a background service process running at the system layer of the in-vehicle terminal, capable of uniformly maintaining, updating in real time, and quickly retrieving the layer stack information of all physical screens within the vehicle infotainment system.

[0096] A virtual screen is a virtual display carrier built in memory by the vehicle system that is not directly associated with physical display hardware. It has the same layer management capabilities and rendering logic as a physical screen and can be used to temporarily store application layer data and decouple rendering logic from physical hardware.

[0097] In this application, the first virtual screen is a virtual screen that establishes a one-to-one mapping relationship with the first physical layer; the second virtual screen is a virtual screen that establishes a one-to-one mapping relationship with the second physical layer.

[0098] In one alternative implementation, a first virtual screen and a second virtual screen can be independently constructed based on the memory virtualization technology of the vehicle system, thereby obtaining the unique identification information of the first virtual screen and the unique identification information of the second virtual screen.

[0099] A2, through the layer display management service, determines all layers associated with the first layer based on the layer identifier of the first layer in the layer stack information.

[0100] Specifically, after obtaining the layer stack information of the first layer, the layer display management service can be used to perform correlation retrieval and matching on all layers in the layer stack information, using the layer identifier of the first layer as the retrieval benchmark, to determine all layers that are directly or indirectly related to the first layer.

[0101] A3, through the layer display management service, based on the identification information of the first virtual screen, render all layers associated with the first layer to the first virtual screen to obtain first rendering layer data; and based on the identification information of the second virtual screen, render all layers associated with the first layer to the second virtual screen to obtain second rendering layer data.

[0102] Specifically, through the layer display management service, the virtual screen is accurately addressed based on the unique identifier information of the first virtual screen. The full layer data of all layers that are previously determined to be hierarchically related to the first layer are rendered completely and synchronously into the first virtual screen using the original rendering parameters and rendering logic of the first layer, thus obtaining the first rendering layer data. In addition, the corresponding virtual screen is accurately addressed based on the unique identifier information of the second virtual screen. Using the same rendering parameters and rendering logic as the first virtual screen, the full layer source data of all layers associated with the first layer are rendered completely and synchronously into the second virtual screen, thus obtaining the second rendering layer data.

[0103] A4. Through the layer display management service, mirror compositing is performed on the first rendering layer data to obtain the first composite layer data, and mirror compositing is performed on the second rendering layer data to obtain the second composite layer data.

[0104] Specifically, the layer display management service performs mirror compositing on the first rendering layer data to generate first composite layer data with complete display attributes; and the layer display management service performs mirror compositing on the second rendering layer data to generate second composite layer data.

[0105] A5, transfer the first composite layer data to the first physical layer, and transfer the second composite layer data to the second physical layer, so that both the first physical layer and the second physical layer present a mirrored display effect consistent with the first layer.

[0106] The first composite layer data is fully transferred to the first physical layer, and the first physical layer completes the full display of the image based on the first composite layer data; at the same time, the second composite layer data is fully transferred to the second physical layer, and the second physical layer completes the full display of the image based on the second composite layer data; finally, both physical layers present a mirror display effect that is completely consistent with the first layer in terms of display content, layer overlay effect, and image attributes.

[0107] After receiving a move instruction to move the target application from the first screen to the second screen, this application adjusts the display priority of the layer corresponding to the first screen from the initial state to the target state.

[0108] The initial display priority of the layers corresponding to the first screen means that, starting from the top layer, the display priority of the layers corresponding to the first screen is the first layer and then the second layer. In other words, in the initial state, the top layer of the first screen is the first layer; the screen of the target application in the first layer is displayed first on the first screen.

[0109] The target state for the layer display priority of the first screen means that, starting from the top layer, the layer display priority of the first screen is as follows: first physical layer, middle inserted layer, first layer, and second layer; the middle inserted layer displays a snapshot of the application on the second layer. In other words, in the target state, the top layer of the first screen is the first physical layer, and the screen displays the images of applications on the first physical layer first.

[0110] It should be noted that this application does not limit the specific execution order of the two operations: mirroring and rendering the first layer to two physical layers respectively after receiving the move command, and adjusting the display priority of the corresponding layer on the first screen.

[0111] In one optional implementation, adjusting the display priority of the layer corresponding to the first screen from the initial state to the target state includes:

[0112] B1, adjust the first physical layer from the preset initial position to the first initial position.

[0113] The first physical layer in this application is positioned outside the first screen, meaning the first physical layer is pre-set outside the first screen. This is to ensure that the content of the target application is fully displayed on the first screen at the beginning of screen shifting.

[0114] In this application, the first initial position is the position of the top layer of the first screen in the target state.

[0115] Combination Figure 1As shown, assuming the horizontal dimension of the physical screen is W, the vertical dimension is H, and the height of the layer on the physical screen is M; taking the upper left vertex of the layer on the physical screen as the origin of the three-dimensional coordinate system, the coordinates of the first layer corresponding to the target application are (0, 0, M), and the coordinates of the first initial position are (0, 0, M+1); the preset initial position is outside the first screen, assuming the coordinates of the preset initial position are (-W, 0, M+1). Therefore, after receiving a move instruction to move the target application from the first screen to the second screen, the first physical layer can be moved to the right by W in the horizontal dimension of the physical screen, thereby adjusting the first physical layer from the preset initial position to the first initial position. It should be noted that this application does not limit the specific position of the first physical layer outside the first screen; those skilled in the art can set the initial position of the first physical layer according to actual needs.

[0116] B2, obtain a snapshot of the application running on the second layer, generate and load the intermediate insert layer between the first physical layer and the first layer, and render and display the snapshot of the application in the intermediate insert layer.

[0117] After receiving a move instruction to move the target application from the first screen to the second screen, the system can call the layer display management service of the vehicle system to obtain a snapshot of the application in the lower layer adjacent to the first layer on the first screen, i.e., the second layer. Then, the layer display management service drives the intermediate inserted layer to complete the loading and rendering of the snapshot content between the first physical layer and the first layer. This adjusts the priority of the layer corresponding to the first screen to the target state, so that the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the intermediate inserted layer, the first layer, and the second layer.

[0118] It should be noted that, during the process of adjusting the display priority of the layer corresponding to the first screen from the initial state to the target state, a snapshot of the application of the second layer can be obtained first, and the snapshot can be rendered onto the intervening layer; then, the first layer can be moved from the preset initial position to the first initial position. This application does not limit the order of layer operations involved in the process of adjusting the display priority of layers.

[0119] S302, according to the movement direction information and movement distance information in the movement command, the first physical layer is moved from the first initial position to the first target position, and the second physical layer is moved from the second initial position to the second target position.

[0120] The first target position and the second target position are the final positions of the first physical layer and the second physical layer after the movement command plan moves the screen content of the target application from the first screen to the second screen. In this embodiment, the first physical layer and the second physical layer move in the same direction and move the same distance. That is, compared with the first initial position and the second initial position, the first physical layer and the second physical layer always move in the same direction and move the same distance synchronously. The first physical layer can move from the first initial position to the first target position gradually; similarly, the second physical layer can also move from the second initial position to the second target position gradually. Thus, from the user's perspective, it can be observed that the screen of the target application displayed in the top layer of the first screen gradually moves from the first screen in the direction indicated by the movement direction information, and the area occupied by the screen in this layer on the first screen becomes smaller and smaller, while the screen of the target application displayed in the top layer of the second screen appears from one side of the second screen and gradually occupies an increasingly larger area of ​​the second screen.

[0121] As an example, if the second screen is located at the right end of the first screen, the movement direction information indicates movement to the right, and the movement distance information indicates the movement distance x, then the top layer of the first screen is moved from the first initial position (0, 0, M+1) to the first target position (x, 0, M+1), and the top layer of the second screen is moved from the second initial position (-W, 0, N) to the second target position (-W+x, 0, N). If x is the same as the horizontal dimension of the screen, i.e., x = W, then the first target position is (W, 0, M+1), and the second target position is (0, 0, N).

[0122] S303, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the screen of the target application is displayed on the first screen and the second screen in combination, showing the effect of the screen gradually moving from the first screen to the second screen.

[0123] In this embodiment, the display content of the first physical layer and the second physical layer is mirrored. Since the content displayed on the first screen and the second screen mainly depends on the layer displayed at the position of the first screen and the layer displayed at the position of the second screen, the top layer of both screens is responsible for displaying the screen content of the target application, and the two top layers move synchronously, one moving out of the screen and the other moving in from outside the screen. This can combine the display on the first screen and the second screen to show the effect of the target application's screen gradually moving from the first screen to the second screen.

[0124] Furthermore, since the display content of the first physical layer (the first initial position corresponding to the first physical layer is the position of the top layer of the first screen) and the second physical layer (the second target position corresponding to the second physical layer is the position of the top layer of the second screen) is mirrored, if the screen content of the target application on the top layer of the first screen changes dynamically in real time, then correspondingly, the screen content of the target application on the top layer of the second screen also changes dynamically in real time. This real-time and synchronous nature of the dynamic changes in display content, achieved through layer mirroring technology to support application screen-shifting display, provides users with a visually appealing and highly synchronized application screen-shifting control experience. Therefore, the technical solution of this application can achieve seamless application screen-shifting and real-time display.

[0125] It is important to emphasize that, since the purpose of adjusting the display priority of the layer corresponding to the first screen from the initial state to the target state before synchronously moving the two physical layers according to the move command is to ensure that, during the synchronous movement of the two physical layers according to the move command, as the first physical layer gradually moves out of the first screen, a snapshot of the application of the second layer is gradually displayed on the first screen; this effectively solves the problem of unexpected underlying display content being exposed on the first screen during the screen-moving process, ensuring the user's visual experience and the overall effect of the screen-moving operation, and achieving a smooth transition and display of the target application screen between the two screens.

[0126] Based on the above solution, in order to solve the problem of application process association conflicts between the first screen and the second screen during screen shifting, which affects the smoothness and display consistency of the target application's cross-screen movement, this application provides another flowchart of the application screen shifting display method. Figure 4 A flowchart illustrating another method for applying screen-shifting display as provided in this application embodiment. (In conjunction with...) Figure 4 As shown, another method for applying screen-shifting display includes:

[0127] S401, after receiving the move instruction to move the target application from the first screen to the second screen, the first layer corresponding to the target application is mirrored and rendered onto the first physical layer and the second physical layer respectively, and the display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state.

[0128] The content of S401 is described in S301 and will not be repeated here.

[0129] S402, Obtain the stack information of the target application.

[0130] The stack information also includes task information created in the target application.

[0131] For example, the stack information of the target application can be obtained from the application stack of the in-vehicle system. The first screen includes multiple application stacks, such as application stack 1, application stack 2, ..., application stack M, where application stack M is the top-level application stack and also the application stack of the target application. Since the stack information of the target application includes task information created by the target application, all information related to the tasks created by the target application will be recorded in the stack information. The created task information will also record the application's pages and application page navigation information. Because there is a correspondence between stack information and applications, after obtaining the target application, transferring the stack information of the target application can lock the manipulated object to the target application.

[0132] S403, according to the movement direction information and movement distance information in the movement command, the first physical layer is moved from the first initial position to the first target position, and the second physical layer is moved from the second initial position to the second target position.

[0133] S404, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the screen of the target application is displayed on the first screen and the second screen in combination, showing the effect of the screen gradually moving from the first screen to the second screen.

[0134] The contents of S403-S404 are described in S302-S303, and will not be repeated here.

[0135] S405, move the stack information to the top of the application stack of the second screen.

[0136] The acquired stack information of the target application is moved from the first screen to the top of the application stack on the second screen, where information about the target application's related tasks is displayed. Thus, as the target application's screen gradually moves from the first screen to the second screen, the second screen can load and display the target application's content based on this application stack information.

[0137] Understandably, when the stack information of the target application in the first screen is removed, the first layer in the first screen will no longer be able to load and render the screen content of the target application. The first layer will become a transparent empty layer with no valid display content, and the screen corresponding to other valid layers will be displayed directly on the first screen.

[0138] Figure 4The application-shifting display method demonstrated in the article effectively solves the application process association conflict problem during the shifting process by further acquiring the stack information of the target application and migrating it to the top of the application stack of the second screen. This ensures the smoothness of the target application's cross-screen movement and the consistency of the displayed screen, while also taking into account the integrity of the first screen during the shifting process, thus improving the display effect of in-vehicle multi-screen shifting.

[0139] In practical applications, this application also provides another method for application screen shifting display, which introduces other technical preparation steps before application screen shifting. Figure 5A This is a flowchart illustrating another method for applying screen-shifting display as provided in an embodiment of this application. (In conjunction with...) Figure 5A As shown, another method for applying screen-shifting includes:

[0140] S501, create a first virtual screen corresponding to the first screen and a second virtual screen corresponding to the second screen.

[0141] In this application, to more conveniently control the content displayed on the first and second screens and the area of ​​the displayed content, and to achieve precise movement and seamless screen transitions, corresponding virtual screens are created for the two physical screens, the first and second screens. The virtual screen for the first screen is referred to as the first virtual screen, and the virtual screen for the second screen is referred to as the second virtual screen.

[0142] S502, create a first display control and set the first display control onto the first virtual screen, create a second display control and set the second display control onto the second virtual screen.

[0143] In this application, after creating the first virtual screen and the second virtual screen, a first display control and a second display control are also created. The first display control is used to control the display content and movement effect of the top layer in the first screen in the first virtual screen. Similarly, the second display control is used to control the display content and movement effect of the top layer in the second screen in the second virtual screen.

[0144] S503, create the first physical layer and the second physical layer, bind the layer of the first display control to the first physical layer, and bind the layer of the second display control to the second physical layer.

[0145] In this application, by binding the layer of the first display control to the first physical layer, the first virtual screen controls the display content and movement effects of the first physical layer using the first display control. Similarly, by binding the layer of the second display control to the second physical layer, the second virtual screen controls the display content and movement effects of the second physical screen using the second display control. Specifically, when controlling the movement of the first and second physical layers, the movement of the display control bound to the layer can be controlled. See the description in S505 and S506 below for details.

[0146] The operations in S501-S503, combined with layer mirror rendering technology, can be understood as the initialization operations of the technical solution of this application. These initialization operations not only create virtual screens, physical layers, and display controls, but also achieve display synchronization and control linkage between the virtual screen and the physical screen. Furthermore, since both the first and second physical layers are mirror images of the first layer corresponding to the target application on the first screen, their displayed content is consistent with the first layer, providing a foundation for subsequent dual-screen collaborative screen shifting and seamless screen transitions.

[0147] Figure 5B This is a schematic diagram illustrating the initialization process before screen shifting, as provided in an embodiment of this application. Figure 5B As shown, during the initialization phase, the first physical layer 21 is located outside the first screen 11, and the second physical layer 22 is located outside the second screen 12. Figure 5B The diagram shows the binding relationship between the first physical layer 21 and the first display control 41 layer in the first virtual screen 31, as well as the binding relationship between the second physical layer 22 and the second display control 42 layer in the second virtual screen 32.

[0148] exist Figure 5B In the initialization phase shown, the layer height of the first physical layer 21 relative to the bottom layer of the first screen 11 is M, and its coordinates are represented by A. M This indicates that the layer height of the second physical layer 22 relative to the bottom layer of the second screen 12 is N, and its coordinates can be represented by B. N express. Figure 5B The horizontal dimension of both the first screen 11 and the second screen 12 is W; then A M The coordinates can be represented as (-W, 0, M), B N The coordinates are (-W, 0, N), where M and N can be the same or different values. At this time, the content displayed in the first physical layer 21 and the second physical layer 22 will not be shown on the screen.

[0149] For example, in Figure 5BUnder the conditions shown, the value of M is 3 and the value of N is 13. At this stage, the coordinates of the preset initial position corresponding to the first physical layer 21 are (-W, 0, 3); the coordinates of the first initial position corresponding to the first physical layer 21 are (0, 0, 3); the second initial position corresponding to the second physical layer 22 is (-W, 0, 13); and the second target position corresponding to the second physical layer 22 is (0, 0, 13).

[0150] S504, after receiving the move instruction to move the target application from the first screen to the second screen, the first layer corresponding to the target application is mirrored and rendered onto the first physical layer and the second physical layer respectively, and the display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state, and the stack information of the target application is obtained.

[0151] The contents of S504 are described in S401 and S402, and will not be repeated here.

[0152] Figure 5C This is a schematic diagram illustrating the change in the position of the top layer of the first screen after initialization before screen shifting, as provided in an embodiment of this application. (Combined with...) Figure 5C As can be seen, the target application in this application is application 2, the first layer is layer 2, the second layer is layer 1, the middle inserted layer is layer 3, that is, the top layer of the first screen 11, the first physical layer 21 (i.e., layer M).

[0153] like Figure 5B and Figure 5C As shown, compared to Figure 5B During the initialization phase, the position of the first physical layer 21 changes, moving from outside the first screen 11 to the top layer position on the first screen 11, that is, moving to the first initial position with coordinates (0, 0, M).

[0154] S505, according to the movement direction information and movement distance information in the movement command, the first physical layer is moved from the first initial position to the first target position, and the second physical layer is moved from the second initial position to the second target position.

[0155] Based on the operations in S501-S503, the specific implementation of S504 is as follows: according to the movement direction information and movement distance information in the movement command, the position of the first display control is adjusted, and based on the binding relationship between the layer of the first display control and the first physical layer, the position of the first display control is adjusted to move the first physical layer from the first initial position to the first target position; and according to the movement direction information and movement distance information in the movement command, the position of the second display control is adjusted, and based on the binding relationship between the layer of the second display control and the second physical layer, the position of the second display control is adjusted to move the second physical layer from the second initial position to the second target position.

[0156] In this embodiment, after determining the movement direction and distance information carried in the movement command, the positions of the first and second display controls can be adjusted. Adjusting the position of the display controls represents controlling the movement direction and distance of the display controls. Since the display control layer in the virtual screen is bound to the top layer of the screen, moving the display controls can achieve the effect of moving the position of the bound top layer of the screen.

[0157] As an example, moving the first display control horizontally to the right by a distance x will also move the first physical layer to the right by a distance x from its previous position. Similarly, moving the second display control horizontally to the right by a distance x will move the second physical layer to the right by a distance x from its previous position. By simultaneously moving the first and second display controls in the same direction and by moving them the same distance, synchronous and adaptive adjustments to the first and second physical layers are achieved.

[0158] S506, when the first physical layer and the second physical layer are moved according to the second movement command, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the screen of the target application is displayed on the first screen and the second screen in combination, showing the effect of the screen gradually moving from the first screen to the second screen.

[0159] As described in the foregoing embodiments, this application achieves a mirror relationship between the first physical layer and the second physical layer in terms of displayed content by mirroring and rendering the first layer corresponding to the target application in the first screen to the first physical layer and the second physical layer respectively.

[0160] Figure 5D A schematic diagram illustrating the synchronous movement of the top layer of a first screen and a second screen, provided as an embodiment of this application; Figure 5E This is a schematic diagram illustrating how a target application completes screen-shifting display, as provided in an embodiment of this application. (In conjunction with...) Figure 5D and Figure 5EAs can be seen, by implementing the application screen-shifting display method in this application, the two physical layers that carry the display of the target application page content can move in the same direction and synchronously. Furthermore, due to the setting of the first and second initial positions, the application screen-shifting between the two screens can be presented as a seamless screen-shifting display effect.

[0161] In the above embodiments, before the application's screen content is seamlessly displayed between different screens, corresponding virtual screens and physical layers are created for each screen in the in-vehicle system. Display controls bound to the physical layers are then set on the virtual screens. This allows adjusting the position of the display controls on the virtual screens to precisely and synchronously move the application between the two screens. This facilitates precise control over the application's screen-shifting display and enhances the user's screen-shifting experience.

[0162] S507, move the stack information corresponding to the target application to the top of the application stack of the second screen.

[0163] Figure 5F This is a schematic diagram illustrating how stack information corresponding to a target application is moved to the top of the application stack on the second screen, as provided in an embodiment of this application. After the second physical layer is moved to the second target position (i.e., the top layer on the second screen is the second physical layer), and the image of the target application is fully displayed on the second screen, the stack information corresponding to the target application can be moved to the top of the application stack on the second screen 12. In this way, the second screen can complete process binding and display priority locking of the target application based on the stack information at the top of its application stack, ensuring that the target application's screen can be stably and normally displayed continuously on the second screen.

[0164] Understandably, when the target application's stack information is removed from the first screen, the first layer corresponding to the target application only retains its physical carrier in the first screen's layer stack. It can no longer load and render the target application's screen content. This first layer becomes a transparent empty layer with no valid display content, and the display of the first screen will directly penetrate to this first layer. Figure 5C Apply the snapshot from layer 1 to layer 3.

[0165] S508, delete the snapshot of the application of the second layer, and clear the first display control on the first virtual screen and the second display control on the second virtual screen.

[0166] Figure 5G This is a schematic diagram illustrating the final effect of a mobile application screen provided in an embodiment of this application. (In conjunction with...) Figure 5GAs shown, after the application stack information of the target application is successfully migrated from the first screen to the top of the application stack on the second screen, the temporary snapshot generated during the screen migration process on the first screen is deleted, and the display controls created on the first and second virtual screens are cleared, completing the cleanup of this screen migration operation. After the cleanup is complete, the first screen will no longer be obscured by the snapshot and will directly display the content of the second layer. The second screen will then continuously and stably display the content of the target application after the screen migration, thus completing the entire process of cross-screen application migration.

[0167] As mentioned earlier, the second initial position of the second physical layer is located outside the second screen. This is to prevent the display of any content related to the target application on the second screen at the beginning of the movement. In this embodiment, the setting of the second initial position can be specifically determined by the relative positions of the first and second screens, as well as the dimensions of the second screen (including its horizontal and vertical dimensions). For example, in this technical solution, the horizontal dimension of both the first and second screens is W, and the vertical dimension of both the first and second screens is H.

[0168] Based on the relative positions of the first and second screens and the size of the second screen, the second initial position of the top layer of the second screen is set. Specifically, it can be divided into the following cases (assuming the height of the top layer of the second screen in the layer dimension is N):

[0169] (1) If the second screen is located at the right end of the first screen, set the second initial position of the top layer of the second screen to (-W, 0, N). In the embodiments described above, the second screen is located at the right end of the first screen as an example. In other implementation scenarios, the second screen can also be located at the left, bottom, or top end of the first screen. This is not limited here. For the different cases where the second screen is located at the left, bottom, or top end of the first screen, see (2) to (4) below. In case (1), the movement direction of the control application is generally horizontal from left to right.

[0170] (2) If the second screen is located at the left end of the first screen, set the second initial position of the top layer of the second screen to (W, 0, N). In case (2), the movement direction of the control application is generally horizontal from right to left.

[0171] (3) If the second screen is located below the first screen, set the second initial position of the top layer of the second screen to (0, -H, N). In case (3), the movement direction of the control application is generally vertical from top to bottom.

[0172] (4) If the second screen is located above the first screen, set the second initial position of the top layer of the second screen to (0, H, N). In case (4), the movement direction of the control application is generally vertical from bottom to top.

[0173] Of course, the movement direction can also be reversed, meaning you can move from the second screen back to the first screen. Therefore, the movement direction of the application is not limited to moving from the first screen to the second screen; depending on the specific needs, it can also be moving from the second screen to the first screen.

[0174] In summary, compared with related technologies, this solution has at least the following advantages:

[0175] First, the target application can be moved to other screens in a seamless display manner.

[0176] Second, the screen displays a live view of the target application during app movement, with no noticeable delay.

[0177] Third, the target application can be used normally on other screens after being moved, improving the multi-screen interaction effect.

[0178] Fourth, the target application only moves its application stack once during the entire screen-sliding process, which improves the initial speed of screen-sliding, reduces the CPU and memory resource consumption of the vehicle system, and enhances the user's screen-sliding operation experience.

[0179] In view of the methods described in the above embodiments, this application also provides an apparatus for applying screen-shifting display. Figure 6 This is a schematic diagram of a device for applying a screen-shifting display, provided as an embodiment of this application. Figure 6 As shown, the device for applying screen-shifting display includes:

[0180] The layer function activation module 601 is used to, upon receiving a move instruction to move a target application from a first screen to a second screen, mirror and render the first layer corresponding to the target application onto a first physical layer and a second physical layer respectively, and adjust the display priority of the layer corresponding to the first screen from the initial state to the target state; in the initial state, the display priority of the layer corresponding to the first screen is, from the top layer, the first layer and the second layer in sequence; in the target state, the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer and the second layer in sequence;

[0181] The layer moving module 602 is used to move the first physical layer from a first initial position to a first target position and the second physical layer from a second initial position to a second target position according to the moving direction information and moving distance information in the moving instruction; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the first physical layer and the second physical layer move in the same direction and move at the same distance.

[0182] Display module 603 is used to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen to the second screen on the first screen and the second screen.

[0183] In one alternative implementation, the device for applying screen-shifting display further includes: a stack information acquisition module and a stack information transfer module;

[0184] A stack information acquisition module is used to acquire the stack information of the target application; the stack information includes task information created in the target application.

[0185] The stack information transfer module is used to move the stack information to the top of the application stack of the second screen.

[0186] In one alternative implementation, the layer functionality startup module 601 includes:

[0187] A physical layer first moving unit is used to adjust the first physical layer from a preset initial position to the first initial position; the preset initial position is outside the first screen;

[0188] A snapshot loading unit is used to acquire a snapshot of the application running on the second layer, generate and load the intermediate insertion layer between the first physical layer and the first layer, and render and display the snapshot of the application of the second layer in the intermediate insertion layer.

[0189] In one alternative implementation, the device for applying the screen-shifting display further includes:

[0190] The virtual screen creation unit is used to create a first virtual screen corresponding to the first screen and a second virtual screen corresponding to the second screen.

[0191] The display control creation unit is used to create a first display control and set the first display control onto the first virtual screen, and to create a second display control and set the second display control onto the second virtual screen.

[0192] A layer binding unit is used to create the first physical layer and the second physical layer, bind the layer of the first display control to the first physical layer, and bind the layer of the second display control to the second physical layer;

[0193] Layer moving module 602 is specifically used for:

[0194] Based on the movement direction information and the movement distance information, the position of the first display control is adjusted, and based on the binding relationship between the layer of the first display control and the first physical layer, the position of the first display control is adjusted to move the first physical layer from the first initial position to the first target position; and based on the movement direction information and the movement distance information, the position of the second display control is adjusted, and based on the binding relationship between the layer of the second display control and the second physical layer, the position of the second display control is adjusted to move the second physical layer from the second initial position to the second target position.

[0195] In one alternative implementation, the layer functionality startup module 601 includes:

[0196] The basic information acquisition unit is used to determine the layer stack information of the first layer, the identification information of the first virtual screen, and the identification information of the second virtual screen;

[0197] The associated layer determination unit is used to determine all layers associated with the first layer based on the layer identifier of the first layer in the layer stack information through the layer display management service; the layer display management service is a service process running in the system layer of the vehicle terminal.

[0198] The rendering layer data acquisition unit is used to render all layers associated with the first layer to the first virtual screen according to the identification information of the first virtual screen through the layer display management service, to obtain first rendering layer data; and to render all layers associated with the first layer to the second virtual screen according to the identification information of the second virtual screen, to obtain second rendering layer data.

[0199] The composite layer data acquisition unit is used to perform mirror compositing processing on the first rendering layer data through the layer display management service to obtain the first composite layer data, and to perform mirror compositing processing on the second rendering layer data to obtain the second composite layer data;

[0200] The mirror effect generation unit is used to transfer the first composite layer data to the first physical layer and the second composite layer data to the second physical layer, so that both the first physical layer and the second physical layer present a mirror display effect consistent with the first layer.

[0201] In one alternative implementation, the device for applying the screen-shifting display further includes:

[0202] The data clearing unit is used to delete the snapshot of the application of the second layer and clear the first display control on the first virtual screen and the second display control on the second virtual screen.

[0203] In one alternative implementation, the device for applying the screen-shifting display further includes:

[0204] The second initial position determination unit is used to set the second initial position of the second physical layer according to the size of the second screen and the relative orientation of the first screen and the second screen.

[0205] This application also provides an in-vehicle system. Figure 7 This is a schematic diagram of the structure of a vehicle-mounted system provided in an embodiment of the application. Figure 7 As shown, the structure of the vehicle-mounted system includes: a controller, a first screen 11, and a second screen 12.

[0206] The controller, upon receiving a move instruction to move a target application from a first screen 11 to a second screen 12, mirrors and renders the first layer corresponding to the target application onto a first physical layer and a second physical layer, respectively, and adjusts the display priority of the layer corresponding to the first screen 11 from an initial state to a target state. In the initial state, the display priority of the layer corresponding to the first screen 11, starting from the top layer, is the first layer and the second layer in sequence. In the target state, the display priority of the layer corresponding to the first screen 11, starting from the top layer, is the first physical layer, the middle insert layer, the first layer, and the second layer in sequence. The middle insert layer displays a snapshot of the application in the second layer.

[0207] The controller is further configured to move the first physical layer from a first initial position to a first target position and move the second physical layer from a second initial position to a second target position according to the movement direction information and movement distance information in the movement instruction; the first initial position is the position of the top layer of the first screen 11 in the target state; the second initial position is located outside the second screen 12; the movement direction and movement distance of the first physical layer and the second physical layer are the same;

[0208] The controller is further configured to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen 11 to the second screen 12 on the first screen 11 and the second screen 12.

[0209] Based on the application-based screen-shifting display method and apparatus provided in the foregoing embodiments, this application also provides a computer-readable storage medium. This storage medium stores a program, which, when executed by a processor, implements some or all of the steps in the method for determining the changing patterns of traffic lights protected in the foregoing method embodiments of this application. The storage medium can be any medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0210] Based on the application screen-shifting display method, apparatus, and storage medium provided in the foregoing embodiments, this application provides a processor. The processor is used to run a program, wherein the program, when running, executes some or all of the steps in the application screen-shifting display method of the foregoing method embodiments.

[0211] Based on the storage medium and processor provided in the foregoing embodiments, this application also provides a device for applying a screen-shifting display. The device for determining the changing patterns of traffic lights includes: a memory, a processor, a communication bus, and a communication interface. The memory stores a program that can run on the processor, and when the program is executed, it implements some or all of the steps in the screen-shifting display method provided in the foregoing method embodiments of this application. The memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. In this device, the processor and memory transmit signaling, logical instructions, etc., through the communication bus. This device can communicate and interact with other devices through the communication interface.

[0212] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components indicated as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment solution according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0213] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for applying screen-shifting display, characterized in that, The method includes: Upon receiving a move instruction to move the target application from the first screen to the second screen, the first layer corresponding to the target application is mirrored and rendered onto the first physical layer and the second physical layer, respectively, and the display priority of the layer corresponding to the first screen is adjusted from the initial state to the target state. In the initial state, the display priority of the layer corresponding to the first screen is, in order from the top layer, the first layer and the second layer. In the target state, the display priority of the layer corresponding to the first screen is, in order from the top layer, the first physical layer, the middle inserted layer, the first layer, and the second layer. Based on the movement direction and movement distance information in the movement command, the first physical layer is moved from the first initial position to the first target position, and the second physical layer is moved from the second initial position to the second target position; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the first physical layer and the second physical layer move in the same direction and move at the same distance. When moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, the screen of the target application is displayed on the first screen and the second screen in combination, with the effect of gradually moving from the first screen to the second screen.

2. The method according to claim 1, characterized in that, After receiving the move instruction to move the target application from the first screen to the second screen, and before moving the first physical layer and the second physical layer, the method further includes: Obtain the stack information of the target application; the stack information includes task information created in the target application; After the target application has moved from the first screen to the second screen, the method further includes: Move the stack information to the top of the application stack of the second screen.

3. The method according to claim 1, characterized in that, The step of adjusting the display priority of the layer corresponding to the first screen from the initial state to the target state includes: Adjust the first physical layer from a preset initial position to the first initial position; the preset initial position is outside the first screen; A snapshot of the application running on the second layer is obtained, an intermediate insert layer is generated and loaded between the first physical layer and the first layer, and a snapshot of the application on the second layer is rendered and displayed in the intermediate insert layer.

4. The method according to claim 3, characterized in that, The method further includes: Create a first virtual screen corresponding to the first screen and a second virtual screen corresponding to the second screen; Create a first display control and set the first display control onto the first virtual screen; create a second display control and set the second display control onto the second virtual screen. Create the first physical layer and the second physical layer, bind the layer of the first display control to the first physical layer, and bind the layer of the second display control to the second physical layer; The step of moving the first physical layer from the first initial position to the first target position and moving the second physical layer from the second initial position to the second target position according to the movement direction information and movement distance information in the movement command specifically involves: Based on the movement direction information and the movement distance information, the position of the first display control is adjusted, and based on the binding relationship between the layer of the first display control and the first physical layer, the position of the first display control is adjusted to move the first physical layer from the first initial position to the first target position; and based on the movement direction information and the movement distance information, the position of the second display control is adjusted, and based on the binding relationship between the layer of the second display control and the second physical layer, the position of the second display control is adjusted to move the second physical layer from the second initial position to the second target position.

5. The method according to claim 4, characterized in that, The step of mirroring and rendering the first layer corresponding to the target application onto the first physical layer and the second physical layer respectively includes: Determine the layer stack information of the first layer, the identification information of the first virtual screen, and the identification information of the second virtual screen; The layer display management service determines all layers associated with the first layer based on the layer identifier of the first layer in the layer stack information; the layer display management service is a service process running at the system layer of the vehicle terminal. Through the layer display management service, based on the identification information of the first virtual screen, all layers associated with the first layer are rendered onto the first virtual screen to obtain first rendering layer data; and based on the identification information of the second virtual screen, all layers associated with the first layer are rendered onto the second virtual screen to obtain second rendering layer data; The layer display management service performs mirror compositing on the first rendering layer data to obtain the first composite layer data, and performs mirror compositing on the second rendering layer data to obtain the second composite layer data. The first composite layer data is transferred to the first physical layer, and the second composite layer data is transferred to the second physical layer, so that both the first physical layer and the second physical layer present a mirrored display effect consistent with the first layer.

6. The method according to claim 4, characterized in that, After the target application has moved from the first screen to the second screen, the method further includes: Delete the snapshot of the application of the second layer, and clear the first display control on the first virtual screen and the second display control on the second virtual screen.

7. The method according to claim 1, characterized in that, The method further includes: The second initial position of the second physical layer is set according to the size of the second screen and the relative orientation of the first screen and the second screen.

8. A mobile screen display device, characterized in that, The device includes: The layer function activation module is used to, upon receiving a move instruction to move a target application from a first screen to a second screen, mirror and render the first layer corresponding to the target application onto a first physical layer and a second physical layer, respectively, and adjust the display priority of the layer corresponding to the first screen from the initial state to the target state; in the initial state, the display priority of the layer corresponding to the first screen is, from the top layer, the first layer and the second layer in sequence; in the target state, the display priority of the layer corresponding to the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer and the second layer in sequence; The layer movement module is used to move the first physical layer from a first initial position to a first target position and the second physical layer from a second initial position to a second target position according to the movement direction information and movement distance information in the movement instruction; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; the first physical layer and the second physical layer move in the same direction and move at the same distance. The display module is used to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen to the second screen on the first screen and the second screen.

9. A vehicle-mounted system, characterized in that, Includes a controller, a first screen, and a second screen; The controller is configured to, upon receiving a move instruction to move the target application from the first screen to the second screen, mirror and render the first layer corresponding to the target application onto the first physical layer and the second physical layer respectively, and adjust the display priority of the layer corresponding to the first screen from the initial state to the target state. In the initial state, the layer display priority of the first screen is, from the top layer, the first layer and the second layer in sequence; in the target state, the layer display priority of the first screen is, from the top layer, the first physical layer, the middle inserted layer, the first layer and the second layer in sequence. The controller is further configured to move the first physical layer from a first initial position to a first target position and move the second physical layer from a second initial position to a second target position according to the movement direction information and movement distance information in the movement command; the first initial position is the position of the top layer of the first screen in the target state; the second initial position is located outside the second screen; The first physical layer and the second physical layer move in the same direction and move the same distance; The controller is further configured to, when moving the first physical layer and the second physical layer, based on the mirror relationship between the first physical layer and the second physical layer in terms of display content, combine and display the effect of the target application's screen gradually moving from the first screen to the second screen on the first screen and the second screen.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-7.