Multi-screen projection method and device, electronic equipment and vehicle
By creating a virtual device and broadcasting information on the multi-screen projection receiving end to generate a device list, the problem of users manually switching screens is solved, and the simplified operation of directly selecting the projection screen is achieved and the user experience is improved.
Patent Information
- Application Number
- CN202510824815.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-09-26
AI Technical Summary
In a multi-screen projection receiver, the user needs to manually switch the projection content to the target screen, which makes the operation complicated and affects the user experience.
By creating a virtual device corresponding to each screen on the screen projection receiving end and broadcasting the virtual device information within the local area network, a virtual device list is generated. Users can directly select the target screen in the list for projection.
It simplifies the screen projection operation, improves the user experience, avoids the complexity of manual screen switching, and ensures that the projected content is displayed directly on the screen selected by the user.
Smart Images

Figure CN120711216A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent interaction technology, and in particular to a multi-screen projection method, device, electronic device and vehicle. Background Art
[0002] The Digital Living Network Alliance (DLNA) protocol is a standard for content sharing and screen mirroring between multimedia devices within a local area network (LAN). To minimize performance issues on the receiver, existing DLNA-based screen mirroring typically involves enabling a Universal Plug and Play (UPnP) service. This service automatically discovers other DLNA-supported devices on the same LAN, enabling screen mirroring between the receiver and the other devices.
[0003] However, when there are multiple screens (such as screen A and screen B) on the screen projection receiving end, if the screen projection receiving end enables the screen projection application on screen A, but the user wants to project the screen on screen B, after the screen projection sending end sends the screen projection instruction to the screen projection receiving end, the screen projection receiving end can only display the projected content on screen A where the screen projection application is enabled. Then, the user manually switches the projected content from screen A to screen B, which results in complicated operations and affects the user experience. Summary of the Invention
[0004] In order to solve the above technical problems, the present disclosure provides a multi-screen projection method, device, electronic device and vehicle.
[0005] A first aspect of an embodiment of the present disclosure provides a multi-screen projection method, which is applied to a projection receiving terminal, where the projection receiving terminal includes at least two screens, including:
[0006] In response to the target application having the screen projection function being enabled, creating a virtual device corresponding to each screen respectively;
[0007] Broadcasting virtual device information corresponding to the virtual device in the local area network so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list;
[0008] Receive screen projection instructions, which include projection content and target virtual device information;
[0009] The screen projection content is displayed on the target screen corresponding to the target virtual device information.
[0010] In some embodiments of the present disclosure, in response to activation of a target application with a screen projection function, creating a virtual device corresponding to each screen includes:
[0011] In response to the target application having the screen projection function being enabled, determining a virtual device name corresponding to each screen;
[0012] A virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name.
[0013] In some embodiments of the present disclosure, determining the virtual device name corresponding to each screen includes:
[0014] Obtain the first identification information of the screen projection receiving end and the second identification information corresponding to each screen;
[0015] A virtual device name corresponding to each screen is generated based on the first identification information, the second identification information and a preset naming rule.
[0016] In some embodiments of the present disclosure, creating a virtual device corresponding to each screen based on the Universal Plug and Play service and the virtual device name includes:
[0017] The device name field in the preset configuration file is modified based on the universal plug and play service to obtain the modified configuration file, and a virtual device corresponding to each screen is created according to the modified configuration file.
[0018] In some embodiments of the present disclosure, before displaying the projected content on the target screen corresponding to the target virtual device information, the method further includes:
[0019] Determine the state of the target screen;
[0020] When the target screen is closed, control the target screen to open.
[0021] In some embodiments of the present disclosure, after creating a virtual device corresponding to each screen, the method further includes:
[0022] For each virtual device, control the target application to send a port acquisition request to the corresponding gateway device in the local area network;
[0023] Receive the target port number returned by the gateway device in response to the port acquisition request;
[0024] Set the target port number to the port number corresponding to the virtual device.
[0025] In some embodiments of the present disclosure, the method further includes:
[0026] Broadcast the port number within the LAN.
[0027] A second aspect of an embodiment of the present disclosure provides a multi-screen projection device, which is applied to a projection receiving terminal, wherein the projection receiving terminal is provided with at least two screens, including:
[0028] A virtual device creation module, configured to create a virtual device corresponding to each screen in response to activation of a target application with a screen projection function;
[0029] A virtual device broadcast module, configured to broadcast virtual device information corresponding to a virtual device within a local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to a user selecting a screen in the virtual device list;
[0030] A screen projection instruction receiving module is used to receive a screen projection instruction, which includes the projection content and target virtual device information;
[0031] The screen projection display module is used to project and display the projection content on the target screen corresponding to the target virtual device information.
[0032] In some embodiments of the present disclosure, the virtual device creation module is specifically configured to determine the virtual device name corresponding to each screen in response to activation of a target application with a screen projection function;
[0033] A virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name.
[0034] In some embodiments of the present disclosure, the virtual device creation module is further specifically configured to obtain first identification information of the screen projection receiving terminal and second identification information corresponding to each screen;
[0035] A virtual device name corresponding to each screen is generated based on the first identification information, the second identification information and a preset naming rule.
[0036] In some embodiments of the present disclosure, the virtual device creation module is further specifically used to modify the device name field in the preset configuration file based on the Universal Plug and Play service, obtain the modified configuration file, and create a virtual device corresponding to each screen according to the modified configuration file.
[0037] In some embodiments of the present disclosure, the multi-screen projection device also includes a screen control module.
[0038] The screen control module is used to determine the state of the target screen before projecting the screen content on the target screen corresponding to the target virtual device information;
[0039] When the target screen is closed, control the target screen to open.
[0040] In some embodiments of the present disclosure, the multi-screen projection device also includes a port number acquisition module.
[0041] The port number acquisition module is used to control the target application to send a port acquisition request to the gateway device corresponding to the local area network for each virtual device after creating the virtual device corresponding to each screen;
[0042] Receive the target port number returned by the gateway device in response to the port acquisition request;
[0043] Set the target port number to the port number corresponding to the virtual device.
[0044] In some embodiments of the present disclosure, the multi-screen projection device also includes a port number broadcast module.
[0045] The port number broadcast module is specifically used to broadcast the port number in the local area network.
[0046] A third aspect of the present disclosure provides an electronic device, including:
[0047] processor;
[0048] a memory for storing executable instructions;
[0049] Among them, the processor is used to read executable instructions from the memory and execute the executable instructions to implement the multi-screen projection method provided by the first aspect above.
[0050] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the multi-screen projection method provided by the first aspect above.
[0051] The fifth aspect of the embodiments of the present disclosure provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, implements the multi-screen projection method as described in the first aspect above.
[0052] A sixth aspect of an embodiment of the present disclosure provides a vehicle, which includes the electronic device provided by the third aspect.
[0053] The technical solution provided by the embodiments of the present disclosure has the following advantages:
[0054] The multi-screen projection method, device, electronic device and vehicle provided by the embodiments of the present disclosure can create a virtual device corresponding to each screen in response to the activation of a target application with a projection function; after the virtual device corresponding to each screen is created, the virtual device information corresponding to the virtual device is broadcasted in a local area network so that the projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a projection instruction in response to the user's screen selection operation in the virtual device list; receives the projection instruction, which includes the projection content and the target virtual device information; and projects the projection content on the target screen corresponding to the target virtual device information. As a result, when the projection receiving end includes at least two screens, a virtual device corresponding to each screen is created, and the virtual device information corresponding to the virtual device is broadcasted in a local area network so that the projection sending end obtains the virtual device information corresponding to each screen and creates a virtual device list, thereby allowing the user to directly select the target screen in the virtual device list to display the projection content when casting the screen, avoiding the problem of the user manually switching the projection content to the desired screen after casting the projection content to other screens, which causes complicated operation and poor user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for describing the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0057] Figure 1 This is a flowchart of a multi-screen projection method provided by an embodiment of the present disclosure;
[0058] Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0059] Figure 3 is a schematic diagram of a virtual device list provided by an embodiment of the present disclosure;
[0060] Figure 4 is a flowchart of a method for creating a virtual device provided by an embodiment of the present disclosure;
[0061] Figure 5 is a flowchart of another multi-screen projection method provided by an embodiment of the present disclosure;
[0062] Figure 6This is a structural diagram of a multi-screen projection device provided by an embodiment of the present disclosure;
[0063] Figure 7 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0064] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0065] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0066] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0067] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0068] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0069] The Digital Living Network Alliance (DLNA) protocol is a standard for content sharing and screen mirroring between multimedia devices within a local area network (LAN). To minimize performance issues on the receiver, a Universal Plug and Play (UPnP) service is typically enabled on the receiver. This service automatically discovers other DLNA-supported devices within the same LAN, enabling screen mirroring between the receiver and the other devices.
[0070] Usually, during the screen projection process based on the DLNA protocol, the UPnP service will store the screen projection receiver as a whole as a device. When the screen projection sender is projecting, it sends the screen projection command to the screen projection receiver, and the screen projection receiver projects the screen after receiving the screen projection command.
[0071] However, when there are multiple screens (such as screen A and screen B) on the screen projection receiving end, if the screen projection receiving end enables the screen projection application on screen A, but the user wants to display the screen projection on screen B, after the screen projection sending end sends the screen projection instruction to the screen projection receiving end, the screen projection receiving end can only display the projection content on screen A where the screen projection application is enabled, and then the user manually switches the projection content from screen A to screen B; or, the user needs to manually open the screen projection homepage on screen B, and then cast the screen on screen B after receiving the screen projection instruction. This has the problem of complicated operation and affects the user experience. Figure 2 As shown, when the user wants to project the screen on the rear screen, if the main driver's screen or the co-driver's screen is turned on and the projection homepage is displayed, after the user sends the projection instruction on the projection sending end, the projection receiving end will first project the screen on the main driver's screen or the co-driver's screen after receiving the projection instruction, and then manually transfer the projection content to the rear screen, and the rear screen will project the screen. Alternatively, the user needs to manually open the projection homepage on the rear screen, and then project the screen on the rear screen after receiving the projection instruction on the projection receiving end. This has the problem of complicated operation and affects the user experience. To address this problem, the embodiments of the present disclosure provide a multi-screen projection method, which is described below in conjunction with specific embodiments.
[0072] Figure 1 This is a flowchart of a multi-screen projection method provided by an embodiment of the present disclosure. The method can be executed by a multi-screen projection device. The multi-screen projection device can be implemented in software and / or hardware. The multi-screen projection device can be configured in an electronic device, such as a server or a terminal, wherein the terminal specifically includes a mobile phone, a vehicle-mounted terminal, a computer or a tablet computer, etc.
[0073] like Figure 1 As shown, the multi-screen projection method provided in this embodiment is applied to the projection receiving end, the projection receiving end includes at least two screens, and at least two screens share the same host. The multi-screen projection method can specifically include the following steps.
[0074] S110 : In response to the activation of a target application program with a screen projection function, creating a virtual device corresponding to each screen.
[0075] In the embodiment of the present disclosure, the target application may be an application for playing multimedia content such as audio and video. For example, the target application may be a certain video application, a certain music application, and so on.
[0076] In an embodiment of the present disclosure, the target application may be screen-projected based on a preset screen-projection protocol, wherein the preset screen-projection protocol may be a Digital Living Network Alliance (DLNA) protocol.
[0077] Specifically, in response to the activation of a target application with a screen projection function, that is, the screen projection application is started, the electronic device determines that the user needs to project the screen, and then starts the Universal Plug and Play (UPnP) service, obtains system configuration information based on the UPnP service, and determines at least two supported screens based on the UPnP service and the system configuration information, and creates virtual devices for the at least two supported screens respectively.
[0078] S120. Broadcast the virtual device information corresponding to the virtual device in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list.
[0079] In the embodiments of the present disclosure, the screen projection sending end can be understood as a device used to initiate a screen projection operation and send its own screen content or specified media content to the screen projection receiving end. For example, the screen projection sending end can be a mobile phone, tablet computer, laptop computer, etc., which is not limited here.
[0080] Accordingly, the screen projection receiving end can be understood as a device for receiving the content sent by the screen projection sending end and displaying it on the screen. For example, the screen projection receiving end can be a device such as a TV, a car terminal, a projector, etc., which is not limited here.
[0081] In the embodiment of the present disclosure, virtual device information can be understood as information used to identify a virtual device. For example, the virtual device information can include identification information of the virtual device, the name of the virtual device, the IP address of the virtual device, the port number of the virtual device, and the like.
[0082] In the embodiment of the present disclosure, the screen selection operation can be understood as an operation in which the user selects the virtual device corresponding to the screen to which the user wants to project the screen.
[0083] Specifically, after the electronic device creates a virtual device corresponding to each screen based on the UPnP service, it broadcasts the virtual device information of the virtual device in the local area network based on the UPnP service. Then, when the screen projection sending end in the local area network enables the target application for screen projection, it can monitor the broadcast and obtain the virtual device information of each virtual device, and create a virtual device list based on the virtual device information corresponding to at least two screens obtained. The virtual devices corresponding to each screen are displayed in the virtual device list, so that the user can select the virtual device corresponding to the screen to be projected according to his needs when projecting the screen. Then, in response to the user's screen selection operation in the virtual device list, a screen projection instruction is generated based on the screen selection operation and the projection content, and the screen projection instruction is sent to the screen projection receiving end.
[0084] Figure 3 is a schematic diagram of a virtual device list provided by an embodiment of the present disclosure, such as Figure 3 As shown, the virtual device information corresponding to each screen is displayed in a virtual device list. For example, the virtual list includes 123_Rear Screen_DLNA, 123_Driver Screen_DLNA, 123_Passenger Screen_DLNA, etc. The user can then select the virtual device information corresponding to the screen they want to cast based on the information in the virtual device list and generate a casting instruction.
[0085] S130: Receive a screen projection instruction, where the screen projection instruction includes the projection content and target virtual device information.
[0086] In the embodiment of the present disclosure, the target virtual device information can be understood as the information of the virtual device corresponding to the screen that the user wants to project.
[0087] In an embodiment of the present disclosure, the screen projection instruction may include screen projection link information, screen projection content, target virtual device information, and may also include volume information, playback multiple information, etc.
[0088] Specifically, after broadcasting the virtual device information corresponding to the virtual device in the local area network, the electronic device can receive the screen projection instruction sent by the screen projection sending end in real time based on the UPnP service and the preset communication protocol.
[0089] S140: Display the projection content on the target screen corresponding to the target virtual device information.
[0090] In an embodiment of the present disclosure, after receiving a screen projection instruction sent by a screen projection sender based on a UPnP service, the electronic device can determine the target screen corresponding to the target virtual device information based on the target virtual device information in the screen projection instruction, and project the screen content in the screen projection instruction on the target screen corresponding to the target virtual device information based on the target application to meet the user's screen projection needs.
[0091] In an embodiment of the present disclosure, in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen can be created respectively; after the creation of the virtual device corresponding to each screen is completed, the virtual device information corresponding to the virtual device is broadcasted in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list; receives the screen projection instruction, which includes the projection content and the target virtual device information; and projects the projection content on the target screen corresponding to the target virtual device information. Thus, when the screen projection receiving end includes at least two screens, a virtual device corresponding to each screen can be created, and the virtual device information corresponding to the virtual device can be broadcasted in the local area network, so that the screen projection sending end can obtain the virtual device information corresponding to each screen and create a virtual device list, so that the user can directly select the target screen where the projection content is to be displayed in the virtual device list when casting the screen, avoiding the problem that after the projection content is cast to other screens, the user manually switches it to the screen to be cast, resulting in complicated operation and poor user experience.
[0092] In some embodiments of the present disclosure, when the screen projection instruction also includes screen projection configuration information, such as volume information and playback magnification information, the electronic device can adjust the screen projection configuration information of the target screen based on the screen projection configuration information when projecting the screen content on the target screen corresponding to the target virtual device information to meet the user's personalized needs.
[0093] In an embodiment of the present disclosure, the electronic device responds to the activation of a target application with a screen projection function, activates the Digital Living Network Alliance protocol, i.e., the DLNA protocol, and then the Digital Living Network Alliance protocol activates the Universal Plug and Play service, and creates a virtual device corresponding to each screen based on the Universal Plug and Play service.
[0094] Figure 4 This is a flowchart of a method for creating a virtual device provided by an embodiment of the present disclosure. Figure 4As shown, in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively, which may specifically include the following steps:
[0095] S410 : In response to the target application program with the screen projection function being activated, respectively determine the virtual device name corresponding to each screen.
[0096] Specifically, the electronic device can enable the Digital Living Network Alliance protocol, i.e., the DLNA protocol, in response to the activation of a target application with a screen projection function, and then enable the Universal Plug and Play service in the Digital Living Network Alliance protocol, and determine the virtual device name corresponding to each screen based on the Universal Plug and Play service.
[0097] S420: Create a virtual device corresponding to each screen based on the Universal Plug and Play service and the virtual device name.
[0098] In the disclosed embodiments, the Universal Plug and Play service can be used to automatically discover other devices supporting the DLNA protocol within the same local area network, enabling screen mirroring between the screen mirroring receiver and various other devices. This service simplifies the connection and interaction process between devices through functions such as automatic discovery, device description, control command transmission, and event notification. It not only improves the convenience and user experience of screen mirroring, but also ensures compatibility between devices from different manufacturers through standardized protocols.
[0099] Specifically, after determining the virtual device name corresponding to each screen, the electronic device can create a virtual device corresponding to each screen based on the UPnP service, the virtual device name, and a preset configuration file. The preset configuration file can be understood as a pre-set file used to create a virtual device. The preset configuration file may include information such as the protocol information corresponding to the virtual device and virtual device generation rules.
[0100] In the embodiment of the present disclosure, in response to the activation of a target application with a screen projection function, the Universal Plug and Play service can be enabled, the screen information supported by the screen projection receiving end can be determined, and the virtual device name corresponding to each screen can be determined based on the screen information to distinguish each screen. At the same time, the user can determine the screen corresponding to the virtual device according to the virtual device name, and then create a virtual device corresponding to each screen based on the Universal Plug and Play service and the virtual device name. This not only ensures that the created virtual device is consistent with the screen projection standard protocol adopted by the screen projection sending end and the screen projection receiving end, but also ensures the accuracy of the creation of the virtual device.
[0101] In an embodiment of the present disclosure, when determining the name of the virtual device, in order to further ensure that the virtual devices corresponding to different screens of different projection receiving ends are well distinguished, the electronic device obtains the identification information of the projection receiving end and the identification information corresponding to each screen to distinguish the different screens of different hosts, and then determines the virtual device name corresponding to each screen based on the identification information of the projection receiving end and the identification information corresponding to each screen.
[0102] In an embodiment of the present disclosure, determining the virtual device name corresponding to each screen can specifically include: obtaining first identification information of the screen projection receiving end and second identification information corresponding to each screen; generating a virtual device name corresponding to each screen based on the first identification information, the second identification information and a preset naming rule.
[0103] In the disclosed embodiments, the first identification information of the screen projection receiving terminal can be understood as identification information used to distinguish the screen projection receiving terminal. For example, it can be the device identification information of the screen projection receiving terminal, the device Media Access Control Address (MAC address); it can also be user-defined information used to uniquely identify the screen projection receiving terminal, which is not limited here.
[0104] In the embodiment of the present disclosure, the second identification information corresponding to each screen can be understood as identification information used to distinguish each screen, such as location information corresponding to each screen, screen identification information corresponding to each screen, etc., which is not limited here.
[0105] In the embodiment of the present disclosure, the preset naming rule may be a pre-set rule for naming the virtual device, wherein the preset naming rule may include information such as the arrangement order of each information contained in the virtual device name and the connection identifier of each information.
[0106] Specifically, in response to the activation of a target application with a screen projection function, the electronic device can obtain the first identification information of the screen projection receiving end and the second identification information corresponding to each screen from a preset database based on the universal plug and play service. After obtaining the first identification information of the screen projection receiving end and the second identification information corresponding to each screen, the electronic device identifies the first identification information and the second identification information, and generates a virtual device name corresponding to each screen according to a preset naming rule.
[0107] like Figure 3As shown in the figure, the virtual device name can be 123_rear screen_DLNA, 123_driver's screen_DLNA, 123_passenger screen_DLNA, etc. Among them, "123" is the first identification information of the screen projection receiver; "rear screen", "driver's screen", and "passenger screen" are the second identification information of each screen on the screen projection receiver; DLNA is the standard screen projection protocol used by each screen during screen projection; "_" is the connection identifier between each information (such as between the first identification information and the second identification information, and between the second identification information and the screen projection standard protocol), which can also be called an interval identifier.
[0108] In the embodiment of the present disclosure, the name of the virtual device corresponding to each screen can be generated based on the first identification information of the screen projection receiving end and the second identification information corresponding to each screen, so as to well distinguish the virtual devices corresponding to different screens of different screen projection receiving ends, facilitate the user to select the screen he wants to project, and improve the convenience and accuracy of the user's screen selection.
[0109] In an embodiment of the present disclosure, in order to improve the efficiency and accuracy of virtual device creation, the electronic device obtains a preset configuration file when creating a virtual device corresponding to each screen, and creates the virtual device based on the preset configuration file.
[0110] In an embodiment of the present disclosure, a virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name. Specifically, it may include: modifying the device name field in the preset configuration file based on the Universal Plug and Play service to obtain the modified configuration file, and creating a virtual device corresponding to each screen according to the modified configuration file.
[0111] Specifically, after determining the virtual device name corresponding to each screen, the electronic device can obtain a preset configuration file, modify the device name field in the preset configuration file for each screen based on the Universal Plug and Play service and the virtual device name corresponding to each screen, obtain a modified configuration file, and create a virtual device corresponding to each screen based on the modified configuration file. The specific implementation method of creating a virtual device corresponding to each screen based on the modified configuration file is similar to the existing implementation method of creating a virtual device and is not further described here.
[0112] In the embodiment of the present disclosure, virtual devices can be created based on the Universal Plug and Play service and the preset configuration file. Since the preset configuration file is pre-set with the configuration information for creating the virtual device, the situation where the configuration information corresponding to the virtual device is inconsistent with the configuration information corresponding to each screen of the projection receiving end is avoided, thereby improving the efficiency and accuracy of the creation of the virtual device corresponding to each screen.
[0113] In an embodiment of the present disclosure, after receiving a screen projection instruction, the electronic device first determines the status of the target screen corresponding to the screen projection instruction in order to ensure the smooth execution of the screen projection instruction, and performs the screen projection operation according to the status of the target screen.
[0114] In an embodiment of the present disclosure, before projecting the screen content on the target screen corresponding to the target virtual device information, the multi-screen projection method may further include: determining the status of the target screen; and when the status of the target screen is closed, controlling the target screen to open.
[0115] Specifically, after receiving the screen projection instruction, the electronic device obtains the status of the target screen based on the UPnP service and determines whether the target screen is in an open state before projecting the projection content on the target screen corresponding to the target virtual device information. If the target screen is in an open state, the screen projection instruction is directly executed to project the projection content on the target screen; if the target screen is in a closed state, the target screen is controlled to open, and the projection content is projected and displayed on the target screen.
[0116] In some examples, taking a vehicle as an example, when the vehicle is started, the rear screen is normally in a closed state by default. If the user wants to project the screen on the rear screen, the rear screen is in a closed state and the projected content cannot be displayed, resulting in a failure of the projection or requiring the user to perform manual operation, which leads to a poor user experience. In this solution, the status of the target screen, such as the rear screen, is judged to automatically control the screen to open. Without user operation, the projected content can be displayed smoothly, which improves the user experience and the probability of successful projection.
[0117] In the embodiment of the present disclosure, before the projection content is projected and displayed on the target screen corresponding to the target virtual device information, the specific execution operation can be determined in combination with the state of the target screen. When the state of the target screen is closed, the target screen is controlled to open. In this way, the problem of being unable to display the projection content on the target screen and executing the projection instruction when the target screen is in the closed state, resulting in a poor user experience, is avoided.
[0118] In the disclosed embodiment, it is found during the actual screen projection process that some applications, such as the XX video application, can only search for the virtual device information corresponding to a random screen in the screen projection receiving end when broadcasting the virtual device information during the screen projection process. This is because in order to avoid displaying the same device in the virtual device list, the application chooses to filter by the IP address of the virtual device. If the IP addresses of the virtual devices corresponding to at least two screens are the same, only the last virtual device searched will be displayed.
[0119] Exemplarily, when the application searches for the virtual device information corresponding to the main driver's screen, the virtual device corresponding to the main driver's screen is displayed in the virtual device list. When searching for the virtual device corresponding to the passenger driver's screen, it is checked that the IP address of the main driver's screen is consistent with the IP address of the passenger driver's screen. The virtual device corresponding to the passenger driver's screen is used to replace the virtual device corresponding to the main driver's screen in the virtual device list, and the virtual device corresponding to the main driver's screen is no longer displayed.
[0120] Because at least two screens are at the same projection receiving end, their IP addresses are the same. In order to prevent some applications from filtering out the virtual devices of at least two screens with the same IP addresses, this solution implements IP address mapping by assigning different port numbers to the virtual devices corresponding to each screen for distinction.
[0121] In an embodiment of the present disclosure, after creating a virtual device corresponding to each screen, the multi-screen projection method may further include: for each virtual device, controlling the target application to send a port acquisition request to the gateway device corresponding to the local area network; receiving the target port number returned by the gateway device in response to the port acquisition request; and determining the target port number as the port number corresponding to the virtual device.
[0122] Specifically, after the electronic device creates a virtual device corresponding to each screen, it controls the target application to send a port acquisition request to the gateway device corresponding to the local area network based on the UPnP service. The gateway device will dynamically assign a different port number to each screen, and then determine the target port number returned by the gateway device for each screen as the port number of the virtual device corresponding to each screen.
[0123] In the embodiment of the present disclosure, the IP address corresponding to each screen can be mapped by assigning a different port number to the virtual device corresponding to each screen, thereby avoiding the problem of some applications filtering and displaying virtual devices corresponding to different screens with the same IP addresses, and ensuring that multiple screens of the same projection receiving end are displayed in the virtual device list.
[0124] In an embodiment of the present disclosure, the multi-screen projection method may further include: after obtaining the port number corresponding to the virtual device, broadcasting the port number within the local area network.
[0125] In the disclosed embodiment, the electronic device can broadcast virtual device information and port numbers at preset intervals. This ensures that newly added screen projection senders in the local area network can promptly obtain the virtual device information and port numbers corresponding to each screen, and also ensures that when changes occur to the created virtual device, the screen projection senders in the local area network are promptly notified.
[0126] In the embodiment of the present disclosure, the virtual device information and port number corresponding to each screen can be broadcast simultaneously to ensure that the screen projection receiving end can distinguish the IP addresses of different screens based on the port number after obtaining the virtual device information, so that the virtual device information of different screens can be displayed in the virtual device list, thereby improving the accuracy of virtual device list creation.
[0127] Figure 5 This is a flowchart of another multi-screen projection method provided by an embodiment of the present disclosure. Figure 5 As shown, the multi-screen projection method may include the following steps:
[0128] S510 . In response to activation of a target application program with a screen projection function, create a virtual device corresponding to each screen; and assign a corresponding port number to each virtual device.
[0129] S520. Broadcast the virtual device information and port number corresponding to the virtual device in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information and port number, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list.
[0130] S530: Receive a screen projection instruction, where the screen projection instruction includes the projection content and target virtual device information.
[0131] S540: Determine the state of the target screen corresponding to the target virtual device information; when the state of the target screen is closed, control the target screen to open.
[0132] S550: Display the projected content on the target screen.
[0133] It should be noted that the specific implementation of steps S510-S550 is similar to the implementation of the relevant steps in the above embodiment of the present disclosure, and will not be repeated here.
[0134] In the embodiment of the present disclosure, when the screen projection receiving end includes at least two screens, a virtual device corresponding to each screen can be created, and the virtual device information corresponding to the virtual device can be broadcasted in the local area network, so that the screen projection sending end can obtain the virtual device information corresponding to each screen and create a virtual device list, so that the user can directly select the target screen in the virtual device list where the projected content is to be displayed, thereby avoiding the problem that after the projected content is projected to other screens, the user manually switches it to the screen to be projected, resulting in complicated operations and poor user experience. At the same time, by combining the status of the target screen to determine the specific execution operation, when the target screen is in the closed state, the target screen is controlled to open, thereby avoiding the problem that when the target screen is in the closed state, the projected content cannot be displayed on the target screen and the projection instruction cannot be executed, thereby further improving the user experience.
[0135] In an embodiment of the present disclosure, when two hosts are provided in the same terminal, wherein at least one host corresponds to at least two screens respectively, the multi-screen projection method is also applicable to the projection process of the terminal.
[0136] Figure 6 It is a structural diagram of a multi-screen projection device provided in an embodiment of the present disclosure.
[0137] In the embodiment of the present disclosure, the multi-screen projection device can be provided in an electronic device and is understood as a partial functional module in the above-mentioned electronic device. The multi-screen projection device can be applied to a projection receiving terminal, which is provided with at least two screens. Specifically, the electronic device can be a server or a terminal, wherein the terminal specifically includes a mobile phone, a vehicle-mounted terminal, a computer or a tablet computer, etc., and can also be any device that can process the multi-screen projection method, without limitation here.
[0138] like Figure 6 As shown, the multi-screen projection device 600 may include a virtual device creation module 610, a virtual device broadcast module 620, a projection instruction receiving module 630 and a projection display module 640.
[0139] The virtual device creation module 610 may be configured to create a virtual device corresponding to each screen in response to activation of a target application having a screen projection function;
[0140] The virtual device broadcast module 620 can be used to broadcast virtual device information corresponding to the virtual device within the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list;
[0141] The screen projection instruction receiving module 630 can be used to receive a screen projection instruction, which includes the projection content and the target virtual device information;
[0142] The screen projection display module 640 can be used to project and display the projection content on the target screen corresponding to the target virtual device information.
[0143] In an embodiment of the present disclosure, in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen can be created respectively; after the creation of the virtual device corresponding to each screen is completed, the virtual device information corresponding to the virtual device is broadcasted in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list; receives the screen projection instruction, which includes the projection content and the target virtual device information; and projects the projection content on the target screen corresponding to the target virtual device information. Thus, when the screen projection receiving end includes at least two screens, a virtual device corresponding to each screen can be created, and the virtual device information corresponding to the virtual device can be broadcasted in the local area network, so that the screen projection sending end can obtain the virtual device information corresponding to each screen and create a virtual device list, so that the user can directly select the target screen where the projection content is to be displayed in the virtual device list when casting the screen, avoiding the problem that after the projection content is cast to other screens, the user manually switches it to the screen to be cast, resulting in complicated operation and poor user experience.
[0144] In some embodiments of the present disclosure, the virtual device creation module 610 may be specifically configured to determine the virtual device name corresponding to each screen in response to activation of a target application having a screen projection function;
[0145] A virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name.
[0146] In some embodiments of the present disclosure, the virtual device creation module 610 may also be specifically configured to obtain first identification information of the screen projection receiving terminal and second identification information corresponding to each screen;
[0147] A virtual device name corresponding to each screen is generated based on the first identification information, the second identification information and a preset naming rule.
[0148] In some embodiments of the present disclosure, the virtual device creation module 610 can also be specifically used to modify the device name field in the preset configuration file based on the Universal Plug and Play service, obtain the modified configuration file, and create a virtual device corresponding to each screen according to the modified configuration file.
[0149] In some embodiments of the present disclosure, the multi-screen projection device also includes a screen control module.
[0150] The screen control module may be used to determine the state of the target screen before projecting the screen content on the target screen corresponding to the target virtual device information;
[0151] When the target screen is closed, control the target screen to open.
[0152] In some embodiments of the present disclosure, the multi-screen projection device 600 may further include a port number acquisition module.
[0153] The port number acquisition module can be used to control the target application to send a port acquisition request to the gateway device corresponding to the local area network for each virtual device after creating the virtual device corresponding to each screen;
[0154] Receive the target port number returned by the gateway device in response to the port acquisition request;
[0155] Set the target port number to the port number corresponding to the virtual device.
[0156] In some embodiments of the present disclosure, the multi-screen projection device 600 also includes a port number broadcast module.
[0157] The port number broadcast module can be specifically used to broadcast the port number in the local area network.
[0158] It should be noted that Figure 6 The multi-screen projection device 600 shown can execute each step in the above method embodiment and realize each process and effect in the above method embodiment, which will not be described in detail here.
[0159] Figure 7 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure.
[0160] In the embodiments of the present disclosure, Figure 7 The electronic device shown can be a server or a terminal, where the terminal specifically includes a mobile phone, a computer or a tablet computer, etc., and can also be any device that can process the multi-screen projection method, which is not limited here.
[0161] like Figure 7 As shown, the electronic device may include a processor 710 and a memory 720 storing computer program instructions.
[0162] Specifically, the processor 710 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present disclosure.
[0163] Memory 720 may include a large-capacity memory for information or instructions. By way of example, and not limitation, memory 720 may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk, a magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 720 may include removable or non-removable (or fixed) media. Where appropriate, memory 720 may be internal or external to the integrated gateway device. In certain embodiments, memory 720 is non-volatile solid-state memory. In certain embodiments, memory 720 includes read-only memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0164] The processor 710 reads and executes the computer program instructions stored in the memory 720 to perform the steps of the multi-screen projection method provided in the embodiment of the present disclosure.
[0165] In one example, the electronic device may further include a transceiver 730 and a bus 740. Figure 7 As shown, the processor 710 , the memory 720 and the transceiver 730 are connected via a bus 740 and communicate with each other.
[0166] The bus 740 includes hardware, software, or both. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, the bus 740 may include one or more buses.
[0167] An embodiment of the present disclosure also provides a computer-readable storage medium, which can store a computer program. When the computer program is executed by a processor, the processor implements the multi-screen projection method provided by the embodiment of the present disclosure.
[0168] Among them, when the computer program is executed by the processor, the following steps are implemented: in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively; the virtual device information corresponding to the virtual device is broadcast in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list; the screen projection instruction is received, and the screen projection instruction includes the screen projection content and the target virtual device information; the screen projection content is projected and displayed on the target screen corresponding to the target virtual device information.
[0169] In response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively; after the creation of the virtual device corresponding to each screen is completed, the virtual device information corresponding to the virtual device is broadcasted in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list; the screen projection instruction is received, and the screen projection instruction includes the projection content and the target virtual device information; the projection content is projected and displayed on the target screen corresponding to the target virtual device information. In this way, when the screen projection receiving end includes at least two screens, a virtual device corresponding to each screen can be created, and the virtual device information corresponding to the virtual device can be broadcasted in the local area network, so that the screen projection sending end can obtain the virtual device information corresponding to each screen and create a virtual device list, so that the user can directly select the target screen in the virtual device list where the projection content is to be displayed, thereby avoiding the problem that after the projection content is projected to other screens, the user manually switches it to the screen to be projected, resulting in complicated operation and poor user experience.
[0170] In some embodiments of the present disclosure, in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively, including: in response to the activation of a target application with a screen projection function, the virtual device name corresponding to each screen is determined respectively; and a virtual device corresponding to each screen is created respectively based on the Universal Plug and Play service and the virtual device name.
[0171] In some embodiments of the present disclosure, determining the virtual device name corresponding to each screen includes: obtaining first identification information of the screen projection receiving end and second identification information corresponding to each screen; and generating a virtual device name corresponding to each screen based on the first identification information, the second identification information and a preset naming rule.
[0172] In some embodiments of the present disclosure, a virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name, including: modifying the device name field in a preset configuration file based on the Universal Plug and Play service to obtain the modified configuration file, and creating a virtual device corresponding to each screen according to the modified configuration file.
[0173] In some embodiments of the present disclosure, before projecting the screen content on the target screen corresponding to the target virtual device information, the method further includes: determining the state of the target screen; and when the state of the target screen is closed, controlling the target screen to open.
[0174] In some embodiments of the present disclosure, after creating a virtual device corresponding to each screen, the method further includes: for each virtual device, controlling the target application to send a port acquisition request to the gateway device corresponding to the local area network; receiving the target port number returned by the gateway device in response to the port acquisition request; and determining the target port number as the port number corresponding to the virtual device.
[0175] In some embodiments of the present disclosure, the multi-screen projection method further includes: broadcasting the port number within the local area network.
[0176] The above-mentioned storage medium may, for example, include a memory 720 of computer program instructions, and the above-mentioned instructions may be executed by the processor 710 of the electronic device to complete the multi-screen projection method provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an external cache memory, a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, a flash memory, and an optical data storage device. As an illustration and not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0177] An embodiment of the present disclosure also provides a vehicle, which includes an electronic device. Specifically, the electronic device can create a virtual device corresponding to each screen in response to the activation of a target application with a screen projection function; broadcast virtual device information corresponding to the virtual device in a local area network, so that a screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to a user's screen selection operation in the virtual device list; receive the screen projection instruction, which includes screen projection content and target virtual device information; and project the screen projection content on a target screen corresponding to the target virtual device information.
[0178] In response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively; after the creation of the virtual device corresponding to each screen is completed, the virtual device information corresponding to the virtual device is broadcasted in the local area network, so that the screen projection sending end creates a virtual device list corresponding to at least two screens based on the virtual device information, and generates a screen projection instruction in response to the user's screen selection operation in the virtual device list; the screen projection instruction is received, and the screen projection instruction includes the projection content and the target virtual device information; the projection content is projected and displayed on the target screen corresponding to the target virtual device information. In this way, when the screen projection receiving end includes at least two screens, a virtual device corresponding to each screen can be created, and the virtual device information corresponding to the virtual device can be broadcasted in the local area network, so that the screen projection sending end can obtain the virtual device information corresponding to each screen and create a virtual device list, so that the user can directly select the target screen in the virtual device list where the projection content is to be displayed, thereby avoiding the problem that after the projection content is projected to other screens, the user manually switches it to the screen to be projected, resulting in complicated operation and poor user experience.
[0179] In some embodiments of the present disclosure, in response to the activation of a target application with a screen projection function, a virtual device corresponding to each screen is created respectively, including: in response to the activation of a target application with a screen projection function, the virtual device name corresponding to each screen is determined respectively; and a virtual device corresponding to each screen is created respectively based on the Universal Plug and Play service and the virtual device name.
[0180] In some embodiments of the present disclosure, determining the virtual device name corresponding to each screen includes: obtaining first identification information of the screen projection receiving end and second identification information corresponding to each screen; and generating a virtual device name corresponding to each screen based on the first identification information, the second identification information and a preset naming rule.
[0181] In some embodiments of the present disclosure, a virtual device corresponding to each screen is created based on the Universal Plug and Play service and the virtual device name, including: modifying the device name field in a preset configuration file based on the Universal Plug and Play service to obtain the modified configuration file, and creating a virtual device corresponding to each screen according to the modified configuration file.
[0182] In some embodiments of the present disclosure, before projecting the screen content on the target screen corresponding to the target virtual device information, the method further includes: determining the state of the target screen; and when the state of the target screen is closed, controlling the target screen to open.
[0183] In some embodiments of the present disclosure, after creating a virtual device corresponding to each screen, the method further includes: for each virtual device, controlling the target application to send a port acquisition request to the gateway device corresponding to the local area network; receiving the target port number returned by the gateway device in response to the port acquisition request; and determining the target port number as the port number corresponding to the virtual device.
[0184] In some embodiments of the present disclosure, the multi-screen projection method further includes: broadcasting the port number within the local area network.
[0185] The electronic device in the embodiments of the present disclosure can implement the various processes and effects in the above embodiments of the present disclosure, which will not be described in detail here.
[0186] The embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, it implements the multi-screen projection method provided by the embodiments of the present disclosure, and can implement the various processes and effects in the above-mentioned embodiments of the present disclosure, which will not be repeated here.
[0187] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A multi-screen projection method, characterized in that: Applied to a screen projection receiving terminal, the screen projection receiving terminal includes at least two screens, and the method includes: In response to the target application having the screen projection function being enabled, creating a virtual device corresponding to each screen respectively; Broadcasting virtual device information corresponding to the virtual device in a local area network, so that the screen projection sending end creates a virtual device list corresponding to the at least two screens based on the virtual device information, and generates a screen projection instruction in response to a screen selection operation in the virtual device list by the user; Receive the screen projection instruction, where the screen projection instruction includes screen projection content and target virtual device information; The projection content is projected and displayed on the target screen corresponding to the target virtual device information.
2. The method according to claim 1, characterized in that In response to the target application having the screen projection function being enabled, creating a virtual device corresponding to each screen respectively includes: In response to the target application having the screen projection function being enabled, determining a virtual device name corresponding to each screen; A virtual device corresponding to each screen is created based on the universal plug and play service and the virtual device name.
3. The method according to claim 2, characterized in that Determining the virtual device name corresponding to each screen includes: Obtaining first identification information of the screen projection receiving end and second identification information corresponding to each screen; A virtual device name corresponding to each screen is generated based on the first identification information, the second identification information and a preset naming rule.
4. The method according to claim 2, characterized in that The step of creating a virtual device corresponding to each screen based on the Universal Plug and Play service and the virtual device name includes: The device name field in the preset configuration file is modified based on the universal plug and play service to obtain a modified configuration file, and a virtual device corresponding to each screen is created according to the modified configuration file.
5. The method according to claim 1, wherein Before displaying the projection content on the target screen corresponding to the target virtual device information, the method further includes: determining a state of the target screen; When the target screen is in a closed state, the target screen is controlled to be opened.
6. The method according to claim 1, characterized in that After creating the virtual device corresponding to each screen, the method further includes: For each virtual device, controlling the target application to send a port acquisition request to a gateway device corresponding to the local area network; Receive the target port number returned by the gateway device in response to the port acquisition request; The target port number is determined to be the port number corresponding to the virtual device.
7. The method according to claim 6, characterized in that The method further comprises: The port number is broadcasted within the local area network.
8. A multi-screen projection device, characterized in that: Applied to a screen projection receiving terminal, the screen projection receiving terminal is provided with at least two screens, including: A virtual device creation module, configured to create a virtual device corresponding to each screen in response to activation of a target application with a screen projection function; A virtual device broadcast module, configured to broadcast virtual device information corresponding to the virtual device within the local area network, so that the screen projection sending end creates a virtual device list corresponding to the at least two screens based on the virtual device information, and generates a screen projection instruction in response to a user's screen selection operation in the virtual device list; A screen projection instruction receiving module is used to receive the screen projection instruction, wherein the screen projection instruction includes the projection content and the target virtual device information; The screen projection display module is used to project and display the projection content on the target screen corresponding to the target virtual device information.
9. An electronic device, characterized in that: include: processor; a memory for storing executable instructions; Wherein, the processor is used to read the executable instructions from the memory and execute the executable instructions to implement the multi-screen projection method described in any one of claims 1-7 above.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.