Screen projection content display methods, devices, equipment and storage media

By receiving and adjusting the display parameters of the projection window based on the location information of the electronic device, the cumbersome operation problem when projection from multiple devices is solved, and more convenient content replacement and management are achieved.

CN115268817BActive Publication Date: 2026-04-03VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-17
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

When multiple electronic devices are projected onto the same screen, changing the displayed content of the projection window is cumbersome and time-consuming, resulting in low management efficiency.

Method used

The projection device receives and adjusts the display parameters of the projection window based on the location information sent by multiple electronic devices, so that users can quickly confirm the location of the corresponding electronic device and change the displayed content.

Benefits of technology

It simplifies the process of changing the projection window for users, saves users' operation time, and improves the efficiency of managing projection windows of multiple electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115268817B_ABST
    Figure CN115268817B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for displaying screen projection content, belonging to the field of communication technology. The method includes: when the screen projection device establishes a connection with at least two electronic devices and the screen projection device displays at least two screen projection windows corresponding to the at least two electronic devices respectively, receiving at least two location information sent by the at least two electronic devices, each location information corresponding to one electronic device; adjusting the display parameters of the at least two screen projection windows according to the at least two location information; wherein, the display parameters include at least one of the following: window display size and window display position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and specifically relates to a method, apparatus, device and storage medium for displaying screen projection content. Background Technology

[0002] Currently, multiple electronic devices can project their current screen content onto the same projection device (i.e., multiple electronic devices projecting their screens simultaneously), allowing the projection device to display the content projected by multiple electronic devices through different projection windows. Users can operate on any projection window of the projection device to change the displayed content.

[0003] However, during screen mirroring from electronic devices, if a user wants to change the content displayed in a particular mirroring window, the user cannot determine which electronic device is displaying the content. Therefore, the user needs to check all electronic devices one by one based on the content displayed in that particular mirroring window to identify the corresponding device and change the content on that device. As a result, when multiple electronic devices are mirroring simultaneously, changing the content displayed in a mirroring window is cumbersome and time-consuming, leading to low efficiency in managing mirroring windows from multiple electronic devices. Summary of the Invention

[0004] The purpose of this application is to provide a method, apparatus, device, and storage medium for displaying screen projection content, which can solve the problem that when multiple electronic devices are projected onto the same screen, the operation of changing the displayed content of the projection window is cumbersome and time-consuming, resulting in low efficiency in managing multiple electronic devices.

[0005] In a first aspect, embodiments of this application provide a method for displaying projection content, applied to a projection device. The method includes: when the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to the at least two electronic devices respectively, receiving at least two location information sent by the at least two electronic devices, each location information corresponding to one electronic device; and adjusting the display parameters of the at least two projection windows according to the at least two location information; wherein the display parameters include at least one of the following: window display size and window display position.

[0006] Secondly, embodiments of this application provide a screen projection content display device, applied to a screen projection device. The screen projection content display device includes a receiving module and a processing module. The receiving module is used to receive at least two location information messages sent by at least two electronic devices when the screen projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to each of the at least two electronic devices. Each location information message corresponds to one electronic device. The processing module is used to adjust the display parameters of the at least two projection windows based on the at least two location information messages received by the receiving module.

[0007] Thirdly, this application provides a method for displaying projection content, applied to an electronic device. The method includes: when an electronic device establishes a connection with a projection device and the projection device displays at least two projection windows corresponding to at least two electronic devices respectively, sending location information to the projection device. The location information is used by the projection device to adjust the display parameters of the at least two projection windows according to the location information of the at least two electronic devices.

[0008] Fourthly, this application provides a screen projection content display device applied to an electronic device. The screen projection content display device includes a sending module. The sending module is used to send location information to the screen projection device when the electronic device and the screen projection device establish a connection and the screen projection device displays at least two screen projection windows corresponding to at least two electronic devices respectively. The location information is used by the screen projection device to adjust the display parameters of the at least two screen projection windows according to the location information of the at least two electronic devices.

[0009] Fifthly, embodiments of this application provide a screen projection device, which includes a processor and a memory. The memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the method described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide an electronic device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method described in the third aspect.

[0011] In a seventh aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first or third aspect.

[0012] Eighthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the methods described in the first or third aspects.

[0013] Ninthly, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first or third aspect.

[0014] In this embodiment, when the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to each of the at least two electronic devices, the projection device can receive at least two location information sent by the at least two electronic devices to adjust the display parameters of the at least two projection windows based on the location information. In this solution, after the projection device establishes a connection with multiple electronic devices and displays multiple projection windows corresponding to each of the multiple electronic devices, it can adjust the multiple projection windows corresponding to each of the multiple electronic devices based on the received location information of each electronic device. Therefore, when a user needs to change the display content of a projection window, they can quickly determine the location of the corresponding electronic device based on the display position of that projection window, and quickly perform the operation on that electronic device to change the display content of the projection window corresponding to that electronic device, without requiring the user to check all electronic devices one by one to determine the corresponding electronic device. Thus, the operation of changing the display content of projection windows in this solution is more convenient for users, saving user time and improving the management efficiency of projection windows for multiple electronic devices. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of a screen projection content display method provided in an embodiment of this application;

[0016] Figure 2 This is a schematic diagram illustrating an example of a projector display projection window provided in an embodiment of this application;

[0017] Figure 3 This is one of the schematic diagrams illustrating an example of adjusting the display parameters of a projection window using a projector, as provided in this application embodiment.

[0018] Figure 4 This is a second example of a schematic diagram illustrating the adjustment of display parameters of a projection window using a projector, as provided in an embodiment of this application.

[0019] Figure 5 This is the third example of a schematic diagram illustrating how to adjust the display parameters of a projection window using a projector, as provided in this application embodiment.

[0020] Figure 6 This is the fourth example of a schematic diagram illustrating the adjustment of display parameters of a projection window in a projector, as provided in the embodiments of this application.

[0021] Figure 7 This is one of the flowcharts illustrating a method for displaying screen projection content provided in an embodiment of this application;

[0022] Figure 8 This is a second schematic flowchart of a screen projection content display method provided in an embodiment of this application;

