Screen projection method and device, electronic equipment and storage medium

By displaying allowed applications in the casting interface and adopting a privacy casting mode, the security and privacy issues of casting electronic devices are resolved, achieving higher casting security and flexibility.

CN122069382APending Publication Date: 2026-05-19BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411655295.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2026-05-19

Smart Images

  • Figure CN122069382A_ABST
    Figure CN122069382A_ABST
Patent Text Reader

Abstract

The invention relates to a screen projection method and device, electronic equipment and a storage medium. The method comprises the following steps: displaying at least one first application program in a screen projection interface of first equipment; wherein the first application program is an application program allowing screen projection in second equipment; selecting a target application program from the at least one first application program; wherein the target application program is an application program to be subjected to screen projection; displaying a screen projection picture of the target application program in the screen projection interface; the projection screen picture of the target application program is the projection screen picture of the target application program displayed on a virtual screen of the second equipment. According to the method, the application program allowed to be subjected to screen projection is displayed in the screen projection interface of the first equipment, the screen projection picture of the application program allowed to be subjected to screen projection can be displayed in the screen projection interface, and the security and privacy during screen projection are improved while screen projection of the application program is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of interconnection technology, and in particular to a screen projection method, device, electronic device, and storage medium. Background Technology

[0002] With the continuous improvement of interconnection technology, more and more electronic devices can interconnect. User needs are becoming increasingly diversified and complex, and the forms of interconnection are also gradually becoming more diverse. Screen mirroring from one electronic device to another is a common form of interconnection. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a screen projection method, device, electronic device, and storage medium.

[0004] According to a first aspect of the present disclosure, a screen mirroring method is provided, the method comprising:

[0005] At least one first application is displayed in the screen mirroring interface of the first device; wherein the first application is an application that is allowed to be mirrored on the second device;

[0006] Select a target application from the at least one first application; wherein the target application is the application to be cast to the screen;

[0007] The target application's screen is displayed in the screen mirroring interface; the target application's screen mirroring is the screen mirroring of the target application displayed on the virtual screen of the second device.

[0008] In some embodiments, before displaying at least one first application in the screen mirroring interface of the first device, the method further includes:

[0009] In response to the first activation operation, the privacy casting mode is activated; wherein, the first activation operation is the activation operation of the privacy casting control in the casting interface, and the privacy casting mode means that the first application can be cast on the first device, but the second application cannot be cast, and the second application is an application on the second device that is not allowed to be cast.

[0010] In some embodiments, before activating the privacy screen casting mode, the method further includes:

[0011] A first activation command is sent to the second device to enable the privacy screen mirroring mode based on the first activation command; wherein the first activation command is used to instruct the first activation operation.

[0012] In some embodiments, before displaying at least one first application in the screen mirroring interface of the first device, the method further includes:

[0013] Receive a second activation command sent by a second device; wherein the second activation command is used to indicate a second activation operation, the second activation operation being an activation operation of the privacy screen projection control in the second device;

[0014] Based on the second activation command, the privacy screen mirroring mode of the first device is activated.

[0015] In some embodiments, the method further includes:

[0016] The screen mirroring interface displays an application management page; wherein, the application management page displays the applications in the second device;

[0017] In response to the settings operation of the application in the application management page, the application is set as either the first application or the second application; the second application is an application on the second device that is not allowed to be cast to the screen.

[0018] In some embodiments, setting the application as the first application or the second application in response to a settings operation on the application management page includes:

[0019] In response to a first settings operation on the application, the application is set as the first application; wherein, the first settings operation is an operation of adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or...

[0020] In response to a second setting operation on the application, the application is set as the second application; wherein the second setting operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

[0021] In some embodiments, before setting the application as the first application or the second application, the method further includes:

[0022] A setting instruction is sent to the second device so that the second device sets the application as either the first application or the second application based on the setting instruction; wherein the setting instruction is used to instruct the setting operation of the application.

[0023] In some embodiments, the method further includes:

[0024] The projection interface is displayed on the physical screen of the first device in a preset display state; wherein, the preset display state includes a floating capsule display state, a small window display state, or a full-screen display state.

[0025] In some embodiments, the method further includes:

[0026] In response to a control operation on the target application, a control command is sent to the second device to enable the second device to control the target application on the virtual screen based on the control command; wherein the control command is used to indicate a control operation on the target application.

[0027] According to a second aspect of the present disclosure, a screen mirroring method is provided, the method comprising:

[0028] At least one first application from the second device is cast to the first device; wherein the first application is an application on the second device that is allowed to be cast.

[0029] When the target application in at least one of the first applications is the application to be cast, the casting screen of the target application displayed on the virtual screen of the second device is cast to the first device, so that the casting screen is displayed on the first device in the casting interface.

[0030] In some embodiments, prior to casting at least one first application from the second device to the first device, the method further includes:

[0031] Receive a first activation command sent by the first device; wherein the first activation command is used to indicate a first activation operation, the first activation operation being the activation operation of the privacy screen casting control in the screen casting interface;

[0032] Based on the first activation command, the privacy screen casting mode is activated, so that the first device can activate the privacy screen casting mode in the screen casting interface.

[0033] In some embodiments, the method further includes:

[0034] In response to the second activation operation, the privacy screen casting mode of the second device is activated, and a second activation command is sent to the first device, so that the first device activates its privacy screen casting mode based on the second activation command; wherein, the second activation command is used to instruct the second activation operation, which is an activation operation of the privacy screen casting control in the second device.

[0035] In some embodiments, the method further includes:

