Screen display method, device, system and medium

By generating virtual screen logos in an on-board environment and changing the logos according to user operations, the stability of the on-board multi-screen synchronous display is solved, and efficient screen content synchronization and asynchronous display is achieved, improving the user experience.

CN114637480BActive Publication Date: 2025-04-11SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011470637.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-15
Publication Date
2025-04-11
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

The prior art is difficult to realize multi-screen synchronous display in an on-board environment, which is affected by the instability of the mobile network.

Method used

By obtaining the active window information on each screen, a virtual screen identifier is generated, and the virtual screen identifier is changed according to the user's switching operations, the synchronization and asynchronous display of screen content is achieved.

Benefits of technology

Improve the synchronous display stability of two or more screens in an on-board environment, reduce user operations and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114637480B_ABST
    Figure CN114637480B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, system and medium for screen display, the method comprising: obtaining active window information on each screen, the active window information comprising a virtual screen identifier, the virtual screen identifier being used to mark the virtual screen on which the active window is displayed, the active window displayed on the virtual screen carrying the virtual screen identifier, each screen corresponding to a virtual screen respectively, the virtual screen carrying a default identifier for distinguishing each virtual screen, the default identifier of the virtual screen being consistent with the virtual screen identifier of the virtual screen, the active window being one or more interfaces displayed on the screen; changing the virtual screen identifier of the virtual screen to be switched according to the first switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the target virtual screen identifier to the virtual screen to be switched for display. Implementing the embodiment of the present application can improve the stability of synchronous display of two or more screens in a vehicle-mounted environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of multimedia technology, and in particular to a method, device, system and medium for screen display. Background Art

[0002] The current information display technology is constantly improving, and there are often situations where multiple screens are required to display the same content and also display different content separately.

[0003] Currently, multi-screen simultaneous display is achieved by using the network and server, with one Android device uploading shared content to the server and another Android device downloading the shared content from the server. Due to the instability of the mobile network in the vehicle environment, this method cannot meet the needs of multi-screen simultaneous display in the vehicle. Summary of the invention

[0004] Embodiments of the present application provide a method, device, system, and medium for screen display, which can improve the stability of synchronous display of two or more screens in a vehicle environment.

[0005] In a first aspect, an embodiment of the present application provides a screen display method, comprising the following steps:

[0006] Obtaining active window information on each screen, the active window information including a virtual screen identifier, the virtual screen identifier being used to mark the virtual screen on which the active window is displayed, the active window displayed on the virtual screen carrying the virtual screen identifier, each screen corresponding to a virtual screen, the virtual screen carrying a default identifier for distinguishing each virtual screen, the default identifier of the virtual screen being consistent with the virtual screen identifier of the virtual screen, the active window being one or more interfaces displayed on the screen;

[0007] The virtual screen identifier of the virtual screen to be switched is changed according to the first switching operation of the user on the screen to be switched among the screens, and the active window carrying the target virtual screen identifier is sent to the virtual screen to be switched for display.

[0008] In a second aspect, an embodiment of the present application provides a screen display device, including various screens, a processor, and a memory;

[0009] Each screen is used to display an active window, and an active window is one or more interfaces displayed on each screen;

[0010] The memory is used to store instructions;

[0011] The processor is used to communicate with the screen and execute instructions stored in the memory;

[0012] The steps for the processor to execute instructions include:

[0013] Receiving the identifiers of the respective screens from the respective screens, generating virtual screens corresponding to the respective screens one by one according to the identifiers of the respective screens, wherein the virtual screens carry the virtual screen identifiers and default identifiers, the virtual screen identifiers are consistent with the identifiers of the respective screens, and the default identifiers of the virtual screens are consistent with the virtual screen identifiers;

[0014] Receiving active window information from the screen, the active window information including a virtual screen identifier, the virtual screen identifier being a virtual screen displayed by the active window, the active window displayed on the virtual screen carrying the virtual screen identifier, the active window being one or more interfaces displayed on the screen;

[0015] Generate a layer according to the active window information on each screen. The layer corresponds to the active window one by one. The virtual screen identifier of the layer is consistent with the virtual screen identifier of the corresponding active window. The layer carries the layer sequence number information, which is used to determine the order in which the active windows corresponding to the layer are displayed on the virtual screen.

[0016] Acquire the virtual screen identifier of the active window, so that the active window is displayed in a layered manner on each screen whose virtual screen identifier is consistent with the virtual screen identifier of the active window;

[0017] When the processor receives the first operation of the user on the screen to be switched, the step of the processor executing the instruction includes:

[0018] The virtual screen identifier of the target virtual screen corresponding to the first operation is obtained, and the virtual screen identifier of the screen to be switched is changed so that the active window carrying the target virtual screen identifier is displayed on the screen to be switched in a layer manner.

[0019] In a third aspect, an embodiment of the present application provides a screen display system, including the device as described in the second aspect and a second device;

[0020] The device obtains active window information on the screen of the second device;

