Display method and electronic device

CN116263649BActive Publication Date: 2026-10-20HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111519235.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2026-10-20
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

由图1中可以看出,在镜像模式下,投屏内容无法撑满显示设备100的屏幕,在显示设备100的屏幕的两侧留有黑色未显示区域,导致投屏效果较差,影响用户体验

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116263649B_ABST
    Figure CN116263649B_ABST
Patent Text Reader

Abstract

The application provides a display method and an electronic device, and relates to the technical field of terminals. In the method, when a second electronic device screens to a first electronic device, the first electronic device can simultaneously display N desktop pages after obtaining a screen indication sent by the second electronic device and a source interface including (N+M) desktop pages, N being a positive integer greater than or equal to 2; wherein the content and the layout contained in each desktop page displayed on the first electronic device are the same as the content and the layout contained in the corresponding desktop page on the second electronic device. Thus, the desktop page screened on the first electronic device is consistent with the desktop page on the second electronic device, so that the desktop page screened on the first electronic device conforms to the use habit of a user on the second electronic device, facilitating user operation and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a display method and an electronic device. Background Technology

[0002] With the development of terminal technology, electronic devices have gradually become necessities in people's daily lives. In order to achieve various purposes such as large-screen display and entertainment, users can use screen mirroring to project the interface of one electronic device (such as a mobile phone) onto another electronic device (such as a display screen).

[0003] In related technologies, the main screen mirroring mode between electronic devices is mirroring, which projects the entire desktop of one electronic device onto another. For example... Figure 1 As shown, when using mirror mode for screen mirroring, the desktop on electronic device 200 will be maximized and centered on the screen of display device 100 (i.e., the receiving device); operations on electronic device 200 will also be synchronously responded to on the display device 100, meaning the display content on both ends is synchronized in real time. Figure 1 As can be seen, in mirror mode, the projected content cannot fill the screen of display device 100, leaving black undisplayed areas on both sides of the screen of display device 100, resulting in poor projection effect and affecting user experience. Summary of the Invention

[0004] This application provides a display method and electronic device that can improve the screen projection effect and thus enhance the user's screen projection experience.

[0005] In a first aspect, this application provides a display method, the method comprising: a first electronic device receiving a projection instruction sent by a second electronic device and a source interface on the second electronic device, the source interface comprising (N+M) desktop pages, where N is a positive integer greater than or equal to 2 and M is greater than or equal to 0; the first electronic device simultaneously displaying the N desktop pages on the second electronic device, wherein the N desktop pages include at least a first desktop page and a second desktop page, the first desktop page being the desktop page currently being displayed on the second electronic device, and the second desktop page being the desktop page not currently being displayed on the second electronic device; the content and layout of the first desktop page displayed on the first electronic device are the same as the content and layout of the first desktop page displayed on the second electronic device, and the content and layout of the second desktop page displayed on the first electronic device are the same as the content and layout of the second desktop page displayed on the second electronic device. In this way, after the second electronic device projects its screen to the first electronic device, the content and layout of the desktop page on the second electronic device displayed on the first electronic device can remain the same as the content and layout of the desktop page on the second electronic device. This ensures that the projected desktop page on the first electronic device is consistent with the desktop page on the second electronic device, thus conforming to the user's usage habits on the second electronic device, facilitating user operation, and improving user experience. For example, the first electronic device can be the display device 100 described below, and the second electronic device can be the electronic device 200 described below. The first desktop page being the currently displayed desktop page on the second electronic device can be understood as: when the second electronic device receives an operation to project its screen to the first electronic device, the desktop page displayed by the second electronic device is the currently displayed desktop page. After the second electronic device sends a projection instruction to the first electronic device, the second electronic device can display the first desktop page together with the first electronic device; or, the second electronic device can display a different interface than the first electronic device, that is, after the second electronic device projects the currently displayed first desktop page to the first electronic device, the second electronic device can display another interface instead of the first desktop page.

[0006] In one possible implementation, the source interface also includes persistent content; the method further includes: the first electronic device displays the persistent content, which includes at least one application icon, wherein when the second electronic device switches between displaying any two desktop pages, the persistent content remains displayed on the current interface of the second electronic device. This better ensures that the content displayed on the first electronic device matches the user's usage habits, improving the user experience. For example, the persistent content can be content on the second electronic device that does not change with the switching of its desktop pages, such as... Figure 4 The content in region Z1 of (A). At this time, the desktop page included in the source interface may be, but is not limited to, the interface containing content other than the persistent content.

[0007] In one possible implementation, the layout and / or content of the persistent content displayed on the first electronic device are the same as the layout and / or content of the persistent content displayed on the second electronic device.

[0008] In one possible implementation, persistent content is displayed below N desktop pages within the display area of ​​the first electronic device, and / or, the persistent content is centered below the display area on the first electronic device. This ensures that the display position of the persistent content conforms to user habits and improves the user experience.

[0009] In one possible implementation, before displaying N desktop pages on the second electronic device, the first electronic device further includes determining the value of N based on the size of its display screen. This allows the first electronic device to display a number of desktop pages that are compatible with the size of its display screen, thus improving the user experience.

[0010] In one possible implementation, the method further includes: the first electronic device adjusting the size of the content in N desktop pages according to the size of its display screen. This adapts the content displayed on the first electronic device to the size of its display screen, improving the display effect and thus enhancing the user experience.

[0011] In one possible implementation, the method further includes: when the display screen of the first electronic device switches from landscape mode to portrait mode, the first electronic device displays (NE) desktop pages from the second electronic device, where E is a positive integer greater than or equal to 0, and E is less than N. The value of E is determined by the horizontal or vertical size of the display screen in portrait mode. Thus, when the display screen of the first electronic device switches between landscape and portrait modes, the content displayed on the first electronic device is adapted to the size of its display screen, improving the user experience.

[0012] In one possible implementation, E = N-1.

[0013] In one possible implementation, M is greater than or equal to 1, and all desktop pages can be switched and displayed on the first electronic device. The method further includes: the first electronic device receiving an interface switching instruction for switching desktop pages; when the number of desktop pages to be switched, X, is greater than or equal to N, the first electronic device, in response to the received interface switching instruction, switches N desktop pages at a time; when the number of desktop pages to be switched, X, is less than N, the first electronic device, in response to the received interface switching instruction, switches X desktop pages at a time. This avoids blank interfaces appearing during interface switching on the first electronic device, improving the user experience.

[0014] In one possible implementation, the method further includes: a first electronic device receiving an interface switching instruction; the first electronic device acquiring touch parameters corresponding to the interface switching instruction; and based on the touch parameters, the first electronic device determining the target number of desktop pages to be switched in this interface switching, as well as the target number of desktop pages to be switched. This determines the number of desktop pages to be switched based on user actions, ensuring that the number of desktop pages switched matches the user's intention, thus improving the user experience.

[0015] In one possible implementation, the method further includes: a first electronic device receiving an interface switching command sent by a second electronic device, wherein the interface switching command is sent by the second electronic device after receiving an operation performed on the second electronic device; in response to the interface switching command, the first electronic device switches its desktop page; the desktop page currently displayed by the first electronic device after switching is completely different from the desktop page currently displayed by the second electronic device. In this way, the first and second electronic devices can switch in tandem, improving the user experience.

[0016] In one possible implementation, the method further includes: in response to a received first instruction, the first electronic device switches from displaying N desktop pages to displaying (Nk) desktop pages, where k is a positive integer and 0 < k < N. This satisfies the user's needs in different scenarios. For example, the first instruction could be an operation instruction to reduce the number of desktop pages.