[0036] The application management page is projected onto the first device so that the first device displays the application management page in the projection interface; wherein the application management interface displays the applications in the second device, and the application management page is displayed on the virtual screen of the second device.

[0037] In some embodiments, the method further includes:

[0038] Receive a setting instruction sent by the first device; wherein the setting instruction is used to instruct on setting operations for applications in the application management page;

[0039] Based on the setting instructions, the application is set as either the first application or the second application, so that the first device sets the application as either the first application or the second application.

[0040] In some embodiments, the method further includes:

[0041] Display the application management page; wherein the application management page displays the applications in the second device;

[0042] In response to the settings operation of the application in the application management page, the application is set as either the first application or the second application; the second application is an application on the second device that is not allowed to be cast to the screen.

[0043] In some embodiments, setting the application as the first application or the second application in response to a settings operation on the application management page includes:

[0044] In response to a first settings operation on the application, the application is set as the first application; wherein, the first settings operation is an operation of adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or...

[0045] In response to a second setting operation on the application, the application is set as the second application; wherein the second setting operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

[0046] In some embodiments, the method further includes:

[0047] Receive control instructions sent by the first device; wherein the control instructions are used to instruct control operations on the target application;

[0048] Based on the control instructions, control the target application on the virtual screen.

[0049] According to a third aspect of the present disclosure, a screen projection device is provided, the device comprising:

[0050] The display module is configured to display at least one first application in the screen mirroring interface of the first device; wherein the first application is an application in the second device that is allowed to be mirrored;

[0051] The selection module is configured to select a target application from the at least one first application; wherein the target application is the application to be projected.

[0052] The display module is further configured to display the screen projection screen of the target application in the screen projection interface; the screen projection screen of the target application is the screen projection screen of the target application displayed on the virtual screen of the second device.

[0053] According to a fourth aspect of the present disclosure, a screen projection device is provided, the device comprising:

[0054] The screen mirroring module is configured to mirror at least one first application from the second device to the first device; wherein the first application is an application on the second device that is allowed to be mirrored.

[0055] The screen mirroring module is further configured to, when a target application in the at least one first application is the application to be mirrored, mirror the screen of the target application displayed on the virtual screen of the second device to the first device, so that the first device displays the mirrored screen in the screen mirroring interface.

[0056] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising:

[0057] processor;

[0058] Memory used to store processor-executable instructions;

[0059] The processor is configured to perform the screen projection method as described in the first aspect of the present disclosure, or the processor is configured to perform the screen projection method as described in the second aspect of the present disclosure.

[0060] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a screen projection method as described in a first aspect of the present disclosure, or to perform a screen projection method as described in a second aspect of the present disclosure.

[0061] The method described above, as disclosed in this invention, has the following beneficial effects:

[0062] The method provided in this embodiment displays allowed applications for screen mirroring on the screen mirroring interface of a first device. Users can select the target application to be mirrored from the allowed applications to display the mirrored screen of the target application on the screen mirroring interface. This improves the security and privacy of screen mirroring while realizing application screen mirroring.

[0063] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0064] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0065] Figure 1 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0066] Figure 2 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0067] Figure 3 This is a schematic diagram illustrating a screen mirroring interface according to an exemplary embodiment;

[0068] Figure 4 This is a schematic diagram illustrating a screen mirroring interface according to an exemplary embodiment;

[0069] Figure 5 This is a schematic diagram illustrating a screen mirroring interface according to an exemplary embodiment;

[0070] Figure 6 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0071] Figure 7 This is a schematic diagram illustrating an application management page according to an exemplary embodiment;

[0072] Figure 8 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0073] Figure 9 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0074] Figure 10 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment;

[0075] Figure 11 This is a flowchart illustrating a screen mirroring process according to an exemplary embodiment;

[0076] Figure 12 This is a block diagram illustrating a screen projection device according to an exemplary embodiment;

[0077] Figure 13 This is a block diagram illustrating a screen projection device according to an exemplary embodiment;

[0078] Figure 14 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation

[0079] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0080] In related technologies, when one electronic device projects its screen onto another, all applications on the first device are projected onto the second. For example, the entire screen of a mobile phone can be directly mirrored onto a vehicle terminal. In this way, users can directly operate any application on their mobile phone on the vehicle terminal. However, the security and privacy of such projection are poor.

[0081] The screen casting method provided in this embodiment displays allowed applications on the screen casting interface of a first device. Users can select the target application to be cast from the allowed applications to display the target application's screen casting screen on the screen casting interface. This improves security and privacy while enabling application screen casting.

[0082] The screen projection method provided in this disclosure can be applied to screen projection display between any devices.

[0083] For example, it can be used for screen mirroring between a mobile phone and a vehicle infotainment system. For instance, a user can mirror an application from their mobile phone to the vehicle's infotainment system while driving, making it easier for them to view content on their phone. However, for some more private applications, such as payment applications or instant messaging applications, mirroring to the vehicle's infotainment system could potentially be seen by other passengers. Therefore, to protect user privacy and improve the privacy and security of screen mirroring, the screen mirroring method provided in this disclosure uses a privacy screen mirroring mode, where applications not being run by the user are not displayed on the vehicle's infotainment system.

[0084] For example, it can be used for screen mirroring between mobile phones and computers. Of course, it can also be used for screen mirroring between other devices, and this disclosure does not limit this application.

[0085] The method provided in this embodiment is executed by a first device and a second device, wherein the first device is a projection source and the second device is a projection device. For example, the first device can be a mobile phone, tablet computer, laptop computer, smart home device, wearable device, etc., and the second device can be a mobile phone, tablet computer, laptop computer, smart home device, vehicle terminal, etc.