[0023] Figure 9 This is one of the structural schematic diagrams of a screen projection content display device provided in the embodiments of this application;

[0024] Figure 10 This is a second schematic diagram of the structure of a screen projection content display device provided in the embodiments of this application;

[0025] Figure 11 This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;

[0026] Figure 12 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0027] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0029] The screen projection content display method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0030] The screen projection content display method in this application embodiment can be applied to scenarios where multiple electronic devices project their screens to a single screen projection device.

[0031] Currently, when users project multiple electronic devices onto a single screen, the projection window for each device does not display its information. When users need to determine the correspondence between electronic devices and projection windows to change the content projected from a specific device, they typically have to check each device individually to confirm its relative position. Alternatively, the projection window may only display partial information, such as the device model. This makes it difficult to quickly identify the correspondence between multiple devices of the same model when projecting simultaneously. Therefore, existing multi-electronic device projection solutions fail to provide a clear and quick way to identify the corresponding electronic device and its location from multiple windows displayed on the same screen.

[0032] The purpose of this invention is to provide a method for displaying projection windows on a projection device when multiple electronic devices are projected onto the same screen, thereby solving the problem of users being unable to effectively and quickly manage multiple electronic devices for simultaneous projection. 1. After an electronic device projects onto the projection device and displays its projection window, the projection device acquires the relative position information of the electronic device with other electronic devices, determines the direction from which the projection is coming from, and adjusts the display position of the projection window based on the position information of the already projected electronic devices. Users can intuitively identify the corresponding electronic device and its location through the projection window on the projection device. 2. When the position of an electronic device changes, the sorting position of its projection window dynamically changes accordingly. 3. When demonstrating the content of a specific electronic device, the corresponding projection window of that device will be focused and enlarged, resulting in a better demonstration effect.

[0033] In the solution provided in this application embodiment, when the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to each of the at least two electronic devices, the projection device can receive at least two location information sent by the at least two electronic devices to adjust the display parameters of the at least two projection windows based on the at least two location information. In this solution, after the projection device establishes a connection with multiple electronic devices and displays multiple projection windows corresponding to each of the multiple electronic devices, it can adjust the multiple projection windows corresponding to each of the multiple electronic devices based on the received location information of each electronic device. That is, it adjusts the multiple projection windows based on the location information of the multiple electronic devices. Therefore, when a user needs to change the display content of a projection window, they can quickly determine the location of the corresponding electronic device based on the display position of that projection window, and quickly perform the operation on that electronic device to change the display content of the projection window corresponding to that electronic device, without the user needing to check all electronic devices one by one to determine the corresponding electronic device. Thus, the operation of changing the display content of projection windows in this solution is more convenient for users, saving user time and improving the management efficiency of projection windows of multiple electronic devices.

[0034] This application provides a method for displaying screen-projected content. Figure 1 A flowchart illustrating a screen projection content display method provided in an embodiment of this application is shown. Figure 1 As shown, the screen projection content display method provided in this application embodiment may include the following steps 201 and 202.

[0035] Step 201: When the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to at least two electronic devices respectively, the projection device receives at least two location information sent by at least two electronic devices.

[0036] In this embodiment of the application, each location information corresponds to an electronic device.

[0037] In this embodiment of the application, when the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to the at least two electronic devices respectively, the projection device can receive at least two location information sent by the at least two electronic devices, so as to adjust the display parameters of the at least two projection windows according to the at least two location information.

[0038] It should be noted that establishing a connection between a screen mirroring device and an electronic device can be understood as follows: after the screen mirroring device is connected to the electronic device, the screen mirroring device has the right to synchronously display / share the screen content of the electronic device.

[0039] In this embodiment of the application, each projection window corresponds to an electronic device.

[0040] Optionally, in this embodiment of the application, the location information of the electronic device may include at least one of the following: the geographical location information of the electronic device, the coordinate position information of the electronic device relative to the projection device, and the orientation information of the electronic device relative to the projection device.

[0041] Optionally, in the embodiments of this application, the aforementioned projection device can be any of the following: electronic device, projector, display device with display function, etc.

[0042] Optionally, in this embodiment of the application, the projection device can detect the location information of at least two electronic devices in real time, or receive the location information sent by at least two electronic devices to the projection device, so as to adjust the display parameters of at least two projection windows according to the at least two location information.

[0043] Optionally, in this embodiment of the application, before step 201 above, the screen projection content display method provided in this embodiment of the application further includes the following steps 301 and 302.

[0044] Step 301: The screen mirroring device receives at least two screen mirroring requests from at least two electronic devices.

[0045] In this embodiment of the application, the above-mentioned screen mirroring request is used to request the establishment of a screen mirroring connection with the screen mirroring device.

[0046] Optionally, in this embodiment of the application, the electronic device can search for nearby screen mirroring devices. When at least one screen mirroring device is found, the device identifier of at least one screen mirroring device is displayed. Then, the user can select one of the device identifiers to trigger the electronic device to send a screen mirroring request to the screen mirroring device corresponding to the device identifier, so as to request to establish a screen mirroring connection with the screen mirroring device.

[0047] Step 302: The screen mirroring device establishes screen mirroring connections with at least two electronic devices based on at least two screen mirroring requests, and displays at least two screen mirroring windows.

[0048] It is understandable that after a screen mirroring device establishes a screen mirroring connection with at least two electronic devices, it can display a corresponding number of screen mirroring windows based on the number of at least two electronic devices.

[0049] For example, taking a projector as the projection device and a mobile phone as the electronic device, let's assume that mobile phone A, mobile phone B, mobile phone C, and mobile phone D are connected to the projector. Figure 2 As shown, the projector displays four projection windows: projection window 11, projection window 12, projection window 13, and projection window 14.

[0050] Step 202: The projection device adjusts the display parameters of at least two projection windows based on at least two location information.

[0051] In this embodiment of the application, each adjusted projection window corresponds to the location information of an electronic device.

[0052] Optionally, in the embodiments of this application, step 202 can be implemented by steps 202a and 202b as described below.

[0053] Step 202a: The projection device determines at least one relative position based on the position information of at least two electronic devices.

[0054] In this embodiment of the application, each relative position is the relative position of one electronic device to another electronic device.