[0017] In one possible implementation, the method further includes: in response to a received second instruction, the first electronic device switches from displaying N desktop pages to displaying (N+h) desktop pages, where h is a positive integer. This satisfies the user's needs in different scenarios. For example, the first instruction could be an operation instruction to increase the number of desktop pages.

[0018] Secondly, this application provides an electronic device that may include: a display screen; one or more processors; and a memory. The memory stores one or more computer programs, which include instructions that, when executed by the electronic device, cause the electronic device to perform the method provided in the first aspect. For example, the electronic device may be, but is not limited to, the display device 100 described below.

[0019] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method provided in the first aspect.

[0020] Fourthly, this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the method provided in the first aspect. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of a screen projection display in a mirror mode, which is a related technology;

[0022] Figure 2 This is a schematic diagram of screen projection display in computer mode provided in an embodiment of this application;

[0023] Figure 3 This is a schematic diagram of the hardware structure of a display device provided in an embodiment of this application;

[0024] Figure 4 This is a schematic diagram of a screen projection display provided in an embodiment of this application;

[0025] Figure 5 This is another schematic diagram of screen projection provided in an embodiment of this application;

[0026] Figure 6 This is a schematic diagram illustrating the display of a display device according to an embodiment of this application, showing the screen switching from landscape to portrait mode.

[0027] Figure 7 This is a schematic diagram illustrating the switching of the display screen of another display device provided in this application from landscape to portrait mode;

[0028] Figure 8 This is a schematic diagram of the display screen of a display device in portrait mode, provided in an embodiment of this application;

[0029] Figure 9 This is a schematic diagram of the display screen of another display device provided in the embodiments of this application in portrait mode;

[0030] Figure 10 This is a schematic diagram of a display screen on another display device provided in an embodiment of this application;

[0031] Figure 11 This is a schematic diagram illustrating the process of switching desktop pages on the display screen of a display device, provided in an embodiment of this application.

[0032] Figure 12 This is a schematic diagram illustrating another process of switching desktop pages on the display screen of a display device, provided in an embodiment of this application.

[0033] Figure 13 This is a schematic diagram illustrating the steps for determining the number of desktop pages that can be switched each time, according to an embodiment of this application.

[0034] Figure 14 This is a schematic diagram illustrating the process of binding the display screen of a display device and the display screen of an electronic device, as provided in an embodiment of this application.

[0035] Figure 15 This is a schematic diagram illustrating another process for binding the display screen of a display device and the display screen of an electronic device, as provided in an embodiment of this application.

[0036] Figure 16 This is a schematic diagram illustrating the process of switching desktop pages after the display screen of a display device and the display screen of an electronic device are bound together, according to an embodiment of this application.

[0037] Figure 17 This is a schematic diagram illustrating another process of switching desktop pages after the display screen of a display device and the display screen of an electronic device are bound together, as provided in an embodiment of this application.

[0038] Figure 18 This is a schematic diagram illustrating a process of dynamically adjusting the combination of desktop pages in a linked desktop based on the relative positional relationship between a display device and an electronic device, according to an embodiment of this application.

[0039] Figure 19 This is a schematic diagram illustrating how the display interface on a display device's screen switches from two desktop pages to one desktop page, according to an embodiment of this application.

[0040] Figure 20 This is a schematic diagram illustrating a process for reducing the number of desktop pages displayed on the screen of a display device, as provided in an embodiment of this application.

[0041] Figure 21 This is a schematic diagram illustrating another process for reducing the number of desktop pages displayed on the screen of a display device, provided in an embodiment of this application.

[0042] Figure 22 This is a schematic diagram illustrating another process for reducing the number of desktop pages displayed on the screen of a display device, provided in an embodiment of this application.

[0043] Figure 23 This is a schematic diagram illustrating another process for reducing the number of desktop pages displayed on the screen of a display device, as provided in an embodiment of this application.

[0044] Figure 24 This is a schematic diagram illustrating a process for increasing the number of desktop pages displayed on the screen of a display device, as provided in an embodiment of this application.

[0045] Figure 25 This is a schematic diagram illustrating another process for increasing the number of desktop pages displayed on the screen of a display device, as provided in an embodiment of this application. Detailed Implementation

[0046] In this article, the term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The symbol " / " in this article indicates that the related objects are in an "or" relationship; for example, A / B means A or B.

[0047] The terms "first" and "second," etc., used in the specification and claims herein are used to distinguish different objects, not to describe a specific order of objects. For example, "first response message" and "second response message," etc., are used to distinguish different response messages, not to describe a specific order of response messages.

[0048] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0049] In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more, for example, multiple processing units means two or more processing units, multiple elements means two or more elements, etc.

[0050] To overcome the drawbacks of screen mirroring in mirror mode, please refer to [link / reference]. Figure 1 When using mirror mode for screen mirroring, the desktop of the electronic device 200 can be stretched, scaled, and cropped according to the screen size of the display device 100. However, this may cause the desktop displayed on the display device 100 to be distorted or not fully displayed.

[0051] In addition, a computer-mode screen mirroring method has also been developed. For example... Figure 2 As shown, when using computer mode screen mirroring, the desktop on electronic device 200 is transformed into a style similar to a computer desktop, filling the screen of display device 100 (i.e., the receiving device). All applications on electronic device 200 are hidden in the application drawer in area b1 in the lower left corner of the computer mode desktop. After clicking the application drawer in area b1, the applications on electronic device 200 can be displayed in area b2. When using computer mode screen mirroring, electronic device 200 and display device 100 are relatively independent and can be used separately. Figure 2As can be seen, the computer mode screen mirroring method directly and abruptly transforms the desktop of electronic device 200 into a computer desktop. Since computers are products of traditional desktop office environments, the desktop contains frequently used files and folders; however, when electronic device 200 is a mobile terminal (such as a mobile phone), its desktop contains application (App) icons. This means that when electronic device 200 uses computer mode to mirror its screen to display device 100, the desktop projected onto display device 100 contradicts the operating logic of an App-centric mobile terminal. Since users have no concept of "files" when using a mobile terminal, this results in a large blank area and low utilization of the projected computer mode desktop; conversely, the mobile terminal's most familiar apps are hidden in the application drawer at the bottom of the computer mode desktop, making it difficult for users to quickly find the apps they need. Furthermore, many mobile office users are accustomed to mirroring their mobile terminals onto portable monitors. These portable monitors are primarily thin and light, easy to carry, small in size (generally between 7 inches and 15.6 inches), equipped with touchscreens, and support touch operation. If a desktop page in computer mode is displayed on such a portable monitor, the graphical user interface (GUI) of the desktop page is designed for use with a keyboard and mouse. Therefore, the app icons on the desktop page are small and closely spaced, making them suitable only for mouse clicks and not for finger touch. This results in a very poor user experience on the desktop page, seriously affecting the user experience.

[0052] Furthermore, to overcome the drawbacks of screen mirroring in mirror mode and PC mode, and to improve the user's screen mirroring experience, this application provides a display method. This display method, when projecting the desktop of electronic device 200 onto display device 100, can maintain the arrangement order of App icons, cards, and other content on the desktop of electronic device 200 on display device 100, and can display N desktop pages from electronic device 200 based on the screen size of display device 100, where N is a positive integer greater than or equal to 1. This ensures that the projected desktop pages on display device 100 are consistent with the desktop pages on electronic device 200, thereby conforming to the user's usage habits on electronic device 200, facilitating user operation, and improving the user experience.