[0086] Figure 1 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a first device. See [link to flowchart]. Figure 1 The method includes the following steps:

[0087] Step S101: Display at least one first application in the screen mirroring interface of the first device; wherein the first application is an application on the second device that is allowed to be mirrored.

[0088] In this embodiment, a first application can be displayed on the screen mirroring interface, while a second application is not. The first application is any application on the second device that is allowed to be mirrored, and the second application is any application on the second device that is not allowed to be mirrored. Both the first and second applications can be third-party applications or system applications. For example, the first application could be a video application, music application, or game application on the second device, while the second application could be an instant messaging application, payment application, or other application involving user privacy. Which applications on the second device are designated as the first application and which as the second application can be configured by the user according to their needs.

[0089] The screen mirroring interface is the interface displayed on the physical screen of the first device. The screen mirroring interface displays the content displayed on the virtual screen of the second device. The first device displays the content mirrored by the second device in the screen mirroring interface.

[0090] The first device and the second device can be interconnected through USB (Universal Serial Bus), Bluetooth, local area network, P2P (peer-to-peer) and other methods. This embodiment does not limit the interconnection method of the first device and the second device.

[0091] Step S102: Select a target application from at least one first application; wherein the target application is the application to be projected.

[0092] After at least one primary application is displayed in the screen mirroring interface, when a user wants to mirror a specific primary application from the at least one primary application, they can select the target application from the at least one primary application. The target application is the application to be mirrored.

[0093] In some embodiments, in response to a selection operation of any one of the at least one first application, the selected first application is designated as the target application. The selection operation can be a click, double-click, swipe, or other operation.

[0094] Optionally, the first device sends a selection command to the second device, causing the second device to project the target application's screen onto the first device based on the selection command. The selection command instructs the user to perform the selection operation.

[0095] Step S103: Display the target application's screen in the screen mirroring interface; the target application's screen mirroring is the screen mirroring of the target application displayed on the virtual screen of the second device.

[0096] The screen to be projected from the target application can be the application interface of the target application or other screens of the target application.

[0097] The method provided in this embodiment displays allowed applications for screen mirroring on the screen mirroring interface of a first device. Users can select the target application to be mirrored from the allowed applications to display the mirrored screen of the target application on the screen mirroring interface. This improves the security and privacy of screen mirroring while realizing application screen mirroring.

[0098] Figure 2 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed by a first device. See [link to flowchart]. Figure 2 The method includes the following steps:

[0099] Step S201: Display the projection interface on the physical screen of the first device in a preset display state.

[0100] The preset display states include a floating capsule display, a small window display, or a full-screen display. Users can set the preset display state according to their needs. Taking screen mirroring between a mobile phone and a car infotainment system as an example, if a user needs to view the navigation route provided by the car infotainment system, the mirrored interface can be displayed in the floating capsule state to avoid obscuring the navigation route provided by the car infotainment system. If a user needs to view the navigation route provided by the navigation application mirrored from their mobile phone, the mirrored screen can be displayed in either a small window or full-screen state for convenient viewing of the navigation route provided by the mobile phone.

[0101] See one example. Figure 3 The diagram shown is a schematic of the screen mirroring interface. Figure 3 Figure A shows the projection interface displayed on the physical screen in the floating capsule display state (the gray window in the figure). Figure 3 Figure B shows the projection interface displayed on the physical screen in the small window display mode. Figure 3 Figure C shows the projection interface displayed on the physical screen in full-screen mode.

[0102] Compared with the screen-sharing interface that dominates the display in related technologies, in this embodiment, the user can freely set the display state, which enriches the display state of the screen-sharing interface and improves flexibility. The user can set the display state according to the display needs.

[0103] It should be noted that the display state of the screen mirroring interface can be switched during the mirroring process. For example, the screen mirroring interface can be displayed in a small window first, and then switched to full-screen display.

[0104] Step S202: In response to the first activation operation, enable the privacy screen mirroring mode.

[0105] The first activation operation involves enabling the privacy casting control in the casting interface. Privacy casting mode means that casting to the first application is allowed on the first device, but casting to a second application is not permitted on the second device. In other words, the privacy casting control is displayed in the casting interface. When a user wants to enable privacy casting mode, they can perform the first activation operation on the privacy casting control, and the first device responds to this operation by enabling privacy casting mode.

[0106] In some embodiments, since the content displayed in the projection interface is obtained by projection from the second device, after the user performs an operation in the projection interface, it is necessary to send a corresponding instruction to the second device so that the second device can control the corresponding content on the virtual screen to perform the operation. After the second device completes the corresponding operation, it projects the content back to the first device so that the first device displays the latest content. Regarding the activation process of the privacy projection mode, the first device responds to the first activation operation by sending a first activation instruction to the second device, so that the second device activates the privacy projection mode based on the first activation instruction, and then the first device activates the privacy projection mode. The first activation instruction is used to indicate the first activation operation.

[0107] It should be noted that step S202 is described using the example of a user operating on a first device to enable the privacy screen casting mode. In another embodiment, the user can operate on a second device to enable the privacy screen casting mode. In some embodiments, in response to the second enabling operation, the second device sends a second enabling command to the first device. Upon receiving the second enabling command from the second device, the first device enables its privacy screen casting mode based on the second enabling command. The second enabling command is used to instruct the second enabling operation, which is an operation to enable the privacy screen casting control on the second device.

[0108] It's worth noting that enabling the privacy casting mode is optional, and users can disable it if they no longer need it. With privacy casting mode disabled, it doesn't matter whether the application is the first or second application; either device can cast the first application to the first device, and vice versa. The first device can then display either application in the casting interface. Users can choose whether to enable privacy casting mode based on their needs, increasing flexibility and freedom during casting.