[0055] In this embodiment of the application, for each of at least two electronic devices, the projection device can determine the position of one electronic device relative to each of the other electronic devices to obtain at least one relative position. It should be noted that the position of one electronic device relative to another, and the position of another electronic device relative to one electronic device, can be understood as the relative position of one electronic device to another.

[0056] For example, suppose that at least two electronic devices are actually three electronic devices, namely electronic device 1, electronic device 2 and electronic device 3. The position of electronic device 1 relative to electronic device 2 is that electronic device 1 is in front of electronic device 2. The position of electronic device 1 relative to electronic device 3 is that electronic device 1 is to the left of electronic device 3. The position of electronic device 2 relative to electronic device 3 is that electronic device 2 is to the left and rear of electronic device 3. Therefore, at least one relative position is: electronic device 1 is in front of electronic device 2, electronic device 1 is to the left of electronic device 3 and electronic device 2 is to the left and rear of electronic device 3.

[0057] Optionally, in the embodiments of this application, when determining the relative position of one electronic device and another electronic device, the projection device may use the position of one electronic device or the position of the other electronic device as a reference position, or the position of the projection device may be used as a reference position.

[0058] Optionally, in this embodiment of the application, the projection device can establish a spatial rectangular coordinate system with the projection device or any one of the at least two electronic devices as the origin, and then map the position information of the at least two electronic devices to the X-axis, Y-axis and Z-axis to obtain the coordinate position information of each of the at least two electronic devices. Then, based on the coordinate position information of one electronic device and the other electronic device, the change in the coordinate position information of the two electronic devices in the X-axis, Y-axis and Z-axis is obtained, so as to determine the relative position of one electronic device and the other electronic device based on the difference, thereby determining at least one relative position.

[0059] For example, suppose mobile phones A, B, C, and D are connected to a projector. A spatial rectangular coordinate system is established with the projector as the origin. The position information of the four phones is mapped to the X, Y, and Z axes, resulting in the coordinates of phone A (0, 1, 0), phone B (1, 1, 0), phone C (0, 2, 0), and phone D (1, 2, 0). Then, based on the coordinates of phone A and phone B, the change in these two coordinates along the X-axis is calculated as a positive increase of 1. Based on the coordinates of phone A and phone C, the two coordinates are calculated as follows: The change in the coordinate value on the Y-axis increases by 1 in the positive direction. Based on the coordinate values ​​of phone A and phone D, the change in both coordinate values ​​on the X-axis and Y-axis increases by 1 in the positive direction. Based on the coordinate values ​​of phone B and phone C, the change in both coordinate values ​​on the X-axis increases by 1 in the negative direction and Y-axis increases by 1 in the positive direction. Based on the coordinate values ​​of phone B and phone D, the change in both coordinate values ​​on the Y-axis increases by 1 in the positive direction. Based on the coordinate values ​​of phone C and phone D, the change in both coordinate values ​​on the X-axis increases by 1 in the positive direction. Therefore, at least one relative position is determined as follows: phone A is to the left of phone B; phone A is in front of phone C; phone A is to the left and front of phone D; phone B is to the right and front of phone C; phone B is in front of phone D; and phone C is to the left of phone D.

[0060] Step 202b: The projection device adjusts the display parameters of at least two projection windows according to at least one relative position.

[0061] In this embodiment of the application, for each of the at least one relative position, the electronic device can adjust the projection window of the one electronic device and the projection window of the other electronic device according to a relative position (i.e., the relative position of the one electronic device and the other electronic device), that is, the relative position of the projection window of the one electronic device and the projection window of the other electronic device is consistent with the relative position of the one electronic device and the other electronic device.

[0062] It is understandable that the relative position between at least two electronic devices is consistent with the relative position between the two projection windows corresponding to those two electronic devices.

[0063] For example, in at least one relative position including the relative positions of mobile phone A and mobile phone B, mobile phone A and mobile phone C, mobile phone A and mobile phone D, mobile phone B and mobile phone C, mobile phone B and mobile phone D, and mobile phone C and mobile phone D, and mobile phone A is to the left of mobile phone B, mobile phone A is in front of mobile phone C, mobile phone A is to the left front of mobile phone D, mobile phone B is to the right front of mobile phone C, mobile phone B is in front of mobile phone D, and mobile phone C is to the left of mobile phone D, taking the screen mirroring window corresponding to mobile phone A as screen mirroring window 11, the screen mirroring window corresponding to mobile phone B as screen mirroring window 12, the screen mirroring window corresponding to mobile phone C as screen mirroring window 13, and the screen mirroring window corresponding to mobile phone D as screen mirroring window 14 as an example, such as... Figure 3 As shown, the projector adjusts the four projection windows according to the above relative positions, displaying projection window 11 to the left of projection window 12, above projection window 13, and in the upper left corner of projection window 14; displaying projection window 12 in the upper right corner of projection window 13, above projection window 14; and displaying projection window 13 to the left of projection window 14.

[0064] Optionally, in this embodiment of the application, after the projection device adjusts the display parameters of at least two projection windows according to at least one relative position, the position information of a certain electronic device (e.g., the first electronic device) changes, which can cause some of the relative positions in at least one relative position to change, that is, the relative positions between some of the at least two electronic devices to change. Therefore, the projection device can adjust the display parameters of the projection window of the part of the electronic device according to the changed position information of the first electronic device received.

[0065] For example, combined Figure 3 ,like Figure 4 As shown, assuming the user moves phone A and phone B, when the projector detects a change in the position information of phone A and phone B, it redetermines at least one relative position based on the changed position information of phone A and phone B (for example: phone A is now to the right of phone B, to the right front of phone C, and above phone D; phone B is now above phone C, to the left of phone D; and phone C is now to the left of phone D). Then, based on the redetermined at least one relative position, it swaps the positions of the projection window 11 corresponding to phone A and the projection window 12 corresponding to phone B.

[0066] Alternatively, a change in the position information of a certain electronic device (e.g., the first electronic device) can cause a change in all relative positions in at least one relative position, that is, a change in the relative positions between all electronic devices in at least two electronic devices. Therefore, the projection device can adjust the display parameters of the projection windows of all electronic devices according to the changed position information of the first electronic device.