[0053] It is understood that, in this embodiment of the application, the display device 100 can obtain the content (e.g., desktop) projected by the electronic device 200 through a projection protocol. For example, the projection protocol may include one or more of the following: Miracast protocol, AirPlay protocol, Digital Living Network Alliance (DLNA) protocol, Intel Wireless Display (WiDi) protocol, Chromecast protocol, Wireless Home Digital Interface (WDHI) protocol, and Cast+ protocol.

[0054] It is understood that in this application, the display device 100 can be a device with a display screen, such as a television, laptop, tablet, monitor, in-vehicle device, smart home device, or AI device. The electronic device 200 can be an electronic device such as a mobile phone, tablet, laptop, artificial intelligence (AI) device, wearable device, in-vehicle device, or smart home device. Exemplary embodiments of the electronic device 200 include, but are not limited to, electronic devices running iOS, Android, Windows, Harmony OS, or other operating systems. This application does not impose any special limitations on the specific types of the display device 100 and the electronic device 200.

[0055] For example, Figure 3 A hardware structure of the display device 100 is shown. For example... Figure 3 As shown, the display device 100 may include a processor 110, a memory 120, a display screen 130, and a communication module 140. The processor 110, memory 120, display screen 130, and communication module 140 may be connected via a bus or other means.

[0056] In this application, processor 110 is the computing and control core of display device 100. Processor 110 may include one or more processing units. For example, processor 110 may include one or more of the following: application processor (AP), modem, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0057] The memory 120 may store a program, which can be executed by the processor 110, causing the processor 110 to perform the methods provided in this application. The memory 120 may also store data. The processor 110 may read the data stored in the memory 120. The memory 120 and the processor 110 may be configured separately. Optionally, the memory 120 may also be integrated into the processor 110.

[0058] Display screen 130 is used to display images, videos, etc. Display screen 130 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0059] The communication module 140 may include at least one of a mobile communication module and a wireless communication module. When the communication module 140 includes a mobile communication module, it can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the display device 100. Examples include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), and New Radio (NR). When the communication module 140 includes a wireless communication module, it can provide solutions for wireless communication applied to the display device 100, including wireless local area networks (WLAN) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), frequency modulation (FM), near-field communication (NFC), and infrared (IR) technologies. For example, the communication module 140 can be used for communication between the display device 100 and the electronic device 200 to complete data interaction.

[0060] Optionally, the display device 100 may further include a sensor 150. The sensor 150 may include a pressure sensor, gyroscope sensor, barometric pressure sensor, magnetic sensor, accelerometer, distance sensor, proximity sensor, fingerprint sensor, temperature sensor, ambient light sensor, or bone conduction sensor, etc. In one example, the sensor 150 may also include a touch sensor, also known as a "touch device." The touch sensor may be disposed on the display screen 130, and the touch sensor and the display screen 130 together form a touchscreen, also known as a "touchscreen." The touch sensor is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 130. For example, the touch sensor can detect touch information (e.g., touch position, direction of movement, magnitude of movement, etc.) of a user touching the electronic device 100; wherein, the processor 110 can determine the magnitude by which the user zooms in or out on the desktop page on the electronic device 100 based on the touch information detected by the touch sensor (e.g., magnitude of movement, etc.). In other embodiments, the touch sensor may also be located on the surface of the display device 100, in a different position than the display screen 130.

[0061] In one example, the sensor 150 may also include an orientation sensor. This orientation sensor can be used to detect the orientation of the display screen 130.

[0062] Optionally, the display device 100 may further include multiple signal transmitting components (not shown in the figure) capable of transmitting wireless signals. These multiple signal transmitting components may be arranged on different sides of the display device 100. The signal transmitting components may transmit wireless signals to the outside (i.e., the environment) of the display device 100 in real time or periodically, so that the electronic device 200 can receive the wireless signals. This allows the electronic device 200 to determine its relative position to the display device 100 based on the time difference between the wireless signals transmitted by the signal transmitting components on different sides of the display device 100. For example, the wireless signals transmitted by the signal transmitting components may include location information indicating the position of the signal transmitting component on the display device 100.

[0063] Understandably, this plan Figure 3 The illustrated structure does not constitute a specific limitation on the display device 100. In other embodiments of this solution, the display device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0064] In some embodiments of this application, the electronic device 200 may also have the same Figure 3The display device 100 shown has a similar hardware structure. It is understood that the electronic device 200 may also have a similar hardware structure. Figure 3 The display device 100 shown has different hardware structures. For example, the electronic device 200 may have a processor, a display screen, and a communication module.

[0065] Next, the display method provided in the embodiments of this application will be described in detail based on the content described above.

[0066] The display method provided in this application embodiment allows the electronic device 200 to project its screen onto the display device 100. The electronic device 200 can send a projection instruction and a source interface on its screen to the display device 100. The source interface can include (N+M) desktop pages, where N is a positive integer greater than or equal to 2, and M is greater than or equal to 0. After receiving the projection instruction and source interface from the electronic device 200, the display device 100 can simultaneously display the N desktop pages on its screen in response to the projection instruction. The content and layout of each desktop page displayed on the display device 100 are identical to the content and layout of the corresponding desktop page on the electronic device 200. For example, the content of each desktop page may include application icons and / or service cards, etc. For example, a desktop page can be understood as the interface of the area on the desktop of the electronic device 200, excluding persistent content.

[0067] In one embodiment, the N desktop pages displayed on the screen of the display device 100 include at least the desktop page currently displayed on the electronic device 200. When N is 1, the desktop page displayed on the screen of the display device 100 is the desktop page currently displayed on the electronic device 200 (hereinafter referred to as "the first desktop page"). When N is greater than or equal to 2, the desktop pages displayed on the screen of the display device 100 are: the first desktop page, the second desktop page, ..., the Nth desktop page; wherein the first desktop page is the desktop page currently displayed on the electronic device 200, the second desktop page is the next desktop page after the first desktop page, the third desktop page is the next desktop page after the second desktop page, and the Nth desktop page is the next desktop page after the (N-1)th desktop page. The next desktop page after the Nth desktop page is the first desktop page. In some embodiments, when N is greater than or equal to 2, the desktop page displayed on the display device 100 can be, in addition to the desktop page currently displayed on the electronic device 200 and the desktop page following it, also the desktop page currently displayed on the electronic device 200 and the desktop page preceding it. For example, if the Nth desktop page displayed on the display device 100 is the desktop page currently displayed on the electronic device 200, then the (N-1)th desktop page can be the previous desktop page of the currently displayed desktop page on the electronic device 200, and the (N-2)th desktop page is the previous desktop page of the (N-1)th desktop page. In some embodiments, when N is greater than or equal to 2, the desktop page displayed on the display device 100 can be, in addition to the desktop page currently displayed on the electronic device 200 and the desktop page following or preceding it, also the desktop page currently displayed on the electronic device 200, the desktop page preceding it, and the desktop page following it. For example, if the (Ni)th desktop page displayed on the display device 100 is the desktop page currently displayed on the electronic device 200, then the (Ni-1)th desktop page can be the previous desktop page of the desktop page currently displayed on the electronic device 200, and the (N-i+1)th desktop page is the next desktop page of the desktop page currently displayed on the electronic device 200.