[0109] Step S203: Display at least one first application in the screen mirroring interface of the first device.

[0110] In some embodiments, a target application list is displayed in the screen mirroring interface; the target application list includes at least one first application that is allowed to be screen mirrored, but does not include a second application that is not allowed to be screen mirrored.

[0111] Optionally, the target application list includes the application icon and application identifier of the first application. See, in one example... Figure 4 The diagram shown illustrates the screen mirroring interface, where all applications displayed are the first application.

[0112] In some embodiments, a list of target applications is displayed in the screen mirroring interface based on a fake Launcher.

[0113] Step S204: Select the target application from at least one first application.

[0114] Step S205: Display the screen projection screen of the target application in the projection interface.

[0115] Taking the screen mirroring screen as the target application's interface as an example, see [example example]. Figure 5 The diagram shown illustrates the screen mirroring interface, which displays the application interface of the target application.

[0116] Step S206: In response to the control operation on the target application, a control command is sent to the second device so that the second device controls the target application on the virtual screen based on the control command.

[0117] The control commands are used to instruct control operations on the target application. For example, when displaying a list of target applications in the projection interface, the control operation can be to open the target application; when displaying the application interface of the target application in the projection interface, the control operation can be to operate on the various controls in the application interface. Of course, the control operation can also be other operations, and this embodiment of the disclosure does not limit the control operation.

[0118] In some embodiments, the control instructions include location information that characterizes the position of the control operation relative to the physical screen of the target device.

[0119] In addition, regarding the screen casting process in the above embodiments, in some embodiments, the second device encodes the screen casting image on the virtual screen to obtain encoded display data, and then sends the display data to the first device. The second device decodes the display data to obtain the corresponding screen casting image, which is then displayed in the screen casting interface. The screen casting image on the virtual screen refers to the content displayed in the screen casting interface of the second device; for example, the screen casting image might be a display of a list of target applications, or a display of the application interface of the target application. Optionally, when sending the display data, the second device can encapsulate the display data and send the encapsulated display data. After receiving the encapsulated display data, the first device first decapsulates the encapsulated display data to obtain the display data. This disclosure does not limit the process of sending the screen casting image during screen casting.

[0120] The method provided in this embodiment displays allowed applications for screen mirroring on the screen mirroring interface of a first device. Users can select the target application to be mirrored from the allowed applications to display the mirrored screen of the target application on the screen mirroring interface. This improves the security and privacy of screen mirroring while realizing application screen mirroring.

[0121] Furthermore, the privacy-focused screen mirroring mode provided in this embodiment is applicable to various display states of the screen mirroring interface, offering high flexibility and enhancing user freedom of operation.

[0122] In some embodiments, users can configure which applications are designated as the first application and which are designated as the second application on a first device. This will be explained below. Figure 6 The illustrated example explains the application setup process.

[0123] Figure 6 This is a flowchart illustrating an application setup process according to an exemplary embodiment, performed by a first device. See also... Figure 6 The method includes the following steps:

[0124] Step S601: Display the application management page in the screen mirroring interface.

[0125] The application management page displays the applications on the second device, and the application management page is displayed on the virtual screen of the second device. Optionally, the application management page displays the application icon and application identifier, or displays the application identifier.

[0126] In some embodiments, the screen mirroring interface displays an entry point to the application management page, and in response to a trigger operation on the entry point, the application management page is displayed in the screen mirroring interface.

[0127] In step S602, in response to the setting operation of the application in the application management page, the application is set as the first application or the second application.

[0128] The application refers to any application displayed on the application management page. Settings actions can include moving, deleting, adding, or other actions related to the application.

[0129] In some embodiments, in response to a setting operation on an application in an application management page, the first device sends a setting instruction to the second device, causing the second device to set the application as either a first application or a second application based on the setting instruction, and then the first device sets the application as either a first application or a second application. The setting instruction is used to instruct the setting operation on the application.

[0130] In some embodiments, in response to a first setting operation on an application, the application is set as a first application, wherein the first setting operation is an operation of adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or, in response to a second setting operation on an application, the application is set as a second application, wherein the second setting operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

[0131] Optionally, the application management page includes an "Unset" list, a "First Application" list, and a "Second Application" list. When an application is in the "Unset" list, to set it as the first application, move the application from the "Unset" list to the "First Application" list; similarly, to set it as the second application, move it from the "Unset" list to the "Second Application" list. If an application is in the "First Application" list and you want to set it as the second application, first delete the application; the deleted application will then be in the "Unset" list, and you can then move it from the "Unset" list to the "Second Application" list. Similarly, if an application is in the "Second Application" list and you want to set it as the first application, first delete the application; the deleted application will then be in the "Unset" list, and you can then move it from the "Unset" list to the "First Application" list.

[0132] Optionally, the application management page includes a first application list and a second application list. If an application is in the first application list and you want to set it as the second application, you must first delete the application; the deleted application will then be in the second application list. If an application is in the second application list and you want to set it as the first application, you must first add the application; the added application will then be in the first application list. See the example below. Figure 7 The diagram shown is an illustration of the application management page. Figure 7 Taking an application management page that displays 7 apps as an example, the first application list is... Figure 7 The "Displayed Applications" list contains APP1-APP6, each with a corresponding delete control. Users can delete an app by clicking the corresponding delete control when they want to prevent screen mirroring. The second application list is... Figure 7 In the "Don't show apps" list, there are APP7. Each app has a corresponding add control. When a user wants to set an app as an application that can be cast to the screen, they can click the corresponding add control.

