Multi-screen display method, multi-screen display device, electronic equipment and storage medium
By creating a virtual screen and migrating the interface in the multi-screen mirror display, the problem of poor flexibility during multi-screen mirror display is solved, and flexible display and synchronous display of each screen is realized, improving the user experience.
Patent Information
- Application Number
- CN202411160603.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-10
AI Technical Summary
When displaying multi-screen mirroring, the prior art leads to poor flexibility of each screen and poor user experience. When the screen that initiates the mirroring request exits, other screens will also exit the mirroring, affecting the flexibility of display.
By creating a target virtual screen, the current interface of the target object displayed in the first screen is migrated to the virtual screen, and the identification of the virtual screen is sent to the first screen and the target screen, causing it to display the current interface of the virtual screen, thereby in the first When the screen exits the mirroring, the target screen can still display the current interface through the virtual screen, achieving flexible display of each screen.
The flexibility of each screen is improved during multi-screen mirroring display, and the user experience is improved, and other screen sharing failures caused by the first screen exit from the mirroring are avoided, which improves the flexibility and synchronization of multi-screen display.
Smart Images

Figure CN119105719A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen interaction technology, and in particular to a multi-screen display method, a multi-screen display device, an electronic device and a storage medium in the field of screen interaction technology. Background Art
[0002] In order to meet the entertainment needs of different users, some vehicles may be equipped with multiple display screens to display different image information and / or text information on the display screens corresponding to different users.
[0003] Currently, a corresponding virtual screen can be created for each display screen, and multiple virtual screens can be mirrored to achieve sharing of image information and / or text information between multiple display screens. However, in the process of mirroring multiple virtual screens, if the screen that initiates the mirroring exits the sharing, the remaining screens may also exit the sharing, resulting in poor screen display flexibility and affecting the user experience.
[0004] Therefore, when multiple screens are displayed in mirror image, how to achieve flexible display of each screen is a problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a multi-screen display method, a multi-screen display device, an electronic device and a storage medium. The method can realize flexible display of each screen during multi-screen mirroring display.
[0006] In a first aspect, a multi-screen display method is provided, the method comprising:
[0007] In response to a request to start mirroring for a target object in a first screen, a target virtual screen of the target object is created; wherein the request to start mirroring includes an identifier of the target screen to be mirrored; a current interface of the target object displayed in the first screen is migrated to the target virtual screen so that the target virtual screen displays the current interface; and the identifier of the target virtual screen is sent to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0008] In the embodiment of the present application, in response to a request to start mirroring of a target object in the first screen, a virtual screen corresponding to the target object can be created, and the current interface of the target object displayed in the first screen can be migrated to the virtual screen, so that the interface of the virtual screen is the current interface of the target object displayed in the first screen, that is, the current interface is displayed in the virtual screen. When the first screen and the target screen obtain the identifier of the virtual screen, the current interface displayed by the virtual screen can be obtained, so that the current interface displayed by the virtual screen can be displayed. Compared with the prior art, the current interface of the target object displayed on the first screen is directly mirrored to the target screen, resulting in that when the screen that initiates the mirroring request (i.e., the first screen) exits the mirroring, the remaining screens (i.e., the target screen) will also exit the mirroring. This is because the relevant data of the current interface corresponding to the target object is always on the first screen. Therefore, when the first screen exits the mirroring, it will lead to the failure to obtain the data source of the current interface corresponding to the target object, and the current interface cannot be mirrored to the target screen, resulting in the problem of poor flexibility of each screen when multiple screens are mirrored. The present application migrates the current interface of the target object displayed on the first screen to the virtual screen, so that the relevant data of the current interface corresponding to the target object will exist on the virtual screen. In this way, when the first screen exits the mirroring, the target screen can still obtain the relevant data of the current interface displayed on the virtual screen through the identifier of the virtual screen, so as to display the current interface displayed on the virtual screen, and will not be affected by the exit of the first screen from the mirroring. It can be seen that the embodiment of the present application can realize the flexible display of each screen when multiple screens are mirrored.
[0009] In combination with the first aspect, in some implementations of the first aspect, after sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the method further includes:
[0010] In response to a request to close mirroring for a target object, an identifier of a second screen corresponding to the request to close mirroring is obtained; wherein the second screen is at least one of the first screen and / or the target screen; based on the identifier of the second screen, the second screen is controlled to exit the mirroring state; and screens other than the second screen are controlled to be in the mirroring state.
[0011] In an embodiment of the present application, in response to a request to turn off mirroring for a target object, an identifier of the screen corresponding to the request to turn off mirroring is obtained. Since the current interface of the target object displayed on the first screen is migrated to the virtual screen, when the screen corresponding to the request to turn off mirroring exits the mirroring state, the mirroring state of the screen that is not corresponding to the request to turn off mirroring can be affected. Therefore, only the screen corresponding to the request to turn off mirroring can be controlled to exit the mirroring state, rather than the screen corresponding to the request to turn off mirroring still being in the mirroring state, thereby achieving flexible display of each screen when multiple screens are mirrored.
[0012] In combination with the first aspect and the above implementations, in some implementations of the first aspect, after controlling the second screen to exit the mirroring state, the method further includes:
[0013] In response to a start request for a target object in the second screen, determine whether the target object is in a mirror state; if the target object is in a mirror state, send an identifier of the target virtual screen to the second screen so that the second screen displays the current interface displayed by the target virtual screen.
[0014] In an embodiment of the present application, after the second screen exits the mirroring state, if a start request for the target object in the second screen is responded to, it can be determined whether the target object is in the mirroring state, that is, whether the target object is mirrored at this time. When the target object is in the mirroring state, the identifier of the target virtual screen can be sent to the second screen, and there is no need to create the virtual screen corresponding to the target object again. The virtual screen used when the target object is currently mirrored can be directly used to make the second screen display the current interface displayed by the target virtual screen. Therefore, the second screen can be independently added to the sharing of the current interface of the target object without affecting the sharing of other screens, thereby further realizing the flexible display of each screen when multiple screens are mirrored.
[0015] In combination with the first aspect and the above implementation manner, in some implementation manners of the first aspect, after responding to the start request for the target object in the second screen and determining whether the target object is in a mirror state, the method further includes:
[0016] If the target object is not in a mirrored state, the target object is displayed on the second screen.
[0017] In an embodiment of the present application, after the second screen exits the mirroring state, if in response to a start request for a target object in the second screen, it is determined that the target object is not in the mirroring state, it means that the target object is not mirrored, and the target object can be directly displayed in the second screen to ensure that the target object is normally enabled in the second screen.
[0018] In combination with the first aspect and the above implementation manner, in some implementation manners of the first aspect, before sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the method further includes:
[0019] Determine whether the target screen is in a mirroring state; if the target screen is in a mirroring state, first control the target screen to exit the mirroring state, and then control the first screen and the target screen to be in a mirroring state; the above-mentioned sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, including: if the first screen and the target screen are in a mirroring state, sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0020] In an embodiment of the present application, before sending the identifier of the virtual screen to the first screen and the target screen, it can be determined whether the target screen is in a mirroring state; and when the target screen is in a mirroring state, the target screen is first exited from the mirroring state, and then the first screen and the target screen are controlled to be in a mirroring state, thereby avoiding the problem that the virtual screen corresponding to the target screen in the mirroring state is not the virtual screen corresponding to the target object, resulting in mirroring failure, thereby ensuring that the first screen and the target screen can normally display the current interface displayed by the virtual screen.
[0021] In combination with the first aspect and the above implementations, in some implementations of the first aspect, before first controlling the target screen to exit the mirroring state and then controlling the first screen and the target screen to be in the mirroring state, the method further includes:
[0022] Obtain the display interface of the target screen; the above-mentioned first controlling the target screen to exit the mirroring state, and then controlling the first screen and the target screen to be in the mirroring state, including: if the display interface is different from the current interface displayed by the target virtual screen, first controlling the target screen to exit the mirroring state, and then controlling the first screen and the target screen to be in the mirroring state.
[0023] In the embodiment of the present application, before controlling the target screen to exit the mirroring state, the current display interface of the target screen can also be obtained. When the current display interface of the target screen is different from the current interface displayed by the virtual screen, it means that the target screen is not currently mirrored to display the current interface displayed by the virtual screen, that is, the target screen is not displaying the target object in the first screen. Therefore, in order to enable the target screen to display the current interface displayed by the virtual screen, the target screen can be controlled to exit the mirroring state, and when the target screen exits the mirroring state, the first screen and the target screen are controlled to be in the mirroring state, thereby further ensuring that the first screen and the target screen can normally display the current interface displayed by the virtual screen.
[0024] In combination with the first aspect and the above implementation manner, in some implementation manners of the first aspect, sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen includes:
[0025] The identifier of the target virtual screen is sent to the first screen and the target screen at the same time, so that the first screen and the target screen simultaneously display the current interface displayed by the target virtual screen.
[0026] In an embodiment of the present application, by sending the virtual screen identifier to the first screen and the target screen at the same time, the first screen and the target screen can simultaneously display the current interface displayed by the virtual screen, so that the first screen and the target screen can display the current interface displayed by the virtual screen in synchronization, thereby improving the user experience.
[0027] In a second aspect, a multi-screen display device is provided, the device comprising:
[0028] A creation module, configured to respond to a mirroring start request for a target object in the first screen and create a target virtual screen for the target object; wherein the mirroring start request includes an identifier of the target screen to be mirrored;
[0029] A processing module, configured to migrate a current interface of the target object displayed on the first screen to a target virtual screen, so that the target virtual screen displays the current interface;
[0030] The sending module is used to send the identifier of the target virtual screen to the first screen and the target screen, so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0031] In a third aspect, an electronic device is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the electronic device executes the method in the first aspect or any possible implementation of the first aspect.
[0032] In a fourth aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0033] In a fifth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0034] In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of a multi-screen display scene in the related technology.
[0036] Figure 2 It is a flowchart of a multi-screen display method provided in an embodiment of the present application.
[0037] Figure 3 It is an interactive schematic diagram of a multi-screen display method provided in an embodiment of the present application.
[0038] Figure 4 It is a schematic diagram of the structure of a multi-screen display device provided in an embodiment of the present application.
[0039] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0041] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0042] Figure 1 It is a schematic diagram of a multi-screen display scene in the related technology.
[0043] For example, Figure 1 As shown in (a), Figure 1 (a) in the figure includes an electronic device 110, in which application software (Application, APP) 111, APP 112 and APP 113 are configured. When a user wants to share APP 111, he can long press the icon corresponding to APP 111 on the screen of the electronic device 110 to trigger a mirroring request for APP 111. When the electronic device 110 detects the mirroring request, it can display Figure 1The pop-up window 114 in (b) is used to display whether mirroring is turned on. When it is detected that the user clicks "Yes", a pop-up window 115 continues to pop up, so that the user can select the screen to be mirrored on the pop-up window 115, for example, screen 2. On the contrary, when it is detected that the user clicks "No", the pop-up window 114 is closed.
[0044] Optionally, pop-up window 114 and pop-up window 115 may also pop up on the screen of electronic device 110 at the same time, which is not limited in this embodiment of the present application.
[0045] Optionally, the gesture by which the user triggers a mirroring request for APP 111 on the screen of the electronic device 110 may be, in addition to a long press, a double click, a circle, etc., which is not limited in this embodiment of the present application.
[0046] Exemplarily, the electronic device 110 and the screen to be mirrored (i.e., screen 2) can be communicated and connected. For example, the electronic device 110 is the central control screen in the vehicle, and screen 2 is the co-pilot screen. After the user selects screen 2 on the electronic device 110, the electronic device 110 and the server corresponding to screen 2 establish a virtual screen A corresponding to the screen of the electronic device 110, and establish a virtual screen B corresponding to screen 2. The data 116 corresponding to the APP 111 is mirrored on the virtual screen A through the server, and then the mirrored data 116 displayed on the virtual screen A is mirrored twice through the server, so that the data 116 is mirrored on screen 2, and the data 116 is shared between the screen of the electronic device 110 and screen 2. It can be seen that sharing the data 116 from the screen of the electronic device 110 to the screen 2 is achieved by mirroring twice, and the data 116 always exists on the screen of the electronic device 110.
[0047] Therefore, when the user turns off mirroring on the electronic device 110 and exits the screen sharing of the electronic device 110, the data 116 displayed on the screen of the electronic device 110 will not be mirrored to the virtual screen A as the screen of the electronic device 110 exits sharing, that is, the data source of the data 116 that needs to be mirrored to the virtual screen A cannot be obtained, so that the data 116 cannot be mirrored twice, which will cause the screen 2 to be unable to display the data 116, and the sharing of the data 116 between the screen of the electronic device 110 and the screen 2 fails, which may cause the screen 2 to exit sharing as well. It should be understood that the data 116 on the screen of the electronic device 110 can also be shared to multiple screens, for example, screen 1, screen 2, and screen 3 in the above manner. And, the server corresponding to the electronic device 110 is the same as the server corresponding to the screen 2.
[0048] At this time, if data 116 still needs to be shared among screen 1, screen 2 and screen 3, a mirroring request needs to be re-triggered on any one of screens 1, screen 2 and screen 3 to realize sharing of data 116 among screen 1, screen 2 and screen 3. The flexibility of screen display is poor, which affects the user experience.
[0049] The electronic device may be a smart device with a mirroring function, including but not limited to: a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing device connected to a wireless modem, etc. Electronic devices may be called different names in different networks, such as: user equipment, access electronic device, user unit, user station, mobile station, mobile station, remote station, remote electronic device, mobile device, user electronic device, electronic device, wireless communication device, user agent or user device, cellular phone, cordless phone, 5G network or electronic device in future evolution network, etc., which is not limited by the comparison of the embodiments of the present application.
[0050] In order to solve the problem of poor screen display flexibility during multi-screen mirroring display, the present application proposes a multi-screen display method, a multi-screen display device, an electronic device and a storage medium.
[0051] Combine the following Figures 2 to 3 The multi-screen display method provided in the embodiment of the present application is described in detail.
[0052] Figure 2 1 is a flow chart of a multi-screen display method provided in an embodiment of the present application. The method can be executed by a server.
[0053] For example, Figure 2 As shown, the method 200 includes the following implementation process:
[0054] S210 , in response to a request to start mirroring of a target object in a first screen, create a target virtual screen of the target object.
[0055] The mirroring request includes the identifier of the target screen to be mirrored. The identifier may be the number, name, and location of the target screen. For example, when the target screen is the co-pilot screen, the corresponding identifier is the location "co-pilot". When the target screen is screen 2, the corresponding identifier is the number "2".
[0056] Optionally, the target object can be Figure 1 The APP 11 shown in (a) may also be an application, file, picture, video, text, etc. that the user wants to share, and this embodiment of the present application does not limit this. For ease of explanation, the following embodiment is described using a picture as the target object.
[0057] For example, when the main driving user is watching the picture 1 displayed on the central control screen (which may be referred to as the "first screen"), if he wants to share the picture 1 to the co-pilot screen, so that the co-pilot user can watch the same picture 1 as the central control screen on the co-pilot screen. The main driving user can trigger a mirroring request for the picture 1 on the central control screen, so that after receiving the mirroring request, the server responds to the mirroring request and creates a virtual screen 1 (which may be referred to as the "target virtual screen") corresponding to the picture 1. The picture 1 and the virtual screen 1 are one-to-one corresponding and are related to each other.
[0058] S220: Migrate the current interface of the target object displayed on the first screen to the target virtual screen, so that the target virtual screen displays the current interface.
[0059] Exemplarily, the data corresponding to the picture 1 displayed on the central control screen (which can be called the "current interface") can be migrated (also called "stack shift") to the above-mentioned virtual screen 1, so that the data corresponding to the picture 1 can exist on the virtual screen 1 and the picture 1 can be displayed.
[0060] Optionally, when the data corresponding to the picture 1 displayed on the central control screen is moved to the virtual screen 1, it means that the data of the picture 1 displayed on the central control screen has been moved from the central control screen to the virtual screen 1, and the data of the picture 1 is carried by the virtual screen 1, that is, the data corresponding to the picture 1 does not exist on the central control screen, but the data corresponding to the picture 1 exists on the virtual screen 1. At this time, the picture 1 is not displayed on the central control screen, and the picture 1 can be displayed through the virtual screen 1.
[0061] S230: Sending an identifier of the target virtual screen to the first screen and the target screen, so that the first screen and the target screen display a current interface displayed by the target virtual screen.
[0062] Exemplarily, the identification of virtual screen 1 can be obtained, and the identification of virtual screen 1 can be sent to the central control screen and the co-pilot screen respectively through the identification of the central control screen and the identification of the co-pilot screen, so that when the central control screen and the co-pilot screen receive the identification of virtual screen 1, they can obtain picture 1 displayed on virtual screen 1, thereby displaying picture 1 displayed on virtual screen 1.
[0063] In such Figure 2In the method 200 shown, in response to a request to start mirroring of a target object in a first screen, a virtual screen corresponding to the target object can be created, and the current interface of the target object displayed in the first screen can be migrated to the virtual screen, so that the interface of the virtual screen is the current interface of the target object displayed in the first screen, that is, the current interface is displayed in the virtual screen. When the first screen and the target screen obtain the identifier of the virtual screen, the current interface displayed by the virtual screen can be obtained, so that the current interface displayed by the virtual screen can be displayed. Compared with the prior art, the current interface of the target object displayed on the first screen is directly mirrored to the target screen, resulting in that when the screen that initiates the mirroring request (i.e., the first screen) exits the mirroring, the remaining screens (i.e., the target screen) will also exit the mirroring. This is because the relevant data of the current interface corresponding to the target object is always on the first screen. Therefore, when the first screen exits the mirroring, it will lead to the failure to obtain the data source of the current interface corresponding to the target object, and the current interface cannot be mirrored to the target screen, resulting in the problem of poor flexibility of each screen when multiple screens are mirrored. The present application migrates the current interface of the target object displayed on the first screen to the virtual screen, so that the relevant data of the current interface corresponding to the target object will exist on the virtual screen. In this way, when the first screen exits the mirroring, the target screen can still obtain the relevant data of the current interface displayed on the virtual screen through the identifier of the virtual screen, so as to display the current interface displayed on the virtual screen, and will not be affected by the exit of the first screen from the mirroring. It can be seen that the embodiment of the present application can realize the flexible display of each screen when multiple screens are mirrored.
[0064] In one possible implementation, the above-mentioned sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen includes: sending the identifier of the target virtual screen to the first screen and the target screen at the same time so that the first screen and the target screen display the current interface displayed by the target virtual screen at the same time.
[0065] For example, when sending the identifier of virtual screen 1 to the central control screen and the co-pilot screen, in order to enable the central control screen and the co-pilot screen to simultaneously display picture 1 displayed on virtual screen 1 and achieve sharing synchronization, the identifier of virtual screen 1 can be sent to the central control screen and the co-pilot screen at the same time, so that the central control screen and the co-pilot screen can receive the identifier of virtual screen 1 at the same time.
[0066] Further, when the identifier of the virtual screen 1 is received at the same time, the picture 1 displayed by the virtual screen 1 is obtained at the same time, so that the picture 1 displayed by the virtual screen 1 is displayed at the same time.
[0067] In an embodiment of the present application, by sending the virtual screen identifier to the first screen and the target screen at the same time, the first screen and the target screen can simultaneously display the current interface displayed by the virtual screen, so that the first screen and the target screen can display the current interface displayed by the virtual screen in synchronization, thereby improving the user experience.
[0068] In one possible implementation, before sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, it is determined whether the target screen is in a mirroring state; if the target screen is in a mirroring state, the target screen is first controlled to exit the mirroring state, and then the first screen and the target screen are controlled to be in a mirroring state; the above-mentioned sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen includes: if the first screen and the target screen are in a mirroring state, sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0069] For example, before sending the identifier of virtual screen 1 to the central control screen and the co-pilot screen, it is also necessary to determine whether the co-pilot screen is currently in a mirroring state, that is, whether the co-pilot screen displays the shared object of the screen other than the central control screen.
[0070] For example, the co-pilot screen is displaying picture 2 shared by the left rear screen, indicating that the co-pilot screen is currently in a mirroring state. In order to enable the co-pilot screen to display picture 1 shared by the central control screen, the co-pilot screen can be directly controlled to exit the mirroring state first, even if the co-pilot screen does not currently display picture 2. Then, when the co-pilot screen exits the mirroring state, the co-pilot screen of the central control screen is controlled to enter the mirroring state, so that both the co-pilot screen of the central control screen and the co-pilot screen are in a mirroring state. Moreover, when the co-pilot screen of the central control screen is in a mirroring state, the identifier of virtual screen 1 is sent to the central control screen and the co-pilot screen, so that when the central control screen and the co-pilot screen receive the identifier of virtual screen 1, they can obtain picture 1 displayed on virtual screen 1, thereby displaying picture 1 displayed on virtual screen 1.
[0071] Optionally, when the co-pilot screen exits the mirroring state, the co-pilot screen of the central control screen can be controlled to enter the mirroring state at the same time, so that the co-pilot screen of the central control screen is in the mirroring state at the same time, thereby simultaneously sending the identification of virtual screen 1 to the central control screen and the co-pilot screen, so that the central control screen and the co-pilot screen can receive the identification of virtual screen 1 at the same time.
[0072] In an embodiment of the present application, before sending the identifier of the virtual screen to the first screen and the target screen, it can be determined whether the target screen is in a mirroring state; and when the target screen is in a mirroring state, the target screen is first exited from the mirroring state, and then the first screen and the target screen are controlled to be in a mirroring state, thereby avoiding the problem that the virtual screen corresponding to the target screen in the mirroring state is not the virtual screen corresponding to the target object, resulting in mirroring failure, thereby ensuring that the first screen and the target screen can normally display the current interface displayed by the virtual screen.
[0073] Furthermore, before first controlling the target screen to exit the mirroring state and then controlling the first screen and the target screen to be in the mirroring state, the display interface of the target screen is obtained; the above-mentioned first controlling the target screen to exit the mirroring state and then controlling the first screen and the target screen to be in the mirroring state includes: if the display interface is different from the current interface displayed by the target virtual screen, first controlling the target screen to exit the mirroring state, and then controlling the first screen and the target screen to be in the mirroring state.
[0074] Exemplarily, before controlling the co-pilot screen to exit the mirror state, the current display interface of the co-pilot screen (which may be referred to as "display interface A") may be obtained, and it may be determined whether the display interface is the same as the display interface of the virtual screen 1 (which may be referred to as "display interface B"). When display interface A is different from real interface B, the co-pilot screen may be controlled to exit the mirror state first, and when the co-pilot screen exits the mirror state, the co-pilot screen of the central control screen may be controlled to enter the mirror state, so that both the co-pilot screen of the central control screen are in the mirror state. That is, when the co-pilot screen exits the mirror state, it does not exit directly, but needs to exit the mirror state when the display interface A corresponding to the co-pilot screen and the display interface B corresponding to the virtual screen 1 are different.
[0075] Also, since the display objects of the co-pilot screen and virtual screen 1 are different, it means that the co-pilot screen is using virtual screen 2 corresponding to picture 2 to mirror picture 2, and the virtual screen 2 cannot mirror picture 1 to the central control screen and co-pilot screen. Therefore, it is necessary to control the co-pilot screen to exit the mirroring state first.
[0076] Optionally, a display object in display interface A may be obtained to determine whether the display object is the same as picture 1 on display interface B of virtual screen 1 .
[0077] For example, the display object of display interface A is picture 2 instead of picture 1, that is, the display object of display interface A is different from the display object of virtual screen 1, which means that the display interface A corresponding to the co-pilot screen is different from the display interface B corresponding to virtual screen 1. Therefore, in order to enable the co-pilot screen to display picture 1 displayed on virtual screen 1, the co-pilot screen can be controlled to exit the mirror state first, and when the co-pilot screen exits the mirror state, the co-pilot screen of the central control screen can be controlled to enter the mirror state, so that both the co-pilot screen of the central control screen are in the mirror state.
[0078] For another example, the display object of display interface A is picture 1, that is, the display object of display interface A is the same as the display object of virtual screen 1, which means that the display interface A corresponding to the co-pilot screen is the same as the display interface B corresponding to virtual screen 1. At this time, the co-pilot screen can be controlled to exit the mirror state and remain in the mirror state. Furthermore, the central control screen can be controlled to enter the mirror state separately, and when the central control screen enters the mirror state, the identifier of virtual screen 1 is sent to the central control screen, so that when the central control screen receives the identifier of virtual screen 1, it can obtain picture 1 displayed on virtual screen 1, thereby displaying picture 1 displayed on virtual screen 1.
[0079] Furthermore, since the display objects of the co-pilot screen and virtual screen 1 are both picture 1, it means that the co-pilot screen is using virtual screen 1 corresponding to picture 1 to mirror picture 1, and the virtual screen 1 can also mirror picture 1 to the central control screen. Therefore, the co-pilot screen can be controlled to exit the mirroring state.
[0080] In the embodiment of the present application, before controlling the target screen to exit the mirroring state, the current display interface of the target screen can also be obtained. When the current display interface of the target screen is different from the current interface displayed by the virtual screen, it means that the target screen is not currently mirrored to display the current interface displayed by the virtual screen, that is, the target screen is not displaying the target object in the first screen. Therefore, in order to enable the target screen to display the current interface displayed by the virtual screen, the target screen can be controlled to exit the mirroring state, and when the target screen exits the mirroring state, the first screen and the target screen are controlled to be in the mirroring state, thereby further ensuring that the first screen and the target screen can normally display the current interface displayed by the virtual screen.
[0081] Optionally, after sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, a request to close mirroring for the target object can be responded to, and the identifier of the second screen corresponding to the request to close mirroring can be obtained; wherein the second screen is at least one of the first screen and / or the target screen; based on the identifier of the second screen, the second screen is controlled to exit the mirroring state; and screens other than the second screen are controlled to be in the mirroring state.
[0082] Optionally, when there are multiple target screens, for example, one or more of a co-pilot screen, a left rear screen, and a right rear screen.
[0083] For example, when the central control screen, the co-pilot screen, the left rear screen, and the right rear screen display the picture 1 displayed on the virtual screen 1, if the main driving user corresponding to the central control screen wants to navigate the route through the central control screen, the control button for exiting the mirroring state can be clicked on the central control screen to trigger a request to close the mirroring for the picture 1. When the server receives the request to close the mirroring for the picture 1 from the central control screen, it can respond to the request to close the mirroring and obtain the identifier of the central control screen (which can be called the "second screen") that triggers the request to close the mirroring.
[0084] Further, the central control screen is controlled to exit the mirror state through the identification of the central control screen. At this time, the co-pilot screen, the left rear screen and the right rear screen still have the need to display the picture 1 displayed on the virtual screen 1. In order to ensure that the co-pilot screen, the left rear screen and the right rear screen can normally display the picture 1 displayed on the virtual screen 1, the co-pilot screen, the left rear screen and the right rear screen can be controlled to remain in the mirror state to display the picture 1 displayed on the virtual screen 1. This is because the data of the picture 1 has been moved from the central control screen to the virtual screen 1, and the data of the picture 1 is carried by the virtual screen 1. Therefore, when the central control screen exits the mirror state, it will not affect the mirror state of the co-pilot screen, the left rear screen and the right rear screen, and the co-pilot screen, the left rear screen and the right rear screen can still normally display the picture 1 displayed on the virtual screen 1. It can be understood that one or more of the central control screen, the co-pilot screen, the left rear screen and the right rear screen can independently exit the mirror state, and will not affect the screen that still needs to be in the mirror state.
[0085] For example, when the second screen is the central control screen, the central control screen can be controlled to exit the mirroring state, while the co-pilot screen, the left rear screen and the right rear screen are still controlled to be in the mirroring state.
[0086] For another example, when the second screen is the central control screen and the co-pilot screen, the central control screen and the co-pilot screen can be controlled to exit the mirroring state, while the left rear screen and the right rear screen are still controlled to be in the mirroring state.
[0087] In an embodiment of the present application, in response to a request to turn off mirroring for a target object, an identifier of the screen corresponding to the request to turn off mirroring is obtained. Since the current interface of the target object displayed on the first screen is migrated to the virtual screen, when the screen corresponding to the request to turn off mirroring exits the mirroring state, the mirroring state of the screen that is not corresponding to the request to turn off mirroring can be affected. Therefore, only the screen corresponding to the request to turn off mirroring can be controlled to exit the mirroring state, rather than the screen corresponding to the request to turn off mirroring still being in the mirroring state, thereby achieving flexible display of each screen when multiple screens are mirrored.
[0088] It should be noted that the embodiments of the present application can be applied to electronic devices using the Android Open Source Project (AOSP), and can also be applied to electronic devices using systems such as macOS Sonoma, HarmonyOS, OriginOS, FlymeOS and ColorOS, but the embodiments of the present application are not limited to this.
[0089] In one possible implementation, after controlling the second screen to exit the mirroring state, the method also includes: responding to a start request for a target object in the second screen, and determining whether the target object is in a mirroring state; if the target object is in a mirroring state, sending an identifier of the target virtual screen to the second screen so that the second screen displays the current interface displayed by the target virtual screen.
[0090] Exemplarily, after the above-mentioned second screen (for example, the central control screen) exits the mirroring state, if the user clicks on the central control screen to start the request (i.e., display request) for Picture 1, so that the server can respond to the start request after receiving the start request, and determine whether Picture 1 is in the mirror of a non-central control screen. For example, the co-pilot screen and the left rear screen are mirroring Picture 1, which means that Picture 1 is in the mirroring state; or, any screen in the vehicle is not mirroring Picture 1, which means that Picture 1 is not in the mirroring state at this time.
[0091] Furthermore, when it is determined that the image 1 is in a mirroring state, it means that the virtual screen 1 corresponding to the image 1 has been created, and the data corresponding to the image 1 has been migrated to the virtual screen 1. Therefore, the identifier corresponding to the virtual screen 1 can be directly sent to the central control screen, so that when the central control screen receives the identifier of the virtual screen 1, it can obtain the image 1 displayed on the virtual screen 1, thereby displaying the image 1 displayed on the virtual screen 1. It is not necessary to create the virtual screen 1 corresponding to the image 1 again, and the virtual screen 1 being used when the image 1 is in a mirroring state can be directly used, so that the central control screen can actively join the sharing of the image 1 without affecting the sharing of other screens, and further realize the flexible display of each screen when multiple screens are mirrored. In addition, it can also reduce the process of creating the virtual screen 1 corresponding to the image 1 and migrating the data of the image 1 to the virtual screen 1, thereby simplifying the display process of displaying the image 1 on the central control screen, which is conducive to improving the display speed of the multi-screen display.
[0092] In an embodiment of the present application, after the second screen exits the mirroring state, if a start request for the target object in the second screen is responded to, it can be determined whether the target object is in the mirroring state, that is, whether the target object is mirrored at this time. When the target object is in the mirroring state, the identifier of the target virtual screen can be sent to the second screen, and there is no need to create the virtual screen corresponding to the target object again. The virtual screen used when the target object is currently mirrored can be directly used to make the second screen display the current interface displayed by the target virtual screen. Therefore, the second screen can be independently added to the sharing of the current interface of the target object without affecting the sharing of other screens, thereby further realizing the flexible display of each screen when multiple screens are mirrored.
[0093] Optionally, in response to a start request for a target object in the second screen, after determining whether the target object is in a mirror state, if the target object is not in a mirror state, the target object is displayed in the second screen.
[0094] Exemplarily, when Picture 1 is not in a mirrored state, it means that Picture 1 is not mirrored on any screen in the vehicle at this time. In response to a display request for Picture 1, Picture 1 is displayed normally on the central control screen; Picture 1 displayed on the virtual screen 1 after mirroring is not displayed to ensure that Picture 1 is displayed normally on the central control screen.
[0095] In an embodiment of the present application, after the second screen exits the mirroring state, if in response to a start request for a target object in the second screen, it is determined that the target object is not in the mirroring state, it means that the target object is not mirrored, and the target object can be directly displayed in the second screen to ensure that the target object is normally enabled in the second screen.
[0096] Figure 3It is an interactive schematic diagram of a multi-screen display method provided by an embodiment of the present application. Among them, the server is respectively connected to the central control screen and the co-pilot screen for data transmission.
[0097] For example, Figure 3 As shown, the method 300 is shown as follows:
[0098] S301, when receiving a request to start mirroring of the picture 1 displayed on the central control screen, a query pop-up window is popped up.
[0099] For example, when the main driver wants to share the picture 1 currently displayed on the central control screen to the co-driver screen, a mirroring request for the picture 1 can be triggered on the central control screen. The console corresponding to the central control screen can pop up the following when detecting the mirroring request for the picture 1 currently displayed on the central control screen: Figure 1 Inquiry pop-up window 114 and inquiry pop-up window 115 shown in (b) in FIG.
[0100] Among them, the console can be a control APP, control component or control code with a mirroring function on the central control screen.
[0101] S302, when a selection of a co-pilot screen to be mirrored corresponding to the picture 1 displayed on the central control screen is received in the inquiry pop-up window, an identifier of the co-pilot screen is obtained.
[0102] Exemplarily, when an inquiry pop-up window 114 pops up on the central control screen, if the console of the central control screen detects that the user clicks “Yes” on the inquiry pop-up window 114 , the central control screen can be controlled to continue to pop up an inquiry pop-up window 115 so that the user can select the screen to be mirrored on the inquiry pop-up window 115 .
[0103] Furthermore, when the console of the central control screen detects that the user selects the co-pilot screen in the inquiry pop-up window 115, the identifier corresponding to the co-pilot screen can be obtained.
[0104] S303, sending a request to start mirroring, as well as the respective identifiers of the central control screen and the co-pilot screen.
[0105] Exemplarily, the console of the central control screen can send a request to start mirroring of the picture 1 displayed on the central control screen, as well as the corresponding identifiers of the central control screen and the co-pilot screen to the server.
[0106] S304 , when receiving a request to start mirroring, creating a virtual screen 1 corresponding to the image 1 .
[0107] Exemplarily, when the server receives a request to start mirroring of the picture 1 displayed on the central control screen, in order to ensure that the picture 1 can be normally shared between the central control screen and the co-pilot screen, a virtual screen 1 corresponding to the picture 1 can be created.
[0108] Optionally, the server can create a virtual screen 1 corresponding to the picture 1 through DisplayManager. DisplayManager is a class used to manage and operate display devices in an electronic device system and can provide a series of methods to handle display-related tasks, such as creating a virtual screen.
[0109] For example, the createVirtualDisplay(String name, int width, int height, int density, Surface surface, int flags, VirtualDisplay.Callback callback, Handler handler) method can be used to create virtual display 1.
[0110] It should be noted that the virtual screen 1 represents a virtual display device in the system of the electronic device and is not mapped to any actual hardware display, but exists at the software level and can be used to receive and display graphic output content.
[0111] S305, sending an access request to data 1 corresponding to picture 1 displayed on the central control screen.
[0112] Exemplarily, when the server completes the creation of the virtual screen 1, it can send an access request for the data 1 corresponding to the picture 1 displayed on the central control screen to the central control screen based on the identifier of the central control screen.
[0113] S306, sending data 1.
[0114] Exemplarily, when the console of the central control screen receives an access request for data 1 sent by the server, the console can send data 1 to the server.
[0115] S307 , when data 1 is received, data 1 is moved from the central control screen to the virtual screen 1 to display picture 1 on the virtual screen 1 .
[0116] Exemplarily, when the server receives data 1 sent by the console of the central control screen, the server can move the data 1 from the central control screen to the virtual screen 1 to display the picture 1 on the virtual screen 1.
[0117] S308, determine whether the co-pilot screen is in a mirroring state. If not, execute S309 and S310; if yes, execute S312.
[0118] Exemplarily, when the server moves data 1 from the central control screen to the virtual screen 1, the current state of the co-pilot screen can be obtained to determine whether the co-pilot screen is currently in a mirroring state.
[0119] S309: Send a request to start the mirror component.
[0120] For example, if the server determines through S308 that the co-pilot screen is not currently in a mirroring state, it can send a request to start the mirroring Activity to the console of the central control screen based on the identification of the central control screen. Among them, Activity is a core component in the electronic device system, responsible for the visual interface unit that interacts with the user, and carries the display of the screen layout and the response to user events.
[0121] S310, sending a request to start the mirror component.
[0122] Exemplarily, if the server determines through S308 that the co-pilot screen is not currently in a mirroring state, it can send a request to start the mirroring Activity to the console of the co-pilot screen based on the identification of the co-pilot screen.
[0123] S311, responding to the start request, starting the mirror component to call the mirrorDisplay method in the mirror component.
[0124] Exemplarily, when the console of the central control screen receives a request to start the mirrored Activity sent by the server, it can respond to the start request, start the mirrored Activity, and call the mirrorDisplay method of WindowManagerService in the mirrored Activity. Among them, WindowManagerService is a core service component in the electronic device system architecture, located in the system service layer, responsible for managing and controlling the display of all application windows. The mirrorDisplay method can copy the content on the virtual screen to the physical screen (for example, the central control screen, the co-pilot screen) to realize the function of multi-screen synchronous display.
[0125] Optionally, after the console of the central control screen starts the mirroring Activity, the central control screen is in the mirroring state, and the console of the central control screen calls the onStart method, in which the information that the central control screen is in the mirroring state is sent to the server, so that when the server receives the information that the central control screen is in the mirroring state, it records that the central control screen is in the mirroring state. Among them, the onStart method is a method in the Activity life cycle, which is used to indicate that it is called when an Activity changes from an invisible state to a visible state.
[0126] S312, responding to the start request, starting the mirror component to call the mirrorDisplay method in the mirror component.
[0127] Exemplarily, when the console of the co-pilot screen receives a request to start the mirroring Activity sent by the server, it can respond to the start request, start the mirroring Activity, and call the mirrorDisplay method of WindowManagerService in the mirroring Activity.
[0128] Optionally, after the console of the co-pilot screen starts the mirroring Activity, the co-pilot screen is in a mirroring state, and the console of the co-pilot screen calls the onStart method, in which the information that the co-pilot screen is in a mirroring state is sent to the server, so that when the server receives the information that the co-pilot screen is in a mirroring state, it records the fact that the co-pilot screen is in a mirroring state.
[0129] S313, determining whether the display object on the display interface of the co-pilot screen is picture 1. If so, executing S309; if not, executing S316.
[0130] For example, if the server determines that the co-pilot screen is currently in a mirroring state through S308, the display object on the current display interface of the co-pilot screen can be obtained. Then, it is determined whether the display object on the current display interface of the co-pilot screen is picture 1.
[0131] Optionally, when the server determines that the display object on the current display interface of the co-pilot screen is picture 1, it can execute S309 to send a request to start the mirroring Activity to the console of the central control screen.
[0132] S314, sending a request to close the mirror component.
[0133] Exemplarily, if the server determines through S313 that the display object on the current display interface of the co-pilot screen is not Picture 1, a request to close the mirrored Activity can be sent to the console of the co-pilot screen based on the identification of the co-pilot screen.
[0134] S315, responding to the closing request, closing the mirror component.
[0135] Exemplarily, when the console of the co-pilot screen receives a request to close the mirrored Activity sent by the server, it can respond to the request and close the mirrored Activity.
[0136] Optionally, after the console of the co-pilot screen closes the mirroring Activity, the co-pilot screen exits the mirroring state, and the console of the co-pilot screen calls the onStop method, in which the information that the co-pilot screen exits the mirroring state is sent to the server, so that when the server receives the information that the co-pilot screen exits the mirroring state, it records that the co-pilot screen is in the mirroring state. Among them, the onStart method is a method in the Activity life cycle, which is used to indicate that it is called when an Activity changes from a visible state to an invisible state.
[0137] S316, sending a request to start the mirror component, and executing S312.
[0138] For example, when the server receives the information that the co-pilot screen exits the mirroring state from the console of the co-pilot screen, it can send a request to start the mirroring Activity to the co-pilot screen based on the identifier of the co-pilot screen. Then, S314 is executed, and the console of the co-pilot screen responds to the request to start the mirroring Activity, starts the mirroring Activity, and calls the mirrorDisplay method in the mirroring Activity.
[0139] S317, sending the identifier of virtual screen 1.
[0140] Exemplarily, when both the central control screen and the co-pilot screen are in a mirrored state, the server can send the identifier of virtual screen 1 to the console of the central control screen and the console of the co-pilot screen respectively based on the identifier of the central control screen and the identifier of the co-pilot screen.
[0141] S318 , in the mirrorDisplay method, based on the identifier of the virtual screen 1 , the picture 1 in the virtual screen 1 is mirrored to the central control screen, so that the central control screen displays the picture 1 in the virtual screen 1 .
[0142] Exemplarily, when the console of the central control screen receives the identifier of virtual screen 1 sent by the server, it can mirror picture 1 in virtual screen 1 based on the identifier of virtual screen 1 in the mirrorDisplay method to mirror picture 1 in virtual screen 1 to the central control screen, thereby displaying picture 1 in virtual screen 1 on the central control screen.
[0143] S319, in the mirrorDisplay method, based on the identifier of the virtual screen 1, the picture 1 in the virtual screen 1 is mirrored to the co-pilot screen, so that the co-pilot screen displays the picture 1 in the virtual screen 1.
[0144] Exemplarily, when the console of the co-pilot screen receives the identifier of virtual screen 1 sent by the server, it can mirror picture 1 in virtual screen 1 based on the identifier of virtual screen 1 in the mirrorDisplay method to mirror picture 1 in virtual screen 1 to the co-pilot screen, thereby displaying picture 1 in virtual screen 1 on the co-pilot screen.
[0145] Illustratively, by breaking the boundaries of a single screen through the above-mentioned embodiments, seamless flow and synchronous playback of operations such as picture 1, volume adjustment, video switching, fast forward or playback can be achieved between the central control screen and the co-pilot screen, maintaining the smoothness of shared content and consistency of visual effects, thereby transforming the vehicle cabin into an intelligent and warm "mobile living room", which is conducive to emotional communication between vehicle users and increases the fun of the journey.
[0146] S320: When a request to close the mirroring of the picture 1 displayed on the central control screen is received, a query pop-up window is popped up.
[0147] For example, when the main driver wants to exit the current mirroring of the central control screen, he can click the control button (e.g., back / home) on the central control screen to exit the mirroring state, so as to trigger a request to close the mirroring of picture 1. When the console of the central control screen detects the request to close the mirroring, a pop-up window such as Figure 1 The inquiry pop-up window 114 and the inquiry pop-up window 115 shown in (b) are used to allow the main driving user to choose whether to exit the mirroring, and to choose to exit the current mirroring screen.
[0148] S321, when a selection of a central control screen is received in the inquiry pop-up window, an identifier of the central control screen is obtained.
[0149] Exemplarily, when an inquiry pop-up window 114 pops up on the central control screen, if the console of the central control screen detects that the user clicks “No” on the inquiry pop-up window 114 , the central control screen can be controlled to continue to pop up an inquiry pop-up window 115 so that the user can choose to exit the mirrored screen on the inquiry pop-up window 115 .
[0150] Furthermore, when the console of the central control screen detects that the user selects the central control screen in the inquiry pop-up window 115 , the identifier corresponding to the central control screen can be obtained.
[0151] S322, sending a request to close mirroring and an identification of the co-pilot screen.
[0152] Exemplarily, the console of the central control screen may send a request to close mirroring of picture 1 and an identifier of the central control screen to the server.
[0153] S323, sending a request to close the mirror component.
[0154] Exemplarily, when the server receives a request to close the mirroring of picture 1 sent by the console of the central control screen, the server may send a request to close the mirroring Activity to the central control screen.
[0155] S324, responding to the close request, closing the mirror component, and exiting the mirror state.
[0156] Exemplarily, when the console of the central control screen receives a request to close the mirroring Activity sent by the server, it can respond to the request to close the mirroring Activity.
[0157] Optionally, after the console of the central control screen closes the mirroring Activity, the central control screen exits the mirroring state, and the console of the central control screen calls the onStop method, in which the information that the central control screen exits the mirroring state is sent to the server, so that when the server receives the information that the central control screen exits the mirroring state, it records that the central control screen is in the mirroring state.
[0158] S325, detecting a display request for picture 1 displayed on the central control screen.
[0159] Exemplarily, after the central control screen exits the mirroring state, if the console of the central control screen detects a user's request to display the picture 1 displayed on the central control screen.
[0160] S326, sending a display request and the identification of the central control screen.
[0161] Exemplarily, when a display request for the picture 1 displayed on the central control screen is detected, the console of the central control screen may send the display request and an identifier corresponding to the central control screen to the server.
[0162] S327, determine whether the image 1 is in a mirror state. If not, execute S328; if yes, execute S317.
[0163] Exemplarily, when the server receives a display request for Picture 1 sent by the console of the central control screen and an identifier corresponding to the central control screen, the server can determine whether Picture 1 is in a mirroring state.
[0164] S328, sending a display instruction.
[0165] Exemplarily, if it is determined through S327 that picture 1 is not in a mirroring state, the server may respond to a display request corresponding to picture 1 and send a display instruction corresponding to picture 1 to the console of the central control screen through an identifier corresponding to the central control screen.
[0166] Exemplarily, if it is determined through S327 that picture 1 is in a mirroring state, S317 may be executed in a loop, and the server may send the identifier of virtual screen 1 to the console of the central control screen based on the identifier of the central control screen.
[0167] S329, respond to the display instruction and display picture 1 on the central control screen.
[0168] Exemplarily, when the console of the central control screen receives a display instruction corresponding to Picture 1 sent by the server, the console of the central control screen can respond to the display instruction and display Picture 1 on the central control screen.
[0169] It should be noted that, for the sake of ease of description, the above-mentioned embodiments are described with reference to the central control screen and the co-pilot screen. The above-mentioned embodiments can also be used in any screen in the vehicle, for example, at least two of the central control screen, the co-pilot screen, the left rear screen, the right rear screen and the ceiling screen.
[0170] It should be noted that Figure 3 All steps in Figure 2 The corresponding embodiments are described in detail in the embodiment, which will not be repeated here.
[0171] It should be understood that the above examples are intended to help those skilled in the art understand the embodiments of the present application, rather than to limit the embodiments of the present application to the specific numerical values or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.
[0172] Combination of the above Figures 1 to 3 The multi-screen display method provided by the embodiment of the present application is described in detail; Figure 4 and Figure 5 The device embodiments of the present application are described in detail. It should be understood that the device in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.
[0173] Figure 4 It is a schematic diagram of the structure of a multi-screen display device provided in an embodiment of the present application.
[0174] For example, Figure 4 As shown, the device 400 includes:
[0175] A creation module 410 is used to respond to a mirroring start request for a target object in the first screen and create a target virtual screen for the target object; wherein the mirroring start request includes an identifier of the target screen to be mirrored;
[0176] A processing module 420 is used to migrate the current interface of the target object displayed on the first screen to the target virtual screen, so that the target virtual screen displays the current interface;
[0177] The sending module 430 is used to send the identifier of the target virtual screen to the first screen and the target screen, so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0178] In one possible implementation, after sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the processing module 420 is also used to: respond to a request to close mirroring for the target object, and obtain the identifier of the second screen corresponding to the request to close mirroring; wherein the second screen is at least one of the first screen and / or the target screen; based on the identifier of the second screen, control the second screen to exit the mirroring state; and control screens other than the second screen to be in the mirroring state.
[0179] In one possible implementation, after controlling the second screen to exit the mirroring state, the processing module 420 is also used to: respond to a start request for a target object in the second screen, and determine whether the target object is in a mirroring state; if the target object is in a mirroring state, send an identifier of the target virtual screen to the second screen so that the second screen displays the current interface displayed by the target virtual screen.
[0180] In a possible implementation, in response to a start request for a target object in the second screen and after determining whether the target object is in a mirror state, the processing module 420 is further used to: if the target object is not in a mirror state, display the target object in the second screen.
[0181] In one possible implementation, before sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the processing module 420 is also used to: determine whether the target screen is in a mirroring state; if the target screen is in a mirroring state, first control the target screen to exit the mirroring state, and then control the first screen and the target screen to be in a mirroring state; the sending module 430 is specifically used to: if the first screen and the target screen are in a mirroring state, send the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen.
[0182] In one possible implementation, before first controlling the target screen to exit the mirroring state and then controlling the first screen and the target screen to be in the mirroring state, the processing module 420 also obtains the display interface of the target screen; the sending module 430 is specifically used for: if the display interface is different from the current interface displayed by the target virtual screen, first controlling the target screen to exit the mirroring state, and then controlling the first screen and the target screen to be in the mirroring state.
[0183] In a possible implementation, the sending module 430 is specifically configured to send the identifier of the target virtual screen to the first screen and the target screen at the same time, so that the first screen and the target screen simultaneously display the current interface displayed by the target virtual screen.
[0184] It should be noted that the above device 400 is embodied in the form of a functional module. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0185] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0186] Therefore, the modules of each example described in the embodiments of the present application can be implemented by electronic hardware, or 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 can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0187] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0188] For example, Figure 5 As shown, the electronic device 500 includes: a memory 510 and a processor 520, wherein the memory 510 stores an executable program code 5101, and the processor 520 is used to call and execute the executable program code 5101 to perform a multi-screen display method.
[0189] The present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0190] In the case of dividing each functional module according to each function, the electronic device may include: a creation module, a processing module and a sending module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0191] The electronic device provided in the present application is used to execute the above-mentioned multi-screen display method, and thus can achieve the same effect as the above-mentioned implementation method.
[0192] In the case of an integrated unit, the electronic device may include a processing module and a storage module. The processing module may be used to control and manage the actions of the electronic device. The storage module may be used to support the electronic device in executing related program codes and data.
[0193] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0194] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method of any of the above embodiments are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD (Digital Video Disc), a CD-ROM (Compact Disc Read-Only Memory), a micro drive and a magneto-optical disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), a DRAM (Dynamic Random Access Memory), a VRAM (Video Random Access Memory), a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0195] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a multi-screen display method in the above-mentioned embodiment.
[0196] In addition, the electronic device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the electronic device may include a connected processor and a memory; wherein the memory is used to store instructions, and when the electronic device is running, the processor may call and execute the instructions so that the chip executes a multi-screen display method in the above-mentioned embodiments.
[0197] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0198] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0199] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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.
[0200] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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 multi-screen display method, characterized in that: The method comprises: In response to a mirroring start request for a target object in the first screen, a target virtual screen of the target object is created; wherein the mirroring start request includes an identifier of the target screen to be mirrored; Migrating the current interface of the target object displayed on the first screen to the target virtual screen, so that the target virtual screen displays the current interface; The identifier of the target virtual screen is sent to the first screen and the target screen, so that the first screen and the target screen display the current interface displayed by the target virtual screen.
2. The method according to claim 1, characterized in that After sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the method further includes: In response to a request to close mirroring for the target object, an identifier of a second screen corresponding to the request to close mirroring is obtained; wherein the second screen is at least one of the first screen and / or the target screen; Based on the identification of the second screen, the second screen is controlled to exit the mirroring state; and screens other than the second screen are controlled to be in the mirroring state.
3. The method according to claim 2, characterized in that After controlling the second screen to exit the mirroring state, the method further includes: In response to a start request for the target object in the second screen, determining whether the target object is in the mirror state; If the target object is in the mirroring state, the identifier of the target virtual screen is sent to the second screen, so that the second screen displays the current interface displayed by the target virtual screen.
4. The method according to claim 3, characterized in that After responding to the start request for the target object in the second screen and determining whether the target object is in the mirror state, the method further includes: If the target object is not in the mirror state, the target object is displayed on the second screen.
5. The method according to any one of claims 1 to 4, characterized in that Before sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen, the method further includes: Determining whether the target screen is in the mirroring state; If the target screen is in the mirroring state, first control the target screen to exit the mirroring state, and then control the first screen and the target screen to be in the mirroring state; The sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen includes: If the first screen and the target screen are in the mirroring state, the identifier of the target virtual screen is sent to the first screen and the target screen, so that the first screen and the target screen display the current interface displayed by the target virtual screen.
6. The method according to claim 5, characterized in that Before first controlling the target screen to exit the mirroring state and then controlling the first screen and the target screen to be in the mirroring state, the method further includes: Acquire the display interface of the target screen; The step of first controlling the target screen to exit the mirroring state, and then controlling the first screen and the target screen to be in the mirroring state, includes: If the display interface is different from the current interface displayed by the target virtual screen, the target screen is first controlled to exit the mirroring state, and then the first screen and the target screen are controlled to be in the mirroring state.
7. The method according to any one of claims 1 to 4, characterized in that The sending the identifier of the target virtual screen to the first screen and the target screen so that the first screen and the target screen display the current interface displayed by the target virtual screen includes: The identifier of the target virtual screen is sent to the first screen and the target screen at the same time, so that the first screen and the target screen simultaneously display the current interface displayed by the target virtual screen.
8. A multi-screen display device, characterized in that: The device comprises: A creation module, configured to respond to a mirroring start request for a target object in a first screen and create a target virtual screen for the target object; wherein the mirroring start request includes an identifier of the target screen to be mirrored; A processing module, configured to migrate a current interface of the target object displayed on the first screen to the target virtual screen, so that the target virtual screen displays the current interface; The sending module is used to send the identifier of the target virtual screen to the first screen and the target screen, so that the first screen and the target screen display the current interface displayed by the target virtual screen.
9. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