[0068] In another implementation, the N desktop pages displayed on the screen of display device 100 may not include the interface currently displayed on electronic device 200. For example, if electronic device 200 displays the interface of an application, it may choose not to project the interface of that application. Instead, it may project multiple desktop pages of its own interface. In this case, the desktop pages displayed on display device 100 are different from the interface currently displayed on electronic device 200.

[0069] In some embodiments, the source interface sent by the electronic device 200 and received by the display device 100 may include not only the desktop page but also persistent content. This persistent content does not change with desktop page switching on the electronic device 200; that is, it does not disappear due to desktop page switching. For example, persistent content may be, but is not limited to, persistent applications. In this case, the display device 100 may also display the persistent content on its screen, whereby the persistent content remains displayed in the current interface of the display device 100 when the desktop page is switched. For example, the layout and / or content of the persistent content displayed on the display device 100 are the same as those displayed on the electronic device 200. For example, the persistent content displayed on the display device 100 may be displayed in an area other than the N desktop pages on the display screen of the display device 100, for example, in the lower part of the display screen of the display device 100.

[0070] For example, when electronic device 200 has only 2 desktop pages, such as Figure 4 As shown in (A), this diagram represents the desktop page and persistent content of electronic device 200. The desktop page corresponding to number "1" is the currently displayed desktop page on electronic device 200, and the desktop page corresponding to number "2" is the next desktop page after the current desktop page is switched. The content in areas Z1 and Z2 is persistent content. Figure 4 In the source interface of the electronic device 200 shown in (A), when the electronic device 200 projects its screen onto the display device 100, if the size of the display screen of the display device 100 can support displaying two desktop pages, then the display device 100 can display as follows: Figure 4 The interface shown in (B). In Figure 4 The desktop page corresponding to number "1" in the interface shown in (B) is... Figure 4 The desktop page corresponding to number "1" in (A) is in Figure 4 The desktop page corresponding to number "2" in the interface shown in (B) is... Figure 4 The desktop page corresponding to number "2" in (A) is in Figure 4 The content displayed in area Z3 of the interface shown in (B) is the same as Figure 4 The content displayed in regions Z1 and Z2 in (A) corresponds to that in the image. Figure 4A comparison of (A) and (B) shows that after screen mirroring, the content and layout of each desktop page displayed on display device 100 are identical to the content and layout of the corresponding desktop page on electronic device 200. This ensures that the desktop pages displayed on display device 100 conform to the user's usage habits on electronic device 200, facilitating operation and improving the user experience. Furthermore, display device 100 can also simultaneously display the persistent content from electronic device 200, i.e., the content displayed in area Z3 on display device 100, to better match the user's usage habits on electronic device 200 after screen mirroring. Figure 4 In (B), the persistent content displayed by display device 100 is located below the N desktop pages it displays and is centered within its display area. Of course, in Figure 4 In (B), the persistent content can also be displayed in other areas, such as the lower left or lower right of the display area of ​​the display device 100. In this case, the persistent content is displayed below the desktop page displayed by the display device 100. Alternatively, the persistent content can also be displayed above the display area of ​​the display device 100, depending on the actual situation.

[0071] For example, when electronic device 200 has 3 desktop pages, such as Figure 5 As shown in (A), this figure represents the source interface of electronic device 200. The desktop page corresponding to number "1" is the currently displayed desktop page on electronic device 200, the desktop page corresponding to number "2" is the next desktop page after switching from the currently displayed desktop page, and the desktop page corresponding to number "3" is the next desktop page after switching from the desktop page corresponding to number "2". Figure 5 In (A), each desktop page displays a persistent content entry at the bottom, and each persistent content entry includes a phone app, a text messaging app, a browser app, and a camera app. Figure 5 In the source interface of the electronic device 200 shown in (A), when the electronic device 200 projects its screen onto the display device 100, if the size of the display screen of the display device 100 can support the display of 3 desktop pages, then the display device 100 can display the following: Figure 5 The interface shown in (B). Among them, in Figure 5 In (B), the location of the persistent content displayed on the display device 100 is the same as described above. Figure 4 The positions of the permanent content in (B) are similar, so I will not go into detail here.

[0072] In some embodiments of this application, when display device 100 displays N desktop pages, it can enlarge the content of each of the N desktop pages according to the size of its display screen, so that the size of the content displayed on display device 100 is adapted to the size of display screen 100. For example, when display device 100 is a television and electronic device 200 is a mobile phone, since the size of the television screen is much larger than that of the mobile phone screen, if the television displays the content of each desktop page on the mobile phone according to the size of the content after screen mirroring, the desktop pages displayed on the television screen will be too small, resulting in a large blank area on the television screen and low utilization. Therefore, in this case, when the television displays the content of the desktop pages on the mobile phone, it can enlarge the content of each of the N desktop pages according to a certain ratio, so that the size of the content displayed on the television screen is adapted to the size of the television screen, improving the visual and operational experience.

[0073] In some embodiments of this application, the value of N can be determined based on the size of the display screen of the display device 100. For example, a pre-defined correspondence between the value of N and the size of the display screen of the display device 100 can be established, so that the value of N can be determined once the size of the display screen of the display device 100 is known. For instance, when the size of the display screen of the display device 100 is between 7 inches and 15.6 inches, the value of N can be 2; when the size of the display screen of the display device 100 is greater than 15.6 inches, the value of N can be 3, and so on. The specific value can be determined according to the actual situation and is not limited here.

[0074] In some embodiments of this application, when the display device 100 displays N desktop pages, if the display screen of the display device 100 is in landscape mode, the horizontal size of the display screen of the display device 100 is larger, so the N desktop pages displayed by the display device 100 can be arranged horizontally in sequence. For example, see [link to documentation]. Figure 4 (B) and Figure 5 (B) The display screen of the current display device 100 is in landscape mode, so the N desktop pages displayed by the display device 100 can be arranged horizontally in sequence.

[0075] When the display screen of display device 100 is in portrait mode, the horizontal size of the display screen is smaller, so the N desktop pages displayed by display device 100 can be arranged vertically in sequence. For example, as Figure 6 As shown, if in Figure 6 In the interface shown in (A), the display screen of display device 100 is in landscape mode. Therefore, when the display screen of display device 100 switches from landscape mode to portrait mode, the display interface on display device 100 can be switched to... Figure 6The interface shown in (B). Among them, in Figure 6 In (A) and (B), the persistent content displayed by the display device 100 is located below the desktop page it displays and is centered in its display area.

[0076] As one possible implementation, when the display screen of display device 100 is in portrait mode, display device 100 can also display a desktop page vertically, which can be the interface currently displayed on the display screen of electronic device 200. Furthermore, when the display screen of display device 100 switches from landscape mode to portrait mode, the desktop page displayed on the display screen of display device 100 can be the desktop page that was first in the sorting order in landscape mode. For example, such as... Figure 7 As shown, if in Figure 7 In the interface shown in (A), the display screen of display device 100 is in landscape mode. Therefore, when the display screen of display device 100 switches from landscape mode to portrait mode, the display interface on display device 100 can be switched to... Figure 7 The interface shown in (B) is in Figure 7 The interface displayed in (B) may include a desktop page and a persistent content.

[0077] As another possible implementation, when the display screen of display device 100 is in portrait mode, if the horizontal size of the display screen of display device 100 still supports displaying multiple desktop pages, then display device 100 can still display multiple desktop pages horizontally on its display screen. For example, as Figure 8 As shown, the display screen of display device 100 displays two desktop pages at this time, where number "1" corresponds to one desktop page and number "2" corresponds to another desktop page. See also... Figure 8 ,exist Figure 8 Persistent content can also be displayed at the bottom of the desktop page.

