Interaction method, device and equipment for display interface

By switching between different display areas of the physical screen in the in-vehicle system and utilizing virtual screen binding technology and three-finger swipe gestures, the problem of inflexible operation for drivers and passengers is solved, improving user experience and safety.

CN122152190APending Publication Date: 2026-06-05PATEO CONNECT (NANJING) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PATEO CONNECT (NANJING) CO LTD
Filing Date
2024-12-03
Publication Date
2026-06-05

Smart Images

  • Figure CN122152190A_ABST
    Figure CN122152190A_ABST
Patent Text Reader

Abstract

The application provides an interaction method, device and equipment of a display interface, wherein the interaction method of the display interface comprises: in response to an opening event of a target application, creating a virtual screen displayed in an initial display area and displaying the target application in the virtual screen; in response to receiving a first operation instruction, hiding the virtual screen from the initial display area and displaying the target application in the virtual screen in a target display area again; the target display area is determined by the first operation instruction; wherein the initial display area and the target display area are drawing surfaces in different positions of a physical screen. Through the above scheme, the target application is switched and displayed between different display areas of the physical screen, thereby improving the flexibility of the physical screen display, meeting the user demand and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of interface display technology, and in particular to an interactive method, apparatus, and device for display interfaces. Background Technology

[0002] In existing technologies, in-vehicle systems typically use the full-screen area of ​​the screen to display applications. The central control screen is usually positioned between the driver and passenger seats, and the application is displayed on the screen in full screen. The driver and passenger can only operate the same application on the screen together. When the driver and passenger have different operating needs, there is a lack of flexibility, which leads to a poor experience for both the driver and passengers when using the in-vehicle system. It is easy to distract the driver and poses safety hazards. Summary of the Invention

[0003] One objective of this application is to provide an interactive method for a display interface. Its advantage lies in creating a virtual screen displayed in an initial display area in response to an open event of a target application, and displaying the target application in the virtual screen. In response to receiving a first operation command, the virtual screen is hidden from the initial display area, and the target application is displayed again in a target display area. The target display area is determined by the first operation command. The initial display area and the target display area are drawing surfaces located at different positions on the physical screen. This allows for switching the display of the target application between different display areas of the physical screen, thereby improving the flexibility of the physical screen display and enhancing the user experience while meeting user needs.

[0004] Another objective of this application is to provide an interactive method for a display interface, the advantage of which lies in: launching the target application; creating a virtual screen corresponding to the target application, the virtual screen being used to capture the drawing content of the target application; establishing a binding relationship between the virtual screen and an initial display area in the physical screen; and displaying the drawing content captured by the virtual screen through the initial display area. The drawing content of the target application captured by the virtual screen is then rendered onto the surface texture of a view component corresponding to the initial display area, thereby establishing the binding relationship between the virtual screen and the initial display area while simultaneously displaying the drawing content of the target application in the initial display area.

[0005] Another objective of this application is to provide an interactive method for a display interface. Its advantage lies in: debinding the virtual screen from the initial display area; placing the application state data of the target application in the stack corresponding to the virtual screen; establishing a binding relationship between the virtual screen and the target display area; retrieving the application state data of the target application from the stack corresponding to the virtual screen; and continuing to display the drawn content captured by the virtual screen through the target display area. By customizing the mechanism of not destroying the virtual screen after cancellation, when displaying in the target display area, the application state data of the target application captured by the virtual screen is rendered on the surface texture of the view component. This establishes the binding relationship between the virtual screen and the target display area while simultaneously displaying the application state data of the target application in the target display area. This achieves dynamic switching of the target application's display in different areas of the physical screen, improving display flexibility and user experience.

[0006] Another objective of this application is to provide an interactive method for a display interface, the advantage of which is that, in response to receiving a sliding operation command, the sliding parameters of the sliding operation command are determined; based on the sliding parameters, the target display area is determined; wherein, the sliding parameters include at least one of the following: sliding direction, sliding speed, and sliding distance; the sliding direction is used to determine the relative direction between the target display area and the initial display area, the sliding distance is used to determine the relative distance between the target display area and the initial display area; the sliding speed is used to determine the response speed for re-displaying in the target display area. The position of the target display area, which has the same size and shape as the initial display area, is determined based on the sliding direction, sliding speed, and sliding distance of the sliding operation command.

[0007] Another objective of this application is to provide an interactive method for displaying an interface, the advantage of which is that, in response to receiving a second operation instruction, the virtual screen is hidden from the initial display area; and in response to an opening event for the target application, the target application in the virtual screen is displayed in the initial display area. This achieves the goal of saving the application state data at the time of exiting the background while exiting the target application, and when the target application is reopened, rendering is performed using the application state data at the time of exit to display the target application.

[0008] Another objective of this application is to provide an interactive method for a display interface, the advantage of which lies in detecting the input focus in the virtual screen; and creating a binding relationship between the input method and the virtual screen when the input focus exists. This allows the input method to switch between different screens, thereby improving the user experience.

[0009] Another objective of this application is to provide an interactive method for a display interface, the advantage of which is that it manages the first transaction that affects the display based on a first type of lock; and manages the second transaction that does not affect the display based on a second type of lock; the first type and the second type are different. By introducing multiple types of locks through the correlation between transactions and the display, the holding time and number of holdings of the first type of lock management are reduced, thereby improving the flow of the display screen and thus improving the user experience.

[0010] Another objective of this application is to provide an interactive method for a display interface, the advantage of which lies in creating an initial display area and a target display area within the physical screen of the vehicle; wherein the initial display area and the target display area correspond to different driver's seats. By creating virtual screens in the driver's and passenger's areas, independent display of the driver's and passenger's areas is achieved, providing display flexibility. By introducing a three-finger swipe gesture, dynamic switching between the application and the driver's and passenger's display areas is realized, meeting the needs of users in different usage scenarios and thus improving the user experience.

