Display method and related device

By displaying two application pages on the electronic device and locking the window, the problems of inflexible user interface configuration and complex page switching operations in the prior art are solved, and higher screen utilization and processing efficiency are achieved.

JP7654936B2Active Publication Date: 2025-04-02HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023564099
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-04-22
Filing Date
2022-04-06
Publication Date
2025-04-02
Estimated Expiration
2042-04-06

AI Technical Summary

Technical Problem

When existing electronic devices display application pages, they cannot flexibly configure the user interface. Users need to frequently switch pages to view contents of multiple pages, which is complicated.

Method used

By implementing the display method on an electronic device, two application pages are allowed to be displayed at the same level and windows are locked between pages to improve screen utilization.

Benefits of technology

A more flexible user interface configuration is implemented, allowing users to handle two tasks simultaneously, improving processing efficiency, and simplifying page switching operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007654936000001
    Figure 0007654936000001
  • Figure 0007654936000002
    Figure 0007654936000002
  • Figure 0007654936000003
    Figure 0007654936000003
Patent Text Reader

Abstract

In this application, a display method and related apparatus are disclosed. An electronic device may display an interface of a first application, the interface of the first application including a first window and a second window, a first page of the first application is displayed in the first window, and a second page of the first application is displayed in the second window. The second page is a subpage of the first page. After the electronic device can receive a window lock operation of a user, if the electronic device receives an operation performed by the user on a new page open control in the first page, the electronic device may display a third page in the first window in response to the operation. The third page is a subpage of the first page. In this way, the electronic device can perform an appropriate user interface configuration and simultaneously display two pages on the same layer to improve the screen utilization rate of the electronic device. This allows the user to process two tasks simultaneously, improving processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [Technical field] The present application relates to the field of terminal technology, and in particular to a display method and related device. [Background technology]

[0002] Application display technologies are increasingly widely used in electronic devices. An electronic device may display a page of an application in multiple display methods. When an electronic device displays a page of an application in full screen, the electronic device may receive a user's page switching input for that page, and in response to the input, display the switched-to page in full screen. As a result, the electronic device cannot flexibly configure a user interface. If a user wants to view the contents of two pages, the user needs to switch between the two pages. This operation is complicated. Summary of the Invention

[0003] The present application provides a display method and related apparatus that allows an electronic device to perform appropriate user interface configuration and simultaneously display two pages on the same layer to improve the screen utilization rate of the electronic device, thereby allowing a user to process two tasks simultaneously and improving processing efficiency.

[0004] According to a first aspect, the present application provides a method for displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of an electronic device, the second window being displayed in a second display area on a display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page, and a second page of the first application being displayed in the second window, the second page being a sub-page of the first page. The present invention provides a display method including the steps of: receiving a first input; and in response to the first input, displaying a third page in a second window, the third page being a subpage of the first page; receiving a second input to an interface of a first application; and in response to the second input, displaying a first lock symbol, the first lock symbol indicating that the first window is locked; receiving a third input to the first page; and in response to the third input, displaying a fourth page in the first window.

[0005] According to the display method provided in the present application, when displaying two or more pages, the electronic device may lock the window in which the page is displayed. The electronic device may display, in the locked window, the page in the window and a page triggered by a control in the displayed page. In this way, the electronic device can perform an appropriate user interface configuration and simultaneously display two pages on the same layer to improve the screen utilization rate of the electronic device. This allows a user to simultaneously view two or more pages.

[0006] In a possible implementation, a first horizontal bar is displayed in the first window prior to the step of receiving a second input for the interface of the first application, the second input being an input for the first horizontal bar.

[0007] In a possible implementation, prior to the step of receiving a second input for the interface of the first application, the method further includes a step of receiving a fourth input for the first display area and a step of displaying a first horizontal bar in the first window in response to the fourth input.

[0008] In a possible implementation, prior to the step of receiving a second input to the interface of the first application, the method further includes the steps of receiving a fifth input to the interface of the first application and displaying a lock control in response to the fifth input, where the second input is an input to the lock control.

[0009] In a possible implementation, the step of receiving a second input for the interface of the first application specifically includes: the interface of the first application further including a first dividing line, the first dividing line being displayed at the junction between the first window and the second window, and the second input being an input for the first dividing line.

[0010] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving a sixth input for the first lock symbol, and in response to the sixth input, canceling the display of the first lock symbol, displaying the first page in the first window, and displaying the third page or the fourth page in the second window.

[0011] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving a seventh input on the first dividing line and, in response to the seventh input, canceling the display of the first lock symbol and displaying the first page in the first window and displaying the third page or the fourth page in the second window.

[0012] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving an eighth input, and in response to the eighth input, displaying a desktop and displaying a first control on the desktop, receiving a ninth input for the first control, and in response to the ninth input, displaying a first floating window and / or a second floating window on the desktop, wherein a fifth page is displayed in the first floating window and a sixth page is displayed in the second floating window, the content of the fifth page being the same as the content of the fourth page and the content of the sixth page being the same as the content of the third page.

[0013] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving an eighth input, and in response to the eighth input, displaying the desktop and displaying a second control and a first floating window on the desktop, where a fifth page is displayed in the first floating window and content of the fifth page is the same as content of the fourth page, the second control being configured to trigger display of the second floating window, and a sixth page is displayed in the second floating window and content of the sixth page is the same as content of the third page, or in response to the eighth input, displaying the desktop and displaying a third control and the second floating window on the desktop, where the third control is configured to trigger display of the first floating window.

[0014] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving an eighth input, and in response to the eighth input, displaying a desktop and displaying a first floating window and a second floating window on the desktop, wherein a fifth page is displayed in the first floating window and a sixth page is displayed in the second floating window, wherein the content of the fifth page is the same as the content of the fourth page and the content of the sixth page is the same as the content of the third page.

[0015] In a possible implementation, after the step of displaying the fourth page in the first window, the method further includes the steps of receiving a first drag input on the second window, and in response to the first drag input, displaying the desktop in the second display area, displaying the first window in the first display area, and displaying a third floating window in a floating manner on a display screen of the electronic device, or in response to the first drag input, displaying the fourth page in full screen and displaying the third floating window in a floating manner on the fourth page, wherein a seventh page is displayed in the third floating window, and the content of the seventh page is the same as the content of the third page.

[0016] In a possible implementation, the method further includes the steps of displaying a third interface, and displaying a fourth floating window on the third interface in a floating manner, where a twelfth page is displayed in the fourth floating window, receiving a fourteenth input for the twelfth page, and in response to the fourteenth input, creating a fifth floating window and displaying a thirteenth page in the fifth floating window, and after detecting a fifteenth input for locking the fourth floating window, receiving a sixteenth input for the twelfth page, and in response to the sixteenth input, displaying the fourteenth page in the fourth floating window. In some application scenarios, after the fourth floating window is locked and a seventeenth input for opening the sixth floating window is received, the sixth floating window is displayed in a lower layer than the fourth floating window in response to the seventeenth input. In this way, the locked floating window is always displayed in the top layer of the display screen of the electronic device and is not minimized.

[0017] In a possible implementation, the method further includes the steps of displaying a fourth interface, where a first card is displayed on the fourth interface, the first card including first functional information, the first functional information being used to trigger display of a first designated page, and after detecting an eighteenth input for locking the first card, receiving a nineteenth input for the first functional information, and displaying the first designated page in an area of ​​the first card in response to the nineteenth input. In this way, a jump destination page can be displayed on the locked card.

[0018] According to a second aspect, the present application provides a display method including the steps of: displaying an interface of a first application, the interface of the first application including a first page and a second page, the first page being displayed in a first display area on the electronic device, and the second page being displayed in a second display area on the electronic device, the second page being a sub-page of the first page; receiving a ninth input for the second page, and in response to the ninth input, displaying the second page in the first display area and displaying an eighth page in the second display area, the eighth page being a sub-page of the second page; receiving an eleventh input for opening a new page of the eighth page after detecting a tenth input for locking the eighth page, and in response to the eleventh input, displaying the ninth page in the first display area. In this way, the electronic device can display the newly opened page when displaying the locked page.

[0019] In a possible implementation, the electronic device displays a third interface; displays a seventh floating window on the third interface in a floating manner, where a fifteenth page is displayed in the seventh floating window, receives a twentieth input for the fifteenth page, and in response to the twentieth input, displays a sixteenth page in the seventh floating window; and after detecting a twenty-first input to lock the sixteenth page, receives a twenty-second input for the sixteenth page, and in response to the twenty-second input, creates an eighth floating window and displays the seventeenth page in the eighth floating window.

[0020] In a possible implementation, the method further includes the steps of: displaying a fourth interface, where a first card is displayed on the fourth interface, where the first card includes first functional information, where the first functional information can be used to trigger display of a first designated page; receiving a twenty-fourth input for the first functional information after detecting a twenty-third input for locking the first functional information, and displaying a third lock symbol in response to the twenty-fourth input, where the third lock symbol indicates that the first functional information is locked; and upon detecting a twenty-fifth input for opening the first designated page, displaying a second card and displaying the first designated page on a sixth card, displaying the first designated page in full screen and displaying the first card on the first designated page, where the first card displays the first functional information, or displaying a pop-up window near the first card and displaying the first designated page in the pop-up window.

[0021] According to a third aspect, the present application provides a display method including the steps of: displaying a second interface, the second interface including a first interface element, the first interface element being used to trigger the display of a third interface; receiving a twelfth input for locking the first interface element, and displaying a second lock symbol in response to the twelfth input, the second lock symbol indicating that the first interface element is locked; receiving a thirteenth input for the second interface, and in response to the thirteenth input, displaying a fourth interface and displaying the first interface element on the fourth interface, or in response to the thirteenth input, displaying a tenth page in a third display area on a display screen of the electronic device and displaying an eleventh page in a fourth display area on a display screen of the electronic device, the eleventh page including the first interface element. In this way, the electronic device can jump at any time to the page triggered to be displayed by the locked interface element, and the operation step of page switching can be reduced.

[0022] According to a fourth aspect, the present application provides an electronic device including one or more processors, a display screen, and one or more memories, wherein the display screen, the one or more memories, and the one or more processors are coupled, and the one or more memories are configured to store computer program code, the computer program code comprising computer instructions, and wherein execution of the one or more processors enables the electronic device to perform the display method in any one of the possible implementations of the first aspect.

[0023] According to a fifth aspect, the present application provides an electronic device including one or more processors, a display screen, and one or more memories, wherein the display screen, the one or more memories, and the one or more processors are coupled together, and the one or more memories are configured to store computer program code, the computer program code including computer instructions, and wherein, upon execution of the computer instructions by the one or more processors, the electronic device displays an interface of a first application, the interface of the first application including a first page and a second page, the first page being a first page on the electronic device. a ninth input for the second page, and a second page is displayed in a second display area on the electronic device, the second page being a subpage of the first page; receiving a ninth input for the second page, and in response to the ninth input, displaying the second page in the first display area and displaying an eighth page in the second display area, the eighth page being a subpage of the second page; after detecting a tenth input for locking the eighth page, receiving an eleventh input for opening a new page of the eighth page, and in response to the eleventh input, displaying the ninth page in the first display area.

[0024] According to a sixth aspect, the present application provides an electronic device including one or more processors, a display screen, and one or more memories, the display screen, the one or more memories, and the one or more processors being coupled, the one or more memories being configured to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the electronic device includes the steps of: displaying a second interface, the second interface including a first interface element, the first interface element being used to trigger display of a third interface; and locking the first interface element. and displaying a second lock symbol in response to the twelfth input, the second lock symbol indicating that the first interface element is locked; and receiving a thirteenth input to the second interface, and in response to the thirteenth input, displaying a fourth interface and displaying the first interface element on the fourth interface, or in response to the thirteenth input, displaying a tenth page in a third display area on a display screen of the electronic device and displaying an eleventh page in a fourth display area on the display screen of the electronic device, the eleventh page including the first interface element.

[0025] According to a seventh aspect, an embodiment of the present application provides a computer storage medium comprising computer instructions, which when executed on an electronic device, enable the communication apparatus to perform a display method according to any one of the possible implementations of the first aspect.

[0026] According to an eighth aspect, an embodiment of the present application provides a computer storage medium including computer instructions that, when executed on an electronic device, enable the communication apparatus to perform a display method according to any one of the possible implementations of the second aspect.

[0027] According to a ninth aspect, an embodiment of the present application provides a computer storage medium including computer instructions that, when executed on an electronic device, enable the communication apparatus to perform a display method according to any one of the possible implementations of the third aspect. [Brief description of the drawings]

[0028] [Figure 1A] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 1B] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 1C] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 2A] 1 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application; [Figure 2B] FIG. 2 is a diagram of a software structure of an electronic device according to an embodiment of the present application. [Figure 3A] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 3B] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 3C] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 3D] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 3E] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 3F] FIG. 2 is a schematic diagram of a group of interfaces according to an embodiment of the present application. [Figure 4A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4C]FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4F] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4G] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4H] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4I] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 4J] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5F] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 5G] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 6A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 6B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 6C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 6D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 6E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 7A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 7B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 7C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8F] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 8G] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 9A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 9B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 9C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 9D]FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 9E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 10A] 4 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 10B] 4 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 10C] 4 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 10D] 4 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 10E] 4 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 11A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 11B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 11C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 11D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 11E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 12A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 12B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 12C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 12D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 12E]FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 13A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 13B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 13C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 13D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 13E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 14A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 14B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 14C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 14D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 15A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 15B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 15C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 15D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 15E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 16A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 16B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 16C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 16D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 16E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 17A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 17B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 17C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 17D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 17E] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 18A] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 18B] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 18C] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 18D] FIG. 2 is a schematic diagram of another group of interfaces according to an embodiment of the present application. [Figure 19] 1 is a schematic flowchart of a display method according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] The technical solutions according to the embodiments of the present application are described below clearly and completely with reference to the accompanying drawings. In the description of the embodiments of the present application, " / " means "or" unless otherwise specified. For example, A / B may represent A or B. In this specification, "and / or" only describes the related relationship to describe related objects, and represents that three relationships may exist. For example, A and / or B may represent three cases: only A exists, both A and B exist, and only B exists.

[0030] The terms "first" and "second" below are for descriptive purposes only and should not be understood as an indication or implication of relative importance or an implicit indication of the quantity of technical features shown. Thus, a feature qualified by "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, unless otherwise specified, "a plurality of" means two or more.

[0031] In some application scenarios, after receiving an operation performed by a user to open a specified application (e.g., a notepad application, a communication application, or a shopping application), the electronic device may, in response to the operation, simultaneously display two or more pages of the application on the display screen.

[0032] In some other application scenarios, after receiving an operation performed by a user to open a designated application (e.g., a memo pad application, a communication application, or a shopping application), the electronic device independently displays a designated page of the designated application on the display screen in response to the operation. In some embodiments, in response to an operation performed by a user to open a new page of the designated page, the electronic device may simultaneously display two or more pages of the designated application on the display screen of the electronic device by using a screen splitting function. For example, the electronic device may simultaneously display two pages of the application through App Multiplier. The electronic device may display a designated page of the application (e.g., a home page of the application) in the left half area of ​​the display screen and display a sub-page of the designated page in the right half area of ​​the display screen. For more information about App Multiplier, please refer to the content of the website (https: / / consumer.huawei.com / en / support / content / zh-cn00770975 / ).

[0033] For example, as shown in FIG. 1A, an electronic device displays a communication application interface 100. The communication application interface 100 may include a contacts page 101. The contacts page 101 may be a home page of a communication application. A contact display area may be displayed on the contacts page 101. Multiple contact icons (e.g., contacts icon 102 and contacts icon 103) may be displayed in the contact display area, and a contact icon may be used to trigger the display of an instant messaging page corresponding to the contact icon. Optionally, the contacts page may further include an icon such as a search bar.

[0034] In response to an action (e.g., a tap) performed by a user on the contact icon 102, the electronic device may display a communication application interface 110 shown in FIG. 1B. The communication application interface 110 may include a contact page 101 and an instant messaging page 111. The instant messaging page 111 is a sub-page of the contact page 101. The instant messaging page 111 may include dialog boxes, input boxes, and the like. The instant messaging page 111 may be used to chat with the contact "Alan." Optionally, the instant messaging page 111 may further include emoticon controls, voice controls, more controls, and the like.

[0035] The electronic device may receive an action (e.g., a tap) performed by a user on a contact icon 103 of the communication application interface 110. In response to the action, the electronic device 100 may display the communication application interface 120 shown in FIG. 1C.

[0036] 1C , communication application interface 120 may include contacts page 101 and instant messaging page 121. Instant messaging page 121 is a subpage of contacts page 101. Instant messaging page 121 may include dialog boxes, input boxes, and the like. Instant messaging page 121 may be used to chat with contact "Lisa." Optionally, instant messaging page 121 may further include emoticon controls, voice controls, more controls, and the like.

[0037] In this way, the electronic device may display a page on one side of the display screen and a sub-page of the page on the other side of the display screen. The electronic device cannot simultaneously display two or more pages on the same layer, so screen utilization is not high. A page itself is a page that is on the same layer as the page. For example, contact page 101 and contact page 101 are pages that are on the same layer. Sub-pages of the same page are also pages that are on the same layer. For example, instant messaging page 111 and instant messaging page 121 are two pages that are on the same layer, and both instant messaging page 111 and instant messaging page 121 are sub-pages of contact page 101. The electronic device may be electronic device 100.

[0038] An embodiment of the present application provides a display method. An electronic device may display an interface of a first application, the interface of the first application including a first window and a second window, a first page of the first application is displayed in the first window, and a second page of the first application is displayed in the second window. The second page is a sub-page of the first page. After the electronic device receives a window lock operation of a user, if the electronic device receives an operation performed by the user on a new page open control in the first page, the electronic device may display a third page in the first window in response to the operation. The third page is a sub-page of the first page. The first window may be described as a display area on a display screen of the electronic device, and the electronic device may display a designated page, for example, the first page, in the display area. Similarly, the second window may also be described as a display area on a display screen of the electronic device. In this way, the electronic device can perform an appropriate user interface configuration and simultaneously display two pages on the same layer to improve the screen utilization rate of the electronic device. This allows the user to process two tasks simultaneously, improving processing efficiency.

[0039] The following describes an electronic device 100 provided in an embodiment of the present application.