[0078] Furthermore, in this situation, after the display device 100 has horizontally displayed multiple desktop pages on its screen, if there are still desktop pages available to be displayed and there is display space vertically on the screen, the display device 100 can continue to display the remaining desktop pages in the corresponding display space. For example, such as... Figure 9 As shown, the display device 100 displays three desktop pages at this time. Two desktop pages are displayed horizontally in the upper half of the display screen, and one desktop page is displayed in the lower half of the display screen. Of course, this display method can also be used when the display device 100's screen is in landscape mode. The specific method can be determined according to the actual situation, and there is no limitation here.

[0079] In some embodiments of this application, when displaying the desktop page projected from the electronic device 200 on the display device 100, in order to fully utilize the display space of the display screen of the display device 100, icons of applications recently opened by the user on the display device 100 may also be displayed on the display screen of the display device 100, and / or icons of applications recently opened by the user on the electronic device 200, so that the user can quickly find their recently opened applications. The area on the display screen of the display device 100 for displaying the icons of applications recently opened by the user can be determined according to the actual situation and is not limited here. For example, the display device 100 may, but is not limited to, display the icons of applications recently opened by the user side-by-side with persistent content. For example, as... Figure 10 As shown, icons of recently opened applications can be displayed in area Z4 at the bottom and near the center of the display screen of display device 100, where area Z4 is displayed side by side with the persistent content displayed on display device 100.

[0080] After the electronic device 200 completes the screen mirroring to the display device 100, the user can then perform operations on the display device 100, such as switching desktop pages.

[0081] In some embodiments of this application, during the process of switching interfaces on the display device 100, if the number of desktop pages of the electronic device 200 that the display screen of the display device 100 can display at one time is not divisible by the total number of desktop pages on the electronic device 200, and if each interface switch involves switching the number of desktop pages of the electronic device 200 that the display screen of the display device 100 can display at one time, then a blank screen will appear on the display screen of the display device 100 when switching to the last desktop page. In this case, the value of M in the (N+M) desktop pages included in the source interface obtained by the display device 100 can be greater than or equal to 1.

[0082] For example, if the display screen of display device 100 can display 2 desktop pages of electronic device 200 at a time, the total number of desktop pages on electronic device 200 is 5, and two desktop pages are switched each time the interface is changed; then if Figure 11 As shown in (A), when the user slides their finger F to the left on the display screen of display device 100, the display interface on the display screen of display device 100 switches from displaying desktop pages "1" and "2" to displaying desktop pages "3" and "4", that is, as shown in (A). Figure 11 The interface shown in (B) is as follows. Next, the user slides their finger F to the left again on the display screen of display device 100. The display interface on the display screen of display device 100 then switches from displaying desktop pages "3" and "4" to displaying desktop page "5" and "empty," as shown in (B). Figure 11 The interface shown in (C) is understandable. Figure 11 The contents within the dashed boxes, except for "empty", represent the interfaces to be switched. They are described here for ease of explanation. The dashed box corresponding to "empty" can be real or non-existent (in which case the area can be blank). It depends on the actual situation and is not limited here.

[0083] Furthermore, in order to avoid the problem of a blank interface appearing when switching interfaces on the display device 100, this application embodiment provides a more dynamic solution.

[0084] Specifically, when the number X of desktop pages to be switched is greater than or equal to the number Y of desktop pages of the electronic devices 200 that the display screen of the display device 100 can display at one time, when the user switches interfaces on the display device 100, the display device 100 can receive the interface switching command issued by the user, and then Y desktop pages to be switched can be moved on the display screen of the display device 100, i.e., the desktop page is switched. When the number X of desktop pages to be switched is less than the number Y of desktop pages of the electronic devices 200 that the display screen of the display device 100 can display at one time, when the user switches interfaces on the display device 100, the display device 100 can receive the interface switching command issued by the user, and then X desktop pages to be switched can be moved on the display screen of the display device 100, i.e., the desktop page is switched. This solves the problem of blank display interfaces that exist when switching interfaces on the display device 100. In some embodiments, the number Y can be equal to the number N of desktop pages that the display device 100 can display simultaneously.

[0085] For example, when X≥Y, continue to refer to... Figure 11 ,exist Figure 11 In (A), display device 100 displays desktop pages "1" and "2", and the desktop pages to be switched to are desktop pages "3", "4", and "5". At this time, the number of desktop pages to be switched, X, is 3, and the number of desktop pages Y that the display screen of display device 100 can display at one time from electronic device 200 is 2. Since X ≥ Y, when the user switches interfaces on display device 100 using finger F, two desktop pages can be moved on the display screen of display device 100, i.e., the display... Figure 11 The interface shown in (B) is as follows.

[0086] When X < Y, such as Figure 12 As shown, in Figure 12In (A), display device 100 shows desktop pages "3" and "4". Desktop pages "1" and "2" are to be switched to to the left, and desktop page "5" is to be switched to to the right. If the user switches the interface to the right, the number of desktop pages to be switched, X, becomes 1, and the number of desktop pages Y that display device 100 can display at one time from electronic device 200 is 2. Since X < Y, when the user switches interfaces on display device 100 using finger F, one desktop page can be moved on the display screen of display device 100, i.e., one desktop page is displayed. Figure 12 The interface shown in (B). Among them, Figure 11 (B) switch to Figure 11 The interface displayed on the (C) rear display device 100, and Figure 12 (A) switch to Figure 12 By comparing the interface displayed on the display device 100 with that of (B), it can be seen that... Figure 12 (B) did not appear Figure 11 The blank interface that appears in (C).

[0087] As a possible implementation, in addition to solving the problem of blank interfaces appearing when switching interfaces on the display device 100 through the above methods, when X is less than Y, Y desktop pages can still be switched. However, after switching, the display position of the switched desktop page, the spacing and / or size of the different contents contained in the desktop page, etc., can be adaptively adjusted so that the switched desktop page matches the size of the display screen of the display device 100.

[0088] In some embodiments of this application, the number Y of desktop pages of electronic device 200 that the display screen of display device 100 can display at one time can also be replaced by the number of desktop pages that can be switched each time the interface is switched, which is set by the user or preset by the system.

[0089] As one possible implementation, the number of desktop pages that can be switched each time can be determined based on the user's sliding parameters on the display screen of the display device 100. In this case, after receiving the interface switching command from the user, the display device 100 can obtain the sliding parameters corresponding to the interface switching command, and determine the number of desktop pages to be switched based on these sliding parameters, thereby switching the desktop pages. For example, the sliding parameters may include sliding distance and / or sliding speed, etc. In some embodiments, the sliding parameters may be referred to as touch parameters.

[0090] Specifically, Figure 13 A schematic diagram illustrates a process for determining the number of desktop pages that can be switched each time an interface is changed, based on the user's sliding parameters on the display screen of the display device 100. Specifically, in... Figure 13In this context, the display screen of the display device 100 can be a touch screen, and the sliding parameter is the sliding distance. For example... Figure 13 As shown, it includes the following steps:

[0091] First, in S1301, the display screen on the display device 100 can acquire the initial and final positions of the user's sliding operation. When the user performs a sliding operation, the display screen of the display device 100 can acquire that position when the user touches it, i.e., acquire the initial position. When the user ends the sliding operation, the display screen of the display device 100 can know the position when the user ends the sliding operation, i.e., acquire the final position.