[0011] Another objective of this application is to provide an interactive device for a display interface. Its advantage lies in that, through a creation module, a virtual screen is created in response to an opening event of a target application, displaying the target application within an initial display area; a display module, in response to receiving a first operation command, hides the virtual screen from the initial display area and re-displays the target application from the virtual screen in a target display area; the target display area is determined by the first operation command; wherein the initial display area and the target display area are drawing surfaces located at different positions on the physical screen. This enables the switching of the target application's display between different display areas of the physical screen, thereby improving the flexibility of the physical screen display and enhancing the user experience while meeting user needs.

[0012] Another object of this application is to provide a computer device including a memory and a processor, the memory storing a computer program executable on the processor, the processor executing the program to implement some or all of the steps in the above-described method.

[0013] Another object of this application is to provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the above-described method.

[0014] To achieve the aforementioned objective, the technical solution of this application embodiment is implemented as follows:

[0015] On one hand, embodiments of this application provide an interactive method for displaying an interface, including:

[0016] In response to the target application's open event, a virtual screen is created to be displayed in the initial display area, and the target application is displayed in the virtual screen;

[0017] In response to receiving a first operation command, the virtual screen is hidden from the initial display area, and the target application in the virtual screen is displayed again in the target display area; the target display area is determined by the first operation command.

[0018] The initial display area and the target display area are drawing surfaces located at different positions on the physical screen.

[0019] On the other hand, embodiments of this application provide an interactive device for displaying an interface, including:

[0020] A creation module is used to create a virtual screen in the initial display area in response to the opening event of the target application, and to display the target application in the virtual screen;

[0021] The display module is configured to, in response to receiving a first operation instruction, hide the virtual screen from the initial display area and then re-display the target application in the virtual screen in the target display area; the target display area is determined by the first operation instruction.

[0022] The initial display area and the target display area are drawing surfaces located at different positions on the physical screen.

[0023] On the other hand, embodiments of this application provide a computer device including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the program to implement the steps in the above-described method.

[0024] On the other hand, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method.

[0025] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0027] Figure 1 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0028] Figure 2A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0029] Figure 3 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0030] Figure 4 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0031] Figure 5 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0032] Figure 6 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0033] Figure 7 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0034] Figure 8 A schematic diagram illustrating the implementation process of an interactive method for a display interface provided in an embodiment of this application;

[0035] Figure 9 A schematic diagram illustrating the composition of an interactive device for displaying an interface, provided in an embodiment of this application;

[0036] Figure 10 This is a schematic diagram of the hardware entity of a computer device provided in an embodiment of this application. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0038] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. The terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. The terminology used herein is for descriptive purposes only and is not intended to be limiting of this application.

[0040] In some embodiments, in-vehicle systems typically use the full-screen area of ​​the screen to display applications. The central control screen is usually positioned between the driver and passenger seats, and the applications are displayed on the screen in full screen. The driver and passenger can only operate the same application on the screen together. This lack of flexibility when the driver and passenger have different operating needs results in a poor experience for both the driver and passenger when using the in-vehicle system.

[0041] This application provides an interactive method for a display interface, which can be executed by a processor of a computer device. The computer device can refer to a server, laptop computer, tablet computer, desktop computer, smart TV, set-top box, mobile device (e.g., mobile phone, portable video player, personal digital assistant, dedicated messaging device, portable gaming device), vehicle, or other device with data processing capabilities.

[0042] In some embodiments, the interactive method for a display interface provided in this application can be applied to a vehicle. The vehicle interior is equipped with a physical display screen, which can be an integrated display screen located between the driver's and passenger's driving areas, or separate display screens located in the driver's and passenger's driving areas. The driver's and passenger's display screens are controlled by the same vehicle infotainment system. Specifically, in response to a user opening an application on the display area corresponding to the driver's driving area, a virtual screen is created in that area, and the application is displayed on the virtual screen. In response to a user's operation command, the application on the virtual screen is displayed on the display area corresponding to the passenger's driving area. This allows for dynamic switching of the application between the driver's and passenger's driving areas to meet user needs and improve the user experience.

[0043] Figure 1 This is a schematic diagram illustrating the implementation flow of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. Figure 1 As shown, the method includes the following steps S101 to S102, combining... Figure 1 The steps shown are explained.

[0044] Step S101: In response to the opening event of the target application, create a virtual screen to be displayed in the initial display area, and display the target application in the virtual screen.

[0045] In some embodiments, the target application may be an entertainment application, office application, driving assistance application, etc., installed on a computer device.

[0046] In some embodiments, the opening event of the target application can be an opening command input by the user through mouse, keyboard, gesture, touch, voice, or other means.

[0047] In some embodiments, the initial display area can be a display area of ​​the physical screen of a computer device at different locations. For example, the initial display area can be a display area on the left side, right side, top, or bottom of the physical screen.

[0048] For example, in response to a user's instruction to open a driving assistance application via touch operation in the left display area of ​​the physical screen, the left display area of ​​the physical screen is determined as the initial display area, and a virtual screen is created in the initial display area to display the target application on the virtual screen.

[0049] In some embodiments, Virtual Display is a class in the Android system that allows developers to create a virtual display without requiring an actual display device for rendering content and performing specific operations. This allows application content to be rendered onto the virtual display without relying on a physical display device; specific operations can be performed on the virtual display, such as screen recording and screenshots; it can be used in multi-screen applications to display content on multiple display devices; and it can be used for content testing and adaptation on devices with different resolutions and densities. In this application's embodiments, the focus is primarily on rendering application content onto a virtual display.

[0050] In some embodiments, creating a virtual screen displayed in an initial display area and displaying the target application in the virtual screen includes: obtaining a corresponding system service and setting parameters of the virtual screen; creating a corresponding virtual screen based on the parameters; and rendering data of the target application in the virtual screen to display the target application on the virtual screen.