[0067] For example, combined Figure 3 ,like Figure 5 As shown, assuming the user moves phone A and phone B, when the projector detects a change in the position information of phone A and phone B, it redetermines at least one relative position based on the changed position information of phone A and phone B (for example: phone A is now to the right of phone B, behind phone C, and to the right rear of phone D; phone B is now to the left rear of phone C and to the right of phone D; phone C is now to the right of phone D). Then, based on the redetermined at least one relative position, it adjusts the display positions of the projection windows 11, 12, 13, and 14 corresponding to phone A, phone B, phone C, and phone D.

[0068] This increases the flexibility of displaying multiple projection windows on the projection device.

[0069] This application provides a method for displaying projection content. When a projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to each of the two electronic devices, the projection device can receive at least two location information messages from the two electronic devices to adjust the display parameters of the at least two projection windows based on this information. In this solution, after the projection device establishes a connection with multiple electronic devices and displays multiple projection windows corresponding to each of the multiple electronic devices, it can adjust the multiple projection windows corresponding to each of the multiple electronic devices based on the received location information of each electronic device. Therefore, when a user needs to change the display content of a projection window, they can quickly determine the location of the corresponding electronic device based on the display position of that projection window, allowing for quick operation on that electronic device to change the display content of its corresponding projection window. This eliminates the need for the user to check all electronic devices one by one to determine the corresponding device. Thus, this solution makes changing the display content of projection windows more convenient for users, saves user time, and improves the management efficiency of projection windows across multiple electronic devices.

[0070] Optionally, in this embodiment of the application, the screen projection content display method provided in this embodiment of the application further includes the following steps 401 and 402.

[0071] Step 401: The projection device detects the location information of at least two electronic devices in real time.

[0072] In this embodiment of the application, when the screen projection device displays at least two screen projection windows, it can detect the location information of at least two electronic devices in real time, and if the location information of a certain electronic device is not detected at a certain moment, it can cancel the display of the screen projection window corresponding to that electronic device and adjust the display parameters of other screen projection windows.

[0073] Step 402: If the location information of the first electronic device is not detected at the first moment, the projection device cancels the display of the first projection window and adjusts the display parameters of the M projection windows.

[0074] In this embodiment of the application, the first electronic device is one or more electronic devices among at least two electronic devices, the first projection window is the projection window corresponding to the first electronic device among at least two projection windows, and the M projection windows are projection windows other than the first projection window among at least two projection windows, where M is a positive integer.

[0075] It is understandable that the user moved the first electronic device before the first moment, causing the first electronic device to be outside the detection range of the screen projection device, so the screen projection device did not detect the position information of the first electronic device at the first moment.

[0076] It should be noted that the range at which the screen mirroring device detects electronic devices can be the same as or different from the range at which the electronic device projects its screen onto the screen mirroring device. If they are different, there may be a situation where the electronic device is projecting its screen onto the screen mirroring device, but the screen mirroring device cannot detect the electronic device.

[0077] For example, combined Figure 2 ,like Figure 6 As shown, suppose the user moves phone A and phone B beyond the projector's detection range, causing the projector to fail to detect the location information of phone A and phone B at the first moment (e.g., 3:00 PM). At this time, the projector can cancel the display of the projection window corresponding to phone A (e.g., projection window 11) and the projection window corresponding to phone B (e.g., projection window 12), and adjust the display position and display size of the projection window corresponding to phone C (e.g., projection window 13) and the projection window corresponding to phone D (e.g., projection window 14).

[0078] In this embodiment, the projection device can detect the location information of the first electronic device in real time. When the location information of the first electronic device cannot be detected, the first projection window corresponding to the first electronic device is canceled, and the display parameters of other projection windows are adjusted. This improves the flexibility of the projection device in managing projection windows.

[0079] Optionally, in this embodiment of the application, the screen projection content display method provided in this embodiment of the application further includes the following steps 401 and 501.

[0080] Step 401: The projection device detects the location information of at least two electronic devices in real time.

[0081] In this embodiment of the application, when the screen projection device displays at least two screen projection windows, the position information of at least two electronic devices can be detected in real time. If the position information of the first electronic device is not detected at the first moment, the display parameters of at least two screen projection windows are adjusted according to the position information of the first screen projection window at the second moment and the position information of M screen projection windows at the first moment.

[0082] Step 501: If the position information of the first electronic device is not detected at the first moment, the projection device adjusts the display parameters of at least two projection windows according to the position information of the first projection window at the second moment and the position information of the M projection windows at the first moment.

[0083] In this embodiment of the application, the second moment is the moment when the location information of the first electronic device was most recently detected before the first moment.

[0084] It is understandable that if the projection device does not detect the position information of the first electronic device at the first moment, it can determine at least one relative position based on the position information of the first electronic device corresponding to the first projection window at the previous detection (i.e., the second detection before the first moment) and the position information of the electronic devices corresponding to other projection windows (i.e., M projection windows) at the current detection (i.e., the first moment detection). Then, based on the determined at least one relative position, the display parameters of at least two projection windows are adjusted.

[0085] For example, suppose the user moves phone A and phone B beyond the projector's detection range, causing the projector to fail to detect the location information of phone A and phone B at the first moment (e.g., 3:00 PM). In this case, the projector can adjust the display parameters of the four projection windows based on the location information of phone A and phone B detected at the second moment (e.g., 2:58 PM) and the location information of phone C and phone D at the first moment.

[0086] In this embodiment, the projection device can detect the location information of electronic devices in real time. When the location information of the first electronic device cannot be detected at the first moment, the display parameters of the projection windows corresponding to all electronic devices are adjusted according to the location information of the first electronic device at the moment before the first moment (i.e., the second moment) and the location information of other electronic devices at the first moment, thereby improving the flexibility of the projection device in adjusting the projection windows.

[0087] Optionally, in this embodiment of the application, the screen projection content display method provided in this embodiment of the application further includes the following step 601.

[0088] Step 601: If the second electronic device is detected to have disconnected from the screen projection connection, the screen projection device cancels the display of the second screen projection window and adjusts the display parameters of N screen projection windows.