[0040] The electronic device 100 may be a tablet computer, a mobile phone, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device. The specific type of the electronic device 100 is not particularly limited in the embodiments of the present application.

[0041] FIG. 2A is a schematic diagram of the structure of an electronic device 100.

[0042] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a handset 170B, a microphone 170C, a headset jack 170D, a sensor module 180, buttons 190, a motor 191, indicators 192, a camera 193, a display 194, a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0043] It may be understood that the structure shown in this embodiment of the invention does not constitute a particular limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figures, or some components may be combined, or some components may be divided, or different component arrangements may be used. The components shown in the figures may be implemented by hardware, software, or a combination of software and hardware.

[0044] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be separate components or may be integrated into one or more processors.

[0045] The controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation codes and time series signals to complete the control of instruction reading and instruction execution.

[0046] A memory may further be disposed in the processor 110 and configured to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that have been used or are used periodically by the processor 110. When the processor 110 needs to use the instructions or data again, the processor may retrieve the instructions or data directly from the memory. This avoids repeated accesses, reducing the latency of the processor 110 and improving system efficiency.

[0047] In some embodiments, the processor 110 may include one or more interfaces, which may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identification module (SIM) interface, a universal serial bus (USB) interface, and / or the like.

[0048] It may be understood that the interface connection relationships between modules shown in this embodiment of the present invention are merely illustrative examples and do not constitute limitations on the structure of the electronic device 100. In some other embodiments of the present application, the electronic device 100 may alternatively use a different interface connection scheme than the aforementioned embodiment or may use a combination of multiple interface connection schemes.

[0049] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 may receive the charging input of the wired charger via the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input by using a wireless charging coil of the electronic device 100. The charging management module 140 may further provide power to the electronic device 100 by using the power management module 141 while charging the battery 142.

[0050] The power management module 141 is configured to connect to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, etc. The power management module 141 may be further configured to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage or impedance). In some other embodiments, the power management module 141 may alternatively be located within the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may alternatively be located within the same component.

[0051] The wireless communication functionality of the electronic device 100 may be implemented via antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, a baseband processor, and the like.

[0052] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas may be used in conjunction with tuning switches.

[0053] The mobile communication module 150 may be applied to the electronic device 100 to provide wireless communication solutions including 2G / 3G / 4G / 5G. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves via the antenna 1, perform processing such as filtering or amplification on the received electromagnetic waves, and send the electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may further amplify the signal modulated by the modem processor and convert the signal to electromagnetic waves for emission via the antenna 1. In some embodiments, at least some of the functional modules in the mobile communication module 150 may be located within the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be located within the same device as at least some of the modules of the processor 110.

[0054] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the low-frequency baseband signal obtained by demodulation to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and transmitted to the application processor. The application processor outputs a sound signal through an audio device (such as, but not limited to, a speaker 170A, a handset 170B, etc.) or displays an image or video through a display 194. In some embodiments, the modem processor may be an independent component. In some other embodiments, the modem processor may be independent from the processor 110 and be located in the same component as the mobile communication module 150 or another functional module.

[0055] The wireless communication module 160 may provide wireless communication solutions applied to the electronic device 100, including wireless local area network (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) technology, infrared (IR) technology, etc. The wireless communication module 160 may be one or more components integrating at least one communication processor module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 may further receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation via the antenna 2.

[0056] In some embodiments, in the electronic device 100, the antenna 1 and the mobile communication module 150 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, such that the electronic device 100 can communicate with a network and another device by using wireless communication technologies. The wireless communication technologies may 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), BT, GNSS, WLAN, NFC, FM, IR technologies, and / or the like. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite-based augmentation system (SBAS).

[0057] The electronic device 100 implements display functions via a GPU, a display 194, an application processor, etc. The GPU is a microprocessor for image processing and is connected to the display 194 and the application processor. The GPU is configured to perform mathematical and geometric calculations and render images. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0058] The display 194 is configured to display images, videos, etc. The display 194 includes a display panel. The display panel can 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 micro-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 can include one or N displays 194, where N is a positive integer greater than 1.

[0059] The electronic device 100 may implement the photography function by using an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.

[0060] The ISP is configured to process data fed back by the camera 193. For example, when taking a picture, the shutter is pressed and light is transmitted to the camera's photosensitive elements through the lens. The light signal is converted into an electrical signal, which in turn transmits the electrical signal to the ISP for processing and converts the electrical signal into a visible image. The ISP may further perform algorithmic optimization on noise, brightness, and skin tone of the image. The ISP may further optimize parameters such as exposure and color temperature for the shooting scenario. In some embodiments, the ISP may be located within the camera 193.

[0061] The camera 193 is configured to capture still images or video. An optical image of an object is generated through a lens and projected onto a photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts an optical signal into an electrical signal, which is then sent to an ISP to convert the electrical signal into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into an image signal in a standard format, such as RGB or YUV. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0062] The digital signal processor is configured to process digital signals and may process other digital signals in addition to the digital image signal. For example, if the electronic device 100 selects a frequency, the digital signal processor is configured to perform a Fourier transform on the frequency energy.

[0063] A video codec is configured to compress or decompress digital video. Electronic device 100 may support one or more video codecs. In this manner, electronic device 100 may play or record video in multiple coding formats, e.g., moving picture experts group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0064] The NPU is a neural-network (NN) computing processor, and can rapidly process input information and continuously perform self-learning by referring to the structure of biological neural networks, for example, by referring to the transmission pattern between human brain neurons. Applications such as intelligent cognition of the electronic device 100, for example, image recognition, face recognition, voice recognition, and text understanding, can be implemented through the NPU.

[0065] The external memory interface 120 may be configured to connect to external non-volatile memory to expand the storage capabilities of the electronic device 100. The external non-volatile memory communicates with the processor 110 via the external memory interface 120 to perform data storage functions. The external non-volatile memory stores files such as music and videos.

[0066] The internal memory 121 may be configured to store computer executable program code. The executable program code includes instructions. The processor 110 executes the instructions stored in the internal memory 121 to perform various functional applications and data processing of the electronic device 100. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, applications required by at least one function (e.g., a sound playback function or an image playback function), and the like. The data storage area may store data created during use of the electronic device 100 (such as audio data and an address book), and the like. In addition, the internal memory 121 may include a high-speed random access memory, or may include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory, or a universal flash storage (UFS).

[0067] The electronic device 100 may implement audio functions, such as music playback and recording, via an audio module 170, a speaker 170A, a handset 170B, a microphone 170C, a headset jack 170D, an application processor, and the like.

[0068] Audio module 170 is configured to convert digital audio information into analog audio signals for output, and is also configured to convert analog audio input into digital audio signals.

[0069] Speaker 170A, also referred to as a "loudspeaker," is configured to convert audio electrical signals into sound signals.

[0070] Receiver 170B, also referred to as an "earphone," is configured to convert audio electrical signals into voice signals.

[0071] Microphone 170C, also referred to as a "mike" or "mic," is configured to convert an audio signal into an electrical signal.

[0072] When the pressure sensor 180A is configured to sense a pressure signal, the pressure signal may be converted into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display 194. The gyro sensor 180B may be configured to determine the moving attitude of the electronic device 100. The air pressure sensor 180C is configured to measure air pressure. The magnetic sensor 180D includes a Hall effect sensor, and may be used to detect the opening and closing of a flip leather case. The acceleration sensor 180E may detect the acceleration of the electronic device 100 in various directions (usually three axes). The distance sensor 180F is configured to measure distance. The light proximity sensor 180G may also be used in the smart cover mode or pocket mode to automatically unlock or lock the screen. The ambient light sensor 180L is configured to sense the brightness of the ambient light. The fingerprint sensor 180H is configured to take a fingerprint. The temperature sensor 180J is configured to detect temperature. The touch sensor 180K is also called a "touch panel." The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 constitute a touch screen, also referred to as a "touch screen." The touch sensor 180K is configured to detect a touch operation performed on or near the touch sensor. The touch sensor may forward the detected touch operation to an application processor to determine a type of touch event. A visual output regarding the touch operation may be provided via the display 194. In some other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a location different from the location of the display 194. The bone conduction sensor 180M may obtain a vibration signal. The buttons 190 include a power button, a volume button, and the like. The motor 191 may generate a vibration prompt. The indicator 192 may be an indicator light and may be configured to indicate a charging status and a power change, or may be configured to indicate a message, a missed call, a notification, and the like. The SIM card interface 195 is configured to connect to a SIM card.

[0073] The following describes a diagram of the software structure of the electronic device 100 according to an embodiment of the present application.

[0074] The software system of the electronic device 100 may use a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In this embodiment of the present invention, the Android system of the layered architecture is used as an example to describe the software structure of the electronic device 100.

[0075] In a layered architecture, the software is divided into several layers, each of which has a clear role and task. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers from top to bottom: application layer, application framework layer, Android runtime and system libraries, and kernel layer.

[0076] The application layer may include a series of application packages.

[0077] As shown in FIG. 2B, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and messaging.

[0078] The application framework layer provides an application programming interface (API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0079] As shown in FIG. 2B, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

[0080] A window manager is configured to manage window programs. A window manager may obtain the size of the display screen, determine if there is a status bar, perform screen locking, take screenshots, etc.

[0081] Content providers are configured to store and retrieve data and enable the data to be accessed by applications. Data may include video, images, audio, calls such as outgoing and incoming calls, browsing history and bookmarks, address books, etc.

[0082] The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be configured to build applications. A display interface can include one or more views. For example, a display interface that includes an SMS message notification icon can include a text display view and an image display view.

[0083] The telephone manager is configured to provide communication functions for the electronic device 100, such as management of call status (including answering, rejecting, etc.).

[0084] The resource manager provides various resources to an application, such as localized strings, icons, images, layout files, and video files.

[0085] The notification manager may be configured to allow an application to display notification information in the status bar and communicate notification messages. The displayed information may disappear automatically after a short time without user interaction. For example, the notification manager may be configured to notify of download completion, provide message notifications, etc. Alternatively, the notification manager may be a notification that appears in the system's top status bar in the form of a graph or scrollbar text, e.g., a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text information may be displayed in the status bar, an alert sound may be played, the electronic device 100 may vibrate, an indicator light may flash, etc.

[0086] The Android runtime includes a kernel library and a virtual machine, and is responsible for scheduling and managing the Android system.

[0087] The kernel library includes two parts: the functions that need to be called in the Java language and the Android kernel library.

[0088] The application layer and the application framework layer run on a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is configured to implement functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0089] The system library may include multiple functional modules, for example, a surface manager, a media library, a three-dimensional graphics processing library (eg, OpenGL ES), and a 2D graphics engine (eg, SGL).

[0090] The surface manager is configured to manage the display subsystem and provide a blend of 2D and 3D layers for multiple applications.

[0091] The media library supports playback and recording of multiple commonly used audio and video formats, as well as still image files. The media library may support multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0092] The 3D graphics processing library is configured to implement 3D graphics drawing, image rendering, compositing, layer processing, and the like.

[0093] The 2D graphics engine is a drawing engine for 2D drawing.

[0094] The kernel layer is a layer between the hardware and the software, and includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

[0095] The display method provided in the embodiment of the present application will be specifically described below with reference to an application scenario.

[0096] In some application scenarios, the electronic device 100 may display an interface of a first application, where the interface of the first application includes at least two windows. The window is a display area on a display screen of the electronic device 100. The display area may display a specified content. For example, a page of the first application may be displayed in a window. The at least two windows may include a first window and a second window. The first page of the first application is displayed in the first window, and the second page of the first application is displayed in the second window. The second page is a subpage of the first page. If the first window and the second window are not locked, the electronic device 100 may receive an operation performed by a user on a new page open control in the first window, and in response to the operation, display a third page in the second window, where the third page is a subpage of the first page. When the first window and the second window are locked, the electronic device 100 may receive an operation performed by a user on a new page open control in the first window, and in response to the operation, display a third page in the first window, the third page being a subpage of the first page.

[0097] It should be noted that when the electronic device 100 displays a designated page in a first window, any page in the application may be displayed in a second window (wherein the any page may be the designated page, a page in the same layer as the designated page, a page in a different layer from the designated page, etc.). Similarly, when the electronic device 100 displays a designated page in a second window, any page in the application may be displayed in the first window. In this way, the electronic device 100 can configure the interface layout more flexibly and can improve the screen utilization rate. Moreover, it is convenient for the user to simultaneously process transactions on two pages in the same layer.

[0098] The electronic device 100 may divide the display screen into two or more display areas. Two display areas, display area 1 and display area 2, are used as an example. For example, display area 1 may be a left half area of ​​the display screen of the electronic device 100, and display area 2 may be a right half area of ​​the display screen of the electronic device 100. The electronic device 100 may display a first window in display area 1 and a second window in display area 2. In some embodiments, display areas 1 and 2 may alternatively be an upper area and a lower area of ​​the display screen.

[0099] For example, as shown in FIG. 3A, the electronic device 100 may display a desktop 300. The desktop 300 may include a number of application icons (e.g., a memo pad application icon 301, a file application icon 302, and a video application icon 303). The page may further include a card (e.g., a weather application card or a date application card). The card may display some functional information of a specified application, and some functional information may be used to trigger the electronic device 100 to display a specified page of the specified application. The card may be displayed on the desktop or another specified shortcut interface (e.g., a HiBoard or a service center), and the card may be added or deleted by a user. Some cards may be referred to as window widgets. Optionally, a status bar including icons such as a power identification icon may be further displayed at the top of the desktop 300. The memo pad application icon 301 may be used to trigger the display of an interface of the memo pad application.

[0100] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the notepad application icon 301. In response to the action, the electronic device 100 may display the notepad application interface 310 shown in FIG.

[0101] As shown in FIG. 3B , the notepad application interface 310 may include a window 320 and a window 330. The window 320 is displayed in a display area 312 on the display screen of the electronic device 100, and the window 330 is displayed in a display area 313 on the display screen of the electronic device 100. For example, the display area 312 may be a left half area of ​​the display screen, and the display area 313 may be a right half area of ​​the display screen. In some other embodiments, the notepad application interface 310 may further include a dividing line 311. The dividing line 311 may be displayed at the junction of the window 320 and the window 330. The dividing line 311 may be used to receive and trigger the electronic device 100 to respond to a user input to change the horizontal length of the window 320 and the window 330 (e.g., dragging to the left). Optionally, the dividing line 311 may further be used to receive and trigger the electronic device 100 to respond to a user input to lock the window 320 and the window 330.

[0102] The window 320 may display a note event page 321, which may include a note control, a to-do control, and a note display area. The note control may be configured to trigger the electronic device 100 to display the note display area. The note display area may include note events added by a user (e.g., a “note 5” event 323, a “note 4” event 324, a “note 3” event), an add note control, and a note search bar. The add note control may be configured to trigger the electronic device 100 to receive and respond to a user input to add a note event. The to-do control is configured to trigger the electronic device 100 to display the to-do event display area. The note search bar may be used to trigger the electronic device 100 to receive and respond to a user input to display several note events. The note event may be used to trigger the electronic device 100 to display a note edit page corresponding to the note event. The electronic device 100 may display the note edit page corresponding to the note event whose edit time is closest to the current time in the window 330 by default. For example, if the note event whose edit time is closest to the current time is the “Note 5” event 323, the electronic device 100 may display a note edit page 331 corresponding to the “Note 5” event 323. The note edit page 331 is a subpage of the note event page 321. Optionally, the note edit page 331 may further include a share control, a favorite control, a title input area, a note input area, and the like. The share control may be configured to trigger the electronic device 100 to display a page for sharing the “Note 5” event. The favorite control may be configured to trigger the electronic device 100 to add the “Note 5” event to favorites. The title input area may be used to receive a note title input by a user. The note input area may be used to receive a note content input by a user.

[0103] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the “Note 4” event 324. In response to the action, the electronic device 100 may display the notepad application interface 340 shown in FIG.

[0104] As shown in FIG. 3C, the electronic device 100 may display a memo pad application interface 340. The memo pad application interface 340 may include a dividing line 311, a window 320, and a window 330. The window 330 may display a memo edit page 335, which is a subpage of the memo event page 321. The memo edit page 335 may include a share control, a favorite control, a title input area, a memo input area, and the like. The share control may be configured to trigger the electronic device 100 to display a page for sharing the "memo 4" event. The favorite control may be configured to trigger the electronic device 100 to add the "memo 4" event to favorites. For the parts of the memo pad application interface 340 that are not described in detail, please refer to the embodiment shown in FIG. 3B. The details will not be described again in this specification.

[0105] As can be seen from the above, when the window 320 and the window 330 are not locked, the electronic device 100 can only independently display the edit note page 331 shown in FIG. 3B or the edit note page 335 shown in FIG. 3C. After both the window 320 and the window 330 are locked, the edit note page 331 and the edit note page 335 can be simultaneously displayed in the window 320 and the window 330 of the electronic device 100. In this way, the electronic device 100 can configure the interface layout more flexibly and display two pages in the same layer in the two displayed windows, so that the user can process transactions on the two pages simultaneously to improve efficiency.

[0106] In some embodiments, electronic device 100 may receive a user-performed operation (e.g., a tap) on dividing line 311. In response to the operation, electronic device 100 may display a notepad application interface 350, shown in FIG.

[0107] As shown in FIG. 3D, the electronic device 100 may display a memo pad application interface 350. In some embodiments, the memo pad application interface 350 may include a lock icon 314 or the like. The lock icon 314 may be used to prompt the user that the window 320 and the window 330 are locked. In response to a page switching operation performed by the user on the window 320, the electronic device 100 may display a page obtained after switching the memo event page 321 on the window 320. In response to a page switching operation performed by the user on the window 330, the electronic device 100 may display a page obtained after switching the memo edit page 335 on the window 330. For parts of the memo pad application interface 350 that are not described in detail, please refer to the embodiment shown in FIG. 3C. Details will not be described again in this specification.

[0108] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the "Note 5" event 323 on the notepad application interface 350 shown in Figure 3D. In response to the operation, the electronic device 100 may display the notepad application interface 360 ​​shown in Figure 3E.

[0109] As shown in FIG. 3E, the electronic device 100 may display a memo pad application interface 360. The memo pad application interface 360 ​​may include a window 320 and a window 330. The window 320 displays a memo edit page 361, and the window 330 displays a memo edit page 335. In some embodiments, the memo pad application interface 360 ​​may further include a dividing line 311, a lock icon 314, and the like. In response to a page switching operation performed by a user on the window 320, the electronic device 100 may display a page obtained after switching the memo edit page 361 on the window 320. For parts of the memo pad application interface 360 ​​that are not described in detail, please refer to the embodiments shown in FIG. 3C and FIG. 3B. Details will not be described again in this specification.