[0051] In some embodiments, obtaining the corresponding system services includes: obtaining instances of the Android system's Display Device Manager, Media Projection Manager, and Media Projection instance; wherein, the Display Device Manager is a system service interface provided by the Android system for managing and querying the display attributes of the device. The Display Device Manager allows obtaining display information of the display device, including resolution, refresh rate, status, etc., and listening for display changes to make corresponding updates; the Media Projection Manager is responsible for managing the creation and management of media projection-related operations. The interface provided by the Media Projection Manager allows target applications to request user authorization to capture screen content and / or record system audio; based on permissions, the target application can use media projection to create a virtual screen.

[0052] In some embodiments, setting parameters for the virtual screen includes: creating a display metric instance; obtaining the display metric of the display device through the aforementioned display device manager to obtain information such as the screen's width, height, and density; setting parameters for the virtual screen based on the screen's width, height, and density, including the virtual screen's width, typically in pixels; the virtual screen's height, in pixels; the virtual screen's pixel density, typically using the same density as the physical screen; and the virtual screen's name, etc.

[0053] In some embodiments, creating a virtual screen includes: creating a virtual screen using the createVirtualDisplay method of a media projection instance based on the name, width, height, density, and rendering target surface of the virtual screen as set above; wherein the rendering target Surface can be a surface view or a surface texture, used to receive and display the content of the virtual screen.

[0054] In some embodiments, after the virtual screen is created, the data loaded by the target application is rendered in the virtual screen to display the target application in the virtual screen.

[0055] Step S102: In response to receiving the first operation instruction, the virtual screen is hidden from the initial display area, and the target application in the virtual screen is displayed again in the target display area.

[0056] The target display area is determined by the first operation instruction.

[0057] The initial display area and the target display area are drawing surfaces located at different positions on the physical screen.

[0058] In some embodiments, the first operation instruction may be an operation instruction input by the user through input methods such as mouse, keyboard, touch, gesture, or voice.

[0059] In some embodiments, the target display area is a display area at different locations on the physical screen of a computer device. For example, the target display area may be a display area on the left side, right side, top, bottom, or middle of the physical screen. The initial display area and the target display area are located on different drawing surfaces on the physical screen; that is, the initial display area and the target display area are located at different positions on the physical screen. For example, if the initial display area is located on the drawing surface corresponding to the left side of the physical screen, then the target display area may be the drawing surface of the middle, right, or bottom display areas of the physical screen.

[0060] In some embodiments, the target display area is determined based on a first operation instruction. It can be understood that the target display area is determined based on the way the user inputs the first operation instruction and the first operation instruction itself. For example, if the first operation instruction is for the user to drag the target application in the virtual window with the mouse, the target display area is determined based on the direction and distance of the drag. If the first operation instruction is for the user to slide the target application in the virtual window with their finger, the target display area is determined based on the sliding direction and speed.

[0061] For example, the first operation instruction can be an operation instruction input by mouse. For instance, the user drags a virtual window on the drawing surface of the display area on the left side of the physical screen with the mouse. During the dragging process, the virtual window of the target application is hidden. When dragged to the drawing surface of the display area on the right side of the physical screen, the target application in the virtual window is displayed on the drawing surface of the display area on the right side.

[0062] For example, the first operation instruction can also be an operation instruction input by the user via voice. For instance, after the user inputs the voice data "the target application to be displayed in the left area will be displayed in the right area", the virtual window of the drawing surface of the left display area of ​​the physical screen will be hidden first, and then the target application in the virtual window will be displayed on the drawing surface of the right display area of ​​the physical screen.

[0063] For example, the first operation instruction can also be an operation instruction input by the user via touch. For instance, the user selects the target application in the virtual window with their finger and performs a sliding operation. During the user's sliding, the virtual window on the drawing surface of the left display area of ​​the physical screen is hidden. The target display area is determined based on the direction and speed of the user's sliding, and the target application in the virtual window is displayed in the target display area.

[0064] In this application, in response to the launch of the target application, a virtual screen is created in the initial display area of ​​the physical screen to display the target application on the virtual screen; based on the user's first operation command, the virtual screen is de-displayed in the initial display area, and the target application in the virtual screen is displayed in the target display area; thus, the target application can be switched between different display areas of the physical screen, thereby improving the flexibility of the physical screen display, meeting user needs and improving user experience.

[0065] Figure 2 This is a schematic diagram illustrating the implementation flow of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. Based on Figure 1 The above; Figure 1 Step S101 can be updated to steps S201 to S203, combining Figure 2 The steps shown are explained.

[0066] Step S201: Start the target application.

[0067] In some embodiments, launching the target application can be a user's open command input via mouse, keyboard, gesture, touch, voice, or other means.

[0068] For example, a user can launch a navigation application by clicking the navigation application icon displayed on the drawing surface of the physical screen with a mouse; or a user can launch a navigation application by inputting the command "open navigation application" via voice control.

[0069] Step S202: Create a virtual screen corresponding to the target application.

[0070] The virtual screen is used to capture the drawing content of the target application.

[0071] In some embodiments, it is first necessary to determine the region of the virtual screen corresponding to the target application, including: obtaining the source of the instruction to launch the target application, and determining the region of the virtual screen corresponding to the target application based on the source of the instruction.

[0072] For example, if the launch command of the target application is based on touch input, the area for creating the virtual screen corresponding to the target application is determined based on the touch position on the physical screen. For instance, if the user launches the target application by touching the left side of the physical screen, the left side of the physical screen is determined as the initial display area for creating the virtual screen corresponding to the target application.

[0073] For example, if a user inputs a launch command for a target application via voice, the area for creating the virtual screen corresponding to the target application is determined based on the location of the voice input. For instance, if a user inputs the command "Open navigation application" via voice in the right area of ​​the physical screen, the right area of ​​the physical screen is determined as the initial display area for creating the virtual screen corresponding to the target application.