[0089] In this embodiment of the application, the second electronic device is one or more of at least two electronic devices, the second projection window is the projection window corresponding to the second electronic device in at least two projection windows, and the N projection windows are projection windows other than the second projection window in at least two projection windows, where N is a positive integer.

[0090] For example, when the projector detects that mobile phone A and mobile phone B have disconnected the screen projection connection, such as Figure 6 As shown, the projector cancels the display of the projection window corresponding to mobile phone A (e.g., projection window 11) and the projection window corresponding to mobile phone B (e.g., projection window 12), and adjusts the display position and display size of the projection window corresponding to mobile phone C (e.g., projection window 13) and the projection window corresponding to mobile phone D (e.g., projection window 14).

[0091] In this embodiment, when the screen projection device detects that an electronic device has disconnected from the screen projection connection, it can cancel the display of the screen projection window corresponding to that electronic device and adjust the display parameters of other screen projection windows, thereby improving the flexibility of the screen projection device in managing screen projection windows.

[0092] Optionally, in this embodiment of the application, the screen projection content display method provided in this embodiment of the application further includes the following steps 701 and 702.

[0093] Step 701: The screen projection device receives the user's first input on the third screen projection window among at least two screen projection windows.

[0094] Optionally, in this embodiment of the application, the first input can be a user's click input (e.g., single-click input or double-click input), long-press input, voice input, or swipe input on a third projection window among at least two projection windows, to trigger the projection device to adjust the display parameters of at least two projection windows.

[0095] Step 702: The projection device responds to the first input and adjusts the display parameters of at least two projection windows.

[0096] The first scenario: The user triggers the screen mirroring device to enlarge the third screen mirroring window and correspondingly shrink the other screen mirroring windows.

[0097] Optionally, in this embodiment of the application, when the projection device enlarges the display of the third projection window, it can highlight the outer border of the third projection window, thereby improving the diversity of the projection window displayed by the projection device.

[0098] The second scenario: The user triggers the screen mirroring device to display the third screen mirroring window in full screen and hides the other screen mirroring windows. Understandably, the display size of the other screen mirroring windows is zero at this time.

[0099] Optionally, in this embodiment of the application, when the screen projection device receives voice input from a user holding a third electronic device, it can adjust the display parameters of the screen projection window corresponding to the third electronic device, and adjust the display parameters of other screen projection windows accordingly.

[0100] Optionally, in this embodiment of the application, the user can input on the electronic device corresponding to the third projection window to trigger the projection device to adjust the display parameters of at least two projection windows.

[0101] In this embodiment, when the user inputs into the third projection window, the projection device can be triggered to highlight the third projection window to remind the user to view the content displayed in the third projection window. This improves the flexibility of the projection device in displaying the projection window.

[0102] In the embodiments of this application, such as Figure 7 As shown, the screen projection content display method provided in this application embodiment may include the following steps 21 to 27.

[0103] Step 21: The screen mirroring device receives at least two screen mirroring requests from at least two electronic devices, and establishes screen mirroring connections with at least two electronic devices respectively based on the at least two screen mirroring requests.

[0104] In this embodiment of the application, the screen mirroring request is used to request the establishment of a screen mirroring connection with the screen mirroring device.

[0105] Step 22: Assign at least two projection windows to at least two electronic devices.

[0106] Step 23: The screen mirroring device displays the screen mirroring content of at least two electronic devices based on at least two screen mirroring windows.

[0107] In this embodiment of the application, each projection window corresponds to an electronic device.

[0108] Step 24: The projection device receives at least two location information sent by at least two electronic devices.

[0109] In this embodiment of the application, each location information corresponds to an electronic device.

[0110] Step 25: The projection device adjusts the display parameters of at least two projection windows based on the location information of at least two electronic devices.

[0111] Step 26: The projection device detects in real time whether the second electronic device disconnects from the projection connection.

[0112] In this embodiment of the application, the second electronic device is one or more of at least two electronic devices.

[0113] Step 27: If the second electronic device is detected to have disconnected from the screen projection connection, the screen projection device cancels the display of the second screen projection window and adjusts the display parameters of N screen projection windows.

[0114] In this embodiment of the application, the second projection window is the projection window corresponding to the second electronic device, and the N projection windows are projection windows other than the second projection window among at least two projection windows.

[0115] It should be noted that the relevant descriptions of steps 21 to 27 are as described in the above embodiments, and will not be repeated here.

[0116] This application provides a method for displaying screen projection content, which may include the following step 801.

[0117] Step 801: When the electronic device and the projection device establish a connection and the projection device displays at least two projection windows corresponding to at least two electronic devices respectively, the electronic device sends location information to the projection device.

[0118] In this embodiment of the application, the aforementioned location information is used by the projection device to adjust the display parameters of at least two projection windows based on the location information of at least two electronic devices.

[0119] In this embodiment of the application, when an electronic device establishes a connection with a projection device and the projection device displays at least two projection windows corresponding to at least two electronic devices, the electronic device can send location information to the projection device so that the projection device can adjust the display parameters of at least two projection windows according to the location information of at least two electronic devices.

[0120] It should be noted that the description of the location information of the electronic device and the adjustment of the display parameters of at least two projection windows of the projection device can be found in the description in the above embodiments, and will not be repeated here.

[0121] This application provides a method for displaying screen projection content. When an electronic device and a screen projection device establish a connection and the screen projection device displays at least two screen projection windows corresponding to at least two electronic devices, the electronic device can send location information to the screen projection device. After receiving the location information sent by the electronic device, the screen projection device can adjust the display parameters of at least two screen projection windows according to the at least two location information sent by the at least two electronic devices. In this solution, after the electronic devices establish a connection with the projection device and the projection device displays multiple projection windows corresponding to each electronic device, the electronic devices can send location information to the projection device. Upon receiving this location information, the projection device can adjust the multiple projection windows corresponding to each electronic device based on their location information. Therefore, when a user needs to change the display content of a projection window, they can quickly identify the location of the corresponding electronic device based on the window's display position, allowing for rapid operation on that device to change the content of its corresponding projection window. This eliminates the need for the user to check each electronic device individually to identify the correct one. This solution makes changing the display content of projection windows more convenient, saves user time, and improves the management efficiency of projection windows across multiple electronic devices.