[0133] Of course, the application management page can also take other forms. In this embodiment of the disclosure, there are no restrictions on the specific display form of the application in the application management page.

[0134] In some embodiments, in response to a first setting operation, the first device sends a first setting instruction to the second device, causing the second device to set the application as a first application based on the first setting instruction, and then the first device sets the application as the first application, wherein the first setting instruction is used to instruct the first setting operation. Alternatively, in response to a second setting operation, the first device sends a second setting instruction to the second device, causing the second device to set the application as a second application based on the second setting instruction, and then the first device sets the application as the second application, wherein the second setting instruction is used to instruct the second setting operation.

[0135] In this embodiment of the disclosure, the user can set which applications are the first application and which are the second application according to actual needs, thereby controlling which applications are allowed to be cast and which are not, and improving the security and privacy of casting.

[0136] The above Figure 1 , Figure 2 and Figure 6 The illustrated embodiment describes the screen projection method from the perspective of a first device. The following will explain... Figure 8 The illustrated embodiment explains the screen projection method from the perspective of a second device.

[0137] Figure 8 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, performed by a second device. See [link to flowchart]. Figure 8 The method includes the following steps:

[0138] Step S801: Cast at least one first application from the second device to the first device; wherein the first application is an application in the second device that is allowed to be cast.

[0139] In some embodiments, the list of target applications displayed on a virtual screen is projected onto a first device so that the first device displays the list of target applications in the projection interface.

[0140] Step S802: When at least one target application in the first application is the application to be cast, the casting screen of the target application displayed on the virtual screen of the second device is cast to the first device, so that the casting screen is displayed on the first device in the casting interface.

[0141] In some embodiments, the second device receives a selection instruction sent by the first device, selects the first application as the target application based on the selection instruction, and projects the screen display of the target application on the virtual screen of the second device to the first device.

[0142] Optionally, the second device runs the target application on the virtual screen and displays the projected screen of the target application on the virtual screen.

[0143] The implementation methods of steps S801-802 are similar to those of steps S101-S103 described above, and will not be repeated here.

[0144] In some embodiments, the second device receives a first activation command sent by the first device; wherein the first activation command is used to instruct a first activation operation, the first activation operation being the activation operation of the privacy screen casting control in the screen casting interface; based on the first activation command, the privacy screen casting mode is activated, so that the first device activates the privacy screen casting mode in the screen casting interface.

[0145] In some embodiments, in response to a second activation operation, the second device activates its privacy screen mirroring mode and sends a second activation command to the first device, so that the first device activates its privacy screen mirroring mode based on the second activation command; wherein the second activation command is used to instruct the second activation operation, which is an activation operation of the privacy screen mirroring control in the second device.

[0146] In some embodiments, the second device projects the application management page onto the first device, so that the first device displays the application management page in the projected interface; wherein the application management interface displays the applications on the second device, and the application management page is displayed on the virtual screen of the second device.

[0147] In some embodiments, the second device receives a setting instruction sent by the first device; wherein the setting instruction is used to instruct on setting operations for applications in the application management page; based on the setting instruction, the application is set as a first application or a second application, so that the first device sets the application as a first application or a second application.

[0148] In some embodiments, an application management page is displayed; wherein the application management page displays applications on the second device; in response to a setting operation on the applications on the application management page, the application is set as a first application or a second application; the second application is an application on the second device that is not allowed to be cast to the screen.

[0149] In some embodiments, in response to a settings operation on an application in the application management page, setting an application as a first application or a second application includes: in response to a first settings operation on the application, setting the application as a first application; wherein the first settings operation is an operation to add the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or, in response to a second settings operation on the application, setting the application as a second application; wherein the second settings operation is an operation to add the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

[0150] In some embodiments, the second device receives control instructions sent by the first device; wherein the control instructions are used to instruct control operations on the target application; and based on the control instructions, the target application on the virtual screen is controlled.

[0151] The implementation methods of the above embodiments are the same as those described above. Figure 2 and Figure 6 The implementation methods shown in the embodiments are similar and will not be described again here.

[0152] The method provided in this disclosure involves a second device projecting a screen of an application that is allowed to be projected onto a first device. The user can select the target application to be projected from the allowed applications, and then the second device projects the screen of the target application onto the first device, so that the first device displays the screen of the target application in the projection interface. This method improves the security and privacy of the projection process while realizing application projection.

[0153] The following is through Figure 9 and Figure 10 The illustrated embodiment explains the screen projection method from the perspective of interaction between the first device and the second device.

[0154] Figure 9 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed interactively by a first device and a second device. See [link to flowchart]. Figure 9 The method includes the following steps:

[0155] In step S901, the second device projects at least one of the first applications from the second device to the first device.

[0156] In step S902, the first device displays at least one first application in the screen mirroring interface.

[0157] Step S903: The first device selects a target application from at least one first application.

[0158] Step S904: When at least one target application in the first application is the application to be cast, the second device casts the screen of the target application displayed on the virtual screen of the second device to the first device.

[0159] Step S904: The first device displays the screen projection screen of the target application in the screen projection interface.

[0160] The implementation methods of steps S901-S905 are similar to those of steps S101-S103 and S801-S802 described above, and will not be repeated here.

[0161] The method provided in this embodiment involves a second device projecting an application that is allowed to be projected onto a first device. The first device selects the target application to be projected from the allowed applications, and then the second device projects the projected screen of the target application onto the first device. The first device displays the projected screen of the target application in the projected interface. This method improves security and privacy during projection while enabling application projection.