[0074] In some embodiments, creating a virtual screen corresponding to the target application includes: obtaining a system service corresponding to the creation of the virtual screen; setting parameters of the virtual screen based on the system service; creating a corresponding virtual screen based on the set parameters; and rendering the data of the target application in the virtual screen. It can be understood that this involves obtaining a display device manager instance, a media projection manager instance, and a media projection instance; obtaining display metrics of the display device through the display device manager to obtain the screen's width, height, and density; setting the width, height, and density of the virtual screen based on the screen's width, height, and density; creating the virtual screen based on the width, height, and density of the virtual screen and the rendering surface, using a method for creating a virtual display based on the media projection instance; and obtaining the data loaded by the target application and rendering it in the rendering surface to display the target application in the virtual screen.

[0075] Step S203: Establish a binding relationship between the virtual screen and the initial display area in the physical screen, and display the drawing content captured by the virtual screen through the initial display area.

[0076] In some embodiments, after creating the virtual screen in the initial display area, a view component associated with the initial display area is created and configured; and the surface texture of the view component is obtained to set the surface texture of the view component as the rendering object of the virtual screen, thereby establishing a binding relationship between the virtual screen and the initial display interface; it can be understood that the drawing content of the target object captured by the virtual screen is drawn on the surface texture of the view component to establish a binding relationship between the virtual screen and the initial display interface.

[0077] The view component refers to a specific area that occupies and displays content in the display interface. The initial display area corresponding to the display interface of the physical screen includes multiple view components, thereby rendering the drawing content of the target application captured by the virtual screen onto the surface texture of its corresponding multiple view components. This establishes a binding relationship between the virtual screen and the initial display area, while displaying the drawing content captured by the virtual screen of the target application in the initial display area.

[0078] In this embodiment of the application, the position of the initial display area in the physical screen is determined by launching the startup command of the target application, a virtual screen is created in the initial display area, and the drawing content of the target application captured by the virtual screen is rendered on the surface texture of the view component corresponding to the initial display area, so as to establish the binding relationship between the virtual screen and the initial display area, and display the drawing content of the target application in the initial display area.

[0079] Figure 3 This is a schematic diagram illustrating the implementation flow of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. Based on Figure 1 , Figure 1 S102 in the middle can be updated to steps S301 to S304, which will combine Figure 3 The steps shown are explained.

[0080] Step S301: Release the binding relationship between the virtual screen and the initial display area.

[0081] In some embodiments, according to the process of establishing the binding relationship between the virtual screen and the initial display area described above, the rendering of the surface texture of the view component corresponding to the target application captured by the virtual screen is canceled in the initial display area, thereby releasing the binding relationship between the virtual screen and the initial display area and canceling the display of the target application captured by the virtual screen in the initial display area.

[0082] In some embodiments, since the virtual screen needs to be destroyed when it is canceled from display or left the screen, this application modifies the mechanism so that the virtual screen is not destroyed when it is canceled from display or left the screen.

[0083] Step S302: The application state data of the target application is placed in the stack corresponding to the virtual screen.

[0084] In some embodiments, a stack data structure is first defined to store data related to the virtual screen; secondly, the application state data of the target application needs to be obtained in real time. It can be understood that the screen content is captured based on the Media Projection Application Programming Interface (API) to obtain the application state of the target application; or the application state data of the target application can be obtained directly by accessing the internal data of the target application; finally, the obtained application state data of the target application is placed in the stack data structure.

[0085] Since the application state data of the target application changes in real time, it is necessary to keep the data placed in the stack data structure synchronized with the application state data of the target application captured by the virtual screen.

[0086] Step S303: Establish the binding relationship between the virtual screen and the target display area.

[0087] In some embodiments, after determining the target display area based on user instructions, a view component associated with the target display area is created and configured; and the surface texture of the view component is obtained to set the surface texture of the view component as the rendering object of the virtual screen, thereby establishing a binding relationship between the virtual screen and the target display interface; it can be understood that the application state data of the target object captured by the virtual screen is rendered on the surface texture of the view component to establish a binding relationship between the virtual screen and the initial display interface.

[0088] Step S304: Retrieve the application state data of the target application from the stack corresponding to the virtual screen, and continue to display the drawing content captured by the virtual screen through the target display area.

[0089] In some embodiments, after establishing the binding relationship between the virtual window and the target display area, the application state data of the target application is extracted from the stack data structure that stores the application state data of the target application captured by the virtual screen.

[0090] The target display area includes multiple view components, thereby extracting the application state data of the target application and rendering it on the surface texture of its corresponding multiple view components. This establishes a binding relationship between the virtual screen and the initial display area, while simultaneously displaying the extracted application state data of the target application in the initial display area.

[0091] In this embodiment, by customizing the mechanism that the virtual screen is not destroyed after being canceled from display, when the target display area is displayed, the application state data of the target application captured by the virtual screen is rendered on the surface texture of the view component to establish a binding relationship between the virtual screen and the target display area. At the same time, the application state data of the target application is displayed in the target display area, thereby realizing the dynamic switching of the target application in different areas of the physical screen, improving the display flexibility and user experience.

[0092] Figure 4 This is a schematic flowchart illustrating the implementation of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by a processor of a computer device. The first operation instruction includes a sliding operation instruction; the method includes steps S401 and S402, combining... Figure 4 The steps shown are explained.

[0093] Step S401: In response to receiving the sliding operation command, determine the sliding parameters of the sliding operation command.

[0094] The sliding parameters include at least one of the following: sliding direction, sliding speed, and sliding distance; the sliding direction is used to determine the relative direction between the target display area and the initial display area, the sliding distance is used to determine the relative distance between the target display area and the initial display area, and the sliding speed is used to determine the response speed for re-displaying in the target display area.