[0021] The virtual screen identifier of the virtual screen to be switched is changed according to the user's first switching operation on the screen to be switched of the device, so that the virtual screen identifier of the virtual screen to be switched is consistent with the virtual screen identifier of the active window on the screen of the second device, and the active window carrying the virtual screen identifier of the second device is sent to the virtual screen to be switched for display.

[0022] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, they execute the steps of the method described in the first aspect.

[0023] Through the embodiments of the present application, synchronous display and asynchronous display of two or more screens are achieved by distributing active windows, which can improve the stability of synchronous display and asynchronous display; at the same time, the switch button on the screen can quickly switch from synchronous display to asynchronous display, which can reduce user operations and thus improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 It is a flowchart of a screen display method provided by an embodiment of the present application;

[0026] Figure 2 It is a flowchart of another screen display method provided by an embodiment of the present application;

[0027] Figure 3 It is a schematic diagram of the composition of a screen display device provided in an embodiment of the present application;

[0028] Figure 4 It is a schematic diagram of the composition of another screen display device provided in an embodiment of the present application;

[0029] Figure 5 It is a schematic diagram of the composition of another screen display device provided in an embodiment of the present application;

[0030] Figure 6 is a schematic block diagram of a screen display system provided in an embodiment of the present application;

[0031] Figure 7 It is a schematic diagram of the composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.

[0033] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0034] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0035] Next, combine Figure 1-Figure 2 The steps of the screen display method provided in the embodiment of the present application are described in detail.

[0036] See also Figure 1 , which is a flow chart of a screen display method provided in an embodiment of the present application, may include the following steps:

[0037] S101, obtaining active window information on each screen;

[0038] Among them, the active window information includes a virtual screen identifier, which is used to mark the virtual screen on which the active window is displayed. The active window displayed on the virtual screen carries the virtual screen identifier. Each screen corresponds to a virtual screen. The virtual screen carries a default identifier for distinguishing each virtual screen. The default identifier of the virtual screen is consistent with the virtual screen identifier of the virtual screen. The active window is one or more interfaces displayed on the screen.

[0039] For example, after the terminal is started and before any application is opened, there is only one active window A on screen 1, that is, desktop interface A' displayed on the screen after the terminal is started. Clickable application icons are displayed on active window A. When any application A on the desktop is opened by clicking the application icon, an interface B' showing the content related to application A will be generated, that is, active window B; if the content displayed by interface B' changes after clicking the content displayed by active window B, that is, the content displayed by active window B changes, or if interface C' is generated after clicking the content displayed by active window B, then this interface C' is active window C, or if interface C' is no longer displayed, that is, active window C is closed. The virtual screen contains the information and display content of the screen, that is, if there are 3 active windows displayed on screen 1, then virtual screen 1 contains the display information of the 3 active windows on screen 1, and each virtual screen corresponds to one screen, that is, virtual screen 1 corresponds to screen 1, and virtual screen 2 corresponds to screen 2. Any virtual screen carries a default identifier, and the default identifiers carried by each virtual screen are different, which are used to distinguish each virtual screen. In the initial state when the terminal is started, the virtual screen identifier carried by the virtual screen is consistent with the default identifier, and the virtual screen identifier is used to mark the virtual screen displayed by the active window; any active window displayed on the virtual screen carries the virtual screen identifier of the virtual screen. If the virtual screen identifier of virtual screen 1 is 1, then the active windows displayed on virtual screen 1 carry the virtual screen identifier 1.

[0040] In a possible implementation, the terminal or system obtains the active window information of each screen. Among them, the terminal is an entity on the user side that includes one or more display screens for receiving or transmitting signals, and can also be called a user client or user equipment (User Equipment, referred to as UE). It can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as on a ship, etc.); it can also be deployed in the air (for example, on an airplane, a balloon, and a satellite, etc.). It can also be called a user terminal, a terminal device, an access terminal device, a vehicle-mounted terminal, a UE unit, a UE station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a UE terminal device, a mobile terminal, a wireless communication device, a UE agent or a UE device, etc. The terminal can be fixed or mobile, etc. Its specific form can be a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a vehicle-mounted terminal device, a wireless terminal in a smart home, a wearable terminal device, etc. The system can be composed of two or more terminals connected as mentioned above. It should be noted that the connection method includes but is not limited to making the terminals in the system in the same local area network environment or connecting via data cables, and the embodiments of the present application do not impose any limitations.

[0041] S102, changing the virtual screen identifier of the virtual screen to be switched according to the first switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the target virtual screen identifier to the virtual screen to be switched for display.

[0042] In a possible implementation, the active windows of each virtual screen are mapped into layers, the layers correspond to the active windows one by one, the virtual screen identifier of the layer is consistent with the virtual screen identifier of the corresponding active window, the layer carries layer sequence number information, and the layer sequence number information is used to determine the order in which the active windows corresponding to the layer are displayed on the virtual screen; the layers are summarized and stored.