[0092] Next, in S1302, the sliding distance for the user to perform the sliding operation can be calculated from the initial position and the end position.

[0093] Next, in S1303, the sliding distance is compared with a preset sliding distance threshold to determine the magnitude of the sliding distance relative to the preset sliding distance threshold.

[0094] Finally, in S1304, when the sliding distance is greater than the sliding distance threshold, the number of desktop pages that can be switched each time is determined to be m1. In S1305, when the sliding distance is less than or equal to the sliding distance threshold, the number of desktop pages that can be switched each time is determined to be m2. Here, m1 and m2 can be set according to actual conditions and are not limited here.

[0095] Understandably, Figure 13 The sliding distance can be replaced with other sliding parameters, such as sliding speed; in addition, the method of obtaining the sliding parameters can also be replaced with other methods, which are not limited here, and the replaced scheme is still within the protection scope of this application.

[0096] After the electronic device 200 completes screen mirroring to the display device 100, in addition to operating on both the display screen of the display device 100 and the display screen of the electronic device 200, the user can also bind the display screens of the two devices to form a linked desktop. This allows more desktop pages from the electronic device 200 to be displayed at once, reducing the number of times the user switches between desktop pages and enabling the user to directly access the desktop page they need, thus improving the efficiency of using the two devices together. Specifically, the user can bind the display screens of the display device 100 and the electronic device 200 through specific trigger operations. For example, trigger operations may include one or more of the following: controlling a collision between the display device 100 and the electronic device 200, cross-screen pinch operations, voice control, etc. For example, a cross-screen pinch operation can be a multi-finger cross-screen pinch operation, such as two-finger or three-finger pinch operations, etc., which are not limited here.

[0097] For example, such as Figure 14 As shown in (A), desktop pages "d1" and "d2" are being displayed on display device 100, and desktop page "1" is being displayed on electronic device 200. The next desktop page after "1" is desktop page "2", and the next desktop page after "2" is desktop page "3". Figure 14 In the case shown in (A), the user controls the electronic device 200 to collide with the display device 100. Afterwards, the display device 100 and the electronic device 200 are bound together, and their displays can then be linked. After the display device 100 and the electronic device 200 are bound together, as shown in (A), the user controls the electronic device 200 to collide with the display device 100. Figure 14 As shown in (B), the display interfaces on the two screens form a linked desktop. At this time, the display interface on the display device 100 can switch from displaying desktop pages "d1" and "d2" to displaying desktop pages "2" and "3".

[0098] like Figure 15 As shown in (A), desktop pages "d1" and "d2" are being displayed on display device 100, and desktop page "1" is being displayed on electronic device 200. The next desktop page after "1" is desktop page "2", and the next desktop page after "2" is desktop page "3". Figure 15 In the case shown in (A), the user touches the display screen of display device 100 with one finger of hand F and touches the display screen of electronic device 200 with the other finger of hand F, and performs a pinch operation. Afterwards, the display device 100 and electronic device 200 are bound together, and their displays can then be linked. After the display device 100 and electronic device 200 are bound together, as shown in (A), the user can perform a pinch operation. Figure 15As shown in (B), the display interfaces on the two screens form a linked desktop. At this time, the display interface on the display device 100 can switch from displaying desktop pages "d1" and "d2" to displaying desktop pages "2" and "3".

[0099] After the display interfaces on the screen of display device 100 and the screen of electronic device 200 form a linked desktop, when the user switches interfaces on display device 100 or electronic device 200, the display interfaces on both screens will switch in tandem. In other words, when the user switches interfaces on display device 100, the interface on electronic device 200 also switches simultaneously; when the user switches interfaces on electronic device 200, the interface on display device 100 also switches simultaneously, thus achieving a linked switching effect, facilitating user operation, and improving display effects and user experience. For example, when electronic device 200 receives an interface switching command from the user, electronic device 2090 can send an interface switching command to display device 100 so that both can switch interfaces simultaneously; then, display device 100 can respond to the interface switching command and switch the desktop page. Note that after display device 100 and electronic device 200 switch desktop pages, the desktop pages displayed on the two devices are different.

[0100] For example, such as Figure 16 As shown in (A), the display interface on the screen of display device 100 and the display interface on the screen of electronic device 200 form a linked desktop. Specifically, the screen of electronic device 200 displays desktop page "1", the screen of display device 100 displays desktop page "2", and the desktop pages to be switched to are desktop pages "4" and "5". Figure 16 In (A), the user slides their finger F to the left on the display screen of electronic device 200, after which a desktop page switch appears. Since the display screen of electronic device 200 can only display one desktop page at a time, when the user operates to switch desktop pages on the display screen of electronic device 200, one desktop page can be switched at a time. For example... Figure 16 As shown in (B), after the desktop page is switched, desktop page "2" can be displayed on the screen of electronic device 200, and desktop pages "3" and "4" can be displayed on the screen of display device 100.

[0101] like Figure 17 As shown in (A), the display interface on the screen of display device 100 and the display interface on the screen of electronic device 200 form a linked desktop. Specifically, the screen of electronic device 200 displays desktop page "1", the screen of display device 100 displays desktop page "2", and the desktop pages to be switched to are desktop pages "4" and "5". Figure 17In (A), the user slides their finger F to the left on the display screen of display device 100, after which a desktop page switch appears. Since the display screen of display device 100 can display two desktop pages at a time, when the user operates to switch desktop pages on the display screen of display device 100, two desktop pages can be switched simultaneously on the display screen of display device 100. For example... Figure 17 As shown in (B), after the desktop page is switched, the display screen of the electronic device 200 can display desktop page "3", and the display screen of the display device 100 can display desktop pages "4" and "5".

[0102] Understandably, in Figure 16 and Figure 17 In this context, when switching desktop pages, the number of desktop pages switched each time can follow the switching rules described above, which will not be repeated here.

[0103] Furthermore, after the desktop pages displayed on the screen of display device 100 and the desktop pages displayed on the screen of electronic device 200 form a linked desktop, since the user may move display device 100 or electronic device 200, the positional relationship between the two will change. This will also change the arrangement order of the desktop pages in the linked desktop, resulting in an arrangement that does not conform to the user's usage habits. Therefore, after the user moves display device 100 or electronic device 200, display device 100 and / or electronic device 200 can adjust the combination of desktop pages in the linked desktop according to their relative positional relationship to ensure that the combination of desktop pages conforms to the user's usage habits, thereby improving the user experience.

[0104] For example, such as Figure 18 As shown in (A), the desktop page displayed on the screen of display device 100 and the desktop page displayed on the screen of electronic device 200 form a linked desktop. Specifically, the screen of electronic device 200 displays desktop page "1", and the screen of display device 100 displays desktop page "2". Figure 18 In (A), the user can move the electronic device 200 from the left side to the right side of the display device 100. Then, as... Figure 18As shown in (B), the electronic device 200 senses a change in its relative position to the display device 100 and moves to the other side of the display device 100. Simultaneously, the display screen of the display device 100 shows desktop pages "2" and "3". Therefore, at this time, the desktop page displayed on the screen of the electronic device 200 can switch from the last desktop page displayed on the screen of the display device 100 to the next desktop page, i.e., from desktop page "1" to desktop page "4". It is understandable that when the user moves the display device 100, the display device 100 and / or the electronic device 200 can adjust the combination of desktop pages in the linked desktop according to their relative position. The adjustment method is the same as when the user moves the electronic device 200, and will not be elaborated further here.