[0095] In some embodiments, the sliding operation command may be a one-finger sliding operation command, a two-finger sliding operation command, a three-finger sliding operation command, etc., and this application does not limit it.

[0096] In some embodiments, the first position where the finger first touches the physical screen when sliding is obtained, a Cartesian coordinate system is established with the first position as the center, the coordinates of the second position where the finger leaves the physical screen when sliding are obtained, and the sliding direction, sliding speed and sliding distance of the sliding command are determined based on the first position and the second position.

[0097] The method of determining the sliding direction of the sliding command based on the first position and the second position includes: when the horizontal coordinate of the second position is greater than zero, determining the sliding direction of the sliding command as from left to right; and when the horizontal coordinate of the second position is less than zero, determining the sliding direction of the sliding command as from right to left.

[0098] The process of determining the sliding distance of the sliding command based on the first position and the second position includes: determining the distance between the coordinates of the first position and the second position as the sliding distance; and the process of determining the sliding speed of the sliding command based on the first position and the second position includes: determining the sliding speed of the sliding command based on the sliding distance and the sliding time.

[0099] Step S402: Determine the target display area based on the sliding parameters.

[0100] In some embodiments, the sliding direction, sliding speed, and sliding distance of the center point of the initial display area are determined based on the sliding direction, sliding speed, sliding distance, and a preset sliding ratio, so as to determine the final sliding position of the center point on the physical screen. Based on the size and shape of the initial display area and the final sliding position of the center point, the target sliding area is determined.

[0101] For example, the finger slides from left to right at a speed of 5 meters per second and a distance of 10 centimeters, with a sliding ratio of 1.5. The sliding direction, speed, and distance of the center point of the initial display area are from left to right, with a distance of 6.5 meters per second and a distance of 15 centimeters, respectively. This determines the final sliding position of the center point. Based on the final sliding position of the center point and the size and shape of the initial display area, the position, size, and shape of the target display area are determined.

[0102] In this embodiment of the application, by determining the sliding direction, sliding speed, and sliding distance of the sliding operation command, the position of the target display area with the same size and shape as the initial display area is determined based on the sliding direction, sliding speed, and sliding distance of the sliding operation command.

[0103] Figure 5 This is a schematic flowchart illustrating the implementation of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. The method includes steps S501 and S502, combining... Figure 5 The steps shown are explained.

[0104] Step S501: In response to receiving the second operation instruction, the virtual screen is hidden from the initial display area.

[0105] In some embodiments, the second operation instruction may be an operation instruction input by the user through input methods such as mouse, keyboard, touch, gesture, or voice; for example, if the second operation instruction is based on touch operation input, the second operation instruction may be to swipe down to exit the target application.

[0106] In some embodiments, a touch listener corresponding to the second operation instruction needs to be set in the root view of the physical screen window, and a callback needs to be registered in the physical screen window. When the touch listener detects that the second operation instruction event has occurred in the physical screen window, the second operation instruction event is sent back to the target application itself. The target application responds to the second operation instruction event and exits to the background.

[0107] Specifically, when the target application exits the background, the virtual window captures the application state data at the time of exit and stores it in the corresponding stack data structure.

[0108] Step S502: In response to the open event for the target application, display the target application in the virtual screen in the initial display area.

[0109] In some embodiments, the opening event of the target application can be an opening command input by the user through mouse, keyboard, gesture, touch, voice, or other means.

[0110] In some embodiments, in response to the opening event of the target application, the application state data when the target application exits is captured by a virtual window stored in the corresponding stack data structure and rendered in the surface texture rendering of the view component in the initial display area so as to display the application state data when the target application exits in the initial display area.

[0111] In this embodiment of the application, the target application is exited from the background by the second operation instruction, and the application state data at the time of exit is saved. When the target application is opened again, the application state data at the time of exit is used for rendering to display the target application.

[0112] Figure 6 This is a schematic flowchart illustrating the implementation of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. The method includes steps S601 and S602, combining... Figure 6 The steps shown are explained.

[0113] Step S601: Monitor the input focus in the virtual screen.

[0114] In some embodiments, input focus refers to a specific area or element on a virtual screen that the user interacts with. For example, when a user clicks on a text editing box on a virtual screen, that text editing box gains input focus, and the user can enter text within it.

[0115] In some embodiments, monitoring input focus in the virtual screen typically involves tracking user interactions, such as mouse clicks, keyboard input, touch input, voice input, etc., to determine which element or area is currently active.

[0116] In some embodiments, the active window, the control with focus, etc. in the virtual screen can be queried based on the application programming interface provided by the system or the target application, thereby realizing the monitoring of input focus in the virtual screen.

[0117] In some embodiments, changes in input focus can be indirectly determined by monitoring changes in the height of windows in a virtual screen. For example, when the soft keyboard pops up, the window height changes; by listening to this change, it is possible to determine which input field is currently receiving input, thereby detecting the input focus.

[0118] Step S602: If there is an input focus in the virtual screen, create a binding relationship between the input method and the virtual screen.

[0119] In some embodiments, when an input focus is detected in the virtual screen, the system or target application needs to determine whether an input method needs to be activated. Whether or not an input method needs to be activated typically depends on the type of input focus; for example, a text editing box usually requires an input method, while a button or image does not.

[0120] In some embodiments, if it is necessary to activate the input method, it is also necessary to activate the type of input method required by the user based on the user's instructions, including Wubi input method, Pinyin input method, handwriting input method, voice input, etc.

[0121] In some embodiments, creating a binding relationship between the input method and the virtual screen represents associating the input method with an element or specific area in the virtual screen that has input focus, so that the input method can correctly receive and process the user's input when the user enters text in that element or specific area.

[0122] In some embodiments, if an input focus is detected and the object with the input focus needs to activate the input method, a binding relationship is established between the corresponding input method and the virtual screen.