[0043] For example, the virtual screen identifier of virtual screen 1 corresponding to screen 1 is 1, and active window A and active window B are displayed on screen 1, then active window A and active window B are displayed on virtual screen 1, and the virtual screen identifiers of active window A and active window B displayed on screen 1 and virtual screen 1 are both 1, the virtual screen identifier of virtual screen 2 corresponding to screen 2 is 2, and active window C, active window D and active window E are displayed on screen 2, then active window C, active window D and active window E are displayed on virtual screen 2, and the virtual screen identifiers of active window C, active window D and active window E displayed on screen 2 and virtual screen 2 are both 2, active window A-active window E are mapped to layer a-layer e, and the virtual screen identifiers carried by layer a and layer b is 1, and the virtual screen identifier carried by layer c, layer d and layer e is 2; the layer sequence information of layer a-layer e is determined by the order in which the corresponding active windows are displayed on the virtual screen. For example, if the order in which active window C-active window E is displayed on the virtual screen is active window C, active window D, active window E, and active window C is displayed on the top layer of virtual screen 2, then the layer sequence information of layer c, layer d and layer e is arranged in ascending order of sequence number 1, sequence number 2 and sequence number 3, indicating the order of display, and layer c is located at the top layer, or, the layer sequence information of layer c-layer e is arranged in descending order of sequence number 3, sequence number 2 and sequence number 1, indicating the order of display, and layer c is located at the top layer, and the embodiment of the present application does not make any limitation. The method for determining the order in which the active windows are displayed can be the reverse order of the order in which the active windows are generated. For example, active window A is generated first in screen 1, and then active window B is generated. Then the order in which the active windows are displayed on the screen is active window B, active window A, and active window B is located on the upper layer of active window A.

[0044] Aggregating and storing layers means aggregating and storing the layers corresponding to the active windows on each virtual screen. When aggregating the layers, the layers can be arranged in a queue according to the Z-order method. The Z-order method is used to set the display order. The display order is determined by setting the Z-axis value of the layer. The larger the Z-axis value, the higher the display layer is. For example, the specific implementation method of aggregating the layers in the above example and arranging them into a queue according to the Z-order method is to obtain the layer sequence information of each layer, first obtain layer a and layer b carrying the virtual screen identifier 1, since layer b is located above layer a, the Z-axis value of layer a is set to 1, and the Z-axis value of layer b is set to 2, and then obtain layers c-layer e carrying the virtual screen identifier 2, since layer e is located below layer d, and layer d is located below layer c, the Z-axis value of layer e is set to 3, the Z-axis value of layer d is set to 4, and the Z-axis value of layer c is set to 5; or, first obtain layer c, layer d and E carrying the virtual screen identifier 2 and set their Z-axis values ​​to 3, 2, and 1 respectively, then obtain layer a and layer b carrying the virtual screen identifier 1 and set their Z-axis values ​​to 4 and 5 respectively. If there are more virtual screens and layers, the Z-axis values ​​of the layers are set using the above Z-order method, which will not be repeated here.

[0045] It should be noted that after each layer is stored, the layer information will be updated in real time according to the changes of the active window displayed on the screen. For example, when the active window A on screen 1 is closed, the stored layer a will no longer exist; when the display content of the active window A on screen 1 changes, the display content of layer a will also change accordingly, that is, the layer is always consistent with the corresponding active window.

[0046] It should be noted that, if we call the content displayed before the screen to be switched receives the first switching operation the original content of the screen to be switched, and the content displayed after receiving the first switching operation is called the synchronized content of the screen to be switched, after the screen to be switched receives the first switching operation, the original content is not closed or disappears, but is hidden or replaced, and the original content will be recorded in the layer before being hidden or replaced, and the original content recorded in the layer will not change, and after receiving the first switching operation, the content displayed on the screen to be switched is displayed synchronously with the content displayed on the target screen. For example, there are screen 1 and screen 2, screen 1 is the virtual screen to be switched, and screen 2 is the target screen. If the content displayed on screen 1 before receiving the first switching operation is layer a, and the content displayed on screen 2 is layer b, then layer a is called the original content of screen 1, and layer b is called the synchronized content of screen 1. After screen 1 receives the first switching operation, the original content layer a of screen 1 is stored and does not change. At this time, the content displayed on screen 1 and screen 2 is both layer b. If a new layer c is generated on screen 2, the corresponding layer c is displayed on screen 1. If layer b of screen 2 changes, layer b displayed on screen 1 changes accordingly.

[0047] In a possible implementation, when the number of screens is two, the first switching operation includes a first switching instruction for one-key switching.

[0048] Among them, the first switching instruction of the first switching operation can be generated on the switching button displayed on the screen to be switched. The first switching instruction is an instruction that can be executed by the terminal. The generation method of the first switching instruction includes but is not limited to clicking the switching button or obtaining a voice instruction input by the user that matches the instruction preset by the terminal for activating the first switching instruction. The embodiment of the present application does not impose any limitation. The first switching instruction is used to make the screen to be switched display the content displayed on the target screen. For example, the two screens are screen 1 and screen 2. After the user clicks the switching button displayed on screen 1, the content displayed on screen 1 changes to the content displayed on screen 2.