[0122] Optionally, in this embodiment of the application, after step 801 above, the screen projection content display method provided in this embodiment of the application further includes the following step 901.

[0123] Step 901: When the electronic device detects a change in its location information, the electronic device sends the first information to the projection device.

[0124] In this embodiment of the application, the first information is the position information of the electronic device after the change, and the first information is used by the projection device to adjust the display parameters of at least two projection windows.

[0125] In this embodiment of the application, when the projection device displays at least two projection windows corresponding to at least two electronic devices, when the electronic device detects a change in the position information of the electronic device, it can send position information to the projection device so that the projection device can adjust the display parameters of at least two projection windows according to the position information of at least two electronic devices.

[0126] Optionally, in this embodiment of the application, after step 801 above, the screen projection content display method provided in this embodiment of the application further includes the following steps 903 and 904.

[0127] Step 903: The electronic device receives the user's second input.

[0128] In this embodiment of the application, the second input is the input for editing the fourth projection window.

[0129] In this embodiment of the application, when the projection device displays at least two projection windows corresponding to at least two electronic devices, the user can input information into the electronic device to trigger the electronic device to send second information to the projection device, instructing the projection device to edit the projection window corresponding to the electronic device.

[0130] Optionally, in this embodiment of the application, the second input may be the user's input to the full-screen display control displayed on the electronic device, or the input to the magnified display control, to trigger the electronic device to send information to the projection device instructing the projection device to edit the projection window corresponding to the electronic device, so that the projection device can adjust the display parameters of the projection window corresponding to the electronic device according to the instruction information.

[0131] Step 904: The electronic device responds to the second input and sends the second information to the projection device.

[0132] In this embodiment of the application, the aforementioned second information is used to instruct the projection device to edit the fourth projection window using a target editing method. The target editing method is the editing method corresponding to the input feature information of the second input, and the fourth projection window is the projection window corresponding to the electronic device.

[0133] For example, when the second input is an input to a full-screen display control displayed on the electronic device, the electronic device is triggered to send information to the projection device instructing the projection device to display the fourth projection window in full screen, so that the projection device displays the fourth projection window in full screen according to the instruction information; or, when the second input is an input to a magnified display control displayed on the electronic device, the electronic device is triggered to send information to the projection device instructing the projection device to magnify and display the fourth projection window, so that the projection device magnifies and displays the fourth projection window according to the instruction information.

[0134] In the embodiments of this application, such as Figure 8 As shown, the screen projection content display method provided in this application embodiment may include the following steps 31 to 34.

[0135] Step 31: The electronic device sends a screen mirroring request to the screen mirroring device.

[0136] In this embodiment of the application, the screen mirroring request is used to request the establishment of a screen mirroring connection with the screen mirroring device.

[0137] Optionally, in this embodiment of the application, after the electronic device and the projection device establish a projection connection, the projection device can display a projection window corresponding to the electronic device.

[0138] Step 32: The electronic device sends location information to the projection device.

[0139] Optionally, in this embodiment of the application, after the electronic device sends location information to the projection device, the projection device can adjust the display parameters of at least two projection windows corresponding to at least two electronic devices according to the location information of at least two electronic devices.

[0140] Step 33: The electronic device detects in real time whether the location information of the electronic device has changed.

[0141] Step 34: If the location information of the electronic device changes, the electronic device sends the first information to the projection device.

[0142] In this embodiment of the application, the first information is the position information of the electronic device after the change, and the first information is used by the projection device to adjust the display parameters of at least two projection windows.

[0143] It should be noted that the relevant descriptions of steps 31 to 34 are as described in the above embodiments and will not be repeated here.

[0144] It should be noted that the screen projection content display method provided in this application embodiment can be executed by a screen projection device or a screen projection content display device. This application embodiment uses a screen projection device executing the screen projection content display method as an example to illustrate the screen projection content display device provided in this application embodiment.

[0145] Figure 9 A schematic diagram of a possible structure of the screen projection display device involved in an embodiment of this application is shown. For example... Figure 9 As shown, the screen projection display device 70 may include a receiving module 71 and a processing module 72.

[0146] The receiving module 71 is configured to receive at least two location information messages sent by at least two electronic devices when the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to each of the at least two electronic devices, wherein each location information message corresponds to one electronic device. The processing module 72 is configured to adjust the display parameters of the at least two projection windows based on the at least two location information messages received by the receiving module 71; wherein the display parameters include at least one of the following: window display size and window display position.

[0147] This application provides a screen projection content display device. After the screen projection device establishes a connection with multiple electronic devices and displays multiple screen projection windows corresponding to each of the multiple electronic devices, the multiple screen projection windows corresponding to each of the multiple electronic devices can be adjusted according to the received location information of each electronic device. That is, the multiple screen projection windows are adjusted according to the location information of the multiple electronic devices. Therefore, when a user needs to change the display content of a certain screen projection window, the location of the corresponding electronic device can be quickly determined according to the display position of the certain screen projection window, so as to quickly perform the operation on the electronic device to change the display content of the screen projection window corresponding to the electronic device, without the need for the user to check all electronic devices one by one to determine the corresponding electronic device. Thus, the operation of changing the display content of the screen projection window in this solution is more convenient for the user, saves the user's operation time, and improves the management efficiency of the screen projection windows of multiple electronic devices.

[0148] In one possible implementation, the processing module 72 is specifically used to determine at least one relative position based on the position information of at least two electronic devices, each relative position being the relative position of one electronic device to another; and to adjust the display parameters of at least two projection windows based on the at least one relative position.

[0149] In one possible implementation, the screen projection display device 70 provided in this application embodiment further includes: an establishment module and a display module. The receiving module 71 is configured to receive at least two screen projection requests sent by at least two electronic devices before receiving at least two location information sent by at least two electronic devices, provided that the screen projection device has established a connection with at least two electronic devices and displays at least two screen projection windows corresponding to each of the at least two electronic devices. These screen projection requests are used to request the establishment of a screen projection connection with the screen projection device. The establishment module is configured to establish screen projection connections with at least two electronic devices respectively based on the at least two screen projection requests received by the receiving module 71. The display module is configured to display at least two screen projection windows.