[0162] Figure 10 This is a flowchart illustrating a screen mirroring method according to an exemplary embodiment, executed interactively by a first device and a second device. See [link to flowchart]. Figure 10 The method includes the following steps:

[0163] Step S1001: The first device displays the projection interface on the physical screen in a preset display state.

[0164] In step S1002, the first device responds to the first opening operation by sending a first opening command to the second device.

[0165] In step S1003, the second device receives the first activation command and activates the privacy screen mirroring mode based on the first activation command.

[0166] Step S1004: The first device enables privacy screen mirroring mode.

[0167] In step S1005, the second device projects at least one of the first applications onto the first device.

[0168] Step S1006: The first device displays at least one first application in the screen mirroring interface.

[0169] Step S1007: The first device selects a target application from at least one first application.

[0170] Step S1008: When at least one target application in the first application is the application to be cast, the second device casts the screen of the target application displayed on the virtual screen to the first device.

[0171] Step S1009: The first device displays the screen projection screen of the target application in the screen projection interface.

[0172] In step S1010, the first device sends a control command to the second device in response to the control operation of the target application.

[0173] In step S1011, the second device receives the control command sent by the first device and controls the target application on the virtual screen based on the control command.

[0174] In step S1012, the first device displays the application management page in the screen mirroring interface.

[0175] In step S1013, the first device responds to the setting operation of the application in the application management page by sending a setting command to the second device.

[0176] In step S1014, the second device receives the setting instruction sent by the first device and sets the application as either the first application or the second application based on the setting instruction.

[0177] In step S1015, the first device sets the application as either the first application or the second application.

[0178] See one example. Figure 11 The flowchart shown illustrates the screen mirroring process. When a user wants to configure applications in the application management page, the application management page is displayed on the physical screen (or screen mirroring interface) of the first device (see above). Figure 7 Users can set the target application as either the first or second application. When the user sets it through the first device, the second device, based on a fake launcher, controls the application management page displayed on the virtual screen to configure the target application. After the configuration is complete, the configured application management page (i.e., the current screen mirroring screen) is displayed on the virtual screen. Then, the second device can call an encoder to encode the current screen mirroring screen to obtain display data, and then send the display data to the first device. The first device calls a decoder to decode the display data, and then displays the screen mirroring screen (i.e., the configured application management page) in the screen mirroring interface. The above screen mirroring process describes the screen mirroring process for the application management page; the screen mirroring process for other content (e.g., the first application) is similar and will not be described in detail here.

[0179] Figure 12 This is a block diagram illustrating a screen projection device according to an exemplary embodiment, configured in a first device. See also... Figure 12 The device includes:

[0180] Display module 1201 is configured to display at least one first application in the screen mirroring interface of the first device; wherein the first application is an application in the second device that is allowed to be mirrored;

[0181] Selection module 1202 is configured to select a target application from at least one first application; wherein the target application is the application to be projected.

[0182] The display module 1201 is also configured to display the screen projection screen of the target application in the projection interface; the screen projection screen of the target application is the screen projection screen of the target application displayed on the virtual screen of the second device.

[0183] In some embodiments, the apparatus further includes:

[0184] The enabling module is configured to enable the privacy casting mode in response to the first enabling operation; wherein, the first enabling operation is to enable the privacy casting control in the casting interface, and the privacy casting mode means that the first application can be cast on the first device, but the second application cannot be cast, and the second application is an application on the second device that is not allowed to be cast.

[0185] In some embodiments, the apparatus further includes:

[0186] The sending module is configured to send a first activation command to the second device, so that the second device can activate the privacy screen mirroring mode based on the first activation command; wherein, the first activation command is used to indicate the first activation operation.

[0187] In some embodiments, the apparatus further includes:

[0188] The receiving module is configured to receive a second activation command sent by the second device; wherein the second activation command is used to indicate a second activation operation, which is an activation operation of the privacy projection control in the second device;

[0189] The module is configured to enable the privacy screen mirroring mode of the first device based on the second enable command.

[0190] In some embodiments, the apparatus further includes:

[0191] The display module 1201 is also configured to display an application management page in the screen mirroring interface; wherein the application management page displays applications from the second device;

[0192] The settings module is configured to respond to settings operations on applications in the application management page, setting an application as either a first application or a second application; the second application is an application on the second device that is not allowed to be cast to the screen.

[0193] In some embodiments, the setting module is configured as follows:

[0194] In response to a first settings operation on the application, the application is set as a first application; wherein the first settings operation is adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or,

[0195] In response to a second settings operation on the application, the application is set as a second application; wherein the second settings operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast.

[0196] In some embodiments, the apparatus further includes:

[0197] The sending module is configured to send a setting instruction to the second device, so that the second device sets the application as a first application or a second application based on the setting instruction; wherein the setting instruction is used to indicate the setting operation of the application.

[0198] In some embodiments, the display module 1201 is configured to display the projection interface on the physical screen of the first device in a preset display state; wherein the preset display state includes a floating capsule display state, a small window display state, or a full-screen display state.

[0199] In some embodiments, the apparatus further includes:

[0200] The sending module is configured to send control commands to the second device in response to a control operation on the target application, so that the second device controls the target application on the virtual screen based on the control commands; wherein the control commands are used to indicate the control operation on the target application.

[0201] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0202] Figure 13 This is a block diagram illustrating a screen projection device according to an exemplary embodiment, configured on a second device. See also... Figure 13 The device includes:

[0203] The screen mirroring module 1301 is configured to mirror at least one first application from the second device to the first device; wherein the first application is an application in the second device that is allowed to be mirrored.