[0105] In some embodiments of this application, after N (N≥2) desktop pages are displayed on the display screen of the display device 100, the user can switch between N desktop pages and (Nk) desktop pages on the display screen of the display device 100 to meet the user's needs in different scenarios; where k is a positive integer and 0<k<N.

[0106] For example, such as Figure 19 As shown in (A), the display screen of display device 100 displays two desktop pages. Among them, in Figure 19 Applications 1 to 20 in (A), and applications A to D can form a desktop page; applications 21 to 40, and applications A to D can form a desktop page. Figure 19 In (A), the display device 100 can, in response to a user's switching operation to switch two desktop pages to one desktop page, display on its screen applications 1 to 20, and desktop pages that can be composed of applications A to D, i.e. Figure 19 The interface shown in (B).

[0107] Understandably, after a user switches from N desktop pages to (Nk) desktop pages, the display device 100 can adaptively adjust the spacing between the content contained in the (NK) desktop pages to maximize the coverage of the display device 100's screen with the content contained in the switched desktop pages, avoiding large areas of blank space on the display device 100's screen and improving the display effect. For example, see [link to relevant documentation] Figure 19 ,Will Figure 19 The two desktop pages in (A) are switched to Figure 19 After a desktop page in (B), Figure 19 In (B), the spacing between applications 1 to 20 can be adjusted so that applications 1 to 20 can fill the display screen of display device 100 to the maximum extent.

[0108] Understandably, the desktop pages to be displayed after switching can be based on pre-defined switching rules, which can be determined according to the actual situation and are not limited here. For example, the pre-defined switching rules can be: after switching N desktop pages to (Nk) desktop pages, the display screen of display device 100 displays the first (NK) desktop pages out of the N desktop pages, or displays the last (NK) desktop pages out of the N desktop pages; after switching (Nk) desktop pages to N desktop pages, the display screen of display device 100 displays the K desktop pages before the first desktop page out of the (NK) desktop pages, or displays the K desktop pages after the last desktop page out of the (NK) desktop pages (i.e., the (NK)th desktop page).

[0109] In some embodiments of this application, when switching desktop pages on the display screen of the display device 100, the user can switch by issuing operation commands, such as switching by voice commands, switching by manual operation, etc. For example, the user can zoom in on a desktop page on the display screen of the display device 100 to reduce the number of desktop pages displayed on the display screen of the display device 100; conversely, the user can also zoom out on a desktop page on the display screen of the display device 100 to increase the number of desktop pages displayed on the display screen of the display device 100.

[0110] In one example, when a user selects to reduce the number of desktop pages displayed on the screen of display device 100, the switched desktop pages displayed on the screen of display device 100 may include at least the enlarged desktop page selected by the user. For instance, only the enlarged desktop page selected by the user may be displayed on the screen of display device 100.

[0111] For example, such as Figure 20 As shown in (A), the display screen of display device 100 displays desktop pages "1" and "2", and the desktop pages to be switched to are desktop pages "3" and "4". Figure 20 In (A), on the display screen of display device 100, the user can zoom in on desktop page "2" with their finger. During the zooming process, desktop page "2" can "squeeze" desktop page "1" off the display screen of display device 100, at which point it is displayed on the display screen of display device 100. Figure 20 The interface shown in (B). In Figure 20 In (B), the desktop pages to be switched to are "1", "3", and "4".

[0112] like Figure 21As shown in (A), the display screen of display device 100 displays desktop pages "1" and "2", and the desktop pages to be switched to are desktop pages "3" and "4". Figure 21 In (A), on the display screen of display device 100, a user can zoom in on desktop page "1" with their finger. During the zooming process, desktop page "1" can "squeeze" desktop page "2" off the display screen of display device 100, at which point it is displayed on the display screen of display device 100. Figure 21 The interface shown in (B). In Figure 21 In (B), the desktop pages to be switched to are "2", "3", and "4".

[0113] Understandably, in Figure 20 and Figure 21 In this system, the speed at which one desktop page "squeezes" another desktop page off the display screen of the display device 100 can be synchronized with the speed at which the user zooms in on a desktop page, thereby enhancing the dynamic display effect. Furthermore, while the user is zooming in on a desktop page, other desktop pages displayed on the screen of the electronic device 100 can also be zoomed in simultaneously to enhance the dynamic display effect and improve the user experience.

[0114] Furthermore, when a user switches desktop pages on display device 100, during the process of the first desktop page "squeezing" the second desktop page off the display screen of display device 100, if the user zooms in on the first desktop page by an amount greater than or equal to a preset value, and if the user stops zooming in on the first desktop page and / or stops operating display device 100, then display device 100 can directly display the first desktop page on its screen without displaying the second desktop page. Conversely, if the user zooms in on the first desktop page by an amount less than the preset value, and if the user stops zooming in on the first desktop page and / or stops operating display device 100, then display device 100 can return to the state before the user zoomed in on the first desktop page, i.e., simultaneously displaying both the first and second desktop pages.

[0115] For example, such as Figure 22 As shown, in Figure 22 In (A), the display screen of the display device 100 shows desktop pages "1" and "2". The user then zooms in on desktop page "2" with their finger. As the user zooms in on desktop page "2", desktop page "1" is simultaneously zoomed in and gradually "squeezed out" of the display screen of the display device 100, reaching a state where... Figure 22 The display effect shown in (B) is as follows. Figure 22In step (B), the user stops zooming in on desktop page "2". At this point, the user's zoom in on desktop page "2" exceeds the preset zoom level. Afterward, the user removes their finger from the display screen of display device 100. At this point, desktop page "2" is displayed on the display screen of display device 100, but desktop page "1" is no longer displayed, i.e., the screen displays as shown... Figure 22 The interface shown in (C) is as follows.

[0116] like Figure 23 As shown, in Figure 23 In (A), the display screen of the display device 100 shows desktop pages "1" and "2". The user then zooms in on desktop page "2" with their finger. As the user zooms in on desktop page "2", desktop page "1" is simultaneously zoomed in and gradually "squeezed out" of the display screen of the display device 100, reaching a state where... Figure 23 The display effect shown in (B) is as follows. Figure 23 In step (B), the user stops zooming in on desktop page "2". At this point, the zoom level of desktop page "2" is less than the preset value. Afterward, the user removes their finger from the display screen of display device 100. At this point, the display screen of display device 100 can return to simultaneously displaying desktop pages "1" and "2", i.e., displaying... Figure 23 The interface shown in (C) is as follows.

[0117] In one example, when a user chooses to increase the number of desktops displayed on the screen of display device 100 by shrinking a specific desktop page, the user can choose to either add the first j desktops of the first desktop page currently displayed on display device 100, or add the last j desktops of the last desktop page currently displayed on display device 100, where j is a positive integer greater than or equal to 1. The value of j can be a preset fixed value or a dynamically changing value; this is not limited here. It is understood that when display device 100 receives the user's operation, it can respond by adding the corresponding desktop pages. For example, a user can shrink a desktop page on one side of the display screen of display device 100 to increase the number of desktops on the opposite side. For example, when the side is the side where the first desktop page is being displayed on the screen of display device 100, then the j desktop pages after the last desktop page being displayed on the screen of display device 100 are added; when the side is the side where the last desktop page is being displayed on the screen of display device 100, then the j desktop pages before the first desktop page being displayed on the screen of display device 100 are added.