[0110] The electronic device 100 may receive a user-performed operation (e.g., a tap) on the back icon 365. In response to the operation, the electronic device 100 may display the notepad application interface 370 shown in FIG.

[0111] As shown in FIG. 3F, the electronic device 100 may display a memo pad application interface 370. The memo pad application interface 370 may include a window 320 and a window 330. The window 320 displays a memo edit page 361, and the window 330 displays a memo event page 371. The content of the memo event page 371 is the same as the content of the memo event page 321 shown in FIG. 3B. Optionally, the memo pad application interface 370 may further include a dividing line 311 and a lock icon 314. The lock icon 314 may be used to prompt the user that the window 320 and the window 330 of the electronic device 100 are in a locked state. For the parts of the memo pad application interface 370 that are not described in detail, please refer to the embodiment shown in FIG. 3B. The details will not be described again in this specification.

[0112] In a possible implementation, after locking the first window and the second window, the electronic device 100 may display a third page of the first application in the first window and display a second page of the first application in the second window, where both the second page and the third page are subpages of the first page. The electronic device 100 may unlock the first window and the second window in response to a user's window unlock operation. The electronic device 100 may display the third page in the first window and display the second page in the second window.

[0113] After electronic device 100 unlocks the first window and the second window, when electronic device 100 receives an operation to open a sub-page of a third page in the first window, electronic device 100 may display the sub-page of the third page in the second window in response to the operation to open the sub-page.

[0114] After electronic device 100 unlocks the first window and the second window, when electronic device 100 receives an operation to open a sub-page of the second page in the second window, in response to the operation to open the sub-page, electronic device 100 may display the sub-page of the second page in the second window, and electronic device 100 may display the second page in the first window.

[0115] After electronic device 100 unlocks the first window and the second window, when electronic device 100 receives an operation to open a home page of a third page in the first window, in response to the operation to open the home page, electronic device 100 may display the first page in the first window and the third page in the second window.

[0116] After electronic device 100 unlocks the first window and the second window, when electronic device 100 receives an operation to open a home page of a second page in the second window, in response to the operation to open the home page, electronic device 100 may display the first page in the first window and the second page in the second window.

[0117] Optionally, after electronic device 100 unlocks the first window and the second window, electronic device 100 may display the first page in the first window and the third page in the second window. The third page may be a recently opened page.

[0118] In a possible implementation, after locking the first window and the second window, the electronic device 100 may display a first page of the first application in both the first window and the second window. The first page does not have a home page. The electronic device 100 may respond to a user's window unlock operation. In response to the window unlock operation, the electronic device 100 may display the first page in the first window and the second page in the second window, where the second page is a subpage of the first page. For example, the second page may be a recently opened subpage among multiple subpages of the first page.

[0119] In a possible implementation, after locking the first window and the second window, the electronic device 100 may display a second page of the first application in both the first window and the second window. The second page is a subpage of the first page. The electronic device 100 may respond to a user's window unlock operation. In response to the window unlock operation, the electronic device 100 may display the first page in the first window and the second page in the second window.

[0120] In a possible implementation, after locking the first window and the second window, the electronic device 100 may display a second page of the first application in the first window and display a first page of the first application in the second window. The second page is a subpage of the first page. The electronic device 100 may respond to a user's window unlock operation. In response to the window unlock operation, the electronic device 100 may display the first page in the first window and display the second page in the second window.

[0121] When electronic device 100 receives an operation to open a subpage of the first page, electronic device 100 may display a third page in a second window in response to the operation. The third page is a subpage of the first page.

[0122] In a possible implementation, after locking the first window and the second window, the electronic device 100 may display a first page of the first application in the first window and a second page of the first application in the second window. The second page is a subpage of the first page. The electronic device 100 may respond to a user's window unlock operation. The electronic device 100 may unlock the first window and the second window in response to the user's window unlock operation. After the electronic device 100 unlocks the first window and the second window, when the electronic device 100 receives an operation to open a subpage of the first page in the first window, the electronic device 100 may display a third page in the second window in response to the operation to open the subpage. The third page is a subpage of the first page.

[0123] In a possible implementation, the electronic device 100 may display a first window and a second window of a first application. The first window may be displayed in a first display area on the display screen of the electronic device 100, and the first display area may be a left half area of ​​the display screen. The second window may be displayed in a second display area on the display screen of the electronic device 100, and the second display area may be a right half area of ​​the display screen. After the electronic device 100 locks the first window and the second window, when it detects that the display screen has been rotated by a preset angle, the electronic device 100 may divide the display screen into a third display area and a fourth display area, and display the first window in the third display area and the second window in the fourth display area. In this way, it can be ensured that the locked window is still displayed on the screen obtained after the rotation based on the relative positions of the windows present before the rotation.

[0124] For example, when the electronic device 100 receives an operation performed by a user to rotate the display screen to the left by a preset angle (e.g., 45 degrees to 135 degrees), the third display area may be the upper half area of ​​the display screen, and the fourth display area may be the lower half area of ​​the display screen. When the electronic device 100 receives an operation performed by a user to rotate the display screen to the right by a preset angle (e.g., 45 degrees to 135 degrees), the third display area may be the lower half area of ​​the display screen, and the fourth display area may be the upper half area of ​​the display screen. When the electronic device 100 receives an operation performed by a user to rotate the display screen to the left / right by a preset angle (e.g., 135 degrees to 225 degrees), the third display area may be the right half area of ​​the display screen, and the fourth display area may be the left half area of ​​the display screen.

[0125] In a possible implementation, after the electronic device 100 locks the first and second windows of the first application, when the electronic device 100 receives an operation performed by the user to close the first application, in response to the operation, the electronic device 100 may unlock the first and second windows and close the application at the same time. After the electronic device 100 closes the first application, the electronic device 100 receives an operation performed by the user to open the first application. In response to the operation, the electronic device 100 may display the third and fourth windows of the first application. The third and fourth windows are not locked. In this way, the electronic device 100 unlocks the locked windows when closing the application, and the user does not need to perform a window unlock operation when re-entering the application.

[0126] In a possible implementation, after the electronic device 100 locks the first window and the second window of the first application, if the electronic device 100 receives an operation performed by a user to close the first application, the electronic device 100 may close the first application in response to the operation to close the application. After the electronic device 100 closes the first application, the electronic device 100 receives an operation performed by a user to open the first application. In response to this operation, the electronic device 100 may display the locked first window and the locked second window. In this way, the locked state of the windows can be maintained, and the user can directly use the locked window.

[0127] In the embodiment of the present application, the window lock operation and the window unlock operation are not limited to a double tap operation, and may be a swipe operation on the dividing line between windows, or another type of operation, which is not limited in this specification. In this way, the scenario in which the electronic device 100 switches the page being displayed due to an accidental touch on the display screen in the window lock operation and the window unlock operation can be avoided, thereby facilitating user operation.

[0128] For example, as shown in Fig. 4A, the electronic device 100 may display a memo pad application interface 310. For a text description of the memo pad application interface 310, please refer to the embodiment shown in Fig. 3B. Details will not be described again in this specification.

[0129] As shown in Figure 4B, electronic device 100 may receive a swipe down input performed by a user relative to dividing line 311 of Figure 4A. In response to the swipe down input, electronic device 100 may lock window 320 and window 330 and display lock icon 314.

[0130] 4C , after electronic device 100 locks window 320 and window 330, electronic device 100 may receive a swipe up input performed by a user on dividing line 311. In response to the swipe up input, electronic device 100 may unlock window 320 and window 330 and remove lock icon 314.

[0131] Optionally, electronic device 100 may receive a swipe up input performed by a user relative to dividing line 311 in FIG. 4A. In response to the swipe up input, electronic device 100 may lock window 320 and window 330. Electronic device 100 may receive a swipe up input performed by a user relative to dividing line 311 in FIG. 4A. In response to the swipe up input, electronic device 100 may lock window 320 and window 330.

[0132] In some embodiments, the first application may be a shopping application. The electronic device 100 may display an interface of the shopping application. Two windows are displayed on the interface of the shopping application. The electronic device 100 may lock the two windows in response to a user's window lock operation (e.g., swipe up on the dividing line area). The electronic device 100 may simultaneously display different pages (e.g., product detail pages) in the same layer in the two windows. In this way, the user can simultaneously view detailed information of two products on the interface and intuitively compare the prices, parameters, etc. of the two products, facilitating the user's product purchase.

[0133] For example, as shown in FIG. 4C, the electronic device 100 displays a desktop 400. The desktop 400 includes a plurality of application icons (e.g., a shopping application icon 401 and a message application icon 402). The electronic device 100 may receive an input (e.g., a tap) performed by a user on the shopping application icon 401, and in response to the input, display a shopping application interface 410 shown in FIG. 4D. The shopping application interface 410 includes a product recommendation page 411. The product recommendation page 411 may include a product display area. The product display area may display a plurality of recommended product icons (e.g., a recommended product icon 412 and a recommended product icon 413), and the recommended product icon may be used to trigger the display of a product detail page corresponding to the recommended product icon. Optionally, the product recommendation page 411 may further include a personal center control, a scan control, a product search bar, etc.

[0134] As shown in FIG. 4E , in response to an input (e.g., a tap) performed by a user on the recommended product icon 412, the electronic device 100 may display a shopping application interface 420. The shopping application interface 420 may include a window 422 and a window 423. The window 422 displays a product recommendation page 411, and the window 420 displays a product detail page 431. The product detail page 431 is a subpage of the product recommendation page 411. The product detail page 431 may include a product image, a product price, and a detailed product description. Optionally, the product detail page 431may further include favorites controls, purchase controls, etc. Product detail page 431 may be used to display a detailed description of product "XX Notebook Computer". In some other embodiments, shopping application interface 420 may further include dividing line 421, which may be used to receive and trigger electronic device 100 to respond to user input to change the horizontal length of window 422 and window 423 (e.g., dragging to the left). Optionally, dividing line 421 may further be used to receive and trigger electronic device 100 to respond to user input to lock window 422 and window 423.

[0135] Electronic device 100 may receive a user window lock operation (e.g., a swipe down). In response to this operation, electronic device 100 may display a lock icon 424 on shopping application interface 420, as shown in FIG. 4F. Lock icon 424 may indicate that both window 410 and window 420 are locked. In response to a page switching operation performed by the user on a specified page in a specified window, electronic device 100 may display the switched-to page in the specified window.

[0136] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the recommended product icon 413. In response to the action, the electronic device 100 may display a shopping application interface 430, shown in FIG. 4G.

[0137] As shown in FIG. 4G, the shopping application interface 430 may include a window 422 and a window 423. The window 422 displays a product detail page 441, and the window 423 displays a product detail page 431. The product detail page 441 may be used to display a detailed description of the product "NN notebook computer". The product detail page 441 is a subpage of the product recommendation page 411. For the parts of the shopping application interface 430 that are not described in detail, please refer to the embodiment shown in FIG. 4C. The details will not be described again in this specification. In this way, the user can compare information such as the price and quality of two products (e.g., "XX" notebook computer and "NN notebook computer") displayed by the electronic device 100 based on the product detail pages of the two products.

[0138] In a possible embodiment, the electronic device 100 may receive input (e.g., a tap) performed by a user on the shopping application icon 401 of FIG. 4C and, in response to the input, display the shopping application interface 410 shown in FIG. 4E.

[0139] In a possible application scenario, the first application may be a communication application. The electronic device 100 may display an interface of the communication application. Two windows are displayed on the interface of the communication application. The electronic device 100 may lock the two windows in response to a user's window lock operation (e.g., swipe up on the dividing line area). The electronic device 100 may simultaneously display different pages (e.g., instant messaging pages) at the same layer in the two windows. In this way, the user can simultaneously view the instant messaging pages of two contacts on the interface and chat with the two contacts, improving communication efficiency.

[0140] For example, as shown in FIG. 4H, the electronic device 100 may be message In response to an input (e.g., a tap) performed by a user on application icon 402, communication application interface 450 shown in FIG. 4H may be displayed in response to the input. Communication application interface 450 may include window 460 and window 470. Window 460 displays contact page 461, and window 470 displays instant messaging page 471. Instant messaging page 471 is a subpage of contact page 461. In some other embodiments, communication application interface 450 may further include splitter 451, which may be used to receive and trigger electronic device 100 to respond to user input (e.g., drag to the left) to change the horizontal length of window 452 and window 453. Optionally, splitter 451 may further be used to receive and trigger electronic device 100 to respond to user input to lock window 452 and window 453.

[0141] Contacts page 461 may include a contact search bar, a contact display area, etc. The contact display area may display multiple contact icons (e.g., contacts icon 415), which may be used to trigger the display of an instant messaging page corresponding to the contact icon. Instant messaging page 471 may include dialog boxes, input boxes, etc. Instant messaging page 471 may be used to chat with contact "Alan." Optionally, instant messaging page 471 may further include emoticon controls, voice controls, more controls, etc.

[0142] Electronic device 100 may receive a user window lock operation (e.g., a swipe down). In response to the operation, electronic device 100 may display lock icon 454 on communication application interface 450, as shown in FIG. 4I. Lock icon 454 may indicate that both window 460 and window 470 are locked. In response to a page switch operation performed by the user on a specified page of a specified window, electronic device 100 may display the switched-to page in the specified window.

[0143] Electronic device 100 may receive an action (e.g., a tap) performed by a user on contact icon 415. In response to the action, electronic device 100 may display communication application interface 480, shown in FIG. 4J.

[0144] As shown in FIG. 4E, the communication application interface 480 may include a window 460 and a window 470. The window 460 displays an instant messaging page 481, and the window 470 displays an instant messaging page 471. The instant messaging page 481 may be used to chat with the contact "Lisa". The instant messaging page 481 is a subpage of the contact page 461. For the parts of the communication application interface 480 that are not described in detail, please refer to the embodiment shown in FIG. 4F. The details will not be described again in this specification. In this way, the user can chat with the contact "Alan" and the contact "Lisa" simultaneously by using the two instant messaging pages displayed by the electronic device 100.

[0145] In a possible embodiment, the electronic device 100 may include the messageThe electronic device 100 may receive an input (e.g., a tap) performed by a user on the application icon 402, and in response to the input, display the communication application interface 100 shown in FIG. 1A. For parts of the communication application interface 100 that are not described in detail, please refer to the embodiment shown in FIG. 1A. Details will not be described again herein. In response to an input (e.g., a tap) performed by a user on the contact icon 102 of the communication application interface 100, the electronic device 100 may further display the communication application interface 450 shown in FIG. 4H.

[0146] In some embodiments, after the electronic device 100 locks the first window of the first application and the second window of the first application, in response to a desktop return operation of the user, the electronic device 100 may return to displaying the desktop. When the electronic device 100 receives an application open operation for the first application, the electronic device 100 may display the locked first window and the locked second window in response to the application open operation. In this way, the electronic device 100 does not finish processing the locked window even after returning to displaying the desktop. When the user re-enters the first application, the electronic device 100 may display the locked first window of the first application and the locked second window of the first application, facilitating the user's next operation.

[0147] For example, as shown in Fig. 5A, the electronic device 100 may display a memo pad application interface 360. The memo pad application interface 360 ​​includes a window 320 and a window 330. The window 320 displays an edit note page 361, and the window 330 displays an edit note page 335. For a text description of the memo pad application interface 360, please refer to the embodiment shown in Fig. 3E. Details will not be described again in this specification.

[0148] The electronic device 100 may receive an action (e.g., a swipe up) performed by a user on the notepad application interface 500. In response to the action, the electronic device 100 may display the desktop 530 shown in FIG.

[0149] As shown in Fig. 5B, the desktop 530 may include multiple application icons and cards, such as a weather application card, a date application card, a memo pad application icon 531, a file application icon, and a video application icon. For parts of the desktop 530 that are not described in detail, please refer to the embodiment shown in Fig. 3A. Details will not be described again in this specification.

[0150] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the notepad application icon 531. In response to the action, the electronic device 100 may display the notepad application interface 360 ​​including the lock icon 314 shown in FIG.

[0151] In a possible implementation, after the electronic device 100 locks the first window and the second window, the electronic device 100 may return to displaying the desktop and display a floating control on the desktop in response to a user's desktop return operation. The floating control may be configured to trigger the electronic device 100 to display the first floating window and / or the second floating window on the desktop. The page displayed in the first floating window is the same as the page displayed in the first window, and the page displayed in the second floating window is the same as the page displayed in the second window. In this manner, the electronic device 100 may display the locked window when returning to displaying the desktop.

[0152] For example, the electronic device 100 may receive an operation (e.g., swipe up) performed by a user on the memo pad application interface 360 ​​shown in FIG. 5A. In response to this operation, the electronic device 100 may display the interface 540 shown in FIG. 5C. The interface 540 includes a page on which an application icon is located. A floating control 545 is displayed on the interface 540. The floating control 545 may be configured to trigger the display of a floating window. Optionally, since the page displayed in the minimized floating window belongs to the memo pad application, the floating control 545 may display the memo pad application icon. For the parts of the interface 540 that are not described in detail, please refer to the embodiment shown in FIG. 3A. The details will not be described again in this specification.

[0153] In some embodiments, electronic device 100 may further receive an operation (e.g., a tap) performed by a user on floating control 545. In response to this operation, electronic device 100 may display interface 540 shown in FIG.

[0154] As shown in FIG. 5D, a floating area 551 is displayed on the interface 540. The floating area 551 may include a notepad floating control 552 and a notepad floating control 553. The notepad floating control may be configured to trigger the electronic device 100 to display a floating window corresponding to the notepad floating control. The content displayed by the floating control 552 is the same as the content of the edit note page 361 shown in FIG. 5A. The content displayed by the floating control 553 is the same as the content of the edit note page 335 shown in FIG. 5A. For the parts of the interface 540 that are not described in detail, please refer to the embodiment shown in FIG. 5C. The details will not be described again in this specification.

[0155] In some other embodiments, electronic device 100 may receive an action (e.g., a tap) performed by a user on notepad floating control 552. In response to the action, electronic device 100 may display interface 540 shown in FIG.