[0049] In one possible implementation, when the number of screens is two, the virtual screen identifier of the virtual screen to be switched is changed according to the first switching instruction so that the virtual screen identifier of the virtual screen to be switched is consistent with the virtual screen identifier of the target virtual screen; and the layer carrying the target virtual screen identifier is distributed to the virtual screen to be switched.

[0050] According to the first switching instruction, the virtual screen identifier of the target virtual screen corresponding to the target screen is obtained, the virtual screen identifier of the virtual screen to be switched is changed to the virtual screen identifier of the target virtual screen, and according to the changed virtual screen identifier of the virtual screen to be switched, a layer carrying a virtual screen identifier consistent with the changed virtual screen identifier of the virtual screen to be switched is obtained, and the layer is distributed to the virtual screen to be switched, and the virtual screen to be switched maps the layer distributed to the virtual screen to be switched to the screen to be switched for display. For example, the two screens are screen 1 and screen 2, respectively. If the virtual screen identifier of virtual screen 1 corresponding to screen 1 is 1, and the virtual screen identifier of the virtual screen corresponding to screen 2 is 2, after the user clicks the switching button displayed on screen 1, the virtual screen identifier of virtual screen 1 is changed to 2, and the layer carrying the virtual screen identifier 2 is distributed to virtual screen 1, and virtual screen 1 maps the layer carrying the virtual screen identifier 2 to screen 1 for display.

[0051] In a possible implementation, when the number of screens is more than two, the first switching operation includes a first instruction for triggering switching and a second instruction for indicating a target screen to switch to.

[0052] Among them, the first instruction of the first switching operation can be generated on the selection button displayed on the screen to be switched, and the first instruction is an instruction that can be executed by the terminal. The generation method of the first instruction includes but is not limited to clicking the selection button or obtaining a voice instruction input by the user that matches the instruction preset by the terminal for activating the first instruction, and the embodiment of the present application does not make any restrictions. The first instruction is used to display a menu interface on the screen to be switched, and the content of the menu interface is the display content of each screen other than the screen to be switched, and the display content can be clicked; the second instruction of the first switching operation can be generated on the content of the menu interface, and the second instruction is an instruction that can be executed by the terminal. The generation method of the second instruction includes but is not limited to clicking the display content of a screen in the menu interface or obtaining a voice instruction input by the user that matches the instruction preset by the terminal for activating the second instruction, and the embodiment of the present application does not make any restrictions. The screen where the clicked display content is located is determined as the target screen, and the second instruction is used to make the screen to be switched display the content displayed on the target screen. For example, the terminal has three screens, namely screen 1, screen 2 and screen 3. After the user clicks the selection button displayed on screen 1, the content displayed on screen 2 and screen 3 is displayed on screen 1. The content of screen 2 and screen 3 displayed on screen 1 can be clicked. If the user clicks the display content of screen 2 displayed on screen 1, screen 1 changes from displaying the content displayed on screen 1 to displaying the content displayed on screen 2.

[0053] In one possible implementation, when the number of screens is more than two, screen information of each screen is obtained according to a first instruction and displayed on the virtual screen to be switched, and the screen information is used to distinguish the screens; the virtual screen identifier of the target virtual screen is obtained according to a second instruction; the virtual screen identifier of the virtual screen to be switched is changed according to the virtual screen identifier of the target virtual screen, so that the virtual screen identifier of the virtual screen to be switched is consistent with the virtual screen identifier of the target virtual screen; and the layer carrying the target virtual screen identifier is distributed to the virtual screen to be switched.

[0054] According to the first instruction, display contents of screens other than the screen to be switched are obtained and displayed on the screen to be switched; according to the second instruction, the target screen is determined, the virtual screen identifier of the target virtual screen corresponding to the target screen is obtained, the virtual screen identifier of the virtual screen to be switched is changed to the virtual screen identifier of the target virtual screen, and according to the changed virtual screen identifier of the virtual screen to be switched, a layer carrying a virtual screen identifier consistent with the changed virtual screen identifier of the virtual screen to be switched is obtained, and the layer is distributed to the virtual screen to be switched. The virtual screen to be switched maps the layer distributed to the virtual screen to be switched to the screen to be switched for display. For example, the terminal has three screens, namely screen 1, screen 2 and screen 3. If the virtual screen identifier of the virtual screen 1 corresponding to screen 1 is 1, the virtual screen identifier of the virtual screen corresponding to screen 2 is 2, and the virtual screen identifier of the virtual screen corresponding to screen 3 is 3, after the user clicks the selection button displayed on screen 1, the content displayed on screen 2 and screen 3 is displayed on screen 1, and the content of screen 2 and screen 3 displayed on screen 1 can be clicked. If the user clicks the display content of screen 2 displayed on screen 1, the virtual screen identifier 2 of the virtual screen 2 corresponding to screen 2 is obtained, the virtual screen identifier of virtual screen 1 is changed to 2, and the layer carrying the virtual screen identifier 2 is distributed to virtual screen 1, and virtual screen 1 maps the layer carrying the virtual screen identifier 2 to screen 1 for display.