[0150] In one possible implementation, the screen projection content display device 70 provided in this application embodiment further includes a detection module. The detection module is used to detect the position information of at least two electronic devices in real time. The aforementioned processing module 72 is further used to, if the position information of the first electronic device is not detected at a first moment, cancel the display of the first projection window and adjust the display parameters of the M projection windows; or, if the position information of the first electronic device is not detected at the first moment, adjust the display parameters of at least two projection windows according to the position information of the first projection window at a second moment and the position information of the M projection windows at the first moment, where the second moment is the moment before the first moment when the position information of the first electronic device was most recently detected; wherein, the first electronic device is one or more of the at least two electronic devices, the first projection window is the projection window corresponding to the first electronic device among the at least two projection windows, and the M projection windows are the projection windows other than the first projection window among the at least two projection windows, where M is a positive integer.

[0151] In one possible implementation, the processing module 72 is further configured to, upon detecting that the second electronic device has disconnected from the projection connection, cancel the display of the second projection window and adjust the display parameters of the N projection windows; wherein, the second electronic device is one or more of at least two electronic devices, the second projection window is the projection window corresponding to the second electronic device in at least two projection windows, and the N projection windows are the projection windows other than the second projection window in at least two projection windows, where N is a positive integer.

[0152] In one possible implementation, the receiving module 71 is further configured to receive a first input from the user to a third projection window among at least two projection windows. The processing module 72 is further configured to adjust the display parameters of at least two projection windows in response to the first input received by the receiving module 71.

[0153] Figure 10 A schematic diagram of a possible structure of the screen projection display device involved in an embodiment of this application is shown. For example... Figure 10 As shown, the screen projection display device 80 may include a sending module 81.

[0154] The aforementioned sending module 81 is used to send location information to the projection device when the electronic device and the projection device establish a connection and the projection device displays at least two projection windows corresponding to at least two electronic devices respectively. The location information is used by the projection device to adjust the display parameters of at least two projection windows according to the location information of at least two electronic devices.

[0155] This application provides a screen projection content display device. After an electronic device establishes a connection with a screen projection device, and the screen projection device displays multiple screen projection windows corresponding to multiple electronic devices, the electronic device can send location information to the screen projection device. Upon receiving the location information from each electronic device, the screen projection device can adjust the multiple screen projection windows corresponding to those electronic devices based on their location information. Therefore, when a user needs to change the display content of a screen projection window, they can quickly determine the location of the corresponding electronic device based on the display position of that window, allowing for rapid operation on that electronic device to change the display content of its corresponding screen projection window. This eliminates the need for the user to check all electronic devices one by one to identify the correct device. Thus, this solution makes changing the display content of screen projection windows more convenient for users, saves user time, and improves the management efficiency of screen projection windows across multiple electronic devices.

[0156] In one possible implementation, the sending module 81 is further configured to send first information to the projection device after sending location information to the projection device, when the electronic device detects a change in the location information of the electronic device. The first information is the changed location information of the electronic device, and the first information is used by the projection device to adjust the display parameters of at least two projection windows.

[0157] In one possible implementation, the screen projection content display device 80 provided in this application embodiment further includes a receiving module. The receiving module is configured to receive a second input from the user after the sending module 81 sends location information to the screen projection device. This second input is for editing a fourth screen projection window. The sending module 81 is further configured to send second information to the screen projection device in response to the second input received by the receiving module. This second information instructs the screen projection device to edit the fourth screen projection window using a target editing method. This target editing method is an editing method corresponding to the input feature information of the second input, and the fourth screen projection window is a screen projection window corresponding to the electronic device.

[0158] The screen projection display device in this application embodiment can be a device, or a component, integrated circuit, or chip in an electronic device. The device can be a mobile electronic device or a non-mobile electronic device. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0159] The screen projection display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0160] The screen projection display device provided in this application embodiment can realize all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.

[0161] Optionally, such as Figure 11 As shown, this application embodiment also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0162] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0163] Figure 12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0164] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0165] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 12 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0166] Among them, such as Figure 12 The electronic device shown can be the screen projection device or electronic device in the above embodiments.

[0167] When Figure 12 When the electronic device shown is the screen projection device in the above embodiments:

[0168] The user input unit 107 is used to receive at least two location information sent by at least two electronic devices when the projection device establishes a connection with at least two electronic devices and the projection device displays at least two projection windows corresponding to at least two electronic devices respectively, wherein each location information corresponds to one electronic device.

[0169] The processor 110 is used to adjust the display parameters of at least two projection windows based on at least two location information; wherein the display parameters include at least one of the following: window display size and window display position.

[0170] This application provides a screen projection device. After the screen projection device establishes a connection with multiple electronic devices and displays multiple projection windows corresponding to each of the multiple electronic devices, it can adjust the multiple projection windows corresponding to each of the multiple electronic devices according to the received location information of each electronic device. That is, it adjusts the multiple projection windows according to the location information of the multiple electronic devices. Therefore, when a user needs to change the display content of a certain projection window, the user can quickly determine the location of the corresponding electronic device based on the display position of that projection window, and quickly perform the operation on that electronic device to change the display content of the projection window corresponding to that electronic device, without the user having to check all electronic devices one by one to determine the corresponding electronic device. Thus, the operation of changing the display content of the projection window in this solution is more convenient for the user, saves the user's operation time, and improves the management efficiency of the projection windows of multiple electronic devices.

[0171] Optionally, the processor 110 is specifically configured to determine at least one relative position based on the position information of at least two electronic devices, each relative position being the relative position of one electronic device to another; and to adjust the display parameters of at least two projection windows based on the at least one relative position.

[0172] Optionally, the user input unit 107 is further configured to receive at least two screen projection requests sent by at least two electronic devices before receiving at least two location information sent by at least two electronic devices, when the screen projection device establishes a connection with at least two electronic devices and displays at least two screen projection windows corresponding to at least two electronic devices respectively. The screen projection requests are used to request the establishment of a screen projection connection with the screen projection device.

[0173] The processor 110 is also configured to establish screen mirroring connections with at least two electronic devices, respectively, based on at least two screen mirroring requests.

[0174] Display unit 106 is used to display at least two projection windows.