[0156] As shown in Fig. 5E, for the parts of the interface 540 that are not described in detail, please refer to the embodiment shown in Fig. 5C. The details will not be described again in this specification. A floating control 561 and a floating window 562 are displayed on the interface 540. The floating control 561may be configured to trigger the electronic device 100 to display the floating window 571. The floating window 562 may include a maximize control 565, a minimize control 566, a close control 567, and a note edit page 563. The maximize control 565 may be configured to trigger the electronic device 100 to maximize the floating window 562. The minimize control 566 may be configured to trigger the electronic device 100 to minimize the floating window 562. The close control 567 may be configured to trigger the electronic device 100 to close the floating window 562. For a text description of the note edit page 563, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. Optionally, the floating window 562 may further include a lock icon 564, which may indicate that the floating window 562 is in a locked state. In response to a user's page switching operation, electronic device 100 may display in floating window 562 the page obtained after switching of note editing page 563. Lock icon 564 may further be used to trigger electronic device 100 to unlock floating window 562. Additionally, optionally, floating window 562 may include a horizontal bar, which may be used to trigger electronic device 100 to move floating window 562.

[0157] Optionally, after electronic device 100 locks the first window and the second window, in response to a user's desktop return operation, electronic device 100 may return to displaying the desktop and display the first floating window and the first floating control on the desktop. The page displayed in the first window is displayed in the first floating window, and the first floating control may be configured to trigger electronic device 100 to display a second floating window on the desktop, and the page displayed in the second window is displayed in the second floating window. Optionally, the first window is a window last edited by the user.

[0158] For example, as shown in Figure 5E, electronic device 100 may receive a desktop return operation performed by a user on notepad application interface 360 ​​shown in Figure 5A. In response to the desktop return operation, electronic device 100 may display floating window 562 and floating control 561 on the desktop.

[0159] Optionally, in response to the user's desktop return operation, electronic device 100 may return to displaying the desktop and display a second floating window and a second floating control on the desktop. The page displayed in the second window is displayed in the second floating window, and the second floating control may be configured to trigger electronic device 100 to display a first floating window on the desktop, and the page displayed in the first window is displayed in the first floating window. Optionally, the second window is a window last edited by the user.

[0160] Optionally, in response to an operation performed by a user on the first floating control, electronic device 100 may close the first floating window and display a second floating window and a second floating control on the desktop. The page displayed in the second window is displayed in the second floating window, and the second floating control may be configured to trigger electronic device 100 to display the first floating window on the desktop.

[0161] Optionally, in response to an operation performed by a user on the second floating control, electronic device 100 may close the second floating window and display the first floating window and the first floating control on the desktop. The page displayed in the first window is displayed in the first floating window, and the first floating control may be configured to trigger electronic device 100 to display the second floating window on the desktop.

[0162] Optionally, the floating window may alternatively be locked. When the floating window is locked, electronic device 100 may display the switched-to page in the floating window in response to a page switching operation performed by a user on the floating window.

[0163] In a possible implementation, after electronic device 100 locks the first window and the second window, in response to a user's desktop return operation, electronic device 100 may return to displaying the desktop and display the first floating window and the second floating window on the desktop. The page displayed in the first window is displayed in the first floating window, and the page displayed in the second window is displayed in the second floating window. In this manner, electronic device 100 can display the locked window when returning to displaying the desktop.

[0164] For example, as shown in FIG. 5F, electronic device 100 may display floating window 562 and floating window 571 on interface 570 in response to a desktop return operation performed by a user on notepad application interface 360 ​​shown in FIG. 5A. Floating window 562 displays note edit page 563, and floating window 571 displays note edit page 572. For an explanation of floating window 571 and floating window 576, please refer to floating window 562 described above. Details will not be described again herein. For a text description of interface 570, floating window 562, and floating window 571, please refer to the embodiment shown in FIG. 3C and FIG. 5E. Details will not be described again herein.

[0165] Optionally, the floating window may alternatively be locked. When the floating window is locked, electronic device 100 may display a switched-to page in the floating window in response to a page switching operation performed by a user on the floating window.

[0166] In a possible implementation, after electronic device 100 locks the first window and the second window, in response to a user's desktop return operation, electronic device 100 may return to displaying the desktop and add card A and card B to a blank area on the desktop, displaying the page content displayed in the first window on card A and displaying the page content displayed in the second window on card B. No other interface elements are displayed before card A and card B are displayed in the blank area on the desktop. Interface elements include application icons, tool components, etc. In this manner, electronic device 100 can display the locked windows without covering the desktop content.

[0167] Optionally, card A and card B may be locked by electronic device 100, which may display the switched-to page on the cards in response to a page-switching operation performed by a user on the cards.

[0168] For example, electronic device 100 may receive an action (e.g., a swipe up) performed by a user on notepad application interface 360. In response to the action, electronic device 100 may display interface 580 shown in FIG.

[0169] As shown in FIG. 5G, interface 580 may include edit note card 581 and edit note card 585. Edit note card 581 may display page 582, the content of which is the same as the content of edit note page 361 described above. Edit note card 585 may display page 586, the content of which is the same as the content of edit note page 335 described above. For parts of interface 580 that are not described in detail, please refer to the embodiment shown in FIG. 3A and FIG. 3E. Details will not be described again in this specification.

[0170] Optionally, if interface 580 does not have adequate blank space, electronic device 100 may move another application icon or card to obtain sufficient blank space to place note editing card 581 and note editing card 585.

[0171] In a possible implementation, after electronic device 100 displays a first window of a first application in a first display area, displays a second window of the first application in a second display area, and locks the first and second windows, in response to an operation (e.g., dragging) performed by a user on the first window (or the second window), electronic device 100 may display a desktop in the first display area (or the second display area) and display a floating window (in a floating manner) on the display screen, where the page content displayed in the floating window is the same as the page content displayed in the first window (or the second window).

[0172] For example, as shown in Fig. 6A, the electronic device 100 may display a memo pad application interface 360. The memo pad application interface 360 ​​may include a window 320, which may include a horizontal bar 601. The horizontal bar 601 may be used to drag / lock the window 320. For a text description of the interface 360, please refer to the embodiment shown in Fig. 3E. Details will not be described again herein.

[0173] The electronic device 100 may receive a manipulation (e.g., a drag down) performed by a user on the horizontal bar 606. In response to the manipulation, the electronic device 100 may display the interface 630 shown in FIG. 6B.

[0174] The interface 630 may include a window 610 and a window 620. The electronic device 100 may display a floating window 635 on the interface 630. The window 610 may display a desktop 611. For a text description of the desktop 611, please refer to the embodiment shown in FIG. 3A. Details will not be repeated here. The window 620 may display a note editing page 621. For a text description of the page 621, please refer to the embodiment shown in FIG. 3E. For a text description of the floating window 635, please refer to the embodiment shown in FIG. 5E. Details will not be repeated here.

[0175] Optionally, when displaying window 320, electronic device 100 does not display horizontal bar 601. Electronic device 100 may display horizontal bar 601 in response to an operation (e.g., a tap) performed by a user on window 320.

[0176] Optionally, the floating window may alternatively be locked. When the floating window is locked, electronic device 100 may display a switched-to page in the floating window in response to a page switching operation performed by a user on the floating window.

[0177] In a possible implementation, after electronic device 100 displays a first window of a first application in a first display area and a second window of the first application in a second display area and locks the first and second windows, in response to an operation (e.g., drag) performed by a user on the first window (or the second window), electronic device 100 may display a page in the second window (or the first window) full screen on the display screen and display a floating window full screen on the page displayed on the display screen. The page content displayed in the floating window is the same as the page content displayed in the first window (or the second window).

[0178] For example, electronic device 100 may receive a manipulation (e.g., a drag down) performed by a user on horizontal bar 606. In response to the manipulation, electronic device 100 may display a notepad application interface 640, shown in FIG.

[0179] The notepad application interface 640 may include an edit note page 335. For a text description of the edit note page 335, please refer to the above embodiment shown in FIG. 3E. The electronic device 100 displays a floating window 645 on the notepad application interface 640. The floating window 645 may include a maximize control, a minimize control, a close control, a horizontal bar 646, an edit note page 361, etc. The horizontal bar 646 may be used to drag / lock the floating window 645. For a text description of the floating window 645, please refer to the embodiment shown in FIG. 5E. Details will not be described again in this specification.

[0180] Optionally, both full screen and floating windows are locked.

[0181] Further, optionally, after the electronic device 100 displays a page in the second window (or the first window) in full screen on the display screen and displays a floating window on the page displayed in full screen on the display screen, in response to an operation performed by the user to drag the floating window to the second display area (or the first display area) and hold the floating window for a preset time (e.g., 1 second), the electronic device 100 may display the second window in the first display area and the first window in the second display area. The page content displayed in the floating window is the same as the page content displayed in the first window (or the second window). In this way, the user can exchange the positions of the two locked windows.

[0182] For example, electronic device 100 may receive a user-performed operation (e.g., dragging to the right and holding) on ​​horizontal bar 646. In response to this operation, electronic device 100 may display window switching interface 650 shown in FIG.

[0183] Window switching interface 650 may include window 320. Window 320 may be displayed in display area 312 of a display screen of electronic device 100, and window 320 may display a notepad application icon. Floating window 645 may be displayed in display area 312 and display area 313, and floating window 645 may display a notepad application icon. For example, display area 312 may be a left half area of ​​the display screen, and display area 313 may be a right half area of ​​the display screen.

[0184] The electronic device 100 receives an action (e.g., a release) performed by the user on the horizontal bar 646. In response to the action, the electronic device 100 may display the notepad application interface 660 shown in FIG.

[0185] The memo pad application interface 660 may include a window 320, a window 330, a dividing line 311, and a lock icon 314. The window 330 may be displayed in a display area 312 on a display screen of the electronic device 100, and the window 320 may be displayed in a display area 313 on a display screen of the electronic device 100. For a text description of the memo pad application interface 660, please refer to the embodiment shown in Fig. 3E. Details will not be described again in this specification.

[0186] In the embodiment of the present application, the window lock operation is not limited to locking two windows at the same time, and may also be an operation of locking a window. The operation of locking a window may be a tap operation, a double tap operation, or other types of operations. This is not limited in this specification.

[0187] For example, as shown in FIG. 7A, the electronic device 100 may display a memo pad application interface 310. The window 320 of the memo pad application interface 310 includes a horizontal bar 322. The horizontal bar 322 may be used to trigger the electronic device 100 to drag / lock the window 320. For a text description of the memo pad application interface 310, please refer to the embodiment shown in FIG. 3B. Details will not be described again herein. Optionally, the memo pad application interface 310 may further include a dividing line, which may be used to trigger the electronic device 100 to receive and respond to a user input to lock the window 320 and the window 330.

[0188] As shown in FIG. 7B, electronic device 100 may receive an operation (e.g., a tap) performed by a user on horizontal bar 322 of FIG. 7A. In response to this operation, electronic device 100 may lock window 320 and display lock icon 711. Lock icon 711 may indicate that window 320 is locked. When window 320 is locked, electronic device 100 may display a switched-to page in window 320 in response to a page switching operation on window 320. Lock icon 711 may further be used to trigger electronic device 100 to unlock window 320.

[0189] In some embodiments, the electronic device 100 displays two windows of a first application, and whether one window is locked or both windows are locked at the same time, the windows can only display the corresponding switched-to page in the locked window.

[0190] Optionally, the electronic device may display an interface of a first application, the interface of the first application including at least two windows. The at least two windows may include a first window, a second window, and a third window. The first window displays a first page of the first application, the second window displays a second page of the first application, and the third window displays a fourth page of the first application. The second page is a subpage of the first page, and the fourth page is a subpage of the second page. After the electronic device 100 locks the first window, the electronic device 100 may receive a page switching operation performed by a user on the first window, and in response to the operation, display a fourth page in the first window. The fourth page is a subpage of the first page. In this way, the electronic device 100 can independently display a page in the first window without interfering with the second window and the third window, improving screen utilization.

[0191] In an embodiment of the present application, the operation to lock a window is not limited to an operation (e.g., tap) on the horizontal bar. In response to an operation (e.g., touch and hold) performed by a user on a window, the electronic device 100 may display a function menu corresponding to the window. The function menu includes a lock control. The operation to lock a window may be an operation on the lock control of the function menu corresponding to the window. The operation on the window may be an operation on the horizontal bar of the window. In this way, it is possible to avoid a case where a window is locked by an accidental touch.

[0192] For example, as shown in FIG. 7C, the electronic device 100 receives a touch-and-hold operation performed by a user on the horizontal bar 322 shown in FIG. 7A. In response to the touch-and-hold operation, the electronic device 100 may display a function menu 761 on the window 320. For a text description of the notepad application interface 760, please refer to the embodiment shown in FIG. 3B. Details will not be described again in this specification. The function menu 761 may include a lock control 762 and another control (e.g., a screenshot control). The lock control 762 may be configured to lock the window 320. The screenshot control may be configured to trigger the electronic device 100 to capture the page content displayed in the window 320.

[0193] In response to an input operation performed by a user on the lock control 762, the electronic device 100 may lock the window 320 and display the notepad application interface 310 shown in FIG. 7B. The notepad application interface 310 includes a lock icon 711. The lock icon 711 may indicate that the window 320 is locked. When the window 320 is locked, the electronic device 100 may display the switched-to page in the locked window 320 after receiving a page switch operation performed by a user on the window 320.

[0194] The display method provided in the embodiment of the present application will be specifically described below with reference to an application scenario.

[0195] In some application scenarios, the electronic device 100 may display a floating window on the display screen, and the floating window displays a page including a specified application (e.g., a file application). If the floating window is not locked, after receiving a page switching operation performed by a user in the floating window, the electronic device 100 may display the created floating window and display the switched-to page in the created floating window. If the floating window is locked, after receiving a page switching operation performed by a user in the floating window, the electronic device 100 may display the switched-to page in the locked floating window. Alternatively, the page switching operation may be an operation of opening a new page.

[0196] For example, the electronic device 100 may display the desktop 1100 shown in Fig. 8A. For a textual description of the desktop 1100, please refer to the embodiment shown in Fig. 3A. Details will not be described again here.

[0197] The electronic device 100 may receive a user action (e.g., sliding to the left) In response to the action, the electronic device 100 may display the interface 1110 shown in FIG.

[0198] As shown in FIG. 8B, for a text description of the interface 1110, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window sidebar 1111 on the interface 1110. The floating window sidebar 1111 may include a plurality of application floating controls. The plurality of application floating controls may include a file application floating control 1112, a notepad application floating control, a video application floating control 1113, etc. The application floating control may be configured to trigger the electronic device 100 to display a floating window, and in the floating window, display a page of the application corresponding to the application floating control.

[0199] The electronic device 100 includes a file application floating control 1112 In response to the operation, electronic device 100 may display interface 1120 shown in FIG.

[0200] For example, as shown in FIG. 8C, for a text description of the interface 1120, please refer to the embodiment shown in FIG. 3A. Details will not be described again herein. The electronic device 100 may display a floating window 1121 on the interface 1120. The floating window 1121 is defined by a horizontal bar 1122 and a page 1123 A horizontal bar 1122 may be used to lock or drag the floating window 1121.

[0201] The file management page 1123 may include a file control 1128, a My control 1129, and a file display area. The file control 1128 may be configured to trigger the electronic device 100 to display the file display area. The file display area may include a create control 1124, a file title 1125, a file search bar 1126, file events added by a user (e.g., a "File 3" event 1127, a "File 2" event, and a "File 1" event), and the like. The create control 1124 may be configured to receive and trigger the electronic device 100 to respond to a user input to add a file event. The create control 1124 may further be configured to trigger the electronic device 100 to display a document editing page. The file title 1125 may be used to identify the file display area. The file search bar 1126 may be used to receive and trigger the electronic device 100 to respond to a user input to display several file events. The file events may be used to trigger the electronic device 100 to display a document editing page corresponding to the file event.

[0202] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the create control 1124 shown in Figure 8C. In response to the action, the electronic device 100 may display the interface 1130 shown in Figure 8D.

[0203] As shown in Figure 8D, for a text description of the interface 1130, please refer to the embodiment shown in Figure 3A. Details will not be described again herein. The electronic device 100 may display floating windows 1135 and floating controls 1131 on the interface 1130.

[0204] The floating control 1131 may be configured to trigger the electronic device 100 to display the aforementioned floating window 1121 on the desktop.

[0205] The floating window 1135 may display an edit document page 1137 and a horizontal bar 1136. The horizontal bar 1136 may be used to drag / lock the floating window 1135. The edit document page 1137 may include an edit control, a save control, a text entry area, a tool control, a share control, etc. The edit control may be configured to trigger the electronic device 100 to receive a user input to edit the text entry area. The save control may be configured to save the edited content. The text entry area may be used to receive text content entered by a user. The tool control may be configured to trigger the electronic device 100 to display a toolbar. The share control may be used by the electronic device 100 to display a share bar.

[0206] As can be seen above, when a floating window is in an unlocked state, in response to a page switching operation on the floating window, electronic device 100 may display a new floating window and display the switched-to page in the new floating window.

[0207] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the horizontal bar 1122 shown in Figure 8C. In response to the operation, the electronic device 100 may display the interface 1150 shown in Figure 8E.

[0208] As shown in FIG. 8E, for a text description of the interface 1150, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1121 on the interface 1150. The floating window 1121 may include a lock icon 1151 and a file management page 1123. The lock icon 1151 may indicate that the floating window 1121 is locked. The electronic device 100 may display a switched page in the floating window 1121 in response to a page switching operation on the floating window 1121. For a text description of the file management page 1123, please refer to the embodiment shown in FIG. 8C. Details will not be described again in this specification.

[0209] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the create control 1124 shown in Figure 8E. In response to the action, the electronic device 100 may display the interface 1160 shown in Figure 8F.

[0210] As shown in FIG. 8F, for a text description of the interface 1160, please refer to the embodiment shown in FIG. 3A. Details will not be described again herein. The electronic device 100 may display a floating window 1121 on the interface 1160. The floating window 1121 may include a lock icon 1151 and an edit document page 1161. For a text description of the edit document page 1161, please refer to the embodiment shown in FIG. 8D. Details will not be described again herein.

[0211] In this manner, the electronic device 100 can display the switched-to page in the original floating window.