[0055] It should be noted that, when the second instruction is not generated after the first instruction is generated or the first instruction is generated again, it means that the screen to be switched has not achieved synchronous display with other screens.

[0056] It should be noted that when the display contents of each screen other than the screen to be switched are obtained according to the first instruction and displayed on the screen to be switched, the display contents of each screen at the moment when the first instruction is generated are obtained. For example, screen 1 is the screen to be switched, the content displayed on screen 2 is layer a, and the original content of screen 3 is layer b, but before the first instruction is generated, screen 3 has been synchronized with screen 2, and the content displayed on screen 3 is layer a, and the content displayed on screen 4 is layer c. Then, according to the first instruction, the display content of screen 2 displayed on screen 1 is layer a, the display content of screen 3 is also layer a, and the display content of screen 4 is layer c. Then, when the target screen is screen 2 or screen 3, the content displayed on screen 1 after receiving the second instruction is layer a, and when the target screen is screen 4, the content displayed on screen 1 after receiving the second instruction is layer c.

[0057] By executing the above method, the original content of the screen can be retained, and the synchronous display of the screen can be achieved quickly and stably.

[0058] After the screen to be switched is displayed synchronously with the target screen, the content displayed on the screen to be switched can be switched back to the original content of the screen to be switched, thus realizing the switching between synchronous display and asynchronous display. Figure 2 , is a flow chart of another screen display method provided by an embodiment of the present application. Among them, steps S201-S202 and Figure 1 S101-S102 are the same and will not be described again here. After step S202, the following steps may also be included:

[0059] S203, changing the virtual screen identifier of the virtual screen to be switched according to the second switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the virtual screen identifier to be switched to the virtual screen to be switched for display.

[0060] According to the second switching operation of the user on the screen to be switched, the virtual screen identifier of the virtual screen to be switched is changed, and the active window carrying the virtual screen identifier to be switched is sent to the virtual screen to be switched for display, and the second switching operation includes a third instruction for one-key switching; according to the third instruction, the default identifier of the virtual screen to be switched is obtained; according to the default identifier of the virtual screen to be switched, the virtual screen identifier of the virtual screen to be switched is changed, so that the virtual screen identifier of the virtual screen to be switched is consistent with the default identifier of the virtual screen to be switched; and the layer carrying the virtual screen identifier to be switched is distributed to the virtual screen to be switched.

[0061] It should be noted that when the number of screens is two, a switch button is displayed on each screen for switching to synchronous display or asynchronous display; when the number of screens is more than two, after the screen to be switched and the target screen are displayed synchronously, the selection button automatically becomes a switch button for quickly switching back to the original content of the screen to be switched, or there are both selection buttons and switch buttons on each screen, the selection button is used to select the screen to be displayed synchronously with it, and the switch button is used to quickly switch back to the original content of the screen to be switched, and when the screen to be switched displays the original content of the screen to be switched, clicking the switch button is equivalent to refreshing the display of the screen to be switched.

[0062] Among them, the third instruction of the second switching operation can be generated on the switch button displayed on the screen to be switched, and the third instruction is an instruction that can be executed by the terminal. The generation method of the third instruction includes but is not limited to clicking the switch button or obtaining a voice instruction input by the user that matches the instruction preset by the terminal for activating the third instruction, and the embodiment of the present application does not impose any limitation. The third instruction is used to make the screen to be switched display the original content of the screen to be switched. For example, the two screens are screen 1 and screen 2, and screen 1 synchronously displays the content displayed by screen 2. After the user clicks the switch button displayed on screen 1, screen 1 changes from displaying the content displayed on screen 2 to displaying the original content of screen 1.

[0063] The virtual screen identifier of the virtual screen to be switched is changed to the default identifier of the virtual screen to be switched, and a layer carrying a virtual screen identifier consistent with the changed virtual screen identifier of the virtual screen to be switched is obtained according to the changed virtual screen identifier of the virtual screen to be switched, and the layer is distributed to the virtual screen to be switched, and the virtual screen to be switched maps the layer distributed to the virtual screen to be switched to the screen to be switched for display. For example, the two screens are screen 1 and screen 2, the default identifier of screen 1 is 1, and the default identifier of screen 2 is 2. If screen 1 and screen 2 synchronously display the content of screen 2, the virtual screen identifiers of virtual screen 1 and virtual screen 2 corresponding to screen 1 and screen 2 are both 2. After the user clicks the switch button displayed on screen 1, the virtual screen identifier of virtual screen 1 is changed to 1, and the layer carrying the virtual screen identifier of 1 is distributed to virtual screen 1, and virtual screen 1 maps the layer carrying the virtual screen identifier of 1 to screen 1 for display.