[0175] Optionally, the processor 110 is further configured to detect the location information of at least two electronic devices in real time. If the location information of the first electronic device is not detected at a first moment, the processor cancels the display of the first projection window and adjusts the display parameters of the M projection windows; or, if the location information of the first electronic device is not detected at the first moment, the processor adjusts the display parameters of at least two projection windows based on the location information of the first projection window at a second moment and the location information of the M projection windows at the first moment, where the second moment is the moment before the first moment when the location information of the first electronic device was most recently detected; wherein, the first electronic device is one or more of the at least two electronic devices, the first projection window is the projection window corresponding to the first electronic device among the at least two projection windows, and the M projection windows are the projection windows other than the first projection window among the at least two projection windows, where M is a positive integer.

[0176] Optionally, the processor 110 is further configured to, upon detecting that the second electronic device has disconnected from the projection connection, cancel the display of the second projection window and adjust the display parameters of N projection windows; wherein, the second electronic device is one or more of at least two electronic devices, the second projection window is the projection window corresponding to the second electronic device in at least two projection windows, and the N projection windows are the projection windows other than the second projection window in at least two projection windows, where N is a positive integer.

[0177] Optionally, the user input unit 107 is also configured to receive first input from the user to a third projection window among at least two projection windows.

[0178] The processor 110 is also used to adjust the display parameters of at least two projection windows in response to the first input.

[0179] When Figure 12 When the electronic device shown is the electronic device in the above embodiments:

[0180] The radio frequency unit 101 is used to send location information to the projection device when the electronic device and the projection device establish a connection and the projection device displays at least two projection windows corresponding to at least two electronic devices respectively. The location information is used by the projection device to adjust the display parameters of at least two projection windows according to the location information of at least two electronic devices.

[0181] This application provides an electronic device. After the electronic device establishes a connection with a projection device and the projection device displays multiple projection windows corresponding to the multiple electronic devices, the electronic device can send location information to the projection device. Upon receiving the location information, the projection device can adjust the multiple projection windows corresponding to each electronic device based on that location information. In other words, by adjusting the multiple projection windows according to the location information of the multiple electronic devices, when a user needs to change the display content of a projection window, the user can quickly determine the location of the corresponding electronic device based on the display position of that projection window. This allows for quick operation on that electronic device to change the display content of its corresponding projection window, without requiring the user to check all electronic devices one by one. Therefore, this solution makes changing the display content of projection windows more convenient for users, saves user time, and improves the management efficiency of projection windows across multiple electronic devices.

[0182] Optionally, the radio frequency unit 101 is further configured to send first information to the projection device after sending location information to the projection device, when the electronic device detects a change in the location information of the electronic device. The first information is the changed location information of the electronic device, and the first information is used by the projection device to adjust the display parameters of at least two projection windows.

[0183] Optionally, the user input unit 107 is used to receive a second input from the user after the radio frequency unit 101 sends location information to the projection device. This second input is for editing the fourth projection window.

[0184] The radio frequency unit 101 is also used to send second information to the projection device in response to the second input. The second information is used to instruct the projection device to edit the fourth projection window using a target editing mode. The target editing mode is the editing mode corresponding to the input feature information of the second input, and the fourth projection window is the projection window corresponding to the electronic device.

[0185] The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0186] For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.

[0187] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0188] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0189] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0190] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0191] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0192] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0193] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0194] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.

[0195] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0196] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0197] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for displaying projected content, characterized in that, Applied to screen projection devices, the method includes: When the projection device establishes a connection with at least two electronic devices and displays at least two projection windows corresponding to the at least two electronic devices respectively, it receives at least two location information sent by the at least two electronic devices, with each location information corresponding to one electronic device. Based on the at least two location information, adjust the display parameters of the at least two projection windows; The method further includes: Real-time detection of the location information of the at least two electronic devices; If the location information of the first electronic device is not detected at the first moment, the display parameters of the at least two projection windows are adjusted according to the location information of the first projection window at the second moment and the location information of M projection windows at the first moment. The second moment is the moment when the location information of the first electronic device was most recently detected before the first moment. Wherein, the first electronic device is one or more of the at least two electronic devices, the first projection window is the projection window corresponding to the first electronic device in the at least two projection windows, and the M projection windows are the projection windows other than the first projection window in the at least two projection windows, where M is a positive integer; The method further includes: Receive the user's first input to the third projection window among the at least two projection windows; In response to the first input, perform any of the following: The third projection window is enlarged, while the remaining projection windows in the at least two projection windows are reduced in size. The third projection window is displayed in full screen, and the remaining projection windows in the at least two projection windows are hidden. The display parameters include at least one of the following: window display size and window display position.

2. The method according to claim 1, characterized in that, The step of adjusting the display parameters of the at least two projection windows based on the location information of the at least two electronic devices includes: Based on the location information of the at least two electronic devices, at least one relative position is determined, where each relative position is the relative position of one electronic device to another electronic device; Adjust the display parameters of the at least two projection windows according to the at least one relative position.

3. The method according to claim 1, characterized in that, Before receiving at least two location information sent by at least two electronic devices when the projection device establishes a connection with at least two electronic devices and the projection device displays at least two projection windows corresponding to the at least two electronic devices respectively, the method further includes: Receive at least two screen mirroring requests sent by the at least two electronic devices, wherein the screen mirroring requests are used to request the establishment of a screen mirroring connection with the screen mirroring device; Based on the at least two screen mirroring requests, establish screen mirroring connections with the at least two electronic devices respectively, and display the at least two screen mirroring windows.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: If the second electronic device is detected to have disconnected from the screen mirroring connection, the second screen mirroring window will be canceled from display, and the display parameters of N screen mirroring windows will be adjusted. Wherein, the second electronic device is one or more of the at least two electronic devices, the second projection window is the projection window corresponding to the second electronic device in the at least two projection windows, and the N projection windows are the projection windows other than the second projection window in the at least two projection windows, where N is a positive integer.

5. A screen projection device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the screen projection content display method as described in any one of claims 1 to 4.

6. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions, which, when executed by a processor, implement the steps of the screen projection content display method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Display method and apparatus, electronic device and storage medium

    WO2022078039A1