[0204] The screen mirroring module 1301 is also configured to, when at least one target application in the first application is the application to be mirrored, mirror the screen mirroring screen of the target application displayed on the virtual screen of the second device to the first device, so that the first device displays the mirroring screen in the screen mirroring interface.

[0205] In some embodiments, the apparatus further includes:

[0206] The receiving module is configured to receive a first activation command sent by the first device; wherein the first activation command is used to indicate a first activation operation, which is an activation operation of the privacy screen casting control in the screen casting interface.

[0207] The module is configured to enable privacy screen casting mode based on the first enable command, so that the first device enables privacy screen casting mode in the screen casting interface.

[0208] In some embodiments, the apparatus further includes:

[0209] The module is configured to activate the privacy screen mirroring mode of the second device in response to the second activation operation.

[0210] The sending module is configured to send a second activation command to the first device, so that the first device activates the privacy screen casting mode based on the second activation command; wherein the second activation command is used to indicate a second activation operation, which is an activation operation of the privacy screen casting control in the second device.

[0211] In some embodiments, the screen mirroring module 1301 is further configured to mirror the application management page to the first device, so that the first device displays the application management page in the screen mirroring interface; wherein the application management interface displays the applications in the second device, and the application management page is displayed on the virtual screen of the second device.

[0212] In some embodiments, the apparatus further includes:

[0213] The receiving module is configured to receive a setting instruction sent by the first device; wherein the setting instruction is used to instruct on setting operations for a target application in the application management page;

[0214] The settings module is configured to set a target application as a first application or a second application based on a settings instruction, so that the first device sets the target application as the first application or the second application.

[0215] In some embodiments, the apparatus further includes:

[0216] The display module is configured to display an application management page; wherein the application management page displays the applications on the second device;

[0217] The settings module is configured to respond to settings operations on applications in the application management page, setting an application as either a first application or a second application; the second application is an application on the second device that is not allowed to be cast to the screen.

[0218] In some embodiments, the setting module is configured as follows:

[0219] In response to a first settings operation on the application, the application is set as a first application; wherein the first settings operation is adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or,

[0220] In response to a second settings operation on the application, the application is set as a second application; wherein the second settings operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast.

[0221] In some embodiments, the apparatus further includes:

[0222] The receiving module is configured to receive control commands sent by the first device; wherein the control commands are used to instruct control operations on the target application.

[0223] The control module is configured to control the target application on the virtual screen based on control commands.

[0224] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0225] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the screen projection method in the above embodiments.

[0226] Figure 14 This is a block diagram of an electronic device 1400 according to an exemplary embodiment.

[0227] Reference Figure 14 The electronic device 1400 may include one or more of the following components: a processing component 1402, a memory 1404, a power supply component 1406, a multimedia component 1408, an audio component 1410, an input / output (I / O) interface 1412, a sensor component 1414, and a communication component 1416.

[0228] Processing component 1402 typically controls the overall operation of electronic device 1400, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1402 may include one or more processors 1420 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1402 may include one or more modules to facilitate interaction between processing component 1402 and other components. For example, processing component 1402 may include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402.

[0229] Memory 1404 is configured to store various types of data to support the operation of electronic device 1400. Examples of this data include instructions for any application or method operating on electronic device 1400, contact data, phonebook data, messages, pictures, videos, etc. Memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0230] Power supply component 1406 provides power to various components of electronic device 1400. Power supply component 1406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1400.

[0231] Multimedia component 1408 includes a screen that provides an output interface between the electronic device 1400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1408 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1400 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0232] Audio component 1410 is configured to output and / or input audio signals. For example, audio component 1410 includes a microphone (MIC) configured to receive external audio signals when electronic device 1400 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1404 or transmitted via communication component 1416. In some embodiments, audio component 1410 also includes a speaker for outputting audio signals.

[0233] I / O interface 1412 provides an interface between processing component 1402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0234] Sensor assembly 1414 includes one or more sensors for providing state assessments of various aspects of electronic device 1400. For example, sensor assembly 1414 may detect the on / off state of electronic device 1400, the relative positioning of components such as the display and keypad of electronic device 1400, changes in position of electronic device 1400 or a component of electronic device 1400, the presence or absence of user contact with electronic device 1400, orientation or acceleration / deceleration of electronic device 1400, and temperature changes of electronic device 1400. Sensor assembly 1414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1414 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0235] Communication component 1416 is configured to facilitate wired or wireless communication between electronic device 1400 and other devices. Electronic device 1400 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1416 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0236] In an exemplary embodiment, the electronic device 1400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0237] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1404 including instructions, which can be executed by a processor 1420 of an electronic device 1400 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0238] This disclosure also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform the screen projection method described in the above embodiments.

[0239] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0240] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A screen projection method, characterized in that, The method includes: At least one first application is displayed in the screen mirroring interface of the first device; wherein the first application is an application that is allowed to be mirrored on the second device; Select a target application from the at least one first application; wherein the target application is the application to be cast to the screen; The target application's screen is displayed in the screen mirroring interface; the target application's screen mirroring is the screen mirroring of the target application displayed on the virtual screen of the second device.

2. The screen projection method according to claim 1, characterized in that, Before displaying at least one first application in the screen mirroring interface of the first device, the method further includes: In response to the first activation operation, the privacy casting mode is activated; wherein, the first activation operation is the activation operation of the privacy casting control in the casting interface, and the privacy casting mode means that the first application can be cast on the first device, but the second application cannot be cast, and the second application is an application on the second device that is not allowed to be cast.