[0064] By executing the above method, the original content of the screen can be obtained, and the asynchronous display of the screen can be achieved quickly and stably.

[0065] The device involved in the embodiment of the present application is described below with reference to the accompanying drawings.

[0066] See also Figure 3, is a schematic diagram of the composition of a screen display device provided in an embodiment of the present application. The screen display device 300 may include: each screen 301, a memory 302 and a processor 303.

[0067] Each screen 301 displays an active window, where the active window is one or more interfaces displayed on each screen;

[0068] Memory 302, storing instructions;

[0069] The processor 303 communicates with each screen and executes instructions stored in the memory.

[0070] The steps for the processor to execute instructions include:

[0071] Receiving the identifiers of the respective screens from the respective screens, generating virtual screens corresponding to the respective screens one by one according to the identifiers of the respective screens, wherein the virtual screens carry the virtual screen identifiers and default identifiers, the virtual screen identifiers are consistent with the identifiers of the respective screens, and the default identifiers of the virtual screens are consistent with the virtual screen identifiers;

[0072] Receiving active window information from each screen, the active window information including a virtual screen identifier, the virtual screen identifier being the virtual screen displayed by the active window, the active window displayed on the virtual screen carrying the virtual screen identifier, the active window being one or more interfaces displayed on the screen;

[0073] Generate a layer according to the active window information on each screen. The layer corresponds to the active window one by one. The virtual screen identifier of the layer is consistent with the virtual screen identifier of the corresponding active window. The layer carries the layer sequence number information, which is used to determine the order in which the active windows corresponding to the layer are displayed on the virtual screen.

[0074] Acquire the virtual screen identifier of the active window, so that the active window is displayed in a layered manner on each screen whose virtual screen identifier is consistent with the virtual screen identifier of the active window;

[0075] When the processor receives the first switching operation of the user on the screen to be switched, the step of the processor executing the instruction includes:

[0076] The virtual screen identifier of the target virtual screen corresponding to the first switching operation is obtained, and the virtual screen identifier of the screen to be switched is changed so that the active window carrying the target virtual screen identifier is displayed on the screen to be switched in a layer manner.

[0077] When the processor receives the second switching operation of the user on the screen to be switched, the step of the processor executing the instruction includes:

[0078] The default identifier of the virtual screen to be switched corresponding to the second switching operation is obtained, and the virtual screen identifier of the screen to be switched is changed so that the active window carrying the virtual screen identifier to be switched is displayed on the screen to be switched in a layer manner.

[0079] The specific function implementation of the screen display device 300 can be found in Figure 1-Figure 2 The corresponding method steps will not be repeated here.

[0080] See also Figure 4 , is a schematic diagram of another screen display device provided in an embodiment of the present application. The screen display device 400 may include:

[0081] The acquisition module 401 is used to acquire the active window information on each screen;

[0082] The first processing module 402 is used to change the virtual screen identifier of the virtual screen to be switched according to the first switching operation of the user on the screen to be switched among the screens, and send the active window carrying the target virtual screen identifier to the virtual screen to be switched for display.

[0083] Optionally, the screen display device 400 may further include:

[0084] The layer synthesis module 403 is used to map the active windows of each virtual screen into layers. The layers correspond to the active windows one by one. The virtual screen identifier of the layer is consistent with the virtual screen identifier of the corresponding active window. The layer carries layer sequence number information, which is used to determine the order in which the active windows corresponding to the layer are displayed on the virtual screen; and is used to summarize and store the layers.

[0085] Optionally, the first processing module 402 may include:

[0086] A first acquisition unit 4021 is used to acquire a virtual screen identifier of a target virtual screen;

[0087] A first switching unit 4022, configured to change the virtual screen identifier of the virtual screen to be switched according to the first switching operation, so that the virtual screen identifier of the virtual screen to be switched is consistent with the virtual screen identifier of the target virtual screen;

[0088] The first distribution unit 4023 is used to distribute the layer carrying the target virtual screen identifier to the virtual screen to be switched.

[0089] The specific function implementation of the screen display device 400 can be found in Figure 1 The corresponding method steps will not be repeated here.

[0090] See also Figure 5, is a schematic diagram of another screen display device provided in an embodiment of the present application, and Figure 4 Compared with the corresponding screen display device 400, modules 501 to 503 are the same as modules 401 to 403 in the screen display device 400. In addition, the screen display device 500 may further include:

[0091] The second processing module 504 is used to change the virtual screen identifier of the virtual screen to be switched according to the second switching operation of the user on the screen to be switched among the screens, and send the active window carrying the virtual screen identifier to the virtual screen to be switched for display.

[0092] Optionally, the second processing module 504 may include:

[0093] The second acquisition unit 5041 is used to acquire the virtual screen identifier of the virtual screen to be switched;