[0212] In the embodiment of the present application, the operation of locking the floating window is not limited to the operation on the horizontal bar of the floating window. After receiving an operation (e.g., touch and hold) performed by a user on the floating window, the electronic device 100 may further display a function menu corresponding to the floating window, and the function menu may include a lock control. The operation of locking the floating window may be an operation on the lock control. In this way, the case where the floating window is locked by an accidental touch can be avoided.

[0213] Optionally, after receiving an operation (eg, touch and hold) performed by a user on the horizontal bar, the electronic device 100 may display a corresponding function menu in a floating window.

[0214] For example, as shown in FIG. 8G, the electronic device 100 may receive an operation (e.g., touch and hold) performed by a user on the horizontal bar 1122 shown in FIG. 8C. In response to such an operation, the electronic device 100 may display a horizontal bar menu 1172 on the floating window 1121. For a text description of the interface 1170, please refer to the embodiment shown in FIG. 8C. Details will not be described again herein. The floating window 1121 may be displayed in a higher layer than the interface 1170. The floating window 1121 may include a horizontal bar menu 1172. The horizontal bar menu 1172 may include a lock control 1173 and another control (e.g., a screenshot control). The lock control 1173 may be configured to lock the floating window 1121. The screenshot control may be configured to trigger the electronic device 100 to capture page content displayed in the floating window 1121. The electronic device 100 may lock the floating window 1121 in response to an input operation performed by a user on the lock control 1173. When the floating window 1121 is locked, the electronic device 100 may display the switched-to page in the locked floating window after receiving a page switching operation performed by a user in the floating window 1121.

[0215] In a possible implementation, in the process of dragging a floating window, electronic device 100 may display one, two, or more locked hot zones (e.g., the upper left corner region and / or the upper right corner region of the display screen of electronic device 100). When electronic device 100 detects that the designated floating window is dragged to a position near the locked hot zone, in response to this operation, electronic device 100 may lock the designated floating window, and electronic device 100 may display the locked floating window at the position of the designated floating window after the drag operation. In this way, more operation gestures can be supported to lock the floating window, as well as a scenario in which the floating window is locked by an accidental touch of the horizontal bar can be avoided.

[0216] For example, the electronic device 100 may receive a manipulation (e.g., a drag) performed by a user on the horizontal bar 1122 shown in Figure 11C. In response to this manipulation, the electronic device 100 may display the interface 1200 shown in Figure 9A.

[0217] For a textual description of the interface 1200, please refer to the embodiment shown in Fig. 8C. Details will not be described again in this specification. On the interface 1200, a locked hot zone 1204 is displayed. The locked hot zone 1204 can be used to trigger the electronic device 100 to lock the floating window 1201.

[0218] The electronic device 100 receives a manipulation performed by a user on the horizontal bar 1202 (e.g., dragging it to a position near the locked hot zone 1204). In response to the manipulation, the electronic device 100 may display the interface 1210 shown in FIG.

[0219] As shown in Fig. 9B, for a text description of the interface 1210, please refer to the embodiment shown in Fig. 8C. Details will not be described again in this specification. On the interface 1200, a locked hot zone 1204 is displayed. A floating window 1201 is within the locked hot zone range of the electronic device 100.

[0220] The electronic device 100 receives an operation performed by a user on the horizontal bar 1202 shown in Figure 9B (e.g., a release on the locked hot zone 1204). In response to the operation, the electronic device 100 may display the interface 1220 shown in Figure 9C.

[0221] For example, as shown in FIG. 9C, for a text description of the interface 1220, please refer to the embodiment shown in FIG. 8C. Details will not be described again herein. The electronic device 100 may display a floating window 1201 on the interface 1220. The floating window 1201 may include a lock icon 1221. The lock icon 1221 may indicate that the floating window 1201 is locked. The position of the floating window 1201 on the interface 1220 is the same as the position of the floating window 1201 on the interface 1210.

[0222] In a possible implementation, when electronic device 100 detects that a designated floating window has been dragged to a position near a locked hot zone, in response to the operation, electronic device 100 may lock the designated floating window, and electronic device 100 may display the locked floating window in the position of the designated floating window before the drag operation.

[0223] For example, as shown in Fig. 9D, the electronic device 100 receives an operation (e.g., release on a locked hot zone) performed by a user on the horizontal bar 1202 shown in Fig. 9B. In response to this operation, the electronic device 100 may display a floating window 1201 on a layer above the interface 1230. The floating window 1201 may include a lock icon 1231 and a page 1203. The position of the floating window 1201 on the interface 1230 is the same as the position of the floating window 1201 on the interface 1200. For a text description of the interface 1230, please refer to the embodiment shown in Fig. 8C. Details will not be described again in this specification.

[0224] Optionally, electronic device 100 may unlock a locked floating window in response to an action (eg, a tap) performed by the user on the lock icon.

[0225] Optionally, when electronic device 100 detects that a locked floating window has been dragged to a position near a locked hot zone, in response to this operation, electronic device 100 may unlock the specified floating window, and electronic device 100 may display the unlocked floating window in the position of the specified floating window before the drag operation.

[0226] In a possible implementation, when electronic device 100 detects that a designated floating window has been dragged to a position near a locked hot zone, in response to the operation, electronic device 100 may lock the designated floating window and reduce the size of the floating window to a preset size (the preset size being smaller than the original size of the designated floating window), and electronic device 100 may display the locked floating window at the position of the designated floating window after the drag operation.

[0227] For example, as shown in FIG. 9E, the electronic device 100 receives an operation (e.g., release on a locked hot zone) performed by a user on the horizontal bar 1202 shown in FIG. 9B. In response to this operation, the electronic device 100 may display a floating window 1241 on a layer above the interface 1210. The floating window 1241 may include a lock icon 1242 and a page 1243. The position of the floating window 1241 on the interface 1240 is the same as the position of the floating window 1201 on the interface 1210. The size of the floating window 1241 is a preset size, which is smaller than the size of the floating window 1201. For a text description of the interface 1240, please refer to the embodiment shown in FIG. 8C. Details will not be described again in this specification.

[0228] Optionally, the electronic device 100 may display a locked floating window with a preset size at the location of the specified floating window before the drag operation.

[0229] In a possible implementation, the device type of the electronic device 100 may be a personal computer in PC mode, a laptop computer, or a tablet computer. The electronic device 100 may simultaneously display multiple floating windows in a stacked manner. In response to an input performed by a user to lock a specified floating window, the electronic device 100 may display a locked floating window in a stacked manner on the top layer of multiple floating windows. When the electronic device 100 displays a new floating window in response to an input operation performed by a user to generate a new floating window, the electronic device 100 may continue to display the locked floating window in a stacked manner on a layer above the new floating window. In this way, the electronic device 100 can continue to display the locked window on the top layer of the interface without requiring additional user operations (e.g., switching windows), and the locked window is not covered.