[0118] For example, such as Figure 24As shown in (A), the display screen of display device 100 displays desktop page "2", and the desktop pages to be switched to are desktop pages "1", "3", and "4". Figure 24 In (A), on the display screen of display device 100, a user can zoom out on desktop page "2" by using their finger on the right side of the display screen of display device 100. As the user zooms out on desktop page "2", desktop page "1" can gradually appear on the display screen of display device 100. Figure 24 In (A), when the user's finger leaves the display screen of the display device 100, the following is displayed on the display screen of the display device 100: Figure 24 The interface shown in (B). In Figure 24 In (B), the desktop pages to be switched to are "3" and "4".

[0119] like Figure 25 As shown in (A), the display screen of display device 100 displays desktop page "2", and the desktop pages to be switched to are desktop pages "1", "3", and "4". Figure 25 In (A), on the display screen of display device 100, a user can zoom out on desktop page "2" by using their finger on the left side of the display screen of display device 100. As the user zooms out on desktop page "2", desktop page "3" can gradually appear on the display screen of display device 100. Figure 25 In (A), when the user's finger leaves the display screen of the display device 100, the following is displayed on the display screen of the display device 100: Figure 25 The interface shown in (B). In Figure 25 In (B), the desktop pages to be switched to are "1" and "4".

[0120] Understandably, in Figure 24 and Figure 25 In this system, the speed at which one desktop page gradually appears on the display screen of display device 100, driven by another desktop page, can be synchronized with the speed at which the user shrinks another desktop page, thereby enhancing the dynamic display effect. Of course, when the user increases the number of desktop pages displayed on the display screen of display device 100, the desktop pages to be added can either gradually appear on the display screen of display device 100, or they can all be displayed directly on the display screen of display device 100 when the user is no longer controlling display device 100. For example, while the user is shrinking a desktop page, the desktop pages to be added will not be displayed, but when the user is no longer controlling display device 100 (e.g., the user's finger leaves the display screen of display device 100), the desktop pages to be added will be directly displayed on the display screen of display device 100.

[0121] Furthermore, when a user chooses to increase the number of desktop pages displayed on the display device 100 by shrinking a desktop page, if the user shrinks the desktop page by a margin greater than or equal to a preset value, and if the user then stops shrinking the desktop page and / or ceases operating the display device 100, the display device 100 can directly increase the number of desktop pages displayed on its screen. Conversely, if the user shrinks a desktop page by a margin less than the preset value, and if the user then stops shrinking the desktop page and / or ceases operating the display device 100, the display device 100 can revert to the state before the user shrunk the first desktop page. It is understandable that the process of shrinking desktop pages to increase the number of desktop pages is similar to the above. Figure 22 and Figure 23 The process of enlarging the desktop page to reduce the number of desktop pages is the reverse, and will not be elaborated here.

[0122] It is understood that the processor in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor can be a microprocessor or any conventional processor.

[0123] The method steps in the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can reside in an ASIC.

[0124] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0125] It is understood that the various numerical designations used in the embodiments of this application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application.

Claims

1. A display method, characterized in that, The method includes: The first electronic device receives a screen mirroring instruction sent by the second electronic device and a source interface on the second electronic device. The source interface includes (N+M) desktop pages, where N is a positive integer greater than or equal to 2 and M is greater than or equal to 0. Based on the size of its screen, the first electronic device simultaneously displays N desktop pages on the second electronic device. These N desktop pages include at least a first desktop page and a second desktop page. The first desktop page is the currently displayed desktop page on the second electronic device, and the second desktop page is a desktop page not currently displayed on the second electronic device. The content and layout of the first desktop page displayed on the first electronic device are identical to those of the first desktop page displayed on the second electronic device, and the content and layout of the second desktop page displayed on the first electronic device are identical to those of the second desktop page displayed on the second electronic device. In response to a switching operation of the third desktop page displayed by the second electronic device, the first electronic device switches the N desktop pages, and the third desktop page is the desktop page displayed in the second electronic device after the first electronic device displays the N desktop pages; Alternatively, the first electronic device switches the N desktop pages and sends an instruction to the second electronic device to switch the displayed third desktop page, which is the desktop page displayed in the second electronic device after the first electronic device displays the N desktop pages.

2. The method according to claim 1, characterized in that, The source interface also includes persistent content; The method further includes: The first electronic device displays the persistent content, which includes at least one application icon. When the second electronic device switches between displaying any two desktop pages, the persistent content remains displayed on the current interface of the second electronic device.

3. The method according to claim 2, characterized in that: The layout of the persistent content displayed on the first electronic device is the same as the layout of the persistent content displayed on the second electronic device.

4. The method according to claim 2 or 3, characterized in that, The persistent content is displayed below the N desktop pages within the display area of ​​the first electronic device, and / or the persistent content is displayed centered below the display area on the first electronic device.

5. The method according to any one of claims 1-4, characterized in that, Before displaying the N desktop pages on the second electronic device, the first electronic device further includes: The first electronic device determines the value of N based on the size of its display screen.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: The first electronic device adjusts the size of the content in the N desktop pages according to the size of the display screen of the first electronic device.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: When the display screen of the first electronic device switches from landscape mode to portrait mode, the first electronic device displays (NE) desktop pages on the second electronic device, where E is a positive integer greater than or equal to 0 and E is less than N. The value of E is determined by the horizontal or vertical size of the display screen in portrait mode.

8. The method according to claim 7, characterized in that, E=N-1.

9. The method according to any one of claims 1-8, characterized in that, If M is greater than or equal to 1, all the desktop pages can be switched and displayed on the first electronic device, and the method further includes: The first electronic device receives an interface switching instruction for switching the desktop page; When the number of desktop pages to be switched, X, is greater than or equal to N, the first electronic device responds to the obtained interface switching instruction and switches N desktop pages at a time. When the number of desktop pages to be switched, X, is less than N, the first electronic device responds to the received interface switching command and switches X desktop pages at a time.

10. The method according to any one of claims 1-8, characterized in that, The method further includes: The first electronic device receives an interface switching command; The first electronic device acquires the touch parameters corresponding to the interface switching command; Based on the touch parameters, the first electronic device determines the target number of desktop pages to be switched in this interface switch, and the target number of desktop pages to be switched.

11. The method according to any one of claims 1-7, characterized in that, The method further includes: The first electronic device receives an interface switching instruction sent by the second electronic device, wherein the interface switching instruction is sent by the second electronic device after receiving an operation performed on the second electronic device; In response to the interface switching command, the first electronic device switches the desktop page; the desktop page currently displayed by the first electronic device after switching the desktop page is completely different from the desktop page currently displayed by the second electronic device.

12. The method according to any one of claims 1-11, characterized in that, The method further includes: In response to the first instruction received, the first electronic device switches from displaying N desktop pages to displaying (Nk) desktop pages, where k is a positive integer and 0 < k < N.

13. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the received second instruction, the first electronic device switches from displaying N desktop pages to displaying (N+h) desktop pages, where h is a positive integer.

14. An electronic device, characterized in that, include: Display screen; One or more processors; Memory; The memory stores one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1-13.

15. A computer-readable storage medium storing a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1-13.

16. A computer program product, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 1-13.

Citation Information

Patent Citations

  • Screen projection method and terminal equipment

    CN108874341A

  • Display method and related device

    CN110471639A