[0094] The second switching unit 5042 is used to change the virtual screen identifier of the virtual screen to be switched according to the second switching operation, so that the virtual screen identifier of the virtual screen to be switched is consistent with the default identifier of the virtual screen to be switched;

[0095] The second distribution unit 5043 is used to distribute the layer carrying the identifier of the virtual screen to be switched to the virtual screen to be switched.

[0096] The specific implementation of the function of the screen display device 500 can be found in Figure 1-Figure 2 The corresponding method steps will not be repeated here.

[0097] Figure 6 A schematic block diagram of a screen display system provided in an embodiment of the present application.

[0098] Figure 6 The screen shown shows a system comprising:

[0099] Device 601, and second device 602.

[0100] Device 601, for Figure 3-Figure 5 Any device;

[0101] The second device 602 is used to connect to the device 601 and synchronously display the screen content of the second device 602 to the device 601.

[0102] The specific implementation function of the screen display system 600 can be found in Figure 1-Figure 2 The corresponding method steps will not be repeated here.

[0103] See also Figure 7 , is a schematic diagram of the composition of an electronic device provided in an embodiment of the present application. It may include:

[0104] Processor 110, memory 120 and communication interface 130. Processor 110, memory 120 and communication interface 130 are connected via bus 140. The memory 120 is used to store instructions, and the processor 110 is used to execute the instructions stored in the memory 120 to implement the above Figure 1-Figure 6 The corresponding method steps.

[0105] The processor 110 is used to execute the instructions stored in the memory 120 to control the communication interface 130 to receive and send signals and complete the steps in the above method. The memory 120 can be integrated in the processor 110 or can be set separately from the processor 110.

[0106] As an implementation, the function of the communication interface 130 may be implemented by a transceiver circuit or a dedicated transceiver chip. The processor 110 may be implemented by a dedicated processing chip, a processing circuit, a processor or a general-purpose chip.

[0107] As another implementation method, it is possible to use a general-purpose computer to implement the device provided in the embodiment of the present application. That is, the program code for implementing the functions of the processor 110 and the communication interface 130 is stored in the memory 120, and the general-purpose processor implements the functions of the processor 110 and the communication interface 130 by executing the code in the memory 120.

[0108] For the concepts, explanations, detailed descriptions and other steps involved in the device and related to the technical solutions provided in the embodiments of the present application, please refer to the description of the method steps performed by the device in the aforementioned method or other embodiments, which will not be repeated here.

[0109] As another implementation of this embodiment, a computer-readable storage medium is provided, on which instructions are stored. When the instructions are executed, the method in the above method embodiment is executed.

[0110] As another implementation of this embodiment, a computer program product including instructions is provided, and when the instructions are executed, the method in the above method embodiment is performed.

[0111] Those skilled in the art will appreciate that for ease of description, Figure 3 and Figure 7 Only one memory and processor are shown. In an actual terminal or server, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiments of the present application.

[0112] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.

[0113] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM).

[0114] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated in the processor.

[0115] It should be noted that the memory described herein is intended to include, without being limited to, these and any other suitable types of memory.

[0116] In addition to the data bus, the bus may also include a power bus, a control bus, a status signal bus, etc. However, for the sake of clarity, various buses are marked as buses in the figure.

[0117] It should also be understood that the first, second, third, fourth and various numerical numbers involved in this document are only distinctions made for the convenience of description and are not intended to limit the scope of the present application.

[0118] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0119] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0120] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0121] Those skilled in the art will appreciate that the various illustrative logical blocks (ILBs) and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0122] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0123] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0125] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A screen display method, characterized in that: The following steps are involved: Acquire active window information on each screen, the active window information including a virtual screen identifier, the virtual screen identifier is used to mark the virtual screen on which the active window is displayed, the active window displayed on the virtual screen carries the virtual screen identifier, each screen corresponds to a virtual screen, the virtual screen carries a default identifier for distinguishing each virtual screen, the default identifier of the virtual screen is consistent with the virtual screen identifier of the virtual screen, and the active window is one or more interfaces displayed on the screen; Mapping active windows of each virtual screen into layers, wherein the layers correspond to the active windows one by one, the virtual screen identifier of the layers is consistent with the virtual screen identifier of the corresponding active window, and the layers carry layer sequence number information, and the layer sequence number information is used to determine the order in which the active windows corresponding to the layers are displayed on the virtual screen; Aggregating and storing the layers; The virtual screen identifier of the virtual screen to be switched is changed according to the first switching operation of the user on the screen to be switched among the screens, and the active window carrying the target virtual screen identifier is sent to the virtual screen to be switched for display. 2 . The method according to claim 1 , when the number of the screens is two, the first switching operation comprises a first switching instruction for one-key switching. 3 . The method according to claim 1 , when the number of the screens is more than two, the first switching operation comprises a first instruction for triggering switching and a second instruction for indicating a target screen to switch to.