[0230] 10A, electronic device 100 displays interface 1300 (sometimes referred to as a desktop). Interface 1300 includes a number of application icons (e.g., a trash icon, a This PC icon, a Notepad icon, 1305 , and file icons 1306 Optionally, electronic device 100 may display a taskbar below the multiple application icons, and the taskbar may display multiple shortcut icons (e.g., a search icon and a folder icon).

[0231] The electronic device 100 may receive an action performed by a user on the file icon 1306 (e.g., a double-click with the left mouse button). In response to the action, the electronic device 100 may display the interface 1301 shown in FIG. 10B.

[0232] As shown in FIG. 10B, for a text description of the interface 1301, please refer to the embodiment shown in FIG. 10A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1302 on the interface 1301. The floating window 1302 may include a minimize control, a maximize control, a close control, a page 1303, etc. For a text description of the page 1303, please refer to the embodiment shown in FIG. 8C. Details will not be described again in this specification.

[0233] The electronic device 100 may receive an action performed by a user on the notepad icon 1305 (e.g., a double-click with the left mouse button). In response to the action, the electronic device 100 may display the interface 1310 shown in FIG.

[0234] As shown in FIG. 10C, for a text description of the interface 1310, please refer to the embodiment shown in FIG. 10B. Details will not be described again in this specification. The electronic device 100 may display a floating window 1302 in a layer above the interface 1310, and a floating window 1311 in a layer above the floating window 1302. The floating window 1311 may include a minimize control, a maximize control, a close control, a page 1312, etc. For a text description of the page 1312, please refer to the embodiment shown in FIG. 3B. Details will not be described again in this specification.

[0235] As can be seen above, if floating window 1302 is not locked, electronic device 100 may display a new floating window 1311 at a layer above floating window 1302 in response to an action performed by the user on notepad icon 1305 (e.g., a double-click with the left mouse button).

[0236] The electronic device 100 may receive an operation performed by a user on the floating window 1302 (e.g., the top frame) of Figure 10B (e.g., a double click with the left mouse button). In response to the operation, the electronic device 100 may display the interface 1320 shown in Figure 10D.

[0237] As shown in FIG. 10D, for a text description of the interface 1320, please refer to the embodiment shown in FIG. 10B. Details will not be described again in this specification. The electronic device 100 may display a floating window 1302 on the interface 1320. The floating window 1302 may include a lock icon 1321, a page 1303, etc. The lock icon 1321 may indicate that the floating window 1302 is in a locked state. In response to a page switching operation performed by a user on the floating window 1302, the electronic device 100 may display a switched page in the floating window 1302. In response to an operation performed by a user to generate a window, the electronic device 100 may display the generated window in a layer lower than the floating window 1302.

[0238] The electronic device 100 may receive an action performed by a user on the notepad icon 1305 (e.g., a double-click with the left mouse button). In response to the action, the electronic device 100 may display the interface 1330 shown in FIG.

[0239] As shown in FIG. 10E, for a text description of interface 1330, please refer to the embodiment shown in FIG. 10C. Details will not be described again in this specification. Electronic device 100 may display window 1331 in a layer above interface 1330 and display floating window 1302 in a layer above window 1331. Since floating window 1302 is locked, electronic device 100 may display the locked window in the top layer. In this way, no additional user operation (e.g., switching windows) is required, and the locked window is not covered.

[0240] In a possible implementation, the amount of floating windows that the electronic device 100 can display is limited. For example, the electronic device 100 may display a maximum of N floating windows (N is a positive integer, for example, N may be 2) on the display screen. When the electronic device 100 is displaying N floating windows, when the electronic device 100 receives an operation performed by a user to display a new floating window, in response to the operation, the electronic device 100 may minimize the floating window with the earliest creation time. The electronic device 100 may receive an operation performed by a user to lock a designated floating window. In response to the operation, the electronic device 100 may lock the designated floating window. Here, the designated floating window may be the window with the earliest creation time. When electronic device 100 is displaying N windows including a locked floating window, when electronic device 100 receives an operation performed by a user to display a new floating window, in response to the operation, electronic device 100 may minimize the window other than the locked floating window that has the earliest creation time.

[0241] In this way, electronic device 100 can not only ensure that a locked window is not covered, but also ensure that a locked window is not minimized.

[0242] It should be noted that all the above-mentioned embodiments can be applied to the electronic device 100. The device type of the electronic device 100 can be a mobile phone, a personal computer, a laptop computer, or a tablet computer.

[0243] The display method provided in the embodiment of the present application will be specifically described below with reference to an application scenario.

[0244] In some application scenarios, the interface displayed by the electronic device 100 includes a card of a specified application (e.g., a notepad application), and the card of the specified application displays specified function information of the specified application. If the card of the specified application is not locked, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the card of the specified application. In response to the operation, the electronic device 100 may display a specified page of the specified application in full screen. If the card of the specified application is locked, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the locked card. In response to the operation, the electronic device 100 may display a specified page of the specified application on the locked card. In this way, the electronic device 100 can not only enrich the display style for displaying the interface, but also display a page corresponding to the card content on the current interface.

[0245] In an embodiment of the present application, the card of the specified application may display some functional information of the specified application, and some functional information may be used to trigger the electronic device 100 to display a specified page of the specified application. In other words, the electronic device 100 may display a specified page of the specified application in full screen in response to an input (e.g., a tap) performed by a user on the card of the specified application. The card may be displayed on a desktop or another specified shortcut interface (e.g., HiBoard or service center), and the card may be added or deleted by a user. Some cards may be referred to as window widgets. Optionally, the card may display some functional information of multiple specified applications.

[0246] In one embodiment of the present application, the card of the specified application may further display a specified page of the specified application within the card.

[0247] 11A , electronic device 100 may display desktop 1400, which may include a number of application icons (e.g., a notepad application icon, a file application icon, and a video application icon). Desktop 1400 may further include one or more cards (e.g., a to-do card 1401). Optionally, a status bar may also be displayed at the top of desktop 1400, which may include icons, such as a power identification icon.

[0248] The todo card 1401 may include todo function information 1402. The todo function information 1402 belongs to a notepad application. For example, the todo function information 1402 may be part of a page including a todo event display area. The page including the todo event display area may be obtained by the electronic device 100 in response to an operation performed by a user on the todo control shown in FIG. 3B. The todo function information 1402 may include a create icon, a todo event display area, etc. The todo event display area may include todo events (e.g., todo event 1403 and todo event 1404) added by the user. The create icon may be used to create a todo event. The todo event may be used to trigger the electronic device 100 to display a todo edit page for the todo event. In some embodiments, the todo card 1401 may be obtained by using a notepad application icon. For example, the electronic device 100 may display a ToDo card 1401 on the desktop 1400 in response to an action (eg, a touch and hold or a swipe up) on a notepad application icon.

[0249] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the todo event 1403. In response to the action, the electronic device 100 may display the notepad application interface 1410 shown in FIG.

[0250] For example, as shown in FIG. 11B, a memo pad application interface 1410 may include an edit todo page 1411. The edit todo page 1411 may include a return control, a delete control, titleThe todo event 1403 may include a reminder entry, a time entry, a repeat entry, an important entry, a note entry, etc. The return control may be configured to return to the display of the desktop. The delete control may be configured to delete the todo event 1403. The title entry may be used to receive a title entered by the user. The time entry may be used to receive a reminder time entered by the user. The repeat entry may be used to set whether the todo event 1403 needs to be reminded repeatedly. Important entry can be used to mark whether a ToDo event 1403 is important or not. entry may be used to receive the remark content entered by the user.

[0251] As noted above, if a ToDo card is unlocked, electronic device 100 may respond to a page switching operation performed on a ToDo card by displaying the switched-to page full screen.

[0252] The electronic device 100 may receive an operation (e.g., a touch and hold) performed by a user on the ToDo card 1401 shown in Figure 11A. In response to the operation, the electronic device 100 may display the interface 1420 shown in Figure 11C.

[0253] As shown in FIG. 11C, for the parts of the interface 1420 that are not described in detail, please refer to the embodiment shown in FIG. 11A. The details will not be described again in this specification. A function menu 1421 of the ToDo card 1401 may be further displayed on the interface 1420. The function menu 1421 may include a lock control 1422 and another control (e.g., a delete control). The lock control 1422 may be configured to lock the ToDo card 1401. The delete control may be configured to trigger the electronic device 100 to delete the ToDo card 1401.

[0254] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the lock control 1422. In response to the action, the electronic device 100 may lock the to-do card 1401 and display the interface 1430 shown in FIG.

[0255] As shown in Fig. 11D, for the parts of the interface 1430 that are not described in detail, please refer to the embodiment shown in Fig. 11A. The details will not be described again in this specification. The ToDo card 1401 may further include a lock icon 1431. The lock icon 1431 may indicate that the ToDo card 1401 is locked, and the electronic device 100 may display a switched page on the locked ToDo card in response to a page switching operation on the ToDo card.

[0256] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the ToDo event 1403 shown in Figure 11D. In response to the operation, the electronic device 100 may display the interface 1440 shown in Figure 11E.

[0257] For example, as shown in FIG. 11E, for parts of the interface 1440 that are not described in detail, please refer to the embodiment shown in FIG. 11A. Details will not be described again in this specification. The to-do card 1401 may include a lock icon 1431 and a page 1441. For parts of the page 1441 that are not described in detail, please refer to the embodiment shown in FIG. 11B. Details will not be described again in this specification.

[0258] Optionally, electronic device 100 may alternatively receive an operation (e.g., a double tap) performed by a user on a top frame of todo card 1401 of the memo pad application. Electronic device 100 may lock todo card 1401 in response to the operation.

[0259] Optionally, the electronic device 100 may alternatively receive an operation (e.g., a tap) performed by a user on the lock icon 1431. In response to this operation, the electronic device (100) may unlock the locked ToDo card (1401).

[0260] Optionally, the card lock operation and the card unlock operation, respectively, are not limited to a double tap operation or an operation on the lock control, but may be an operation of dragging a designated card to a position near a locked hot zone (e.g., the top left corner region and / or the top right corner region of the display screen of the electronic device 100), or another type of operation, which is not limited herein.

[0261] In this manner, the electronic device 100 can display the page corresponding to the locked card on top of the current interface.

[0262] The display method provided in the embodiment of the present application will be specifically described below with reference to an application scenario.

[0263] In some application scenarios, the electronic device 100 may display an interface of a first application, where the interface of the first application includes at least two windows. The at least two windows may include a first window and a second window. A first page of the first application is displayed in the first window, and a second page of the first application is displayed in the second window. The second page is a subpage of the first page. If the second page is not locked, the electronic device 100 may receive an operation performed by a user on a new page open control, and in response to the operation, display a third page in the second window. If the second page is locked, the electronic device 100 may receive an operation performed by a user on a new page open control, and in response to the operation, display a third page in the first window, where the third page is a subpage of the second page.

[0264] For example, electronic device 100 may receive a user's operation (e.g., a tap) on video application icon 303 shown in FIG. 3A. In response to the operation, electronic device 100 may display video application interface 1610 shown in FIG. 12A. Video application interface 1610 may include window 1620 and window 1630. Window 1620 may be displayed in display area 1612 on a display screen of electronic device 100, and window 1630 may be displayed in display area 1613 on a display screen of electronic device 100. For example, display area 1612 may be a left half area of ​​the display screen, and display area 1613 may be a right half area of ​​the display screen. In some other embodiments, video application interface 1610 may further include a dividing line 1611. Dividing line 1611 may be displayed at the junction of window 1620 and window 1630. The dividing line 1611 may be used to receive and trigger the electronic device 100 to respond to user input (e.g., dragging to the left) to adjust the horizontal lengths of the windows 1620 and 1630. Optionally, the dividing line 1611 may further be used to receive and trigger the electronic device 100 to respond to user input to lock the video recommendation page 1621 and the historical record page 1631.

[0265] The recommended video page 1621 may be displayed in the window 1620. The recommended video page 1621 may display a video display area, etc. The recommended video page 1621 may further include a horizontal bar 1622. The horizontal bar 1622 may be used to lock the recommended video page 1621. In some embodiments, a history control, a personal center control, a video search bar, etc. may be further displayed on the recommended video page 1621. The history control may be configured to trigger the electronic device 100 to display a history page (e.g., history page 1631) of the video application. The personal center control may be configured to trigger the electronic device 100 to display a page including personal account information. The video search bar may be used to trigger the electronic device 100 to receive and respond to a user input to display several video options. The video display area may include multiple video options, which may be used to trigger the electronic device 100 to display a corresponding video playback page.

[0266] A history page 1631 may be displayed in window 1630. History page 1631 may display history video options (e.g., history video option 1633) of videos watched by the user. The history video option may be used to trigger electronic device 100 to display a video playback page corresponding to the history video option. Window 1630 may further include a horizontal bar 1632. The horizontal bar 1632 may be used to lock history page 1631.

[0267] In some other embodiments, electronic device 100 may receive an operation (e.g., a tap) performed by a user on video application icon 303 shown in Figure 3A. In response to this operation, electronic device 100 may independently display an interface that includes recommended videos page 1621. Then, in response to an operation (e.g., a tap) performed by a user on a history control of the interface that includes recommended videos page 1621, electronic device 100 may display video application interface 1610 shown in Figure 12A.

[0268] Electronic device 100 may receive an action (e.g., a tap) performed by a user on history video option 1633. In response to the action, electronic device 100 may display video application interface 1640 shown in FIG. 12B.

[0269] 12B, video application interface 1640 may include window 1620, window 1630, and dividing line 1611. Window 1620 may be displayed in display area 1612 on the display screen of electronic device 100, and window 1630 may be displayed in display area 1613 on the display screen of electronic device 100.

[0270] The window 1620 may display a history page 1631. The window 1630 may display a video playback page 1641. The video playback page 1641 may display a video playback window, video playback controls, a video episode list, etc. The video playback window may be used to display a video image (e.g., a video of the seventh episode of "Step"). The video playback controls are configured to trigger the electronic device 100 to play / pause / fast forward / rewind the video. The video episode list may be used to display a video playback page corresponding to the episode. For a text description of the parts of the video application interface 1640 that are not described in detail, please refer to the embodiment shown in FIG. 12A. Details will not be described again in this specification.

[0271] As can be seen above, if history page 1631 is not locked, electronic device 100 displays a new page (video playback page 1641) in window 1630 in response to an action performed by a user on a new page open control of history page 1631. Window 1620 displays history page 1631.

[0272] The electronic device 100 may receive a user-performed operation (e.g., a tap) on the horizontal bar 1632 of Figure 12A. In response to the operation, the electronic device 100 may display the video application interface 1650 shown in Figure 12C.

[0273] As shown in Fig. 12C, for a text description of the video application interface 1650, please refer to the embodiment shown in Fig. 12A. Details will not be described again in this specification. A lock icon 1651 may be displayed on the page 1631 of the video application interface 1650. The lock icon 1651 may indicate that the history page 1631 is locked, and the electronic device 100 may display the switched page in the window 1620 in response to a page switching operation performed by a user on the page. The lock icon 1651 may further be used to trigger the electronic device 100 to unlock the history page 1631.

[0274] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the history video option 1633 of Figure 12C. In response to the action, the electronic device 100 may display the video application interface 1660 shown in Figure 12D.

[0275] As shown in Fig. 12D, the video application interface 1660 may include a window 1620, a window 1630, and a dividing line 1611. A video playback page 1661 may be displayed in the window 1620, and a history page 1631 may be displayed in the window 1630. The history page 1631 may include a lock icon 1651. For parts of the video application interface 1660 that are not described in detail, please refer to the embodiment shown in Fig. 12B. Details will not be described again in this specification.

[0276] Optionally, electronic device 100 may receive a user page unlock operation. In response to this operation, electronic device 100 may display video application interface 1640 shown in FIG.

[0277] In a possible implementation, the electronic device 100 may display an interface of a first application, and the interface of the first application may include at least two pages. The at least two pages may include a first page and a second page. The first page is displayed in a first display area on the electronic device 100 (e.g., a left half area of ​​a display screen of the electronic device 100), and the second page is displayed in a second display area on the electronic device 100 (e.g., a right half area of ​​a display screen of the electronic device 100). After the electronic device 100 locks the second page, in response to a user's desktop return operation, the electronic device 100 may return to displaying the second page and the desktop in a split screen. In this way, the electronic device 100 cannot display the locked page when returning to displaying the desktop.

[0278] For example, the electronic device 100 may receive an operation (e.g., swipe up) performed by a user on the video application interface 1660. In response to this operation, the electronic device 100 may display the split screen interface 1670 shown in FIG. 12E. The electronic device 100 may display a desktop 1671 in the display area 1612. A history page 1651 is displayed in the display area 1613. For a text description of the desktop 1671, please refer to the embodiment shown in FIG. 3A. Details will not be described again herein. For a text description of the history page 1651, please refer to the embodiment shown in FIG. 12A. Details will not be described again herein.

[0279] Optionally, in the scenarios shown in Figures 12A-12E, electronic device 100 may not display a horizontal bar. Electronic device 100 may display a horizontal bar in the area of ​​the specified page in response to an operation (e.g., a tap) performed by a user on the specified page.

[0280] Optionally, electronic device 100 may receive an operation (e.g., a drag) performed by a user on the window of the locked page. In response to such an operation, electronic device 100 may display a floating window and may display the locked page in the floating window.

[0281] In a possible implementation, the electronic device 100 may display an interface of a first application, with a first page displayed in a first display area on the electronic device 100 and a second page displayed in a second display area on the electronic device 100. After the electronic device 100 locks both the first page and the second page, the electronic device 100 may receive an operation performed by a user on a new page open control, and in response to the operation, display a floating window on the interface of the first application and display a third page in the floating window. The third page is a new page displayed by the electronic device 100 after the new page open control is triggered. In this way, the electronic device 100 can not only display the locked page to ensure that the locked page is not replaced, but also display the newly opened page.

[0282] For example, the electronic device 100 may receive an operation (e.g., a double tap) performed by a user on the horizontal bar 1622 of FIG. 12D. In response to this operation, the electronic device 100 may display the video application interface 1660 shown in FIG. 13A. For a text description of the video application interface 1660, please refer to the embodiment shown in FIG. 12D. Details will not be described again herein. A lock icon 1701 is further displayed on the video playback page 1661 of the video application interface 1660. The lock icon may indicate that the video playback page 1661 is locked. A history video option 1705 is further displayed on the history page 1631 of the video application interface 1660.

[0283] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the history video option 1705. In response to the action, the electronic device 100 may display the video application interface 1660 shown in FIG.

[0284] As shown in FIG. 13B, for a text description of the video application interface 1660, please refer to the embodiment shown in FIG. 12D. Details will not be described again in this specification. The electronic device 100 may display a floating window 1711 on the video application interface 1660. The floating window 1711 may include a video playback page 1712. The video playback page 1712 is a page that is displayed after the history video option 1705 is triggered. The video playback page 1712 may include a video playback window, a video playback control, a video episode list, etc. The video playback window may be used to display a video image (e.g., a video of the fourth episode of "Girl"). The video playback control is configured to trigger the electronic device 100 to play / pause / fast forward / rewind the video. The video episode list may be used to display a video playback page corresponding to the episode.

[0285] In a possible implementation, the electronic device 100 may display an interface of a first application. A first page is displayed in a first display area on the electronic device 100, and a second page is displayed in a second display area on the electronic device 100. After the electronic device 100 locks both the first page and the second page, the electronic device 100 may receive an operation performed by a user on a new page open control in the second page, and in response to the operation, display a semi-fixed window in the display area of ​​the second window and display a third page in the semi-fixed window. The third page is a new page displayed by the electronic device 100 after the new page open control is triggered. The position of the semi-fixed window is fixed, and the electronic device 100 may resize the semi-fixed window in response to the user operation. In this way, the electronic device 100 can not only display the locked page, but also display the newly opened page. In addition, since the position where the operation is triggered is on the second page, the created semi-fixed window is also displayed on the second window.

[0286] For example, electronic device 100 may receive an action (e.g., a tap) performed by a user on history video option 1705 shown in Figure 13A. In response to the action, electronic device 100 may display video application interface 1660 shown in Figure 13C.

[0287] For a text description of the video application interface 1660, please refer to the embodiment shown in FIG. 12D. Details will not be described again in this specification. The electronic device 100 may display a semi-fixed window 1721 on the window 1630. The electronic device 100 may display a video playback page 1722 in the semi-fixed window 1721. The electronic device 100 may change the vertical length of the semi-fixed window in response to a drag operation (e.g., dragging upward) performed by the user on the upper frame of the semi-fixed window. For a text description of the video playback page 1722, please refer to the embodiment shown in FIG. 12B. Details will not be described again in this specification.

[0288] Optionally, the semi-fixed window may be displayed in the display area of ​​the first window. In this way, the electronic device 100 can not only display the locked page, but also display the newly opened page. Since the location where the operation is triggered is on the second page, and the second page is a page that the user may need to browse further, the created semi-fixed window may be displayed on the first window to ensure that the second page is not covered.

[0289] In a possible implementation, the electronic device 100 may display an interface of a first application. A first page of the first application is displayed in a first display area. A second page of the first application is displayed in a second display area. After the electronic device 100 locks both the first page and the second page, the electronic device 100 may receive an operation performed by a user on a new page open control. In response to the operation, the electronic device 100 may divide the first display area into a first display sub-area and a second display sub-area, and display the first page in the first display sub-area, the second page in the second display sub-area, and the third page in the second display area. The third page is a new page displayed by the electronic device 100 after the new page open control is triggered. For example, the first display sub-area may be an upper half area of ​​the first display area, and the second display sub-area may be a lower half area of ​​the first display area. In this way, the electronic device 100 can not only display the locked page to ensure that the locked page is not replaced, but also display the newly opened page. Since the third page is the page last triggered by the user, the display area of ​​the third page is the largest.

[0290] Optionally, after receiving an operation performed by a user on the new page open control, electronic device 100 may divide the second display area into a third display sub-area and a fourth display sub-area, and display the third page in the first display area, the first page in the third display sub-area, and the second page in the fourth display sub-area. For example, the third display sub-area may be an upper half area of ​​the second display area, and the fourth display sub-area may be a lower half area of ​​the second display area.

[0291] For example, electronic device 100 may receive an operation (e.g., a tap) performed by a user on history video option 1705 shown in FIG. 13A. In response to the operation, electronic device 100 may display video application interface 1730 shown in FIG. 13D. Video application interface 1730 may include window 1740, window 1745, window 1735, dividing line 1611, and dividing line 1731. Dividing line 1731 may be used to adjust the longitudinal lengths of window 1740 and window 1745. Dividing line 1611 may be used to adjust the horizontal lengths of window 1740, window 1745, and window 1735.

[0292] Window 1740 and window 1745 are displayed in display area 1612 on the display screen of electronic device 100, and window 1735 is displayed in display area 1613 on the display screen of electronic device 100. For example, display area 1612 may be the left half area of ​​the display screen, and display area 1613 may be the right half area of ​​the display screen. Window 1740 may display video playback page 1661, window 1745 may display history page 1631, and window 1735 may display video playback page 1736. For a text description of video application interface 1730, please refer to the embodiment shown in FIG. 13B. Details will not be described again in this specification.

[0293] In a possible implementation, the electronic device 100 may display an interface of a first application. A first page of the first application is displayed in a first display area. A second page of the first application is displayed in a second display area. After the electronic device 100 locks both the first page and the second page, when the electronic device 100 receives an operation performed by a user on a new page open control in the first page, in response to the operation, the electronic device 100 may divide the first display area into a first display sub-area and a second display sub-area, and display the first page in the first display sub-area, a third page in the second display sub-area, and the second page in the second display area. The third page is a new page displayed by the electronic device 100 after the new page open control is triggered.

[0294] When the electronic device 100 receives an operation performed by a user on a new page open control in the second page, in response to the operation, the electronic device 100 may divide the second display area into a third display sub-area and a fourth display sub-area, display the second page in the third display sub-area, display the third page in the fourth display sub-area, and display the third page in the first display area. The third page is a new page displayed by the electronic device 100 after the new page open control is triggered. In this way, the electronic device 100 can not only display a locked page, but also display a newly opened page, which can further ensure that a page on which a user operation has not been received is not covered.

[0295] For example, electronic device 100 may receive an operation (e.g., a tap) performed by a user on history video option 1705 shown in FIG. 13A. In response to the operation, electronic device 100 may display video application interface 1750 shown in FIG. 13E. Video application interface 1520 may include window 1760, window 1765, window 1760, dividing line 1611, and dividing line 1751. Dividing line 1751 may be used to adjust the longitudinal length of window 1765 and window 1760. Dividing line 1611 may be used to adjust the horizontal length of window 1765, window 1760, and window 1760.

[0296] Window 1760 may be displayed in display area 1612 on the display screen of electronic device 100, and window 1760 and window 1765 may be displayed in display area 1613 on the display screen of electronic device 100. For example, display area 1612 may be the left half area of ​​the display screen, and display area 1613 may be the right half area of ​​the display screen. Window 1760 may display video playback page 1661, window 1765 may display history page 1631, and window 1760 may display video playback page 1761. For a text description of video application interface 1750, please refer to the embodiment shown in FIG. 13B. Details will not be described again in this specification.

[0297] Optionally, when electronic device 100 receives an operation performed by a user on a new page open control in the second page, in response to the operation, electronic device 100 may divide the first display area into a first display sub-area and a second display sub-area, display the first page in the first display sub-area, display the third page in the second display sub-area, and display the second page in the second display area. When electronic device 100 receives an operation performed by a user on a new page open control in the first page, in response to the operation, electronic device 100 may divide the second display area into a third display sub-area and a fourth display sub-area, display the second page in the third display sub-area, display the third page in the fourth display sub-area, and display the first page in the first display area. The third page is a new page displayed by electronic device 100 after the new page open control is triggered. In this way, electronic device 100 can not only display the locked page to ensure that the locked page is not replaced, but also display the newly opened page, and can ensure that the page is not covered, since the page on which the user action was received is a page that the user may need to view further.

[0298] In a possible application scenario, two pages of a specified application displayed by the electronic device 100 are locked. The electronic device 100 receives a user's application close operation, and the electronic device 100 may display prompt information in response to the application close operation. The prompt information may be used to prompt the user that the pages of the specified application are locked, and if the electronic device 100 receives the application close operation again, the electronic device 100 may close the specified pages. For example, the prompt information may display "The current page is locked. Please close it again."

[0299] In some application scenarios, the electronic device 100 may display a floating window on the display screen, and the floating window displays a page including a specified application (e.g., a file application). If the page is not locked, the electronic device 100 may display the switched-to page in the floating window after receiving a page switching operation performed by a user in the floating window. If the page is locked, the electronic device 100 may display the created floating window and display the switched-to page in the created floating window after receiving a page switching operation performed by a user in the floating window. In this way, the electronic device 100 can simultaneously display the locked page and the switched-to page.

[0300] For example, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the video application floating control 1113 shown in FIG. 8B. In response to this operation, the electronic device 100 may display the interface 1800 shown in FIG. 14A. For a text description of the interface 1800, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1801 on the interface 1800. The floating window 1801 may include a recommended video page 1803. The recommended video page 1803 may further include a horizontal bar 1802. The horizontal bar 1802 may be used to lock the recommended video page 1803. For a text description of the recommended video page 1803, please refer to the embodiment shown in FIG. 12A. Details will not be described again in this specification.

[0301] Electronic device 100 may receive an action (e.g., a tap) performed by a user on video option 1804. In response to the action, electronic device 100 may display interface 1800 shown in FIG. 14B.

[0302] As shown in FIG. 14B, for a text description of the interface 1800, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1801 on the interface 1800. The floating window 1801 may include a video playback page 1811. A horizontal bar 1812 may be displayed on the video playback page 1811. The horizontal bar 1812 may be used to lock the video playback page 1811. The video playback page 1811 may further display a video playback window, a video playback control, a video episode list, etc. For parts of the video playback page 1811 that are not described in detail, please refer to the embodiment shown in FIG. 12B. Details will not be described again in this specification.

[0303] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the horizontal bar 1802 shown in Figure 14A. In response to the operation, the electronic device 100 may display the interface 1800 shown in Figure 14C.

[0304] As shown in FIG. 14C, for a text description of the interface 1800, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1801 on the interface 1800. The floating window 1801 may include a recommended video page 1803. A lock icon 1821 and a video option 1804 may be displayed on the recommended video page 1803. The lock icon 1821 may indicate that the recommended video page 1803 is locked. For parts of the recommended video page 1803 that are not described in detail, please refer to the embodiment shown in FIG. 12A. Details will not be described again in this specification.

[0305] Electronic device 100 may receive an action (e.g., a tap) performed by a user on video option 1804. In response to the action, electronic device 100 may display interface 1800 shown in FIG. 14D.

[0306] As shown in FIG. 14D, for a text description of the interface 1800, please refer to the embodiment shown in FIG. 3A. Details will not be described again in this specification. The electronic device 100 may display a floating window 1801 and a floating window 1831 on the interface 1820. The floating window 1801 may include a recommended video page 1803. A lock icon 1821 may be displayed on the recommended video page 1803. A video playback page 1833 may be displayed in the floating window 1831. For parts of the floating window 1801 and the floating window 1831 that are not described in detail, please refer to the embodiment shown in FIG. 14A and FIG. 14B. Details will not be described again in this specification.

[0307] In this manner, electronic device 100 can not only display locked pages and ensure that locked pages are not replaced, but can also display created pages.

[0308] In some possible application scenarios, the interface displayed by the electronic device 100 includes a card of a specified application (e.g., a notepad application), and the card of the specified application displays specified function information of the specified application. If the specified function information is unlocked, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the card. In response to the operation, the electronic device 100 may display a specified page of the specified application in full screen. If the specified function information is unlocked, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the card, and in response to the operation, display a generated card near the locked card and display a destination page on the generated card. The content of the destination page is the same as the content of the specified page of the specified application. In this way, the electronic device 100 can not only display the locked page, but also display the destination page without covering the original page elements.

[0309] Optionally, if there are page elements (e.g., application icons and cards) in all areas near the locked card, the electronic device 100 may move the position of the page elements until a blank area is present in which the generated card can be placed.

[0310] For example, as shown in FIG. 15A, the electronic device 100 may display a desktop 1900, which may include a number of application icons (e.g., a notepad application icon 1904, a file application icon 1905, and a video application icon 1906). The page may further include a card (e.g., a to-do card 1901 or a clock card 1903). Optionally, a status bar including icons such as a power identification icon may further be displayed at the top of the page where the application icons are located. In some embodiments, the to-do card 1901 may be obtained by using the notepad application icon 1904. For example, the electronic device 100 may display the to-do card 1901 on the desktop 1900 in response to an operation (e.g., a touch and hold or a swipe up) on the notepad application icon 1904. The clock card 1903 may display the time in the form of a clock face.

[0311] The ToDo card 1901 displays ToDo function information 1902. The ToDo function information 1902 may include a creation icon, a ToDo event display area, etc. The ToDo event display area may include ToDo events (e.g., ToDo events 1908) added by a user. For parts of the desktop 1900 that are not described in detail, please refer to the embodiment shown in FIG. 11A. Details will not be described again in this specification.

[0312] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the ToDo event 1908. In response to the action, the electronic device 100 may display the notepad application interface 1410 shown in FIGURE 11B. Because the ToDo function information 1902 is not locked, the electronic device 100 displays the switched-to page in full screen.

[0313] As shown in Fig. 15B, the electronic device 100 may receive an operation (e.g., a double tap) performed by a user on the ToDo card 1901 shown in Fig. 15A. In response to this operation, the electronic device 100 may display an interface 1910 shown in Fig. 15B. For a text description of the interface 1910, please refer to the embodiment shown in Fig. 15A. Details will not be described again in this specification. A lock icon 1911 is displayed on the ToDo function information 1902 of the ToDo card 1901. The lock icon 1911 may indicate that the ToDo function information 1902 is locked.

[0314] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the to-do event 1908 shown in Figure 15B. In response to the operation, the electronic device 100 may display an interface 1920 shown in Figure 15C.

[0315] As shown in FIG. 15C, the interface 1920 includes a page on which application icons are arranged. The page may include a to-do card 1901, a clock card 1903, a notepad application icon 1504, a file application icon 1905, a video application icon 1906, a temporary card 1921, etc. The temporary card 1921 may display a card edit page 1922. Because the to-do function information 1902 is locked, in response to an operation performed by a user on the to-do event 1908 shown in FIG. 15B, the electronic device 100 may generate the temporary card 1921 and display the switched-to card edit page 1922. Because the clock card 1903 already exists next to the to-do card 1901, the electronic device 100 may move the clock card 1903 and place the temporary card 1921 in the original position of the clock card 1903. As the electronic device 100 moves the clock card 1903, the electronic device 100 may simultaneously move the notepad application icon 1504, the file application icon 1905, and the video application icon 1906. In this manner, the electronic device 100 can simultaneously display the card editing page 1922 and the ToDo function information 1902. For the parts of the interface 1920 that are not described in detail, please refer to the embodiment shown in FIG. 15A. The details will not be described again in this specification.

[0316] Optionally, the size of the created card may be set to a preset size. The preset size may be the same as the size of the original card. Alternatively, the preset size may be the same as the size of the adjacent cards of the card whose position is to be moved.

[0317] In a possible implementation, the interface displayed by electronic device 100 includes a card of a specified application, which displays a specified page. If the specified page is locked, electronic device 100 may receive a page switching operation (e.g., a tap) performed by a user on the card, and in response to the operation, display the switched-to page in full screen and display the card containing the locked specified page on the switched-to page. In this way, electronic device 100 can display not only the locked page, but also the switched-to page.

[0318] For example, the electronic device 100 may receive an operation (e.g., tap) performed by a user on a ToDo event 1908 shown in Fig. 15B. In response to the operation, the electronic device 100 may display a memo pad application interface 1930 shown in Fig. 15D. For a text description of the memo pad application interface 1930, please refer to the embodiment shown in Fig. 11B. Details will not be described again in this specification. A ToDo card 1901 may further be displayed on the memo pad application interface 1930. The ToDo card 1901 displays locked ToDo function information 1902. A lock icon 1911 is displayed on the ToDo function information 1902.

[0319] In a possible implementation, the interface displayed by electronic device 100 includes a card of a specified application, which displays a specified page. If the specified page is locked, electronic device 100 may receive a page switching operation (e.g., a tap) performed by a user on the card, and in response to the operation, display a pop-up window near the card and display the switched-to page in the pop-up window. In this way, electronic device 100 can not only display the locked page, but also display the switched-to page without changing the page layout.

[0320] For example, the electronic device 100 may receive an operation (e.g., tap) performed by a user on the ToDo event 1908 shown in Fig. 15B. In response to the operation, the electronic device 100 may display a memo pad application interface 1910 shown in Fig. 15E. For a text description of the memo pad application interface 1910, please refer to the embodiment shown in Fig. 11B. Details will not be described again herein. A pop-up window 1940 may further be displayed on the memo pad application interface 1910. In the pop-up window 1940, a card editing page 1941 is displayed.

[0321] In some application scenarios, the electronic device 100 may display the designated page in full screen. If the designated page is not locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display the switched-to page in full screen. If the designated page is locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display a generated floating window and display the switched-to page in the generated floating window. In this way, the electronic device 100 may simultaneously display the locked page and the switched-to page.

[0322] For example, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the file application icon 302 shown in FIG. 3A. In response to this operation, the electronic device 100 may display the file application interface 2000 shown in FIG. 16A. The file application interface 2000 may include a file control, a My control, and a file display area. The file control may be configured to trigger the electronic device 100 to display the file display area. The file display area may include a create control 2002, a file title, a file search bar, file events added by the user (e.g., a "file 3" event 2003, a "file 2" event, and a "file 1" event), and the like. The create control 2002 may be configured to receive a user input for adding a file event and trigger the electronic device 100 to respond thereto. The create control 2002 may further be configured to trigger the electronic device 100 to display a document editing page. For the parts of the page 2001 that are not described in detail, please refer to the embodiment shown in FIG. 8C. The details will not be explained again in this specification.

[0323] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the create control 2002 shown in Figure 16A. In response to the operation, the electronic device 100 may display the edit document page 1137 shown in Figure 8D in full screen. Because page 2001 is not locked, the electronic device 100 may receive a page switching operation from the user, and in response to the operation, the electronic device 100 may display the switched-to page (edit document page 1137) in full screen.

[0324] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the page 2001 shown in Figure 16A. In response to the action, the electronic device 100 may display the file application interface 2010 shown in Figure 16B.

[0325] For a textual description of the file application interface 2010, please refer to the embodiment shown in Fig. 16A. Details will not be described again in this specification. The file application interface 2010 may include a page 2001. The page 2001 may include a lock icon 2011, a create control 2002, etc. The lock icon 2011 may indicate that the page 2001 is in a locked state. In response to a user's page switching operation, the electronic device 100 may display a created floating window and display the switched-to page in the created floating window.

[0326] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the create control 2002 shown in Figure 16B. In response to the action, the electronic device 100 may display the file application interface 2020 shown in Figure 16C.

[0327] For a text description of the file application interface 2020, please refer to the embodiment shown in FIG. 16A. Details will not be described again in this specification. The electronic device 100 may display a floating window 2021 on the file application interface 2020. The floating window 2021 may display a document editing page 2022, etc. The document editing page 2022 may include an editing control, a saving control, a text input area, a tool control, a sharing control, etc. For parts of the document editing page 2022 that are not described in detail, please refer to the embodiment shown in FIG. 8D. Details will not be described again in this specification.

[0328] In a possible implementation, the electronic device 100 may display the specified page in full screen. If the specified page is not locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display the switched-to page in full screen. If the specified page is locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display the created semi-fixed window and display the switched-to page in the created semi-fixed window. The position of the created semi-fixed window is fixed and the vertical length is variable. In this way, the electronic device 100 can display the switched-to page when displaying a locked page.

[0329] For example, the electronic device 100 may receive an operation (e.g., a tap) performed by a user on the creation control 2002 shown in FIG. 16B. In response to this operation, the electronic device 100 may display a file application interface 2030 shown in FIG. 16D. For a text description of the file application interface 2030, please refer to the embodiment shown in FIG. 16A. Details will not be described again in this specification. The electronic device 100 may display a semi-fixed window 2031 on the file application interface 2030. In the semi-fixed window 2031, a document editing page 2032, etc. may be displayed. For a portion of the document editing page 2032 that is not described in detail, please refer to the embodiment shown in FIG. 8D. Details will not be described again in this specification. The electronic device 100 may receive a drag operation (e.g., a drag upwards) performed by a user on an upper frame of the semi-fixed window 2031. In response to this operation, the electronic device 100 may change the vertical length of the semi-fixed window 2031.

[0330] In a possible implementation, the electronic device 100 may display the designated page in full screen. If the designated page is not locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display the switched-to page in full screen. If the designated page is locked, the electronic device 100 may receive a page switching operation from the user and, in response to the operation, display the locked page and the switched-to page in split screen. In this way, the electronic device 100 can display the switched-to page when displaying the locked page.

[0331] For example, electronic device 100 may receive an operation (e.g., a tap) performed by a user on creation control 2002. In response to the operation, electronic device 100 may display notepad application interface 2040 shown in FIG. 16E. Notepad application interface 2040 may include window 2050, window 2060, and dividing line 2041. Window 2050 may be displayed in display area 2042, and window 2060 may be displayed in display area 2043. For example, display area 2042 may be a left half area of ​​a display screen of electronic device 100, and display area 2043 may be a right half area of ​​a display screen of electronic device 100. Window 2050 may display document editing page 2051, and window 2060 may display file management page. File management page 2061 displays lock icon 2062. Since the file management page 2061 is locked, the electronic device 100 displays the locked file management page 2061 and the switched document editing page 2051 in a split screen. For parts of the file management page 2061 that are not described in detail, please refer to the embodiment shown in FIG. 16A. Details will not be described again in this specification. For parts of the document editing page 2051 that are not described in detail, please refer to the embodiment shown in FIG. 8D. Details will not be described again in this specification.

[0332] In some application scenarios, the electronic device 100 may display a specified interface. The specified interface includes a specified interface element. The electronic device 100 may lock the specified interface element in response to a user operation (e.g., touch and hold). If the specified interface element is not locked, the electronic device 100 may receive an interface switching operation performed by a user on the specified interface, and in response to the interface switching operation, display the switched-to interface. If the specified interface element is locked, the electronic device 100 may receive an interface switching operation performed by a user on the specified interface. In response to the interface switching operation, the electronic device 100 may display the switched-to interface, and the electronic device 100 may display the locked specified interface element on the switched-to interface. The specified interface element may be used to trigger the electronic device 100 to display an interface corresponding to the specified interface element. In this manner, the electronic device 100 can simultaneously display the locked interface element and the switched-to interface. After a user locks an interface element, the user may switch interfaces to process an associated transaction on the switched-to interface, and by using the locked interface element, may trigger the electronic device 100 to display an interface corresponding to the interface element to reduce the operations performed by the user to return to the interface of the interface element.

[0333] For example, the electronic device 100 may receive the "File 3" event shown in FIG. 200321. In response to the operation, the electronic device 100 may display a file application interface 2100 as shown in FIG. 17A. For a text description of the file application interface 2100, please refer to the embodiment shown in FIG. 16A. Details will not be described again in this specification. A create control 2102, a "file 3" event 2105, etc. may be displayed on the file application interface 2100. A lock icon 2106 may be displayed on the "file 3" event 2105. The lock icon 2106 may indicate that the "file 3" event 2105 is locked.

[0334] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the create control 2102 shown in Figure 17A. In response to the action, the electronic device 100 may display the file application interface 2110 shown in Figure 17B.

[0335] For example, as shown in FIG. 17B, for a text description of the file application interface 2110, please refer to the embodiment shown in FIG. 8D. Details will not be described again herein. The electronic device 100 may display the locked “file 3” event 2105 on the file application interface 2110. The location of the “file 3” event 2105 on the file application interface 2110 is the same as the location of the “file 3” event 2105 on the file application interface 2100.

[0336] The electronic device 100 may receive an operation (e.g., a tap) performed by a user on the “File 3” event 2105 shown in FIGURE 17B. In response to the operation, the electronic device 100 may display the file application interface 2120 shown in FIGURE 17C.

[0337] 17C, the electronic device 100 displays a file application interface 2120. The file application interface 2120 may be used to edit the detailed content of "FILE 3". The file application interface 2120 includes edit controls, save controls, tool controls, etc. The electronic device 100 may further display a locked "FILE 3" event 2105 in a floating manner on the file application interface 2120.

[0338] Optionally, electronic device 100 may receive a drag operation performed by a user on a locked interface element, in response to which electronic device 100 may reposition the locked interface element on the display screen.

[0339] Optionally, electronic device 100 may not display the locked interface element after displaying the interface corresponding to the locked interface element.

[0340] In a possible implementation, electronic device 100 may display a specified interface. The specified interface includes a specified interface element. Electronic device 100 may lock the specified interface element in response to a user operation (e.g., touch and hold). If the specified interface element is not locked, electronic device 100 may receive an interface switching operation performed by a user on the specified interface and display the switched-to interface in full screen in response to the interface switching operation. If the specified interface element is locked, electronic device 100 may receive an interface switching operation performed by a user on the specified interface. In response to the interface switching operation, electronic device 100 may display the switched-to interface and an interface including the locked interface element in a split screen. In this manner, electronic device 100 can simultaneously display the locked interface element and the switched-to interface. The interface including the locked interface element may include at least one locked interface element.

[0341] For example, electronic device 100 may receive an action (e.g., a tap) performed by a user on create control 2102 shown in Figure 17A. In response to the action, electronic device 100 may display file application interface 2130 shown in Figure 17D.

[0342] The document editing page 2141 of the file application interface 2130 is displayed in the display area 2132, and the locked elements page 2151 of the file application interface 2130 is displayed in the display area 2133. The locked elements page 2151 includes the "File 3" event 2105, which includes a lock icon 2106, which may indicate that the "File 3" event 2105 is locked. The locked elements page 2151 may be used to display one or more locked interface elements. The one or more locked interface elements may be used to trigger the display of a page corresponding to the interface element. For parts of the file application interface 2120 that are not described in detail, please refer to the embodiment shown in FIG. 16E. Details will not be described again in this specification.

[0343] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the “File 3” event 2105 shown in FIGURE 17B. In response to the action, the electronic device 100 may display the file application interface 2140 shown in FIGURE 17E.

[0344] 17E, electronic device 100 displays file application interface 2140. Edit document page 2145 of file application interface 2140 is displayed in display area 2132, and locked elements page 2151 of file application interface 2130 is displayed in display area 2133. Edit document page 2141 may be used to edit the detailed content of "File 3." Locked elements page 2151 may be used to display locked interface elements.

[0345] In this manner, electronic device 100 can not only display the interface that contains the locked interface element, but can also display the interface to which the user has switched.

[0346] In a possible implementation, the electronic device 100 may display the specified interface. The electronic device 100 may obtain a user-defined region selected by a user for the specified interface. The electronic device 100 may lock the user-defined interface based on a user input. If the user-defined region is locked, the electronic device 100 may receive a page switching operation performed by a user for the specified interface. In response to the page switching operation, the electronic device 100 may display the switched-to interface in full screen and display the interface elements of the locked user-defined region on the switched-to interface. If the user-defined region is not locked, the electronic device 100 may receive an interface switching operation performed by a user for the specified interface and in response to the interface switching operation, display the switched-to interface in full screen. The interface elements in the user-defined region may be used to trigger the electronic device 100 to display an interface corresponding to the interface elements. In this manner, the electronic device 100 may simultaneously display the interface elements of the locked user-defined region and the switched-to interface. By using an interface element in a locked user-defined area, a user may trigger the electronic device 100 to display an interface corresponding to the interface element.

[0347] For example, as shown in FIG. 18A and FIG. 18B, the electronic device 100 may display a file application interface 2200, and the creation control 2202 may be displayed on the file application interface 2200. For a text description of the file application interface 2200, please refer to the embodiment shown in FIG. 16A. Details will not be described again in this specification. In the process of the user dragging the user-defined area 2205, the electronic device 100 may display the user-defined area 2205 changing in real time on the file application interface 2200. Finally, the range of the user-defined area 2205 includes the "file 3" event 2206 and the "file 2" event 2207. Four dots may be displayed on the four frames of the user-defined area 2205. The four dots may be used to receive a user input to trigger the electronic device 100 to change the position of the frame in which the dots are located. The four frames of the user-defined area 2205 may be used to receive a user input to trigger the electronic device 100 to change the position of the user-defined area.

[0348] The electronic device 100 may receive an operation (e.g., a double tap) performed by a user on the user-defined area 2205 shown in Figure 18B. In response to the operation, the electronic device 100 may display the file application interface 2210 shown in Figure 18C.

[0349] As shown in Fig. 18C, for a text description of the file application interface 2210, please refer to the embodiment shown in Fig. 16A. Details will not be described again in this specification. The file application interface 2210 displays a file management page 2201, on which a creation control 2202 and a user-defined area 2205 are displayed. In the user-defined area 2205, a "file 3" event 2206, a "file 2" event 2207, and a lock icon 2212 are displayed. The lock icon 2212 may indicate that the user-defined area 2205 is locked.

[0350] The electronic device 100 may receive an action (e.g., a tap) performed by a user on the create control 2202 shown in Figure 18C. In response to the action, the electronic device 100 may display the file application interface 2220 shown in Figure 18D.

[0351] As shown in FIG. 18D, for a text description of the file application interface 2220, please refer to the embodiment shown in FIG. 8D. Details will not be described again in this specification. A user-defined area 2205 is displayed on the file application interface 2220. In the user-defined area 2205, a "file 3" event 2206, a "file 2" event 2207, and a lock icon 2212 are displayed. The "file 3" event 2206 can be used to trigger the electronic device 100 to display the edit page of "file 3", and the "file 2" event 2207 can be used to trigger the electronic device 100 to display the edit page of "file 2". Upon receiving an operation (e.g., a tap) performed by a user on the "file 3" event 2206, the electronic device 100 displays the edit page of "file 3". Optionally, when displaying the edit page of "file 3", the electronic device 100 may display all interface elements in the user-defined area 2205 on the edit page in a floating manner.

[0352] Additionally, electronic device 100 may receive an operation (e.g., a tap) performed by a user on an interface element in the locked user-defined region and, in response to the operation, display an interface corresponding to the interface element. Optionally, when displaying the interface corresponding to the interface element, electronic device 100 may display the interface element in a floating manner in the locked user-defined region on the interface.

[0353] Optionally, the electronic device 100 may receive an operation (e.g., drag) performed by the user on the designated page. In response to the operation, the electronic device 100 may obtain the user-defined region, and the electronic device 100 may lock the user-defined region.

[0354] Optionally, the user-defined region may be obtained by a user by performing a swipe operation on the display screen, and the user-defined region thus obtained may be a regular or irregular planar graph.

[0355] Optionally, after the electronic device 100 receives the operation performed by the user to lock the user-defined region, the electronic device 100 may display the switched-to page and the page including the locked user-defined region in a split screen in response to a page switching operation, The page including the locked user-defined region may be used to display all interface elements of the locked user-defined region.

[0356] The procedure of the display method provided in the embodiment of the present application will be described below.

[0357] FIG. 19 is a schematic flowchart of a display method according to an embodiment of the present application.

[0358] S1901: The electronic device 100 displays an interface of a first application, the interface including a first window and a second window, the first window displaying a first page and the second window displaying a second page, the second page being a subpage of the first page.

[0359] The first window is displayed in a first display area on the display screen of electronic device 100, and the second window is displayed in a second display area on the display screen of electronic device 100. For example, the first display area may be a left half area or a top half area of ​​the display screen of electronic device 100. The second display area may be a right half area or a bottom half area of ​​the display screen of electronic device 100.

[0360] Specifically, the first application may be an application capable of displaying two or more pages thereof simultaneously on the display screen, such as a notepad application, a message application, a shopping application, or a video application.

[0361] For example, the first application interface may be the communication application interface 100 shown in Figure 1B. The first page is the note event page 321 and the second page is the note edit page 331. The first application interface may alternatively be the notepad application interface 310 shown in Figure 3B, the shopping application interface 420 shown in Figure 4E, the video application interface 1610 shown in Figure 12A, etc.

[0362] S1902: The electronic device 100 receives a first input for a first page.

[0363] S1903: In response to the first input, the electronic device 100 displays a third page in a second window, the third page being a subpage of the first page.

[0364] The first input is not limited to a tap, a voice instruction input, etc. For example, the first input may be an operation performed on the contact icon 103 shown in Fig. 1B. As another example, the first input may be an operation performed on the "note 4" event 324 shown in Fig. 3B.

[0365] The third page is a subpage of the first page. For example, the third page can be the edit notes page 335 shown in FIG.

[0366] S1904: The electronic device 100 receives a second input to the interface of the first application.

[0367] S1905: In response to the second input, the electronic device 100 displays the first lock symbol.

[0368] The second input is not limited to a tap, a double tap, a touch and hold, a swipe, a voice input, and the like. For example, the second input may be an operation on the dividing line 311 (also referred to as the first dividing line) shown in FIG. 3C. Alternatively, the second input may be an operation on the dividing line 311 (also referred to as the first dividing line) shown in FIG. 4A. Alternatively, the second input may be an operation on the horizontal bar 322 (also referred to as the first horizontal bar) shown in FIG. 7A. For example, the second input may be an operation on the lock control 762 shown in FIG. 7C. For example, the second input may be an operation on the dividing line 421 (also referred to as the first dividing line) shown in FIG. 4E. For example, the second input may be an operation on the dividing line 451 (also referred to as the first dividing line) shown in FIG. 4H. In some application scenarios, the second input may be a set of user operations.

[0369] The first lock symbol may indicate that the first window and / or the second window are locked. For example, the first lock symbol may be the lock icon 314 shown in FIG. 3D. Alternatively, the first lock symbol may be the lock icon 314 shown in FIG. 4B. Alternatively, the first lock symbol may be the lock icon 424 shown in FIG. 4F. Alternatively, the first lock symbol may be the lock icon 454 shown in FIG. 4I. Alternatively, the first lock symbol may be the lock icon 711 shown in FIG. 7B.

[0370] S1906: The electronic device 100 receives a third input for the first page.

[0371] S1907: In response to the third input, the electronic device 100 displays the fourth page in the first window.

[0372] The third input is not limited to a tap, a voice input, etc. For example, the third input may be an operation for the "note 5" event 323 shown in FIG.

[0373] The fourth page is a subpage or home page of the first page. For example, the fourth page can be the edit notes page 361 shown in FIG. 3E.

[0374] In this way, the electronic device 100 can configure the interface layout more flexibly and improve the screen utilization rate. Moreover, it is convenient for a user to simultaneously process transactions on two pages in the same layer.

[0375] In a possible implementation, the electronic device 100 may receive a sixth input on the first lock symbol and, in response to the sixth input, cancel the display of the first lock symbol, display the first page in the first window, and display the third page or the fourth page in the second window. For example, the sixth input may be an operation on the lock icon 314 shown in FIG.

[0376] In another possible implementation, the electronic device 100 may receive a seventh input on the first dividing line and, in response to the seventh input, cancel the display of the first lock symbol, display the first page in the first window, and display the third page or the fourth page in the second window. For example, the seventh input may be an operation on the dividing line 311 shown in FIG. 4B.

[0377] In a possible implementation, the electronic device 100 may receive an eighth input (e.g., an operation on the notepad application interface 360 ​​shown in FIG. 5A), and in response to the eighth input, display a desktop and display a first control on the desktop. The electronic device 100 may further receive a ninth input on the first control, and in response to the ninth input, display a first floating window and / or a second floating window on the desktop, where a fifth page is displayed in the first floating window, a sixth page is displayed in the second floating window, and the content of the fifth page is the same as the content of the fourth page, and the content of the sixth page is the same as the content of the third page. Specifically, for detailed steps of the aforementioned process, please refer to the embodiments of FIG. 5A, FIG. 5C, FIG. 5E, and FIG. 5F. Details will not be described again in this specification.

[0378] In a possible implementation, the electronic device 100 may receive an eighth input, and in response to the eighth input, display a desktop and display a second control and a first floating window on the desktop. A fifth page is displayed in the first floating window, and the content of the fifth page is the same as the content of the fourth page. The second control is configured to trigger the display of a second floating window, and a sixth page is displayed in the second floating window, and the content of the sixth page is the same as the content of the third page. Alternatively, in response to the eighth input, the electronic device 100 displays a desktop and displays a third control and a second floating window on the desktop, and the third control is configured to trigger the display of the first floating window. Specifically, for detailed steps of the aforementioned process, please refer to the embodiment of FIG. 5A and FIG. 5E. Details will not be described again in this specification.

[0379] In a possible implementation, the electronic device 100 may receive an eighth input, and in response to the eighth input, display a desktop, and display a first floating window and a second floating window on the desktop, where a fifth page is displayed in the first floating window, and the content of the fifth page is the same as the content of the fourth page, and a sixth page is displayed in the second floating window, and the content of the sixth page is the same as the content of the third page. Specifically, for detailed steps of the aforementioned process, please refer to the embodiment of Figure 5A and Figure 5F. Details will not be described again in this specification.

[0380] Optionally, in response to the eighth input, the electronic device 100 may further display a desktop, and display card 1 and card 2 on the desktop. The content displayed on card 1 is the same as the content of the fourth page, and the content displayed on card 2 is the same as the content of the third page. In particular, for detailed steps of the aforementioned process, please refer to the embodiment of FIG. 5A and FIG. 5G. The details will not be described again in this specification.

[0381] In a possible implementation, after receiving a first drag input on the second window (e.g., an input on the horizontal bar 601 shown in FIG. 6A), in response to the first drag input, the electronic device 100 displays the desktop in the second display area, displays the first window in the first display area, and displays a third floating window in a floating manner on the display screen of the electronic device 100. Alternatively, in response to the first drag input, the electronic device 100 displays a fourth page in full screen, displays a third floating window on the fourth page in a floating manner, and displays a seventh page in the third floating window, where the content of the seventh page is the same as the content of the third page. Specifically, for detailed steps of the aforementioned process, please refer to the embodiments of FIG. 6A, FIG. 6B, and FIG. 6C. Details will not be described again in this specification.

[0382] In a possible implementation, electronic device 100 displays an interface of a first application, the interface of the first application including a first page (e.g., recommended videos page 1621 shown in FIG. 12A) and a second page (e.g., history page 1631 shown in FIG. 12A), the first page is displayed in a first display area on electronic device 100 (e.g., display area 1612 shown in FIG. 12A) and the second page is displayed in a second display area on electronic device 100 (e.g., display area 1613 shown in FIG. 12A), the second page being a subpage of the first page. After receiving a ninth input for the second page, in response to the ninth input, electronic device 100 displays the second page in the first display area and an eighth page in the second display area, the eighth page being a subpage of the second page. After detecting the tenth input for locking the eighth page, the electronic device 100 may receive an eleventh input for opening a new page of the eighth page. In response to the eleventh input, the electronic device 100 may display the ninth page in the first display area. Specifically, for detailed steps of the aforementioned process, please refer to the embodiment of FIG. 12A-FIG. 12D. The details will not be described again in this specification.

[0383] In a possible implementation, the electronic device 100 displays a second interface (e.g., the file application interface 2100 shown in FIG. 17A), the second interface including the first interface element, and the first interface element is used to trigger the display of the third interface. After receiving a twelfth input to lock the first interface element, the electronic device 100 displays a second lock symbol in response to the twelfth input, the second lock symbol indicating that the first interface element is locked. After receiving a thirteenth input to the second interface, the electronic device 100 displays a fourth interface and displays the first interface element on the fourth interface in response to the thirteenth input. Alternatively, in response to the thirteenth input, the electronic device 100 displays a tenth page in a third display area on a display screen of the electronic device 100 and an eleventh page in a fourth display area on a display screen of the electronic device, the eleventh page including the first interface element. Specifically, for detailed steps of the above process, please refer to the embodiments of Figures 17A-17E, and the details will not be described again in this specification.

[0384] In a possible implementation, the electronic device 100 displays a third interface (e.g., the interface 1120 shown in FIG. 8C), and displays a fourth floating window on the third interface in a floating manner, and the fourth floating window displays a twelfth page. The electronic device 100 receives a fourteenth input for the twelfth page, and in response to the fourteenth input, generates a fifth floating window and displays a thirteenth page in the fifth floating window. After detecting a fifteenth input for locking the fourth floating window, the electronic device 100 receives a sixteenth input for the twelfth page, and in response to the sixteenth input, displays a fourteenth page in the fourth floating window. Specifically, for detailed steps of the aforementioned process, please refer to the embodiments of FIGS. 8A-8G and 9A-9E. Details will not be described again in this specification.

[0385] In some application scenarios, the electronic device 100 displays a third interface (e.g., the interface 1300 shown in FIG. 10A) and displays the fourth floating window on the third interface in a floating manner. After receiving a 17th input for opening the sixth floating window after the fourth floating window is locked, the electronic device 100 may display the sixth floating window in a lower layer than the fourth floating window in response to the 17th input. Specifically, for detailed steps of the aforementioned process, please refer to the embodiment of FIG. 10A to FIG. 10E. Details will not be described again in this specification. In this way, the locked floating window is always displayed on the top layer of the display screen of the electronic device 100 and is not minimized.

[0386] In a possible implementation, the electronic device 100 displays a fourth interface (e.g., the desktop 1400 shown in FIG. 11A), and a first card is displayed on the fourth interface, the first card includes first function information, and the first function information can be used to trigger the electronic device 100 to display a first designated page. After detecting an 18th input for locking the first card, the electronic device 100 receives a 19th input for the first function information, and displays the first designated page in the area of ​​the first card in response to the 19th input. Specifically, for detailed steps of the aforementioned process, please refer to the embodiment of FIG. 11A to FIG. 11E. Details will not be described again in this specification. In this way, a jump destination page can be displayed on the locked card.

[0387] In a possible implementation, the electronic device 100 displays a third interface (e.g., the interface 1800 shown in FIG. 14A), and displays a seventh floating window on the third interface in a floating manner, with the fifteenth page being displayed in the seventh floating window. The electronic device 100 receives a twentieth input for the fifteenth page, and in response to the twentieth input, displays the sixteenth page in the seventh floating window. After detecting a twenty-first input for locking the sixteenth page, the electronic device 100 receives a twenty-second input for the sixteenth page, and in response to the twenty-second input, generates an eighth floating window, and displays the seventeenth page in the eighth floating window. Specifically, for detailed steps of the aforementioned process, please refer to the embodiments of FIGS. 14A to 14D. Details will not be described again in this specification.

[0388] In a possible implementation, the electronic device 100 displays a fourth interface (e.g., the desktop 1900 shown in FIG. 15A ), and a first card is displayed on the fourth interface, the first card includes the first functional information, and the first functional information can be used to trigger the electronic device 100 to display the first designated page. After detecting the 23rd input for locking the first functional information, the electronic device 100 receives a 24th input for the first functional information, and in response to the 24th input, displays a third lock symbol, where the third lock symbol indicates that the first functional information is locked. Upon detecting the 25th input for opening the first designated page, the electronic device 100 displays the second card and displays the first designated page on the sixth card. Alternatively, the electronic device 100 displays the first designated page in full screen, and displays the first card on the first designated page, where the first card displays the first functional information. Alternatively, the electronic device 100 displays a pop-up window near the first card, and displays the first designated page in the pop-up window. Specifically, for detailed steps of the above process, please refer to the embodiment of Figures 15A to 15E. The details will not be described again in this specification.

[0389] In conclusion, the above embodiments are only intended to describe the technical solutions of the present application, and are not intended to limit the present application. Although the present application has been described in detail with reference to the above embodiments, it should be understood that those skilled in the art can still make modifications to the technical solutions described in the above embodiments, or make equivalent substitutions to some technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, the third page and the fourth page being in the same layer; Including, prior to the step of receiving a second input for the interface of the first application, a first horizontal bar is displayed in the first window, and the second input is an input for the first horizontal bar. method.

2. Prior to the step of receiving a second input for the interface of the first application, the method further comprises: receiving a fourth input for the first display area; displaying the first horizontal bar in the first window in response to the fourth input; The method of claim 1 further comprising:

3. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, the third page and the fourth page being in the same layer; Including, Prior to the step of receiving a second input for the interface of the first application, the method further comprises: receiving a fifth input for the interface of the first application; displaying a lock control in response to the fifth input, the second input being an input to the lock control; Further comprising: method.

4. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, the third page and the fourth page being in the same layer; Including, the interface of the first application further includes a first dividing line, the first dividing line being displayed at a junction between the first window and the second window, and the second input being an input to the first dividing line. method.

5. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, and the third page and the fourth page being in the same layer; receiving a sixth input for the first lock symbol; in response to the sixth input, canceling the display of the first lock symbol, displaying the first page in the first window, and displaying the third page or the fourth page in the second window. A method comprising:

6. After the step of displaying a fourth page in the first window, the method further comprises: receiving a seventh input for the first division line; in response to the seventh input, canceling the display of the first lock symbol, displaying the first page in the first window, and displaying the third page or the fourth page in the second window. The method of claim 4 further comprising:

7. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, and the third page and the fourth page being in the same layer; receiving an eighth input; in response to the eighth input, displaying a desktop and displaying a first control on the desktop; receiving a ninth input for the first control; displaying a first floating window and / or a second floating window on the desktop in response to the ninth input, wherein a fifth page is displayed in the first floating window and a sixth page is displayed in the second floating window, the content of the fifth page being the same as the content of the fourth page, and the content of the sixth page being the same as the content of the third page; A method comprising:

8. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, and the third page and the fourth page being in the same layer; receiving an eighth input; in response to the eighth input, displaying a desktop and displaying a second control and a first floating window on the desktop, wherein a fifth page is displayed in the first floating window, the content of the fifth page being the same as the content of the fourth page, and the second control is configured to trigger the display of a second floating window, and a sixth page is displayed in the second floating window, the content of the sixth page being the same as the content of the third page; or in response to the eighth input, displaying a desktop and displaying a third control and a second floating window on the desktop, the third control configured to trigger display of a first floating window; A method comprising:

9. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, and the third page and the fourth page being in the same layer; receiving an eighth input; in response to the eighth input, displaying a desktop and displaying a first floating window and a second floating window on the desktop, wherein a fifth page is displayed in the first floating window and a sixth page is displayed in the second floating window, the fifth page having content the same as the fourth page and the sixth page having content the same as the third page; A method comprising:

10. A display method applied to an electronic device, comprising: displaying an interface of a first application, the interface of the first application including a first window and a second window, the first window being displayed in a first display area on a display screen of the electronic device, the second window being displayed in a second display area on the display screen of the electronic device, a first page of the first application being displayed in the first window, a second page of the first application being displayed in the second window, the second page being a sub-page of the first page; receiving a first input for the first page; displaying a third page in the second window in response to the first input, the third page being a subpage of the first page; receiving a second input to the interface of the first application; displaying a first lock symbol in response to the second input; receiving a third input for the first page; displaying a fourth page in the first window in response to the third input, the fourth page being a subpage of the first page, and the third page and the fourth page being in the same layer; receiving a first drag input relative to the second window; in response to the first drag input, displaying a desktop in the second display area, displaying the first window in the first display area, and displaying a third floating window in a floating manner on the display screen of the electronic device; or in response to the first drag input, displaying the fourth page in full screen and displaying a third floating window in a floating manner on the fourth page, where a seventh page is displayed in the third floating window, and the content of the seventh page is the same as the content of the third page; A method comprising:

11. 11. An electronic device comprising one or more processors, a display screen and one or more memories, wherein the display screen, the one or more memories and the one or more processors are coupled, and the one or more memories are configured to store computer program code, the computer program code comprising computer instructions, and wherein execution of the computer instructions by the one or more processors enables the electronic device to perform a method according to any one of claims 1 to 10.

12. A computer readable storage medium comprising instructions which, when executed on an electronic device, enable the electronic device to perform the method of any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method for designing interactive multiple windows

    CN105867937A

  • Application display method and electronic equipment

    CN110456951A

  • Object adding method and device

    CN112162812A

  • Accelerated scrolling and selection

    US20200326824A1