3. The screen projection method according to claim 2, characterized in that, Before enabling the privacy screen casting mode, the method further includes: A first activation command is sent to the second device to enable the privacy screen mirroring mode based on the first activation command; wherein the first activation command is used to instruct the first activation operation.

4. The screen projection method according to claim 1, characterized in that, Before displaying at least one first application in the screen mirroring interface of the first device, the method further includes: Receive a second activation command sent by a second device; wherein the second activation command is used to indicate a second activation operation, the second activation operation being an activation operation of the privacy screen projection control in the second device; Based on the second activation command, the privacy screen mirroring mode of the first device is activated.

5. The screen projection method according to claim 1, characterized in that, The method further includes: The screen mirroring interface displays an application management page; wherein, the application management page displays the applications in the second device; In response to the settings operation of the application in the application management page, the application is set as either the first application or the second application; the second application is an application on the second device that is not allowed to be cast to the screen.

6. The screen projection method according to claim 5, characterized in that, The step of setting the application as the first application or the second application in response to a settings operation on the application management page includes: In response to a first settings operation on the application, the application is set as the first application; wherein, the first settings operation is an operation of adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or... In response to a second setting operation on the application, the application is set as the second application; wherein the second setting operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

7. The screen projection method according to claim 6, characterized in that, Before setting the application as the first application or the second application, the method further includes: A setting instruction is sent to the second device so that the second device sets the application as either the first application or the second application based on the setting instruction; wherein the setting instruction is used to instruct the setting operation of the application.

8. The screen projection method according to claim 1, characterized in that, The method further includes: The projection interface is displayed on the physical screen of the first device in a preset display state; wherein, the preset display state includes a floating capsule display state, a small window display state, or a full-screen display state.

9. The screen projection method according to claim 1, characterized in that, The method further includes: In response to a control operation on the target application, a control command is sent to the second device to enable the second device to control the target application on the virtual screen based on the control command; wherein the control command is used to indicate a control operation on the target application.

10. A screen projection method, characterized in that, The method includes: At least one first application from the second device is cast to the first device; wherein the first application is an application on the second device that is allowed to be cast. When the target application in at least one of the first applications is the application to be cast, the casting screen of the target application displayed on the virtual screen of the second device is cast to the first device, so that the casting screen is displayed on the first device in the casting interface.

11. The screen projection method according to claim 10, characterized in that, Before casting at least one first application from the second device to the first device, the method further includes: Receive a first activation command sent by the first device; wherein the first activation command is used to indicate a first activation operation, the first activation operation being the activation operation of the privacy screen casting control in the screen casting interface; Based on the first activation command, the privacy screen casting mode is activated, so that the first device can activate the privacy screen casting mode in the screen casting interface.

12. The screen projection method according to claim 10, characterized in that, The method further includes: In response to the second activation operation, the privacy screen casting mode of the second device is activated, and a second activation command is sent to the first device, so that the first device activates its privacy screen casting mode based on the second activation command; wherein, the second activation command is used to instruct the second activation operation, which is an activation operation of the privacy screen casting control in the second device.

13. The screen projection method according to claim 10, characterized in that, The method further includes: The application management page is projected onto the first device so that the first device displays the application management page in the projection interface; wherein the application management interface displays the applications in the second device.

14. The screen projection method according to claim 13, characterized in that, The method further includes: Receive a setting instruction sent by the first device; wherein the setting instruction is used to instruct a setting operation on the target application in the application management page; Based on the setting instruction, the target application is set to either the first application or the second application, so that the first device sets the target application to either the first application or the second application.

15. The screen projection method according to claim 10, characterized in that, The method further includes: Display the application management page; wherein the application management page displays the applications in the second device; In response to the settings operation of the application in the application management page, the application is set as either the first application or the second application; the second application is an application on the second device that is not allowed to be cast to the screen.

16. The screen projection method according to claim 15, characterized in that, The step of setting the application as the first application or the second application in response to a setting operation on the application management page includes: In response to a first settings operation on the application, the application is set as the first application; wherein, the first settings operation is an operation of adding the application to a first application list in the application management page, the first application list including applications that are allowed to be cast to the screen; or... In response to a second setting operation on the application, the application is set as the second application; wherein the second setting operation is an operation of adding the application to a second application list in the application management page, the second application list including applications that are not allowed to be cast to the screen.

17. The screen projection method according to claim 10, characterized in that, The method further includes: Receive control instructions sent by the first device; wherein the control instructions are used to instruct control operations on the target application; Based on the control instructions, control the target application on the virtual screen.

18. A screen projection device, characterized in that, The device includes: The display module is configured to display at least one first application in the screen mirroring interface of the first device; wherein the first application is an application in the second device that is allowed to be mirrored; The selection module is configured to select a target application from the at least one first application; wherein the target application is the application to be projected. The display module is further configured to display the screen projection screen of the target application in the screen projection interface; the screen projection screen of the target application is the screen projection screen of the target application displayed on the virtual screen of the second device.

19. A screen projection device, characterized in that, The device includes: The screen mirroring module is configured to mirror at least one first application from the second device to the first device; wherein the first application is an application on the second device that is allowed to be mirrored. The screen mirroring module is further configured to, when a target application in the at least one first application is the application to be mirrored, mirror the screen of the target application displayed on the virtual screen of the second device to the first device, so that the first device displays the mirrored screen in the screen mirroring interface.

20. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the screen projection method as described in any one of claims 1-9, or the processor is configured to perform the screen projection method as described in any one of claims 10-17.

21. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the screen projection method as described in any one of claims 1-9, or the processor is configured to perform the screen projection method as described in any one of claims 10-17.