[0123] In this embodiment, by monitoring whether there is an input focus on the virtual screen, and when there is an input focus and the input method needs to be activated, a binding relationship is established between the input method and the virtual screen, thereby enabling the input method to switch between different screens and improving the user experience.

[0124] Figure 7 This is a schematic diagram illustrating the implementation flow of an interactive method for a display interface provided in an embodiment of this application. This method can be executed by the processor of a computer device. The method may further include steps S701 and S702, combining... Figure 7 The steps shown are explained.

[0125] Step S701: The first transaction is displayed based on the lock management effect of the first type.

[0126] In some embodiments, the first transaction represents a transaction strongly related to display, such as a data query transaction, in which a data retrieval operation is performed to obtain information from the database that needs to be displayed to the user; a data update transaction, etc.

[0127] In some embodiments, the first type of lock management is used to control global access to the display device, preventing data races or conflicts when updating screen content or making layout adjustments. Because of its wide-ranging impact, the time the lock is held should be minimized to avoid blocking other threads or processes.

[0128] In some embodiments, the first type of lock has higher exclusivity or possessiveness, providing strict control over the data involved during transaction processing. When the first transaction holds this type of lock, other transactions will not be able to access or modify the locked data until the first transaction releases the lock. This type of lock may cause other transactions to wait or be blocked, thereby affecting the system's concurrency performance.

[0129] Step S702: Lock management based on the second type does not affect the displayed second transaction; the first type is different from the second type.

[0130] In some embodiments, the second transaction represents a transaction unrelated to the display, such as data backup, data migration, etc.

[0131] In some embodiments, the second type of lock management lock typically has lower exclusivity or sharing, allowing multiple transactions to access or read locked data simultaneously without interfering with each other. Therefore, when a second transaction holds this type of lock, it usually does not significantly affect the access of other transactions.

[0132] In this embodiment, multiple types of locks are introduced by relating transactions to display, thereby reducing the holding time and number of holdings of the first type of lock, thus improving the flow of the display screen and enhancing the user experience.

[0133] In some embodiments, the above method can be applied to vehicles, and can also be implemented through the following implementation methods:

[0134] The initial display area and the target display area are created in the physical screen of the vehicle.

[0135] The initial display area and the target display area correspond to different driver's seats.

[0136] In some embodiments, the initial display area may be a display area corresponding to the driver's side area or the passenger side area of ​​the vehicle; the target display area may be a display area corresponding to the driver's side area or the passenger side area of ​​the vehicle. In the case that the initial display area is a display area corresponding to the driver's side area of ​​the vehicle, the target display area is a display area corresponding to the passenger side area of ​​the vehicle. Conversely, in the case that the initial display area is a display area corresponding to the passenger side area of ​​the vehicle, the target display area is a display area corresponding to the driver's side area of ​​the vehicle.

[0137] For example, in response to a user opening a navigation application in the display area corresponding to the driver's side via touch operation, a virtual screen is created in the display area corresponding to the driver's side, and the navigation application is displayed in the virtual screen; in response to a user sliding the navigation application displayed in the virtual screen to the display area corresponding to the passenger side via a three-finger swipe gesture, the virtual screen is bound to the display area corresponding to the passenger side, so that the navigation application is displayed in the display area corresponding to the passenger side via the virtual screen.

[0138] In this embodiment, by creating virtual screens in the driver's and passenger's areas, independent display of the driver's and passenger's areas is achieved, providing display flexibility. By introducing a three-finger swipe gesture, dynamic switching of the application between the driver's and passenger's display areas is realized, meeting the needs of users in different usage scenarios and thus improving the user experience.

[0139] The following describes an exemplary application of the interactive method for displaying an interface provided in this application in a real-world scenario.

[0140] In existing technologies, in-vehicle systems typically use the full-screen area of ​​the screen to display applications, lacking flexibility. A common scenario is a central control screen located between the driver and front passenger seats, displaying applications in full screen, meaning the driver and front passenger can only operate the same application on the screen simultaneously. This results in a poor user experience for both drivers and passengers, especially when they have different operational needs. Furthermore, existing in-vehicle systems largely rely on physical buttons or touch controls, which are complex to operate, easily distract the driver, and pose safety hazards.

[0141] Among these issues, the screen can only display one application or the display area of ​​an application is fixed, which lacks flexibility and prevents users from adjusting the application's display position as needed. Users need to perform complex operations to switch applications while driving, which increases the difficulty and risk of operation. The existing interaction methods are relatively simple and cannot provide an intuitive and convenient operating experience.

[0142] To address the aforementioned technical issues, this application provides a solution that allows different applications to be displayed separately in the driver's seat and passenger seat areas, and allows for flexible movement of the application display area between the driver's seat and passenger seat areas. At the same time, it provides users with a better operating experience and a greater sense of security through simple gesture operations.

[0143] In some embodiments, when a driver uses an in-vehicle navigation application while driving, the navigation interface can be displayed on the navigation screen. When the driver needs to concentrate on driving, the navigation interface can be switched to the passenger area using a three-finger swipe gesture, allowing the passenger in the passenger area to view and operate the navigation.

[0144] In some embodiments, during long-distance driving scenarios, passengers in the front passenger area may need to operate the entertainment system. The solution provided in this application allows the entertainment application to be slid from the front passenger area to the driver's area, enabling the driver to control and adjust the entertainment content while resting.

[0145] In some embodiments, when the driver needs to view important information displayed in the passenger area, the passenger in the passenger area can use a three-finger swipe gesture to slide the application to be viewed to the driver area, so that the driver can view the information in the application without taking his eyes off the screen, thereby improving the user experience and driving safety.

[0146] Figure 8 This is a schematic diagram illustrating the implementation flow of an interactive method for displaying an interface, provided in an embodiment of this application. This process can be implemented using a computer device's processor. The method includes steps S801 and S802, combining... Figure 8 The steps shown are explained.