4. The method according to claim 2, wherein the step of changing the virtual screen identifier of the virtual screen to be switched according to the first switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the target virtual screen identifier to the virtual screen to be switched for display comprises: Changing the virtual screen identifier of the to-be-switched virtual screen according to the first switching instruction so that the virtual screen identifier of the to-be-switched virtual screen is consistent with the virtual screen identifier of the target virtual screen; The layer carrying the target virtual screen identifier is distributed to the virtual screen to be switched.

5. The method according to claim 3, wherein the step of changing the virtual screen identifier of the virtual screen to be switched according to the first switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the target virtual screen identifier to the virtual screen to be switched for display comprises: According to the first instruction, screen information of each screen is acquired and displayed on the virtual screen to be switched, wherein the screen information is used to distinguish each screen; Acquire a virtual screen identifier of the target virtual screen according to the second instruction; Changing the virtual screen identifier of the to-be-switched virtual screen according to the virtual screen identifier of the target virtual screen so that the virtual screen identifier of the to-be-switched virtual screen is consistent with the virtual screen identifier of the target virtual screen; The layer carrying the target virtual screen identifier is distributed to the virtual screen to be switched.

6. The method according to any one of claims 1 to 5, further comprising: changing the virtual screen identifier of the virtual screen to be switched according to a second switching operation of the user on the screen to be switched among the screens, and sending the active window carrying the virtual screen identifier to be switched to the virtual screen to be switched for display, wherein the second switching operation includes a third instruction for one-key switching; Acquire the default identifier of the virtual screen to be switched according to the third instruction; Changing the virtual screen identifier of the virtual screen to be switched according to the default identifier of the virtual screen to be switched, so that the virtual screen identifier of the virtual screen to be switched is consistent with the default identifier of the virtual screen to be switched; The layer carrying the identifier of the to-be-switched virtual screen is distributed to the to-be-switched virtual screen.

7. A screen display device, characterized in that: The device comprises: various screens, a memory and a processor; Each screen is used to display an active window, and the active window is one or more interfaces displayed on each screen; The memory is used to store instructions; The processor is used to communicate with the respective screens and execute instructions stored in the memory; The steps of the processor executing the instructions include: Receiving the identifiers of the respective screens from the respective screens, and generating virtual screens corresponding to the respective screens one by one according to the identifiers of the respective screens, wherein the virtual screens carry virtual screen identifiers and default identifiers, the virtual screen identifiers are consistent with the identifiers of the respective screens, and the default identifiers of the virtual screens are consistent with the virtual screen identifiers; receiving active window information from each screen, the active window information including the virtual screen identifier, the virtual screen identifier being the virtual screen displayed by the active window, the active window displayed on the virtual screen carrying the virtual screen identifier, and the active window being one or more interfaces displayed on the screen; Generate a layer according to the active window information on each screen, wherein the layer corresponds to the active window one by one, the virtual screen identifier of the layer is consistent with the virtual screen identifier of the corresponding active window, and the layer carries layer sequence number information, and the layer sequence number information is used to determine the order in which the active windows corresponding to the layer are displayed on the virtual screen; Aggregating the layers and storing them in the memory; Acquiring the virtual screen identifier of the active window, so that the active window is displayed in a layered manner on each of the screens whose virtual screen identifiers are consistent with the virtual screen identifier of the active window; When the processor receives a first switching operation of the user on the screen to be switched, the step of the processor executing the instruction includes: The virtual screen identifier of the target virtual screen corresponding to the first switching operation is obtained, and the virtual screen identifier of the screen to be switched is changed so that the active window carrying the target virtual screen identifier is displayed on the screen to be switched in a layered manner.

8. The device according to claim 7, further comprising: When the processor receives a second switching operation on the screen to be switched by the user, the step of the processor executing the instruction includes: A default identifier of the virtual screen to be switched corresponding to the second switching operation is obtained, and the virtual screen identifier of the screen to be switched is changed so that the active window carrying the virtual screen identifier to be switched is displayed on the screen to be switched in a layered manner.

9. A screen display system, characterized in that: include: The device as claimed in claim 7; as well as, Second device; The device obtains active window information on the screen of the second device; The virtual screen identifier of the virtual screen to be switched is changed according to the user's first switching operation on the screen to be switched of the device, so that the virtual screen identifier of the virtual screen to be switched is consistent with the virtual screen identifier of the active window on the screen of the second device, and the active window carrying the virtual screen identifier of the second device is sent to the virtual screen to be switched for display.

10. The system according to claim 9, further comprising: The virtual screen identifier of the virtual screen to be switched is changed according to the second switching operation of the user on the screen to be switched of the device, so that the virtual screen identifier of the virtual screen to be switched is consistent with the default identifier of the virtual screen to be switched, and the active window carrying the virtual screen identifier to be switched is sent to the virtual screen to be switched for display.

11. A computer storage medium, characterized in that: The computer storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the program instructions execute the steps of the screen display method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for using mobile terminal as mobile screen of vehicle-mounted terminal, and vehicle-mounted terminal

    CN106951202A

  • Multi-screen terminal and application display control method and device thereof

    CN109426408A