[0147] Step S801: In response to the launch of the target application, display the target application in the initial display area of ​​the physical screen.

[0148] In some embodiments, in response to the launch of the target application, the location of the initial display area is determined, a virtual screen is created in the initial display area, and the target application is displayed on the virtual screen.

[0149] In some embodiments, in response to launching a target application in an initial display area, a virtual screen is created in the initial display area, and a binding relationship is established between the virtual screen and the initial display area.

[0150] In some embodiments, the location of the initial display area is determined based on the source of the launch command of the target application. For example, if the launch command of the target application is issued by the user in the passenger seat, the passenger seat area is determined as the initial display area.

[0151] Step S802: Based on the three-finger swipe command for the target application, display the target application on a virtual screen in the target display area.

[0152] In some embodiments, the system has customized a global three-finger gesture, which can determine whether the driver's application flies to the passenger's side or the passenger's application flies to the driver's side based on the direction of the user's three-finger swipe, and also solves the conflict problem between the three-finger gesture and the application.

[0153] For example, if the direction of the three-finger swipe command is from the driver's side area to the passenger side area, then the target application in the driver's side area will be displayed in the passenger side area.

[0154] In some embodiments, in response to a three-finger swipe command for a target application in a virtual screen of an initial display area, the binding relationship between the virtual screen and the initial display area is released, and a binding relationship between the virtual screen and the target display area is established. The virtual screen is then displayed in the target display area, and the target application is displayed in the virtual screen.

[0155] In some embodiments, since the native Android interface for exiting a task to the background can only be triggered in the activity class, the outside world cannot obtain an instance of the corresponding activity class. To address this, this application customizes the swipe gesture interface in the root view of the activity class and registers a callback in the window. When a swipe event occurs in the virtual screen, the swipe event is sent back to the application, so that the application can be exited to the background through the customized swipe gesture interface added to the root view of the activity class.

[0156] In some embodiments, this application achieves input method switching by acquiring input focus in the initial display interface and the target display interface to bind the input user to different display interfaces.

[0157] In some embodiments, a large lock on the display interface is typically used to control global access to the display device, including ensuring that no data races or conflicts occur when updating screen content or making layout adjustments. Holding the large lock on the display interface for an extended period can block other threads or processes that need to access the display device, thus affecting the overall smoothness of the system. To address this issue, embodiments of this application use a large lock on the display interface for events highly relevant to the display, and different locks for events in other scenarios such as data structure management, thereby reducing the time and frequency of holding the large lock on the display interface and improving the smoothness of the display.

[0158] In some embodiments, the lifecycle of the application in the virtual screen does not change after the virtual screen disappears, that is, after leaving the physical display screen. In this regard, this application extends the lifecycle of the native task stack and activity class so that after the virtual screen disappears, the activity enters the paused state (onPause) callback is executed first, and then the activity enters the stopped state (onStop) callback is executed. When the virtual screen is reopened, the activity restarts (onRestart) callback is executed first, and then the activity enters the interactive state (onResume) callback is executed. Furthermore, the exited applications are placed in the stack of the corresponding activities.

[0159] In some embodiments, the virtual screen needs to be destroyed when it leaves the screen and recreated when it is reopened. This is because, under the native Android system mechanism, the surface is automatically destroyed by the system when it extends beyond the screen. If the virtual screen is not destroyed, display anomalies will occur when the application is reopened, such as application data failing to be drawn on the surface. To address this, this application customizes the logic for the disappearance and re-display of the virtual screen, ensuring that the virtual screen is not destroyed when the application leaves the screen, and that the previous virtual screen is re-bound when the application is reopened for use as the surface for application drawing.

[0160] In this embodiment, a virtual screen is created to achieve independent display of the driver's seat and passenger seat areas, thereby improving the flexibility of the display scheme. The three-finger swipe operation simplifies the user's operation steps, thereby improving the intuitiveness and convenience of the interaction, and thus realizing the dynamic switching of the application between the driver's seat and passenger seat display areas to meet user needs and improve the user experience.

[0161] Based on the foregoing embodiments, this application provides an apparatus comprising the included units and the modules included in each unit, which can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0162] Figure 9 This is a schematic diagram illustrating the structural composition of an interactive device for a display interface provided in an embodiment of this application, as shown below. Figure 1 As shown, the interactive device 900 of the display interface includes: a creation module 901 and a display module 902, wherein: the creation module 901 is used to create a virtual screen displayed in the initial display area in response to the opening event of the target application, and to display the target application in the virtual screen; the display module 902 is used to hide the virtual screen from the initial display area in response to receiving a first operation instruction, and to re-display the target application in the virtual screen in the target display area; the target display area is determined by the first operation instruction; wherein the initial display area and the target display area are drawing surfaces located at different positions in the physical screen.

[0163] In some embodiments, the creation module 901 is further configured to: launch the target application; create a virtual screen corresponding to the target application, the virtual screen being used to capture the drawing content of the target application; establish a binding relationship between the virtual screen and an initial display area in the physical screen; and display the drawing content captured by the virtual screen through the initial display area.

[0164] In some embodiments, the display module 902 is further configured to: release the binding relationship between the virtual screen and the initial display area; place the application state data of the target application in the stack corresponding to the virtual screen; establish the binding relationship between the virtual screen and the target display area; retrieve the application state data of the target application from the stack corresponding to the virtual screen; and continue to display the drawing content captured by the virtual screen through the target display area.

[0165] In some embodiments, the first operation instruction includes a sliding operation instruction, and the interactive device 900 of the display interface further includes a determining module (not shown in the figure). The determining module is configured to determine sliding parameters of the sliding operation instruction in response to receiving the sliding operation instruction; and determine the target display area based on the sliding parameters. The sliding parameters include at least one of the following: sliding direction, sliding speed, and sliding distance; the sliding direction is used to determine the relative direction between the target display area and the initial display area; the sliding distance is used to determine the relative distance between the target display area and the initial display area; and the sliding speed is used to determine the response speed for re-displaying in the target display area.

[0166] In some embodiments, the display module 902 is further configured to hide the virtual screen from the initial display area in response to receiving a second operation instruction; and to display the target application in the virtual screen in the initial display area in response to an open event for the target application.

[0167] In some embodiments, the creation module 901 is further configured to monitor the input focus in the virtual screen; and, if there is an input focus in the virtual screen, to create a binding relationship between the input method and the virtual screen.

[0168] In some embodiments, the interactive device 900 of the display interface further includes an influencing module (not shown in the figure), the influencing module being used to manage a first transaction that affects the display based on a first type of lock; and to manage a second transaction that does not affect the display based on a second type of lock; the first type and the second type are different.

[0169] In some embodiments, the method is applied to a vehicle; the creation module 901 is further configured to create the initial display area and the target display area in the physical screen of the vehicle; wherein the initial display area and the target display area correspond to different driver's seats.

[0170] The descriptions of the apparatus embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. In some embodiments, the functions or modules included in the apparatus provided in this application can be used to perform the methods described in the method embodiments above. For technical details not disclosed in the apparatus embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0171] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0172] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.

[0173] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.

[0174] This application provides a computer program including computer-readable code, wherein when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.

[0175] This application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.

[0176] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0177] Figure 10 This application provides a hardware entity diagram of a computer device as an embodiment of the present application, such as... Figure 10 As shown, the hardware entity of the computer device 1000 includes a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can run on the processor 1001, and the processor 1001 executes the program to implement the steps in the method of any of the above embodiments.

[0178] The memory 1002 stores computer programs that can run on the processor. The memory 1002 is configured to store instructions and applications that can be executed by the processor 1001. It can also cache data to be processed or already processed (e.g., image data, audio data, voice communication data, and video communication data) in the processor 1001 and various modules in the computer device 1000. It can be implemented by flash memory or random access memory (RAM).

[0179] The processor 1001 executes the steps of any of the above methods when executing a program. The processor 1001 typically controls the overall operation of the computer device 1000.

[0180] This application provides a computer storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the methods described in any of the above embodiments.

[0181] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0182] The aforementioned processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor. It is understood that other electronic devices can also implement the functions of the aforementioned processor, and this application does not specifically limit the specific implementation.

[0183] The aforementioned computer storage media / memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various terminals that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0184] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0185] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

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

[0187] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0188] Furthermore, in the various embodiments of this application, all functional units can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units. Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0189] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.

[0190] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. An interactive method for a display interface, wherein, The method includes: In response to the opening event of the target application, a virtual screen is created to be displayed in the initial display area, and the target application is displayed in the virtual screen; In response to receiving a first operation command, the virtual screen is hidden from the initial display area, and the target application in the virtual screen is displayed again in the target display area; the target display area is determined by the first operation command. The initial display area and the target display area are drawing surfaces located at different positions on the physical screen.

2. The method according to claim 1, wherein, The creation of a virtual screen displayed in the initial display area, and the display of the target application in the virtual screen, includes: Launch the target application; Create a virtual screen corresponding to the target application, the virtual screen being used to capture the drawing content of the target application; Establish a binding relationship between the virtual screen and the initial display area in the physical screen, and display the drawing content captured by the virtual screen through the initial display area.

3. The method according to claim 2, wherein, The step of hiding the virtual screen from the initial display area and then displaying the target application in the virtual screen again in the target display area includes: Release the binding relationship between the virtual screen and the initial display area; The application state data of the target application is placed in the stack corresponding to the virtual screen; Establish a binding relationship between the virtual screen and the target display area; The application state data of the target application is retrieved from the stack corresponding to the virtual screen, and the drawing content captured by the virtual screen is displayed again through the target display area.

4. The method according to any one of claims 1 to 3, wherein, The first operation instruction includes a sliding operation instruction; the method further includes: In response to receiving the sliding operation command, the sliding parameters of the sliding operation command are determined; The target display area is determined based on the sliding parameters; The sliding parameters include at least one of the following: sliding direction, sliding speed, and sliding distance; the sliding direction is used to determine the relative direction between the target display area and the initial display area, the sliding distance is used to determine the relative distance between the target display area and the initial display area, and the sliding speed is used to determine the response speed for re-displaying in the target display area.

5. The method according to any one of claims 1 to 4, wherein, The method further includes: In response to receiving a second operation command, the virtual screen is hidden from the initial display area; In response to an open event for the target application, the target application is displayed in the virtual screen in the initial display area.

6. The method according to any one of claims 1 to 5, wherein, The method further includes: Monitor the input focus in the virtual screen; If there is input focus in the virtual screen, a binding relationship is created between the input method and the virtual screen.

7. The method according to any one of claims 1 to 6, wherein, The method further includes: The first transaction is affected by the first type of lock management. Lock management based on the second type does not affect the displayed second transaction; the first type is different from the second type.

8. The method according to any one of claims 1 to 7, wherein, The method is applied to a vehicle, and the method further includes: The initial display area and the target display area are created in the physical screen of the vehicle; The initial display area and the target display area correspond to different driver's seats.

9. An interactive device for displaying an interface, the device comprising: A creation module is used to create a virtual screen displayed in the initial display area in response to the opening event of the target application, and to display the target application in the virtual screen; The display module is configured to, in response to receiving a first operation instruction, hide the virtual screen from the initial display area and re-display the target application in the virtual screen in a target display area; the target display area is determined by the first operation instruction. The initial display area and the target display area are drawing surfaces located at different positions on the physical screen.

10. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, the processor executing the program to implement the steps of the method of any one of claims 1 to 8.